JPH07160556A - Data format converting device - Google Patents

Data format converting device

Info

Publication number
JPH07160556A
JPH07160556A JP34044593A JP34044593A JPH07160556A JP H07160556 A JPH07160556 A JP H07160556A JP 34044593 A JP34044593 A JP 34044593A JP 34044593 A JP34044593 A JP 34044593A JP H07160556 A JPH07160556 A JP H07160556A
Authority
JP
Japan
Prior art keywords
data
format
type
conversion
bit
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
JP34044593A
Other languages
Japanese (ja)
Other versions
JP2624160B2 (en
Inventor
Yoshihiko Okamura
佳彦 岡村
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP34044593A priority Critical patent/JP2624160B2/en
Publication of JPH07160556A publication Critical patent/JPH07160556A/en
Application granted granted Critical
Publication of JP2624160B2 publication Critical patent/JP2624160B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To unnecessitate the designation of the kind of an equipment for collecting data when collecting the data outputted from plural equipments in different data formats and to unnecessitate the correction of the program of a data collector even when it is necessary to collect the data from the new equipment in the different data format. CONSTITUTION:Data from an analyzer 3a for clinical inspection are stored in a buffer 13. A specification part 14 specifies the kind of the analyzer 3a for clinical inspection based on the data in the buffer 13 and the features of the data formats of respective analyzers 3a-3c for clinical inspection stored in a format definition file 18. A format conversion processing part 15 converts the data format of data stored in the buffer 13 to any specified data format by using conversion rules corresponding to the kind specified by the specification part 14 among the conversion rules stored in the format definition file 18 and transmits the converted data to a data collector 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、臨床検査用分析器等の
機器から出力されるデータを、予め定められているデー
タフォーマットのデータに変換するデータフォーマット
変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data format converter for converting data output from a device such as a clinical laboratory analyzer into data of a predetermined data format.

【0002】[0002]

【従来の技術】臨床検査用分析器等の機器から出力され
るデータをパーソナルコンピュータ等のデータ収集装置
で収集するということは、従来から行なわれている。
2. Description of the Related Art It has been conventionally practiced to collect data output from devices such as clinical laboratory analyzers with a data collection device such as a personal computer.

【0003】ところで、臨床検査用分析器から出力され
るデータを収集する場合、従来は次のようにしている。
By the way, in the case of collecting the data output from the clinical laboratory analyzer, the conventional method is as follows.

【0004】臨床検査用分析器とデータ収集装置とを接
続し、接続した臨床検査用分析器の種類をデータ収集装
置に人手で入力する。データ収集装置は、臨床検査用分
析器の種類が入力されると、その種類に対応したデータ
収集プログラムを実行し、臨床検査用分析器から出力さ
れる分析結果を示すデータを収集する。
A clinical test analyzer and a data collecting device are connected to each other, and the type of the clinical test analyzer connected is manually input to the data collecting device. When the type of the clinical test analyzer is input, the data collection device executes a data collection program corresponding to the type and collects data indicating the analysis result output from the clinical test analyzer.

【0005】ここで、接続した臨床検査用分析器の種類
をデータ収集装置に入力し、データ収集装置にその種類
に対応したデータ収集プログラムを実行させるのは、臨
床検査用分析器の種類によってデータフォーマットに違
いがあるからである。
Here, the type of the clinical laboratory analyzer connected is input to the data collecting apparatus, and the data collecting apparatus is caused to execute the data collecting program corresponding to the type of the clinical laboratory analyzing apparatus. This is because the format is different.

【0006】[0006]

【発明が解決しようとする課題】上述したように、デー
タフォーマットの異なる複数種の臨床検査用分析器から
出力されるデータを収集する場合、従来は、使用するデ
ータ収集プログラムを人手で指定しなければならないと
いう問題がある。また、データ収集装置に臨床検査用分
析器の種類毎のデータ収集プログラムを用意しておくこ
とが必要になるため、データフォーマットの異なる新た
な種類の臨床検査用分析器からのデータを収集する場合
には、データ収集装置のプログラムを修正しなければな
らないという問題がある。
As described above, when collecting data output from a plurality of types of clinical laboratory analyzers having different data formats, conventionally, the data collection program to be used must be manually specified. There is a problem that it must be. In addition, when collecting data from a new type of clinical laboratory analyzer with a different data format, it is necessary to prepare a data collection program for each type of clinical laboratory analyzer in the data collection device. Has the problem that the data collector program must be modified.

【0007】本発明の目的は、データフォーマットの異
なる新たな機器からのデータを収集することが必要にな
った場合に於いても、データ収集装置のプログラムの修
正を不要にすることができ、且つ人手による機器の種類
の指定を不要にすることができるデータフォーマット変
換装置を提供することにある。
An object of the present invention is to eliminate the need to modify the program of the data collecting device even when it is necessary to collect data from a new device having a different data format, and It is an object of the present invention to provide a data format conversion device that can eliminate the need to manually specify the type of device.

【0008】尚、例えば、特開昭59−123062号
公報には、データフォーマットの異なる情報処理装置間
でデータをやりとりする場合に使用するデータフォーマ
ット変換装置が示されている。
Incidentally, for example, Japanese Patent Laid-Open No. 59-123062 discloses a data format conversion device used when data is exchanged between information processing devices having different data formats.

【0009】このデータフォーマット変換装置を用いて
臨床検査用分析器から出力されるデータのデータフォー
マットを特定のデータフォーマットに変換し、データフ
ォーマット変換後のデータをデータ収集装置に送るよう
にすることにより、データフォーマットの異なる新たな
機器からのデータを収集することが必要になった場合に
於いても、データ収集装置のプログラムの修正を不要に
することはできる。
By using this data format conversion device to convert the data format of the data output from the clinical laboratory analyzer into a specific data format, and sending the data after the data format conversion to the data collection device. Even when it is necessary to collect data from a new device having a different data format, it is possible to eliminate the need to modify the program of the data collecting device.

【0010】しかし、上記したデータフォーマット変換
装置では、データ送信元の機器の種類を特定することが
できず、データ送信元の機器の種類を特定できないと、
どのようなデータフォーマット変換を行なって良いのか
を特定できないので、上記したデータフォーマット変換
装置を使用した場合に於いても、やはり人手でデータ送
信元の機器の種類を指定することが必要になる。
However, in the above-mentioned data format conversion device, the type of the device of the data transmission source cannot be specified, and if the type of the device of the data transmission source cannot be specified,
Since it is not possible to specify what kind of data format conversion should be performed, even when the above-mentioned data format conversion device is used, it is still necessary to manually specify the type of the data transmission source device.

【0011】[0011]

【課題を解決するための手段】本発明は上記目的を達成
するため、(A)複数種の機器のデータフォーマットの
特徴と、前記各種の機器から出力されるデータを予め定
められているデータフォーマットのデータに変換するた
めの変換規則とが格納されたフォーマット定義ファイル
と、前記機器が出力するデータを受信するデータ受信部
と、該データ受信部が受信したデータと前記フォーマッ
ト定義ファイルに格納されているデータフォーマットの
特徴とに基づいて前記データの送信元の機器の種類を特
定する特定部と、前記フォーマット定義ファイルに格納
されている変換規則の内、前記特定部が特定した種類に
対応した変換規則に従って前記データ受信部が受信した
データを前記予め定められているデータフォーマットの
データに変換するフォーマット変換処理部と、該フォー
マット変換処理部でデータフォーマットが変換されたデ
ータをデータ収集装置に送信するデータ送信部を備えた
ものである。
In order to achieve the above object, the present invention provides (A) characteristics of data formats of a plurality of types of equipment and data formats in which data output from the various types of equipment is predetermined. A format definition file storing a conversion rule for converting into data, a data receiving unit for receiving data output by the device, data received by the data receiving unit and the format definition file A specification unit that specifies the type of device that is the source of the data based on the characteristics of the data format that is present, and a conversion that corresponds to the type specified by the specification unit of the conversion rules stored in the format definition file. Converts data received by the data receiving unit into data in the predetermined data format according to a rule And formatting conversion processing unit, in which the data format has a data transmission section that transmits the converted data to the data collection device in the format conversion processing unit.

【0012】また、本発明は、万が一データフォーマッ
トの特徴に差異がなく、特定部で自動的にデータ送信元
の機器の種類を特定することができなかった場合でも、
データ送信元の機器の種類にあったデータフォーマット
変換を行なえるようにするため、(B)前記特定部は、
前記データ受信部が受信したデータと前記フォーマット
定義ファイルに格納されているデータフォーマットの特
徴とに基づいて送信元の機器の種類を特定できない場
合、機器の種類の入力を要求する促進文を出力し、該促
進文に応答して入力される機器の種類を前記データの送
信元の機器の種類と特定するものである。
Further, according to the present invention, even in the unlikely event that there is no difference in the characteristics of the data format and the specifying unit cannot automatically specify the type of the device of the data transmission source,
In order to be able to perform the data format conversion suitable for the type of the device of the data transmission source, (B) the specifying unit,
When the type of the transmission source device cannot be specified based on the data received by the data receiving unit and the characteristics of the data format stored in the format definition file, a prompting sentence requesting the input of the device type is output. The type of device input in response to the prompt sentence is specified as the type of device from which the data is transmitted.

【0013】[0013]

【作用】(A)の構成に於いては、データ受信部が、臨
床検査用分析器等の機器から出力されたデータを受信
し、特定部が、データ受信部で受信されたデータとフォ
ーマット定義ファイルに格納されている各機器のデータ
フォーマットの特徴とに基づいてデータ送信元の機器を
特定する。
In the configuration (A), the data receiving unit receives the data output from the device such as the clinical laboratory analyzer, and the specifying unit defines the data received by the data receiving unit and the format definition. The device of the data transmission source is specified based on the characteristics of the data format of each device stored in the file.

【0014】特定部によってデータ送信元の機器が特定
されると、フォーマット変換処理部が、フォーマット定
義ファイルに格納されている変換規則の内、特定部が特
定した機器の種類に対応した変換規則を用いてデータ受
信部が受信したデータを予め定められているデータフォ
ーマットのデータに変換し、データ送信部がデータフォ
ーマット変換後のデータをデータ収集装置に送信する。
When the identifying unit identifies the device that is the data transmission source, the format conversion processing unit selects the conversion rule corresponding to the type of device identified by the specifying unit from among the conversion rules stored in the format definition file. The data receiving unit uses the data to convert the received data into data of a predetermined data format, and the data transmitting unit transmits the data after the data format conversion to the data collecting device.

【0015】(B)の構成に於いては、データ受信部が
受信したデータとフォーマット定義ファイルに格納され
ているデータフォーマットの特徴とに基づいて送信元の
機器の種類を特定できない場合、特定部は、機器の種類
の入力を要求する促進文を出力し、該促進文に応答して
入力される機器の種類を前記データの送信元の機器の種
類と特定する。
In the configuration of (B), when the type of the transmission source device cannot be specified based on the data received by the data receiving unit and the characteristics of the data format stored in the format definition file, the specifying unit Outputs a promotion sentence requesting the input of the device type, and specifies the device type input in response to the promotion sentence as the device type of the transmission source of the data.

【0016】[0016]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0017】図1は本発明の実施例のブロック図であ
り、データフォーマット変換装置1と、パーソナルコン
ピュータ等によって構成されるデータ収集装置2と、複
数の臨床検査用分析器3a〜3cとから構成されてい
る。
FIG. 1 is a block diagram of an embodiment of the present invention, which comprises a data format conversion device 1, a data collection device 2 constituted by a personal computer or the like, and a plurality of clinical test analyzers 3a to 3c. Has been done.

【0018】データフォーマット変換装置1は、機器接
続用コネクタ11と、データ受信部12と、バッファ1
3と、特定部14と、フォーマット変換処理部15と、
データ送信部16と、レジスタ17と、フォーマット定
義ファイル18とを備えている。
The data format conversion device 1 includes a device connecting connector 11, a data receiving section 12, and a buffer 1.
3, a specifying unit 14, a format conversion processing unit 15,
The data transmission unit 16, the register 17, and the format definition file 18 are provided.

【0019】データ収集装置2は、入力部21と、表示
部22とから構成されている。
The data collection device 2 is composed of an input unit 21 and a display unit 22.

【0020】臨床検査用分析器3a〜3cは、機器接続
用コネクタ31a〜31cを有し、それを機器接続用コ
ネクタ11に差し込むことによりデータフォーマット変
換装置1と接続される。尚、本実施例では、各臨床検査
用分析器3a〜3cはそれぞれ種類が異なり、異なるデ
ータフォーマットを有するものとする。
The clinical test analyzers 3a to 3c have device connection connectors 31a to 31c, and are connected to the data format conversion device 1 by inserting them into the device connection connector 11. In this embodiment, the clinical test analyzers 3a to 3c are of different types and have different data formats.

【0021】データフォーマット変換装置1内のフォー
マット定義ファイル18には、図2に示すように、デー
タ収集装置2でデータを収集する臨床検査用分析器3a
〜3cの種類A〜Cと、各臨床検査用分析器3a〜3c
のデータフォーマットの特徴(データ長LA〜LC,デ
ータ開始を示す開始ビットのビットパターンSTA〜S
TC,データ終了を示す終了ビットのビットパターンE
A〜EC等)と、各臨床検査用分析器3a〜3cから出
力されるデータを予め定められているデータフォーマッ
トのデータに変換する際の変換規則とが格納されてい
る。
In the format definition file 18 in the data format conversion device 1, as shown in FIG. 2, the clinical test analyzer 3a for collecting data by the data collecting device 2 is used.
~ 3c types A to C and analyzers 3a to 3c for clinical examinations
Of the data format (data lengths LA to LC, start bit bit patterns STA to S indicating the start of data)
TC, bit pattern E of end bit indicating end of data
(A to EC, etc.) and conversion rules for converting the data output from each of the clinical test analyzers 3a to 3c into data of a predetermined data format are stored.

【0022】レジスタ17には、データ収集装置2の操
作者が入力促進文に応答して入力した臨床検査用分析器
の種類がセットされる。尚、初期状態に於いては特定の
ビットパターンがセットされている。
In the register 17, the type of clinical test analyzer input by the operator of the data collection device 2 in response to the input prompt sentence is set. Incidentally, a specific bit pattern is set in the initial state.

【0023】データフォーマット変換装置1のデータ受
信部12は、機器接続用コネクタ11を介して接続され
た臨床検査用分析器3a〜3cからの分析結果を示すデ
ータを受信し、バッファ13に格納する機能を有する。
The data receiving section 12 of the data format conversion apparatus 1 receives the data indicating the analysis result from the clinical test analyzers 3a to 3c connected via the device connecting connector 11 and stores it in the buffer 13. Have a function.

【0024】特定部14は、バッファ13に格納された
データとフォーマット定義ファイル18に格納されてい
るデータフォーマットの特徴とに基づいて、データ送信
元の臨床検査用分析器の種類を特定する機能と、データ
フォーマットの特徴に基づいてデータ送信元の臨床検査
用分析器の種類を特定できなかった場合は、データ収集
装置2の表示部22に送信元の臨床検査用分析器の種類
の入力を要求する促進文を表示する機能と、レジスタ1
7に臨床検査用分析器の種類がセットされることによ
り、その種類をデータ送信元の臨床検査用分析器の種類
と特定する機能を有する。
The specifying unit 14 has a function of specifying the type of the clinical test analyzer of the data transmission source based on the data stored in the buffer 13 and the characteristics of the data format stored in the format definition file 18. If the type of the clinical laboratory analyzer of the data transmission source cannot be specified based on the characteristics of the data format, the display unit 22 of the data acquisition device 2 is requested to input the type of the clinical laboratory analyzer of the transmission source. Register 1 to display the promotion sentence
By setting the type of the clinical test analyzer in 7, it has a function of specifying the type as the type of the clinical test analyzer of the data transmission source.

【0025】フォーマット変換処理部15は、フォーマ
ット定義ファイル18に格納されている変換規則の内、
特定部14が特定したデータ送信元の種類に対応した変
換規則に従ってバッファ13に格納されているデータ
を、予め定められているデータフォーマットのデータに
変換し、データ送信部16に渡す機能を有する。
The format conversion processing unit 15 selects one of the conversion rules stored in the format definition file 18,
It has a function of converting the data stored in the buffer 13 into data of a predetermined data format according to the conversion rule corresponding to the type of the data transmission source specified by the specifying unit 14, and passing the data to the data transmission unit 16.

【0026】データ送信部16は、フォーマット変換処
理部15でデータフォーマットが変換されたデータをデ
ータ収集装置2に送信する機能を有する。
The data transmission unit 16 has a function of transmitting the data whose data format has been converted by the format conversion processing unit 15 to the data collection device 2.

【0027】図3は、データフォーマット変換装置1内
の特定部14及びフォーマット変換処理部15の処理例
を示す流れ図である。
FIG. 3 is a flow chart showing a processing example of the specifying unit 14 and the format conversion processing unit 15 in the data format conversion apparatus 1.

【0028】次に、臨床検査用分析器3aから出力され
るデータを収集する場合を例にとって本実施例の動作を
説明する。
Next, the operation of this embodiment will be described by taking as an example the case of collecting the data output from the clinical test analyzer 3a.

【0029】臨床検査用分析器3aから出力されるデー
タを収集する場合、操作者は臨床検査用分析器3aの機
器接続用コネクタ31aを機器接続用コネクタ11に差
し込む。
When collecting data output from the clinical test analyzer 3a, the operator inserts the device connecting connector 31a of the clinical test analyzer 3a into the device connecting connector 11.

【0030】これにより、臨床検査用分析器3aから出
力される分析結果を示すデータは、機器接続用コネクタ
31a,機器接続用コネクタ11を介してデータ受信部
12に加えられる。
As a result, the data indicating the analysis result output from the clinical test analyzer 3a is added to the data receiving section 12 via the device connection connector 31a and the device connection connector 11.

【0031】データ受信部12は、臨床検査用分析器3
aからのデータをバッファ13に格納し、特定部14に
受信データがあったことを通知する。
The data receiving unit 12 includes the clinical test analyzer 3.
The data from a is stored in the buffer 13, and the specifying unit 14 is notified that there is received data.

【0032】この通知を受けると、特定部14は、レジ
スタ17に臨床検査用分析器の種類がセットされている
か否かを判断し、もし、セットされていれば、その種類
をデータ送信元の臨床検査用分析器3aの種類と特定
し、セットされていなければ、バッファ13に格納され
ているデータと、フォーマット定義ファイル18に格納
されている各種のデータフォーマットの特徴とに基づい
てデータ送信元の臨床検査用分析器3aの種類を特定す
る (ステップS1)。
Upon receipt of this notification, the identifying unit 14 determines whether or not the type of clinical laboratory analyzer is set in the register 17, and if set, sets the type as the data transmission source. If it is specified as the type of the clinical test analyzer 3a and is not set, the data transmission source is based on the data stored in the buffer 13 and the characteristics of various data formats stored in the format definition file 18. The type of the clinical test analyzer 3a is specified (step S1).

【0033】初期状態に於いては、レジスタ17には特
定のビットパターンがセットされているので、この場合
は、データフォーマットに従って臨床検査用分析器3a
の種類を特定する処理が行なわれることになる。
In the initial state, a specific bit pattern is set in the register 17, so in this case, the clinical test analyzer 3a is in accordance with the data format.
A process for specifying the type of will be performed.

【0034】この処理を具体的に説明すると、例えば次
のようになる。
This processing will be specifically described as follows, for example.

【0035】フォーマット定義ファイル18を検索し、
受信したデータの開始ビットと同じビットパターンの開
始ビットを探す。
Search the format definition file 18,
Look for a start bit that has the same bit pattern as the start bit of the received data.

【0036】探し出したビットパターンが1つだけの場
合は、そのビットパターンに対応する種類を臨床検査用
分析器3aの種類と特定する。例えば、受信したデータ
の開始ビットと同じビットパターンがSTAだけの場合
は、臨床検査用分析器3aの種類はAであると特定す
る。
When only one bit pattern is found, the type corresponding to the bit pattern is specified as the type of clinical test analyzer 3a. For example, if the same bit pattern as the start bit of the received data is only STA, the type of the clinical test analyzer 3a is specified as A.

【0037】また、探し出したビットパターンが複数の
場合(例えば、STAとSTB)は、STA,STBに
対応する終了ビットのビットパターンEA,EBと、受
信したデータの終了ビットのビットパターンとが一致す
るか否かを判断する。そして、EAのみが一致している
と判断した場合は、EA対応の種類Aを臨床検査用分析
器3aの種類と特定する。
When there are a plurality of searched bit patterns (for example, STA and STB), the end bit bit patterns EA and EB corresponding to STA and STB and the end bit bit pattern of the received data match. Determine whether to do. When it is determined that only the EA matches, the type A corresponding to the EA is specified as the type of the clinical test analyzer 3a.

【0038】また、EA,EBの両方が一致していると
判断した場合は、他の特徴(例えばデータ長)を用いて
同様の処理を行なう。このような処理を、種類を特定で
きるまで、或いは全ての特徴を使用するまで行なう。
尚、全ての特徴を使用しても臨床検査用分析器3aの種
類を特定できない場合は、特定失敗となる。
If it is determined that both EA and EB match, the same processing is performed using another feature (for example, data length). Such processing is performed until the type can be specified or all the features are used.
If the type of the clinical test analyzer 3a cannot be specified even if all the features are used, the specification fails.

【0039】特定部14で臨床検査用分析器3aの種類
をAと特定できた場合 (ステップS2がYES)は、フ
ォーマット変換処理部15は、特定部14が特定した種
類Aに対応した変換規則に従ってバッファ13に格納さ
れているデータのデータフォーマットを予め定められて
いるデータフォーマットに変換し (ステップS3)、変
換後のデータをデータ送信部16に渡す (ステップS
4)。
When the specifying unit 14 can specify the type of the clinical test analyzer 3a as A (YES in step S2), the format conversion processing unit 15 causes the conversion rule corresponding to the type A specified by the specifying unit 14. According to the above, the data format of the data stored in the buffer 13 is converted into a predetermined data format (step S3), and the converted data is passed to the data transmission section 16 (step S3).
4).

【0040】データ送信部16は、フォーマット変換処
理部15から渡されたデータフォーマット変換後のデー
タをデータ収集装置2に送信する。
The data transmission section 16 transmits the data after the data format conversion passed from the format conversion processing section 15 to the data collection device 2.

【0041】また、臨床検査用分析器3aの種類を特定
できなかった場合 (ステップS2がNO)は、フォーマ
ット変換処理部15は、データ収集装置2の表示部22
に臨床検査用分析器3aの種類の入力を要求する促進文
を表示する (ステップS5)。
When the type of the clinical test analyzer 3a cannot be specified (NO in step S2), the format conversion processing unit 15 causes the display unit 22 of the data collection device 2 to operate.
A prompting sentence requesting input of the type of the clinical test analyzer 3a is displayed on the screen (step S5).

【0042】データ収集装置2の操作者は、上記した促
進文に応答して臨床検査用分析器3aの種類Aを入力部
21から入力する。この種類は、データフォーマット変
換装置1内のレジスタ17にセットされる。
The operator of the data collection device 2 inputs the type A of the clinical test analyzer 3a from the input unit 21 in response to the above-mentioned prompt sentence. This type is set in the register 17 in the data format conversion device 1.

【0043】レジスタ17に臨床検査用分析器3aの種
類Aがセットされると、特定部14は、臨床検査用分析
器3aの種類をAと特定する (ステップS1)。この結
果、ステップS2の判断結果がYESとなり、前述した
と同様の処理がフォーマット変換処理部15で行なわれ
る (ステップS3,S4)。
When the type A of the clinical test analyzer 3a is set in the register 17, the specifying unit 14 specifies the type of the clinical test analyzer 3a as A (step S1). As a result, the determination result of step S2 becomes YES, and the same processing as described above is performed by the format conversion processing unit 15 (steps S3 and S4).

【0044】次に、ステップS3の処理を具体的に説明
する。
Next, the process of step S3 will be specifically described.

【0045】今、例えば、データ収集装置2側のデータ
フォーマットが図4(A)に示すものであり、臨床検査
用分析器3a側のデータフォーマットが図4(B)に示
すものであるとする。尚、図中、分析項目1〜分析項目
3は、臨床検査用分析器で分析して得られた血液の血糖
値等である。
Now, for example, it is assumed that the data format of the data collection device 2 side is as shown in FIG. 4 (A) and the data format of the clinical test analyzer 3a side is as shown in FIG. 4 (B). . In the figure, analysis items 1 to 3 are blood glucose levels of blood obtained by analysis with a clinical test analyzer.

【0046】即ち、図4(A)のデータフォーマットで
は開始ビット,終了ビットのビットパターンが「00」
であるのに対し、臨床検査用分析器3aが出力するデー
タフォーマットでは開始ビット,終了ビットは「11」
になっており、データフォーマット変換後のデータの第
2ビット〜第9ビット,第10ビット〜第17ビット,
第18ビット〜第25ビットが分析項目1,分析項目
2,分析項目3になっているのに対し、臨床検査用分析
器3aが出力するデータの第2ビット〜第9ビット,第
10ビット〜第17ビット,第18ビット〜第25ビッ
トが分析項目2,分析項目3,分析項目1となってい
る。
That is, in the data format of FIG. 4A, the bit pattern of the start bit and the end bit is "00".
In contrast, in the data format output by the clinical test analyzer 3a, the start bit and end bit are "11".
The second bit to the ninth bit, the tenth bit to the seventeenth bit of the data after the data format conversion,
While the 18th to 25th bits are the analysis item 1, the analysis item 2, and the analysis item 3, the 2nd bit to the 9th bit and the 10th bit of the data output by the clinical analyzer 3a are analyzed. The 17th bit and the 18th to 25th bits are the analysis item 2, the analysis item 3, and the analysis item 1.

【0047】このような場合、フォーマット定義ファイ
ル18の種類Aに対応する変換規則には、受信データの
第2ビット〜第9ビット,第10ビット〜第17ビッ
ト,第18ビット〜第25ビットを、変換後の第10ビ
ット〜第17ビット,第18ビット〜第25ビット,第
2ビット〜第9ビットにすることを示す変換規則と、変
換後の第0ビット,第1ビット,第26ビット,第27
ビットを「1」にすることを示す変換規則とが格納され
ている。
In such a case, the conversion rule corresponding to the type A of the format definition file 18 includes the 2nd bit to 9th bit, the 10th bit to 17th bit, and the 18th bit to 25th bit of the received data. , A conversion rule indicating that the converted 10th bit to 17th bit, 18th bit to 25th bit, 2nd bit to 9th bit, and 0th bit, 1st bit, 26th bit after conversion , 27th
A conversion rule indicating that the bit is set to "1" is stored.

【0048】フォーマット変換処理部15は、データ受
信部12に格納されている図4(B)に示すようなデー
タフォーマットの臨床検査用分析器3aからのデータに
対して、上記した変換規則を用いてデータフォーマット
変換を行ない、図4(A)に示すようなデータフォーマ
ットのデータを作成する。
The format conversion processing unit 15 uses the above conversion rule for the data from the clinical test analyzer 3a having the data format as shown in FIG. 4B stored in the data receiving unit 12. Then, the data format conversion is performed to create data in the data format as shown in FIG.

【0049】他の臨床検査用分析器3b,3cからのデ
ータを収集する場合にも、データフォーマット変換装置
1は前述したと同様の処理を行ない、臨床検査用分析器
3b,3cから出力されたデータのデータフォーマット
を図4(A)に示すものに変換し、データフォーマット
変換後のデータをデータ送信部16を介してデータ収集
装置2に送信する。
When collecting data from the other clinical test analyzers 3b and 3c, the data format conversion device 1 performs the same processing as described above and outputs the data from the clinical test analyzers 3b and 3c. The data format of the data is converted to that shown in FIG. 4A, and the data after the data format conversion is transmitted to the data collection device 2 via the data transmission unit 16.

【0050】尚、データフォーマットの異なる新たな臨
床検査用分析器からのデータを収集することが必要にな
った場合は、フォーマット定義ファイル18にそのデー
タフォーマットの特徴,変換規則を追加するだけで、デ
ータ収集装置2のプログラムを修正することなく、新た
な臨床検査用分析器からのデータを収集することができ
る。
When it is necessary to collect data from a new clinical laboratory analyzer having a different data format, the characteristics of the data format and conversion rules are simply added to the format definition file 18, Data from a new clinical test analyzer can be collected without modifying the program of the data collection device 2.

【0051】[0051]

【発明の効果】以上説明したように、本発明は、フォー
マット定義ファイルに格納されているデータフォーマッ
トの特徴に基づいて送信元の機器の種類を特定する特定
部を備えているので、人手による機器の種類の指定を不
要にすることができる効果がある。
As described above, according to the present invention, since the specification unit for specifying the type of the transmission source device based on the characteristics of the data format stored in the format definition file, the device is manually operated. This has the effect of making it unnecessary to specify the type of.

【0052】更に、本発明は、フォーマット定義ファイ
ルに格納されている変換規則の内の特定手段が特定した
種類に対応する変換規則に従って受信部が受信したデー
タを予め定められているデータフォーマットのデータに
変換するフォーマット変換処理部を備えているので、デ
ータフォーマットの異なる新たな機器からのデータを収
集することが必要になった場合に於いても、フォーマッ
ト定義ファイルに新たな機器対応の変換規則,データフ
ォーマットの特徴を追加するだけで、データ収集装置の
プログラムを修正することなく、新たな機器からのデー
タを収集することが可能になる効果がある。
Furthermore, according to the present invention, the data received by the receiving unit in accordance with the conversion rule corresponding to the type specified by the specifying means among the conversion rules stored in the format definition file is a data of a predetermined data format. Since it has a format conversion processing unit that converts data to a new device, even if it is necessary to collect data from a new device with a different data format, the format definition file will contain a new device-compatible conversion rule, There is an effect that it is possible to collect data from a new device without modifying the program of the data collecting device simply by adding the characteristic of the data format.

【0053】また、本発明は、万が一データフォーマッ
トの特徴に差異がなく、受信データとデータフォーマッ
トの特徴とに基づいてデータ送信元の機器の種類を特定
できなかった場合、機器の種類の入力を要求する促進文
を出力し、その促進文に応答して入力された種類をデー
タ送信元の機器の種類と特定するようにしたものである
ので、特定部で自動的にデータ送信元の機器の種類を特
定することができなかった場合でも、データ送信元の機
器の種類にあったデータフォーマット変換を行なえる効
果がある。
In addition, according to the present invention, if there is no difference in the characteristics of the data format and the type of the equipment of the data transmission source cannot be specified based on the received data and the characteristics of the data format, the input of the equipment type is performed. The requested sentence is output, and the type input in response to the prompted sentence is specified as the type of the device of the data transmission source. Even if the type cannot be specified, there is an effect that the data format conversion suitable for the type of the device of the data transmission source can be performed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】フォーマット定義ファイル18の内容例を示す
図である。
FIG. 2 is a diagram showing an example of contents of a format definition file 18.

【図3】特定部14,フォーマット変換処理部15の処
理例を示す流れ図である。
FIG. 3 is a flowchart showing a processing example of a specifying unit 14 and a format conversion processing unit 15.

【図4】データフォーマット変換処理を説明するための
図である。
FIG. 4 is a diagram for explaining a data format conversion process.

【符号の説明】[Explanation of symbols]

1…データフォーマット変換装置 11…機器接続用コネクタ 12…データ受信部 13…バッファ 14…特定部 15…フォーマット変換処理部 16…データ送信部 17…レジスタ 18…フォーマット定義ファイル 2…データ収集装置 21…入力部 22…表示部 3a〜3c…臨床検査用分析器 31a〜31c…機器接続用コネクタ DESCRIPTION OF SYMBOLS 1 ... Data format conversion device 11 ... Device connection connector 12 ... Data reception part 13 ... Buffer 14 ... Specification part 15 ... Format conversion processing part 16 ... Data transmission part 17 ... Register 18 ... Format definition file 2 ... Data collection device 21 ... Input unit 22 ... Display unit 3a to 3c ... Clinical test analyzer 31a to 31c ... Device connection connector

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数種の機器のデータフォーマットの特
徴と、前記各種の機器から出力されるデータを予め定め
られているデータフォーマットのデータに変換するため
の変換規則とが格納されたフォーマット定義ファイル
と、 前記機器が出力するデータを受信するデータ受信部と、 該データ受信部が受信したデータと前記フォーマット定
義ファイルに格納されているデータフォーマットの特徴
とに基づいて前記データの送信元の機器の種類を特定す
る特定部と、 前記フォーマット定義ファイルに格納されている変換規
則の内、前記特定部が特定した種類に対応した変換規則
に従って前記データ受信部が受信したデータを前記予め
定められているデータフォーマットのデータに変換する
フォーマット変換処理部と、 該フォーマット変換処理部でデータフォーマットが変換
されたデータをデータ収集装置に送信するデータ送信部
とを備えたことを特徴とするデータフォーマット変換装
置。
1. A format definition file storing characteristics of data formats of a plurality of types of devices and conversion rules for converting data output from the various devices into data of a predetermined data format. A data receiving unit that receives data output by the device, and a device that is a transmission source of the data based on the data received by the data receiving unit and the characteristics of the data format stored in the format definition file. The specifying unit that specifies the type and the conversion rule stored in the format definition file, the data received by the data receiving unit according to the conversion rule corresponding to the type specified by the specifying unit is predetermined. A format conversion processing unit for converting data of a data format, and the format conversion processing unit Data format conversion device, wherein a data format and a data transmitting unit for transmitting the converted data to the data collection device.
【請求項2】 前記複数種の機器に共通に使用され且つ
前記データ受信部に接続される機器接続用コネクタを備
えることを特徴とする請求項1記載のデータフォーマッ
ト変換装置。
2. The data format conversion device according to claim 1, further comprising a device connection connector that is commonly used by the plurality of types of devices and that is connected to the data receiving unit.
【請求項3】 前記フォーマット定義ファイルに格納さ
れるデータフォーマットの特徴は、データ長,データ開
始を示す開始ビットのビットパターン或いはデータ終了
を示す終了ビットのビットパターンを含むことを特徴と
する請求項2記載のデータフォーマット変換装置。
3. A characteristic of a data format stored in the format definition file includes a data length, a bit pattern of a start bit indicating a data start, or a bit pattern of an end bit indicating a data end. 2. The data format conversion device described in 2.
【請求項4】 前記フォーマット定義ファイルに格納さ
れる変換規則は、前記データ受信部で受信したデータの
各ビットをデータフォーマット変換後のデータの何ビッ
ト目にするのかを示す情報を含むことを特徴とする請求
項3記載のデータフォーマット変換装置。
4. The conversion rule stored in the format definition file includes information indicating which bit of the data after the data format conversion is to be performed for each bit of the data received by the data receiving unit. The data format conversion device according to claim 3.
【請求項5】 前記特定部は、前記データ受信部が受信
したデータと前記フォーマット定義ファイルに格納され
ているデータフォーマットの特徴とに基づいて送信元の
機器の種類を特定できない場合、機器の種類の入力を要
求する促進文を出力し、該促進文に応答して入力される
機器の種類を前記データの送信元の機器の種類と特定す
ることを特徴とする請求項4記載のデータフォーマット
変換装置。
5. The type of device when the type of the device of the transmission source cannot be specified based on the data received by the data receiving unit and the characteristics of the data format stored in the format definition file. 5. The data format conversion according to claim 4, wherein a promotion sentence requesting the input of the data is output, and the type of device input in response to the promotion sentence is specified as the type of device that is the transmission source of the data. apparatus.
【請求項6】 前記機器は、臨床検査用分析器であるこ
とを特徴とする請求項5記載のデータフォーマット変換
装置。
6. The data format conversion device according to claim 5, wherein the device is a clinical laboratory analyzer.
JP34044593A 1993-12-08 1993-12-08 Data format converter Expired - Fee Related JP2624160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34044593A JP2624160B2 (en) 1993-12-08 1993-12-08 Data format converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34044593A JP2624160B2 (en) 1993-12-08 1993-12-08 Data format converter

Publications (2)

Publication Number Publication Date
JPH07160556A true JPH07160556A (en) 1995-06-23
JP2624160B2 JP2624160B2 (en) 1997-06-25

Family

ID=18337036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34044593A Expired - Fee Related JP2624160B2 (en) 1993-12-08 1993-12-08 Data format converter

Country Status (1)

Country Link
JP (1) JP2624160B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005182435A (en) * 2003-12-19 2005-07-07 Hitachi Ltd Ic card system and application loading method
JP2012079352A (en) * 2006-07-07 2012-04-19 Sharp Corp Health management system
JP2012128539A (en) * 2010-12-14 2012-07-05 Nippon Atm Kk Apparatus information management system
JP2015138522A (en) * 2014-01-24 2015-07-30 シャープ株式会社 Information processing unit, information processing system, information processing method, and information processing program
WO2015111648A1 (en) * 2014-01-24 2015-07-30 シャープ株式会社 Information processing device, information processing system, information processing method, and recording medium
WO2015122436A1 (en) * 2014-02-13 2015-08-20 シャープ株式会社 Information processing device, information processing system, information processing method, and information processing program
JP2015220617A (en) * 2014-05-16 2015-12-07 シャープ株式会社 Information processing unit, information processing system, information processing method, and information processing program
JP2021077306A (en) * 2019-11-06 2021-05-20 財團法人資訊工業策進會 Data interpretation device and method, as well as computer program of the same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3656692B2 (en) * 1997-08-07 2005-06-08 株式会社日立製作所 Clinical examination system and examination status management method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01155432A (en) * 1987-12-11 1989-06-19 Mitsubishi Electric Corp Data conversion system
JPH02208714A (en) * 1989-02-09 1990-08-20 Nec Corp Different kind data input/output system
JPH04336660A (en) * 1991-05-14 1992-11-24 Toshiba Corp Document preparing device
JPH04336661A (en) * 1991-05-14 1992-11-24 Toshiba Corp Document preparing device
JPH0546449A (en) * 1991-08-21 1993-02-26 Chubu Nippon Denki Software Kk Reception file conversion processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01155432A (en) * 1987-12-11 1989-06-19 Mitsubishi Electric Corp Data conversion system
JPH02208714A (en) * 1989-02-09 1990-08-20 Nec Corp Different kind data input/output system
JPH04336660A (en) * 1991-05-14 1992-11-24 Toshiba Corp Document preparing device
JPH04336661A (en) * 1991-05-14 1992-11-24 Toshiba Corp Document preparing device
JPH0546449A (en) * 1991-08-21 1993-02-26 Chubu Nippon Denki Software Kk Reception file conversion processing system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005182435A (en) * 2003-12-19 2005-07-07 Hitachi Ltd Ic card system and application loading method
JP2012079352A (en) * 2006-07-07 2012-04-19 Sharp Corp Health management system
JP2012128539A (en) * 2010-12-14 2012-07-05 Nippon Atm Kk Apparatus information management system
JP2015138522A (en) * 2014-01-24 2015-07-30 シャープ株式会社 Information processing unit, information processing system, information processing method, and information processing program
WO2015111648A1 (en) * 2014-01-24 2015-07-30 シャープ株式会社 Information processing device, information processing system, information processing method, and recording medium
WO2015122436A1 (en) * 2014-02-13 2015-08-20 シャープ株式会社 Information processing device, information processing system, information processing method, and information processing program
JP2015153090A (en) * 2014-02-13 2015-08-24 シャープ株式会社 Information processing device, information processing system, information processing method, and information processing program
JP2015220617A (en) * 2014-05-16 2015-12-07 シャープ株式会社 Information processing unit, information processing system, information processing method, and information processing program
JP2021077306A (en) * 2019-11-06 2021-05-20 財團法人資訊工業策進會 Data interpretation device and method, as well as computer program of the same

Also Published As

Publication number Publication date
JP2624160B2 (en) 1997-06-25

Similar Documents

Publication Publication Date Title
US20060058982A1 (en) Data relay device and data management system using the same
US6484178B1 (en) Universal claims formatter
WO2002101594A3 (en) Method and apparatus for determining and assessing information to be collected based on information-theoretic measures
JP2624160B2 (en) Data format converter
JP2011198103A (en) Operation support program, operation support method, and operation support device
CN116878919A (en) Method, system and medium for testing multifunctional vehicle-mounted table body
JP4149137B2 (en) Protocol analyzer
JP2005267373A (en) Specimen testing result combination method and server, and specimen testing result combination program
CN108182116A (en) A kind of bidding documents analysis method, device, equipment and storage medium
JPH05143570A (en) Fault tree preparing method
JP3257656B2 (en) Debug device
CN116450692B (en) Database fault investigation method, device, equipment and storage medium
US20040128167A1 (en) Main board with health inspection function and a health inspection system therewith
CN117873359A (en) Data processing method and system
JPH04299757A (en) Communication protocol analyzer
JPH1168874A (en) Analytic system for transmission information
JP2003288114A (en) Water quality diagnosis/operation support system
CN114374601A (en) Method and device for determining configuration information
JPS61210958A (en) Clinical inspection system
AU2015334729B2 (en) System and method for generating patient test data processing code
KR100509242B1 (en) Method of testing applications or services by message analysis
JPS63213039A (en) Fault analysis system for diagnosing device
JPH03282657A (en) Conversion system for business document form
CN116994688A (en) Clinical trial data processing method, system, electronic equipment and storage medium
JPS63313243A (en) Test supporting system for on-line screen control

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080411

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090411

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100411

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees