IT Guy

IT、AI / Machine Learning、IoT、Project Management、プログラミング、ITIL等々

Berkeley DB基本用語

リンク

BDB基本用語(Terminology)

基本用語

  • database environment : RDBMSのdatabaseに該当。BDBでは、environmentは複数のdatabase(RDBMSのtable)を連携させたり、複数スレッド(プロセス)からトランザクションを同時(concurrently)に操作する際必要になる。
  • database : RDBMSのtableに該当

SQL - Berkeley DB API

  1. SELECT : get
  2. INSERT : put
  3. UPDATE : put
  4. DELETE : del

Access method

  • Btree :
  • Hash :
  • Queue :
  • Recno :

展示会 - Japan IT Week春 2018

オフィシャルサイト

www.japan-it.jp

展示会

  • ソフトウェア&アプリ開発展
  • ビッグデータ活用展
  • 組込みシステム開発技術展
  • データストレージEXPO
  • 情報セキュリティEXPO
  • Web&デジタル マーケティング EXPO
  • データセンター展
  • クラウド コンピューティングEXPO
  • モバイル活用展
  • IoT/M2M展
  • 通販ソリューション展
  • 店舗ITソリューション展
  • AI・業務自動化展

出展者一覧

Java ME Platformの基本

Java MEアーキテクチャーの基本形

基本形は3つのレイヤーで構成 : Configuration – Profile - Package

f:id:blog-guy:20180426144850p:plain

主要MEパターン

大きく分けて、CLDCかCDC。

  • Connected Limited Device Configuration (CLDC)
    CLDC is aimed at the low end of the consumer electronics range. A typical CLDC platform is a cell phone or PDA with around 512 KB of available memory. For this reason, CLDC is closely associated with wireless Java, which is concerned with allowing cell phone users to purchase and download small Java applications known as MIDlets to their handsets.

  • Connected Device Configuration (CDC)
    CDC addresses the needs of devices that lie between those addressed by CLDC and the full desktop systems running J2SE. These devices have more memory (typically 2 MB or more) and more capable processors, and they can, therefore, support a much more complete Java software environment. CDC might be found on high-end PDAs and in smart phones, web telephones, residential gateways, and set-top boxes.

CLDC + MIDP

昔のガラケ向けMEパターンはこれ。 f:id:blog-guy:20180426145059p:plain

CDC

ディジタルメディアデバイス向けの基本パターン。 f:id:blog-guy:20180426145151p:plain

CLDC + IMP-NG

通信モジュール(モデム等)向けの基本パターン f:id:blog-guy:20180426145308p:plain

BD-J (Blu-ray Disc Java)

Blu-ray向け基本パターン f:id:blog-guy:20180426150424p:plain

Link : Blu-ray Disc Application Development with Java ME, Part 1

用語

  • CLDC : Connected Limited Device Configuration
  • CDC : Connected Device Configuration
  • MIDP : Mobile Information Device Profile
  • IMP-NG : Information Module Profile-Next Generation
  • FP : Foundation Profile
  • PBP : Personal Basis Profile
  • HAVi : Home Audio Video Interoperability

洋書 - Beginning Java ME Platform

Beginning Java  ME Platform (Beginning From Novice to Professional)

Beginning Java ME Platform (Beginning From Novice to Professional)

今更、Java MEで新たな開発はほとんどないが、既存でJava MEを使ってる場合の理解のため。

Table of Contents

Part1. Getting Started

Ch1. Mapping the Java Jungle
Ch2. Shrinking Java to Fit
Ch3. Getting Started with the NetBeans IDE

Part2. CLDC Development with MIDP

Ch4. Introducing MIDlets
Ch5. Building User Interfaces
Ch6. Storing Data Using the Record Store
Ch7. Accessing Files and Other Data
Ch8. Using the Java Mobile Game API

Part3. CDC Development

Ch9. Introducing Xlets and the Personal Basis Profile
Ch10. Introducing Applets and the Advanced Graphics and User Interface
Ch11. Using Remote Method Invocation

Part4. Communicating with the Rest of the World

Ch12. Accessing Remote Data on the Network
Ch13. Accessing Web Services
Ch14. Messaging with the Wireless Messaging API

Part5. Other Java ME Interfaces

Ch15. Securing Java ME Applications
Ch16. Rendering Multimedia Content
Ch17. Finding Your Way
Ch18. Seeking a Common Platform

Berkeley DBインストール・サンプル実行

基本情報

  • Berkeley DB Version : Berkeley DB 12cR1 (12.1.6.2.32)
  • Download file : Berkeley DB 6.2.32.tar.gz
  • OS : AWS EC2 (Amazon AMI)

リンク

インストール手順

Download / 配置

  • tar.gzをダウンロードし、解凍。

f:id:blog-guy:20180424145904p:plain

configure, build, install

  • build_unixフォルダーへ移動し、下記を実行
    今回はインストールフォルダーは/home/ec2-user/bdb/install、--enable-cxxにより、C++から呼び出せるようにする。
$ ../dist/configure --prefix=/home/ec2-user/bdb/install --enable-cxx
$ make
$ make install
  • もし間違った場合は以下のように掃除

    • configureからやり直し : make realclean
    • makeからやり直し : make clean
    • uninstall : make uninstall
  • 尚、make install時のこのメッセージは注意

Libraries have been installed in:
   /home/ec2-user/bdb/install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

インスール後

f:id:blog-guy:20180424150733p:plainf:id:blog-guy:20180424150735p:plain

サンプル実行

サンプルコードの場所

Cのサンプルコードは、ダウンロードしたソースコードの中のexamples/c/getting_started以下にある。

f:id:blog-guy:20180424151450p:plain

サンプルコードのコンパイル

# compile / link example_database_read.c
gcc -c -I/home/ec2-user/bdb/install/include -L/home/ec2-user/bdb/install/lib gettingstarted_common.c ex
ample_database_read.c

gcc example_database_read.o gettingstarted_common.o -I/home/ec2-user/bdb/install/include -L/home/ec2-us
er/bdb/install/lib -ldb-6.2 -o example_database_read

# compile / link example_database_load
gcc -c -I/home/ec2-user/bdb/install/include -L/home/ec2-user/bdb/install/lib gettingstarted_common.c ex
ample_database_load.c

gcc example_database_load.o gettingstarted_common.o -I/home/ec2-user/bdb/install/include -L/home/ec2-us
er/bdb/install/lib -ldb-6.2 -o example_database_load

実行

  • LD_LIBRARY_PATHでlibフォルダーを指定
$ export LD_LIBRARY_PATH=/home/ec2-user/bdb/install/lib:$LD_LIBRARY_PATH
  • example_database_loadを実行
$ ./example_database_load
databases opened successfully
databases closed.
Done loading databases.
  • example_database_readを実行
$ ./example_database_read
databases opened successfully
name: Allspice
        SKU: AllsfruibJGK4R
        Category: fruits
        Price: 0.94
        Quantity: 669
        Vendor:
                TriCounty Produce
                309 S. Main Street
                Middle Town, MN
                55432

                763 555 5761

                Contact: Mort Dufresne
                763 555 5765

......

name: Zulu Nut
        SKU: ZulufruiWbz6vU
        Category: fruits
        Price: 0.71
        Quantity: 653
        Vendor:
                Simply Fresh
                15612 Bogart Lane
                Harrigan, WI
                53704

                420 333 3912

                Contact: Cheryl Swedberg
                420 333 3952
databases closed.

展示会 - Techno Frontier 2018

www.jma.or.jp

モータ技術展

モータ

DCモータ、DCサーボモータ、ACモータ、ACサーボモータ、DDモータ、ステッピングモータ、スイッチリラクタンスモータ、超音波モータ、ファンモータ 他

ドライバ・コントローラ

モータドライバIC、コントローラ、インバータ、チョッパ、モータドライバモジュール 他

素材・要素

磁石、エンプラ、巻線、電磁鋼板、素子、ソレノイド 他

センサ

エンコーダ、レゾルバ、ポテンションメータ 他

設備

巻線機、着磁機、治具 他

性能測定器

トルク測定器、静特性・動特性測定器、磁気測定器 他

モーション・エンジニアリング展

駆動機構

アクチュエータ、シリンダ、ソレノイド 他

制御機構

モーションコントローラ、ドライバ、インバータ、ロボット、その他制御システム 他

伝達機構

リニアガイド、ベルト、ボールねじ、ギア、スライダ、シャフト、軸受、カップリング、ベアリング、位置決めステージ・テーブル、オイルシール、変減速機、歯車、クラッチ、チェーン、ブレーキ 他

メカトロニクス技術展

メカトロニクス関連システム・機器

FAコントロールシステム、FAネットワーク機器、FA用ソフトウェア、自動検査装置、安全制御機器・コンポーネント、ロボティクス技術、ヒューマンメカトロニクス技術、センサフィードバック制御システム、センサフュージョンシステム 他

マシンビジョン関連システム・機器

  • 撮像技術(画像センサ、画像出力装置、画像検査装置、産業用カメラ・レンズ 他)
  • 認識技術(画像認識、文字認識、音声認識、空間認識 他)
  • 画像処理技術(画像処理装置・ソフトウェア、画像解析・構築ツール 他)
  • 画像記録装置(画像保存システム、画像圧縮装置・ソフト、レコーダー 他)
  • 画像転送機器(遠隔監視システム、通信システム 、通信ボード 他)

センシングシステム・機器

変位センサ、加速度センサ、磁気センサ、電流センサ、圧力センサ、ピエゾセンサ、モーションセンサ、ジャイロセンサ、回転センサ、位置センサ、超音波センサ、温度センサ、湿度センサ、熱量センサ、流量センサ、風速センサ、触覚センサ、光センサ、赤外線センサ 他

3Dプリンタ

組込みシステム・機器

組込み向けCPU、組込み用ソフトウェア、バス・ボード、周辺機器、発支援サービス 他

loT関連システム・機器

loT、M2M、AR、MR、VR、lCT全般、ビッグデータ活用 他

機械部品・加工技術展

加工技術

切削加工、プレス加工、板金加工、レーザー加工、鍛造、鋳造、射出成形、圧空成形、微細・超精密加工(切削/プレス/レーザー/研磨/試作 他)、大物加工(切削/プレス/板金/樹脂/鍛造/鋳造 他)、厚物加工、各種フォーミング加工、難削材加工(金属、プラスチック、セラミック、複合材料等) 他

工具・加工機・測定機

特殊鋼工具、スピンドル、エンドミル、その他機械工具、超硬工具、ドリル、刃物、ダイヤモンド工具、CBN工具、治具、ねじ締め機・工具、金属樹脂加工機、レーザー加工機、卓上加工機、射出成形機、複合加工機、刻印機、スプリングマシン、トルク測定器、各種試験機、その他加工関連設備・資材 他

FAパーツ・機械部品

ハンドル、レバー、キャスター、ヒンジ、ステー、アジャスター、スライドレール、ディスペンサ、ボルト、ナット、ワッシャー、ピン、リベット、溶接・接着技術、接着剤、渦巻ばね、薄板ばね、皿ばね、コイルばね、樹脂ばね、ばね座金・止め輪 他

3Dプリンタ

多品種少量加工業に特化した生産管理システム

表面処理・仕上げ

めっき、表面コーティング、表面硬化、表面処理・改質薬品、表面測定機器、熱処理、改質装置、各種ブラスト技術、バレル研磨、電解研磨、面取り機、バリ取り工具、各種ブラシ、各種ホイール、砥石、切粉処理技術・機器 他

電源システム展

スイッチング電源

ドロッパ(リニア型)電源

高圧電源

アダプタ/チャージャ

無停電電源装置(UPS)

LED照明用電源技術

電力変換及び高調波電流抑制技術

インバータ、パワーコンディショナー 他

測定機器

電源用計測機器、高調波電流測定機器 他

蓄電器

コンデンサ( アルミ、フィルム、セラミック、タンタル 他)、キャパシタ、その他関連製品・技術

電源部品

MOS-FET、IGBT、ダイオード、スイッチ素子、コントロールIC、ハイブリッドIC、パワー半導体(SiC/GaN等)、インダクタ、トランス、コイル、抵抗、高周波対応部品/フィルタ、発振子、リレー、端子台、絶縁材料、レギュレータ(安定器)、プリント基板(金属、ガラス、紙、セラミック 他)、コネクタ(エレクトロニクス機器用、光通信機器用、ケーブル 他)

エコパワーソリューション展

エネルギー・ハーベスティング分野

熱電発電

熱電モジュール、熱電素子 他

振動発電

圧電発電、電磁誘導発電、静電誘導発電、エレクトレット発電

その他

センサ、汎用評価、無線モジュール、制御回路ソフト 他

光発電
電磁波発電

ワイヤレス給電分野

ワイヤレス給電システム
周辺関連技術

無線通信技術、センサ/センサネットワーク技術、測定器/シミュレータ 他

デバイス/モジュール

電磁誘導給電、磁界共鳴給電、電界結合給電、エバネッセント波給電、電波給電、超音波給電 他

その他

バッテリー技術分野

各種燃料電池部品・材料

正極材/負極材、セパレータ、電解液/電解質、電池パック材料 他

各種二次電池

リチウムイオン二次電池、ニッケル水素電池、ニッケルカドミウム電池、鉛蓄電池、空気電池、NAS電池、全固体電池 他

検査・試験・評価・分析装置、機器、サービス

充放電試験装置、絶縁試験器、内部抵抗試験器、注液計測装置、インピーダンス測定装置、各種受託サービス 他

充電給電分野

給電分野

給電技術(光ファイバー給電、PoE/USB給電、電力線通信 他)、給電機器・部材(超電導ケーブル、光ファイバー、配電用パワーエレクトロニクス機器、その他給電に必要な部材・材料)

充電機器・関連システム

関連機器(各種充電器/充電スタンド 他)、蓄電池最適制御システム、配電自動化システム、エネルギーマネジメントソリューション、スマートグリッド関連製品・技術 他

その他関連製品

Oracle Berkeley DB

概要

Oracle Berkeley DBは以下の3つの種類

  • Oracle Berkeley DB - Cで実装
  • Oracle Berkeley Java Edition - Javaで実装
  • Oracle Berkeley XML - C++で実装
Berkeley DB products and their relationships

f:id:blog-guy:20180416152913p:plain

Berkeley DBの種類

  1. Berkeley DB - Data Store (DS) : Nontransactional simple data store with no locking.
  2. Berkeley DB - Concurrent Data Store (CDS) : Nontransactional concurrent data store that supports a single writer and multiple readers with database-level (table-level, in RDBMS lingo) locking.
  3. Berkeley DB - Transactional Data Store (TDS) : Transactional data store with ACID semantics. Provides page-level or record-level locking and supports multiple readers and writers concurrently.
  4. Berkeley DB - High Availability Data Store (HA) : Replication support for high availability and fault tolerance.

Berkeley DB価格

リンク

その他リンク

www.safaribooksonline.com

www.safaribooksonline.com

IPA - 情報セキュリティ10大脅威 2018

IPA - 情報セキュリティ10大脅威 2018

個人

  1. インターネットバンキングやクレジットカード情報等の不正利用
  2. ランサムウェアによる被害
  3. ネット上の誹謗・中傷
  4. スマートフォンスマートフォンアプリを狙った攻撃
  5. ウェブサービスへの不正ログイン
  6. ウェブサービスからの個人情報の窃取
  7. 情報モラル欠如に伴う犯罪の低年齢化
  8. ワンクリック請求等の不当請求
  9. IoT機器の不適切な管理
  10. 偽警告によるインターネット詐欺

組織

  1. 標的型攻撃による被害
  2. ランサムウェアによる被害
  3. ビジネスメール詐欺による被害
  4. 脆弱性対策情報の公開に伴う悪用増加
  5. 脅威に対応するためのセキュリティ人材の不足
  6. ウェブサービスからの個人情報の窃取
  7. IoT機器の脆弱性の顕在化
  8. 内部不正による情報漏えい
  9. サービス妨害攻撃によるサービスの停止
  10. 犯罪のビジネス化(アンダーグラウンドサービス)

リンク (引用元)

www.ipa.go.jp