JP5396864B2 - Data transfer method between terminal devices - Google Patents
Data transfer method between terminal devices Download PDFInfo
- Publication number
- JP5396864B2 JP5396864B2 JP2009002463A JP2009002463A JP5396864B2 JP 5396864 B2 JP5396864 B2 JP 5396864B2 JP 2009002463 A JP2009002463 A JP 2009002463A JP 2009002463 A JP2009002463 A JP 2009002463A JP 5396864 B2 JP5396864 B2 JP 5396864B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- data
- token
- terminal device
- transmission
- 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
Links
- 238000012546 transfer Methods 0.000 title claims description 17
- 238000000034 method Methods 0.000 title claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 54
- 238000004891 communication Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000001934 delay Effects 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、複数の端末装置(ノード)をリング型の伝送路でネットワーク接続した通信システムに係り、特に端末装置間のデータ転送方式に関する。 The present invention relates to a communication system in which a plurality of terminal devices (nodes) are network-connected by a ring-type transmission line, and more particularly to a data transfer method between terminal devices.
この種の通信システムは、プラントの監視制御システムやオートメーション工場の工程集中管理システムなど、コンピュータを利用した多種多様の制御システムで採用されている。 This type of communication system is used in a wide variety of control systems that use computers, such as plant monitoring and control systems and automation factory process centralized management systems.
ネットワーク接続される端末装置間のデータ転送方式としては、例えば、リング型の伝送路でネットワーク接続した装置から一つの送信フレームで複数の出力装置に出力可能とするものがある(例えば、特許文献1,特許文献2参照)。 As a data transfer method between terminal devices connected to a network, for example, there is a method that enables output from a device connected to a network via a ring-type transmission path to a plurality of output devices in one transmission frame (for example, Patent Document 1). , See Patent Document 2).
これらの従来方式では、各端末装置は受信したデータフレームを一旦内部に取り込み、データフレームの再構築を行う。このため、各端末装置は、ネットワークの構成情報を持ち、それぞれで受信したデータフレームを編集する機能を備える。 In these conventional systems, each terminal device once captures the received data frame and reconstructs the data frame. For this reason, each terminal device has network configuration information and a function of editing the received data frame.
特許文献1や特許文献2の方式では、各端末装置で受信動作から送信動作までに、一旦内部でデータフレームの再構築を行なうため、データフレームが各端末装置内に留まる時間が長くなってデータ転送速度が低下する傾向にある。
In the methods of Patent Document 1 and
本発明の目的は、データフレームの再構築を不要にし、データ転送処理を簡素化でき、データ転送速度を上げることができる端末装置間のデータ転送方式を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a data transfer method between terminal devices that eliminates the need to reconstruct data frames, simplifies data transfer processing, and increases the data transfer rate.
本発明は、前記の課題を解決するため、リング型の伝送路でネットワーク接続した各端末装置間には伝送路にデータフレームとトークンフレームを巡回させ、トークンフレームを検出した端末装置はその受信終了後にトークンフレームを送信することでトークンを伝送路上に1つだけ巡回させ、送信要求がある端末装置はトークンフレーム受信終了後かつデータフレームを送信した後にトークンフレームを送信し、データフレームのデータを受信する端末装置は下流の端末装置へのデータフレームの通過と並行してデータ受信を行い、各端末装置を通過したデータフレームは送信元の端末装置まで巡回することで消去するようにしたもので、以下の構成を特徴とする。 In order to solve the above-mentioned problem, the present invention causes a data frame and a token frame to circulate in a transmission path between terminal apparatuses connected to a network via a ring-type transmission path, and the terminal apparatus that has detected the token frame ends its reception. The token frame is transmitted later so that only one token is circulated on the transmission path, and the terminal device having the transmission request transmits the token frame after receiving the token frame and after transmitting the data frame, and receives the data of the data frame The terminal device that performs data reception in parallel with the passage of the data frame to the downstream terminal device, and the data frame that has passed through each terminal device is erased by circulating to the terminal device of the transmission source, It is characterized by the following configuration.
(1)複数の端末装置をリング型の伝送路でネットワーク接続した通信システムにおける端末装置間のデータ転送方式であって、
各端末装置は、
伝送路にデータフレームとトークンフレームを巡回させる手段と、
前記トークンフレームを検出したときに、その受信終了後にトークンフレームを送信する手段と、
送信要求がある場合、前記トークンフレームの受信終了後かつ前記データフレームを送信した後に前記トークンフレームを送信する手段と、
前記データフレームのデータを受信する場合、下流の端末装置へのデータフレームの通過と並行してデータ受信を行う手段と、
前記データフレームを送信する場合、他の端末装置を通過したデータフレームが自端末装置まで巡回してきたときに消去する手段と、
を備えたことを特徴とする。
(1) A data transfer method between terminal devices in a communication system in which a plurality of terminal devices are connected via a ring-type transmission line,
Each terminal device
Means for circulating data frames and token frames in the transmission path;
Means for transmitting a token frame after completion of reception when detecting the token frame;
If there is a transmission request, means for transmitting the token frame after receiving the token frame and after transmitting the data frame;
Means for receiving data in parallel with the passage of the data frame to the downstream terminal device when receiving data of the data frame;
When transmitting the data frame, means for erasing when a data frame that has passed through another terminal device circulates to its own terminal device;
It is provided with.
(2)前記各端末装置は、トークンフレームの送信時間を全端末装置の内部遅延時間の総和より長くし、送信したデータフレームがトークン送信中に戻ってくるようにしたことを特徴とする。 (2) Each of the terminal devices is characterized in that the transmission time of the token frame is longer than the sum of the internal delay times of all the terminal devices, and the transmitted data frame is returned during token transmission.
以上のとおり、本発明によれば、リング型の伝送路でネットワーク接続した各端末装置間には伝送路にデータフレームとトークンフレームを巡回させ、トークンフレームを検出した端末装置はその受信終了後にトークンフレームを送信することでトークンを伝送路上に1つだけ巡回させ、送信要求がある端末装置はトークンフレーム受信終了後かつデータフレームを送信した後にトークンフレームを送信し、データフレームのデータを受信する端末装置は下流の端末装置へのデータフレームの通過と並行してデータ受信を行い、各端末装置を通過したデータフレームは送信元の端末装置まで巡回して消去するようにしたため、データフレームの再構築を不要にし、データ転送処理を簡素化でき、データ転送速度を上げることができる。 As described above, according to the present invention, a data frame and a token frame are circulated through a transmission path between terminal apparatuses connected to a network via a ring-type transmission path, and the terminal apparatus that has detected the token frame receives a token after completion of the reception. A terminal that circulates only one token on the transmission path by transmitting a frame, and a terminal device that has a transmission request transmits a token frame after receiving a token frame and after transmitting a data frame, and receives data of the data frame The device receives data in parallel with the passing of the data frame to the downstream terminal device, and the data frame that has passed through each terminal device is circulated to the terminal device of the transmission source and erased. Can be eliminated, the data transfer process can be simplified, and the data transfer speed can be increased.
具体的には、データフレームを各端末装置でフレーム再構築しないため、従来方式より処理が少なく、端末装置の内部遅延が小さくなり転送速度が上がる。 Specifically, since the data frame is not reconstructed in each terminal device, the processing is less than in the conventional method, the internal delay of the terminal device is reduced, and the transfer rate is increased.
また、データフレームを各端末装置でフレーム再構築しないため、従来方式より処理が少なく、端末装置の制御回路を簡素化できる。 Further, since the data frame is not reconstructed in each terminal device, the processing is less than in the conventional method, and the control circuit of the terminal device can be simplified.
また、送信したデータフレームを伝送路上からの消去は、受信を意識せずに消去できる。 Also, the transmitted data frame can be erased from the transmission path without being aware of reception.
(実施形態1)
図1は、本発明の実施形態を示す通信システムの構成図である。各端末装置1〜6は、スロット番号0〜5が割り当てられて、リング型の伝送路でネットワーク接続され、各端末装置間では伝送路にデータフレームとトークンフレームを巡回させる。
(Embodiment 1)
FIG. 1 is a configuration diagram of a communication system showing an embodiment of the present invention. Each of the terminal devices 1 to 6 is assigned slot numbers 0 to 5 and is connected to the network through a ring-type transmission line, and the data frame and the token frame are circulated through the transmission line between the terminal devices.
このフレーム構成は、図1中に示すように、フレームの前後に送信元ノードと送信先ノードの同期用とするフラグと、当該フレームがデータフレームかトークンフレームかの種別を設定したコマンド種別、および送信元アドレスや送信データ、チェックコードなどのデータ部で構成する。 As shown in FIG. 1, this frame configuration includes a flag for synchronization between a transmission source node and a transmission destination node before and after a frame, a command type in which the type of whether the frame is a data frame or a token frame, and It consists of a data part such as a source address, transmission data, and check code.
各端末装置1〜6は、トークンフレームを検出したとき、その受信終了後にトークンフレームを送信することでトークンを伝送路上に1つだけ巡回させる。また、各端末装置1〜6のうち、送信要求がある端末装置は、トークンフレーム受信終了後にデータフレームを送信し、この送信後にトークンフレームを送信する。また、データフレームのデータを受信する端末装置は、下流の端末装置へのデータフレームの通過と並行してデータ受信を行い、伝送路上に送出されたデータフレームは、トークンフレームと異なり各端末装置を通過していき、送信元の端末装置まで巡回してきたときに消去される(当該端末装置が確認するのみで再送信を行わない)。 When each of the terminal devices 1 to 6 detects a token frame, it transmits the token frame after the reception is completed, thereby circulating only one token on the transmission path. Further, among the terminal devices 1 to 6, the terminal device having a transmission request transmits a data frame after completion of the token frame reception, and transmits the token frame after the transmission. Also, the terminal device that receives the data frame data receives data in parallel with the passage of the data frame to the downstream terminal device, and the data frame transmitted on the transmission path is different from the token frame in each terminal device. It is erased when it passes through and goes to the terminal device of the transmission source (only the terminal device confirms but does not retransmit).
このようなフレーム構成と端末装置での処理により、各端末装置ではデータフレームの再構築を不要にし、データ転送処理を簡素化し、データフレームが各端末装置内に留まる時間を短縮してデータ転送速度を上げる。 With such a frame configuration and processing at the terminal device, each terminal device eliminates the need to reconstruct the data frame, simplifies the data transfer process, reduces the time that the data frame stays in each terminal device, and reduces the data transfer rate. Raise.
図1に示す各端末装置1〜6は、その要部構成を端末装置3に代表して示す。なお、構成要素はハードウェアで示すが、これらをソフトウェア構成とすることでもよい。端末装置3において、上流ノードからの受信フレームがトークンフレームの場合、コマンド種別フィールドまで受信した時点で、トークン検出器Aがトークンフレームを検出し、マルチプレクサBは出力を自身の送信データ(自送信データ)側に切り替え、受信フレームの通過を抑止する。遅延回路Cは、トークン検出器Aがトークンフレームを検出するまでの時間以上に受信フレームを遅延させ、トークンフレームが下流に流れるのを遅らせる。トークン受信終了時、送信要求が無い場合は自端末装置からトークンフレームを出力し、トークンフレームを伝送路に巡回させる。送信要求が有る場合は、まずデータフレーム送信し、送信後にトークンフレームを送信する。いずれの場合もトークンフレーム送信終了時、マルチプレクサBは出力を自送信データ側から、遅延回路Cを介した上流からの受信データに切り替える。この動作によって、端末装置はデータフレームを、遅延回路Cを介して通過させるので、遅延回路Cの遅延時間のみでフレームを伝播させることができ、この伝播時間は従来のフレーム再構築する動作に比べて処理が簡易化される。 The terminal devices 1 to 6 shown in FIG. In addition, although a component is shown with a hardware, you may make these into a software structure. In the terminal device 3, when the received frame from the upstream node is a token frame, the token detector A detects the token frame when the command type field is received, and the multiplexer B outputs its own transmission data (own transmission data). ) Side to suppress the passage of received frames. The delay circuit C delays the received frame more than the time until the token detector A detects the token frame, and delays the flow of the token frame downstream. At the end of token reception, if there is no transmission request, a token frame is output from the terminal device, and the token frame is circulated through the transmission path. When there is a transmission request, first a data frame is transmitted, and a token frame is transmitted after transmission. In any case, at the end of token frame transmission, the multiplexer B switches the output from the own transmission data side to the reception data from the upstream via the delay circuit C. With this operation, the terminal device passes the data frame through the delay circuit C, so that the frame can be propagated only by the delay time of the delay circuit C. This propagation time is compared with the conventional frame reconstruction operation. Processing is simplified.
図2は端末装置3(スロット2)がデータ転送動作する場合の模式図を示す。各端末装置(スロット0〜5)ではトークンフレームを検出時、トークン受信終了後にトークンフレームを送信する。ここで送信要求がある端末装置は、トークン受信終了後にデータフレームを送信し、送信後にトークンフレームを送信する。伝送路上に送出されたデータフレームは、トークンフレームと異なり各端末装置を通過していき、送信元の端末装置まで達すると消去される。データフレームを受信する端末装置では、下流への通過と並行して受信動作が行なわれる。 FIG. 2 is a schematic diagram when the terminal device 3 (slot 2) performs a data transfer operation. In each terminal device (slots 0 to 5), when detecting the token frame, the token frame is transmitted after completion of the token reception. Here, the terminal device having a transmission request transmits a data frame after the end of token reception, and transmits a token frame after transmission. Unlike the token frame, the data frame sent on the transmission path passes through each terminal device, and is erased when it reaches the transmission source terminal device. In the terminal device that receives the data frame, the reception operation is performed in parallel with the passage downstream.
(実施形態2)
実施形態1において、図2のスロット2が送信するデータフレームのように、送信したデータフレームは送信元の端末装置まで達すると消去される。この前提として、送信したデータフレームはトークンフレーム送信中に戻ってくることが必要になる。トークン送信後は、マルチプレクサBがデータフレームの通過出力になるため、データフレームがトークン送信後に戻ってきた場合、再び下流に流れてしまう。したがって、トークンフレームの送信時間は全スロットの内部遅延の総和より長くすることで、送信したデータフレームはトークン送信中に戻ってくるようにする。これにより、各端末装置では受信を意識せずに、送信したデータフレームを必ず送信元で消去することができる。
(Embodiment 2)
In the first embodiment, like the data frame transmitted by
1〜6 端末装置
A トークン検出器
B マルチプレクサ
C 遅延回路
1-6 Terminal device A Token detector B Multiplexer C Delay circuit
Claims (1)
各端末装置は、
伝送路にデータフレームとトークンフレームを巡回させる手段と、
前記トークンフレームを検出したときに、その受信終了後にトークンフレームを送信する手段と、
送信要求がある場合、前記トークンフレームの受信終了後かつ前記データフレームを送信した後に前記トークンフレームを送信する手段と、
前記データフレームのデータを受信する場合、下流の端末装置へのデータフレームの通過と並行してデータ受信を行う手段と、
前記データフレームを送信する場合、他の端末装置を通過したデータフレームが自端末装置まで巡回してきたときに消去する手段と、
を備え、トークンフレームの送信時間を全端末装置の内部遅延時間の総和より長くし、送信したデータフレームがトークン送信中に戻ってくるようにしたことを特徴とする端末装置間のデータ転送方式。 A data transfer method between terminal devices in a communication system in which a plurality of terminal devices are network-connected by a ring-type transmission line,
Each terminal device
Means for circulating data frames and token frames in the transmission path;
Means for transmitting a token frame after completion of reception when detecting the token frame;
If there is a transmission request, means for transmitting the token frame after receiving the token frame and after transmitting the data frame;
Means for receiving data in parallel with the passage of the data frame to the downstream terminal device when receiving data of the data frame;
When transmitting the data frame, means for erasing when a data frame that has passed through another terminal device circulates to its own terminal device;
A data transfer method between terminal devices, characterized in that the transmission time of the token frame is longer than the sum of the internal delay times of all the terminal devices, and the transmitted data frame is returned during token transmission .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009002463A JP5396864B2 (en) | 2009-01-08 | 2009-01-08 | Data transfer method between terminal devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009002463A JP5396864B2 (en) | 2009-01-08 | 2009-01-08 | Data transfer method between terminal devices |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010161626A JP2010161626A (en) | 2010-07-22 |
| JP5396864B2 true JP5396864B2 (en) | 2014-01-22 |
Family
ID=42578451
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009002463A Active JP5396864B2 (en) | 2009-01-08 | 2009-01-08 | Data transfer method between terminal devices |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5396864B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7351248B2 (en) * | 2020-03-23 | 2023-09-27 | 株式会社明電舎 | signal transmission system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3959845B2 (en) * | 1998-05-29 | 2007-08-15 | 富士電機機器制御株式会社 | Input / output control method for programmable controllers |
-
2009
- 2009-01-08 JP JP2009002463A patent/JP5396864B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010161626A (en) | 2010-07-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5197765B2 (en) | Communication management device and communication device | |
| JP5365234B2 (en) | Token error detection / recovery method between terminal devices | |
| JP4308297B2 (en) | Communication device and switch processing device | |
| JP5014362B2 (en) | Information processing apparatus, control method therefor, and computer program | |
| CN111756588A (en) | Communication link detection method and related device | |
| US20070115824A1 (en) | Selective flow control | |
| JP5396864B2 (en) | Data transfer method between terminal devices | |
| CN110572228A (en) | Synchronous information transmission method, device, related equipment and storage medium | |
| US20140153381A1 (en) | Information transmission network and corresponding network node | |
| US12536122B2 (en) | Securing network access using dynamically generated baud-rates | |
| EP2922244B1 (en) | Media access control filtering apparatus for high speed switching and operating method thereof | |
| JP6494880B2 (en) | Transfer device and frame transfer method | |
| JP5396870B2 (en) | Broadcast communication method between terminal devices | |
| JP2018117241A (en) | Communication device, master device and communication control method | |
| JP5168182B2 (en) | Input/Output Data Transfer Method | |
| JP6043593B2 (en) | Packet transfer apparatus, monitoring method, and program | |
| JP6467877B2 (en) | Transmission frame conversion circuit | |
| JP4897393B2 (en) | Data transmission device | |
| WO2018076672A1 (en) | Method and apparatus for accessing optical transmission network service and computer storage medium | |
| JP5220165B2 (en) | COMMUNICATION MANAGEMENT DEVICE, COMMUNICATION DEVICE, AND COMMUNICATION METHOD | |
| JP3715560B2 (en) | COMMUNICATION SYSTEM AND COMMUNICATION CONTROL DEVICE | |
| JP2017184072A (en) | Transmission method of field network | |
| JP5978858B2 (en) | Optical double loop transmission system, optical double loop transmission system communication method, and optical double loop transmission system communication program | |
| JP2018026694A (en) | Communication device, parent device, and communication control method | |
| JP2021150932A (en) | Signal transmission system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111209 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130515 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130521 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130722 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130722 |
|
| 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: 20130924 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131007 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5396864 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |