JP2010025683A - Electronic device - Google Patents

Electronic device Download PDF

Info

Publication number
JP2010025683A
JP2010025683A JP2008185946A JP2008185946A JP2010025683A JP 2010025683 A JP2010025683 A JP 2010025683A JP 2008185946 A JP2008185946 A JP 2008185946A JP 2008185946 A JP2008185946 A JP 2008185946A JP 2010025683 A JP2010025683 A JP 2010025683A
Authority
JP
Japan
Prior art keywords
setting
data
setting data
version information
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008185946A
Other languages
Japanese (ja)
Other versions
JP5277767B2 (en
Inventor
Tamaki Kono
環 河野
Hirotoshi Ishihara
大稔 石原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2008185946A priority Critical patent/JP5277767B2/en
Publication of JP2010025683A publication Critical patent/JP2010025683A/en
Application granted granted Critical
Publication of JP5277767B2 publication Critical patent/JP5277767B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To shorten the processing time when a set file is stored as set data in internal memory of an electronic device. <P>SOLUTION: The electronic device includes a set data storage section for storing, as binary data, set data comprising one or a plurality of set values showing an operating condition, and performs a predetermined operation based on the set data. The electronic device includes an identifier table storing means for storing an identifier table showing the correspondence between the set values and identifiers for identifying the set values, a version information storing means for storing version information of firmware mounted in itself, a set data output means for outputting the set data to the outside, and a data transfer control section that assigns the identifier to the set value in the set data based on the identifier table and outputs the set file acquired by providing of the version information to the data output mean. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、各種の電子機器に関する。   The present invention relates to various electronic devices.

周知のように、各種の電子機器の中には、内部メモリに予め記憶された設定データに基づいて所定の動作を行うものがある。このような電子機器には、例えば測定装置や表示装置等があるが、測定装置は、測定レンジや測定単位等を設定データとして内部メモリに記憶し、これら設定データに応じた物理量を測定し、また表示装置は、表示輝度、表示コントラスト、表示色及び表示画像サイズ等を設定データとして内部メモリに記憶し、これら設定データに応じた画像を表示する。さらに、測定装置には表示機能を備えるものが少なくないが、このような表示機能付測定装置は、測定レンジや測定単位等に加えて、表示レンジや表示単位等を設定データとして記憶するものがある。
例えば下記特許文献1、2には、上述した電子機器の一例として、各種のセンサから取り込んだ各チャンネルの波形データを所定時間に亘って集中的に記憶するデータ記録装置が開示されている。
特開2008−107174号公報 特開2006−059190号公報
As is well known, some types of electronic devices perform predetermined operations based on setting data stored in advance in an internal memory. Such electronic devices include, for example, a measuring device, a display device, etc., but the measuring device stores a measurement range, a measurement unit, etc. in the internal memory as setting data, measures physical quantities according to these setting data, The display device stores display brightness, display contrast, display color, display image size, and the like as setting data in the internal memory, and displays an image corresponding to the setting data. In addition, many measuring devices have a display function, but such measuring devices with a display function store the display range, display unit, etc. as setting data in addition to the measurement range, measurement unit, etc. is there.
For example, Patent Documents 1 and 2 below disclose a data recording apparatus that intensively stores waveform data of each channel acquired from various sensors over a predetermined time as an example of the electronic device described above.
JP 2008-107174 A JP 2006-059190 A

ところで、上記設定データは、電子機器の内部メモリにバイナリデータとして記憶されることが一般的であるが、内部メモリに記憶される前の設定データ(設定ファイル)は、バージョン間の互換性やカスタマイズ性等の関係から、バイナリデータではなくテキストデータである。したがって、設定データ(バイナリデータ)を電子機器の内部メモリに記憶させる場合には、設定ファイル(テキストデータ)をバイナリデータに変換する必要があり、よって設定データの電子機器の内部メモリへの記憶に時間を要するという問題がある。また、電子機器の内部メモリに予め記憶された設定データを電子機器の外部に取り出す場合には、設定データをテキストデータにデータ変換する必要があるので、この場合においても処理に時間を要するという問題がある。   By the way, the setting data is generally stored as binary data in the internal memory of the electronic device, but the setting data (setting file) before being stored in the internal memory is compatible or customized between versions. It is not binary data but text data because of the nature of sex. Therefore, when setting data (binary data) is stored in the internal memory of the electronic device, it is necessary to convert the setting file (text data) into binary data. Therefore, the setting data is stored in the internal memory of the electronic device. There is a problem that it takes time. In addition, when setting data stored in advance in the internal memory of the electronic device is taken out of the electronic device, it is necessary to convert the setting data into text data. There is.

さらに、設定データを電子機器の内部メモリにバイナリデータとして記憶さセル場合には、電子機器が実装しているファームウエアのバージョンが設定ファイルを生成する電子機器のファームウエアのバージョンと異なることがあり得るが、このような場合には、設定ファイルを電子機器の内部メモリに設定データとして記憶させることができない場合がある。   Furthermore, if the setting data is stored as binary data in the internal memory of the electronic device, the firmware version installed in the electronic device may differ from the firmware version of the electronic device that generates the setting file. However, in such a case, the setting file may not be stored as setting data in the internal memory of the electronic device.

本発明は、上述した事情に鑑みてなされたものであり、以下の点をを目的とするものである。
(1)設定ファイルを電子機器の内部メモリに設定データとして記憶させる際の処理時間あるいは/及び電子機器の内部メモリに予め記憶された設定データを外部に取り出す際の処理時間を従来よりも短縮する。
(2)電子機器が実装しているファームウエアのバージョンと設定ファイルを生成する電子機器のファームウエアのバージョンとの相違に依らず、設定ファイルを電子機器の内部メモリに設定データとして記憶させる。
The present invention has been made in view of the above-described circumstances, and has the following objects.
(1) The processing time when the setting file is stored as setting data in the internal memory of the electronic device and / or the processing time when the setting data stored in advance in the internal memory of the electronic device is extracted to the outside is reduced as compared with the conventional case. .
(2) The setting file is stored as setting data in the internal memory of the electronic device regardless of the difference between the firmware version installed in the electronic device and the firmware version of the electronic device that generates the setting file.

上記目的を達成するために、本発明では、第1の解決手段として、動作条件を示す1あるいは複数の設定値からなる設定データをバイナリデータとして記憶する設定データ格納部を備え、設定データに基づいて所定動作を行う電子機器であって、設定値と当該設定値を識別するための識別子との対応関係を示す識別子テーブルが記憶された識別子テーブル記憶手段と、自らに実装されたファームウエアのバージョン情報を記憶するバージョン情報記憶手段と、設定データを外部に出力するための設定データ出力手段と、識別子テーブルに基づいて設定データ内の設定値に識別子を割り付けると共に、バージョン情報を付与して得られる設定ファイルをデータ出力手段に出力させるデータ転送制御部とを具備する、という手段を採用する。   In order to achieve the above object, in the present invention, as a first solving means, there is provided a setting data storage unit for storing setting data including one or a plurality of setting values indicating operating conditions as binary data, and based on the setting data. An electronic device that performs a predetermined operation, an identifier table storage unit that stores an identifier table indicating a correspondence between a setting value and an identifier for identifying the setting value, and a version of firmware installed in the electronic device Version information storage means for storing information, setting data output means for outputting setting data to the outside, and assigning an identifier to a setting value in the setting data based on the identifier table and providing version information A data transfer control unit that causes the data output means to output the setting file is used.

第2の解決手段として、上記第1の解決手段において、設定ファイルを外部から取得する設定データ取得手段をさらに備え、データ転送制御部は、設定データ取得手段が取得した設定ファイルのバージョン情報がバージョン情報記憶手段のバージョン情報と一致する場合は、設定ファイルの設定データを設定データ格納部に書込み、設定データ取得手段が取得した設定ファイルのバージョン情報がバージョン情報記憶手段のバージョン情報と一致しない場合には、設定ファイルの設定値のうち識別子テーブルに登録された識別子と同一の識別子が割り付けられた設定値のみを設定データ格納部に書込む、という手段を採用する。   As a second solving means, in the first solving means described above, further comprising setting data obtaining means for obtaining a setting file from the outside, wherein the data transfer control unit includes the version information of the setting file obtained by the setting data obtaining means as version If it matches the version information of the information storage means, the setting data of the setting file is written to the setting data storage unit, and the version information of the setting file acquired by the setting data acquisition means does not match the version information of the version information storage means Adopts a means of writing only the setting value assigned with the same identifier as the identifier registered in the identifier table among the setting values of the setting file to the setting data storage unit.

第3の解決手段として、上記第1または第2の解決手段において、データ転送制御部は、識別子テーブルに登録された識別子が設定ファイル上に登録されていない場合、識別子テーブルに登録された設定値を代替として設定データ格納部に書き込む、という手段を採用する。   As a third solving means, in the first or second solving means, the data transfer control unit, when the identifier registered in the identifier table is not registered in the setting file, the setting value registered in the identifier table As an alternative, a means of writing in the setting data storage unit is adopted.

第4の解決手段として、上記第2または第3の解決手段において、設定データ出力手段及び設定データ取得手段は、設定データを外部記憶媒体に書き込むと共に当該外部記憶媒体から読み込む外部記録媒体インタフェースである、という手段を採用する。   As a fourth solving means, in the second or third solving means, the setting data output means and the setting data acquisition means are external recording medium interfaces that write setting data to the external storage medium and read from the external storage medium. , Is adopted.

第5の解決手段として、上記第2または第3の解決手段において、設定データ出力手段及び設定データ取得手段は、設定データを所定の通信仕様に基づいて外部機器に送信すると共に当該外部機器から設定データを受信する通信部である、という手段を採用する。   As a fifth solution, in the second or third solution, the setting data output unit and the setting data acquisition unit transmit the setting data to an external device based on a predetermined communication specification and set the setting data from the external device. A means of being a communication unit that receives data is adopted.

本発明によれば、設定データ格納部に記憶されたバイナリデータとしての設定データを設定データ出力手段を介して外部に出力する際に、設定値に識別子とファームウエアのバージョン情報を付与した設定ファイルとして外部に出力する、つまり従来のように設定データ(バイナリデータ)をテキストデータに変換することなく、設定データ(バイナリデータ)内の設定値に識別子を割り付けると共にファームウエアのバージョン情報を付与するのみなので、設定データ格納部に予め記憶された設定データを外部に取り出す際の処理時間を従来よりも短縮することができる。   According to the present invention, when setting data as binary data stored in the setting data storage unit is output to the outside via the setting data output means, the setting file is provided with an identifier and firmware version information added to the setting value. Output to the outside, that is, without assigning an identifier to the setting value in the setting data (binary data) and giving the firmware version information without converting the setting data (binary data) into text data as in the past. Therefore, it is possible to shorten the processing time when the setting data stored in the setting data storage unit in advance is taken out to the outside.

また、本発明によれば、上記設定ファイル内の設定データを設定データ格納部に記憶させる際に、設定ファイルのバージョン情報がバージョン情報記憶手段のバージョン情報と一致する場合は、設定ファイルの設定データを設定データ格納部に書込み、設定ファイルのバージョン情報がバージョン情報記憶手段のバージョン情報と一致しない場合には、設定ファイルの設定値のうち識別子テーブルに登録された識別子と同一の識別子が割り付けられた設定値のみを設定データ格納部に書込むので、処理時間を従来よりも短縮することができると共に、従来のようにファームウエアのバージョンが異なる場合に設定ファイルから設定データを読み込むことができないという不具合を解消することができる。   According to the present invention, when the setting data in the setting file is stored in the setting data storage unit, if the version information of the setting file matches the version information in the version information storage means, the setting data of the setting file When the version information of the setting file does not match the version information of the version information storage means, the same identifier as the identifier registered in the identifier table is assigned among the setting values of the setting file. Since only the setting value is written in the setting data storage unit, the processing time can be shortened compared to the conventional method, and the setting data cannot be read from the setting file when the firmware version is different as before. Can be eliminated.

以下、図面を参照して、本発明の一実施形態について説明する。
図1は、本実施形態に係るデータ記憶装置(電子機器)の機能構成を示すブロック図である。この図に示すように、本データ記憶装置は、入力部1、測定データ格納部2、データ転送制御部3、外部記憶媒体インタフェース4(設定データ出力手段、設定データ取得手段)、外部記憶媒体5、通信部6(設定データ出力手段、設定データ取得手段)、設定データ格納部7(識別子テーブル記憶手段)、表示部8、操作部9、システムバス10及び演算制御部11(バージョン情報記憶手段)を備えている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of a data storage device (electronic device) according to the present embodiment. As shown in this figure, the data storage device includes an input unit 1, a measurement data storage unit 2, a data transfer control unit 3, an external storage medium interface 4 (setting data output means, setting data acquisition means), and an external storage medium 5. , Communication unit 6 (setting data output unit, setting data acquisition unit), setting data storage unit 7 (identifier table storage unit), display unit 8, operation unit 9, system bus 10 and operation control unit 11 (version information storage unit) It has.

入力部1は、外部計測器で測定された圧力、回転数、振動数、周波数、温度、湿度、雨量及び風速、等々、各種物理量の測定データを受け付けるものであり、これら測定データを本データ記憶装置に入力するための複数の入力ポート及び各入力ポートに入力された測定データに所定の処理を施す回路等からなる。上記測定データは、外部計測器の構成に応じてデジタル信号やアナログ信号の形態を取るが、アナログ信号の測定データについては、入力回路でデジタル信号に変換される。   The input unit 1 receives measurement data of various physical quantities such as pressure, rotation speed, vibration frequency, frequency, temperature, humidity, rainfall and wind speed measured by an external measuring instrument, and stores these measurement data in this data. It consists of a plurality of input ports for inputting to the apparatus and a circuit for performing predetermined processing on the measurement data input to each input port. The measurement data is in the form of a digital signal or an analog signal according to the configuration of the external measuring instrument. The measurement data of the analog signal is converted into a digital signal by an input circuit.

測定データ格納部2は、上記入力部1が取り込んで出力する測定データを格納する記憶装置であり、例えばフラッシュメモリである。データ転送制御部3は、CPU(Central Processing Unit)とデータ転送制御プログラムを記憶するROM(Read Only Memory)とを少なくとも備え、CPUがデータ転送制御プログラムを実行することにより上記測定データ及び後述する設定データの外部記憶媒体5への転送や通信部6を介した外部機器への転送を制御するものである。詳細については後述するが、データ転送制御部3は、設定データの転送に際しては、後述する識別子テーブルを参照することにより設定データの転送を制御する。   The measurement data storage unit 2 is a storage device that stores measurement data that the input unit 1 captures and outputs, and is, for example, a flash memory. The data transfer control unit 3 includes at least a CPU (Central Processing Unit) and a ROM (Read Only Memory) that stores a data transfer control program, and the CPU executes the data transfer control program so that the measurement data and settings described later are set. It controls the transfer of data to the external storage medium 5 and the transfer to an external device via the communication unit 6. Although details will be described later, the data transfer control unit 3 controls the transfer of the setting data by referring to an identifier table described later when the setting data is transferred.

外部記憶媒体インタフェース4は、外部記憶媒体5が着脱自在に装着されるスロットを備え、当該スロットに装着された外部記憶媒体5との間で上記測定データや設定データの転送に関する信号授受を行う。外部記憶媒体5は、上記測定データを測定ファイルとして、また設定データを設定ファイルとして各々記憶する記憶媒体であり、例えば汎用的かつ比較的大容量なCFカードである。   The external storage medium interface 4 includes a slot in which the external storage medium 5 is detachably mounted, and exchanges signals regarding the transfer of the measurement data and setting data with the external storage medium 5 mounted in the slot. The external storage medium 5 is a storage medium that stores the measurement data as a measurement file and the setting data as a setting file, for example, a general-purpose and relatively large-capacity CF card.

通信部6は、外部機器と通信を行うものであり、例えばイーサネット(登録商標)やUSB(Universal Serial Bus)に準拠した比較的高速な通信プロトコルに基づいて外部機器と通信を行うものである。設定データ格納部7は、本データ記憶装置の動作を規定する各種の動作条件を設定データとして記憶すると共に、当該設定データを外部記憶媒体5や外部機器に保存する(セーブ)場合及び外部記憶媒体5や外部機器から設定データを書き込む(ロード)場合に必要な識別子テーブルをも記憶する記憶装置であり、例えばEEPROM(Electrically Erasable and Programmable Read Only Memory)である。   The communication unit 6 communicates with an external device. For example, the communication unit 6 communicates with an external device based on a relatively high-speed communication protocol compliant with Ethernet (registered trademark) or USB (Universal Serial Bus). The setting data storage unit 7 stores various operating conditions that define the operation of the data storage device as setting data, and saves the setting data in the external storage medium 5 or an external device. 5 and a storage device that also stores an identifier table required when setting data is written (loaded) from an external device, such as an EEPROM (Electrically Erasable and Programmable Read Only Memory).

設定データとして設定データ格納部7に記憶される上記動作条件は、例えば測定データを入力部1で取り込む際の物理量の種別や入力レンジ等の測定データ格納条件、測定データ格納部2に格納された測定データに基づいて各種物理量の波形を画面表示する際の画面サイズや表示レンジ等の測定データ表示条件、等々である。   The operating conditions stored in the setting data storage unit 7 as setting data are stored in the measurement data storage unit 2, for example, the measurement data storage conditions such as the type of physical quantity and the input range when the measurement data is captured by the input unit 1. Measurement data display conditions such as screen size and display range when displaying waveforms of various physical quantities based on measurement data.

設定データについてさらに詳しく説明すると、設定データは、個々の動作条件を予め規定された順番で配列させた設定値S001,S002,……の集合体であり、バイナリデータのデータ形態を有する。すなわち、設定データは、所定ビット幅のバイナリデータである各種の設定値S001,S002,……が予め規定された順番で複数配列するバイナリデータ集合体である。   The setting data will be described in more detail. The setting data is an aggregate of setting values S001, S002,... In which individual operation conditions are arranged in a predetermined order, and has a data form of binary data. That is, the setting data is a binary data aggregate in which various setting values S001, S002,... Which are binary data having a predetermined bit width are arranged in a predetermined order.

上記識別子テーブルは、図2に模式図として示すように、個々の設定値(初期値)R001,R002,……と当該設定値R001,R002,……を識別するために個別に関連付けられた識別子ID001,ID002,……との対応関係を示すテーブルである。また、この識別子テーブルには、各識別子ID001,ID002,……毎(各設定値R001,R002,……毎)に設定値R001,R002,……の内容や構造等を示す属性情報が付加されている。なお、この識別子テーブルは、設定データ格納部7以外、例えばデータ転送制御部3内に設けられていても良い。   As shown in the schematic diagram of FIG. 2, the identifier table includes identifiers individually associated to identify individual setting values (initial values) R001, R002,... And the setting values R001, R002,. This is a table showing the correspondence with ID001, ID002,. In addition, attribute information indicating the contents and structure of the setting values R001, R002,... Is added to this identifier table for each identifier ID001, ID002,... (Each setting value R001, R002,...). ing. In addition, this identifier table may be provided in the data transfer control unit 3, for example, other than the setting data storage unit 7.

また、図3は、上記外部記憶媒体5に保存される設定ファイルのデータ構造を示す模式図である。この図に示すように、設定ファイルは、各種の設定値S001,S002,……と各設定値S001,S002,……に対応付けられた識別子ID001,ID002,……とに加え、ファームウエアのバージョン情報を含むものである。このような設定ファイルでは、ファームウエアのバージョン情報が先頭部分に登録され、このバージョン情報に続いて識別子ID001,ID002,……と設定値S001,S002,……とが各々に対をなして登録されている。   FIG. 3 is a schematic diagram showing a data structure of a setting file stored in the external storage medium 5. As shown in this figure, the setting file includes various setting values S001, S002,... And identifiers ID001, ID002,... Associated with the setting values S001, S002,. Includes version information. In such a configuration file, firmware version information is registered at the top, and identifiers ID001, ID002, ... and setting values S001, S002, ... are registered in pairs following this version information. Has been.

表示部8は、上述した測定データの波形表示や本データ記憶装置の動作状態等を表示するものであり、例えば液晶ディスプレイである。操作部9は、複数のハードウエアキーから構成されるものであり、本データ記憶装置を使用するユーザの各種操作指示を受け付ける。システムバス10は、上記入力部1、測定データ格納部2、データ転送制御部3、外部記憶媒体インタフェース4、所定ビット幅のアドレス線及びデータ線並びに複数の制御線からなる信号伝送路であり、外部記憶媒体5、通信部6、設定データ格納部7、表示部8、操作部9及び演算制御部11を信号の送受信自在に相互接続するである。   The display unit 8 displays the waveform display of the measurement data described above, the operation state of the data storage device, and the like, and is a liquid crystal display, for example. The operation unit 9 is composed of a plurality of hardware keys, and accepts various operation instructions from the user who uses the data storage device. A system bus 10 is a signal transmission path composed of the input unit 1, the measurement data storage unit 2, the data transfer control unit 3, the external storage medium interface 4, an address line and a data line having a predetermined bit width, and a plurality of control lines. The external storage medium 5, the communication unit 6, the setting data storage unit 7, the display unit 8, the operation unit 9, and the calculation control unit 11 are interconnected so that signals can be transmitted and received.

演算制御部11は、CPU(Central Processing Unit)と所定の演算制御プログラムを記憶するROM(Read Only Memory)とを少なくとも備え、CPUが演算制御プログラムを実行することにより、当該演算制御プログラム、上記通信部6が外部機器から受信した要求及び上記操作部9がユーザから受け付けた操作指示等に基づいて上記入力部1、測定データ格納部2、データ転送制御部3、外部記憶媒体インタフェース4、外部記憶媒体5、通信部6、設定データ格納部7、表示部8、操作部9及びシステムバス10を統括的に制御する。   The arithmetic control unit 11 includes at least a CPU (Central Processing Unit) and a ROM (Read Only Memory) that stores a predetermined arithmetic control program. When the CPU executes the arithmetic control program, the arithmetic control program, the communication The input unit 1, the measurement data storage unit 2, the data transfer control unit 3, the external storage medium interface 4, the external storage based on the request received by the unit 6 from the external device and the operation instruction received by the operation unit 9 from the user. The medium 5, the communication unit 6, the setting data storage unit 7, the display unit 8, the operation unit 9, and the system bus 10 are comprehensively controlled.

ここで、上記データ転送制御部3が実行するデータ転送制御プログラム及び演算制御部11が実行する演算制御プログラムは、本データ記憶装置に予め実装されているファームウエア上で動作するアプリケーションプログラムである。演算制御部11には、ファームウエア及び当該ファームウエアのバージョン情報が予め記憶されている。   Here, the data transfer control program executed by the data transfer control unit 3 and the operation control program executed by the operation control unit 11 are application programs that operate on the firmware installed in the data storage device in advance. The arithmetic control unit 11 stores firmware and version information of the firmware in advance.

次に、このように構成された本データ記憶装置の要部動作(設定データのセーブ処理とロード処理)について、図4及び図5を参照して詳しく説明する。   Next, the main part operation (setting data saving process and loading process) of the data storage apparatus configured as described above will be described in detail with reference to FIG. 4 and FIG.

最初に、図4を参照して設定データのセーブ処理について説明する。外部記憶媒体5が外部記憶媒体インタフェース4に装着された状態において、データ転送制御部3は、設定データ格納部7から設定データを読み出し(ステップS1)、この設定データから所定ビット幅のバイナリデータである個々の設定値S001,S002,……を切り出す(ステップS2)。そして、データ転送制御部3は、上述した識別子テーブルを参照することにより、ステップS2の処理によって切り出された各々の設定値S001,S002,……に識別子ID001,ID002,……を割り付けるステップS3)。   First, the setting data saving process will be described with reference to FIG. In a state in which the external storage medium 5 is attached to the external storage medium interface 4, the data transfer control unit 3 reads the setting data from the setting data storage unit 7 (step S1), and binary data having a predetermined bit width is obtained from the setting data. A certain set value S001, S002,... Is cut out (step S2). Then, the data transfer control unit 3 refers to the identifier table described above, and assigns identifiers ID001, ID002,... To the set values S001, S002,. .

さらにデータ転送制御部3は、このように各々生成した設定値S001,S002,……と識別子ID001,ID002,……との対からなるデータ群の先頭にデータ転送制御部3に予め記憶されたファームウエアのバージョン情報(つまり、設定ファイルを生成したデータ記憶装置のファームウエアのバージョン情報)を付加することにより、図3に示したデータ構造の設定ファイルを生成する(ステップS4)。そして、データ転送制御部3は、このようにして生成した設定ファイルを外部記憶媒体インタフェース4に出力して外部記憶媒体5に保存(セーブ)させる。   Further, the data transfer control unit 3 stores in advance in the data transfer control unit 3 at the head of the data group composed of the pairs of the set values S001, S002,... And the identifiers ID001, ID002,. By adding firmware version information (that is, firmware version information of the data storage device that generated the setting file), a setting file having the data structure shown in FIG. 3 is generated (step S4). Then, the data transfer control unit 3 outputs the setting file generated in this way to the external storage medium interface 4 and saves it in the external storage medium 5.

すなわち、本データ記憶装置における設定データのセーブ処理では、設定データ格納部7に格納された設定データを構成する各々の設定値(所定ビット幅のバイナリデータ)は、テキストデータに変換されることなく、予め関係が規定された識別子と対をなすと共にファームウエアのバージョン情報が付与された形態の設定ファイルとして外部記憶媒体5に保存(セーブ)される。したがって、本データ記憶装置によれば、設定データの保存(セーブ)に要する時間を従来よりも短縮することが可能である。   That is, in the setting data saving process in the data storage device, each setting value (binary data having a predetermined bit width) constituting the setting data stored in the setting data storage unit 7 is not converted into text data. The file is saved (saved) in the external storage medium 5 as a setting file that is paired with an identifier whose relationship is defined in advance and to which firmware version information is added. Therefore, according to the present data storage device, it is possible to shorten the time required for saving the setting data as compared with the prior art.

次に、図5を参照して設定データのロード処理について説明する。
外部記憶媒体5が外部記憶媒体インタフェース4に装着された状態において、データ転送制御部3は、外部記憶媒体インタフェース4を介して外部記憶媒体5から設定ファイルを取得する(ステップSa1)。そして、データ転送制御部3は、設定ファイルの先頭に登録されたファームウエアのバージョン情報が演算制御部11に予め記憶されているファームウエアのバージョン情報と一致するか否かを判定する(ステップSa2)。
Next, setting data loading processing will be described with reference to FIG.
In a state where the external storage medium 5 is attached to the external storage medium interface 4, the data transfer control unit 3 acquires a setting file from the external storage medium 5 via the external storage medium interface 4 (step Sa1). Then, the data transfer control unit 3 determines whether or not the firmware version information registered at the top of the setting file matches the firmware version information stored in advance in the arithmetic control unit 11 (step Sa2). ).

すなわち、本データ記憶装置に実装されたファームウエアとは異なるバージョンのファームウエアが実装されたデータ記憶装置で作成された設定ファイルには、本データ記憶装置とは異なるバージョン情報が登録されている。このような設定ファイルが外部記憶媒体インタフェース4に装着された場合、上記ステップSa2における判断は「No」となり、一方、本データ記憶装置のバージョン情報と一致するバージョン情報が登録された設定ファイルが外部記憶媒体インタフェース4に装着された場合には、上記ステップSa2における判断は「Yes」となる。   That is, version information different from that of the data storage device is registered in the setting file created by the data storage device in which the firmware version different from the firmware installed in the data storage device is installed. When such a setting file is attached to the external storage medium interface 4, the determination in step Sa2 is “No”, while a setting file in which version information matching the version information of the data storage device is registered is an external file. If it is attached to the storage medium interface 4, the determination in step Sa2 is “Yes”.

データ転送制御部3は、上記両者のバージョンが一致しない場合、つまりステップSa2の判断が「No」の場合、上述した識別子テーブルを参照することにより、設定ファイルに登録された設定値(所定ビット幅のバイナリデータ)をチェックし(ステップSa3)、識別子テーブルに登録された識別子と同一の識別子が割り付けられた設定値(所定ビット幅のバイナリデータ)のみを設定データ格納部7に書き込ませる(ステップSa4)。一方、ステップSa2の判断が「Yes」の場合、データ転送制御部3は、設定ファイルに登録された全ての設定値(所定ビット幅のバイナリデータ)を設定データ格納部7に順次書き込ませる(ステップSa4)。   If the two versions do not match, that is, if the determination in step Sa2 is “No”, the data transfer control unit 3 refers to the identifier table described above to set the setting value (predetermined bit width) registered in the setting file. (Binary data) is checked (step Sa3), and only the setting value (binary data having a predetermined bit width) assigned the same identifier as the identifier registered in the identifier table is written in the setting data storage unit 7 (step Sa4). ). On the other hand, if the determination in step Sa2 is “Yes”, the data transfer control unit 3 sequentially writes all setting values (binary data having a predetermined bit width) registered in the setting file in the setting data storage unit 7 (step S2). Sa4).

なお、上記両者のバージョン関係によっては、識別子テーブルに登録された識別子が設定ファイル上に登録されていないという事態が考えられる。このような場合、データ転送制御部3は、識別子テーブルに登録された設定値(初期値)を代替として設定データ格納部7に書き込ませる。   Depending on the version relationship between the two, there may be a situation where the identifier registered in the identifier table is not registered in the setting file. In such a case, the data transfer control unit 3 causes the setting data storage unit 7 to write the setting value (initial value) registered in the identifier table as an alternative.

このような設定データのロード処理によれば、設定ファイルに登録された設定値(所定ビット幅のバイナリデータ)を設定データ格納部7にバイナリデータとして記憶させるので、従来のようなテキストデータからバイナリデータへの変換が必要なく、よって設定データの書込み(ロード)に要する時間を従来よりも短縮することが可能である。   According to such setting data loading processing, the setting value (binary data having a predetermined bit width) registered in the setting file is stored in the setting data storage unit 7 as binary data. There is no need to convert it to data, and therefore it is possible to shorten the time required for writing (loading) the setting data as compared with the prior art.

また、このような設定データのロード処理によれば、設定ファイルに登録されたファームウエアのジョン情報が演算制御部11に予め記憶されているファームウエアのバージョン情報と異なる場合、つまり設定ファイルの生成に関与したファームウエアと設定データの書込み対象であるデータ記憶装置のファームウエアとが異なる場合に、識別子が符合するものを設定データ格納部7に書き込むことができるので、従来のようにバージョンが異なる場合に設定データを全く書き込むことができないという事態を回避することができる。   Further, according to such setting data loading processing, when the firmware version information registered in the setting file is different from the firmware version information stored in advance in the arithmetic control unit 11, that is, the setting file is generated. When the firmware involved in the data and the firmware of the data storage device to which the setting data is written are different, the data having the same identifier can be written in the setting data storage unit 7, so that the versions are different as in the prior art. In this case, it is possible to avoid a situation in which the setting data cannot be written at all.

なお、上記実施形態は、電子機器の1つであるデータ記憶装置に本発明を適用したものであるが、内部メモリに設定値を記憶させて動作する電子機器には、測定装置、表示装置等々、様々なものがある。本発明は、データ記憶装置以外の様々な電子機器に適用することが可能である。   In the above-described embodiment, the present invention is applied to a data storage device that is one of electronic devices. However, an electronic device that operates by storing a set value in an internal memory includes a measurement device, a display device, and the like. There are various things. The present invention can be applied to various electronic devices other than data storage devices.

また、上記実施形態では、設定データ格納部7の設定データを外部記憶媒体5に保存(セーブ)すると共に当該外部記憶媒体5から設定データを設定データ格納部7に書き込む場合、つまり設定データ出力手段及び設定データ取得手段を外部記憶媒体5について説明したが、本発明にはこれに限定されない。外部記憶媒体5に代えて通信部6を、あるいは外部記憶媒体5及び通信部6を設定データ出力手段及び設定データ取得手段としても良い。   In the above embodiment, the setting data stored in the setting data storage unit 7 is saved in the external storage medium 5 and the setting data is written from the external storage medium 5 to the setting data storage unit 7, that is, the setting data output unit. The setting data acquisition means has been described for the external storage medium 5, but the present invention is not limited to this. The communication unit 6 may be used instead of the external storage medium 5, or the external storage medium 5 and the communication unit 6 may be used as the setting data output unit and the setting data acquisition unit.

本発明の一実施形態に係わるデータ記憶装置(電子機器)の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the data storage apparatus (electronic device) concerning one Embodiment of this invention. 本発明の一実施形態における識別子テーブルのデータ構造を模式的に示す模式図である。It is a schematic diagram which shows typically the data structure of the identifier table in one Embodiment of this invention. 本発明の一実施形態における設定ファイルのデータ構造を示す模式図である。It is a schematic diagram which shows the data structure of the setting file in one Embodiment of this invention. 本発明の一実施形態における設定データのセーブ処理を示すフローチャートである。It is a flowchart which shows the save process of the setting data in one Embodiment of this invention. 本発明の一実施形態における設定データのロード処理を示すフローチャートである。It is a flowchart which shows the load process of the setting data in one Embodiment of this invention.

符号の説明Explanation of symbols

1…入力部、2…測定データ格納部、3…データ転送制御部、4…外部記憶媒体インタフェース(設定データ出力手段、設定データ取得手段)、5…外部記憶媒体、6…通信部(設定データ出力手段、設定データ取得手段)、7…設定データ格納部(識別子テーブル記憶手段)、8…表示部、9…操作部、10…システムバス、11…演算制御部(バージョン情報記憶手段)   DESCRIPTION OF SYMBOLS 1 ... Input part, 2 ... Measurement data storage part, 3 ... Data transfer control part, 4 ... External storage medium interface (setting data output means, setting data acquisition means), 5 ... External storage medium, 6 ... Communication part (setting data) Output means, setting data acquisition means), 7 ... setting data storage section (identifier table storage means), 8 ... display section, 9 ... operation section, 10 ... system bus, 11 ... calculation control section (version information storage means)

Claims (5)

動作条件を示す1あるいは複数の設定値からなる設定データをバイナリデータとして記憶する設定データ格納部を備え、前記設定データに基づいて所定動作を行う電子機器であって、
前記設定値と当該設定値を識別するための識別子との対応関係を示す識別子テーブルが記憶された識別子テーブル記憶手段と、
自らに実装されたファームウエアのバージョン情報を記憶するバージョン情報記憶手段と、
前記設定データを外部に出力するための設定データ出力手段と、
前記識別子テーブルに基づいて設定データ内の設定値に識別子を割り付けると共に、前記バージョン情報を付与して得られる設定ファイルを前記データ出力手段に出力させるデータ転送制御部と
を具備することを特徴とする電子機器。
An electronic device that includes a setting data storage unit that stores setting data including one or a plurality of setting values indicating operating conditions as binary data, and that performs a predetermined operation based on the setting data,
An identifier table storage unit storing an identifier table indicating a correspondence relationship between the setting value and an identifier for identifying the setting value;
Version information storage means for storing the version information of the firmware installed in itself;
Setting data output means for outputting the setting data to the outside;
A data transfer control unit that assigns an identifier to a setting value in setting data based on the identifier table, and causes the data output means to output a setting file obtained by adding the version information. Electronics.
前記設定ファイルを外部から取得する設定データ取得手段をさらに備え、
前記データ転送制御部は、前記設定データ取得手段が取得した前記設定ファイルのバージョン情報が前記バージョン情報記憶手段のバージョン情報と一致する場合は、前記設定ファイルの設定データを前記設定データ格納部に書込み、前記設定データ取得手段が取得した前記設定ファイルのバージョン情報が前記バージョン情報記憶手段のバージョン情報と一致しない場合には、前記設定ファイルの設定値のうち識別子テーブルに登録された識別子と同一の識別子が割り付けられた設定値のみを前記設定データ格納部に書込むことを特徴とする請求項1記載の電子機器。
It further comprises setting data acquisition means for acquiring the setting file from the outside,
The data transfer control unit writes the setting data of the setting file to the setting data storage unit when the version information of the setting file acquired by the setting data acquisition unit matches the version information of the version information storage unit If the version information of the setting file acquired by the setting data acquisition means does not match the version information of the version information storage means, the same identifier as the identifier registered in the identifier table among the setting values of the setting file 2. The electronic apparatus according to claim 1, wherein only the setting value to which is assigned is written in the setting data storage unit.
前記データ転送制御部は、識別子テーブルに登録された識別子が設定ファイル上に登録されていない場合、識別子テーブルに登録された設定値を代替として設定データ格納部に書き込むことを特徴とする請求項1または2記載の電子機器。   2. The data transfer control unit according to claim 1, wherein when the identifier registered in the identifier table is not registered in the setting file, the setting value registered in the identifier table is written in the setting data storage unit as an alternative. Or the electronic device of 2. 前記設定データ出力手段及び前記設定データ取得手段は、前記設定データを外部記憶媒体に書き込むと共に当該外部記憶媒体から読み込む外部記録媒体インタフェースであることを特徴とする請求項2または3記載の電子機器。   4. The electronic apparatus according to claim 2, wherein the setting data output unit and the setting data acquisition unit are an external recording medium interface that writes the setting data to an external storage medium and reads the setting data from the external storage medium. 前記設定データ出力手段及び前記設定データ取得手段は、前記設定データを所定の通信仕様に基づいて外部機器に送信すると共に当該外部機器から前記設定データを受信する通信部であることを特徴とする請求項2または3記載の電子機器。   The setting data output unit and the setting data acquisition unit are communication units that transmit the setting data to an external device based on a predetermined communication specification and receive the setting data from the external device. Item 4. The electronic device according to Item 2 or 3.
JP2008185946A 2008-07-17 2008-07-17 Electronics Expired - Fee Related JP5277767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008185946A JP5277767B2 (en) 2008-07-17 2008-07-17 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008185946A JP5277767B2 (en) 2008-07-17 2008-07-17 Electronics

Publications (2)

Publication Number Publication Date
JP2010025683A true JP2010025683A (en) 2010-02-04
JP5277767B2 JP5277767B2 (en) 2013-08-28

Family

ID=41731667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008185946A Expired - Fee Related JP5277767B2 (en) 2008-07-17 2008-07-17 Electronics

Country Status (1)

Country Link
JP (1) JP5277767B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09113319A (en) * 1995-10-23 1997-05-02 N Ii C Medical Syst Kk Measuring instrument
JP2003085185A (en) * 2001-09-13 2003-03-20 Mitsubishi Electric Corp Light wave data control system and light wave data retrieving system
JP2007065721A (en) * 2005-08-29 2007-03-15 Yokogawa Electric Corp Support tool

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09113319A (en) * 1995-10-23 1997-05-02 N Ii C Medical Syst Kk Measuring instrument
JP2003085185A (en) * 2001-09-13 2003-03-20 Mitsubishi Electric Corp Light wave data control system and light wave data retrieving system
JP2007065721A (en) * 2005-08-29 2007-03-15 Yokogawa Electric Corp Support tool

Also Published As

Publication number Publication date
JP5277767B2 (en) 2013-08-28

Similar Documents

Publication Publication Date Title
US9032182B2 (en) Electronic apparatus with storage media having real address designated by stimulated request format and storage media having real address not designated by stimulated request format
JP4794310B2 (en) USB converter for measurement signals
JP2008097573A5 (en)
JP2019139765A (en) Measurement system
US10853239B2 (en) Memory card controller, memory card device, method used in memory card controller, and electronic device coupled to memory card device
CN116225998B (en) DMA data transmission system
CN113625862A (en) Power consumption control method and device, electronic equipment and readable storage medium
JP5277767B2 (en) Electronics
US20220155745A1 (en) Settings information generation device, settings information generation method, and recording medium
JP5651622B2 (en) Data transmission apparatus, data transmission method, and program
JP2008293076A (en) Error decision program, error decision method, and electronic equipment
KR102437737B1 (en) Method of managing internal register of timing controller and method of operating test device using the same
US11403115B2 (en) Program execution support device, program execution support method, and computer readable medium
US20140258793A1 (en) Detecting system and method for motherboard
JP7094129B2 (en) Touch monitor and display system
JPH11126179A (en) Surveying instrument having memory card interface
JP2007034524A (en) Information processor, program, and recording medium
US20090138692A1 (en) Self describing line cards in network switch
KR100602278B1 (en) Flash memory
US10872030B2 (en) Control system and method of to perform an operation
KR100955122B1 (en) Integrated circuit apparatus
JP2021175096A (en) Network apparatus
US20140164862A1 (en) Electronic device testing system and method
US20150081935A1 (en) Access appliance providing direct display data channel (ddc) interface connection and stored monitor calibration information
JP6040704B2 (en) Information processing apparatus and information processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110311

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130423

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130506

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees