WO2017203651A1 - Fixed-period data transmission method - Google Patents
Fixed-period data transmission method Download PDFInfo
- Publication number
- WO2017203651A1 WO2017203651A1 PCT/JP2016/065551 JP2016065551W WO2017203651A1 WO 2017203651 A1 WO2017203651 A1 WO 2017203651A1 JP 2016065551 W JP2016065551 W JP 2016065551W WO 2017203651 A1 WO2017203651 A1 WO 2017203651A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- data
- shared memory
- received
- reception state
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
Abstract
[Problem] The purpose of the present invention is to reduce the consumption of a network band in a fixed-period data transmission method that updates a memory shared among a plurality of terminals connected to a network. [Solution] A fixed-period data transmission method that updates a memory shared among terminals connected to a network, wherein, when transmitting fixed-period data, each of the terminals transmits the reception state of shared memory data from another terminal and changed shared memory data of the own terminal at a prescribed time period.
Description
この発明は、ネットワーク上の共有メモリを用いた定周期データ伝送方法に関するものである。
The present invention relates to a fixed-cycle data transmission method using a shared memory on a network.
従来のネットワーク上の共有メモリを用いた定周期データ伝送方法においては、ネットワークに接続された複数の端末間で共有される情報を格納するための共有メモリがあり、自端末の共有メモリデータを他の端末へ定周期で送信し、一方、共有メモリデータを受信した端末は、その共有メモリデータに基づいて、自身の共有メモリにおける送信元の端末に割り当てられた領域のデータを更新する。自端末が定周期で共有メモリデータを送信する場合、送信元端末は、自端末の共有メモリデータに変更のない場合には同一の値となり、変更のあった場合に値が変更されるデータパターンIDを付加し、そのデータを受信した端末は、共有メモリデータを含むデータを受信すると、そのデータのデータパターンIDを含む送達確認応答を送信元端末に送信し、また、送達確認応答を受信した端末は、同一のデータパターンIDに対応する共有メモリデータの送信を停止するようにしている。(特許文献1を参照)
In a conventional method of transmitting periodic data using a shared memory on a network, there is a shared memory for storing information shared between a plurality of terminals connected to the network, and the shared memory data of the own terminal is stored in other ways. On the other hand, the terminal receiving the shared memory data updates the data in the area allocated to the transmission source terminal in its shared memory based on the shared memory data. When the own terminal transmits shared memory data at regular intervals, the source terminal has the same value when there is no change in the shared memory data of the own terminal, and the data pattern in which the value is changed when there is a change Upon receiving the data including the shared memory data, the terminal that has added the ID and received the data transmits a delivery confirmation response including the data pattern ID of the data to the transmission source terminal, and has received the delivery confirmation response. The terminal stops transmission of shared memory data corresponding to the same data pattern ID. (See Patent Document 1)
従来のネットワーク上の共有メモリを用いた定周期データ伝送方法では、送信元端末が定周期で送信する共有メモリデータの送信を停止するためには、受信先端末から送達確認応答を受信することが必要であり、送達確認応答がなんらかの理由により送信元に届かない場合、送信元は、定周期データを送信し続けるため、ネットワークの帯域を消費し続けてしまう問題があった。
In a conventional method of transmitting periodic data using a shared memory on a network, a transmission confirmation response may be received from a receiving terminal in order to stop transmission of shared memory data transmitted from a transmitting terminal at a fixed period. This is necessary, and when the delivery confirmation response does not reach the transmission source for some reason, the transmission source continues to transmit the periodic data, and thus there is a problem that the network bandwidth is continuously consumed.
この発明は上記のような課題を解決するためになされたものであり、ネットワークの帯域の消費を低減できる定周期データ伝送方法を得ることを目的とする。
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a fixed-cycle data transmission method that can reduce network bandwidth consumption.
この発明になる定周期データ伝送方法は、ネットワークに接続される複数の端末で構成され、前記各端末は、端末間で共有する情報を格納するための共有メモリを有し、前記共有メモリにおける自端末に割り当てられた領域に格納されているデータである自端末データを他の端末へ共有メモリデータとして送信し、一方、共有メモリデータを受信した端末は、その共有メモリデータに基づいて自身の共有メモリにおける送信元の端末に割り当てられた領域のデータを更新する定周期データ伝送方法において、前記端末は、他の端末からの共有メモリデータの受信状態と変更された自端末の共有メモリデータを所定の時間周期で送信することを特徴とするものである。
The fixed-cycle data transmission method according to the present invention is composed of a plurality of terminals connected to a network, and each of the terminals has a shared memory for storing information shared between the terminals. The own terminal data, which is data stored in the area allocated to the terminal, is transmitted as shared memory data to other terminals. On the other hand, the terminal that has received the shared memory data shares its own memory based on the shared memory data. In the periodic data transmission method for updating data in an area allocated to a transmission source terminal in a memory, the terminal predetermines a reception state of the shared memory data from another terminal and the changed shared memory data of the own terminal. It transmits in the time period of this.
この発明になる定周期データ伝送方法によれば、定周期データを送信する際に、送信元端末は自端末データに変更のない場合には、受信状態のみを送信し、変更があれば、受信状態と自端末データを送信するようにしたので、前記特許文献1のように、送達確認応答を受信するまで自端末データを送信し続ける必要がないので、その分、ネットワーク帯域の消費を低減できる効果を奏する。
According to the fixed-cycle data transmission method of the present invention, when transmitting fixed-cycle data, the transmission source terminal transmits only the reception state if there is no change in its own terminal data, and if there is a change, the reception is received. Since the state and the own terminal data are transmitted, it is not necessary to continue to transmit the own terminal data until the delivery confirmation response is received as in the above-mentioned Patent Document 1, and accordingly, the consumption of the network bandwidth can be reduced. There is an effect.
実施の形態1.
以下、この発明の実施の形態1を図1~図4に基づいて説明する。図1はこの発明の対象となる定周期伝送システムの概略構成図であり、図において、端末1-1~1-5は、ネットワーク2に接続されている。また、端末1-1~1-5は、アプリケーション処理部11と、定周期データ伝送処理部12と、プロトコル処理部13を備えている。図1では、端末1-1のみ内部構成を示しているが、端末1-2~端末1-5も端末1-1と同様の構成として説明を省略する。また、定周期データ伝送処理部12は、内部に共有メモリ14、受信状態メモリ15を備えている。共有メモリ14の内容は、ネットワーク2に接続される全端末間で同一性が確保されることが要求されている。受信状態メモリ15の内容は、他の端末から受信した共有メモリデータの受信状態を格納する。Embodiment 1 FIG.
A first embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a schematic configuration diagram of a fixed-cycle transmission system that is an object of the present invention. In FIG. 1, terminals 1-1 to 1-5 are connected to anetwork 2. Further, the terminals 1-1 to 1-5 include an application processing unit 11, a periodic data transmission processing unit 12, and a protocol processing unit 13. In FIG. 1, only the terminal 1-1 has an internal configuration, but the terminals 1-2 to 1-5 are also configured in the same manner as the terminal 1-1, and description thereof is omitted. The fixed-cycle data transmission processing unit 12 includes a shared memory 14 and a reception state memory 15 inside. The content of the shared memory 14 is required to be identical between all terminals connected to the network 2. The content of the reception state memory 15 stores the reception state of shared memory data received from other terminals.
以下、この発明の実施の形態1を図1~図4に基づいて説明する。図1はこの発明の対象となる定周期伝送システムの概略構成図であり、図において、端末1-1~1-5は、ネットワーク2に接続されている。また、端末1-1~1-5は、アプリケーション処理部11と、定周期データ伝送処理部12と、プロトコル処理部13を備えている。図1では、端末1-1のみ内部構成を示しているが、端末1-2~端末1-5も端末1-1と同様の構成として説明を省略する。また、定周期データ伝送処理部12は、内部に共有メモリ14、受信状態メモリ15を備えている。共有メモリ14の内容は、ネットワーク2に接続される全端末間で同一性が確保されることが要求されている。受信状態メモリ15の内容は、他の端末から受信した共有メモリデータの受信状態を格納する。
A first embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a schematic configuration diagram of a fixed-cycle transmission system that is an object of the present invention. In FIG. 1, terminals 1-1 to 1-5 are connected to a
プロトコル処理部13は、UDP(User Datagram Protocol)、IP(Internet Protocol)、Ethernet(登録商標)等の汎用のプロトコル処理を行う。一般のプロトコル処理部が行うのと同様に、プロトコル処理部13では、主にIP層以下の処理を行う。定周期データ伝送処理部12は、定周期データ伝送に関する処理を実施し、定周期データ伝送で共有するデータを保持している共有メモリ14への書込みや、他の端末から受信した共有メモリデータの受信状態を受信状態メモリ15へ格納するなどの動作を行う。また、アプリケーション処理部11は、共有メモリ14の内容を参照してアプリケーション動作を実施する。
The protocol processing unit 13 performs general-purpose protocol processing such as UDP (User Datagram Protocol), IP (Internet Protocol), and Ethernet (registered trademark). Similar to the general protocol processing unit, the protocol processing unit 13 mainly performs processing below the IP layer. The fixed-cycle data transmission processing unit 12 performs processing related to fixed-cycle data transmission, writes to the shared memory 14 holding data shared by the fixed-cycle data transmission, and reads shared memory data received from other terminals. Operations such as storing the reception state in the reception state memory 15 are performed. In addition, the application processing unit 11 refers to the contents of the shared memory 14 and performs an application operation.
次に動作について説明する。
図2は、共有メモリ14と受信状態メモリ15の構成と共有メモリ14に格納されているデータと受信状態メモリ15に格納されているデータの送信方法を示す図である。共有メモリ14、および、受信状態メモリ15は、ネットワーク2に接続された端末毎に領域が割り当てられている。ここでは、端末1-1,1-2,…,1-5の識別子をそれぞれ#1,#2,…#n(この場合はn=5)として示している。端末#i(i=1~n)は、所定の周期時間で共有メモリ14から自身に割り当てられた端末#i用領域のデータ(以下、自端末データと称す)と前回送信した自端末データ14-1を比較し、変更があれば、自端末データを前回送信した自端末データ14-1へコピーすると共に(図中aステップ)、送信カウンタ14-2をインクリメントする。変更がなければ、何もしない。 Next, the operation will be described.
FIG. 2 is a diagram illustrating the configuration of the sharedmemory 14 and the reception state memory 15, the data stored in the shared memory 14, and the transmission method of the data stored in the reception state memory 15. The shared memory 14 and the reception status memory 15 are allocated areas for each terminal connected to the network 2. Here, the identifiers of the terminals 1-1, 1-2,..., 1-5 are shown as # 1, # 2,... #N (in this case, n = 5). The terminal #i (i = 1 to n) has the terminal #i area data (hereinafter referred to as own terminal data) allocated to itself from the shared memory 14 in a predetermined cycle time and the previously transmitted own terminal data 14. -1 is compared, and if there is a change, the local terminal data is copied to the previously transmitted local terminal data 14-1 (step a in the figure), and the transmission counter 14-2 is incremented. If there is no change, do nothing.
図2は、共有メモリ14と受信状態メモリ15の構成と共有メモリ14に格納されているデータと受信状態メモリ15に格納されているデータの送信方法を示す図である。共有メモリ14、および、受信状態メモリ15は、ネットワーク2に接続された端末毎に領域が割り当てられている。ここでは、端末1-1,1-2,…,1-5の識別子をそれぞれ#1,#2,…#n(この場合はn=5)として示している。端末#i(i=1~n)は、所定の周期時間で共有メモリ14から自身に割り当てられた端末#i用領域のデータ(以下、自端末データと称す)と前回送信した自端末データ14-1を比較し、変更があれば、自端末データを前回送信した自端末データ14-1へコピーすると共に(図中aステップ)、送信カウンタ14-2をインクリメントする。変更がなければ、何もしない。 Next, the operation will be described.
FIG. 2 is a diagram illustrating the configuration of the shared
次に送信カウンタ14-2を受信状態メモリ15の自身に割り当てられた端末#i受信状態と比較し、変更があれば、送信カウンタ14-2を端末#i受信状態にコピーすると共に(図中bステップ)、プロトコル処理部13により受信状態メモリ15と前回送信した自端末データ14-1(変更ずみ)を読み出し(図中c1、c2ステップ)、読み出したデータを定周期データ伝送データとして、Ethernet(登録商標)やUDP/IP等の汎用のプロトコルヘッダを付加して送信する。変更がなければ、受信状態メモリ15のみ読み出し、読みだしたデータを定周期データ伝送データとして、Ethernet(登録商標)やUDP/IP等の汎用のプロトコルヘッダを付加して送信する。
Next, the transmission counter 14-2 is compared with the terminal #i reception state assigned to itself in the reception state memory 15, and if there is a change, the transmission counter 14-2 is copied to the terminal #i reception state (in the figure). b step), the protocol processing unit 13 reads the reception state memory 15 and the own terminal data 14-1 (changed) transmitted previously (steps c1 and c2 in the figure), and uses the read data as fixed-cycle data transmission data. Add a general-purpose protocol header such as (registered trademark) or UDP / IP and send it. If there is no change, only the reception state memory 15 is read, and the read data is transmitted as fixed-cycle data transmission data with a general-purpose protocol header such as Ethernet (registered trademark) or UDP / IP added.
図3は、共有メモリ14と受信状態メモリ15の構成と共有メモリ14に格納されているデータと受信状態メモリ15に格納されているデータの受信方法を示す図である。共有メモリ14、および、受信状態メモリ15は、ネットワーク2に接続された端末毎に領域が割り当てられている。ここでは、端末1-1,1-2,…,1-5の識別子をそれぞれ#1,#2,…#n(この場合はn=5)として示している。受信端末は、Ethernet(登録商標)やUDP/IP等の汎用のプロトコルとして、定周期データ伝送データを受信すると、汎用のプロトコルヘッダ情報から送信元端末を端末#iと識別する。次に定周期データ伝送データにある受信状態から端末#i受信状態を読み出し、受信状態メモリ15に割り当てられた端末#i受信状態と比較し、変更があれば、受信状態メモリ15に割り当てられた端末#i状態に読み出した状態をコピーすると共に(図中ステップd)、定周期データ伝送データにある自端末データを読み出し、共有メモリ14に割り当てられた端末#i用領域にコピーする(図中ステップe)。変更がなければ、受信状態メモリ15に割り当てられた端末#i状態に読みだした状態をコピーする(図中ステップd)だけとする。
FIG. 3 is a diagram showing the configuration of the shared memory 14 and the reception state memory 15, the data stored in the shared memory 14, and the method for receiving the data stored in the reception state memory 15. The shared memory 14 and the reception status memory 15 are allocated areas for each terminal connected to the network 2. Here, the identifiers of the terminals 1-1, 1-2,..., 1-5 are shown as # 1, # 2,... #N (in this case, n = 5). When the receiving terminal receives the periodic data transmission data as a general protocol such as Ethernet (registered trademark) or UDP / IP, the receiving terminal identifies the transmission source terminal as terminal #i from the general protocol header information. Next, the terminal #i reception state is read from the reception state in the fixed-cycle data transmission data, compared with the terminal #i reception state assigned to the reception state memory 15, and if there is a change, it is assigned to the reception state memory 15 The read state is copied to the terminal #i state (step d in the figure), and the own terminal data in the periodic data transmission data is read and copied to the terminal #i area allocated to the shared memory 14 (in the figure). Step e). If there is no change, only the read state is copied to the terminal #i state assigned to the reception state memory 15 (step d in the figure).
図4は、定周期データ伝送方法によるデータ送信の一例を示すチャート図である。送信元端末#iは、所定の周期時間#S1において、自端末データに変更があるので、受信状態と自端末データを送信する(ステップS11)。受信端末は、ステップS11で送信された送信データを受信すると、プロトコル処理部13が所定の処理を行った後に、定周期データ伝送処理部12が、受信したデータに基づいて、送信元端末#iに対応する受信状態メモリ15の端末#i受信状態と共有メモリ14の端末#i用領域を更新する。
FIG. 4 is a chart showing an example of data transmission by the periodic data transmission method. The transmission source terminal #i transmits the reception state and the own terminal data because the own terminal data is changed in the predetermined cycle time # S1 (step S11). When the receiving terminal receives the transmission data transmitted in step S11, after the protocol processing unit 13 performs a predetermined process, the periodic data transmission processing unit 12 performs transmission source terminal #i based on the received data. The terminal #i reception state in the reception state memory 15 and the terminal #i area in the shared memory 14 are updated.
次に送信元端末#iは、所定の周期時間#S2において、(c1、c2)(ステップS12)。受信端末は、ステップS12で送信された送信データを受信すると、プロトコル処理部13が所定の処理を行った後に、定周期データ伝送処理部12が、受信したデータに基づいて、送信元端末#iに対応する受信状態メモリ15の端末#i受信状態を更新する。以降、同様にして、所定の周期時間#Sに送信元端末は、定周期データ伝送送信処理を実施し、定周期データを受信した受信端末は、定周期データ伝送受信処理を実施する。
Next, the source terminal #i performs (c1, c2) (step S12) at a predetermined cycle time # S2. When the receiving terminal receives the transmission data transmitted in step S12, after the protocol processing unit 13 performs a predetermined process, the fixed-cycle data transmission processing unit 12 performs transmission source terminal #i based on the received data. The terminal #i reception state of the reception state memory 15 corresponding to is updated. Thereafter, in a similar manner, the transmission source terminal performs the periodic data transmission transmission process at a predetermined periodic time #S, and the receiving terminal that has received the periodic data performs the periodic data transmission reception process.
このように、本実施の形態では、定周期データを送信する際に、送信元端末は自端末データに変更がない場合には、受信状態のみを送信し、変更があれば、受信状態と自端末データを送信するようにしたことにより、送達確認応答を受信するまで自端末データを送信し続ける必要がないので、その分、ネットワーク帯域の消費を低減できる。
As described above, in the present embodiment, when transmitting the periodic data, the transmission source terminal transmits only the reception state if there is no change in its own terminal data. Since the terminal data is transmitted, it is not necessary to continue transmitting the terminal data until the delivery confirmation response is received, so that the network bandwidth consumption can be reduced accordingly.
実施の形態2.
図5はこの発明の実施の形態2における定周期データ送信方法を示す図である。
上記実施の形態1では、図4におけるステップS12により、自端末データに変更がない場合には、受信状態のみを送信し、変更があれば、受信状態と自端末データを送信するようにしたものについて述べたが、本実施の形態2においては、図5に示すように、受信カウンタ15-1を設けることにより、ステップS12において、受信状態メモリ15の端末#i受信状態と端末#i以外の受信状態とを比較し、異なるカウンタ値であれば、受信カウンタ#15-1をインクリメントすると共に(ステップf)、所定の周期時間#Sと比較して、長い周期時間であれば、自端末データを受信できていない端末が存在すると判断し、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態メモリ15の受信状態を読み出し(ステップc1、c2)、読み出したデータを定周期データとして、Ethernet(登録商標)やUDP/IP等の汎用のプロトコルヘッダを付加して再送するようにしたものである。Embodiment 2. FIG.
FIG. 5 is a diagram showing a periodic data transmission method according toEmbodiment 2 of the present invention.
In the first embodiment, in step S12 in FIG. 4, when there is no change in the own terminal data, only the reception state is transmitted, and when there is a change, the reception state and the own terminal data are transmitted. In the second embodiment, as shown in FIG. 5, by providing the reception counter 15-1, the terminal #i reception state in thereception state memory 15 and the terminal #i other than the terminal #i are provided in step S12. If the counter value is different from the reception state, the reception counter # 15-1 is incremented (step f), and if it is longer than the predetermined cycle time #S, the local terminal data Even if it is determined that there is a terminal that has not been able to receive the received terminal data and there is no change in the own terminal data, the receiving state of the own terminal data 14-1 and the receiving state memory 15 that were transmitted last time Read (Step c1, c2), the read data as the periodic data, is obtained so as to retransmit by adding Ethernet (registered trademark) and general-purpose protocol header of UDP / IP or the like.
図5はこの発明の実施の形態2における定周期データ送信方法を示す図である。
上記実施の形態1では、図4におけるステップS12により、自端末データに変更がない場合には、受信状態のみを送信し、変更があれば、受信状態と自端末データを送信するようにしたものについて述べたが、本実施の形態2においては、図5に示すように、受信カウンタ15-1を設けることにより、ステップS12において、受信状態メモリ15の端末#i受信状態と端末#i以外の受信状態とを比較し、異なるカウンタ値であれば、受信カウンタ#15-1をインクリメントすると共に(ステップf)、所定の周期時間#Sと比較して、長い周期時間であれば、自端末データを受信できていない端末が存在すると判断し、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態メモリ15の受信状態を読み出し(ステップc1、c2)、読み出したデータを定周期データとして、Ethernet(登録商標)やUDP/IP等の汎用のプロトコルヘッダを付加して再送するようにしたものである。
FIG. 5 is a diagram showing a periodic data transmission method according to
In the first embodiment, in step S12 in FIG. 4, when there is no change in the own terminal data, only the reception state is transmitted, and when there is a change, the reception state and the own terminal data are transmitted. In the second embodiment, as shown in FIG. 5, by providing the reception counter 15-1, the terminal #i reception state in the
本実施の形態によれば、自端末からの共有メモリデータが所定の周期時間の間、受信されていないと判断した場合に自端末の共有メモリデータを送信するようにしたので、ネットワークの帯域の消費を低減するとともに、全端末間での同一性の確保において、信頼性を向上させることができる。
According to the present embodiment, the shared memory data of the own terminal is transmitted when it is determined that the shared memory data from the own terminal has not been received for a predetermined period of time. In addition to reducing consumption, reliability can be improved in ensuring identity among all terminals.
実施の形態3.
図6はこの発明の実施の形態3における定周期データ送信方法を示す図である。
上記実施の形態2では、図5における受信カウンタ15-1により、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態メモリ15の受信状態を読み出し、読み出したデータを定周期データとして再送信する場合について述べたが、図6に示すように周期時間#S1、#S2、#S3とは別に自端末データが受信されていないと判断する周期時間#R1、#R2、#R3を設け、ステップR11において、受信状態メモリ15の端末#i受信状態と端末#i以外の受信状態とを比較し、異なるカウンタ値であれば、受信カウンタ#15-1をインクリメントするとともに、所定の周期時間#Rと比較して、長い周期時間であれば、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態メモリ15の受信状態を読み出し、読み出したデータを定周期データとして、Ethernet(登録商標)やUDP/IP等の汎用のプロトコルヘッダを付加して再送するようにしたものである。 Embodiment 3 FIG.
FIG. 6 is a diagram showing a periodic data transmission method according to Embodiment 3 of the present invention.
In the second embodiment, the reception terminal 15-1 in FIG. 5 reads out the reception status of the local terminal data 14-1 and thereception status memory 15 transmitted last time, even when the local terminal data is not changed. Although the case where the read data is retransmitted as the periodic data has been described, as shown in FIG. 6, the periodic time # for determining that the terminal data is not received separately from the periodic times #S 1, #S 2, #S 3. R1, # R2, and # R3 are provided. In step R11, the terminal #i reception state of the reception state memory 15 is compared with the reception state other than the terminal #i. If the counter values are different, the reception counter # 15-1 In addition, the terminal data 1 sent last time is transmitted even if the terminal data is not changed if the period is longer than the predetermined period time #R. 4-1 and the reception status of the reception status memory 15 are read out, and the read data is retransmitted as fixed-cycle data with a general-purpose protocol header such as Ethernet (registered trademark) or UDP / IP added. .
図6はこの発明の実施の形態3における定周期データ送信方法を示す図である。
上記実施の形態2では、図5における受信カウンタ15-1により、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態メモリ15の受信状態を読み出し、読み出したデータを定周期データとして再送信する場合について述べたが、図6に示すように周期時間#S1、#S2、#S3とは別に自端末データが受信されていないと判断する周期時間#R1、#R2、#R3を設け、ステップR11において、受信状態メモリ15の端末#i受信状態と端末#i以外の受信状態とを比較し、異なるカウンタ値であれば、受信カウンタ#15-1をインクリメントするとともに、所定の周期時間#Rと比較して、長い周期時間であれば、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態メモリ15の受信状態を読み出し、読み出したデータを定周期データとして、Ethernet(登録商標)やUDP/IP等の汎用のプロトコルヘッダを付加して再送するようにしたものである。 Embodiment 3 FIG.
FIG. 6 is a diagram showing a periodic data transmission method according to Embodiment 3 of the present invention.
In the second embodiment, the reception terminal 15-1 in FIG. 5 reads out the reception status of the local terminal data 14-1 and the
本実施の形態では、自端末の共有メモリデータが変更されたことを判断する所定の周期時間と自端末からの共有メモリデータが受信されていないことを判断する所定の周期時間とを持つようにしたので、ネットワークの帯域の消費を低減するとともに、全端末間での同一性の確保において、信頼性と再送に対する応答性を向上させることができる。
In the present embodiment, a predetermined cycle time for determining that the shared memory data of the own terminal has been changed and a predetermined cycle time for determining that the shared memory data from the own terminal has not been received are provided. Therefore, it is possible to reduce network bandwidth consumption and improve reliability and responsivity for retransmission in ensuring identity among all terminals.
実施の形態4.
図7はこの発明の実施の形態4における定周期データ送信方法を示す図である。
上記実施の形態3では、図6におけるステップR11により、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態メモリ15の受信状態を読み出し、読み出したデータを定周期データとして再送する場合について述べたが、本実施の形態では、図7に示すように離脱カウンタ16と離脱後検出フラグ16-1を設け、図6におけるステップS12、および、ステップR11において、受信状態メモリ15の端末#i受信状態と端末#i以外の受信状態とを比較し、異なるカウンタ値であれば、離脱カウンタ16に割り当てられた該当する端末の離脱カウンタをインクリメントし、同一の値であれば、該当する端末の離脱カウンタをリセットするようにする。次に離脱カウンタ16において、所定の周期時間#Rと比較して、短い周期時間となる離脱カウンタ値があれば、該当する端末は、ネットワーク2に接続されていると判断し、離脱再送フラグ16-1を有意にし、短い周期時間となる離脱カウンタ値がなければ無意とする。そして、離脱再送フラグが有意であれば、受信カウンタ#15-1をインクリメントし、無意であれば、リセットするようにしたので、ネットワークから離脱している端末への無為な再送を軽減し、ネットワークの帯域の消費を低減することができる。 Embodiment 4 FIG.
FIG. 7 is a diagram showing a periodic data transmission method according to Embodiment 4 of the present invention.
In Embodiment 3 described above, even if there is no change in the local terminal data in step R11 in FIG. 6, the reception state of the local terminal data 14-1 and thereception state memory 15 transmitted last time is read, and the read data In the present embodiment, a separation counter 16 and a post-leaving detection flag 16-1 are provided as shown in FIG. 7, and in steps S12 and R11 in FIG. The terminal #i reception state in the reception state memory 15 and the reception state other than the terminal #i are compared, and if the counter value is different, the departure counter of the corresponding terminal assigned to the departure counter 16 is incremented, and the same If it is a value, the withdrawal counter of the corresponding terminal is reset. Next, in the leaving counter 16, if there is a leaving counter value that is shorter than the predetermined cycle time #R, it is determined that the corresponding terminal is connected to the network 2, and the leaving retransmission flag 16 If -1 is significant and there is no departure counter value that has a short cycle time, it is ignored. Then, if the leaving retransmission flag is significant, the reception counter # 15-1 is incremented, and if it is unintentional, it is reset so that unnecessary retransmission to the terminal that has left the network is reduced. The bandwidth consumption can be reduced.
図7はこの発明の実施の形態4における定周期データ送信方法を示す図である。
上記実施の形態3では、図6におけるステップR11により、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態メモリ15の受信状態を読み出し、読み出したデータを定周期データとして再送する場合について述べたが、本実施の形態では、図7に示すように離脱カウンタ16と離脱後検出フラグ16-1を設け、図6におけるステップS12、および、ステップR11において、受信状態メモリ15の端末#i受信状態と端末#i以外の受信状態とを比較し、異なるカウンタ値であれば、離脱カウンタ16に割り当てられた該当する端末の離脱カウンタをインクリメントし、同一の値であれば、該当する端末の離脱カウンタをリセットするようにする。次に離脱カウンタ16において、所定の周期時間#Rと比較して、短い周期時間となる離脱カウンタ値があれば、該当する端末は、ネットワーク2に接続されていると判断し、離脱再送フラグ16-1を有意にし、短い周期時間となる離脱カウンタ値がなければ無意とする。そして、離脱再送フラグが有意であれば、受信カウンタ#15-1をインクリメントし、無意であれば、リセットするようにしたので、ネットワークから離脱している端末への無為な再送を軽減し、ネットワークの帯域の消費を低減することができる。 Embodiment 4 FIG.
FIG. 7 is a diagram showing a periodic data transmission method according to Embodiment 4 of the present invention.
In Embodiment 3 described above, even if there is no change in the local terminal data in step R11 in FIG. 6, the reception state of the local terminal data 14-1 and the
実施の形態5.
図8はこの発明の実施の形態5における定周期データ送信方法を示す図である。
上記実施の形態4では、図7における離脱カウンタ16により、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態15を読み出し、読みだしたデータを定周期データとして送信する場合について述べたが、本実施の形態では、図8に示すように更に参入カウンタ17と参入誤検出フラグ17-1を設け、図6におけるステップS12、および、ステップR11において、受信状態15の端末#i受信状態と端末#i以外の受信状態とを比較し、同一のカウンタ値であれば、参入カウンタ17に割り当てられた該当する端末の参入カウンタをインクリメントし、異なるカウンタ値であれば、該当する端末の参入カウンタをリセットする。 Embodiment 5 FIG.
FIG. 8 is a diagram showing a periodic data transmission method according to Embodiment 5 of the present invention.
In the fourth embodiment, the own terminal data 14-1 and thereception state 15 that have been transmitted last time are read out and the read data is determined by the departure counter 16 in FIG. 7 even when there is no change in the own terminal data. Although the case of transmitting as periodic data has been described, in the present embodiment, as shown in FIG. 8, an entry counter 17 and an entry error detection flag 17-1 are further provided, and in steps S12 and R11 in FIG. The terminal #i reception state in the reception state 15 is compared with the reception state other than the terminal #i. If the counter values are the same, the entry counter of the corresponding terminal assigned to the entry counter 17 is incremented, and a different counter value is obtained. If so, the entry counter of the corresponding terminal is reset.
図8はこの発明の実施の形態5における定周期データ送信方法を示す図である。
上記実施の形態4では、図7における離脱カウンタ16により、自端末データに変更がない場合であっても、前回送信した自端末データ14-1と受信状態15を読み出し、読みだしたデータを定周期データとして送信する場合について述べたが、本実施の形態では、図8に示すように更に参入カウンタ17と参入誤検出フラグ17-1を設け、図6におけるステップS12、および、ステップR11において、受信状態15の端末#i受信状態と端末#i以外の受信状態とを比較し、同一のカウンタ値であれば、参入カウンタ17に割り当てられた該当する端末の参入カウンタをインクリメントし、異なるカウンタ値であれば、該当する端末の参入カウンタをリセットする。 Embodiment 5 FIG.
FIG. 8 is a diagram showing a periodic data transmission method according to Embodiment 5 of the present invention.
In the fourth embodiment, the own terminal data 14-1 and the
次に参入カウンタ17において、所定の周期時間#Rと比較して、長い周期時間となる参入カウンタ値があれば、該当する端末は、ネットワーク2に接続されていると判断し、参入再送フラグ17-1を有意にし、長い周期時間となる参入カウンタ値がなければ無意とする。そして、離脱再送フラグ16-1、または、参入再送フラグ17-1の何れかが有意であれば、受信カウンタ#15-1をインクリメントし、無意であれば、リセットするようにしたので、ネットワークに参入・離脱している端末を的確に把握することで無為な再送を軽減し、ネットワークの帯域の消費を低減することができる。
Next, in the entry counter 17, if there is an entry counter value having a longer cycle time than the predetermined cycle time #R, it is determined that the corresponding terminal is connected to the network 2, and the entry retransmission flag 17 If -1 is significant and there is no entry counter value with a long cycle time, it is ignored. If either the leaving retransmission flag 16-1 or the entry retransmission flag 17-1 is significant, the reception counter # 15-1 is incremented, and if it is not intended, it is reset. By accurately grasping the terminals that have entered or exited, unnecessary retransmissions can be reduced, and network bandwidth consumption can be reduced.
1-1、1-2、1-3、1-4、1-5 端末、 2 ネットワーク、 11 アプリケーション処理部、 12 定周期データ伝送処理部、 13 プロトコル処理部、 14 共有メモリ、 15 受診状態メモリ、 14-1 前回送信した自端末データ、14-2 送信カウンタ、 15-1 受信カウンタ、 16 離脱カウンタ、 16-1 離脱再送フラグ、 17 参入カウンタ、 17-1 参入再送フラグ
1-1, 1-2, 1-3, 1-4, 1-5 terminals, 2 networks, 11 application processing units, 12 periodic data transmission processing units, 13 protocol processing units, 14 shared memories, 15 consultation status memories 14-1 Previous terminal data sent, 14-2 Send counter, 15-1 Receive counter, 16 Leave counter, 16-1 Leave retransmission flag, 17 Join counter, 17-1 Join retransmission flag
Claims (6)
- ネットワークに接続される複数の端末で構成され、前記各端末は、端末間で共有する情報を格納するための共有メモリを有し、前記共有メモリにおける自端末に割り当てられた領域に格納されているデータである自端末データを他の端末へ共有メモリデータとして送信し、一方、共有メモリデータを受信した端末は、その共有メモリデータに基づいて自身の共有メモリにおける送信元の端末に割り当てられた領域のデータを更新する定周期データ伝送方法において、前記端末は、他の端末からの共有メモリデータの受信状態と、変更された自端末の共有メモリデータを所定の時間周期で送信することを特徴とする定周期データ伝送方法。 Consists of a plurality of terminals connected to the network, each terminal having a shared memory for storing information shared between the terminals, and stored in an area allocated to the own terminal in the shared memory An area allocated to the terminal of the transmission source in the shared memory based on the shared memory data when the terminal that has received the shared memory data is transmitted to the other terminal as shared memory data. In the periodic data transmission method for updating the data, the terminal transmits the reception state of the shared memory data from other terminals and the changed shared memory data of the terminal itself at a predetermined time period. Periodic data transmission method.
- 定周期データを送信する際に、送信元端末は自端末データに変更のない場合には、受信状態のみを送信し、変更があれば、受信状態と自端末データを送信するようにしたことを特徴とする請求項1に記載の定周期データ伝送方法。 When sending periodic data, if the source terminal has no change in its own terminal data, it will send only the reception status, and if there is a change, it will send the reception status and its own terminal data. The fixed-cycle data transmission method according to claim 1, wherein:
- 自端末からの共有メモリデータが所定の周期時間の間、受信されていないと判断した場合に自端末の共有メモリデータを送信することを特徴とする請求項1に記載の定周期データ伝送方法。 The method according to claim 1, wherein the shared memory data of the terminal is transmitted when it is determined that the shared memory data from the terminal has not been received for a predetermined period of time.
- 自端末の共有メモリデータが変更されたことを判断する所定の周期時間と、自端末からの共有メモリデータが受信されていないことを判断する所定の周期時間とを持つことを特徴とする請求項3に記載の定周期データ伝送方法。 A predetermined cycle time for determining that the shared memory data of the own terminal has been changed and a predetermined cycle time for determining that the shared memory data from the own terminal has not been received. 4. The method of transmitting periodic data as described in 3.
- 共有メモリデータの受信状態を受信した端末は、自端末からの共有メモリデータが所定の周期時間の間、受信されていないと判断した場合に、受信されていない端末はネットワークから離脱したと認識することを特徴とする請求項3あるいは4に記載の定周期データ伝送方法。 When the terminal that has received the reception state of the shared memory data determines that the shared memory data from its own terminal has not been received for a predetermined period of time, it recognizes that the terminal that has not received has left the network. The method of transmitting periodic data according to claim 3 or 4, characterized by the above.
- 共有メモリデータの受信状態を受信した端末は、自端末からの共有メモリデータが所定の周期時間の間、受信されていると判断した場合に受信した端末はネットワークに参入したと認識することを特徴とする請求項3から5のいずれか1項に記載の定周期データ伝送方法。
The terminal that has received the reception state of the shared memory data recognizes that the received terminal has entered the network when it is determined that the shared memory data from its own terminal has been received for a predetermined period of time. The method of transmitting periodic data according to claim 3.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016566841A JP6207768B1 (en) | 2016-05-26 | 2016-05-26 | Periodic data transmission method |
PCT/JP2016/065551 WO2017203651A1 (en) | 2016-05-26 | 2016-05-26 | Fixed-period data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2016/065551 WO2017203651A1 (en) | 2016-05-26 | 2016-05-26 | Fixed-period data transmission method |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017203651A1 true WO2017203651A1 (en) | 2017-11-30 |
Family
ID=59997675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2016/065551 WO2017203651A1 (en) | 2016-05-26 | 2016-05-26 | Fixed-period data transmission method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6207768B1 (en) |
WO (1) | WO2017203651A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788658A (en) * | 2019-11-11 | 2021-05-11 | 鹤壁天海电子信息系统有限公司 | Data sharing method of communication equipment, communication equipment and storage medium |
CN113938346A (en) * | 2021-09-29 | 2022-01-14 | 中车株洲电力机车有限公司 | MVB port data processing method, MVB communication network and rail transit vehicle |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06350615A (en) * | 1993-06-07 | 1994-12-22 | Toshiba Corp | Cyclic transmission system |
JP2002073584A (en) * | 2000-09-01 | 2002-03-12 | Koyo Electronics Ind Co Ltd | Memory data sharing system by plural stations by cyclic automatic communications |
JP2002185566A (en) * | 2000-12-19 | 2002-06-28 | Yaskawa Electric Corp | Communication data indicator |
JP2005303534A (en) * | 2004-04-08 | 2005-10-27 | Mitsubishi Electric Corp | Cyclic communication synchronizing method |
-
2016
- 2016-05-26 WO PCT/JP2016/065551 patent/WO2017203651A1/en active Application Filing
- 2016-05-26 JP JP2016566841A patent/JP6207768B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06350615A (en) * | 1993-06-07 | 1994-12-22 | Toshiba Corp | Cyclic transmission system |
JP2002073584A (en) * | 2000-09-01 | 2002-03-12 | Koyo Electronics Ind Co Ltd | Memory data sharing system by plural stations by cyclic automatic communications |
JP2002185566A (en) * | 2000-12-19 | 2002-06-28 | Yaskawa Electric Corp | Communication data indicator |
JP2005303534A (en) * | 2004-04-08 | 2005-10-27 | Mitsubishi Electric Corp | Cyclic communication synchronizing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788658A (en) * | 2019-11-11 | 2021-05-11 | 鹤壁天海电子信息系统有限公司 | Data sharing method of communication equipment, communication equipment and storage medium |
CN113938346A (en) * | 2021-09-29 | 2022-01-14 | 中车株洲电力机车有限公司 | MVB port data processing method, MVB communication network and rail transit vehicle |
Also Published As
Publication number | Publication date |
---|---|
JPWO2017203651A1 (en) | 2018-06-07 |
JP6207768B1 (en) | 2017-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2206265B1 (en) | Data acknowledgment apparatus and method | |
US9137838B2 (en) | Direct data communication in infrastructure mode in wireless communication systems | |
WO2014037760A1 (en) | Method and system for increasing data flow transmission | |
JP2007208635A (en) | Node, packet communicating method, and packet communication system | |
JPWO2007052764A1 (en) | Session relay apparatus and session relay method | |
US11218564B2 (en) | Methods and devices for signalling in a communication network | |
US20240048645A1 (en) | Point-to-point database synchronization over a transport protocol | |
WO2017203651A1 (en) | Fixed-period data transmission method | |
CN110071860B (en) | Robot communication method, robot communication system and robot | |
US20110320570A1 (en) | Systems and methods for communicating among nodes of a wireless network | |
JP4752722B2 (en) | Packet transfer apparatus and packet transfer method | |
JP5247422B2 (en) | Cyclic communication system, communication apparatus, and cyclic communication method | |
WO2004071027A1 (en) | Methods and systems for non-disruptive physical address resolution | |
US9172774B2 (en) | Technique for managing communications at a router | |
JP3036050B2 (en) | Communication control device | |
KR20090104667A (en) | Communication system | |
JP4259526B2 (en) | Network system, programmable controller, and data sharing method | |
US20130188636A1 (en) | Communication terminal and communication method | |
GB2493647A (en) | Sending data and returning acknowledgements | |
JP2019057927A (en) | Methods and devices for signaling in communication network | |
JPH01293047A (en) | Packet data resending system | |
JPH04132433A (en) | Communication control system | |
JPS6292546A (en) | Information transmission system | |
JPH04107035A (en) | Communication control system | |
JPH024059A (en) | Method for updating user registration in electric mail system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2016566841 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16903133 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16903133 Country of ref document: EP Kind code of ref document: A1 |