JPH05158827A - Device and method for retrieving received command - Google Patents

Device and method for retrieving received command

Info

Publication number
JPH05158827A
JPH05158827A JP3321931A JP32193191A JPH05158827A JP H05158827 A JPH05158827 A JP H05158827A JP 3321931 A JP3321931 A JP 3321931A JP 32193191 A JP32193191 A JP 32193191A JP H05158827 A JPH05158827 A JP H05158827A
Authority
JP
Japan
Prior art keywords
command
collation information
received
received command
character
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
JP3321931A
Other languages
Japanese (ja)
Inventor
Hidenori Irie
秀紀 入江
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.)
Tabai Espec Co Ltd
Original Assignee
Tabai Espec Co Ltd
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 Tabai Espec Co Ltd filed Critical Tabai Espec Co Ltd
Priority to JP3321931A priority Critical patent/JPH05158827A/en
Publication of JPH05158827A publication Critical patent/JPH05158827A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a received command retrieving device and a retrieval method for the same capable of retrieving efficiently a received command. CONSTITUTION:The command constituted of characters consisting of bit strings is received, and the corresponding command is retrieved from among the received commands. In this received command retrieving device, a receiving means 8 to fetch the received command and a collation information generating means 22 to generate collation information from the bit strings of the characters to express the received command are provided. Besides, a storage means 81 to store the table of all the commands classified into a command group for every collation information and a first retrieving means 8 to retrieve the collation information of the storage means from the generated collation information are provided. Further, a second retrieving means 8 to retrieve the same command as the received command from among the command group belonging to the collation information retrieved by the first retrieving means is provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ビット列からなるキャ
ラクタより構成される固有のコマンドを送受信する通信
システムにおいて、上位通信装置が送信するコマンドを
下位通信装置で検索する検索装置及びその検索方法に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a search device and a search method for searching a command transmitted by a higher order communication device in a lower order communication device in a communication system for transmitting and receiving a unique command composed of a character consisting of bit strings. It is a thing.

【0002】[0002]

【従来の技術】従来の通信システムにおいて送信されて
きたコマンドを検索するときは、受信バッファに蓄えら
れたコマンドを各キャラクタ毎に受信側に記憶されてい
る全コマンドと比較照合する検索方法により受信したコ
マンドを確定するようにしていた。
2. Description of the Related Art When searching for a command transmitted in a conventional communication system, a command stored in a reception buffer is received by a search method for comparing and collating each command with all commands stored in the receiving side. I was trying to confirm the command I did.

【0003】[0003]

【発明が解決しようとする課題】かかる従来の通信シス
テムにおけるコマンド検索方法では、受信コマンドの正
常、異常、有効、無効に関わらず、キャラクタ毎に全コ
マンドの各キャラクタと比較、照合するので、検索処理
にいたずらに時間を費やし、通信システムの効率を低下
させて、受信側の制御系の処理負荷が増大するという問
題があった。
In the conventional command retrieval method in the communication system, each character is compared and collated with each character regardless of whether the received command is normal, abnormal, valid or invalid. There is a problem in that time is spent for processing, the efficiency of the communication system is reduced, and the processing load of the control system on the receiving side increases.

【0004】本発明は、上記課題に鑑みてなされたもの
で、受信したコマンドを効率良く検索することのできる
受信コマンド検索装置及びその方法を提供することを目
的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a received command search device and method capable of efficiently searching a received command.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、ビット列からなるキャラクタより構成さ
れるコマンドを受信し、該受信コマンドから該当するコ
マンドを検索する受信コマンド検索装置において、上記
受信コマンドを取り込む受信手段と、上記受信コマンド
を表すキャラクタのビット列より照合情報を生成する照
合情報生成手段と、全コマンドを上記照合情報毎のコマ
ンド群に分けた表を記憶する記憶手段と、生成された照
合情報から記憶手段の照合情報を検索する第1の検索手
段と、該第1の検索手段で検索された照合情報に属する
コマンド群の中から上記受信コマンドと同一のコマンド
を検索する第2の検索手段とを備えた構成である(請求
項1)。
In order to achieve the above object, the present invention provides a received command search device for receiving a command composed of a character consisting of a bit string and searching for the corresponding command from the received command. Receiving means for fetching the received command, collation information generating means for generating collation information from a bit string of a character representing the received command, and storage means for storing a table in which all commands are divided into command groups for each collation information, A first search unit that searches the collation information in the storage unit from the generated collation information and a command group that belongs to the collation information that is searched by the first search unit for the same command as the received command. The second search means is provided (Claim 1).

【0006】また、上記照合情報生成手段は、受信コマ
ンドの各キャラクタ毎に順次排他的論理和を施す回路で
ある(請求項2)。
Further, the collation information generating means is a circuit for sequentially performing an exclusive OR for each character of the received command (claim 2).

【0007】また、ビット列からなるキャラクタより構
成されるコマンドを受信し、該受信コマンドから該当す
るコマンドを検索する受信コマンド検索方法において、
受信コマンドを表すキャラクタのビット列から照合情報
を生成し、全コマンドを上記照合情報毎のコマンド群に
分けて記憶した中で、先ず生成した照合情報を検索し、
次に該照合情報に属するコマンド群の中から、上記受信
コマンドを検索するようになされている(請求項3)。
Further, in a received command search method for receiving a command composed of a character consisting of a bit string and searching for a corresponding command from the received command,
Collation information is generated from a bit string of a character representing a received command, and all the commands are divided into command groups for each collation information and stored, and first, the generated collation information is searched,
Next, the received command is retrieved from the command group belonging to the collation information (claim 3).

【0008】[0008]

【作用】本発明によれば、照合情報生成手段により受信
コマンドから照合情報が生成される。先ず、第1の検索
手段により記憶手段に記憶された表から照合情報が検索
され、次に第2の検索手段により照合情報に属するコマ
ンド群の中から受信コマンドと同一のコマンドが検索さ
れる。
According to the present invention, the collation information is generated from the received command by the collation information generating means. First, the first search means searches the table stored in the storage means for the matching information, and then the second search means searches the command group belonging to the matching information for the same command as the received command.

【0009】また、請求項2記載の発明によれば、照合
情報生成手段において、受信コマンドの各キャラクタ毎
に順次排他的論理和が施され、この排他的論理和の演算
値が照合情報として使用される。
Further, according to the second aspect of the invention, in the collation information generating means, the exclusive OR is sequentially applied to each character of the received command, and the calculated value of the exclusive OR is used as the collation information. To be done.

【0010】また、請求項3記載の発明によれば、受信
コマンドを表すキャラクタのビット列から照合情報が生
成され、全コマンドが上記照合情報毎のコマンド群に分
けて記憶された中から、先ず生成した照合情報が検索さ
れ、次に該照合情報に属するコマンド群の中から上記受
信コマンドが検索される。
According to the third aspect of the present invention, the collation information is generated from the bit string of the character representing the received command, and all the commands are divided into command groups for each of the collation information and stored first. The matching information is searched, and then the received command is searched from the command group belonging to the matching information.

【0011】[0011]

【実施例】図6は本発明が適用される下位通信装置を有
する環境試験システムを示す概略構成図である。コンピ
ュータ1は環境試験器2の動作を指示するもので、通信
ケーブル3を介して相互に接続され、動作コマンド等が
送受信できるようになされている。なお、本実施例で
は、通信はシリアル伝送で、伝送データは各キャラクタ
を7bitで表すASCIIコードを採用して形成され
ている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 6 is a schematic configuration diagram showing an environment test system having a lower communication device to which the present invention is applied. The computer 1 is for instructing the operation of the environmental tester 2 and is connected to each other via a communication cable 3 so that operation commands and the like can be transmitted and received. In this embodiment, the communication is serial transmission, and the transmission data is formed by adopting the ASCII code which represents each character by 7 bits.

【0012】図2は本実施例における環境試験システム
を示すブロック図で、図1は本発明が適用される下位通
信装置9の受信部91の構成を示すブロック図である。
コンピュータ1は入出力インターフェース4,処理装置
5及び上位通信装置6を備えている。
FIG. 2 is a block diagram showing an environment test system in this embodiment, and FIG. 1 is a block diagram showing a configuration of a receiving section 91 of a lower communication apparatus 9 to which the present invention is applied.
The computer 1 includes an input / output interface 4, a processing device 5, and a host communication device 6.

【0013】入出力インターフェース4は環境試験器2
の電源のコントロール及び温度、湿度等の諸条件を設定
するとともに、設定及び受信した環境試験器2側の温
度、湿度等のデータを表示するものである。処理装置5
はコンピュータの内部処理を行うものでCPU等で構成
され、入出力インターフェース4,上位通信装置6から
データを受信して処理を行うとともに、それぞれに対し
て表示データ,通信データを送るものである。上位通信
装置6は、処理装置5からの指示に基づいて環境試験器
2に対するコマンド等を送信する送信部61と、環境試
験器2からデータを受信して処理装置5に送る受信部6
2とから構成されている。
The input / output interface 4 is an environmental tester 2.
The power supply control and various conditions such as temperature and humidity are set, and the set and received data such as temperature and humidity on the environmental tester 2 side are displayed. Processor 5
Is an internal processing of the computer and is composed of a CPU and the like, receives data from the input / output interface 4 and the higher order communication device 6 and performs processing, and sends display data and communication data to each. The host communication device 6 includes a transmitter 61 that transmits a command or the like to the environmental tester 2 based on an instruction from the processor 5, and a receiver 6 that receives data from the environmental tester 2 and sends the data to the processor 5.
2 and.

【0014】また、環境試験器2は入出力インターフェ
ース7,処理装置8,下位通信装置9,制御部10,セ
ンサ11,ヒータ12及び冷凍機13等を備えている。
Further, the environment tester 2 includes an input / output interface 7, a processing device 8, a lower communication device 9, a control unit 10, a sensor 11, a heater 12 and a refrigerator 13.

【0015】入出力インターフェース7は環境試験器2
の操作設定等を行うとともに、処理装置8の指示に基づ
いて環境試験器2の温度、湿度等のデータを表示するも
のである。
The input / output interface 7 is the environmental tester 2.
The operation setting and the like are performed, and data such as temperature and humidity of the environmental tester 2 are displayed based on an instruction from the processing device 8.

【0016】処理装置8は環境試験器2の内部処理を行
うものでCPU等で構成され、入出力インターフェース
7や下位通信装置9からデータを受信して処理を行うと
ともに、それぞれに処理された表示データ及び通信デー
タを送るものである。また、処理装置8は、制御部10
を介して、環境試験器2の試験槽の状態を検知するセン
サ11からのデータ及びコンピュータ1からのコマンド
に基づきヒータ12及び冷凍機13の動作制御を行うも
のである。また、処理装置8は、後述するコマンドテー
ブル等を記憶する記憶部81を内部に有している。
The processing device 8 performs internal processing of the environmental tester 2 and is composed of a CPU or the like. The processing device 8 receives data from the input / output interface 7 and the lower communication device 9 for processing, and displays the processed data. It sends data and communication data. Further, the processing device 8 includes the control unit 10
The operation control of the heater 12 and the refrigerator 13 is performed based on the data from the sensor 11 for detecting the state of the test tank of the environmental tester 2 and the command from the computer 1 via the. Further, the processing device 8 has a storage unit 81 therein which stores a command table and the like described later.

【0017】下位通信装置9は、コンピュータ1からコ
マンドデータを受信して処理装置8に送る受信部91
と、処理装置8からの指示に基づいて環境試験器2の試
験槽の温度、湿度等のデータをコンピュータ1に送信す
る送信部92とから構成されている。また、受信部91
は、受信回路部21と、受信キャラクタ数カウント部2
3及び論理演算部24を有する照合コード生成部22と
からなる。
The lower-level communication device 9 receives the command data from the computer 1 and sends it to the processing device 8 by a receiving unit 91.
And a transmission unit 92 for transmitting data such as temperature and humidity of the test tank of the environmental tester 2 to the computer 1 based on an instruction from the processing device 8. In addition, the receiving unit 91
Is a receiving circuit unit 21 and a receiving character number counting unit 2
3 and a collation code generation unit 22 having a logical operation unit 24.

【0018】受信回路部21はコンピュータ1から送ら
れてきたコマンドデータを受信して、そのキャラクタデ
ータを処理装置8に送信するものである。照合コード生
成部22はコンピュータ1から送られてきたコマンドを
処理装置8で検索するときの照合コードを作成するもの
である。本実施例では、照合コードとしてコマンドのキ
ャラクタ数とコマンドのキャラクタ同士で施された排他
的論理和(EX−OR)の値との2種類を使用してい
る。受信キャラクタ数カウント部23は受信したコマン
ドのキャラクタ数をカウントし、その結果を処理装置8
に送信するものである。論理演算部24は例えば内部に
バッファを備え、受信したコマンドの各キャラクタに順
次排他的論理和を施し、その結果を処理装置8に送信す
るもので、最終的な演算結果のみを送信してもよいし、
演算した排他的論理和の値を順次処理装置8に送信し、
処理装置8はキャラクタ数番目に送信されてきた値を演
算結果として採用してもよい。
The receiving circuit section 21 receives the command data sent from the computer 1 and sends the character data to the processing device 8. The collation code generation unit 22 creates a collation code when the processing device 8 searches for a command sent from the computer 1. In the present embodiment, two types of verification codes are used: the number of command characters and the value of the exclusive OR (EX-OR) performed between command characters. The reception character number counting unit 23 counts the number of characters of the received command and outputs the result to the processing device 8
Is to be sent to. The logical operation unit 24 includes, for example, a buffer therein, sequentially performs an exclusive OR operation on each character of the received command, and sends the result to the processing device 8. Even if only the final operation result is sent. Okay
The calculated exclusive OR value is sequentially transmitted to the processing device 8,
The processing device 8 may employ the value transmitted the number of characters as the calculation result.

【0019】なお、本環境試験システムで使用する全コ
マンドは、予め上述の手順により排他的論理和の演算を
行っておき、各コマンドをそのキャラクタ数と排他的論
理和の演算結果とにより分類したコマンドテーブルを処
理装置8の記憶部81に記憶しておく。表1に、本実施
例において記憶されているコマンドテーブルを示す。
It should be noted that all commands used in this environment test system have been subjected to exclusive OR calculation in advance by the above-mentioned procedure, and each command has been classified according to the number of characters and the exclusive OR calculation result. The command table is stored in the storage unit 81 of the processing device 8. Table 1 shows the command table stored in this embodiment.

【0020】[0020]

【表1】 [Table 1]

【0021】各コマンドは、先ずそのキャラクタ数で分
類される。本実施例では、コマンドのキャラクタ数は4
〜7であるので、4グループに分類されている。そし
て、各キャラクタ数別グループの中で、コマンドのキャ
ラクタ毎に施した排他的論理和の値により、さらに分類
されている。
Each command is first classified by the number of characters. In this embodiment, the number of command characters is 4.
.About.7, they are classified into 4 groups. Then, in each character number group, the characters are further classified by the value of the exclusive OR performed for each character of the command.

【0022】次に、論理演算部24における排他的論理
和の演算についてコマンド‘RESET’を例にして説
明する。図3は排他的論理和の演算手順を示す図であ
る。まず、ゼロ(000 0000)と最初に受信したキャラク
タR(101 0010)との排他的論理和をとり、(101 001
0)が得られる。次に、この演算結果と次に受信したキ
ャラクタE(100 0101)との排他的論理和をとる。この
ようにして、順次、排他的論理和の演算結果と次の受信
キャラクタとで排他的論理和をとっていき、最終的に照
合コード(ここでは、101 0101)が得られることにな
る。従って、キャラクタ数5かつEX−OR値(101 01
01)から表1に示す‘RESET’が対応するようにな
っている。
Next, the operation of the exclusive OR in the logical operation unit 24 will be described by taking the command "RESET" as an example. FIG. 3 is a diagram showing an exclusive OR calculation procedure. First, the exclusive OR of zero (000 0000) and the first received character R (101 0010) is calculated, and (101 001
0) is obtained. Next, the exclusive OR of the calculation result and the character E (100 0101) received next is calculated. In this way, the result of the exclusive OR calculation and the next received character are sequentially obtained with the exclusive OR, and the collation code (here, 101 0101) is finally obtained. Therefore, the number of characters is 5 and the EX-OR value (101 01
From 01), 'RESET' shown in Table 1 is adapted.

【0023】次に、上記のように構成された環境試験器
2の動作について説明する。図4は環境試験器2の動作
を示すフローチャートである。環境試験器2の電源がオ
ンされると、まずCPUの初期設定を行い(ステップS
1)、次に操作入力の有無の検索や表示出力等の入出力
インターフェース7の制御を行って(ステップS2)、
内部のデータ処理を行う(ステップS3)。そして、上
記データ処理に基づいて得られたデータの送受信を行い
(ステップS4)、受信したコマンドを記憶部81に記
憶された中から検索し(ステップS5)、処理事項を決
定する(ステップS6)等の、通信処理を行う。続い
て、温度、湿度等の試験槽の状態の測定を行い(ステッ
プS7)、制御信号を出力する(ステップS8)等の試
験槽の制御を行って、ステップS2に戻る。
Next, the operation of the environmental tester 2 configured as described above will be described. FIG. 4 is a flowchart showing the operation of the environment tester 2. When the power of the environmental tester 2 is turned on, first the CPU is initialized (step S
1) Next, control of the input / output interface 7 such as search for presence or absence of operation input and display output is performed (step S2),
Internal data processing is performed (step S3). Then, the data obtained based on the above data processing is transmitted / received (step S4), the received command is searched from the storage unit 81 (step S5), and the processing items are determined (step S6). Etc. perform communication processing. Then, the state of the test tank such as temperature and humidity is measured (step S7), the control signal is output (step S8), the test tank is controlled, and the process returns to step S2.

【0024】次に、上記ステップS5のコマンドの検索
の手順について、図5のフローチャートを用いて説明す
る。まず、キャラクタ数を判別し(ステップS11)、
予め設定されたキャラクタ数(本実施例では、上記表1
に示すように4〜7)以外であれば、異常として終了
し、キャラクタ数が正常であれば、照合位置を該当する
キャラクタ数別グループの先頭に設定する(ステップS
12)。次に、論理演算部24で演算された排他的論理
和の値がキャラクタ数別グループの中に含まれているか
どうかを判別し(ステップS13)、該当するものがな
ければ、異常として終了し、該当するものがあれば、照
合位置を該当する排他的論理和演算値別グループの先頭
に設定する(ステップS14)。例えば、キャラクタ数
4、EX−OR値が001 0100では、先ず‘MASK’が
設定される。
Next, the procedure of command retrieval in step S5 will be described with reference to the flowchart of FIG. First, the number of characters is determined (step S11),
The number of characters set in advance (in the present embodiment, Table 1 above)
If the number of characters is normal, the collation position is set to the head of the corresponding group according to the number of characters (step S).
12). Next, it is determined whether or not the value of the exclusive OR calculated by the logical operation unit 24 is included in the character number group (step S13). If there is a corresponding one, the collation position is set to the head of the corresponding exclusive OR operation value group (step S14). For example, when the number of characters is 4 and the EX-OR value is 001 0100, “MASK” is set first.

【0025】そして、処理装置8に取り込まれた受信コ
マンドのキャラクタとコマンドテーブルのキャラクタと
の比較を行い(ステップS15)、最初のキャラクタが
一致しなければ(ステップS16でNO)、ステップS
19に進み、一致していれば(ステップS16でYE
S)、照合位置を1キャラクタだけ進め(ステップS1
7)、照合するキャラクタ分が終了したかどうかを判別
し(ステップS18)、終了であれば、該当するコマン
ドが確定したので、本検索処理を終了し、一方、終了で
なければ、ステップS15に戻り、次のキャラクタに対
する比較を行う。
Then, the character of the received command taken into the processor 8 is compared with the character of the command table (step S15). If the first character does not match (NO in step S16), step S16.
19. If they match (YES in step S16)
S), the collation position is advanced by one character (step S1
7) Then, it is determined whether or not the characters for collation have ended (step S18), and if the end, the corresponding command has been confirmed, so the present search processing ends, while if not ended, to step S15. Go back and compare to the next character.

【0026】一方、ステップS16において、比較した
キャラクタが一致しなければ、照合位置を次のコマンド
位置に移動する(ステップS19)。例えば、キャラク
タ数4、EX−OR値が001 0100の上記例で言えば、
‘MASK’から‘DATE’に移動される。そして、
このグループ内のコマンドが終了したかどうかを判別し
(ステップS20)、終了でなければステップS15に
戻って再度キャラクタの比較を行い、一方、終了であれ
ば、該当するコマンドが検索できなかったとして、本検
索処理を終了する。
On the other hand, if the compared characters do not match in step S16, the collation position is moved to the next command position (step S19). For example, in the above example where the number of characters is 4 and the EX-OR value is 001 0100,
Moved from'MASK 'to'DATE'. And
It is determined whether or not the command in this group is completed (step S20), and if it is not completed, the process returns to step S15 and the characters are compared again. On the other hand, if it is completed, it is determined that the corresponding command cannot be retrieved. , This search processing ends.

【0027】なお、照合コードは、排他的論理和以外の
回路構成を用いて生成してもよい。また、本実施例では
キャラクタ数と排他的論理和と2つの照合コードを用い
たが、いずれか一方でもよく、また、他の照合コードを
用いてもよい。
The collation code may be generated using a circuit configuration other than exclusive OR. Further, in the present embodiment, the number of characters, the exclusive OR, and the two collation codes are used, but either one may be used, or another collation code may be used.

【0028】[0028]

【発明の効果】以上、本発明によれば、ビット列からな
るキャラクタより構成されるコマンドを受信し、該受信
コマンドから該当するコマンドを検索する受信コマンド
検索装置において、上記受信コマンドを取り込む受信手
段と、上記受信コマンドを表すキャラクタのビット列よ
り照合情報を生成する照合情報生成手段と、全コマンド
を上記照合情報毎のコマンド群に分けた表を記憶する記
憶手段と、生成された照合情報から記憶手段の照合情報
を検索する第1の検索手段と、該第1の検索手段で検索
された照合情報に属するコマンド群の中から上記受信コ
マンドと同一のコマンドを検索する第2の検索手段とを
備えたので、コマンド信号を検索する対象の数を低減す
ることができることから、通信に要するソフトウェアの
処理負荷を大きく軽減できる。また、検索コマンドを所
定の制御動作を行わせる例えば環境試験器等に適用した
場合など、制御ソフトウェアの負担が軽減可能となる。
As described above, according to the present invention, a receiving command retrieval device for receiving a command composed of a character consisting of a bit string and retrieving the corresponding command from the received command, and receiving means for receiving the received command Collation information generating means for generating collation information from a bit string of a character representing the received command, storage means for storing a table in which all commands are divided into command groups for each collation information, and storage means from the generated collation information And a second searching means for searching the same command as the received command from the command group belonging to the matching information searched by the first searching means. Therefore, the number of targets to search for command signals can be reduced, which increases the processing load of software required for communication. It can be reduced. Further, the load of the control software can be reduced when the search command is applied to a predetermined control operation, for example, when it is applied to an environment tester or the like.

【0029】更に、上記照合情報生成手段を、受信コマ
ンドの各キャラクタ毎に順次排他的論理和を施す回路で
構成することにより、照合情報をハードウェアで構成す
ることができることから、ソフトウェアの処理負荷を増
大させることがない。
Further, the collation information can be constructed by hardware by constructing the collation information generation means by a circuit for sequentially performing an exclusive OR for each character of the received command, so that the processing load of software is increased. Does not increase.

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

【図1】本発明が適用される下位通信装置の受信部の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a receiving unit of a lower communication apparatus to which the present invention is applied.

【図2】本実施例における環境試験システムを示すブロ
ック図である。
FIG. 2 is a block diagram showing an environment test system in the present embodiment.

【図3】排他的論理和の演算手順を示す図である。FIG. 3 is a diagram showing an exclusive OR calculation procedure.

【図4】環境試験器の動作を示すフローチャートであ
る。
FIG. 4 is a flowchart showing the operation of the environmental tester.

【図5】コマンド検索の手順を示すフローチャートであ
る。
FIG. 5 is a flowchart showing a procedure for command search.

【図6】本発明が適用される下位通信装置を有する環境
試験システムを示す概略構成図である。
FIG. 6 is a schematic configuration diagram showing an environment test system having a lower communication device to which the present invention is applied.

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

1 コンピュータ 2 環境試験器 3 通信ケーブル 4,7 入出力インターフェース 5,8 処理装置 6 上位通信装置 9 下位通信装置 10 制御部 11 センサ 12 ヒータ 13 冷凍機 21 受信回路部 22 照合コード生成部 23 受信キャラクタ数カウント部 24 論理演算部 61,92 送信部 62,91 受信部 81 記憶部 1 Computer 2 Environment Tester 3 Communication Cable 4, 7 Input / Output Interface 5, 8 Processing Device 6 Upper Communication Device 9 Lower Communication Device 10 Control Unit 11 Sensor 12 Heater 13 Refrigerator 21 Reception Circuit Unit 22 Matching Code Generation Unit 23 Received Character Number counting unit 24 Logical operation unit 61,92 Transmitting unit 62,91 Receiving unit 81 Storage unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ビット列からなるキャラクタより構成さ
れるコマンドを受信し、該受信コマンドから該当するコ
マンドを検索する受信コマンド検索装置において、上記
受信コマンドを取り込む受信手段と、上記受信コマンド
を表すキャラクタのビット列より照合情報を生成する照
合情報生成手段と、全コマンドを上記照合情報毎のコマ
ンド群に分けた表を記憶する記憶手段と、生成された照
合情報から記憶手段の照合情報を検索する第1の検索手
段と、該第1の検索手段で検索された照合情報に属する
コマンド群の中から上記受信コマンドと同一のコマンド
を検索する第2の検索手段とを備えたことを特徴とする
受信コマンド検索装置。
1. A reception command retrieval device for receiving a command composed of a character consisting of a bit string and retrieving the corresponding command from the reception command, and receiving means for taking in the reception command and a character representing the reception command. First, collation information generating means for generating collation information from a bit string, storage means for storing a table in which all commands are divided into command groups for each of the collation information, and retrieval information for collation information in the storage means from the generated collation information. And a second search means for searching the same command as the received command from the command group belonging to the collation information searched by the first search means. Search device.
【請求項2】 上記照合情報生成手段は、受信コマンド
の各キャラクタ毎に順次排他的論理和を施す回路である
ことを特徴とする請求項1記載の受信コマンド検索装
置。
2. The received command retrieving apparatus according to claim 1, wherein the collation information generating means is a circuit for sequentially performing an exclusive OR for each character of the received command.
【請求項3】 ビット列からなるキャラクタより構成さ
れるコマンドを受信し、該受信コマンドから該当するコ
マンドを検索する受信コマンド検索方法において、受信
コマンドを表すキャラクタのビット列から照合情報を生
成し、全コマンドを上記照合情報毎のコマンド群に分け
て記憶した中で、先ず生成した照合情報を検索し、次に
該照合情報に属するコマンド群の中から、上記受信コマ
ンドを検索することを特徴とする受信コマンド検索方
法。
3. A received command search method for receiving a command composed of a character consisting of a bit string and searching for a corresponding command from the received command, wherein collation information is generated from a bit string of a character representing the received command, and all commands are generated. In which the received command is searched for in the command group that belongs to the collation information, and then the received command is searched in the command group that belongs to the collation information. Command search method.
JP3321931A 1991-12-05 1991-12-05 Device and method for retrieving received command Pending JPH05158827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3321931A JPH05158827A (en) 1991-12-05 1991-12-05 Device and method for retrieving received command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3321931A JPH05158827A (en) 1991-12-05 1991-12-05 Device and method for retrieving received command

Publications (1)

Publication Number Publication Date
JPH05158827A true JPH05158827A (en) 1993-06-25

Family

ID=18138020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3321931A Pending JPH05158827A (en) 1991-12-05 1991-12-05 Device and method for retrieving received command

Country Status (1)

Country Link
JP (1) JPH05158827A (en)

Similar Documents

Publication Publication Date Title
KR940003700B1 (en) Method and apparatus for search
KR101648235B1 (en) Pattern-recognition processor with matching-data reporting module
US20020099698A1 (en) Pattern retrieving method, pattern retrieval apparatus, computer-readable storage medium storing pattern retrieval program, pattern retrieval system, and pattern retrieval program
EP0037264A2 (en) Associative memory system
JP3230641B2 (en) String search device
JPH05158827A (en) Device and method for retrieving received command
US6963865B2 (en) Method system and program product for data searching
CN111931161B (en) RISC-V processor based chip verification method, apparatus and storage medium
JPH1125084A (en) Character string converter and its program recording medium
US20080000961A1 (en) Use of peer maintained file to improve beacon position tracking utilizing spatial probabilities
JP3459049B2 (en) Character string search method and device
US11481859B2 (en) Methods and systems for scheduling a user transport
CN114650436B (en) Remote control method, device, equipment and medium based on background service
JPH103417A (en) File change history management system
JP3469679B2 (en) Data processing device
JPH01224831A (en) Character string retrieving device
JP3847836B2 (en) Character string search method and apparatus
CN117744648A (en) Word segmentation method, search method and related products
CN114385142A (en) Data storage method and device, electronic equipment and storage medium
KR101761175B1 (en) Method of mining a frequent pattern, apparatus performing the same and storage medium storing a program performing the same
JPS63155324A (en) Information retrieving device
JP2539079B2 (en) Column data selection processing circuit
JPH0863487A (en) Method and device for document retrieval
JP3387582B2 (en) Character processor
JPH10145453A (en) Method and device for processing communication protocol