JP2016099647A - Information processing device - Google Patents

Information processing device Download PDF

Info

Publication number
JP2016099647A
JP2016099647A JP2014233479A JP2014233479A JP2016099647A JP 2016099647 A JP2016099647 A JP 2016099647A JP 2014233479 A JP2014233479 A JP 2014233479A JP 2014233479 A JP2014233479 A JP 2014233479A JP 2016099647 A JP2016099647 A JP 2016099647A
Authority
JP
Japan
Prior art keywords
data
measurement
conversion rule
format
conversion
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.)
Pending
Application number
JP2014233479A
Other languages
Japanese (ja)
Inventor
智幸 河添
Tomoyuki Kawazoe
智幸 河添
修 萬羽
Osamu Manba
修 萬羽
友子 松本
Tomoko Matsumoto
友子 松本
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2014233479A priority Critical patent/JP2016099647A/en
Publication of JP2016099647A publication Critical patent/JP2016099647A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To enable adaptation to difference and change in the format of measurement data from measurement instruments when collecting the measurement data from various measurement instruments.SOLUTION: A data acquisition unit acquires measurement data from a measurement instrument, a conversion rule specification unit specifies a conversion rule corresponding to the type of the measurement instrument from conversion rules which are stored while previously associated with identification information of measurement instruments and designate data formats of measurement data, a data conversion unit converts the format of the measurement data acquired by the data acquisition part into a data format designated by the conversion rule specified by the conversion rule specification part, and a transmission unit transmits the converted measurement data and data format information showing the data format designated by the specified conversion rule to a data collection device.SELECTED DRAWING: Figure 1

Description

本発明は、測定機器からの測定データを解析する情報処理装置に関する。   The present invention relates to an information processing apparatus that analyzes measurement data from a measuring instrument.

測定機器からの測定データをデータ収集装置で解析する際に、データフォーマットの異なる新たな機器からのデータを収集するために、たとえば特許文献1に記載のデータフォーマット変換装置が提案されている。当該データフォーマット変換装置は、複数種の機器のデータフォーマットの特徴と、各種の機器から出力されるデータを予め定められているデータフォーマットのデータに変換するための変換規則とが格納されたフォーマット定義ファイルと、機器が出力するデータとフォーマット定義ファイルに格納されているデータフォーマットの特徴とに基づいてデータの送信元の機器の種類を特定する特定部と、フォーマット定義ファイルに格納されている変換規則の内、特定部が特定した種類に対応した変換規則に従ってデータを予め定められているデータフォーマットのデータに変換するフォーマット変換処理部と、該フォーマット変換処理部でデータフォーマットが変換されたデータをデータ収集装置に送信するデータ送信部とが備えられている。また、当該データフォーマット変換装置のフォーマット定義ファイルに変換規則を追加することで、データフォーマットの異なる新たな測定機器からのデータを収集することが可能になる。   In order to collect data from a new device having a different data format when analyzing the measurement data from the measurement device with the data collection device, for example, a data format conversion device described in Patent Document 1 has been proposed. The data format conversion device includes a format definition in which data format characteristics of a plurality of types of devices and conversion rules for converting data output from various types of devices into data of a predetermined data format are stored. A specific part that identifies the type of data source device based on the file, the data output by the device, and the characteristics of the data format stored in the format definition file, and the conversion rules stored in the format definition file A format conversion processing unit that converts data into data of a predetermined data format in accordance with a conversion rule corresponding to the type specified by the specifying unit, and data that has been converted in data format by the format conversion processing unit And a data transmission unit for transmitting to the collection device. . Further, by adding a conversion rule to the format definition file of the data format conversion device, it becomes possible to collect data from a new measuring device having a different data format.

特開平7−160556号公報JP-A-7-160556

しかしながら、特許文献1に記載のデータフォーマット変換装置からデータ収集装置に入力される計測データのデータフォーマットが固定されている。このため、データ形式の差異や変換、例えば、測定項目の変更、追加、削除等に対して、データ収集装置が柔軟に対応できない。   However, the data format of the measurement data input from the data format conversion device described in Patent Document 1 to the data collection device is fixed. For this reason, the data collection device cannot flexibly cope with differences in data formats or conversion, for example, change, addition, deletion, etc. of measurement items.

上述の課題を鑑み、本発明は、データフォーマットの異なる種々の測定機器からのデータをデータ収集装置が収集する際、測定機器からの測定データのデータ形式の差異や変換、例えば、データ項目の追加、削除、変更等に適応できる情報処理装置を提供することを目的とする。   In view of the above-described problems, the present invention provides a data format difference or conversion of measurement data from a measurement device when the data collection device collects data from various measurement devices having different data formats, for example, addition of data items. An object of the present invention is to provide an information processing apparatus that can adapt to deletion, change, and the like.

本発明の一態様は、測定機器から測定データを取得するデータ取得部と、測定機器の識別情報と予め対応付けて記憶され、測定データのデータ形式を指定する変換規則から前記測定機器の種別に対応する変換規則を特定する変換規則特定部と、前記データ取得部により取得された測定データの形式を前記変換規則特定部により特定された変換規則が指定するデータ形式に変換するデータ変換部と、変換された測定データと前記特定された変換規則が指定するデータ形式を示すデータフォーマット情報とをデータ収集装置に送信する送信部と、を備える情報処理装置である。   According to one aspect of the present invention, a data acquisition unit that acquires measurement data from a measurement device, and stored in advance in association with identification information of the measurement device, the conversion rule that specifies the data format of the measurement data changes the type of the measurement device. A conversion rule specifying unit for specifying a corresponding conversion rule, a data conversion unit for converting the format of the measurement data acquired by the data acquisition unit into a data format specified by the conversion rule specified by the conversion rule specifying unit, An information processing apparatus comprising: a transmission unit that transmits converted measurement data and data format information indicating a data format specified by the specified conversion rule to a data collection apparatus.

本発明によれば、種々の測定機器からの測定データを収集する際、測定機器からの測定データの形式の差異や変更に適応できる。   ADVANTAGE OF THE INVENTION According to this invention, when collecting the measurement data from various measurement apparatuses, it can adapt to the difference and change of the format of the measurement data from a measurement apparatus.

第1の実施形態に係る情報処理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information processing system which concerns on 1st Embodiment. 第1の実施形態に係る測定データの一例を示す図である。It is a figure which shows an example of the measurement data which concern on 1st Embodiment. 第1の実施形態に係る変換規則の一例を示す図である。It is a figure which shows an example of the conversion rule which concerns on 1st Embodiment. 第1の実施形態に係るデータフォーマット情報の一例を示す図である。It is a figure which shows an example of the data format information which concerns on 1st Embodiment. 第1の実施形態に係る変換された測定データの一例を示す図である。It is a figure which shows an example of the converted measurement data which concerns on 1st Embodiment. 第1の実施形態に係る情報処理システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the information processing system which concerns on 1st Embodiment. 第2の実施形態に係る情報処理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information processing system which concerns on 2nd Embodiment. 第2の実施形態に係る測定データの一例を示す図である。It is a figure which shows an example of the measurement data which concern on 2nd Embodiment. 第2の実施形態に係る変換規則の一例を示す図である。It is a figure which shows an example of the conversion rule which concerns on 2nd Embodiment. 第2の実施形態に係るデータフォーマット情報の一例を示す図である。It is a figure which shows an example of the data format information which concerns on 2nd Embodiment. 第2の実施形態に係る変換規則の他の例を示す図である。It is a figure which shows the other example of the conversion rule which concerns on 2nd Embodiment. 第2の実施形態に係るデータフォーマット情報の他の例を示す図である。It is a figure which shows the other example of the data format information which concerns on 2nd Embodiment. 第2の実施形態に係る変換された測定データの一例を示す図である。It is a figure which shows an example of the converted measurement data which concerns on 2nd Embodiment. 第2の実施形態に係る情報処理システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the information processing system which concerns on 2nd Embodiment. 第3の実施形態に係る情報処理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information processing system which concerns on 3rd Embodiment. 第3の実施形態に係る情報処理システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the information processing system which concerns on 3rd Embodiment.

以下、本発明の実施の形態について図面を参照しながら説明する。
<第1の実施形態>
図1は、本実施形態に係る情報処理システム100の構成を示すブロック図である。本実施形態に係る情報処理システム100は、測定機器101と、データフォーマット変換装置102(情報処理装置)と、データ収集装置103とを含んで構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<First Embodiment>
FIG. 1 is a block diagram illustrating a configuration of an information processing system 100 according to the present embodiment. An information processing system 100 according to the present embodiment includes a measuring device 101, a data format conversion device 102 (information processing device), and a data collection device 103.

測定機器101は、データフォーマット変換装置102に対して測定データを出力する機能を有する。測定機器101からの測定データは、個々の測定値からなるデータ列である。また、測定データの先頭には、機器種別情報が配置される。機器種別情報は、機器を特定するもので、例えば、メーカーIDとモデル(機種)IDとを組み合わせたものを用いることができる。なお、機器種別情報は、測定機器101の機種を特定できれば、どのようなものであってもよい。測定機器101としては、歩数、活動量、体重、体組成、血圧、脈拍、体温等の生体測定機器や、温度、湿度等の気象測定機器等、どのような測定機器であっても良い。   The measuring device 101 has a function of outputting measurement data to the data format conversion device 102. The measurement data from the measuring device 101 is a data string composed of individual measurement values. In addition, device type information is arranged at the head of the measurement data. The device type information specifies a device, and for example, information obtained by combining a manufacturer ID and a model (model) ID can be used. The device type information may be any information as long as the model of the measuring device 101 can be specified. The measuring device 101 may be any measuring device such as biometric measuring devices such as steps, activity, body weight, body composition, blood pressure, pulse, and body temperature, and weather measuring devices such as temperature and humidity.

データフォーマット変換装置102は、測定機器101からの測定データを、データフォーマット情報と測定値とからなる形式のデータに変換して、データ収集装置103に出力する。データフォーマット変換装置102は、データ取得部151と、変換規則特定部152と、データ変換部153と、データ送信部154とを含んで構成される。
データ取得部151は、測定機器101からの測定データを取得する。変換規則特定部152には、機種毎の変換規則が蓄積されている。変換規則特定部152は、測定機器101からの測定データを解析して、使用する変換規則を特定する。
データ変換部153は、変換規則特定部152により特定された変換規則から、フォーマット情報を抽出する。そして、データ変換部153は、測定機器101からの測定データを、データフォーマット情報と測定値とからなる形式のデータに変換する。
データ送信部154は、データ変換部153からのデータフォーマット情報と測定値とからなる形式のデータに変換された測定データを、データ収集装置103へ送信する。
The data format conversion device 102 converts measurement data from the measurement device 101 into data in a format composed of data format information and measurement values, and outputs the data to the data collection device 103. The data format conversion apparatus 102 includes a data acquisition unit 151, a conversion rule specifying unit 152, a data conversion unit 153, and a data transmission unit 154.
The data acquisition unit 151 acquires measurement data from the measurement device 101. The conversion rule specifying unit 152 stores conversion rules for each model. The conversion rule specifying unit 152 analyzes the measurement data from the measuring device 101 and specifies the conversion rule to be used.
The data conversion unit 153 extracts format information from the conversion rule specified by the conversion rule specifying unit 152. Then, the data conversion unit 153 converts the measurement data from the measurement device 101 into data having a format including data format information and measurement values.
The data transmission unit 154 transmits the measurement data converted into data in a format composed of the data format information and measurement values from the data conversion unit 153 to the data collection device 103.

データ収集装置103は、データフォーマット変換装置102からのデータフォーマット情報と測定値とからなる形式の測定データを受信し、個々の測定値を解析する。データ収集装置103は、データ収集部161と、収集データ解析部162とを含んで構成される。データ収集部161は、データフォーマット変換装置102のデータ送信部154からの測定データを受信する。この測定データは、データフォーマット情報と測定値とからなる形式となっている。収集データ解析部162は、データ収集部161で収集された測定データから、個々の測定値を解析する。   The data collection device 103 receives measurement data in the form of data format information and measurement values from the data format conversion device 102, and analyzes each measurement value. The data collection device 103 includes a data collection unit 161 and a collected data analysis unit 162. The data collection unit 161 receives measurement data from the data transmission unit 154 of the data format conversion device 102. This measurement data has a format composed of data format information and measurement values. The collected data analysis unit 162 analyzes individual measurement values from the measurement data collected by the data collection unit 161.

図2は、測定機器101から出力される測定データの一例を示す。この例では、測定機器101からの測定データは、先頭の機器種別情報に続く、4バイトの整数の測定値D1と、1バイトの整数の測定値D2と、4バイトの浮動小数点の測定値D3とからなるデータ列の構成となっている。
データフォーマット変換装置102のデータ取得部151は、測定機器101から測定データを受信する。変換規則特定部152は、予め記憶された変換規則から、受信した測定データのデータ列の先頭に配置された機器種別情報に対応する変換規則を読み取る。
FIG. 2 shows an example of measurement data output from the measuring device 101. In this example, the measurement data from the measurement device 101 includes a 4-byte integer measurement value D1, a 1-byte integer measurement value D2, and a 4-byte floating-point measurement value D3 following the first device type information. The data string consists of
The data acquisition unit 151 of the data format conversion device 102 receives measurement data from the measurement device 101. The conversion rule specifying unit 152 reads the conversion rule corresponding to the device type information arranged at the head of the data string of the received measurement data from the conversion rules stored in advance.

図3は、変換規則特定部152で特定される変換規則の一例を示す。この例では、測定値D1の変換規則では、測定値名称が「歩数」、データ型が「4バイト整数」、開始位置が「0バイト」である。また、測定値D2の変換規則では、測定値名称が「年齢」、データ型が「1バイト整数」、開始位置が「4バイト」である。また、測定値D3の変換規則では、測定値名称が「移動距離」、データ型が「4バイト浮動小数点」、開始位置が「5バイト」である。   FIG. 3 shows an example of the conversion rule specified by the conversion rule specifying unit 152. In this example, according to the conversion rule of the measured value D1, the measured value name is “step count”, the data type is “4-byte integer”, and the start position is “0 byte”. Further, according to the conversion rule of the measurement value D2, the measurement value name is “age”, the data type is “1 byte integer”, and the start position is “4 bytes”. Further, according to the conversion rule of the measurement value D3, the measurement value name is “movement distance”, the data type is “4 bytes floating point”, and the start position is “5 bytes”.

図4は、図3に示した変換規則からデータ変換部153により抽出されたデータフォーマット情報の一例を示す。図4に示すように、ここでは、図3に示した変換規則から、「測定値名称」と「データ型」に関する情報が抽出される。すなわち、測定値D1に関するデータフォーマット情報として、測定値名称「歩数」及びデータ型「4バイト整数」が抽出される。測定値D2に関するデータフォーマット情報として、測定値名称「年齢」及びデータ型「1バイト整数」が抽出される。測定値D3に関するデータフォーマット情報として、測定値名称「移動距離」及びデータ型「4バイト浮動小数点」が抽出される。   FIG. 4 shows an example of data format information extracted by the data conversion unit 153 from the conversion rule shown in FIG. As shown in FIG. 4, here, information on “measurement value name” and “data type” is extracted from the conversion rule shown in FIG. That is, the measurement value name “number of steps” and the data type “4-byte integer” are extracted as the data format information regarding the measurement value D1. A measurement value name “age” and a data type “1-byte integer” are extracted as data format information regarding the measurement value D2. As the data format information regarding the measurement value D3, the measurement value name “movement distance” and the data type “4-byte floating point” are extracted.

データ変換部153は、測定機器101からの測定データを、抽出されたデータフォーマット情報と測定値とからなる形式のデータに変換する。ここで、データ変換部153は、以下に説明する処理を行う。   The data converter 153 converts the measurement data from the measurement device 101 into data in a format composed of the extracted data format information and measurement values. Here, the data conversion unit 153 performs processing described below.

(A1)データフォーマット情報から、測定値D1のデータ型が4バイト整数とあるので、4バイト整数型の変数領域を測定値D1の変数領域として確保する。
(A2)受信したデータ列(機器種別情報を除く)のうち、測定値D1の開始位置である第0バイトから4バイト分のデータを取得し、取得したデータを確保した変数領域に格納する。
(A3)測定値D2のデータ型が1バイト整数とあるので、1バイト整数型の変数領域を測定値D2の変数領域として確保する。
(A4)受信したデータ列のうち、測定値D2の変換前開始位置の第4バイトから1バイト分のデータを取得し、取得したデータを確保した変数領域に格納する。
(A5)測定値D3のデータ型が4バイト浮動小数点とあるので、4バイト浮動小数点型の変数領域を測定値D3の変数領域として確保する。
(A6)受信したデータ列のうち、測定値D3の変換前開始位置である第5バイトから4バイト分のデータを取得し、取得したデータを確保した変数領域に格納する。
(A1) Since the data type of the measurement value D1 is a 4-byte integer from the data format information, a 4-byte integer type variable area is secured as the variable area of the measurement value D1.
(A2) In the received data string (excluding device type information), 4 bytes of data from the 0th byte, which is the starting position of the measurement value D1, are acquired, and the acquired data is stored in the secured variable area.
(A3) Since the data type of the measured value D2 is a 1-byte integer, a 1-byte integer type variable area is secured as a variable area of the measured value D2.
(A4) In the received data string, 1 byte of data is acquired from the 4th byte of the start position before conversion of the measurement value D2, and the acquired data is stored in the secured variable area.
(A5) Since the data type of the measurement value D3 is 4-byte floating point, a 4-byte floating point type variable area is secured as the variable area of the measurement value D3.
(A6) In the received data string, 4 bytes of data from the fifth byte, which is the start position before conversion of the measurement value D3, is acquired, and the acquired data is stored in the secured variable area.

(A7)送信データ列に、測定値D1のデータフォーマット情報(測定値名称「歩数」、データ型「4バイト整数」)、及び測定値D1の測定値を書き込む。
(A8)送信データ列に、測定値D2のデータフォーマット情報(測定値名称「年齢」、データ型「1バイト整数」)、及び測定値D2の測定値を書き込む。
(A9)送信データ列に、測定値D3のデータフォーマット情報(測定値名称「移動距離」、データ型「4バイト浮動小数点」)、及び測定値D3を書き込む。
(A7) The data format information of the measurement value D1 (measurement value name “step count”, data type “4-byte integer”) and the measurement value of the measurement value D1 are written in the transmission data string.
(A8) The data format information of the measurement value D2 (measurement value name “age”, data type “1 byte integer”) and the measurement value of the measurement value D2 are written in the transmission data string.
(A9) The data format information (measurement value name “movement distance”, data type “4-byte floating point”) of the measurement value D3 and the measurement value D3 are written in the transmission data string.

図5は、データ変換部153により、データフォーマット情報と測定値とからなる形式に変換されたデータの一例を示す。変換されたデータのうちデータDa1は、測定値D1に関するデータフォーマット情報(測定値名称「歩数」、データ型「4バイト整数」)と、4バイト整数の測定値D1とからなる。データDa2は、測定値D2に関するデータフォーマット情報(測定値名称「年齢」、データ型「1バイト整数」)と、1バイト整数の測定値D2とからなる。データDa3は、測定値D3に関するデータフォーマット情報(測定値名称「移動距離」、データ型「4バイト浮動小数点」)と、4バイト浮動小数点数の測定値D3とからなる。   FIG. 5 shows an example of data converted by the data converter 153 into a format composed of data format information and measurement values. Of the converted data, the data Da1 includes data format information (measurement value name “step count”, data type “4-byte integer”) regarding the measurement value D1, and a 4-byte integer measurement value D1. The data Da2 includes data format information (measurement value name “age”, data type “1 byte integer”) regarding the measurement value D2, and a measurement value D2 of a 1 byte integer. The data Da3 includes data format information (measurement value name “movement distance”, data type “4-byte floating point”) regarding the measurement value D3, and a measurement value D3 of a 4-byte floating point number.

このデータフォーマット情報と測定値とからなる形式に変換された測定データDa1、Da2、Da3は、データ送信部154からデータ収集装置103に送信される。そして、この変換された測定データDa1、Da2、Da3がデータ収集装置103のデータ収集部161で受信される。収集データ解析部162は、変換された測定データDa1、Da2、Da3から、個々の測定値D1、D2、D3を解析する。   The measurement data Da1, Da2, and Da3 converted into a format including the data format information and the measurement value are transmitted from the data transmission unit 154 to the data collection device 103. The converted measurement data Da1, Da2, and Da3 are received by the data collection unit 161 of the data collection device 103. The collected data analysis unit 162 analyzes individual measurement values D1, D2, and D3 from the converted measurement data Da1, Da2, and Da3.

図6は、本実施形態に係る情報処理システム100の動作を示すフローチャートである。データフォーマット変換装置102のデータ取得部151は、測定機器101からの測定データを受信する(ステップS101)。
変換規則特定部152は、データ取得部151から測定データを受け取ると、測定データを解析し、使用する変換規則を特定する(ステップS102)。すなわち、変換規則特定部152には、機種毎の変換規則が蓄積されている。変換規則特定部152は、測定データの先頭の機種別情報を取得すると、この機種別情報に対応する変換規則を読み出す。
FIG. 6 is a flowchart showing the operation of the information processing system 100 according to the present embodiment. The data acquisition unit 151 of the data format conversion device 102 receives the measurement data from the measuring device 101 (step S101).
When receiving the measurement data from the data acquisition unit 151, the conversion rule specifying unit 152 analyzes the measurement data and specifies the conversion rule to be used (step S102). In other words, the conversion rule specifying unit 152 stores conversion rules for each model. When the conversion rule specifying unit 152 acquires the top model information of the measurement data, the conversion rule specifying unit 152 reads the conversion rule corresponding to the model type information.

データ変換部153は、変換規則特定部152からの変換規則を受け取ると、この変換規則を基に、データフォーマット情報を抽出する。そして、データ変換部153は、データ取得部151から入力される測定データを、データフォーマット情報と測定値とからなる形式のデータに変換する(ステップS103)。データ送信部154は、データフォーマット情報と測定値とからなる形式に変換された測定データを、データ収集装置103に送信する(ステップS104)。   When receiving the conversion rule from the conversion rule specifying unit 152, the data conversion unit 153 extracts data format information based on the conversion rule. Then, the data conversion unit 153 converts the measurement data input from the data acquisition unit 151 into data having a format including data format information and measurement values (step S103). The data transmission unit 154 transmits the measurement data converted into the format including the data format information and the measurement value to the data collection device 103 (step S104).

データ収集装置103のデータ収集部161は、データフォーマット変換装置102からのデータフォーマット情報と測定値とからなる形式に変換された測定データを受信する(ステップS105)。そして、収集データ解析部162は、データフォーマット情報と測定値とからなる形式に変換された測定データから、個々の測定値を解析する(ステップS106)。   The data collection unit 161 of the data collection device 103 receives the measurement data converted into a format composed of the data format information and measurement values from the data format conversion device 102 (step S105). Then, the collected data analysis unit 162 analyzes individual measurement values from the measurement data converted into a format including data format information and measurement values (step S106).

以上に説明したように、本実施形態に係るデータフォーマット変換装置102は、測定機器101からの測定データを、データフォーマット情報と測定値とからなる形式のデータに変換し、データ収集装置103に送信する。変換された測定データに付加されたデータフォーマット情報として、データ項目毎の測定値の形式を示す情報(例えば、測定値名称及びデータ型)が含まれる。したがって、データ収集装置103は、当該データフォーマット情報に基づいて、いかなる測定データが、いかなるデータ形式で取得されたかを判定できる。そのため、データ収集装置103は、測定データの形式の差異や変換、例えば項目の追加、削除、変更等に適応して、測定データに含まれる個々のデータ項目の測定値を解析することができる。   As described above, the data format conversion apparatus 102 according to the present embodiment converts measurement data from the measurement device 101 into data in a format including data format information and measurement values, and transmits the data to the data collection apparatus 103. To do. The data format information added to the converted measurement data includes information (for example, measurement value name and data type) indicating the format of the measurement value for each data item. Therefore, the data collection device 103 can determine what measurement data is acquired in what data format based on the data format information. Therefore, the data collection device 103 can analyze the measurement value of each data item included in the measurement data in accordance with the difference or conversion of the format of the measurement data, for example, addition, deletion, or change of items.

<第2の実施形態>
次に、本発明の第2の実施形態について説明する。図7は、本実施形態に係る情報処理システム200の構成を示すブロック図である。本実施形態に係る情報処理システム200は、測定機器201と、データフォーマット変換装置202(情報処理装置)と、データ収集装置203とを含んで構成される。
<Second Embodiment>
Next, a second embodiment of the present invention will be described. FIG. 7 is a block diagram showing the configuration of the information processing system 200 according to this embodiment. An information processing system 200 according to the present embodiment includes a measuring device 201, a data format conversion device 202 (information processing device), and a data collection device 203.

測定機器201は、データフォーマット変換装置202に対して測定データを出力する機能を有する。測定機器201からの測定データは、個々の測定値からなるデータ列である。測定機器201としては、いかなる測定機器であってもよい。また、測定機器201は、機器情報取得要求に応答して、機器種別情報を出力する機能を有する。機器情報取得要求は、例えば測定機器201がデータフォーマット変換装置202に接続されたときに送られる。機器種別情報は、測定機器201の機種を特定できれば、いかなるものであってもよい。   The measuring device 201 has a function of outputting measurement data to the data format conversion device 202. The measurement data from the measuring device 201 is a data string composed of individual measurement values. The measuring device 201 may be any measuring device. The measuring device 201 has a function of outputting device type information in response to a device information acquisition request. The device information acquisition request is sent, for example, when the measuring device 201 is connected to the data format conversion device 202. The device type information may be anything as long as the model of the measuring device 201 can be specified.

データフォーマット変換装置202は、使用する変換規則に従ってデータフォーマット情報を生成してデータ収集装置203に送信する。測定機器201からの測定データを変換規則に基づいて変換し、データ収集装置203に送信する。
データ収集装置203は、データフォーマット変換装置202から送られてくるデータフォーマット情報及び変換された測定データを受信し、受信した測定データをこのデータフォーマット情報に基づいて解析する。
The data format conversion device 202 generates data format information according to the conversion rule to be used and transmits it to the data collection device 203. The measurement data from the measuring device 201 is converted based on the conversion rule and transmitted to the data collection device 203.
The data collection device 203 receives the data format information and the converted measurement data sent from the data format conversion device 202, and analyzes the received measurement data based on the data format information.

データフォーマット変換装置202は、データ取得部251と、機器情報取得部255と、変換規則特定部252と、データフォーマット抽出部256と、データフォーマット送信部257と、データ変換部253と、データ送信部254とを含んで構成される。   The data format conversion device 202 includes a data acquisition unit 251, a device information acquisition unit 255, a conversion rule specifying unit 252, a data format extraction unit 256, a data format transmission unit 257, a data conversion unit 253, and a data transmission unit. 254.

データ取得部251は、測定機器201から測定データを取得する。機器情報取得部255は、測定機器201に機器情報取得要求を送信し、その応答として機器種別情報を取得する。
変換規則特定部252には、機器種別情報毎に変換規則が予め蓄積されている。変換規則特定部252は、機器情報取得部255により取得された機器種別情報に対応する変換規則を特定する。
The data acquisition unit 251 acquires measurement data from the measurement device 201. The device information acquisition unit 255 transmits a device information acquisition request to the measuring device 201 and acquires device type information as a response.
Conversion rules are stored in advance in the conversion rule specifying unit 252 for each piece of device type information. The conversion rule specifying unit 252 specifies a conversion rule corresponding to the device type information acquired by the device information acquiring unit 255.

データフォーマット抽出部256は、変換規則特定部252により特定された変換規則に基づいて、データフォーマット情報を抽出する。データフォーマット送信部257は、データフォーマット抽出部256により抽出されたデータフォーマット情報をデータ収集装置203へ送信する。
データ変換部253は、データ取得部251により取得された測定データを、変換規則特定部252で決定された変換規則に基づいて変換する。データ送信部254は、データ変換部253により変換された測定データを、データ収集装置203へ送信する。
The data format extracting unit 256 extracts data format information based on the conversion rule specified by the conversion rule specifying unit 252. The data format transmission unit 257 transmits the data format information extracted by the data format extraction unit 256 to the data collection device 203.
The data conversion unit 253 converts the measurement data acquired by the data acquisition unit 251 based on the conversion rule determined by the conversion rule specifying unit 252. The data transmission unit 254 transmits the measurement data converted by the data conversion unit 253 to the data collection device 203.

データ収集装置203は、データ収集部261と、データフォーマット受信部263と、データフォーマット記憶部264と、収集データ解析部262とを含んで構成される。
データ収集部261は、データフォーマット変換装置202から変換された測定データを受信する。データフォーマット受信部263は、データフォーマット変換装置202からデータフォーマット情報を受信する。
データフォーマット記憶部264は、受信したデータフォーマット情報を記憶する。
収集データ解析部262は、データフォーマット記憶部264に記憶されたデータフォーマット情報に基づいて、データ収集部261で収集された測定データから、個々の測定値を解析する。
The data collection device 203 includes a data collection unit 261, a data format reception unit 263, a data format storage unit 264, and a collected data analysis unit 262.
The data collection unit 261 receives the measurement data converted from the data format conversion device 202. The data format receiving unit 263 receives data format information from the data format conversion device 202.
The data format storage unit 264 stores the received data format information.
The collected data analysis unit 262 analyzes individual measurement values from the measurement data collected by the data collection unit 261 based on the data format information stored in the data format storage unit 264.

図8は、測定機器201から出力される測定データの一例を示す。この例では、測定機器201からの測定データは、4バイトの整数の測定値D101と、1バイトの整数の測定値D102と、4バイトの浮動小数点の測定値D103とからなるデータ列である。   FIG. 8 shows an example of measurement data output from the measuring device 201. In this example, the measurement data from the measuring device 201 is a data string including a 4-byte integer measurement value D101, a 1-byte integer measurement value D102, and a 4-byte floating point measurement value D103.

なお、データフォーマット変換装置202の変換規則特定部252には、機器種別情報と対応付けて変換規則が予め記憶され、測定機器201から取得した機器種別情報に対応する変換規則を読み出すことにより特定する。
したがって、機種に応じて測定データのフォーマットが異なる場合でも、特定した変換規則を用いることでフォーマットの差異に対応することができる。
また、変換規則特定部252に、測定項目の追加、一部削除、変更等を行うための変換規則を予め準備しておくことで、データ変換部253は、それぞれの変換規則に対応したデータフォーマットの変換を行うことができる。
The conversion rule specifying unit 252 of the data format conversion device 202 stores the conversion rule in advance in association with the device type information, and specifies it by reading the conversion rule corresponding to the device type information acquired from the measuring device 201. .
Therefore, even if the format of the measurement data differs depending on the model, the format difference can be dealt with by using the specified conversion rule.
In addition, by preparing conversion rules for adding, partially deleting, changing, etc. measurement items in the conversion rule specifying unit 252 in advance, the data conversion unit 253 can select a data format corresponding to each conversion rule. Can be converted.

図9は、変換規則特定部252で特定される変換規則の一例を示す。この例では、測定値D101の変換規則では、測定値名称が「歩数」、単位が「steps」、データ型が「4バイト整数」、開始位置が「0バイト」としている。また、測定値D102の変換規則では、測定値名称が「年齢」、単位が「years」、データ型が「1バイト整数」、開始位置が「4バイト」である。また、測定値D103の変換規則では、測定値名称が「移動距離」、単位が「km」、データ型が「4バイト浮動小数点」、開始位置が「5バイト」である。   FIG. 9 shows an example of the conversion rule specified by the conversion rule specifying unit 252. In this example, according to the conversion rule of the measurement value D101, the measurement value name is “steps”, the unit is “steps”, the data type is “4 byte integer”, and the start position is “0 byte”. Further, according to the conversion rule of the measurement value D102, the measurement value name is “age”, the unit is “years”, the data type is “1 byte integer”, and the start position is “4 bytes”. Further, according to the conversion rule of the measurement value D103, the measurement value name is “movement distance”, the unit is “km”, the data type is “4 bytes floating point”, and the start position is “5 bytes”.

使用する変換規則が特定されると、データ変換部253は、この変換規則から、データフォーマット情報を生成する。
図10は、図9に示した変換規則から抽出されるデータフォーマット情報の一例を示す。測定値D101に関するデータフォーマット情報として、測定値名称「歩数」、データ型「4バイト整数」、開始位置「0バイト」、単位「steps」が抽出される。測定値D102に関するデータフォーマット情報として、測定値名称「年齢」、データ型「1バイト整数」、開始位置「4バイト」、単位「years」が抽出される。測定値D103に関するデータフォーマット情報として、測定値名称「移動距離」、データ型「4バイト浮動小数点」、開始位置「5バイト」、単位「km」が生成される。
When the conversion rule to be used is specified, the data conversion unit 253 generates data format information from the conversion rule.
FIG. 10 shows an example of data format information extracted from the conversion rule shown in FIG. As data format information regarding the measurement value D101, a measurement value name “step count”, a data type “4 byte integer”, a start position “0 byte”, and a unit “steps” are extracted. As the data format information regarding the measurement value D102, the measurement value name “age”, the data type “1-byte integer”, the start position “4 bytes”, and the unit “years” are extracted. As data format information regarding the measurement value D103, a measurement value name “movement distance”, a data type “4 bytes floating point”, a start position “5 bytes”, and a unit “km” are generated.

データフォーマット変換装置202のデータフォーマット送信部257は、データ変換部253において生成されたデータフォーマット情報を送信する。当該データフォーマット情報は、データ収集装置203のデータフォーマット受信部263において受信され、データフォーマット記憶部264に記憶される。   The data format transmission unit 257 of the data format conversion device 202 transmits the data format information generated by the data conversion unit 253. The data format information is received by the data format receiving unit 263 of the data collection device 203 and stored in the data format storage unit 264.

他方、データ取得部251が図8に示すデータ構造を有する測定データを取得する場合、当該測定データは、データ変換部253により、変換規則に基づいて変換される。但し、図9に示した変換規則が選択された場合には、当該測定データはデータ変換部253において変換されずにデータ送信部254に出力される。
出力された測定データは、データ送信部254から送信され、データ収集装置203のデータ収集部261において受信される。そして、収集データ解析部262により、データフォーマット記憶部264に記憶されているデータフォーマット情報に従って、測定データに含まれる個々の測定値が解析される。
On the other hand, when the data acquisition unit 251 acquires measurement data having the data structure shown in FIG. 8, the measurement data is converted by the data conversion unit 253 based on the conversion rule. However, when the conversion rule illustrated in FIG. 9 is selected, the measurement data is output to the data transmission unit 254 without being converted by the data conversion unit 253.
The output measurement data is transmitted from the data transmission unit 254 and received by the data collection unit 261 of the data collection device 203. Then, the collected data analysis unit 262 analyzes individual measurement values included in the measurement data according to the data format information stored in the data format storage unit 264.

次に、データフォーマット記憶部264には、図10に示すデータフォーマット情報が記憶され、収集データ解析部262に図9に示す測定データが入力される場合を例にして収集データ解析部262が行う処理を説明する。   Next, the data format storage unit 264 stores the data format information shown in FIG. 10, and the collected data analysis unit 262 performs the case where the measurement data shown in FIG. 9 is input to the collected data analysis unit 262. Processing will be described.

(B1)データフォーマット情報から、歩数のデータ型が「4バイト整数」とあるので、4バイト整数型の変数領域を確保し、当該変数に「歩数」とラベルを付ける。
(B2)データフォーマット情報から、歩数の開始位置が「0バイト」とあるので、受信したデータ列のうち、先頭(第0バイト)から4バイト分のデータを取得し、「歩数」のラベルを付けた変数領域に格納する。
(B3)データフォーマット情報から、年齢のデータ型が「1バイト整数」とあるので、1バイト整数型の変数領域を確保し、当該変数に「年齢」とラベルを付ける。
(B4)データフォーマット情報から、年齢の開始位置が「4バイト」とあるので、受信したデータ列のうち、第4バイトから1バイト分のデータを取得し、「年齢」のラベルを付けた変数領域に格納する。
(B1) From the data format information, since the data type of the step count is “4-byte integer”, a 4-byte integer variable area is secured and the variable is labeled “step count”.
(B2) Since the start position of the step count is “0 byte” from the data format information, 4 bytes of data are acquired from the head (0th byte) in the received data string, and the label of “step count” is given. Store in the attached variable area.
(B3) From the data format information, since the data type of age is “1-byte integer”, a variable area of 1-byte integer type is secured, and the variable is labeled “age”.
(B4) Since the start position of the age is “4 bytes” from the data format information, 1 byte of data is acquired from the 4th byte in the received data string, and the variable is labeled “age” Store in the area.

(B5)データフォーマット情報から、移動距離のデータ型が「4バイト浮動小数点」とあるので、4バイト浮動小数点型の変数領域を確保し、当該変数に「移動距離」とラベルを付ける。
(B6)データフォーマット情報から、移動距離の開始位置が「5バイト」とあるので、受信したデータ列のうち、第5バイトから4バイト分のデータを取得し、「移動距離」のラベルを付けた変数領域に格納する。
以上の処理により、収集データ解析部262は、各測定値を取り出すことができる。具体的には、「歩数」、「年齢」、「移動距離」とラベルの付けた各変数領域に、測定値D101,D102,D103のデータが格納される。
(B5) Since the data type of the moving distance is “4-byte floating point” from the data format information, a 4-byte floating point type variable area is secured and the variable is labeled “moving distance”.
(B6) Since the starting position of the moving distance is “5 bytes” from the data format information, 4 bytes of data are acquired from the fifth byte in the received data string, and the label “moving distance” is attached. Stored in the variable area.
Through the above processing, the collected data analysis unit 262 can extract each measurement value. Specifically, the data of the measured values D101, D102, and D103 are stored in the variable areas labeled “step count”, “age”, and “movement distance”.

上述したように、変換規則特定部252には、測定項目の追加、一部削除、変更等を行うための変換規則を予め記憶しておくことができる。
図11は、測定データの項目の順序を変更する場合の変換規則の他の例を示す。図11に示す変換規則は、図8に示すデータ列の測定データに対して、測定値の順序を入れ替える際に用いられる。
図9に示した変換規則と図11に示す変換規則とを比較すると、図9に示した変換規則では、測定値D101の開始位置が第0バイト、測定値D102の開始位置が第4バイト、測定値D103の開始位置が5バイトであったのに対して、図11に示す変換規則では、測定値D101の変更後の開始位置が第4バイト、測定値D102の変更後の開始位置が第8バイト、測定値D103の変更後の開始位置が第0バイトに変更されている。
As described above, the conversion rule specifying unit 252 can store in advance conversion rules for adding, partially deleting, changing, etc. measurement items.
FIG. 11 shows another example of a conversion rule when changing the order of items of measurement data. The conversion rule shown in FIG. 11 is used when the order of measurement values is changed with respect to the measurement data in the data string shown in FIG.
When the conversion rule shown in FIG. 9 is compared with the conversion rule shown in FIG. 11, in the conversion rule shown in FIG. 9, the start position of the measurement value D101 is the 0th byte, the start position of the measurement value D102 is the 4th byte, Whereas the start position of the measurement value D103 is 5 bytes, in the conversion rule shown in FIG. 11, the start position after the change of the measurement value D101 is the fourth byte and the start position after the change of the measurement value D102 is the first. The start position after the change of the measured value D103 is changed to the 0th byte.

図12は、図11に示す変換規則から生成されるデータフォーマット情報の一例を示す。図11に示す変換規則では、測定値D101の変更後の開始位置が第4バイト、測定値D102の変更後の開始位置が8バイト、測定値D103の変更後の開始位置が第0バイトの位置に変更されているので、測定項目の順序は、変更後の開始位置の順序、つまり測定値D103、D101、D102の順になる。測定値D103に関するデータフォーマット情報として、測定値名称「移動距離」、データ型「4バイト浮動小数点」、開始位置「0バイト」、単位「km」が抽出される。測定値D101に関するデータフォーマット情報として、測定値名称「歩数」、データ型「4バイト整数」、開始位置「4バイト」、単位「steps」が抽出される。測定値D102に関するデータフォーマット情報として、測定値名称「年齢」、データ型「1バイト整数」、開始位置「8バイト」、単位「years」が抽出される。   FIG. 12 shows an example of data format information generated from the conversion rule shown in FIG. In the conversion rule shown in FIG. 11, the start position after the change of the measurement value D101 is the fourth byte, the start position after the change of the measurement value D102 is 8 bytes, and the start position after the change of the measurement value D103 is the 0th byte position. Therefore, the order of the measurement items is the order of the start position after the change, that is, the order of the measurement values D103, D101, D102. As the data format information regarding the measurement value D103, the measurement value name “movement distance”, the data type “4-byte floating point”, the start position “0 byte”, and the unit “km” are extracted. As data format information regarding the measurement value D101, a measurement value name “step count”, a data type “4 byte integer”, a start position “4 bytes”, and a unit “steps” are extracted. As data format information regarding the measurement value D102, a measurement value name “age”, a data type “1-byte integer”, a start position “8 bytes”, and a unit “years” are extracted.

図12に示すデータフォーマット情報は、データフォーマット変換装置202のデータフォーマット送信部257から送信され、データフォーマット記憶部264に記憶される。
他方、図8に示す測定機器201からの測定データは、データ変換部253において、図11に示す変換規則に基づいて変換される。当該変換規則によれば、測定値D101の開始位置が第4バイト、測定値D102の開始位置が第8バイト、測定値D103の開始位置が先頭(第0バイト)の位置に変更される。したがって、図13に示すように、データ列の先頭に測定値D103、先頭から4バイトの位置に測定値D101、先頭から8バイトの位置に測定値D102となるように、測定データのデータ列が変更される。
The data format information shown in FIG. 12 is transmitted from the data format transmission unit 257 of the data format conversion device 202 and stored in the data format storage unit 264.
On the other hand, measurement data from the measuring device 201 shown in FIG. 8 is converted by the data converter 253 based on the conversion rule shown in FIG. According to the conversion rule, the start position of the measurement value D101 is changed to the fourth byte, the start position of the measurement value D102 is changed to the eighth byte, and the start position of the measurement value D103 is changed to the first (0th byte) position. Therefore, as shown in FIG. 13, the data string of the measurement data is such that the measurement value D103 is at the beginning of the data string, the measurement value D101 is at the position of 4 bytes from the beginning, and the measurement value D102 is at the position of 8 bytes from the beginning. Be changed.

図13に示す測定データは、データ送信部254からデータ収集装置203に送信される。そして、この測定データは、データ収集装置203のデータ収集部261により受信され、収集データ解析部262に出力される。収集データ解析部262により、データフォーマット記憶部264に記憶されているデータフォーマット情報(図12)に従って、図13に示す測定データから、前述の(B−1)〜(B−6)と同様な処理により、「移動距離」、「歩数」、「年齢」の各測定値D103,D101,D102のデータが解析されることになる。   The measurement data illustrated in FIG. 13 is transmitted from the data transmission unit 254 to the data collection device 203. This measurement data is received by the data collection unit 261 of the data collection device 203 and output to the collected data analysis unit 262. From the measurement data shown in FIG. 13 according to the data format information (FIG. 12) stored in the data format storage unit 264 by the collected data analysis unit 262, the same as (B-1) to (B-6) described above. Through the processing, the data of the measured values D103, D101, D102 of “movement distance”, “number of steps”, and “age” are analyzed.

なお、上述では、測定項目の順序変更を例にしたが、測定項目の一部削除もしくは追加、測定値のデータ型もしくは単位の変更についても同様な手順で実現可能である。測定項目の削除では、削除対象の測定項目を指定した変換規則が用いられる。測定項目の追加では、追加対象のデータの所在、その測定項目に係る名称、単位、データ型、開始位置を指定した変換規則が用いられる。測定値のデータ型の変更では、変換対象の測定項目の変更前後のデータ型を指定した変換規則が用いられる。測定値の単位の変更では、変換対象の測定項目の変更前後の単位を指定した変換規則が用いられる。   In the above description, the order of measurement items is changed as an example. However, part of the measurement items can be deleted or added, and the data type or unit of the measurement values can be changed by the same procedure. When deleting a measurement item, a conversion rule specifying the measurement item to be deleted is used. When adding a measurement item, a conversion rule specifying the location of data to be added, the name, unit, data type, and start position relating to the measurement item is used. In changing the data type of the measurement value, a conversion rule specifying the data type before and after the change of the measurement item to be converted is used. In changing the unit of measurement value, a conversion rule specifying the unit before and after changing the measurement item to be converted is used.

図14は、本実施形態に係る情報処理システム200の動作を示すフローチャートである。データフォーマット変換装置202の機器情報取得部255は、機器情報取得要求に応答して測定機器201から返される機器種別情報を受信する(ステップS201)。
変換規則特定部252は、予め蓄積された機器種別情報毎の変換規則から、機器情報取得部255からの機器種別情報に対応する変換規則を特定する(ステップS202)。
データフォーマット抽出部256は、変換規則特定部252が特定した変換規則に基づいてデータフォーマット情報を生成する(ステップS203)。データフォーマット送信部257は、データフォーマット抽出部256で生成したデータフォーマット情報をデータ収集装置203に送信する(ステップS204)。
FIG. 14 is a flowchart showing the operation of the information processing system 200 according to the present embodiment. The device information acquisition unit 255 of the data format conversion device 202 receives the device type information returned from the measurement device 201 in response to the device information acquisition request (step S201).
The conversion rule specifying unit 252 specifies a conversion rule corresponding to the device type information from the device information acquiring unit 255 from the conversion rules for each device type information stored in advance (step S202).
The data format extraction unit 256 generates data format information based on the conversion rule specified by the conversion rule specifying unit 252 (step S203). The data format transmission unit 257 transmits the data format information generated by the data format extraction unit 256 to the data collection device 203 (step S204).

データ収集装置203のデータフォーマット受信部263は、データフォーマット送信部257からのデータフォーマット情報を受信する。データフォーマット記憶部264は、データフォーマット受信部263で受信したデータフォーマット情報を保存する(ステップS205)。   The data format reception unit 263 of the data collection device 203 receives the data format information from the data format transmission unit 257. The data format storage unit 264 stores the data format information received by the data format reception unit 263 (step S205).

データフォーマット変換装置202のデータ取得部251は、測定機器201に測定データの測定を指示する測定要求を送信し、その応答として測定データを取得する(ステップS206)。データ変換部253は、変換規則特定部252画特定した変換規則に基づいて、データ取得部251が取得した測定データを変換する(ステップS207)。データ送信部254は、変換された測定データをデータ収集装置203に送信する(ステップS208)。   The data acquisition unit 251 of the data format conversion device 202 transmits a measurement request for instructing the measurement device 201 to measure the measurement data, and acquires the measurement data as a response (step S206). The data conversion unit 253 converts the measurement data acquired by the data acquisition unit 251 based on the conversion rule specified by the conversion rule specifying unit 252 (step S207). The data transmission unit 254 transmits the converted measurement data to the data collection device 203 (step S208).

データ収集装置203のデータ収集部261は、データフォーマット変換装置202から受信した測定データを受信する(ステップS209)。そして、収集データ解析部262は、データフォーマット記憶部264に記憶されているデータフォーマットに従って、データ変換部253で変換されデータ収集部261により受信された測定データから、個々の測定値を解析する(ステップS210)。   The data collection unit 261 of the data collection device 203 receives the measurement data received from the data format conversion device 202 (step S209). Then, the collected data analysis unit 262 analyzes individual measurement values from the measurement data converted by the data conversion unit 253 and received by the data collection unit 261 in accordance with the data format stored in the data format storage unit 264 ( Step S210).

以上に説明したように、本実施形態では、データフォーマット変換装置202は、生成したデータフォーマット情報を、変換した測定データと別個にデータ収集装置203に送信する。このため、データ収集装置203は、収集したデータフォーマット情報を参照して、測定機器201からの測定データのデータ形式の差異や変換、例えば、データ項目の追加、削除、変更等に適応することができる。また、本実施形態では、データフォーマット変換装置202がデータ収集装置203にデータフォーマット情報を送信した後は、さらにデータフォーマット情報を送信する必要がない。データフォーマット情報の再度の送信を省略することによって、データフォーマット変換装置202とデータ収集装置203との間のデータ転送量が削減可能になる。   As described above, in the present embodiment, the data format conversion device 202 transmits the generated data format information to the data collection device 203 separately from the converted measurement data. For this reason, the data collection device 203 refers to the collected data format information, and can be applied to the difference or conversion of the data format of the measurement data from the measurement device 201, for example, addition, deletion, or change of data items. it can. In the present embodiment, after the data format conversion device 202 transmits the data format information to the data collection device 203, it is not necessary to transmit the data format information further. By omitting the re-transmission of the data format information, the data transfer amount between the data format conversion device 202 and the data collection device 203 can be reduced.

<第3の実施形態>
次に、本発明の第3の実施形態について説明する。図15は、本実施形態に係る情報処理システム300の構成を示すブロック図である。本実施形態に係る情報処理システム300は、測定機器301と、データフォーマット変換装置302(情報処理装置)と、データ収集装置303と、変換規則サーバ304とを含んで構成される。測定機器301及びデータ収集装置303の構成は、測定機器201及びデータ収集装置203の構成とそれぞれ同様であるため、第2の実施形態の説明を援用する。
<Third Embodiment>
Next, a third embodiment of the present invention will be described. FIG. 15 is a block diagram illustrating a configuration of the information processing system 300 according to the present embodiment. An information processing system 300 according to the present embodiment includes a measuring device 301, a data format conversion device 302 (information processing device), a data collection device 303, and a conversion rule server 304. Since the configuration of the measurement device 301 and the data collection device 303 is the same as the configuration of the measurement device 201 and the data collection device 203, the description of the second embodiment is cited.

データフォーマット変換装置302は、データ取得部351と、機器情報取得部355と、変換規則特定部352と、データフォーマット抽出部356と、データフォーマット送信部357と、データ変換部353と、データ送信部354と、変換規則取得部358とを含んで構成される。データ取得部351、機器情報取得部355、変換規則特定部352、データフォーマット抽出部356、データフォーマット送信部357、データ変換部353、データ送信部354の構成は、データ取得部251、機器情報取得部255、変換規則特定部252、データフォーマット抽出部256、データフォーマット送信部257、データ変換部253及びデータ送信部254の構成とそれぞれ同様であるため、第2の実施形態の説明を援用する。
変換規則取得部358は、測定機器301から受信した機種種別情報に対応する変換規則が変換規則特定部352に蓄積されていない場合、変換規則サーバ304に当該機種種別情報を送信し、その応答として当該機種種別情報に対応する変換規則を受信する。
The data format conversion device 302 includes a data acquisition unit 351, a device information acquisition unit 355, a conversion rule specifying unit 352, a data format extraction unit 356, a data format transmission unit 357, a data conversion unit 353, and a data transmission unit. 354 and a conversion rule acquisition unit 358. The configuration of the data acquisition unit 351, device information acquisition unit 355, conversion rule identification unit 352, data format extraction unit 356, data format transmission unit 357, data conversion unit 353, and data transmission unit 354 includes the data acquisition unit 251 and device information acquisition. The configuration of the unit 255, the conversion rule specifying unit 252, the data format extraction unit 256, the data format transmission unit 257, the data conversion unit 253, and the data transmission unit 254 is the same as that of the second embodiment.
When the conversion rule corresponding to the model type information received from the measuring device 301 is not stored in the conversion rule specifying unit 352, the conversion rule acquisition unit 358 transmits the model type information to the conversion rule server 304, and receives the response as a response. A conversion rule corresponding to the model type information is received.

変換規則サーバ304は、ネットワークを介してデータフォーマット変換装置302と接続可能であり、機種種別情報毎に変換規則が予め蓄積されている機器である。変換規則サーバ304は、データフォーマット変換装置302から機器種別情報を受信し、受信した機器種別情報に対応した変換規則を検索する。変換規則サーバ304は、検索した変換規則をデータフォーマット変換装置302に送信する。   The conversion rule server 304 can be connected to the data format conversion device 302 via a network, and is a device in which conversion rules are stored in advance for each model type information. The conversion rule server 304 receives device type information from the data format conversion device 302 and searches for a conversion rule corresponding to the received device type information. The conversion rule server 304 transmits the searched conversion rule to the data format conversion device 302.

図16は、本実施形態に係る情報処理システム300の動作を示すフローチャートである。図16に示す処理は、ステップS301〜S312の処理を有する。ステップS301、S303、S305〜S312の処理は、ステップS201、S202、S203〜S210と同様であるため、第2の実施形態の説明を援用する。
変換規則特定部352は、蓄積されている変換規則のうち、機器情報取得部355から受信した機器種別情報に対応する変換規則があるか否かを判定する(ステップS302)。
あると判定された場合には(ステップS302:YES)、変換規則特定部352は、自部に予め蓄積された変換規則から、機器種別情報に対応する変換規則を特定する(ステップS303)。ないと判定された場合には(ステップS302:NO)、変換規則特定部352は変換規則サーバ304に機器種別情報を送信し、その応答として当該機器種別情報に対応する変換規則を取得する(ステップS304)。
FIG. 16 is a flowchart showing the operation of the information processing system 300 according to the present embodiment. The process illustrated in FIG. 16 includes the processes of steps S301 to S312. Since the processes of steps S301, S303, S305 to S312 are the same as steps S201, S202, and S203 to S210, the description of the second embodiment is cited.
The conversion rule specifying unit 352 determines whether there is a conversion rule corresponding to the device type information received from the device information acquisition unit 355 among the stored conversion rules (step S302).
If it is determined that there is (step S302: YES), the conversion rule specifying unit 352 specifies a conversion rule corresponding to the device type information from the conversion rules stored in advance in the own unit (step S303). If it is determined that there is not (step S302: NO), the conversion rule specifying unit 352 transmits the device type information to the conversion rule server 304, and acquires the conversion rule corresponding to the device type information as a response (step S302). S304).

以上に説明したように、本実施形態では、変換規則特定部352は測定機器301から受信した機器種別情報に対応する変換規則がない場合でも、変換規則サーバ304に蓄積された変換規則から、機器種別情報に対応する変換規則を取得することができる。   As described above, in this embodiment, even if there is no conversion rule corresponding to the device type information received from the measuring device 301, the conversion rule specifying unit 352 uses the conversion rule stored in the conversion rule server 304 to A conversion rule corresponding to the type information can be acquired.

なお、データフォーマット変換装置102、202、302、データ収集装置103、203、303の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
A program for realizing all or part of the functions of the data format conversion devices 102, 202, 302 and the data collection devices 103, 203, 303 is recorded on a computer-readable recording medium and recorded on the recording medium. Each unit may be processed by causing the computer system to read and execute the program. Here, the “computer system” includes an OS and hardware such as peripheral devices.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

なお、本発明は次の態様でも実施することができる。
(1)測定機器から測定データを取得するデータ取得部と、測定機器の識別情報と予め対応付けて記憶され、測定データのデータ形式を指定する変換規則から前記測定機器の種別に対応する変換規則を特定する変換規則特定部と、前記データ取得部により取得された測定データの形式を前記変換規則特定部により特定された変換規則が指定するデータ形式に変換するデータ変換部と、変換された測定データと前記特定された変換規則が指定するデータ形式を示すデータフォーマット情報とをデータ収集装置に送信する送信部と、を備える情報処理装置。
In addition, this invention can be implemented also in the following aspect.
(1) A data acquisition unit that acquires measurement data from a measurement device, and a conversion rule that is stored in advance in association with identification information of the measurement device and that corresponds to the type of the measurement device from a conversion rule that specifies the data format of the measurement data A conversion rule specifying unit for specifying the data, a data conversion unit for converting the format of the measurement data acquired by the data acquisition unit into a data format specified by the conversion rule specified by the conversion rule specifying unit, and the converted measurement An information processing apparatus comprising: a transmission unit that transmits data and data format information indicating a data format specified by the identified conversion rule to a data collection apparatus.

(2)前記変換規則は測定データに含まれる各データ項目の測定値の形式を指定し、前記データ変換部は、前記取得された測定データに含まれるデータ項目の測定値の形式を、前記特定された変換規則が指定する当該データ項目の測定値の形式に変更し、前記データフォーマット情報として当該データ項目の測定値の形式を示す情報を付加する(1)の情報処理装置。 (2) The conversion rule specifies the format of the measurement value of each data item included in the measurement data, and the data conversion unit specifies the format of the measurement value of the data item included in the acquired measurement data. (1) The information processing apparatus according to (1), wherein the information is changed to a measurement value format of the data item specified by the conversion rule and information indicating the measurement value format of the data item is added as the data format information.

(3)前記変換規則は測定データに含まれる各データ項目の測定値の形式を指定し、前記取得された測定データに含まれるデータ項目毎に、前記特定された変換規則が指定する当該データ項目の測定値の形式を配列したデータフォーマット情報を抽出するデータフォーマット抽出部と、を備え前記送信部は、前記変換された測定データと抽出されたデータフォーマット情報をそれぞれ送信する(1)の情報処理装置。 (3) The conversion rule specifies the format of the measurement value of each data item included in the measurement data, and the data item specified by the specified conversion rule for each data item included in the acquired measurement data A data format extraction unit that extracts data format information in which the measurement value formats are arranged, and the transmission unit transmits the converted measurement data and the extracted data format information, respectively. apparatus.

(4)前記変換規則特定部は、前記測定機器の種別に対応する変換規則が記憶されていない場合、当該変換規則を、ネットワークを介して検索する(1)から(3)のいずれかの情報処理装置。 (4) When the conversion rule corresponding to the type of the measuring device is not stored, the conversion rule specifying unit searches for the conversion rule via the network. Information on any of (1) to (3) Processing equipment.

(5)前記変換は、データ項目の順序の変更、データ項目の追加、データ項目の削除、測定値のデータ型の変更、または測定値の単位の変更である(1)から(4)のいずれかの情報処理装置。 (5) The conversion is any one of (1) to (4), including changing the order of data items, adding data items, deleting data items, changing the data type of measurement values, or changing the units of measurement values. Information processing device.

(6) 情報処理装置とデータ収集装置とを備える情報処理システムであって、前記情報処理装置は、測定機器から測定データを取得するデータ取得部と、測定機器の識別情報と予め対応付けて記憶され、測定データのデータ形式を指定する変換規則から前記測定機器の種別に対応する変換規則を特定する変換規則特定部と、前記データ取得部により取得された測定データの形式を前記変換規則特定部により特定された変換規則が指定するデータ形式に変換するデータ変換部と、変換された測定データと前記特定された変換規則が指定するデータ形式を示すデータフォーマット情報とを前記データ収集装置に送信する送信部と、を備える情報処理システム。 (6) An information processing system including an information processing device and a data collection device, wherein the information processing device stores a data acquisition unit that acquires measurement data from a measurement device and identification information of the measurement device in association with each other. A conversion rule specifying unit that specifies a conversion rule corresponding to the type of the measuring device from a conversion rule that specifies a data format of measurement data, and a format of the measurement data acquired by the data acquisition unit A data conversion unit that converts the data into a data format specified by the conversion rule specified by the step, and transmits the converted measurement data and data format information indicating the data format specified by the specified conversion rule to the data collection device. An information processing system comprising: a transmission unit.

(7)測定機器から測定データを取得するデータ取得過程と、測定機器の識別情報と予め対応付けて記憶され、測定データのデータ形式を指定する変換規則から前記測定機器の種別に対応する変換規則を特定する変換規則特定過程と、前記データ取得過程により取得された測定データの形式を前記変換規則特定過程により特定された変換規則が指定するデータ形式に変換するデータ変換過程と、変換された測定データと前記特定された変換規則が指定するデータ形式を示すデータフォーマット情報とをデータ収集装置に送信する送信過程と、を有する情報処理方法。 (7) A data acquisition process for acquiring measurement data from a measuring device, and a conversion rule corresponding to the type of the measuring device from a conversion rule that is stored in advance in association with the identification information of the measuring device and specifies the data format of the measurement data A conversion rule specifying process for specifying the data, a data conversion process for converting the format of the measurement data acquired by the data acquisition process into a data format specified by the conversion rule specified by the conversion rule specifying process, and the converted measurement A data transmission method for transmitting data and data format information indicating a data format designated by the specified conversion rule to a data collection device;

(8)情報処理装置のコンピュータに、測定機器から測定データを取得するデータ取得過程と、測定機器の識別情報と予め対応付けて記憶され、測定データのデータ形式を指定する変換規則から前記測定機器の種別に対応する変換規則を特定する変換規則特定過程と、前記データ取得過程により取得された測定データの形式を前記変換規則特定過程により特定された変換規則が指定するデータ形式に変換するデータ変換過程と、変換された測定データと前記特定された変換規則が指定するデータ形式を示すデータフォーマット情報とをデータ収集装置に送信する送信過程と、を実行させるためのプログラム。 (8) In the computer of the information processing apparatus, the measurement instrument is obtained from a data acquisition process for acquiring measurement data from the measurement instrument, and conversion rules that are stored in advance in association with identification information of the measurement instrument and specify the data format of the measurement data. A conversion rule specifying process for specifying a conversion rule corresponding to the type of data, and a data conversion for converting the format of the measurement data acquired by the data acquisition process into a data format specified by the conversion rule specified by the conversion rule specifying process A program for executing a process and a transmission process of transmitting converted measurement data and data format information indicating a data format specified by the specified conversion rule to a data collection device.

以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like without departing from the gist of the present invention.

100,200,300…情報処理システム、101,201,301…測定機器、102,202,302…データフォーマット変換装置、103,203,303…データ収集装置、304…変換規則サーバ、151,251,351…データ取得部、152,252,352…変換規則特定部、153,253,353…データ変換部、154,254,354…データ送信部、255,355…機器情報取得部、256,356…データフォーマット抽出部、257,357…データフォーマット送信部、358…変換規則取得部、161,261,361…データ収集部、162,262,362…収集データ解析部、263,363…データフォーマット受信部、264,364…データフォーマット記憶部 100, 200, 300 ... Information processing system, 101, 201, 301 ... Measuring equipment, 102, 202, 302 ... Data format conversion device, 103, 203, 303 ... Data collection device, 304 ... Conversion rule server, 151, 251, 351: Data acquisition unit, 152, 252, 352 ... Conversion rule specifying unit, 153, 253, 353 ... Data conversion unit, 154, 254, 354 ... Data transmission unit, 255, 355 ... Device information acquisition unit, 256, 356 ... Data format extraction unit, 257, 357 ... data format transmission unit, 358 ... conversion rule acquisition unit, 161, 261, 361 ... data collection unit, 162, 262, 362 ... collection data analysis unit, 263, 363 ... data format reception unit , 264, 364 ... Data format storage unit

Claims (5)

測定機器から測定データを取得するデータ取得部と、
測定機器の識別情報と予め対応付けて記憶され、測定データのデータ形式を指定する変換規則から前記測定機器の種別に対応する変換規則を特定する変換規則特定部と、
前記データ取得部により取得された測定データの形式を前記変換規則特定部により特定された変換規則が指定するデータ形式に変換するデータ変換部と、
変換された測定データと前記特定された変換規則が指定するデータ形式を示すデータフォーマット情報とをデータ収集装置に送信する送信部と、
を備える情報処理装置。
A data acquisition unit for acquiring measurement data from a measuring device;
A conversion rule specifying unit that specifies a conversion rule corresponding to the type of the measurement device from a conversion rule that is stored in advance in association with the identification information of the measurement device and specifies the data format of the measurement data;
A data conversion unit that converts the format of the measurement data acquired by the data acquisition unit into a data format specified by the conversion rule specified by the conversion rule specifying unit;
A transmitter that transmits the converted measurement data and data format information indicating a data format specified by the specified conversion rule to the data collection device;
An information processing apparatus comprising:
前記変換規則は測定データに含まれる各データ項目の測定値の形式を指定し、
前記データ変換部は、前記取得された測定データに含まれるデータ項目の測定値の形式を、前記特定された変換規則が指定する当該データ項目の測定値の形式に変更し、前記データフォーマット情報として当該データ項目の測定値の形式を示す情報を付加する請求項1に記載の情報処理装置。
The conversion rule specifies the format of the measurement value of each data item included in the measurement data,
The data conversion unit changes the format of the measurement value of the data item included in the acquired measurement data to the format of the measurement value of the data item specified by the specified conversion rule, and the data format information The information processing apparatus according to claim 1, wherein information indicating a format of a measurement value of the data item is added.
前記変換規則は測定データに含まれる各データ項目の測定値の形式を指定し、
前記取得された測定データに含まれるデータ項目毎に、前記特定された変換規則が指定する当該データ項目の測定値の形式を配列したデータフォーマット情報を抽出するデータフォーマット抽出部と、を備え
前記送信部は、前記変換された測定データと抽出されたデータフォーマット情報をそれぞれ送信する請求項1に記載の情報処理装置。
The conversion rule specifies the format of the measurement value of each data item included in the measurement data,
For each data item included in the acquired measurement data, a data format extraction unit that extracts data format information in which the measurement value format of the data item specified by the specified conversion rule is arranged is included. The information processing apparatus according to claim 1, wherein the unit transmits the converted measurement data and the extracted data format information.
前記変換規則特定部は、前記測定機器の種別に対応する変換規則が記憶されていない場合、当該変換規則を、ネットワークを介して検索する請求項1から3のいずれか一項に記載の情報処理装置。   The information processing according to any one of claims 1 to 3, wherein the conversion rule specifying unit searches the conversion rule via a network when the conversion rule corresponding to the type of the measuring device is not stored. apparatus. 前記変換は、データ項目の順序の変更、データ項目の追加、データ項目の削除、測定値のデータ型の変更、または測定値の単位の変更である請求項1から4のいずれか一項に記載の情報処理装置。   5. The conversion according to claim 1, wherein the conversion is a change in the order of data items, an addition of data items, a deletion of data items, a change in data type of measurement values, or a change in units of measurement values. Information processing device.
JP2014233479A 2014-11-18 2014-11-18 Information processing device Pending JP2016099647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014233479A JP2016099647A (en) 2014-11-18 2014-11-18 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014233479A JP2016099647A (en) 2014-11-18 2014-11-18 Information processing device

Publications (1)

Publication Number Publication Date
JP2016099647A true JP2016099647A (en) 2016-05-30

Family

ID=56075471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014233479A Pending JP2016099647A (en) 2014-11-18 2014-11-18 Information processing device

Country Status (1)

Country Link
JP (1) JP2016099647A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019109693A (en) * 2017-12-18 2019-07-04 ヤフー株式会社 Data management device, data management method, and program
WO2019187208A1 (en) * 2018-03-30 2019-10-03 日本電気株式会社 Information processing device, data management system, data management method, and non-temporary computer-readable medium in which data management program is stored
CN111210027A (en) * 2018-11-22 2020-05-29 横河电机株式会社 Data generation device, data generation method, data generation program, and storage medium
JP2020194583A (en) * 2020-08-21 2020-12-03 ファナック株式会社 Service center management device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019109693A (en) * 2017-12-18 2019-07-04 ヤフー株式会社 Data management device, data management method, and program
US11487729B2 (en) 2017-12-18 2022-11-01 Yahoo Japan Corporation Data management device, data management method, and non-transitory computer readable storage medium
WO2019187208A1 (en) * 2018-03-30 2019-10-03 日本電気株式会社 Information processing device, data management system, data management method, and non-temporary computer-readable medium in which data management program is stored
JPWO2019187208A1 (en) * 2018-03-30 2021-03-11 日本電気株式会社 Information processing equipment, data management system, data management method and data management program
JP7081658B2 (en) 2018-03-30 2022-06-07 日本電気株式会社 Information processing equipment, data management system, data management method and data management program
CN111210027A (en) * 2018-11-22 2020-05-29 横河电机株式会社 Data generation device, data generation method, data generation program, and storage medium
JP2020086862A (en) * 2018-11-22 2020-06-04 横河電機株式会社 Data generation device, data generation method, data generation program, and recording medium
US11256246B2 (en) 2018-11-22 2022-02-22 Yokogawa Electric Corporation Data generating apparatus, data generating method, and recording medium
JP2020194583A (en) * 2020-08-21 2020-12-03 ファナック株式会社 Service center management device

Similar Documents

Publication Publication Date Title
JP2016099647A (en) Information processing device
US20150054655A1 (en) Usage Data for Marine Electronics Device
JP2017504850A5 (en)
CN107550457B (en) Method and apparatus for transmitting heart sound data
CN108573268A (en) Image-recognizing method and device, image processing method and device and storage medium
US10922302B2 (en) Data time stamps
CN104970820A (en) Intelligent auscultation system and detecting method
US9959342B2 (en) Audio augmented reality system
EP1455321A3 (en) Server apparatus, terminal device and information providing system
JP2020021292A (en) Information processing device, information processing system, and program
KR101575146B1 (en) Method for managing medical information, system and recording medium for performing the method
JP2009231903A (en) Wireless gateway device and wireless gateway system
JP6272429B1 (en) Data collection system, collection device, information collection program, server device, and server program
CN104951292A (en) Data processing system and data processing method
JP6114507B2 (en) Work result management apparatus, method, and program
JP6623453B2 (en) Failure cause identification device and program
US20200183630A1 (en) Printing through automatic sorting
JP2014083279A (en) Mastication frequency calculation device
JP2018157323A (en) Information management program, information management method, and information management system
EP3355515A1 (en) Communication information calculation apparatus, communication information calculation method, recording medium, and communication management system
JP5771238B2 (en) Accompanying determination device, accompanying determination method, and program
US20180059651A1 (en) Information collection system
EP3591481A1 (en) Device configuration management apparatus, system, and program
KR100985700B1 (en) Fixed node visualization system for intrusion detection
US10902027B2 (en) Generation of category information for measurement value