JP2005204081A - Interface bridge apparatus - Google Patents

Interface bridge apparatus Download PDF

Info

Publication number
JP2005204081A
JP2005204081A JP2004008449A JP2004008449A JP2005204081A JP 2005204081 A JP2005204081 A JP 2005204081A JP 2004008449 A JP2004008449 A JP 2004008449A JP 2004008449 A JP2004008449 A JP 2004008449A JP 2005204081 A JP2005204081 A JP 2005204081A
Authority
JP
Japan
Prior art keywords
instruction
result
command
interface
electrical device
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
JP2004008449A
Other languages
Japanese (ja)
Inventor
Mikio Yagi
幹雄 八木
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004008449A priority Critical patent/JP2005204081A/en
Publication of JP2005204081A publication Critical patent/JP2005204081A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus for returning a result at high speed not only when the result of an instruction issued from one implement is erroneous but with respect to the succeeding instruction of one implement concerning an interface bridge apparatus. <P>SOLUTION: While the instruction B1(19) obtained by converting the instruction A1(18) from the electric implement A is issued to the electric implement B, table retrieval is performed with the instruction A1 as a key so as to acquire a prediction instruction A2 which is supposed to be issued from the electric implement A next time. When the result B1(20) of the issued instruction B1(19) and the prediction instruction A2 are acquired, a bridge issues the instruction B2(22) which is obtained by converting the prediction instruction A2, to the electric implement B. At the same time, a result A1(21) obtained by converting the result B1 is transmitted to the electric implement A. When the instruction A2(23) subsequently coincides with the prediction instruction A2, the result A2(25) obtained by converting the result B2(24) is returned to the electric implement A at high speed. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、各々が独自のインターフェースをもつ複数の電気機器を接続するときに用いられるインターフェースブリッジ装置に関するものである。   The present invention relates to an interface bridge device used when connecting a plurality of electric devices each having a unique interface.

従来のインターフェースブリッジ装置には、例えば下記特許文献1に記載されたインターフェースブリッジ装置があった。図1は特許文献1に記載されたインターフェースブリッジ装置の命令処理の流れを示す図である。図1のインターフェースブリッジ装置では、ブリッジはChannelからの命令C1(1)をIO Deviceに命令D1(2)として発行する。そこでIO Deviceからエラーを示す結果D1(3)が返ってきたときに、ブリッジ装置はエラーをChannelに返す前に、センス情報取得命令D2(4)をIO Deviceに発行し、結果D2(5)を得る。その後ブリッジがエラーを結果C1(6)としてChannnelに返すと、エラーを知ったChannelがセンス情報取得命令C2(7)を発行する。これを受け取ったブリッジは、既にセンス情報を取得しているので、すぐにChannelに対してセンス情報を結果C2(8)として返すことができるのでChannelから見ると命令C2に対する結果C2が高速に返ってきたことになる。
特開平10−91567号公報 特開平2−56041号公報
As a conventional interface bridge device, for example, there is an interface bridge device described in Patent Document 1 below. FIG. 1 is a diagram showing a flow of instruction processing of the interface bridge device described in Patent Document 1. In the interface bridge device of FIG. 1, the bridge issues an instruction C1 (1) from Channel as an instruction D1 (2) to the IO device. Therefore, when a result D1 (3) indicating an error is returned from the IO device, the bridge device issues a sense information acquisition command D2 (4) to the IO device before returning the error to the channel, and the result D2 (5). Get. After that, when the bridge returns an error as a result C1 (6) to Channel, Channel that knows the error issues a sense information acquisition instruction C2 (7). Since the bridge that has received this has already acquired the sense information, it can immediately return the sense information to the channel as the result C2 (8), so when viewed from the channel, the result C2 for the instruction C2 is returned at high speed. It has been.
JP-A-10-91567 JP-A-2-56041

しかしながら前記従来のインターフェースブリッジ装置では、高速に結果を返すことのできる命令がセンス情報取得命令に限られるため、ブリッジ装置による高速化の程度は限られる。   However, in the conventional interface bridge device, since the command that can return a result at high speed is limited to the sense information acquisition command, the speed of the bridge device is limited.

また同様に前記従来のインターフェースブリッジ装置では、Channelに命令C1(1)の結果C1(6)を返すのは、IO Deviceに命令D2(4)を発行しその結果(5)を取得してからであるため、IO Deviceの処理D(9)とChannelの処理C(10)が並列でなく、逐次的に実行されていて、これもブリッジ装置による高速化の程度を限定的なものにする原因となっている。   Similarly, in the conventional interface bridge device, the result C1 (6) of the instruction C1 (1) is returned to the channel after the instruction D2 (4) is issued to the IO device and the result (5) is obtained. Therefore, the process D (9) of the IO device and the process C (10) of the channel are not executed in parallel but are executed sequentially, and this also causes the degree of speedup by the bridge device to be limited. It has become.

本発明は上記課題を解決した、より高速なインターフェースブリッジ装置を提供することを目的とする。   It is an object of the present invention to provide a higher-speed interface bridge device that solves the above problems.

上記課題を解決するための、
本特許出願に係る請求項1に記載の発明は、
電気機器Aとのインターフェースにのっとった電気機器Aからの命令を受信する手段と、前記を電気機器Bとのインターフェースにのっとった電気機器Bへの命令に変換する手段と、電気機器Bとのインターフェースにのっとった電気機器Bへの命令を電気機器Bに送信する手段と、電気機器Bとのインターフェースにのっとった電気機器Bからの命令の結果を受信する手段と、前記を電気機器Aとのインターフェースにのっとった電気機器Aからの命令の結果に変換する手段と、電気機器Aとのインターフェースにのっとった電気機器Aへの命令の結果を電気機器Aに送信する手段と、電気機器Aからの命令と次の電気機器Aからの予測される命令の対応をテーブル記憶する手段と、予測した電気機器Aからの命令と実際の電気機器Aからの命令を比較する手段からなり、電気機器Aから電気機器Bへの命令に対して電気機器Bから電気機器Aへの結果を高速に返すことができることを特徴とした、インターフェースブリッジ装置である。
To solve the above problems,
The invention according to claim 1 of the present patent application is
Means for receiving an instruction from the electric device A according to the interface with the electric device A, means for converting the instruction into an instruction to the electric device B according to the interface with the electric device B, and an interface with the electric device B Means for transmitting an instruction to the electric device B according to the above, means for receiving the result of the instruction from the electric device B following the interface with the electric device B, and the interface with the electric device A. Means for converting the result of the command from the electric device A according to the above, means for transmitting the result of the command to the electric device A according to the interface with the electric device A, and a command from the electric device A Means for storing the correspondence of the predicted command from the next electrical device A in a table, the predicted command from the electrical device A and the actual electrical device A Consists means for comparing the instruction, the results from the electrical device B to the electrical device A from the electrical equipment A to the instruction to the electric apparatus B was characterized in that it can be returned to the high speed, an interface bridge device.

本特許出願に係る請求項2に記載の発明は、
テーブルに電気機器Aからの命令と次の電気機器Aからの予測される命令列を記憶する、請求項1記載のインターフェースブリッジ装置である。
The invention according to claim 2 of the present patent application is
The interface bridge device according to claim 1, wherein an instruction from the electric device A and a predicted instruction sequence from the next electric device A are stored in the table.

本特許出願に係る請求項3に記載の発明は、
テーブルが複数の電気機器Aのために複数ある、請求項1記載のインターフェース装置である。
The invention according to claim 3 of the present patent application is
The interface device according to claim 1, wherein there are a plurality of tables for a plurality of electrical devices A.

本特許出願に係る請求項4に記載の発明は、
テーブルの内容が書き換え可能である、請求項1記載のインターフェースブリッジ装置である。
The invention according to claim 4 of the present patent application is
The interface bridge device according to claim 1, wherein the contents of the table are rewritable.

本特許出願に係る請求項5に記載の発明は、
テーブルの内容を電気機器Aから取得する、請求項4記載のインターフェースブリッジ装置である。
The invention according to claim 5 of the present patent application is
The interface bridge device according to claim 4, wherein the contents of the table are acquired from the electric device A.

本特許出願に係る請求項6に記載の発明は、
テーブルの内容を電気機器Aからの実際の命令列をもとに随時更新する、請求項4記載のインターフェースブリッジ装置である。
The invention according to claim 6 of the present patent application is
5. The interface bridge device according to claim 4, wherein the contents of the table are updated at any time based on an actual instruction sequence from the electric device A.

本特許出願に係る請求項7に記載の発明は、
テーブルの内容を初め電気機器Aから取得して、その後電気機器Aからの実際の命令列をもとに随時更新する、請求項4記載のインターフェースブリッジ装置である。
The invention described in claim 7 according to the present patent application is
5. The interface bridge device according to claim 4, wherein the contents of the table are first acquired from the electric device A and then updated as needed based on an actual instruction sequence from the electric device A.

本特許出願に係る請求項8に記載の発明は、
テーブルに電気機器Aからの命令と前記に対応する電気機器Aに返すと予測される命令の結果を記憶する、請求項1記載のインターフェースブリッジ装置である。
The invention described in claim 8 according to the present patent application is
2. The interface bridge device according to claim 1, wherein the table stores an instruction from the electric device A and a result of an instruction predicted to be returned to the corresponding electric device A.

本特許出願に係る請求項9に記載の発明は、
テーブルが複数の電気機器Bのために複数ある、請求項8記載のインターフェースブリッジ装置である。
The invention according to claim 9 of the present patent application is
The interface bridge device according to claim 8, wherein there are a plurality of tables for a plurality of electrical devices B.

本特許出願に係る請求項10に記載の発明は、
テーブルの内容が書き換え可能である、請求項8記載のインターフェースブリッジ装置である。
The invention according to claim 10 of the present patent application is
9. The interface bridge device according to claim 8, wherein the contents of the table are rewritable.

本特許出願に係る請求項11に記載の発明は、
テーブルの内容を電気機器Bから取得する、請求項10記載のインターフェースブリッジ装置である。
The invention described in claim 11 according to the present patent application is
The interface bridge device according to claim 10, wherein the contents of the table are acquired from the electric device B.

本特許出願に係る請求項12に記載の発明は、
テーブルの内容を電気機器Aからの命令または電気機器Bからの実際の結果をもとに随時更新する、請求項10記載のインターフェースブリッジ装置である。
The invention according to claim 12 of the present patent application is
11. The interface bridge device according to claim 10, wherein the contents of the table are updated at any time based on a command from the electric device A or an actual result from the electric device B.

本特許出願に係る請求項13に記載の発明は、
テーブルの内容を初め電気機器Bから取得して、その後電気機器Aからの命令または電気機器Bからの実際の結果をもとに随時更新する、請求項10記載のインターフェースブリッジ装置である。
The invention according to claim 13 of the present patent application is
11. The interface bridge device according to claim 10, wherein the contents of the table are first obtained from the electric device B and then updated as needed based on a command from the electric device A or an actual result from the electric device B.

本発明のインターフェースブリッジ装置によれば、高速に結果を返すことのできる命令が、センス情報取得命令のみに限らず、ブリッジ装置内のテーブルのレコード数にまで増加するので、命令を発行する電気機器からすると、命令を発行してから結果を得るまでの時間が短縮される可能性が高くなる。   According to the interface bridge device of the present invention, the number of instructions that can return a result at a high speed is not limited to the sense information acquisition command, but increases to the number of records in the table in the bridge device. Therefore, there is a high possibility that the time from issuing the instruction to obtaining the result is shortened.

また従来問題であった処理D(9)と処理C(10)も並列に実行することにより、システム全体として、さらに高速に動作させることが可能となる。   Further, the process D (9) and the process C (10), which have been problems in the past, are also executed in parallel, so that the entire system can be operated at higher speed.

以下に本発明の実施の形態について、図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the drawings.

<インターフェースブリッジ装置の構成>
本発明の実施形態によるインターフェースブリッジ装置の構成を図2に示す。このインターフェースブリッジ装置は、命令受信部11と、命令変換部12と、命令送信部13と、結果受信部14と、結果変換部15と、結果送信部16と、テーブル部および比較部17とを備える。命令受信部11は、電気機器Aとのインターフェースにのっとった電気機器Aからの命令を受信する。命令変換部12は、命令受信部11が受信した命令を電気機器Bとのインターフェースにのっとった電気機器Bへの命令に変換する。命令送信部13は、電気機器Bとのインターフェースにのっとった電気機器Bへの命令を電気機器Bに送信する。結果受信部14は、電気機器Bとのインターフェースにのっとった電気機器Bからの命令の結果を受信する。結果変換部15は、結果受信部14が受信した結果を電気機器Aとのインターフェースにのっとった電気機器Aからの命令の結果に変換する。結果送信部16は、電気機器Aとのインターフェースにのっとった電気機器Aへの命令の結果を電気機器Aに送信する。テーブル部および比較部17は、電気機器Aからの命令と次の電気機器Aからの予測される命令との対応をテーブルとして記憶する。また、テーブル部および比較部17は、予測した電気機器Aからの命令と実際の電気機器Aからの命令とを比較する。
<Configuration of interface bridge device>
FIG. 2 shows the configuration of the interface bridge device according to the embodiment of the present invention. This interface bridge device includes an instruction receiving unit 11, an instruction converting unit 12, an instruction transmitting unit 13, a result receiving unit 14, a result converting unit 15, a result transmitting unit 16, a table unit and a comparing unit 17. Prepare. The command receiving unit 11 receives a command from the electric device A along the interface with the electric device A. The command conversion unit 12 converts the command received by the command receiving unit 11 into a command to the electric device B that follows the interface with the electric device B. The command transmission unit 13 transmits a command to the electric device B that follows the interface with the electric device B to the electric device B. The result receiving unit 14 receives the result of the command from the electric device B that follows the interface with the electric device B. The result converting unit 15 converts the result received by the result receiving unit 14 into the result of the command from the electric device A that has taken the interface with the electric device A. The result transmission unit 16 transmits the result of the command to the electric device A that follows the interface with the electric device A to the electric device A. The table unit and comparison unit 17 stores the correspondence between the instruction from the electric device A and the predicted instruction from the next electric device A as a table. In addition, the table unit and the comparison unit 17 compare the predicted instruction from the electric device A with the actual instruction from the electric device A.

<命令処理の流れの例1>
図2に示したインターフェースブリッジ装置の命令処理の流れの一例を図3に示す。この例では、ブリッジは命令受信部11で電気機器Aからの命令A1(18)を受信し、命令変換部12で命令を変換し、命令送信部13により電気機器Bに命令B1(19)を送信し、結果受信部14により結果B1(20)を受信する。一方、テーブル部17では命令A1(18)をキーにテーブル検索を行い、次に電気機器Aから受信すると思われる予想命令A2を得る。結果B1と予想命令A2を得たところでブリッジは電気機器Bに対して予想命令A2を命令変換部12により変換し、命令送信部13により命令B2(22)を発行する。同時にブリッジは電気機器Aに対して結果変換部15により結果B1を変換し、結果送信部16により結果A1(21)を送信する。
<Example of instruction processing flow 1>
An example of the flow of instruction processing of the interface bridge device shown in FIG. 2 is shown in FIG. In this example, the bridge receives the command A1 (18) from the electric device A by the command receiving unit 11, converts the command by the command conversion unit 12, and sends the command B1 (19) to the electric device B by the command transmission unit 13. And the result receiving unit 14 receives the result B1 (20). On the other hand, the table unit 17 performs a table search using the instruction A1 (18) as a key, and then obtains an expected instruction A2 that is expected to be received from the electrical device A. When the result B1 and the predicted instruction A2 are obtained, the bridge converts the predicted instruction A2 to the electric device B by the instruction conversion unit 12, and issues the instruction B2 (22) by the instruction transmission unit 13. At the same time, the bridge converts the result B1 to the electric device A by the result conversion unit 15 and transmits the result A1 (21) by the result transmission unit 16.

その後、電気機器Aは、結果A1を処理して命令A2(23)をブリッジに対して発行、ブリッジは命令受信部11によりこれを受信する。また、電気機器Bは、命令B2を処理して結果B2(24)をブリッジに対して送信し、ブリッジは結果受信部14によりこれを受信する。ブリッジは両者がそろったところで、受信した命令A2と予想命令A2を比較部17により比較する。比較結果が一致していればブリッジは結果変換部15により結果B2を変換し、電気機器Aに対して結果送信部16により結果A2(25)を送信する。比較結果が一致しなければブリッジは結果B2を破棄して命令A2を通常に処理する。   Thereafter, the electric device A processes the result A1 and issues an instruction A2 (23) to the bridge, and the bridge receives the instruction by the instruction receiving unit 11. The electric device B processes the command B2 and transmits the result B2 (24) to the bridge, and the bridge receives the result by the result receiving unit 14. The bridge compares the received command A2 and the predicted command A2 by the comparison unit 17 when both are in place. If the comparison results match, the bridge converts the result B2 by the result conversion unit 15 and transmits the result A2 (25) to the electric device A by the result transmission unit 16. If the comparison results do not match, the bridge discards the result B2 and processes the instruction A2 normally.

以上のように本実施例によれば、高速に結果を返すことのできる命令はセンス情報取得命令のみに限らず、また処理A(26)と処理B(27)も同時に行われているため、システム全体として高速動作が実現できる。   As described above, according to the present embodiment, the instruction that can return a result at high speed is not limited to the sense information acquisition instruction, and the process A (26) and the process B (27) are performed simultaneously. High-speed operation can be realized as a whole system.

<命令処理の流れの例2>
図2に示したインターフェースブリッジ装置の命令処理の流れの別の一例を図4に示す。この例では、上述の例1におけるインターフェースブリッジ装置のテーブルで電気機器Aからの命令A1に対して次の命令A2・A3を保持している。このようにテーブル内に電気機器Aからの命令に対する次の予想される電気機器Aからの命令列を記憶することでさらに命令処理を高速化することが可能となる。
<Example 2 of instruction processing flow>
FIG. 4 shows another example of the instruction processing flow of the interface bridge device shown in FIG. In this example, the following commands A2 and A3 are held with respect to the command A1 from the electric device A in the table of the interface bridge device in the above-described example 1. In this way, it is possible to further speed up the instruction processing by storing the next expected instruction sequence from the electric device A with respect to the instruction from the electric device A in the table.

<変形例1>
上述のテーブルを複数の電気機器Aのために複数用意してもよい。これにより複数の電気機器Aが同時に接続されている場合や、ブリッジと電気機器Bの電源が入ったまま複数の電気機器Aに繋ぎかえられる場合に、それぞれの電気機器Aに対するテーブル内容が保持され、複数の電気機器Aの各々に対して最適なテーブルを参照することが可能になり、高速に動作することができる。
<Modification 1>
A plurality of the above-described tables may be prepared for a plurality of electrical devices A. As a result, when a plurality of electrical devices A are connected at the same time or when the bridge and the electrical device B are connected to the plurality of electrical devices A with the power on, the table contents for each electrical device A are retained. It becomes possible to refer to the optimum table for each of the plurality of electric devices A, and it is possible to operate at high speed.

<変形例2>
上述のテーブルを書き換え可能にしてもよい。例えば、テーブルの内容をシステム起動時や、電気機器Aがテーブル内容をセットする命令をブリッジに発行した時などに、ブリッジはテーブルの内容を電気機器Aから取得してセットする。これによりブリッジに命令を発行する電気機器Aの思うとおりにテーブルの内容をセットすることが可能となり、予測命令の比較一致可能性が高まる。
<Modification 2>
The above table may be rewritable. For example, when the system starts up the table contents, or when the electric device A issues a command to set the table contents to the bridge, the bridge acquires the table contents from the electric device A and sets them. As a result, the contents of the table can be set as desired by the electric device A that issues an instruction to the bridge, and the possibility of comparing and matching predicted instructions increases.

このテーブルの内容は電気機器Aからの命令をブリッジが監視して、その命令列を学習することにより、動的に変更することも可能である。これにより上記と同様、予測命令の比較一致可能性が高まる。   The contents of this table can be changed dynamically by the bridge monitoring the instructions from the electric device A and learning the instruction sequence. As a result, as described above, the possibility of comparison coincidence of prediction instructions increases.

上記のテーブルの書き換え方法は組み合わせて行うことも可能である。   The above table rewriting methods may be combined.

<命令処理の流れの例3>
図2に示したインターフェースブリッジ装置の命令処理の流れの別の一例を図5に示す。この例では、ブリッジは、命令受信部11で電気機器Aからの命令A1(28)を受信し、命令変換部12で命令を変換し、命令送信部13により電気機器Bに命令B1(29)を送信する。一方、テーブル部17では、命令A1(28)をキーにテーブル検索を行い、次に電気機器Aに返すと思われる予想結果A1を得て、結果送信部16により予想結果A1(30)を電気機器Aに送信する。
<Example 3 of instruction processing flow>
Another example of the instruction processing flow of the interface bridge device shown in FIG. 2 is shown in FIG. In this example, the bridge receives the command A1 (28) from the electric device A by the command receiving unit 11, converts the command by the command conversion unit 12, and sends the command B1 (29) to the electric device B by the command transmission unit 13. Send. On the other hand, the table unit 17 performs a table search using the instruction A1 (28) as a key, obtains an expected result A1 that is expected to be returned to the electrical device A, and then obtains the predicted result A1 (30) by the result transmission unit 16 Transmit to device A.

その後、電気機器Aは、結果A1を処理して命令A2(32)をブリッジに対して発行し、ブリッジは命令受信部11によりこれを受信する。また、電気機器Bは、命令B1を処理して結果B1(31)をブリッジに対して送信し、ブリッジは結果受信部14によりこれを受信する。ブリッジは、結果変換部15により結果B1を変換し結果A1を得る。ブリッジは、両者がそろったところで、変換した結果A1と予想結果A1を比較部17により比較する。比較結果が一致していればブリッジは引き続き通常動作を行い、命令変換部12により命令A2を変換し命令B2を得て、命令送信部13により命令B2(33)を送信し、結果受信部14により結果B2(34)を受信し、結果変換部15により結果B2を変換し結果A2を得て、結果送信部16により結果A2(35)を送信する。比較結果が一致しなければブリッジは電気機器A2に対してエラーを送信する。   Thereafter, the electrical device A processes the result A1 and issues an instruction A2 (32) to the bridge, and the bridge receives the instruction by the instruction receiving unit 11. The electric device B processes the command B1 and transmits the result B1 (31) to the bridge, and the bridge receives the result by the result receiving unit 14. In the bridge, the result conversion unit 15 converts the result B1 to obtain the result A1. The bridge compares the converted result A1 and the predicted result A1 by the comparison unit 17 when both are obtained. If the comparison results match, the bridge continues normal operation, the command conversion unit 12 converts the command A2 to obtain the command B2, the command transmission unit 13 transmits the command B2 (33), and the result reception unit 14 The result B2 (34) is received, the result B2 is converted by the result conversion unit 15 to obtain the result A2, and the result A2 (35) is transmitted by the result transmission unit 16. If the comparison results do not match, the bridge transmits an error to the electric device A2.

以上のように本実施例によれば、高速に結果を返すことのできる命令はセンス情報取得命令のみに限らず、また処理A(36)と処理B(37)も同時に行われているため、システム全体として高速動作が実現できている。   As described above, according to the present embodiment, the instruction that can return the result at high speed is not limited to the sense information acquisition instruction, and the process A (36) and the process B (37) are performed at the same time. The system as a whole can be operated at high speed.

<変形例3>
上述の例3で示したテーブルを複数の電気機器Bのために複数用意してもよい。これにより複数の電気機器Bが同時に接続されている場合や、ブリッジと電気機器Aの電源が入ったまま複数の電気機器Bに繋ぎかえられる場合に、それぞれの電気機器Bに対するテーブル内容が保持され、前期複数の電気機器B各々に対して最適なテーブルを参照することが可能になり、高速に動作することができる。
<Modification 3>
A plurality of tables shown in Example 3 above may be prepared for a plurality of electrical devices B. As a result, when a plurality of electrical devices B are connected at the same time or when the bridge and the electrical device A are connected to the plurality of electrical devices B with the power on, the table contents for each electrical device B are retained. It becomes possible to refer to the optimum table for each of the plurality of electric devices B in the previous period, and it is possible to operate at high speed.

<変形例4>
上述の例3で示したテーブルを書き換え可能にしてもよい。例えば、テーブルの内容をシステム起動時などにブリッジがテーブルの内容を電気機器Bから取得してセットする。これによりブリッジに命令結果を送信する電気機器Bの思うとおりにテーブルの内容をセットすることが可能となり、予測結果の比較一致可能性が高まる。
<Modification 4>
The table shown in Example 3 above may be rewritable. For example, the contents of the table are acquired by the bridge from the electric device B when the system is started, and set. As a result, the contents of the table can be set as desired by the electric device B that transmits the command result to the bridge, and the possibility of comparison coincidence of the prediction results increases.

このテーブルの内容は電気機器Aからの命令または電気機器Bからの結果をブリッジが監視して、その命令または結果を学習することにより、動的に変更することも可能である。これにより上記と同様、予測命令の比較一致可能性が高まる。   The contents of this table can be dynamically changed by the bridge monitoring the instruction from the electric device A or the result from the electric device B and learning the instruction or result. As a result, as described above, the possibility of comparison coincidence of prediction instructions increases.

上記のテーブルの書き換え方法は組み合わせて行うことも可能である。   The above table rewriting methods may be combined.

本発明に係るインターフェースブリッジ装置は、パソコンと記憶装置など、周辺機器とそれを制御する機器の間のインターフェースが異なっているコンピュータシステムにおいて、一方からの命令と他方からの結果を効率的に処理することが可能であり、その産業上の利用可能性は非常に広く且つ大きい。   The interface bridge device according to the present invention efficiently processes a command from one side and a result from the other in a computer system in which an interface between a peripheral device and a device controlling the peripheral device such as a personal computer and a storage device is different. And its industrial applicability is very wide and large.

従来のインターフェースブリッジ装置における命令処理の流れを示す図である。It is a figure which shows the flow of the command processing in the conventional interface bridge device. 本発明の実施形態によるインターフェースブリッジ装置の構成を示す図である。It is a figure which shows the structure of the interface bridge apparatus by embodiment of this invention. 図2に示したインターフェースブリッジ装置の命令処理の流れを示す図である。It is a figure which shows the flow of the command processing of the interface bridge apparatus shown in FIG. 図2に示したインターフェースブリッジ装置の命令処理の流れを示す図である。It is a figure which shows the flow of the command processing of the interface bridge apparatus shown in FIG. 図2に示したインターフェースブリッジ装置の命令処理の流れを示す図である。It is a figure which shows the flow of the command processing of the interface bridge apparatus shown in FIG.

符号の説明Explanation of symbols

11 命令受信部
12 命令変換部
13 命令送信部
14 結果受信部
15 結果変換部
16 結果送信部
17 テーブル部および比較部
11 Command receiving unit 12 Command converting unit 13 Command transmitting unit 14 Result receiving unit 15 Result converting unit 16 Result transmitting unit 17 Table unit and comparison unit

Claims (13)

第1の電気機器とのインターフェースにのっとった前記第1の電気機器からの命令を受信する手段(a)と、
前記手段(a)によって受信された命令を第2の電気機器とのインターフェースにのっとった前記第2の電気機器への命令に変換する手段(b)と、
前記第2の電気機器とのインターフェースにのっとった前記第2の電気機器への命令を前記第2の電気機器に送信する手段(c)と、
前記第2の電気機器とのインターフェースにのっとった前記第2の電気機器からの命令の結果を受信する手段(d)と、
前記手段(d)によって受信された命令を前記第1の電気機器とのインターフェースにのっとった前記第1の電気機器からの命令の結果に変換する手段(e)と、
前記第1の電気機器とのインターフェースにのっとった前記第1の電気機器への命令の結果を前記第1の電気機器に送信する手段(f)と、
前記第1の電気機器からの命令と次の前記第1の電気機器からの予測される命令との対応をテーブルとして記憶する手段(g)と、
予測した前記第1の電気機器からの命令と実際の前記第1の電気機器からの命令とを比較する手段(h)とを備える、
ことを特徴とするインターフェースブリッジ装置。
Means (a) for receiving a command from the first electrical device along the interface with the first electrical device;
Means (b) for converting the instruction received by the means (a) into an instruction to the second electrical device according to an interface with the second electrical device;
Means (c) for transmitting a command to the second electrical device in accordance with the interface with the second electrical device to the second electrical device;
Means (d) for receiving a result of a command from the second electrical device along an interface with the second electrical device;
Means (e) for converting the command received by said means (d) into a result of a command from said first electrical device along an interface with said first electrical device;
Means (f) for transmitting a result of a command to the first electric device along the interface with the first electric device to the first electric device;
Means (g) for storing a correspondence between a command from the first electrical device and a predicted command from the next first electrical device as a table;
Means (h) for comparing the predicted instruction from the first electric device with the actual instruction from the first electric device;
An interface bridge device.
請求項1において、
前記テーブルに前記第1の電気機器からの命令と次の前記第1の電気機器からの予測される命令列を記憶する、
ことを特徴とするインターフェースブリッジ装置。
In claim 1,
Storing a command sequence from the first electrical device and a predicted sequence of commands from the next first electrical device in the table;
An interface bridge device.
請求項1において、
前記テーブルが複数の前記第1の電気機器のために複数ある、
ことを特徴とするインターフェースブリッジ装置。
In claim 1,
A plurality of the tables for a plurality of the first electrical devices;
An interface bridge device.
請求項1において、
前記テーブルの内容が書き換え可能である、
ことを特徴とするインターフェースブリッジ装置。
In claim 1,
The contents of the table are rewritable;
An interface bridge device.
請求項4において、
前記テーブルの内容を前記第1の電気機器から取得する、
ことを特徴とするインターフェースブリッジ装置。
In claim 4,
Obtaining the contents of the table from the first electrical device;
An interface bridge device.
請求項4において、
前記テーブルの内容を前記第1の電気機器からの実際の命令列をもとに随時更新する、
ことを特徴とするインターフェースブリッジ装置。
In claim 4,
Updating the contents of the table as needed based on the actual instruction sequence from the first electrical device;
An interface bridge device.
請求項4において、
前記テーブルの内容を初め前記第1の電気機器から取得して、その後前記第1の電気機器からの実際の命令列をもとに随時更新する、
ことを特徴とするインターフェースブリッジ装置。
In claim 4,
The contents of the table are first obtained from the first electrical device, and then updated as needed based on the actual instruction sequence from the first electrical device.
An interface bridge device.
請求項1において、
前記テーブルに前記第1の電気機器からの命令とこれに対応する前記第1の電気機器に返すと予測される命令の結果とを記憶する、
ことを特徴とするインターフェースブリッジ装置。
In claim 1,
Storing a command from the first electrical device and a result of a command predicted to be returned to the first electrical device corresponding to the command in the table;
An interface bridge device.
請求項8において、
前記テーブルが複数の前記第2の電気機器のために複数ある、
ことを特徴とするインターフェースブリッジ装置。
In claim 8,
A plurality of the tables for a plurality of the second electrical devices;
An interface bridge device.
請求項8において、
前記テーブルの内容が書き換え可能である、
ことを特徴とするインターフェースブリッジ装置。
In claim 8,
The contents of the table are rewritable;
An interface bridge device.
請求項10において、
前記テーブルの内容を前記第2の電気機器から取得する、
ことを特徴とするインターフェースブリッジ装置。
In claim 10,
Obtaining the contents of the table from the second electrical device;
An interface bridge device.
請求項10において、
前記テーブルの内容を前記第1の電気機器からの命令または前記第2の電気機器からの実際の結果をもとに随時更新する、
ことを特徴とするインターフェースブリッジ装置。
In claim 10,
Updating the contents of the table as needed based on instructions from the first electrical device or actual results from the second electrical device;
An interface bridge device.
請求項10において、
前記テーブルの内容を初め前記第2の電気機器から取得して、その後前記第1の電気機器からの命令または前記第2の電気機器からの実際の結果をもとに随時更新する、
ことを特徴とするインターフェースブリッジ装置。
In claim 10,
The contents of the table are first obtained from the second electrical device, and then updated as needed based on instructions from the first electrical device or actual results from the second electrical device,
An interface bridge device.
JP2004008449A 2004-01-15 2004-01-15 Interface bridge apparatus Pending JP2005204081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004008449A JP2005204081A (en) 2004-01-15 2004-01-15 Interface bridge apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004008449A JP2005204081A (en) 2004-01-15 2004-01-15 Interface bridge apparatus

Publications (1)

Publication Number Publication Date
JP2005204081A true JP2005204081A (en) 2005-07-28

Family

ID=34821783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004008449A Pending JP2005204081A (en) 2004-01-15 2004-01-15 Interface bridge apparatus

Country Status (1)

Country Link
JP (1) JP2005204081A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018129774A (en) * 2017-02-10 2018-08-16 日本電信電話株式会社 Reply device and reply method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018129774A (en) * 2017-02-10 2018-08-16 日本電信電話株式会社 Reply device and reply method

Similar Documents

Publication Publication Date Title
CN109886399B (en) Tensor processing device and method
CN111432000A (en) Control method, device, equipment and storage medium of Internet of things equipment
US20150355236A1 (en) Protective relaying system and method for gathering data using thereof
KR101593835B1 (en) PLC system
US20130297314A1 (en) Rescoring method and apparatus in distributed environment
CN101464844B (en) Control method and bus interface of RAM use right
JP2005204081A (en) Interface bridge apparatus
WO2019144906A1 (en) Information conversion method and device, storage medium and electronic device
CN105279157A (en) Method and device for regular query
CN113778455A (en) Code conversion method and device, electronic equipment and storage medium
JP6262064B2 (en) Remote control device, remote control system
CN113507530A (en) Data forwarding method, related system and device and storage medium
JP2004032176A (en) Mobile station instrument, line control station instrument, mobile communication system, system for transmitting its numeric data, and program
JP2010244469A (en) Distributed processing system and distributed processing method
JP6618574B1 (en) Control device, communication system, and control program
JP2001067118A (en) Plant data management device
KR100917542B1 (en) Method for selecting communication protocol of slave unit
JP6428273B2 (en) Command processing system and command processing method
US9647853B2 (en) Transmitting system, the device and the method for the remote bus
JP2008071231A (en) Method for collecting programmable logic controller data
CN115866091B (en) Signal processing method and device, electronic equipment and storage medium
JP2005051507A (en) Communication system and address setup method therefor
KR100854662B1 (en) Process connecting method of robot control module
JPH0399341A (en) Network control system
JP2007193511A (en) Sensor terminal