JP5240285B2 - Retransmission device when communication is abnormal - Google Patents

Retransmission device when communication is abnormal Download PDF

Info

Publication number
JP5240285B2
JP5240285B2 JP2010275559A JP2010275559A JP5240285B2 JP 5240285 B2 JP5240285 B2 JP 5240285B2 JP 2010275559 A JP2010275559 A JP 2010275559A JP 2010275559 A JP2010275559 A JP 2010275559A JP 5240285 B2 JP5240285 B2 JP 5240285B2
Authority
JP
Japan
Prior art keywords
data
event
transmission
sequence number
transmitted
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
JP2010275559A
Other languages
Japanese (ja)
Other versions
JP2011078127A (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.)
Meidensha Corp
Original Assignee
Meidensha 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 Meidensha Corp filed Critical Meidensha Corp
Priority to JP2010275559A priority Critical patent/JP5240285B2/en
Publication of JP2011078127A publication Critical patent/JP2011078127A/en
Application granted granted Critical
Publication of JP5240285B2 publication Critical patent/JP5240285B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、携帯電話網を利用した無線通信におけるネットワーク通信処理装置に関するものである。   The present invention relates to a network communication processing apparatus in wireless communication using a cellular phone network.

従来のネットワーク通信は、専用線による通信を行っていたため、通信回線を接続したままの状態でネットワーク通信を行っており、通信性能要求により通信量を考慮する必要があった。また、専用線による通信方式は初期導入コストが高くなるのと、ランニングコストも高くなるという問題を抱えていた。 In conventional network communication, since communication is performed using a dedicated line, network communication is performed with the communication line connected, and it is necessary to consider the amount of communication depending on the communication performance requirement. Also, the communication method using a dedicated line has a problem that the initial introduction cost is high and the running cost is high.

近年、初期導入コストやランニングコストを抑える手段として、公衆回線や広域ネットワーク、または携帯電話網などの公衆インフラを利用する傾向にあり、この公衆インフラを利用したネットワーク通信では、通信料金を低く抑えるために、通信接続の仕方として情報の送受信時以外は回線切断する、またはパケット通信量を減らす等の工夫を行っている。   In recent years, public infrastructures such as public lines, wide area networks, and mobile phone networks have been used as a means to reduce initial installation costs and running costs. In network communications using such public infrastructures, in order to keep communication charges low In addition, as a method of communication connection, devices such as disconnecting the line or reducing the amount of packet communication are performed except when information is transmitted and received.

この通信接続の仕方は、情報の送受信要求が発生した時だけ通信回線接続を行い、送受信が終了したら通信回線を切断するもので、情報送受信の頻度を抑えるために、情報発信元(端末装置等)に情報を蓄えてから情報送信先(サーバ装置等)へ情報送信する等の方法も利用されている。また、パケット通信量の削減については、送信データを簡素化したり、送信データの到達確認を無くす等の方法でパケット量の削減が行われている。   This communication connection method is such that the communication line is connected only when an information transmission / reception request is generated, and the communication line is disconnected when transmission / reception is completed. In order to suppress the frequency of information transmission / reception, the information transmission source (terminal device etc. ) Is also used, such as transmitting information to an information transmission destination (server device or the like) after storing the information. Regarding the reduction of the packet communication amount, the amount of packet is reduced by methods such as simplifying transmission data or eliminating the arrival confirmation of transmission data.

情報の種類についても、プラント監視の場合においては、計測値等一定周期で送信が継続される定周期データおよびイベント発生時等に送信されるイベントデータに分類される。定周期データは図7に示すように、T1の定周期インターバルで定周期データ81、82、83のデータ送信が継続されており、受信側でこのT1に充分な遅延時間T2を加えたT1+T2のタイムアウトタイマーで定周期データの受信状況を監視している。もし、定周期データ83が何らかの障害により受信されずタイムアウトが発生したら、受信側から送信側へ再送要求84を送信している。ただし、大幅な伝送遅れにより、古いデータが送信されてくる可能性があり、データの内容によっては次回の定周期データで差し支えない場合もあるが、情報未達のときは再送要求自体が未達となる可能性が高い等の問題点があった。   In the case of plant monitoring, the type of information is also classified into fixed period data that is continuously transmitted at a constant period, such as measurement values, and event data that is transmitted when an event occurs. As shown in FIG. 7, data transmission of the fixed period data 81, 82, and 83 is continued at the fixed period interval of T1, and the fixed period data is T1 + T2 obtained by adding a sufficient delay time T2 to T1 on the receiving side. The reception status of the periodic data is monitored with a timeout timer. If the periodic data 83 is not received due to some failure and a timeout occurs, a retransmission request 84 is transmitted from the receiving side to the transmitting side. However, there is a possibility that old data may be transmitted due to a large transmission delay, and depending on the contents of the data, there may be no problem with the next periodic data, but when the information has not been reached, the retransmission request itself has not been reached. There was a problem such as high possibility of becoming.

イベントデータは図8に示すように、送信側でイベントデータ91、92、93が送信される毎にN、N+1、N+2のように+1ずつ付加されて更新される通信番号(以下、通番と称す)を送信し、受信側で前回受信した通番Nに+1した通番監視を行い、この期待値と今回受信したイベントデータ94の通番チェックで、不一致と判断された場合に送信側へ欠落した分(ここでは通番(N+1)〜(M−1))の再送要求95を行っている。しかし、この再送要求については、次のイベントデータを受信するまで欠落を認識できない問題点があった。   As shown in FIG. 8, the event data is a communication number (hereinafter referred to as a serial number) that is updated by adding +1 as N, N + 1, N + 2 each time event data 91, 92, 93 is transmitted on the transmission side. ), And the receiving side monitors the serial number N + 1 added to the previously received serial number N, and if there is a mismatch between the expected value and the serial number check of the event data 94 received this time, Here, a retransmission request 95 of serial numbers (N + 1) to (M-1) is made. However, this retransmission request has a problem in that it cannot be recognized until the next event data is received.

この送信データに通番を付加してデータ通信を行う方式は、特許文献1で公知となっており、この特許文献1によれば、送信側において送信されるデータを部分データ毎に区分すると共に各部分データに対して送信順序に従う通番を付加して送信し、受信側において、各通番および部分データ毎に、データの誤り有無をチェックし、チェック結果に関する情報を送信側に返送し、再送処理を実行するかたちで示されている。   A method of performing data communication by adding a serial number to the transmission data is known in Patent Document 1, and according to Patent Document 1, data transmitted on the transmission side is divided into partial data and Send the partial data with a serial number according to the transmission order, and on the receiving side, check for data error for each serial number and partial data, send back information about the check result to the transmitting side, It is shown in the form of execution.

特開平05−136764号公報JP 05-136664 A

この特許文献1にも示されるように、データ伝送路を介して送信側と受信側で構成されるデータ伝送においては、送信側のデータが受信側に確実に届く保障がなく、必ず何らかの再送手段を送信側と受信側で構築する必要性があるが、通信回数を低く抑えるためには、この再送手段は通信効率の低下が極力少なくなるように実現されなければならない。   As shown also in this Patent Document 1, in data transmission configured on the transmission side and the reception side via the data transmission path, there is no guarantee that the data on the transmission side will surely reach the reception side, and there is always some kind of retransmission means However, in order to keep the number of communications low, this retransmission means must be implemented so that the reduction in communication efficiency is minimized.

そこで本発明が目的とするところは、公衆インフラを利用したネットワーク通信において、通信料金を低く抑えるために、通信接続の仕方として情報の送受信時のみ回線接続すると共に、再送要求の方法を変更してパケット通信量を減らし、通信効率のよい通信料金の安価な通信方式を提供することにある。   Therefore, the object of the present invention is to change the retransmission request method and connect the line only when transmitting and receiving information as a communication connection method in order to keep the communication fee low in network communication using public infrastructure. An object of the present invention is to provide an inexpensive communication method with a reduced communication amount and a good communication efficiency.

データ送信装置からネットワークを介して一定周期で送信される定周期データとイベント発生時に送信されるイベントデータとをデータ受信装置に送信し、このデータ受信装置においてデータ欠落検出時にデータ送信装置に対して欠落データの再送要求を実行するネットワーク伝送方式において、
前記データ送信装置には、定周期データの送信毎に+1ずつ更新される定周期通番をそれぞれ付加する手段と
前記イベントデータの送信毎に+1ずつ更新されるイベント通番をそれぞれ付加する手段と
前記各定周期データには当該定周期データの送信直前に発生した送信済みイベント通番を付加して送信する手段と、
前記データ受信装置から、送信したイベントデータの到達確認信号が決められた時間内に返送されなかったときに当該イベントデータを再送し、再送所定回数の繰返し後にリトライオーバーとして回線切断する手段を設け、
前記データ受信装置には、イベントデータの到達確認信号を前記データ送信装置に返送する手段と、
イベントデータの受信の都度、前回受信済みのイベント通番と今回受信したイベント通番とを比較判定し、イベント通番が不連続のときにイベントデータ欠落と判断して前記データ送信装置に対して欠落データの再送要求を行う手段を設け、
前記データ送信装置は、データ受信装置からの再送要求時に当該欠落データを再送するよう構成したことを特徴としたものである。
The periodic transmission data transmitted from the data transmission device via the network at a constant cycle and the event data transmitted when the event occurs are transmitted to the data reception device. In a network transmission system that performs a retransmission request for missing data,
Means for adding a periodic sequence number that is updated by +1 for each transmission of the periodic data to the data transmission device;
And means for adding each event serial number is updated by +1 every transmission of the event data,
Means for transmitting each fixed cycle data by adding a transmitted event sequence number generated immediately before transmission of the fixed cycle data;
When the arrival confirmation signal of the transmitted event data is not returned within the determined time from the data receiving device, the event data is retransmitted, and a means for disconnecting the line as a retry over after a predetermined number of retransmissions is provided,
Means for returning an event data arrival confirmation signal to the data transmitter;
Each time event data is received, the event sequence number received last time is compared with the event sequence number received this time, and when the event sequence number is discontinuous, it is determined that event data is missing and Provide a means for requesting retransmission,
The data transmitting device is configured to retransmit the missing data when a retransmission request is received from the data receiving device .

以上のとおり、本発明によれば、公衆回線や広域ネットワーク、携帯電話網などの公衆インフラを利用した通信において、通信データの品質を落とすことなく通信回線の削減と通信パケット量の削減ができるため、通信料金を抑制することができる。 As described above, according to the present invention, it is possible to reduce the number of communication lines and the amount of communication packets without reducing the quality of communication data in communication using a public infrastructure such as a public line, a wide area network, and a mobile phone network. Communication charges can be reduced.

本発明のネットワーク構成図Network configuration diagram of the present invention 本発明の実施例1による定周期データの再送処理Periodic data retransmission processing according to Embodiment 1 of the present invention 本発明の実施例2によるイベントデータの再送処理Retransmission processing of event data according to embodiment 2 of the present invention 本発明の実施例3による定周期データを活用したイベントデータの再 送処理Retransmission processing of event data using fixed period data according to Embodiment 3 of the present invention 定周期情報の未達管理Periodical information failure management 上位装置における通番欠落によるイベント情報の再送要求Request to resend event information due to missing serial number in host device 従来技術の定周期データ再送処理Conventional periodic data re-transmission processing 従来技術のイベントデータ再送処理Conventional event data resend processing

図1は本発明のネットワーク構成図である。1はネットワーク、2は下位装置、5は上位装置で、これら下位装置2と上位装置5は、上り情報送信装置3、ネットワーク1、下り情報送信装置4を介して接続されデータ伝送が行われる。下位装置2から上位装置5への通信情報には、前述したように定周期にデータを送信する定周期データと随時にデータを送信するイベントデータがある。この2種類の送信データに対する下位装置2と上位装置5の処理方式を以下に示す。   FIG. 1 is a network configuration diagram of the present invention. Reference numeral 1 denotes a network, 2 denotes a lower level device, and 5 denotes a higher level device. The lower level device 2 and the higher level device 5 are connected via an uplink information transmission device 3, a network 1, and a downlink information transmission device 4 to perform data transmission. As described above, the communication information from the lower apparatus 2 to the upper apparatus 5 includes fixed period data for transmitting data at a fixed period and event data for transmitting data at any time. The processing methods of the lower device 2 and the upper device 5 for these two types of transmission data are shown below.

通信異常検出方法については、定周期データはタイムアウトタイマー以内に情報が届かない場合はデータ未達と判断するが、このデータ未達検出時は異常ログ(必要時には異常通報する)として保存するのみとし、ここでの再送要求は行わない。イベントデータは随時にデータ送信されるため、受信側でタイマーによるデータ未達検出ができない。このため、通番による欠落判定を実施するが、イベントデータは随時にデータ送信されるため、次回イベントデータ受信時に欠落判定するのは時間的に遅れるので、イベント通番通知、または定周期データを活用してイベントデータの欠落検出を行う。   As for the communication error detection method, if the periodic data does not reach the data within the timeout timer, it is judged that the data has not been reached. However, when this data failure is detected, it is only stored as an error log (reports an error when necessary). No retransmission request is made here. Since event data is transmitted at any time, it is not possible to detect data unreachable by a timer on the receiving side. For this reason, the missing number is determined by serial number, but since event data is transmitted at any time, it is delayed in time to receive the next event data, so use event serial number notification or periodic data. To detect missing event data.

再送処理方法については、定周期データは前述したようにタイムアウトタイマーによるデータ未達検出時は再送要求を実施せず、定周期データに付加した通番(以下、定周期通番と称す)にて、前回受信済の定周期通番+1と今回受信した定周期通番を比較し、一致していなければ欠落と判定し、欠落分の再送要求を行う。イベントデータはイベントデータおよびイベント通番通知の通番(以下、イベント通番と称す)と受信済イベント通番+1、または定周期データに新たに付加した送信済イベント通番と受信側の受信済イベント通番を比較し、一致していなければ欠落分の再送要求を行う。   As for the re-transmission processing method, as described above, the fixed-cycle data is not executed when the data is not reached by the timeout timer. The received periodic periodic sequence number +1 is compared with the periodic periodic sequence number received this time. For event data, compare the event data and the event number notification sequence number (hereinafter referred to as the event sequence number) with the received event sequence number +1, or the sent event sequence number newly added to the periodic data and the received event sequence number at the receiving side. If they do not match, a retransmission request for missing data is made.

図2に本発明の実施例1による定周期データの再送処理を示している。送信側からT1の定周期インターバルで定周期データ11、12,13・・・が順次、定周期通番L、L+1、L+2・・・が付加されて受信側に送信され、受信側では受信済定周期通番として順次メモリに格納更新する。ここで、例えば、定周期通番Lのデータ11の受信後、何らかの理由によって定周期通番L+1、L+2のデータ12、13が欠落し、次の定周期通番L+3のデータ14から正常に受信されたとすると、受信側は次のように再送要求を送信側に行う。   FIG. 2 shows a periodic data retransmission process according to the first embodiment of the present invention. The periodic data 11, 12, 13,... Are sequentially added from the transmitting side to the receiving side at regular intervals of T1, and the periodic numbers L, L + 1, L + 2,. It is stored and updated sequentially in the memory as a cyclic serial number. Here, for example, after receiving the data 11 of the fixed cycle serial number L, it is assumed that the data 12 and 13 of the fixed cycle serial numbers L + 1 and L + 2 are lost for some reason and are normally received from the data 14 of the next fixed cycle serial number L + 3. The receiving side makes a retransmission request to the transmitting side as follows.

定周期通番Lのデータ11を受信して,受信側では受信済定周期通番としてLをメモリに格納する。その後、タイムアウトタイマーT1+T2が経過しても受信すべき次の定周期データ12が受信されなかった場合、当該データは未達として通信異常と認識するが、この時点では直ちに再送要求をせずに、必要な時に異常情報する異常ログとしてメモリに保存する。   The data 11 of the fixed cycle serial number L is received, and the receiving side stores L in the memory as the received fixed cycle serial number. After that, if the next fixed period data 12 to be received is not received even after the timeout timer T1 + T2 has elapsed, the data is recognized as unsuccessful communication, but at this point in time, without a retransmission request, Save it in memory as an error log that reports error information when necessary.

次の定周期通番L+3のデータ14は正常であるので、受信側ではこのデータ14の受信時に定周期通番L+3と受信済定周期通番としてメモリに格納されているLを比較し、不連続であることを検出して定周期通番L+1、L+2の欠落を認識して、定周期通番L+1、L+2に相当するデータ12、13の再送要求を送信側に行う。すなわち、データ欠落判定の都度再送要求をすることではなく、複数の欠落したデータを纏めて再送要求を実行するため、その分の通信回数が少なくなる。   Since the data 14 of the next fixed-cycle serial number L + 3 is normal, the reception side compares the fixed-cycle serial number L + 3 and L stored in the memory as the received fixed-cycle serial number when receiving this data 14, and is discontinuous. This is detected and the lack of the fixed cycle sequence numbers L + 1 and L + 2 is recognized, and a retransmission request for the data 12 and 13 corresponding to the fixed cycle sequence numbers L + 1 and L + 2 is made to the transmission side. That is, instead of making a retransmission request every time data loss is determined, a retransmission request is executed collectively for a plurality of missing data, so the number of communications is reduced accordingly.

なお、受信側で再送要求15を送信する場合には、通信異常復帰後の通信安定を確保するために、判定処理後に所定の遅れ時間をもたせて再送要求を実行する。また、この再送要求は無駄に実行しないという考えで、例えば、大幅な伝送遅れ等により当該データが伝送されてくる場合や、定周期データでも種類によっては比較的重要度の低い場合には、次の定周期データの情報でも差し支えない場合がある。一方、情報の未達は、通信回線の不能時に発生することが殆どである。したがって、このような場合に再送要求をしても、その要求自体も未達となる可能性があるので、装置としてはこのような点を考慮した機能が付加されている。   When the retransmission request 15 is transmitted on the receiving side, the retransmission request is executed with a predetermined delay time after the determination process in order to ensure communication stability after the communication abnormality recovery. In addition, since this retransmission request is not executed in vain, for example, when the data is transmitted due to a large transmission delay or when the periodic data is relatively less important depending on the type, In some cases, the information of the fixed period data may be acceptable. On the other hand, information failure is mostly caused when a communication line is disabled. Therefore, even if a retransmission request is made in such a case, the request itself may not be achieved. Therefore, the apparatus has a function that takes such points into consideration.

図5に各装置間の定周期情報の未達管理と実施例1の再送処理の詳細を示す。下位装置2は、上り情報送信装置3を介して上位装置5へデータを送信し、上位装置5は、下り情報送信装置4を介して下位装置2へデータを送信している。定周期データの未達検出はT1+T2で、上位装置5では定周期データ41により伝送路復帰を認識するが、通信安定を確保するため一定時間遅らして定周期データ(#2)と(#3)の再送要求42を下り情報送信装置4を介して下位装置2へ送信する。これに対して下位装置2は再送の定周期データ(#2)43を定周期インターバルとは無関係に、上り情報送信装置3を介して上位装置5へ再送する。再送データ43を受信した上位装置5は、到達確認信号ACK44を送信し、以下、再送データ45、ACK46を繰り返し、一連の再送処理を完了する。再送処理で欠落したら、再度の再送要求は行わないこととする。   FIG. 5 shows details of the non-reach management of the fixed period information between the devices and the retransmission processing of the first embodiment. The lower level device 2 transmits data to the higher level device 5 via the upstream information transmission device 3, and the higher level device 5 transmits data to the lower level device 2 via the downstream information transmission device 4. The non-arrival detection of the fixed cycle data is T1 + T2, and the host device 5 recognizes the return of the transmission path by using the fixed cycle data 41, but the fixed cycle data (# 2) and (# 3) are delayed by a fixed time in order to ensure communication stability. ) Retransmission request 42 is transmitted to the lower apparatus 2 via the downlink information transmitting apparatus 4. On the other hand, the lower order apparatus 2 retransmits the retransmitted periodic data (# 2) 43 to the upper apparatus 5 via the uplink information transmitting apparatus 3 regardless of the fixed period interval. The host device 5 that has received the retransmission data 43 transmits an arrival confirmation signal ACK 44, and thereafter repeats the retransmission data 45 and ACK 46 to complete a series of retransmission processing. If it is lost in the retransmission process, the retransmission request is not made again.

図3に本発明の実施例2によるイベントデータの再送処理を示している。イベントデータは情報が届く周期が不定であるため、実施例1のような時間による未達検出ができない。そのため図3で示すように、送信側でイベントデータの送信管理のためにT3の時間管理機能を有している。すなわち、イベント通番の通知だけを目的とした本体データを含まないイベント通番通知のデータを送信することである。図3において、イベントデータ21が発生してイベント通番Nが付加されて受信側に送信する。受信側ではイベント通番Nの付加されたイベントデータ21を受信して受信済イベント通番Nを格納した後、次の受信データを待っている。送信側はイベントデータ21に続いて22が発生すると、このデータ22にイベント通番N+1を付加して送信するが、データ欠落により受信側には送達されない。送信側では、その後一定時間T3経過してもイベントデータの送信がない場合、イベント通番N+2を付加したイベント通番通知データ23を送信する。受信側では第1の実施例と同様にイベント通番通知データ23を受信した時点で、受信済イベント通番Nと今回受信のN+2を比較し、不連続であることを検出して、イベント通番N+1の欠落を認識し、送信側に対してN+1の再送要求24を送信する。なお、受信側においては、通常のイベントデータを受信した場合も、通番チェックを順次行うことは勿論のことである。   FIG. 3 shows event data retransmission processing according to the second embodiment of the present invention. Since event data has an indefinite period for receiving information, it is impossible to detect non-reaching by time as in the first embodiment. Therefore, as shown in FIG. 3, the transmission side has a time management function of T3 for transmission management of event data. In other words, event sequence number notification data that does not include body data only for the purpose of event sequence number notification is transmitted. In FIG. 3, event data 21 is generated and an event sequence number N is added and transmitted to the receiving side. The receiving side receives the event data 21 to which the event sequence number N is added, stores the received event sequence number N, and then waits for the next received data. When 22 occurs after the event data 21, the transmitting side adds the event sequence number N + 1 to the data 22 and transmits it, but is not delivered to the receiving side due to data loss. On the transmission side, if no event data is transmitted after a certain time T3 has elapsed, event sequence number notification data 23 to which the event sequence number N + 2 is added is transmitted. On the receiving side, when the event sequence number notification data 23 is received as in the first embodiment, the received event sequence number N is compared with N + 2 received this time, and it is detected that the event sequence number N + 1 is discontinuous. Recognizing the loss, N + 1 retransmission requests 24 are transmitted to the transmission side. Of course, the reception side sequentially checks the serial number even when receiving normal event data.

図4は本発明の実施例3による定周期データを活用したイベントデータの再送処理を示したものである。ここでの特徴は、送信側において実施例2のイベント通番通知をしないで、定周期データに定周期通番のほかに送信済イベント通番を付加するものである。これにより実施例2に比べて送信パケット量を減らすことができる。図4において、定周期データ31、32、33にはそれぞれ定周期通番L、L+1、L+2が送信側によって付加されるが、その他、各定周期データには当該定周期データの直前に発生したイベント通番が付加される。すなわち、定周期データ31には、Lの定周期通番の他に、N−1の送信済イベント通番が付加されて受信側に送信され、受信側では受信済定周期通番Lをメモリに格納する。   FIG. 4 shows event data retransmission processing using periodic data according to the third embodiment of the present invention. The feature here is that the event serial number of the second embodiment is not notified on the transmission side, and the transmitted event sequence number is added to the fixed cycle data in addition to the fixed cycle sequence number. As a result, the amount of transmitted packets can be reduced compared to the second embodiment. In FIG. 4, fixed-cycle serial numbers L, L + 1, and L + 2 are added to the fixed-cycle data 31, 32, and 33 by the transmission side, respectively, but other fixed-cycle data includes events that occurred immediately before the fixed-cycle data. A serial number is added. That is, in addition to the L periodic cycle serial number, N-1 transmitted event sequence numbers are added to the periodic cycle data 31 and transmitted to the receiving side, and the received periodic cycle number L is stored in the memory on the receiving side. .

定周期インターバルT1で次の定周期データ32が定周期通番L+1を付加して送信されるが、その定周期イターバルT1の間にイベント通番NとN+1のイベントデータが発生し、N+1のイベトデータが欠落したとする。イベント通番Nのイベントデータ34は正常に受信されたことで、受信済イベント通番はメモリに記憶されている直前のイベント通番N−1をNに書き換えて保存されるが、通番N+1のイベントデータ35は欠落のため保存されない。   The next fixed cycle data 32 is transmitted with the fixed cycle sequence number L + 1 added at the fixed cycle interval T1, but the event sequence numbers N and N + 1 are generated during the fixed cycle interval T1, and the N + 1 event data is missing. Suppose that Since the event data 34 of the event sequence number N has been normally received, the received event sequence number is saved by rewriting the previous event sequence number N-1 stored in the memory with N, but the event data 35 of the sequence number N + 1. Is not saved due to omission.

T1が経過し、定周期通番L+1の付加された定周期データ32には直前に発生した送信済イベント通番としてイベント通番N+1が付加される。これが受信側で受信されたときに、定周期通番L+1の定周期データ32はそのまま格納されるが、イベント通番は今回がN+1であるのに対し、格納されているイベント通番はNで比較結果は不一致となる。したがって、受信側では通番N+1のイベントデータが欠落していると判断して送信側に対して通番N+1の再送要求36を出し、送信側では欠落分の通番N+1のイベントデータ37を再送する。   As T1 elapses, the event sequence number N + 1 is added to the fixed cycle data 32 to which the fixed cycle sequence number L + 1 is added as the transmitted event sequence number generated immediately before. When this is received at the receiving side, the fixed cycle data 32 of the fixed cycle sequence number L + 1 is stored as it is, but the event sequence number is N + 1 this time, whereas the stored event sequence number is N and the comparison result is Disagreement. Therefore, the receiving side determines that the event data of the serial number N + 1 is missing, issues a retransmission request 36 of the serial number N + 1 to the transmitting side, and the transmitting side retransmits the event data 37 of the missing serial number N + 1.

図6は、実施例3による上位装置における通番欠落によるイベント情報の具体的な再送処理の詳細図である。下位装置2においてイベント#1の送信要求51が発生すると、上り情報送信装置3に対して回線接続要求53を送信する。装置3からの応答54を確認した後、#1のイベントデータ55を上り情報送信装置3を介して上位装置5へ送信する。そのとき、上り情報送信装置3と上位装置5間の伝送路に異常が発生し、上位装置5から返送されるべきイベントデータ55の到達確認信号ACK56が下位装置2に到達しなかったとする。下位装置2は、予め定められた時間T4が経過してタイムアウトとなると、55のイベントデータ#1に対応する2回目のイベントデータ57を上り情報送信装置3を介して送信する。以下同様に定められたN回繰り返し、N回目のイベントデータ59を送信後、リトライオーバーとして回線切断要求61を上り情報送信装置3に送信し、その応答62を確認する。この状態でイベント#2の送信要求52が発生しても、上位装置5からの再送要求があるまでは送信しない。   FIG. 6 is a detailed diagram of specific retransmission processing of event information due to missing serial numbers in the higher-level device according to the third embodiment. When a transmission request 51 for event # 1 occurs in the lower apparatus 2, a line connection request 53 is transmitted to the upstream information transmission apparatus 3. After confirming the response 54 from the apparatus 3, the event data 55 of # 1 is transmitted to the upper apparatus 5 via the uplink information transmitting apparatus 3. At this time, it is assumed that an abnormality has occurred in the transmission path between the upstream information transmission device 3 and the higher-level device 5, and the arrival confirmation signal ACK 56 of the event data 55 to be returned from the higher-level device 5 has not reached the lower-level device 2. The lower device 2 transmits the second event data 57 corresponding to the 55 event data # 1 via the uplink information transmission device 3 when a predetermined time T4 elapses and a time-out occurs. Subsequently, after repeating N times determined in the same manner and transmitting the Nth event data 59, a line disconnection request 61 is transmitted to the uplink information transmitting apparatus 3 as a retry over, and the response 62 is confirmed. Even if a transmission request 52 for event # 2 occurs in this state, transmission is not performed until there is a retransmission request from the higher-level device 5.

時刻Tnとなり、図4での説明のように、上位装置5において定周期データ内のイベント通番により欠落判定されると、再送要求63が上位装置5から下り情報送信装置4を介して下位装置2へ送信される。下位装置2は上り情報送信装置3に回線接続要求64を送信し、その応答65を確認して、イベントデータ#1の再送66を上り情報送信装置3を介して上位装置5へ再送する。上位装置5は再送データ66を受信したら、到達確認信号ACK67を下り情報送信装置4を介して下位装置2へ送信し、下位装置2は、これに対してイベントデータ#2の再送68を上り情報送信装置3を介して上位装置5へ再送する。上位装置5はここでも同様に、到達確認信号ACK69を下り情報送信装置4を介して下位装置2へ送信し、再送データの送信が完了した下位装置2は回線切断70を上り情報送信装置3に送信し、その応答71を確認して一連の再送処理が完了する。また、図3で示す実施例2の再送処理の場合も、イベント通番通知で欠落判定をした以降は前述の図6の再送要求63以降と同様である。   At time Tn, as described in FIG. 4, as described with reference to FIG. 4, when the higher order apparatus 5 determines that a loss is detected by an event sequence number in the periodic data, the retransmission request 63 is transmitted from the higher order apparatus 5 via the downlink information transmitting apparatus 4. Sent to. The lower apparatus 2 transmits a line connection request 64 to the uplink information transmitting apparatus 3, confirms the response 65, and retransmits the retransmission 66 of the event data # 1 to the upper apparatus 5 via the uplink information transmitting apparatus 3. Upon receiving the retransmission data 66, the upper apparatus 5 transmits an arrival confirmation signal ACK 67 to the lower apparatus 2 via the downlink information transmitting apparatus 4, and the lower apparatus 2 transmits a retransmission 68 of the event data # 2 to the upstream information. It retransmits to the host device 5 via the transmitter 3. Similarly, the upper device 5 transmits the arrival confirmation signal ACK 69 to the lower device 2 via the downlink information transmitting device 4, and the lower device 2 that has completed the transmission of the retransmission data sends the line disconnection 70 to the upstream information transmitting device 3. Transmitting and confirming the response 71 completes a series of retransmission processes. Also, in the case of the retransmission process according to the second embodiment shown in FIG. 3, the process after the retransmission determination 63 in FIG.

1… ネットワーク
2… 下位装置
3… 上り情報送信装置
4… 下り情報送信装置
5… 上位装置
11〜14… 定周期データ
15… 定周期通番L+1,L+2の再送要求
T1… 定周期インターバル
T2… 充分な遅延時間
21〜22… イベントデータ
23… イベント通番通知
24… イベント通番N+1の再送要求
T3… イベント通番通知までのインターバル
31〜33… 定周期データ
34〜35… イベントデータ
36… イベント通番N+1の再送要求
37… イベント通番N+1の再送イベントデータ
T4… イベントデータの到達確認タイムアウト
81〜83… 定周期データ
84… 定周期データの再送要求
91〜94… イベントデータ
95… (通番N+1)〜(通番M−1)のイベントデータ再送要求
DESCRIPTION OF SYMBOLS 1 ... Network 2 ... Low-order apparatus 3 ... Uplink information transmission apparatus 4 ... Downlink information transmission apparatus 5 ... High-order apparatus 11-14 ... Fixed period data 15 ... Retransmission request of fixed period serial number L + 1, L + 2 T1 ... Fixed period interval T2 ... Sufficient Delay time 21-22 ... Event data 23 ... Event sequence number notification 24 ... Event sequence number N + 1 retransmission request T3 ... Interval until event sequence number notification 31-33 ... Periodic data 34-35 ... Event data 36 ... Event sequence number N + 1 retransmission request 37 ... Retransmission event data with event sequence number N + 1 T4 ... Event data arrival confirmation timeout 81-83 ... Fixed cycle data 84 ... Fixed cycle data retransmission request 91-94 ... Event data 95 ... (Serial number N + 1) to (Sequential number M-1) ) Event data resend request

Claims (1)

データ送信装置からネットワークを介して一定周期で送信される定周期データとイベント発生時に送信されるイベントデータとをデータ受信装置に送信し、このデータ受信装置においてデータ欠落検出時にデータ送信装置に対して欠落データの再送要求を実行するネットワーク伝送方式において、
前記データ送信装置には、定周期データの送信毎に+1ずつ更新される定周期通番をそれぞれ付加する手段と
前記イベントデータの送信毎に+1ずつ更新されるイベント通番をそれぞれ付加する手段と
前記各定周期データには当該定周期データの送信直前に発生した送信済みイベント通番を付加して送信する手段と、
前記データ受信装置から、送信したイベントデータの到達確認信号が決められた時間内に返送されなかったときに当該イベントデータを再送し、再送所定回数の繰返し後にリトライオーバーとして回線切断する手段を設け、
前記データ受信装置には、イベントデータの到達確認信号を前記データ送信装置に返送する手段と、
イベントデータの受信の都度、前回受信済みのイベント通番と今回受信したイベント通番とを比較判定し、イベント通番が不連続のときにイベントデータ欠落と判断して前記データ送信装置に対して欠落データの再送要求を行う手段を設け、
前記データ送信装置は、データ受信装置からの再送要求時に当該欠落データを再送するよう構成したことを特徴とした通信異常時の再送装置。
The periodic transmission data transmitted from the data transmission device via the network at a constant cycle and the event data transmitted when the event occurs are transmitted to the data reception device. In a network transmission system that performs a retransmission request for missing data,
Means for adding a periodic sequence number that is updated by +1 for each transmission of the periodic data to the data transmission device;
And means for adding each event serial number is updated by +1 every transmission of the event data,
Means for transmitting each fixed cycle data by adding a transmitted event sequence number generated immediately before transmission of the fixed cycle data;
When the arrival confirmation signal of the transmitted event data is not returned within the determined time from the data receiving device, the event data is retransmitted, and a means for disconnecting the line as a retry over after a predetermined number of retransmissions is provided,
Means for returning an event data arrival confirmation signal to the data transmitter;
Each time event data is received, the event sequence number received last time is compared with the event sequence number received this time, and when the event sequence number is discontinuous, it is determined that event data is missing and Provide a means for requesting retransmission,
The data transmission apparatus is configured to retransmit the missing data when a retransmission request is received from the data reception apparatus.
JP2010275559A 2010-12-10 2010-12-10 Retransmission device when communication is abnormal Active JP5240285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010275559A JP5240285B2 (en) 2010-12-10 2010-12-10 Retransmission device when communication is abnormal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010275559A JP5240285B2 (en) 2010-12-10 2010-12-10 Retransmission device when communication is abnormal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006153010A Division JP4710719B2 (en) 2006-06-01 2006-06-01 Retransmission device when communication is abnormal

Publications (2)

Publication Number Publication Date
JP2011078127A JP2011078127A (en) 2011-04-14
JP5240285B2 true JP5240285B2 (en) 2013-07-17

Family

ID=44021540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010275559A Active JP5240285B2 (en) 2010-12-10 2010-12-10 Retransmission device when communication is abnormal

Country Status (1)

Country Link
JP (1) JP5240285B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62239737A (en) * 1986-04-11 1987-10-20 Nippon Telegr & Teleph Corp <Ntt> Transmission error detection system
JPH10262093A (en) * 1997-03-19 1998-09-29 Hitachi Ltd Transmission control method

Also Published As

Publication number Publication date
JP2011078127A (en) 2011-04-14

Similar Documents

Publication Publication Date Title
KR100431228B1 (en) Concatenated error detection coding and packet numbering for hierarchical arq schemes
US8284669B2 (en) Data acknowledgement apparatus and method
CN101765993B (en) Status report messages for multi-layer ARQ protocol
US8904245B2 (en) Using a variable timer for sending an error indication
KR102046792B1 (en) Method of transporting data from sending node to destination node
KR20140132063A (en) Apparatus and Method for CAN Comnunication
CN109981385B (en) Method, device and system for realizing packet loss detection
JP3968097B2 (en) Status report missing detection in communication systems
US7149920B2 (en) Deterministic error recovery protocol
CN102694631B (en) Method and device for controlling data transmission
CN102106105B (en) Method and device for data transmission
JP6471624B2 (en) Wireless communication device
JP4710719B2 (en) Retransmission device when communication is abnormal
JP2017092692A (en) Data transmission control system and method, and data transmission control program
Rehman et al. Performance of cognitive hybrid automatic repeat reQuest: Go-Back-N
CN102932820A (en) Link processing method, device and system
CN105634894B (en) A kind of enhanced CAN bus data re-transmitting method and device
JP5240285B2 (en) Retransmission device when communication is abnormal
CN105553613A (en) Partition time-triggered communication-based data integrity detection method
US8667116B2 (en) Method and system for providing reliable communication with redundancy for energy constrained wireless systems
EP1662704B1 (en) Monitoring system, apparatus to be monitored, monitoring apparatus and monitoring method
CN104243107A (en) Data transmission method, device, terminal, server and system
WO2015194134A1 (en) Communications state estimation device, communications state estimation method, and storage medium that stores communications state estimation program
JP2011188322A (en) Method of controlling communication, communication control program, and master communication device
CN100589626C (en) Transmit the method and system of monitor report during the transmission link aborted

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121024

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20121024

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: 20130305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130318

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160412

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5240285

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150