JP6925889B2 - Relay device, transmission processing program - Google Patents

Relay device, transmission processing program Download PDF

Info

Publication number
JP6925889B2
JP6925889B2 JP2017128977A JP2017128977A JP6925889B2 JP 6925889 B2 JP6925889 B2 JP 6925889B2 JP 2017128977 A JP2017128977 A JP 2017128977A JP 2017128977 A JP2017128977 A JP 2017128977A JP 6925889 B2 JP6925889 B2 JP 6925889B2
Authority
JP
Japan
Prior art keywords
calculation method
calculation
processing
unit
arithmetic
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.)
Active
Application number
JP2017128977A
Other languages
Japanese (ja)
Other versions
JP2019012947A (en
Inventor
拓紀 松山
拓紀 松山
直哉 大西
直哉 大西
遵 金井
遵 金井
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.)
Toshiba Corp
Toshiba Infrastructure Systems and Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Infrastructure Systems and Solutions 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 Toshiba Corp, Toshiba Infrastructure Systems and Solutions Corp filed Critical Toshiba Corp
Priority to JP2017128977A priority Critical patent/JP6925889B2/en
Publication of JP2019012947A publication Critical patent/JP2019012947A/en
Application granted granted Critical
Publication of JP6925889B2 publication Critical patent/JP6925889B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施形態は、中継装置、伝送処理プログラムに関する。 An embodiment of the present invention relates to a relay device and a transmission processing program.

クライアントサーバ型の制御システムにおいて、同時に多数のクライアントである端末
装置から単一のサーバである通信装置へのアクセスが集中すると、ネットワークの負荷が
増大し、リアルタイムな制御を行うことが難しくなる場合がある。特に、小さいサイズの
パケットを大量に処理する場合、サーバのネットワークインタフェースでの処理負荷が増
大する。そこで、例えば、ネットワークの負荷を軽減するために、ネットワークの中継経
路で通信プロトコルをTCP(Transmission Control Protocol)からUDP(User Data
gram Protocol)に変換する手法が知られている。しかし、本手法では、通信装置におけ
る演算処理による遅延が生じることにより、リアルタイムな制御が行えない場合がる。
In a client-server type control system, if access from a large number of client terminal devices to a single server communication device is concentrated at the same time, the network load may increase and it may be difficult to perform real-time control. be. In particular, when processing a large number of small-sized packets, the processing load on the server network interface increases. Therefore, for example, in order to reduce the load on the network, the communication protocol is changed from TCP (Transmission Control Protocol) to UDP (User Data) in the relay path of the network.
A method of converting to gram Protocol) is known. However, in this method, real-time control may not be possible due to a delay due to arithmetic processing in the communication device.

特許第5046161号公報Japanese Patent No. 5046161

本発明が解決しようとする課題は、端末装置と通信装置間の応答時間の短縮に優れた中
継装置、伝送処理システム、伝送処理プログラム、及び伝送処理方法を提供することであ
る。
An object to be solved by the present invention is to provide a relay device, a transmission processing system, a transmission processing program, and a transmission processing method excellent in shortening the response time between the terminal device and the communication device.

実施形態の中継装置は、第一受信部と、演算方法バッファと、処理判定テーブルと、処
理判定部と、演算実行部と、第二送信部と、を備える。第一受信部は、端末装置から演算
処理を依頼する演算依頼パケットを受信する。演算方法バッファは、第一受信部が受信す
る演算依頼パケットを演算処理するための演算方法を格納する。処理判定テーブルは、演
算方法が演算方法バッファに格納されているか否かを示すバッファデータが記録される。
処理判定部は、処理判定テーブルに記録されているバッファデータを参照し、バッファデ
ータに基づいて、第一受信部が受信する演算依頼パケットに対し演算処理を実行するか否
かを判定する。演算実行部は、処理判定部の判定に基づいて、第一受信部が受信する演算
依頼パケットに対し、演算処理を実行する。第二送信部は、演算実行部が演算処理した演
算処理結果が格納される演算返答パケットを端末装置に送信する。
The relay device of the embodiment includes a first receiving unit, a calculation method buffer, a processing determination table, a processing determination unit, a calculation execution unit, and a second transmission unit. The first receiving unit receives the calculation request packet for requesting the calculation process from the terminal device. The calculation method buffer stores a calculation method for arithmetically processing the calculation request packet received by the first receiving unit. In the processing determination table, buffer data indicating whether or not the calculation method is stored in the calculation method buffer is recorded.
The processing determination unit refers to the buffer data recorded in the processing determination table, and determines whether or not to execute arithmetic processing on the arithmetic request packet received by the first receiving unit based on the buffer data. The arithmetic execution unit executes arithmetic processing on the arithmetic request packet received by the first receiving unit based on the determination of the processing determination unit. The second transmission unit transmits an operation response packet in which the operation processing result of the operation processing performed by the operation execution unit is stored to the terminal device.

実施形態1に係る伝送処理システムの装置構成の一例を示すブロック図。The block diagram which shows an example of the apparatus configuration of the transmission processing system which concerns on Embodiment 1. FIG. 実施形態1に係る伝送処理システムにおける各装置の機能構成の一例を示すブロック図。The block diagram which shows an example of the functional structure of each apparatus in the transmission processing system which concerns on Embodiment 1. FIG. 実施形態1に係る処理判定テーブルに記録されるデータの一例を示す図。The figure which shows an example of the data recorded in the process determination table which concerns on Embodiment 1. FIG. 実施形態1に係る演算依頼パケットの構成の一例を示す図。The figure which shows an example of the structure of the calculation request packet which concerns on Embodiment 1. FIG. 実施形態1に係る演算返答パケットの構成の一例を示す図。The figure which shows an example of the structure of the operation reply packet which concerns on Embodiment 1. FIG. 実施形態1に係る演算方法要求パケットの構成の一例を示す図。The figure which shows an example of the structure of the calculation method request packet which concerns on Embodiment 1. FIG. 実施形態1に係る演算方法返答パケットの構成の一例を示す図。The figure which shows an example of the structure of the calculation method reply packet which concerns on Embodiment 1. FIG. 実施形態1に係る処理判定部が実行する判定の流れの一例を示すフローチャート。FIG. 5 is a flowchart showing an example of a determination flow executed by the processing determination unit according to the first embodiment. 実施形態2に係る伝送処理システムにおける各装置の機能構成の一例を示すブロック図。The block diagram which shows an example of the functional structure of each apparatus in the transmission processing system which concerns on Embodiment 2. FIG. 実施形態2に係る負荷計測部が計測するデータの一例を示す図。The figure which shows an example of the data measured by the load measuring part which concerns on Embodiment 2.

以下、各実施形態に係る伝送処理システムと、伝送処理システムを構成する中継装置に
ついて、図面を参照して説明する。伝送処理システムは、各地域に設置された複数のクラ
イアント装置である端末装置、各地域に設置された中継装置、各地域の中継装置と広域ネ
ットワークを介して接続されたサーバである通信装置により構成される。
Hereinafter, the transmission processing system according to each embodiment and the relay device constituting the transmission processing system will be described with reference to the drawings. The transmission processing system consists of a terminal device that is a plurality of client devices installed in each area, a relay device installed in each area, and a communication device that is a server connected to the relay device in each area via a wide area network. Will be done.

(実施形態1)
図1は、実施形態1に係る伝送処理システム4の装置構成の一例を示す図である。
(Embodiment 1)
FIG. 1 is a diagram showing an example of an apparatus configuration of the transmission processing system 4 according to the first embodiment.

例えば、図1に示すように、伝送処理システム4は、地域Aに設置された複数の端末装
置3a1、3a2、地域Aに設置された中継装置1a、地域Bに設置された複数の端末装
置3b1、b2、地域Bに設置された中継装置1b、地域A及び地域Bに設置された中継
装置1a、1bと広域ネットワークNW2を介して接続された通信装置2により構成され
る。また、端末装置3a1、a2は、中継装置1aとローカルネットワークNW1aを介
して接続され、端末装置3b1、b2は、中継装置1bとローカルネットワークNW1b
を介して接続される。
For example, as shown in FIG. 1, the transmission processing system 4 has a plurality of terminal devices 3a1 and 3a2 installed in the area A, a relay device 1a installed in the area A, and a plurality of terminal devices 3b1 installed in the area B. , B2, the relay device 1b installed in the area B, the relay devices 1a and 1b installed in the area A and the area B, and the communication device 2 connected via the wide area network NW2. Further, the terminal devices 3a1 and a2 are connected to the relay device 1a via the local network NW1a, and the terminal devices 3b1 and b2 are connected to the relay device 1b via the local network NW1b.
Connected via.

なお、説明を分かり易くするため、端末装置3a1、a2、b1、b2を端末装置3と
略記し、中継装置1a、1bを中継装置1と略記することがある。また、一例として、端
末装置3と中継装置1が接続される場合について説明するが、端末装置3と中継装置1を
一つの装置で構成するようにしてもよい。
In order to make the explanation easier to understand, the terminal devices 3a1, a2, b1, and b2 may be abbreviated as the terminal device 3, and the relay devices 1a and 1b may be abbreviated as the relay device 1. Further, as an example, the case where the terminal device 3 and the relay device 1 are connected will be described, but the terminal device 3 and the relay device 1 may be configured by one device.

伝送処理システム4では、情報処理装置である制御対象(図示しない)から検知信号を
受信し、検知信号に基づく演算処理を通信装置2、或いは中継装置1が実行し、その結果
を端末装置3から制御信号として制御対象に送信する。
In the transmission processing system 4, a detection signal is received from a controlled object (not shown) which is an information processing device, arithmetic processing based on the detection signal is executed by the communication device 2 or the relay device 1, and the result is output from the terminal device 3. It is transmitted to the control target as a control signal.

端末装置3は、検知信号に基づいて通信装置2に演算を依頼するための演算依頼パケッ
ト50を作成し、中継装置1に送信する。他方、端末装置3は、演算依頼パケット50に
対する演算処理の結果を格納する演算返答パケット51を中継装置1から受信し、演算返
答パケット51に基づいて制御信号を制御対象に送信する。
The terminal device 3 creates a calculation request packet 50 for requesting the communication device 2 to perform a calculation based on the detection signal, and transmits the calculation request packet 50 to the relay device 1. On the other hand, the terminal device 3 receives the calculation response packet 51 storing the result of the calculation processing for the calculation request packet 50 from the relay device 1, and transmits a control signal to the control target based on the calculation reply packet 51.

中継装置1は、演算依頼パケット50が要求する演算処理を自身で実行することができ
るか否かを判定し、判定結果に応じて演算依頼パケット50を通信装置2に送信する、或
いは自身で演算処理を実行した結果である演算返答パケット51を端末装置3に送信する
The relay device 1 determines whether or not the arithmetic processing requested by the arithmetic request packet 50 can be executed by itself, and transmits the arithmetic request packet 50 to the communication device 2 according to the determination result, or calculates by itself. The operation response packet 51, which is the result of executing the process, is transmitted to the terminal device 3.

さらに、中継装置1は、自身で演算処理を実行することができないと判定する場合、通
信装置2に対して演算処理を実行するための、例えば、プログラムなどの演算方法43を
要求する演算方法要求パケット52を送信する。次いで、中継装置1は、通信装置2から
受信した演算方法43に基づいて演算処理を実行する。
Further, when the relay device 1 determines that it cannot execute the arithmetic processing by itself, the relay device 1 requests an arithmetic method 43 for executing the arithmetic processing on the communication device 2, for example, a program or the like. The packet 52 is transmitted. Next, the relay device 1 executes the calculation process based on the calculation method 43 received from the communication device 2.

通信装置2は、中継装置1から演算依頼パケット50を受信する場合には、演算処理を
実行し、その結果を格納する演算返答パケット51を中継装置1に送信する。また、通信
装置2は、中継装置1から演算方法要求パケット52を受信する場合には、演算方法43
を格納した演算方法返答パケットを中継装置1に送信する。
When the communication device 2 receives the calculation request packet 50 from the relay device 1, it executes the calculation process and transmits the calculation response packet 51 storing the result to the relay device 1. Further, when the communication device 2 receives the calculation method request packet 52 from the relay device 1, the calculation method 43
The calculation method in which is stored is transmitted to the relay device 1.

広域ネットワークNW2は、例えばインターネットや専用回線などの広域な有線通信回
線であっても良いし、3Gなどの広域な無線通信回線でも良い。ローカルネットワークN
W1は、例えばProfibus、ModbusやTC−netなどのフィールドバス、
或いはローカルな有線通信回線を用いても良いし、無線LANや920MHz帯等のロー
カルな無線通信回線を用いても良い。
The wide area network NW2 may be a wide area wired communication line such as the Internet or a dedicated line, or may be a wide area wireless communication line such as 3G. Local network N
W1 is, for example, a fieldbus such as Profibus, Modbus, TC-net, etc.
Alternatively, a local wired communication line may be used, or a local wireless communication line such as a wireless LAN or a 920 MHz band may be used.

検知信号は、制御対象が設置された環境に関する環境情報、制御対象の状態に関する状
態情報、又は各種の記憶媒体から読み取られたリード情報である。例えば、環境情報は明
るさや温度、湿度、気圧、天候などを示す情報や、緯度、経度、高度などの位置情報や、
速度、加速度、圧力などの物理情報や、文字列、画像、映像、音声などの多次元の情報で
ある。状態情報は例えば、制御対象の電源のオン、オフ状態や電流値や電圧値、圧力値、
動作の状態などを示す情報や、ビット値、バイト値などのデジタル情報である。リード情
報については後述する。
The detection signal is environmental information related to the environment in which the controlled object is installed, state information related to the state of the controlled object, or read information read from various storage media. For example, environmental information includes information indicating brightness, temperature, humidity, atmospheric pressure, weather, etc., location information such as latitude, longitude, and altitude, and
Physical information such as velocity, acceleration, and pressure, and multidimensional information such as character strings, images, videos, and sounds. The state information includes, for example, the on / off state of the power to be controlled, the current value, the voltage value, and the pressure value.
Information indicating the operating status and digital information such as bit values and byte values. The lead information will be described later.

制御信号は、制御対象を動作させるための信号であり、電源状態や電流値や電圧値、圧
力値、動作の状態などを示す情報や、ビット値、バイト値などのデジタル情報である。ま
た、検知信号と制御信号は、一定回数の検知信号と制御信号のやり取りを行い、制御対象
を動作させるトランザクション処理としても良い。
The control signal is a signal for operating a controlled object, and is information indicating a power supply state, a current value, a voltage value, a pressure value, an operating state, or the like, or digital information such as a bit value or a byte value. Further, the detection signal and the control signal may be transaction processing in which the detection signal and the control signal are exchanged a certain number of times to operate the control target.

例えば、本実施形態に係る伝送処理システム4を交通システムに適用する場合、端末装
置3は駅務機器となる。例えば、駅務機器は、自動改札機、自動精算機、及び自動券売機
等である。端末装置3が自動改札機の場合、例えば検知信号は無線通信媒体(例えば、I
Cカード)から読み取られたリード情報等であり、制御信号は通行を制御するゲートの駆
動信号等である。この場合のリード情報は、無線通信媒体の識別情報、入場記録(入場駅
及び入場日時)、出場記録(出場駅及び出場時刻)、及び金額情報のうちの少なくとも一
つとなる。
For example, when the transmission processing system 4 according to the present embodiment is applied to a transportation system, the terminal device 3 becomes a station service device. For example, station affairs equipment includes automatic ticket gates, automatic checkout machines, automatic ticket vending machines, and the like. When the terminal device 3 is an automatic ticket gate, for example, the detection signal is a wireless communication medium (for example, I
It is read information or the like read from the C card), and the control signal is a drive signal or the like of a gate that controls passage. The lead information in this case is at least one of the identification information of the wireless communication medium, the entry record (entrance station and entry date and time), the entry record (entry station and entry time), and the amount information.

一般的に、自動改札機の場合、検知信号に対する制御信号の高速応答が要求される。ま
た、端末装置3が自動精算機かつ通信装置2側で精算処理を行うようなクラウド精算シス
テムの場合、検知信号は無線通信媒体から読み取られたリード情報であり、制御信号はリ
ード情報から算出される不足金額情報等である。自動精算機において要求される制御信号
の応答は、自動改札機において要求される制御信号の応答より遅くてもよい。なお、自動
改札機及び自動精算機のそれぞれにおいて、応答信号の要求時間が異なる複数の処理を実
行する場合も含まれる。
Generally, in the case of an automatic ticket gate, a high-speed response of a control signal to a detection signal is required. Further, in the case of a cloud settlement system in which the terminal device 3 is an automatic settlement machine and the communication device 2 performs settlement processing, the detection signal is the read information read from the wireless communication medium, and the control signal is calculated from the read information. Information on the amount of shortage. The response of the control signal required by the automatic checkout machine may be slower than the response of the control signal required by the automatic ticket gate. It should be noted that the automatic ticket gate and the automatic checkout machine also include a case where a plurality of processes having different request times for response signals are executed.

交通システムにおいては、多数の自動改札機が地域ごとに設置され、これら多数の自動
改札機のそれぞれから多数の検知信号が高頻度で送信され、多数の自動精算機が地域ごと
に設置され、これら多数の自動精算機のそれぞれから多数の検知信号が送信される。本実
施形態に係る伝送処理システム4はこのような条件の交通システムにおいて応答時間を短
縮し、リアルタイムな制御を行うことができる。
In the transportation system, a large number of automatic ticket gates are installed in each region, a large number of detection signals are frequently transmitted from each of these many automatic ticket gates, and a large number of automatic checkout machines are installed in each region. A large number of detection signals are transmitted from each of a large number of automatic payment machines. The transmission processing system 4 according to the present embodiment can shorten the response time and perform real-time control in the traffic system under such conditions.

図2は、実施形態1に係る伝送処理システム4における各装置の機能構成の一例を示す
ブロック図である。
FIG. 2 is a block diagram showing an example of the functional configuration of each device in the transmission processing system 4 according to the first embodiment.

端末装置3は、入力部と、送信部と、受信部と、出力部とを備える。入力部は、制御対
象から検知信号を受信する。送信部は、検知信号に基づいて生成される演算依頼パケット
50を中継装置1に送信する。また、受信部は、中継装置1から演算返答パケット51を
受信する。出力部は、演算返答パケット51に基づいて演算結果42を制御対象へ出力す
る。
The terminal device 3 includes an input unit, a transmission unit, a reception unit, and an output unit. The input unit receives the detection signal from the control target. The transmission unit transmits the calculation request packet 50 generated based on the detection signal to the relay device 1. Further, the receiving unit receives the calculation response packet 51 from the relay device 1. The output unit outputs the calculation result 42 to the control target based on the calculation response packet 51.

端末装置3と中継装置1間の通信における通信プロトコルは、TCPなど確認応答があ
る高信頼なものでも良い。
The communication protocol in the communication between the terminal device 3 and the relay device 1 may be a highly reliable one having an acknowledgment such as TCP.

中継装置1は、第一受信部10と、処理判定部11と、処理判定テーブル12と、演算
実行部13と、演算方法バッファ14と、演算方法要求部15と、第一送信部16と、要
求待機バッファ17と、第二受信部18と、パケット種別判定部19と、第二送信部20
とを備える。
The relay device 1 includes a first receiving unit 10, a processing determination unit 11, a processing determination table 12, a calculation execution unit 13, a calculation method buffer 14, a calculation method request unit 15, a first transmission unit 16, and the like. The request standby buffer 17, the second receiving unit 18, the packet type determining unit 19, and the second transmitting unit 20.
And.

第一受信部10は、端末装置3から演算処理を依頼する演算依頼パケット50などのパ
ケットを受信する。処理判定部11は、第一受信部10が受信する演算依頼パケット50
を参照し、中継装置1で演算処理が可能か否かを判定する。また、処理判定部11は、中
継装置1で演算処理が可能か否かの判定をするために、処理判定テーブル12を参照する
The first receiving unit 10 receives a packet such as a calculation request packet 50 for requesting a calculation process from the terminal device 3. The processing determination unit 11 receives the calculation request packet 50 received by the first reception unit 10.
It is determined whether or not the operation processing can be performed by the relay device 1 with reference to. Further, the processing determination unit 11 refers to the processing determination table 12 in order to determine whether or not the operation processing can be performed by the relay device 1.

ここで、処理判定テーブル12について、図2に加えて図3を参照して説明する。図3
は、実施形態1に係る処理判定テーブル12に記録されるデータの一例を示す図である。
Here, the processing determination table 12 will be described with reference to FIG. 3 in addition to FIG. Figure 3
Is a diagram showing an example of data recorded in the processing determination table 12 according to the first embodiment.

処理判定テーブル12は、例えば、演算方法43の演算ID31に対応付けて、演算方
法43が演算方法バッファ14に格納されているか否かを示すデータ(バッファデータ3
2)や、演算時間33と、参照回数34と、サイズ35などのデータを記録する。また、
処理判定テーブル12は、データを順に記録するリスト構造でもよいし、データを循環的
に記録するリングバッファ構造でも良い。さらに、演算方法バッファ14に、処理判定テ
ーブル12の情報を格納し、両者を統合しても良い。
The processing determination table 12 is, for example, data (buffer data 3) indicating whether or not the calculation method 43 is stored in the calculation method buffer 14 in association with the calculation ID 31 of the calculation method 43.
2), the calculation time 33, the number of references 34, the size 35, and other data are recorded. again,
The processing determination table 12 may have a list structure for sequentially recording data, or a ring buffer structure for cyclically recording data. Further, the information of the processing determination table 12 may be stored in the calculation method buffer 14 and both may be integrated.

演算ID31は、演算方法43を識別するために割り当てられる数字や、文字、記号で
ある。バッファデータ32は、演算方法43が演算方法バッファ14に格納されているか
否かを示すデータを記録している。例えば、図3の場合は0と1を用いて、演算方法43
が演算方法バッファ14に格納されていれば1、演算方法43が演算方法バッファ14に
格納されていなければ0と記録している。なお、演算方法43が演算方法バッファ14に
格納されているか否かを判定するための情報として、図では0と1を用いたが、これに限
らない。
The calculation ID 31 is a number, a character, or a symbol assigned to identify the calculation method 43. The buffer data 32 records data indicating whether or not the calculation method 43 is stored in the calculation method buffer 14. For example, in the case of FIG. 3, 0 and 1 are used, and the calculation method 43
Is recorded as 1 if is stored in the calculation method buffer 14, and 0 if the calculation method 43 is not stored in the calculation method buffer 14. Although 0 and 1 are used in the figure as information for determining whether or not the calculation method 43 is stored in the calculation method buffer 14, the present invention is not limited to this.

演算時間33は、中継装置1において演算処理を実行した場合に要する時間を示す。参
照回数34は、処理判定部11がバッファデータ32を処理判定テーブル12において参
照した回数を示す。つまり、参照回数34は、端末装置3からの演算依頼に使用される各
演算方法43の使用頻度、もしくは使用割合を示す。サイズ35は、演算方法43のデー
タのサイズ35を示す。
The calculation time 33 indicates the time required when the calculation process is executed in the relay device 1. The reference number 34 indicates the number of times that the processing determination unit 11 refers to the buffer data 32 in the processing determination table 12. That is, the number of references 34 indicates the frequency of use or the ratio of use of each calculation method 43 used for the calculation request from the terminal device 3. The size 35 indicates the size 35 of the data of the calculation method 43.

処理判定部11は、処理判定テーブル12に記録されているバッファデータ32を参照
し、バッファデータ32に基づいて、第一受信部10が受信する演算依頼パケット50に
対し演算処理を実行するか否かを判定する。つまり、処理判定部11は、処理判定テーブ
ル12を参照して、演算依頼パケット50に格納されている演算ID31を持つ演算方法
43が演算方法バッファ14に記憶されているか否かを判定し、演算依頼パケット50に
格納されている演算ID31を持つ演算方法43が演算方法バッファ14に記憶されてい
れば、中継装置1において演算処理が可能と判定する。
The processing determination unit 11 refers to the buffer data 32 recorded in the processing determination table 12, and based on the buffer data 32, whether or not to execute arithmetic processing on the arithmetic request packet 50 received by the first receiving unit 10. Is determined. That is, the processing determination unit 11 refers to the processing determination table 12 to determine whether or not the calculation method 43 having the calculation ID 31 stored in the calculation request packet 50 is stored in the calculation method buffer 14, and performs the calculation. If the calculation method 43 having the calculation ID 31 stored in the request packet 50 is stored in the calculation method buffer 14, it is determined that the relay device 1 can perform the calculation process.

他方、演算依頼パケット50に格納されている演算ID31を持つ演算方法43が演算
方法バッファ14に記憶されていなければ、中継装置1において演算処理が不可能と判定
する。
On the other hand, if the calculation method 43 having the calculation ID 31 stored in the calculation request packet 50 is not stored in the calculation method buffer 14, the relay device 1 determines that the calculation process is impossible.

さらに、処理判定部11は、中継装置1において演算処理が不可能と判定した場合、通
信装置2に対して演算方法43を要求するか否かを判定する。つまり、処理判定部11は
、例えば、参照回数34に基づいて、演算方法要求部15が演算方法要求パケット52を
生成するか否かを判定する。さらに、演算方法43を要求するか否かの判定には、例えば
処理判定テーブル12が記録する参照回数34や、サイズ35を用いた演算方法要求基準
を用いても良い。
Further, the processing determination unit 11 determines whether or not to request the calculation method 43 from the communication device 2 when the relay device 1 determines that the calculation processing is impossible. That is, the processing determination unit 11 determines whether or not the calculation method request unit 15 generates the calculation method request packet 52, for example, based on the number of references 34. Further, for determining whether or not to request the calculation method 43, for example, the number of references 34 recorded in the processing determination table 12 or the calculation method request standard using the size 35 may be used.

演算方法要求基準とは、演算方法43を通信装置2に要求するか否かの判定に用いる基
準であり、予め設定された任意の条件である。例えば、参照回数34が10回を超える場
合に演算方法を要求するとしても良いし、参照回数34が10回を超える、かつ、サイズ
35が100kBを超えない場合に、演算方法43を要求するとしても良い。
The calculation method requirement standard is a standard used for determining whether or not the calculation method 43 is requested from the communication device 2, and is an arbitrary condition set in advance. For example, the calculation method may be requested when the number of references 34 exceeds 10 times, or the calculation method 43 may be requested when the number of references 34 exceeds 10 times and the size 35 does not exceed 100 kB. Is also good.

つまり、演算方法要求基準とは、通信装置2で演算処理を実行するよりも、中継装置1
で演算処理を実行する方が応答時間の短縮に優れ、リアルタイムな制御ができると想定さ
れる演算方法43を選出する基準である。
That is, the calculation method requirement standard is the relay device 1 rather than executing the calculation process in the communication device 2.
It is a criterion for selecting the calculation method 43, which is assumed to be able to perform real-time control because the response time is shortened when the calculation process is executed by.

また、演算方法要求基準は、中継装置1が有する記憶部(図示しない)に記憶させても
良いし、処理判定テーブル12に記録し、演算方法要求基準を満たすか否かの項目を追加
しても良い。
Further, the calculation method requirement standard may be stored in a storage unit (not shown) of the relay device 1, recorded in the processing determination table 12, and an item of whether or not the calculation method requirement standard is satisfied is added. Is also good.

演算実行部13は、処理判定部11の判定に基づいて、第一受信部10が受信する演算
依頼パケット50に対し、演算処理を実行する。演算実行部13は、演算依頼パケット5
0に格納される演算ID31に基づいて、演算方法バッファ14から該当する演算方法4
3を参照し、演算依頼パケット50に格納される演算データ41に対し演算処理を実行す
る。また、演算実行部13は、演算実行結果を格納する演算返答パケット51を生成する
The calculation execution unit 13 executes a calculation process for the calculation request packet 50 received by the first reception unit 10 based on the determination of the processing judgment unit 11. The calculation execution unit 13 is a calculation request packet 5
Based on the calculation ID 31 stored in 0, the corresponding calculation method 4 is performed from the calculation method buffer 14.
With reference to No. 3, the arithmetic processing is executed on the arithmetic data 41 stored in the arithmetic request packet 50. In addition, the calculation execution unit 13 generates a calculation response packet 51 for storing the calculation execution result.

演算方法バッファ14は、第一受信部10が受信する演算依頼パケット50を演算処理
するための演算方法43を格納する。また、後述する第二受信部18が演算方法43を受
信する場合、新たに演算方法43を格納する。演算方法バッファ14は、データを順に記
録するリスト構造でもよいし、データを循環的に記録するリングバッファ構造でも良い。
演算方法バッファ14に、処理判定テーブル12の情報を格納し、両者を統合しても良い
The calculation method buffer 14 stores a calculation method 43 for arithmetically processing the calculation request packet 50 received by the first receiving unit 10. Further, when the second receiving unit 18 described later receives the calculation method 43, the calculation method 43 is newly stored. The calculation method buffer 14 may have a list structure for sequentially recording data, or a ring buffer structure for cyclically recording data.
The information of the processing determination table 12 may be stored in the calculation method buffer 14 and both may be integrated.

演算方法要求部15は、第一受信部10が受信した演算依頼パケット50が要求する演
算処理の演算方法を通信装置2から受信するための要求をする演算方法要求パケット52
を生成する。つまり、演算方法要求部15は、演算依頼パケット50から演算ID31を
参照し、通信装置2に対し、演算方法43を要求するための演算方法要求パケット52を
生成する。また、演算方法要求部15は、生成した演算方法要求パケット52を第一送信
部16に送信し、演算依頼パケット50を要求待機バッファ17に格納する。
The calculation method request unit 15 makes a request for receiving the calculation method of the calculation process requested by the calculation request packet 50 received by the first reception unit 10 from the communication device 2. The calculation method request packet 52.
To generate. That is, the calculation method request unit 15 refers to the calculation ID 31 from the calculation request packet 50, and generates the calculation method request packet 52 for requesting the calculation method 43 from the communication device 2. Further, the calculation method request unit 15 transmits the generated calculation method request packet 52 to the first transmission unit 16, and stores the calculation request packet 50 in the request standby buffer 17.

第一送信部16は、パケットを通信装置2に送信する。第一送信部16は、処理判定部
11から受信する演算依頼パケット50、或いは演算方法要求部15から受信する演算方
法要求パケット52を通信装置2に送信する。例えば、第一送信部16は、処理判定部1
1が参照回数34に基づいて演算方法要求パケット52を生成しないと判定する場合、第
一受信部10が受信する演算依頼パケット50を通信装置2に送信する。
The first transmission unit 16 transmits the packet to the communication device 2. The first transmission unit 16 transmits the calculation request packet 50 received from the processing determination unit 11 or the calculation method request packet 52 received from the calculation method request unit 15 to the communication device 2. For example, the first transmission unit 16 is the processing determination unit 1.
When 1 determines that the calculation method request packet 52 is not generated based on the number of references 34, the calculation request packet 50 received by the first receiving unit 10 is transmitted to the communication device 2.

要求待機バッファ17は、演算方法43を通信装置2に要求中の演算依頼パケット50
を一時的に格納する。演算方法バッファ14に、新たに演算方法43が格納された場合、
演算実行部13は、新たに格納された演算方法43の演算ID31が格納されている演算
依頼パケット50を要求待機バッファ17から取り出し、演算処理を実行する。また、要
求待機バッファ17は、データを順に記録するリスト構造でもよいし、データを循環的に
記録するリングバッファ構造でも良い。
The request standby buffer 17 requests the calculation method 43 from the communication device 2 for the calculation request packet 50.
Is temporarily stored. When the calculation method 43 is newly stored in the calculation method buffer 14,
The calculation execution unit 13 takes out the calculation request packet 50 in which the calculation ID 31 of the newly stored calculation method 43 is stored from the request standby buffer 17, and executes the calculation process. Further, the request standby buffer 17 may have a list structure for sequentially recording data, or a ring buffer structure for cyclically recording data.

第二受信部18は、通信装置2からパケットを受信する。第二受信部18は、例えば、
演算方法要求部15が生成する演算方法要求パケット52に基づいて、演算方法43が格
納されている演算方法返答パケットを前記通信装置2から受信する。
The second receiving unit 18 receives the packet from the communication device 2. The second receiver 18, for example,
Based on the calculation method request packet 52 generated by the calculation method request unit 15, the calculation method reply packet in which the calculation method 43 is stored is received from the communication device 2.

パケット種別判定部19は、第二受信部18が受信するパケットに格納されている、パ
ケットの種別を識別するためのパケットID40を参照し、パケットの種別を判定する。
例えば、パケットが演算返答パケット51の場合、パケット種別判定部19は、演算返答
パケット51を第二送信部20へ送信する。また、例えば、パケットが演算方法返答パケ
ット53の場合には、パケット種別判定部19は、演算方法返答パケット53に格納され
る演算方法43を演算方法バッファ14に格納し、処理判定テーブル12のバッファデー
タ32を演算方法43が演算方法バッファ14に格納されていることを示すデータに書き
換える。
The packet type determination unit 19 determines the packet type by referring to the packet ID 40 for identifying the packet type stored in the packet received by the second receiving unit 18.
For example, when the packet is an arithmetic response packet 51, the packet type determination unit 19 transmits the arithmetic response packet 51 to the second transmission unit 20. Further, for example, when the packet is the calculation method reply packet 53, the packet type determination unit 19 stores the calculation method 43 stored in the calculation method reply packet 53 in the calculation method buffer 14, and the buffer of the processing determination table 12 The data 32 is rewritten with data indicating that the calculation method 43 is stored in the calculation method buffer 14.

通信装置2から中継装置1に対して演算実行内容を送信する際は、プログラムの実行フ
ァイルやCSV (Comma-Separated Values) ファイルなどの中継装置1においても通信装
置2においても実行可能なプログラムや読み取り可能なデータファイルに限られることを
避けるために、中継装置1にプログラムのソースコードをコンパイルするコンパイル部(
図示しない)を持たせても良い。
When transmitting the calculation execution content from the communication device 2 to the relay device 1, a program or reading that can be executed by both the relay device 1 and the communication device 2 such as a program execution file or a CSV (Comma-Separated Values) file. A compilation unit that compiles the source code of the program on the relay device 1 in order to avoid being limited to possible data files.
(Not shown) may be provided.

第二送信部20は、パケットを端末装置3に送信する。第二通信部は、例えば、演算実
行部13が演算処理した演算処理結果が格納される演算返答パケット51を端末装置3に
送信する。
The second transmission unit 20 transmits the packet to the terminal device 3. The second communication unit transmits, for example, an arithmetic response packet 51 in which the arithmetic processing result of the arithmetic processing performed by the arithmetic execution unit 13 is stored to the terminal device 3.

通信装置2は、通信装置受信部21と、通信装置パケット種別判定部22と、通信装置
演算実行部23と、通信装置演算方法バッファ24と、演算方法返答部25と、通信装置
送信部26とを備える。
The communication device 2 includes a communication device reception unit 21, a communication device packet type determination unit 22, a communication device calculation execution unit 23, a communication device calculation method buffer 24, a calculation method response unit 25, and a communication device transmission unit 26. To be equipped.

通信装置受信部21は、中継装置1から、例えば演算依頼パケット50や、演算方法要
求パケット52などのパケットを受信する。
The communication device receiving unit 21 receives a packet such as a calculation request packet 50 or a calculation method request packet 52 from the relay device 1.

通信装置パケット種別判定部22は、通信装置受信部21が受信するパケットに格納さ
れている、パケットの種別を識別するためのパケットID40を参照し、パケットの種別
を判定する。例えば、パケットが演算依頼パケット50の場合、通信装置パケット種別判
定部22は、パケットを通信装置演算実行部23に送信する。また、パケットが演算方法
要求パケット52の場合、通信装置パケット種別判定部22は、パケットを演算方法返答
部25に送信する。
The communication device packet type determination unit 22 determines the packet type by referring to the packet ID 40 for identifying the packet type stored in the packet received by the communication device reception unit 21. For example, when the packet is the calculation request packet 50, the communication device packet type determination unit 22 transmits the packet to the communication device calculation execution unit 23. When the packet is the calculation method request packet 52, the communication device packet type determination unit 22 transmits the packet to the calculation method response unit 25.

通信装置演算実行部23は、演算依頼パケット50に格納される演算ID31に基づい
て、通信装置演算方法バッファ24から該当する演算方法43を参照し、演算依頼パケッ
ト50に格納される演算データ41に対し演算処理を実行する。また、通信装置演算実行
部23は、演算実行結果を格納する演算返答パケット51を生成する。
The communication device calculation execution unit 23 refers to the corresponding calculation method 43 from the communication device calculation method buffer 24 based on the calculation ID 31 stored in the calculation request packet 50, and displays the calculation data 41 stored in the calculation request packet 50. On the other hand, the arithmetic processing is executed. Further, the communication device calculation execution unit 23 generates an calculation response packet 51 for storing the calculation execution result.

通信装置演算方法バッファ24には、演算ID31と演算方法43が対応付けられて格
納される。通信装置演算方法バッファ24は、データを順に記録するリスト構造でもよい
し、データを循環的に記録するリングバッファ構造でも良い。
The calculation ID 31 and the calculation method 43 are stored in association with each other in the communication device calculation method buffer 24. The communication device calculation method buffer 24 may have a list structure for sequentially recording data, or a ring buffer structure for cyclically recording data.

演算方法返答部25は、演算方法要求パケット52から演算ID31を参照し、該当す
る演算方法43を通信装置演算方法バッファ24から複製する。また、演算方法返答部2
5は、複製した演算方法43を格納した演算方法返答パケット53を生成し、通信装置送
信部26へ送信する。
The calculation method response unit 25 refers to the calculation ID 31 from the calculation method request packet 52, and duplicates the corresponding calculation method 43 from the communication device calculation method buffer 24. In addition, the calculation method response unit 2
5 generates a calculation method reply packet 53 storing the duplicated calculation method 43 and transmits it to the communication device transmission unit 26.

通信装置送信部26は、中継装置1に、例えば演算返答パケット51や、演算方法返答
パケット53などのパケットを送信する。
The communication device transmission unit 26 transmits a packet such as a calculation reply packet 51 or a calculation method reply packet 53 to the relay device 1.

端末装置3、中継装置1、通信装置2の各機能は、バスで接続されたCPU(Central
Processing Unit)やメモリや補助記憶装置などを利用したソフトウェアで実現されても
良いし、ASIC(Application Specific Integrated Circuit)やPLD(Programmabl
e Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用
いて実現されても良い。また、ソフトウェアとハードウェアの組み合わせにより実現され
ても良い。
Each function of the terminal device 3, the relay device 1, and the communication device 2 is a CPU (Central) connected by a bus.
It may be realized by software that uses a processing unit), memory, auxiliary storage device, etc., or it may be realized by ASIC (Application Specific Integrated Circuit) or PLD (Programmabl).
It may be realized by using hardware such as e Logic Device) or FPGA (Field Programmable Gate Array). Further, it may be realized by a combination of software and hardware.

通信装置2は、インターネット上に仮想的に構築され、CPUやメモリ等のリソースを
動的に増減可能なクラウドサーバとして構成しても良い。また、各装置のソフトウェアを
格納する媒体は、コンピュータシステムに内蔵されるHDD(Hard Disc Drive)やSS
D(Solid State Drive)等の補助記憶装置を用いて実現されても良いし、RAM(Rando
m Access Memory)等の主記憶装置を用いて実現されても良い。
The communication device 2 may be configured as a cloud server that is virtually constructed on the Internet and can dynamically increase or decrease resources such as a CPU and memory. The medium for storing the software of each device is the HDD (Hard Disc Drive) or SS built in the computer system.
It may be realized by using an auxiliary storage device such as D (Solid State Drive), or RAM (Rando).
It may be realized by using a main storage device such as m Access Memory).

次に、図4から図7を参照して、各パケットの構成について説明する。なお、重複する
説明は適宜省略する。図4は、実施形態1に係る演算依頼パケット50の構成の一例を示
す図である。
Next, the configuration of each packet will be described with reference to FIGS. 4 to 7. The duplicated description will be omitted as appropriate. FIG. 4 is a diagram showing an example of the configuration of the calculation request packet 50 according to the first embodiment.

演算依頼パケット50は、端末装置3から通信装置2に演算を依頼するためのパケット
であり、パケットID40を格納するフィールドと、演算ID31を格納するフィールド
と、演算データ41を格納するフィールドとを備える。
The calculation request packet 50 is a packet for requesting a calculation from the terminal device 3 to the communication device 2, and includes a field for storing the packet ID 40, a field for storing the calculation ID 31, and a field for storing the calculation data 41. ..

パケットID40は、パケットの種別を識別するための数字や記号である。また、パケ
ットID40は、パケットの種別を識別するためだけでなく、個々のパケットを識別する
ための数字や文字、記号を用いても良い。
The packet ID 40 is a number or symbol for identifying the type of packet. Further, the packet ID 40 may use numbers, characters, and symbols not only for identifying the packet type but also for identifying individual packets.

演算ID31は、演算方法43を識別するための数字や文字、記号である。演算データ
41は、演算処理の対象となるデータ、または演算処理に必要なデータである。
The calculation ID 31 is a number, a character, or a symbol for identifying the calculation method 43. The arithmetic data 41 is data that is the target of arithmetic processing or data that is necessary for arithmetic processing.

図5は、実施形態1に係る演算返答パケット51の構成の一例を示す図である。演算返
答パケット51は、通信装置2、または中継装置1が実行した演算結果42を端末装置3
に送信するためのパケットであり、パケットID40を格納するフィールドと、演算結果
42を格納するフィールドを備える。演算結果42は、通信装置2、または中継装置1が
実行した演算処理の結果である。
FIG. 5 is a diagram showing an example of the configuration of the operation response packet 51 according to the first embodiment. The calculation response packet 51 uses the calculation result 42 executed by the communication device 2 or the relay device 1 as the terminal device 3.
It is a packet to be transmitted to, and includes a field for storing the packet ID 40 and a field for storing the calculation result 42. The calculation result 42 is the result of the calculation processing executed by the communication device 2 or the relay device 1.

図6は、実施形態1に係る演算方法要求パケット52の構成の一例を示す図である。演
算方法要求パケット52は、中継装置1が通信装置2に対して演算方法43を要求するた
めのパケットであり、パケットID40を格納するフィールドと、演算ID31を格納す
るフィールドとを備える。
FIG. 6 is a diagram showing an example of the configuration of the calculation method request packet 52 according to the first embodiment. The calculation method request packet 52 is a packet for the relay device 1 to request the calculation method 43 from the communication device 2, and includes a field for storing the packet ID 40 and a field for storing the calculation ID 31.

図7は、実施形態1に係る演算方法返答パケットの構成の一例を示す図である。演算方
法返答パケット53は、通信装置2が中継装置1に演算方法43を送信するためのパケッ
トであり、パケットID40を格納するフィールドと、演算ID31を格納するフィール
ドと、演算方法43を格納するフィールドとを備える。演算方法43は、演算をするため
の方法、例えばプログラムなどである。
FIG. 7 is a diagram showing an example of the configuration of the calculation method response packet according to the first embodiment. The calculation method reply packet 53 is a packet for the communication device 2 to transmit the calculation method 43 to the relay device 1, and is a field for storing the packet ID 40, a field for storing the calculation ID 31, and a field for storing the calculation method 43. And. The calculation method 43 is a method for performing a calculation, such as a program.

例えば伝送処理システム4を駅務システムに適用し、運賃計算処理に関するデータ通信
を行う場合、演算データ41には入場駅と出場駅のIDが格納され、演算結果42には金
額が格納され、演算方法には運賃計算プログラムが格納される。運賃計算プログラムとい
った演算方法43の送信は、演算方法43にプログラムを格納しても良いし、FTP(Fil
e Transfer Protocol)やSFTP(SSH File Transfer Protocol)などのファイル転送プロ
トコルを用いてファイルを送信しても良い。ファイル転送プロトコルを用いてプログラム
を転送する時は、演算方法43にはファイル名が格納される。
For example, when the transmission processing system 4 is applied to the station affairs system and data communication related to the fare calculation processing is performed, the IDs of the entrance station and the exit station are stored in the calculation data 41, and the amount is stored in the calculation result 42. The fare calculation program is stored in the method. For transmission of the calculation method 43 such as a fare calculation program, the program may be stored in the calculation method 43, or FTP (Fil) may be stored.
Files may be transmitted using a file transfer protocol such as e Transfer Protocol) or FTPP (SSH File Transfer Protocol). When the program is transferred using the file transfer protocol, the file name is stored in the calculation method 43.

次に、図8を参照して、処理判定部11が行う判定の流れを説明する。図8は、実施形
態1に係る処理判定部11が実行する判定の流れの一例を示すフローチャートである。
Next, the flow of determination performed by the processing determination unit 11 will be described with reference to FIG. FIG. 8 is a flowchart showing an example of a determination flow executed by the processing determination unit 11 according to the first embodiment.

まず、処理判定部11は、演算依頼パケット50を受信したか否かを判定する(ステッ
プS100)。処理判定部11は、演算依頼パケット50を受信した場合(ステップS1
00、Yes)、演算依頼パケット50に格納されている演算ID31を参照する(ステ
ップS101)。他方、演算依頼パケット50を受信しない場合(ステップS100、N
o)、処理を開始ステップに戻す。
First, the processing determination unit 11 determines whether or not the calculation request packet 50 has been received (step S100). When the processing determination unit 11 receives the calculation request packet 50 (step S1)
00, Yes), the calculation ID 31 stored in the calculation request packet 50 is referred to (step S101). On the other hand, when the calculation request packet 50 is not received (steps S100, N).
o) Return the process to the start step.

次に、処理判定部11は、中継装置1で演算が可能か否かを判定する(ステップS10
2)。処理判定部11は、処理判定テーブル12を参照し、ステップS101で参照した
演算ID31に対応付けられた演算方法43が、演算方法バッファ14に格納されている
か否かを示すデータ(バッファデータ32)を参照し、演算方法43が演算方法バッファ
14に格納されているか否かを判定する。
Next, the processing determination unit 11 determines whether or not the operation can be performed by the relay device 1 (step S10).
2). The processing determination unit 11 refers to the processing determination table 12, and data indicating whether or not the calculation method 43 associated with the calculation ID 31 referred to in step S101 is stored in the calculation method buffer 14 (buffer data 32). It is determined whether or not the calculation method 43 is stored in the calculation method buffer 14 with reference to.

処理判定部11は、演算方法43が演算方法バッファ14に格納されていれば、中継装
置1で演算可能と判定し(ステップS102、Yes)、演算方法43が演算方法バッフ
ァ14に格納されていなければ、中継装置1で演算可能ではないと判定する(ステップS
102、No)。
If the calculation method 43 is stored in the calculation method buffer 14, the processing determination unit 11 determines that the relay device 1 can perform the calculation (step S102, Yes), and the calculation method 43 must be stored in the calculation method buffer 14. For example, it is determined that the relay device 1 cannot perform the calculation (step S).
102, No).

また、処理判定部11は、処理判定テーブル12を参照する際に、ステップS101で
参照した演算ID31に対応付けられた参照回数34のデータをカウントアップする(図
示しない)。なお、このカウントアップする機能は、処理判定部11ではなく処理判定テ
ーブル12に持たせても良い。
Further, when referring to the processing determination table 12, the processing determination unit 11 counts up the data of the number of references 34 associated with the calculation ID 31 referenced in step S101 (not shown). The function of counting up may be provided in the processing determination table 12 instead of the processing determination unit 11.

処理判定部11は、中継装置1で演算可能と判定した場合(ステップS102、Yes
)、演算依頼パケット50を演算実行部13に送信し(ステップS103)、処理を終了
させる。他方、処理判定部11は、中継装置1で演算不可能と判定した場合(ステップS
102、No)、処理判定テーブル12のデータを参照し、演算方法要求基準に従って通
信装置2に演算方法43を要求するか否かを判定する(ステップS104)。
When the processing determination unit 11 determines that the relay device 1 can perform the calculation (step S102, Yes).
), The calculation request packet 50 is transmitted to the calculation execution unit 13 (step S103), and the process is terminated. On the other hand, when the processing determination unit 11 determines that the relay device 1 cannot perform the calculation (step S).
102, No), the data in the processing determination table 12 is referred to, and it is determined whether or not to request the calculation method 43 from the communication device 2 according to the calculation method request standard (step S104).

処理判定部11は、演算方法要求基準に従って、演算方法43を要求すると判定した場
合(ステップS104、Yes)、演算依頼パケット50を演算方法要求部15に送信し
、処理を終了させる(ステップS105)。他方、処理判定部11は、演算方法要求基準
に従って、演算方法43を要求しないと判定した場合(ステップS104、No)、演算
依頼パケット50を第一送信部16に送信し、処理を終了させる。
When the processing determination unit 11 determines that the calculation method 43 is requested according to the calculation method request standard (step S104, Yes), the processing determination unit 11 transmits the calculation request packet 50 to the calculation method request unit 15 and ends the processing (step S105). .. On the other hand, when the processing determination unit 11 determines that the calculation method 43 is not requested according to the calculation method request standard (step S104, No), the processing determination unit 11 transmits the calculation request packet 50 to the first transmission unit 16 and ends the processing.

以上説明した実施形態1の伝送処理システム4によれば、通信装置2で実行されていた
演算処理の一部を中継装置1で実行することにより、通信装置2の負担を減少させことが
でき、また、中継装置1と通信装置2との間での通信量を減少させることができる。その
結果、応答時間の短縮に優れ、リアルタイムな制御を行うことができる。
According to the transmission processing system 4 of the first embodiment described above, the load on the communication device 2 can be reduced by executing a part of the arithmetic processing executed by the communication device 2 on the relay device 1. Further, the amount of communication between the relay device 1 and the communication device 2 can be reduced. As a result, the response time is excellently shortened, and real-time control can be performed.

(実施形態2)
次に、実施形態2について説明する。なお、実施形態1と同一の構成には同一の符号を
付し、重複する説明は適宜省略する。実施形態2は、図2に示した中継装置1の機能構成
に、負荷計測部90を追加した構成になる。
(Embodiment 2)
Next, the second embodiment will be described. The same components as those in the first embodiment are designated by the same reference numerals, and duplicate description will be omitted as appropriate. The second embodiment has a configuration in which the load measuring unit 90 is added to the functional configuration of the relay device 1 shown in FIG.

図9は、実施形態2に係る伝送処理システム4における各装置の機能構成の一例を示す
ブロック図である。負荷計測部90は、中継装置1と通信装置2間のネットワークにかか
る負荷を計測し、計測結果を処理判定部11に送信する。処理判定部11は、処理判定テ
ーブル12のデータに加え、負荷計測部90が計測したネットワーク負荷データに基づい
て、実施形態1で説明した判定を行う。
FIG. 9 is a block diagram showing an example of the functional configuration of each device in the transmission processing system 4 according to the second embodiment. The load measuring unit 90 measures the load applied to the network between the relay device 1 and the communication device 2, and transmits the measurement result to the processing determination unit 11. The processing determination unit 11 makes the determination described in the first embodiment based on the network load data measured by the load measurement unit 90 in addition to the data in the processing determination table 12.

負荷計測部90は、第一送信部16が演算依頼パケットや、演算方法要求パケットなど
のパケットを送信し、第二受信部18が当該パケットに対する返答であるパケットを受信
するまでの通信時間を、計測する。また、負荷計測部90は、通信時間を計測することに
より、パケットロス率を算出する。
The load measurement unit 90 sets the communication time until the first transmission unit 16 transmits a packet such as a calculation request packet or a calculation method request packet, and the second reception unit 18 receives a packet that is a response to the packet. measure. Further, the load measuring unit 90 calculates the packet loss rate by measuring the communication time.

よって、処理判定部11は、負荷計測部90の計測データを参照する際に、第一送信部
16がパケットを送信した時刻から一定時間経過しても、例えば、100ms経過しても
第二受信部18が当該パケットに対する返答を含むパケットを受信しない場合は、パケッ
トがロストした(パケットロス)と判定する。つまり、処理判定部11は、通信時間63
が算出されていないパケットは、ロストしたと判定する。
Therefore, when the processing determination unit 11 refers to the measurement data of the load measurement unit 90, the second reception is performed even if a certain time elapses from the time when the first transmission unit 16 transmits the packet, for example, 100 ms elapses. When the unit 18 does not receive the packet including the reply to the packet, it is determined that the packet is lost (packet loss). That is, the processing determination unit 11 has a communication time of 63.
Packets for which is not calculated are determined to be lost.

ここで、図10を参照して、負荷計測部90が計測する計測データについて説明する。
図10は、実施形態2に係る負荷計測部90が計測する計測データの一例を示す図である
。例えば、負荷計測部90は、パケットID40に対応付けて、第一送信部16がパケッ
トを送信した時刻(第一送信部送信時刻61)と、第二受信部18がパケットに対する返
答を含むパケットを受信した時刻(第二受信部受信時刻62)を記録する。
Here, the measurement data measured by the load measuring unit 90 will be described with reference to FIG.
FIG. 10 is a diagram showing an example of measurement data measured by the load measuring unit 90 according to the second embodiment. For example, the load measurement unit 90 associates the packet ID 40 with the time when the first transmission unit 16 transmits the packet (first transmission unit transmission time 61) and the second reception unit 18 includes a response to the packet. The reception time (second receiver reception time 62) is recorded.

この場合、パケットID40は、パケットの種別を識別するための数字や記号と、個々
のパケットを識別するための数字や文字、記号を含み、第一送信部16が送信するパケッ
トと、パケットに対する返答を含むパケットは、同一の個々のパケットを識別するための
数字や文字、記号を有する。
In this case, the packet ID 40 includes a number or symbol for identifying the type of packet and a number, character or symbol for identifying each packet, and the packet transmitted by the first transmission unit 16 and a response to the packet. Packets containing are having numbers, letters, or symbols to identify the same individual packet.

さらに、負荷計測部90は、第一送信部送信時刻61と第二受信部受信時刻62の時刻
の差から算出した時間を通信時間63として記録する。
Further, the load measuring unit 90 records the time calculated from the time difference between the first transmitting unit transmitting time 61 and the second receiving unit receiving time 62 as the communication time 63.

処理判定部11は、負荷計測部90が計測する通信時間63に基づいて、演算方法要求
部15が演算方法要求パケット52を生成するか否かを判定する。処理判定部11は、図
8を参照して説明したステップS104の判定を行う際に、負荷計測部90の計測データ
を参照する。例えば、処理判定部11は、演算方法要求基準に加えて、通信時間63、パ
ケットロスの少なくともどちらか一方に基づいて、演算方法43を通信装置2に要求する
か否かを判定しても良い。
The processing determination unit 11 determines whether or not the calculation method request unit 15 generates the calculation method request packet 52 based on the communication time 63 measured by the load measurement unit 90. The processing determination unit 11 refers to the measurement data of the load measurement unit 90 when performing the determination in step S104 described with reference to FIG. For example, the processing determination unit 11 may determine whether or not to request the calculation method 43 from the communication device 2 based on at least one of the communication time 63 and the packet loss in addition to the calculation method request standard. ..

例えば、処理判定部11は、一定時間における通信時間63の平均値が閾値を超えるか
否かに基づいて、演算方法43を通信装置2に要求するか否かを判定するとしても良い。
For example, the processing determination unit 11 may determine whether or not the calculation method 43 is requested from the communication device 2 based on whether or not the average value of the communication time 63 in a certain time exceeds the threshold value.

また、例えば、処理判定部11は、一定時間におけるパケットロス率が閾値を超えるか
否かに基づいて、演算方法を通信装置2に要求するか否かを判定するとしても良い。
Further, for example, the processing determination unit 11 may determine whether or not to request the communication device 2 for the calculation method based on whether or not the packet loss rate in a certain time exceeds the threshold value.

さらに、例えば、処理判定部11は、一定時間における通信時間63の平均値が閾値を
超えるか否かと、一定時間におけるパケットロス率が閾値を超えるか否かに基づいて、演
算方法を通信装置2に要求するか否かを判定するとしても良い。
Further, for example, the processing determination unit 11 uses the communication device 2 as a calculation method based on whether or not the average value of the communication time 63 in a certain time exceeds the threshold value and whether or not the packet loss rate in a certain time exceeds the threshold value. It may be determined whether or not the request is made to.

以上説明した実施形態2の伝送処理システム4によれば、中継装置1と通信装置2間の
通信に係る負荷を計測することにより、中継装置1と通信装置2間の通信に係る負荷が大
きい場合には、中継装置1と通信装置2との間でのパケット通信量を減少させることがで
き、その結果、応答時間の短縮に優れ、リアルタイムな制御を行うことができる。
According to the transmission processing system 4 of the second embodiment described above, when the load related to the communication between the relay device 1 and the communication device 2 is large by measuring the load related to the communication between the relay device 1 and the communication device 2. The packet communication amount between the relay device 1 and the communication device 2 can be reduced, and as a result, the response time can be shortened and real-time control can be performed.

なお、上記した実施形態1、2に係る伝送処理システム4における処理はいくつかのソ
フトウェアによって実行することが可能である。このため、上記処理の手順を実行するい
くつかのプログラムを格納したコンピュータ読み取り可能な記憶媒体を通じてこれらプロ
グラムを中継装置1へインストールして実行するだけで、上記処理を容易に実現すること
ができる。例えば、中継装置1は、上記プログラムをネットワーク経由でダウンロードし
、ダウンロードしたプログラムを記憶し、プログラムのインストールを完了することがで
きる。或いは、中継装置1は、上記プログラムを情報記憶媒体から読み取り、読み取った
プログラムを記憶し、プログラムのインストールを完了することができる。
The processing in the transmission processing system 4 according to the above-described first and second embodiments can be executed by some software. Therefore, the above-mentioned processing can be easily realized only by installing and executing these programs in the relay device 1 through a computer-readable storage medium in which some programs for executing the above-mentioned processing procedure are stored. For example, the relay device 1 can download the above program via the network, store the downloaded program, and complete the installation of the program. Alternatively, the relay device 1 can read the program from the information storage medium, store the read program, and complete the installation of the program.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。
以下、本願の出願当初の特許請求の範囲に記載された発明を付記する。
[C1]
端末装置と受信したパケットに対して所望の演算を行う通信装置間の通信の中継を行う中継装置であって、
前記端末装置から演算処理を依頼する演算依頼パケットを受信する第一受信部と、
前記第一受信部が受信する演算依頼パケットを演算処理するための演算方法が格納される演算方法バッファと、
前記演算方法が前記演算方法バッファに格納されているか否かを示すバッファデータが記録される処理判定テーブルと、
前記処理判定テーブルに記録されているバッファデータを参照し、前記バッファデータに基づいて、前記第一受信部が受信する演算依頼パケットに対し演算処理を実行するか否かを判定する処理判定部と、
前記処理判定部の判定に基づいて、前記第一受信部が受信する演算依頼パケットに対し、演算処理を実行する演算実行部と、
前記演算実行部が演算処理した演算処理結果が格納される演算返答パケットを端末装置に送信する第二送信部と、
を備える中継装置。
[C2]
前記第一受信部が受信した演算依頼パケットが要求する演算処理の演算方法を前記通信装置から受信するための依頼をする演算方法要求パケットを生成する演算方法要求部と、
前記演算方法要求部が生成する演算方法要求パケットを前記通信装置に送信する第一送信部と、
前記演算方法要求パケットに基づいて、前記演算方法が格納されている演算方法返答パケットを前記通信装置から受信する第二受信部と、
をさらに備える[C1]に記載の中継装置。
[C3]
前記処理判定テーブルは、前記バッファデータが参照された回数を示す参照回数を、前記演算方法を識別するための演算IDに対応付けてさらに記録し、
前記処理判定部は、前記参照回数に基づいて、前記演算方法要求部が前記演算方法要求パケットを生成するか否かを判定する、
[C2]に記載の中継装置。
[C4]
前記第一送信部は、前記処理判定部が前記参照回数に基づいて前記演算方法要求パケットを生成しないと判定する場合、前記第一受信部が受信する演算依頼パケットを前記通信装置に送信する、
[C3]に記載の中継装置。
[C5]
前記第一送信部がパケットを送信し、第二受信部が前記パケットに対する返答であるパケットを受信するまでの通信時間を計測する負荷計測部、をさらに備える、
[C4]に記載の中継装置。
[C6]
前記処理判定部は、前記負荷計測部が計測する通信時間に基づいて、前記演算方法要求部が前記演算方法要求パケットを生成するか否かを判定する、
[C5]に記載の中継装置。
[C7]
端末装置と受信したパケットに対して所望の演算を行う通信装置間の通信の中継を行う中継装置として動作するコンピュータに、
前記端末装置から演算処理を依頼する演算依頼パケットを受信する手段と、
前記演算依頼パケットを演算処理するための演算方法を演算方法バッファに格納する手段と、
前記演算方法が前記演算方法バッファに格納されているか否かを示すバッファデータを処理判定テーブルに記録する手段と、
前記処理判定テーブルに記録されているバッファデータを参照し、前記バッファデータに基づいて、演算依頼パケットに対し演算処理を実行するか否かを判定する手段と、
前記判定に基づいて、前記演算依頼パケットに対し、演算処理を実行する手段と、
演算処理した演算処理結果が格納される演算返答パケットを端末装置に送信する手段と、
を実行させる伝送処理プログラム。
Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, as well as in the scope of the invention described in the claims and the equivalent scope thereof.
Hereinafter, the inventions described in the claims at the time of filing the application of the present application will be added.
[C1]
A relay device that relays communication between a terminal device and a communication device that performs a desired operation on a received packet.
A first receiving unit that receives an arithmetic request packet for requesting arithmetic processing from the terminal device,
An arithmetic method buffer that stores an arithmetic method for arithmetically processing an arithmetic request packet received by the first receiving unit, and an arithmetic method buffer.
A processing determination table in which buffer data indicating whether or not the calculation method is stored in the calculation method buffer is recorded, and
With reference to the buffer data recorded in the processing determination table, a processing determination unit that determines whether or not to execute arithmetic processing on the arithmetic request packet received by the first receiving unit based on the buffer data. ,
Based on the determination of the processing determination unit, the calculation execution unit that executes the calculation processing for the calculation request packet received by the first reception unit, and the calculation execution unit.
A second transmission unit that transmits an operation response packet in which the operation processing result processed by the operation execution unit is stored to the terminal device, and a second transmission unit.
A relay device equipped with.
[C2]
An arithmetic method requesting unit for generating an arithmetic method request packet for requesting to receive an arithmetic processing arithmetic method requested by the arithmetic request packet received by the first receiving unit from the communication device, and an arithmetic method requesting unit.
The first transmission unit that transmits the calculation method request packet generated by the calculation method request unit to the communication device, and
Based on the calculation method request packet, a second receiving unit that receives the calculation method reply packet in which the calculation method is stored from the communication device, and
The relay device according to [C1].
[C3]
The processing determination table further records the number of references indicating the number of times the buffer data has been referenced in association with the calculation ID for identifying the calculation method.
The processing determination unit determines whether or not the calculation method request unit generates the calculation method request packet based on the number of references.
The relay device according to [C2].
[C4]
When the processing determination unit determines that the calculation method request packet is not generated based on the number of references, the first transmission unit transmits the calculation request packet received by the first reception unit to the communication device.
The relay device according to [C3].
[C5]
The load measuring unit further includes a load measuring unit that measures the communication time until the first transmitting unit transmits a packet and the second receiving unit receives a packet that is a response to the packet.
The relay device according to [C4].
[C6]
The processing determination unit determines whether or not the calculation method request unit generates the calculation method request packet based on the communication time measured by the load measurement unit.
The relay device according to [C5].
[C7]
For a computer that operates as a relay device that relays communication between a terminal device and a communication device that performs a desired operation on a received packet.
A means for receiving an operation request packet for requesting an operation process from the terminal device, and
A means for storing the calculation method for processing the calculation request packet in the calculation method buffer, and
A means for recording buffer data indicating whether or not the calculation method is stored in the calculation method buffer in the processing determination table, and
A means for determining whether or not to execute arithmetic processing on an arithmetic request packet based on the buffer data by referring to the buffer data recorded in the processing determination table.
A means for executing arithmetic processing on the arithmetic request packet based on the determination, and
A means for transmitting an arithmetic response packet that stores an arithmetic processing result that has been arithmetically processed to a terminal device,
Transmission processing program to execute.

1 中継装置
2 通信装置
3 端末装置
4 伝送処理システム
10 第一受信部
11 処理判定部
12 処理判定テーブル
13 演算実行部
14 演算方法バッファ
15 演算方法要求部
16 第一送信部
17 要求待機バッファ
18 第二受信部
19 パケット種別判定部
20 第二送信部
21 通信装置受信部
22 通信装置パケット種別判定部
23 通信装置演算実行部
24 通信装置演算方法バッファ
25 演算方法返答部
26 通信装置送信部
32 バッファデータ
33 演算時間
35 サイズ
41 演算データ
42 演算結果
43 演算方法
50 演算依頼パケット
51 演算返答パケット
52 演算方法要求パケット
53 演算方法返答パケット
61 第一送信部送信時刻
62 第二受信部受信時刻
63 通信時間
90 負荷計測部
NW1 ローカルネットワーク
NW2 広域ネットワーク
1 Relay device 2 Communication device 3 Terminal device 4 Transmission processing system 10 First receiving unit 11 Processing judgment unit 12 Processing judgment table 13 Calculation execution unit 14 Calculation method buffer 15 Calculation method request unit 16 First transmission unit 17 Request standby buffer 18th (Ii) Receiver 19 Packet type determination unit 20 Second transmission unit 21 Communication device reception unit 22 Communication device packet type determination unit 23 Communication device calculation execution unit 24 Communication device calculation method buffer 25 Calculation method Response unit 26 Communication device transmission unit 32 Buffer data 33 Calculation time 35 Size 41 Calculation data 42 Calculation result 43 Calculation method 50 Calculation request packet 51 Calculation reply packet 52 Calculation method Request packet 53 Calculation method Reply packet 61 First transmitter transmission time 62 Second receiver reception time 63 Communication time 90 Load measurement unit NW1 Local network NW2 Wide area network

Claims (7)

端末装置と受信したパケットに対して所望の演算を行う通信装置間の通信の中継を行う中継装置であって、
前記端末装置から演算処理を依頼する演算依頼パケットを受信する第一受信部と、
前記第一受信部が受信する演算依頼パケットを演算処理するための演算方法が格納される演算方法バッファと、
前記演算方法が前記演算方法バッファに格納されているか否かを示すバッファデータが記録される処理判定テーブルと、
前記処理判定テーブルに記録されているバッファデータを参照し、前記バッファデータに基づいて、前記第一受信部が受信する演算依頼パケットに対し演算処理を実行するか否かを判定し、演算処理の実行が不可能と判定された場合に前記処理判定テーブルに記録される演算方法要求基準に基づき前記第一受信部が受信した演算依頼パケットが要求する演算処理の演算方法を要求するか否かを判定する処理判定部と、
前記処理判定部により演算処理の実行を可能とする判定に基づいて、前記第一受信部が受信する演算依頼パケットに対し、演算処理を実行する演算実行部と、
前記演算実行部が演算処理した演算処理結果が格納される演算返答パケットを端末装置に送信する第二送信部と、
前記処理判定部により演算処理の実行を不可能とする判定、及び演算方法を要求しない判定に基づいて、前記第一受信部が受信する演算依頼パケットを前記通信装置に送信する第一送信部と、
を備える中継装置。
A relay device that relays communication between a terminal device and a communication device that performs a desired operation on a received packet.
A first receiving unit that receives an arithmetic request packet for requesting arithmetic processing from the terminal device,
An arithmetic method buffer that stores an arithmetic method for arithmetically processing an arithmetic request packet received by the first receiving unit, and an arithmetic method buffer.
A processing determination table in which buffer data indicating whether or not the calculation method is stored in the calculation method buffer is recorded, and
With reference to the buffer data recorded in the processing determination table, it is determined whether or not to execute the arithmetic processing on the arithmetic request packet received by the first receiving unit based on the buffer data, and the arithmetic processing is performed . Whether or not to request the calculation method of the calculation process requested by the calculation request packet received by the first receiving unit based on the calculation method request standard recorded in the processing judgment table when it is determined that the execution is impossible. a determination unit for determining,
An arithmetic execution unit that executes arithmetic processing for an arithmetic request packet received by the first receiving unit based on a determination that enables the arithmetic processing to be executed by the processing determination unit.
A second transmission unit that transmits an operation response packet in which the operation processing result processed by the operation execution unit is stored to the terminal device, and a second transmission unit.
Based on the determination that the processing determination unit makes it impossible to execute the arithmetic processing and the determination that the arithmetic method is not required, the first transmitter that transmits the arithmetic request packet received by the first receiver to the communication device. ,
A relay device equipped with.
前記処理判定部により演算処理の実行が不可能と判定され、且つ演算方法を要求すると判定された場合に、前記第一受信部が受信した演算依頼パケットが要求する演算処理の演算方法を前記通信装置から受信するための依頼をする演算方法要求パケットを生成する演算方法要求部と、
前記演算方法要求部が生成する演算方法要求パケットを前記通信装置に送信する第一送信部と、
前記演算方法要求パケットに基づいて、前記演算方法が格納されている演算方法返答パケットを前記通信装置から受信する第二受信部と、
をさらに備える請求項1に記載の中継装置。
When the processing determination unit determines that the arithmetic processing cannot be executed and determines that the arithmetic method is requested, the communication performs the arithmetic processing arithmetic method requested by the arithmetic request packet received by the first receiving unit. Calculation method that makes a request to receive from the device Calculation method that generates a request packet The request unit and
The first transmission unit that transmits the calculation method request packet generated by the calculation method request unit to the communication device, and
Based on the calculation method request packet, a second receiving unit that receives the calculation method reply packet in which the calculation method is stored from the communication device, and
The relay device according to claim 1, further comprising.
前記処理判定テーブルは、前記バッファデータが参照された回数を示す参照回数を、前記演算方法を識別するための演算IDに対応付けてさらに記録し、
前記処理判定部は、前記参照回数に基づいて、前記演算方法要求部が前記演算方法要求パケットを生成するか否かを判定する、
請求項2に記載の中継装置。
The processing determination table further records the number of references indicating the number of times the buffer data has been referenced in association with the calculation ID for identifying the calculation method.
The processing determination unit determines whether or not the calculation method request unit generates the calculation method request packet based on the number of references.
The relay device according to claim 2.
前記第一送信部は、前記処理判定部が前記参照回数に基づいて前記演算方法要求パケットを生成しないと判定する場合、前記第一受信部が受信する演算依頼パケットを前記通信装置に送信する、
請求項3に記載の中継装置。
When the processing determination unit determines that the calculation method request packet is not generated based on the number of references, the first transmission unit transmits the calculation request packet received by the first reception unit to the communication device.
The relay device according to claim 3.
前記第一送信部がパケットを送信し、第二受信部が前記パケットに対する返答であるパケットを受信するまでの通信時間を計測する負荷計測部、をさらに備える、
請求項4に記載の中継装置。
The load measuring unit further includes a load measuring unit that measures the communication time until the first transmitting unit transmits a packet and the second receiving unit receives a packet that is a response to the packet.
The relay device according to claim 4.
前記処理判定部は、前記負荷計測部が計測する通信時間に基づいて、前記演算方法要求部が前記演算方法要求パケットを生成するか否かを判定する、
請求項5に記載の中継装置。
The processing determination unit determines whether or not the calculation method request unit generates the calculation method request packet based on the communication time measured by the load measurement unit.
The relay device according to claim 5.
端末装置と受信したパケットに対して所望の演算を行う通信装置間の通信の中継を行う中継装置として動作するコンピュータに、
前記端末装置から演算処理を依頼する演算依頼パケットを受信する手段と、
前記演算依頼パケットを演算処理するための演算方法を演算方法バッファに格納する手段と、
前記演算方法が前記演算方法バッファに格納されているか否かを示すバッファデータを処理判定テーブルに記録する手段と、
前記処理判定テーブルに記録されているバッファデータを参照し、前記バッファデータに基づいて、演算依頼パケットに対し演算処理を実行するか否かを判定し、演算処理の実行が不可能と判定された場合に前記処理判定テーブルに記録される演算方法要求基準に基づき演算依頼パケットが要求する演算処理の演算方法を要求するか否かを判定する手段と、
演算処理の実行を可能とする判定に基づいて、前記演算依頼パケットに対し、演算処理を実行する手段と、
演算処理した演算処理結果が格納される演算返答パケットを端末装置に送信する手段と、
演算処理の実行を不可能とする判定、及び演算方法を要求しない判定に基づいて、前記演算依頼パケットを前記通信装置に送信する手段と、
を実行させる伝送処理プログラム。
For a computer that operates as a relay device that relays communication between a terminal device and a communication device that performs a desired operation on a received packet.
A means for receiving an operation request packet for requesting an operation process from the terminal device, and
A means for storing the calculation method for processing the calculation request packet in the calculation method buffer, and
A means for recording buffer data indicating whether or not the calculation method is stored in the calculation method buffer in the processing determination table, and
With reference to the buffer data recorded in the processing determination table, it is determined whether or not to execute the arithmetic processing on the arithmetic request packet based on the buffer data, and it is determined that the arithmetic processing cannot be executed. means for determining whether the operation request packet based on the calculation method required criteria to be recorded in the process determination table requires a calculation method of calculation processing requested if,
A means for executing arithmetic processing on the arithmetic request packet based on a determination that enables execution of arithmetic processing, and
A means for transmitting an arithmetic response packet that stores an arithmetic processing result that has been arithmetically processed to a terminal device,
A means for transmitting the calculation request packet to the communication device based on a judgment that the calculation processing cannot be executed and a judgment that does not require the calculation method.
Transmission processing program to execute.
JP2017128977A 2017-06-30 2017-06-30 Relay device, transmission processing program Active JP6925889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017128977A JP6925889B2 (en) 2017-06-30 2017-06-30 Relay device, transmission processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017128977A JP6925889B2 (en) 2017-06-30 2017-06-30 Relay device, transmission processing program

Publications (2)

Publication Number Publication Date
JP2019012947A JP2019012947A (en) 2019-01-24
JP6925889B2 true JP6925889B2 (en) 2021-08-25

Family

ID=65227416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017128977A Active JP6925889B2 (en) 2017-06-30 2017-06-30 Relay device, transmission processing program

Country Status (1)

Country Link
JP (1) JP6925889B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446474B (en) 2019-08-31 2022-11-22 安徽寒武纪信息科技有限公司 Chip, multichip system, electronic equipment and data transmission method
CN112446463B (en) * 2019-08-31 2023-06-02 安徽寒武纪信息科技有限公司 Neural network full-connection layer operation method, device and related products

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5544006B2 (en) * 2010-02-18 2014-07-09 株式会社日立製作所 Information communication processing system
JP5639945B2 (en) * 2011-04-04 2014-12-10 株式会社日立製作所 Network system
JP6540095B2 (en) * 2015-02-27 2019-07-10 日本電気株式会社 Communication apparatus, information processing system, message processing method

Also Published As

Publication number Publication date
JP2019012947A (en) 2019-01-24

Similar Documents

Publication Publication Date Title
US8078668B2 (en) Method and device for processing a message in a communication network
US10110688B2 (en) System and method for remote monitoring of API performance and user behavior associated with user interface
CN112039796B (en) Data packet transmission method and device, storage medium and electronic equipment
CN111818136A (en) Data processing method and device, electronic equipment and computer readable medium
JP6925889B2 (en) Relay device, transmission processing program
US10296746B2 (en) Information processing device, filtering system, and filtering method
JP6249229B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
CN109417507A (en) The message of section retards accesses
CN112422485B (en) Communication method and device of transmission control protocol
JP7067956B2 (en) Relay device
CN116781574A (en) In-band network telemetry method, in-band network telemetry device, in-band network telemetry equipment and storage medium
JP6851754B2 (en) Relay device, relay system, relay program, and relay method
US11882015B2 (en) Estimation system, addition apparatus, estimation method, addition method, estimation program and addition program
EP4116831A1 (en) Communication device, program, communication method, information processing method, information processing device, and communication system
CN107885169A (en) A kind of collection method of field data, device and system
US20210320899A1 (en) Notification device and notification method
JP5577140B2 (en) Information processing system and information processing method
CN113452471A (en) Method, electronic device and computer program product for data processing
JP2020013324A (en) Settlement system, settlement terminal, service provider terminal, user terminal, information processing method, and program
CN110704361A (en) RDMA (remote direct memory Access) data transmitting and receiving method, electronic equipment and readable storage medium
KR101442485B1 (en) System and method for transmitting data
CN116634587B (en) Method, device and storage medium for recovering data
US11824767B2 (en) Communication system and method of verifying continuity
CN111522642B (en) Method for acquiring and inquiring state monitoring data of wind turbine generator, and electronic equipment
JP6866092B2 (en) Relay device, relay system, relay program, and relay method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20170921

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170921

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180831

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20190125

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200511

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210305

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20210420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210428

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20210420

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210804

R150 Certificate of patent or registration of utility model

Ref document number: 6925889

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150