JP2007013510A - Packet communication system and packet communication apparatus - Google Patents

Packet communication system and packet communication apparatus Download PDF

Info

Publication number
JP2007013510A
JP2007013510A JP2005190857A JP2005190857A JP2007013510A JP 2007013510 A JP2007013510 A JP 2007013510A JP 2005190857 A JP2005190857 A JP 2005190857A JP 2005190857 A JP2005190857 A JP 2005190857A JP 2007013510 A JP2007013510 A JP 2007013510A
Authority
JP
Japan
Prior art keywords
packet
communication
sequence number
transmission
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005190857A
Other languages
Japanese (ja)
Inventor
Itsuki Saito
一城 斉藤
Noriyuki Tomizawa
宣幸 富沢
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.)
OKI TELECOMM SYSTEMS CO Ltd
Oki Software Co Ltd
Original Assignee
OKI TELECOMM SYSTEMS CO Ltd
Oki Telecommunication Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OKI TELECOMM SYSTEMS CO Ltd, Oki Telecommunication Systems Co Ltd filed Critical OKI TELECOMM SYSTEMS CO Ltd
Priority to JP2005190857A priority Critical patent/JP2007013510A/en
Publication of JP2007013510A publication Critical patent/JP2007013510A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a packet communication system adopting a packet switching system executing duplex communication capable of executing a service with high quality even on the occurrence of a delay or missing in a communication packet that can decide the identification of packets with a simple method. <P>SOLUTION: A transmitter side packet switching apparatus 110 respectively transmits communication packets each including the same user data, the same sequence number, and identification information denoting multiple communication to two systems of communication networks. A receiver side packet switching apparatus 120 decides whether or not the communication packets received from the two systems of the communication networks include the identification information, decides the identification of the communication packets on the basis of a sender address and the sequence number when the communication packets include the identification information, and aborts one of the communication packets when it is the same as the communication packet having been already received. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、同一通信パケットの多重通信を行うパケット通信システムおよびパケット通信装置に関する。   The present invention relates to a packet communication system and a packet communication apparatus that perform multiplex communication of the same communication packet.

従来より、通信方式の一種として、パケット交換方式が知られている。パケット交換方式を採用した通信網では、通信パケット単位で任意の回線が使用されるため、送信側と受信側とによって回線が専有されることがなく、したがって通信回線の利用効率を高めることができる。   Conventionally, a packet switching system is known as a kind of communication system. In a communication network that employs a packet switching method, an arbitrary line is used in units of communication packets, so that the line is not exclusively used by the transmission side and the reception side, and therefore the use efficiency of the communication line can be improved. .

しかしながら、パケット交換網では、網の輻輳等に起因して通信パケットが遅延・紛失することがあり、このためにサービス品質が劣化する場合がある。例えば、画像通信サービスでは、パケット紛失のために動画のフレーム(1コマ分の画像)が欠落し、画質を劣化させる場合がある。また、例えばトランザクション処理サービス等の、通信データの欠落が許されない通信サービスでは、通信パケットが紛失した場合には該通信パケットを再送しなければならないため、通信レスポンスが低下することになる。   However, in a packet switching network, communication packets may be delayed or lost due to network congestion or the like, which may degrade service quality. For example, in an image communication service, a frame of a moving image (an image for one frame) may be lost due to packet loss, which may deteriorate image quality. In addition, in a communication service such as a transaction processing service that does not allow communication data to be lost, if a communication packet is lost, the communication packet must be retransmitted, resulting in a decrease in communication response.

加えて、例えばパケット交換網と通信装置とを接続する通信回線が断線した場合等、通信障害の発生によって、通信パケットが宛先に到達できなくなる場合もある。このような場合には、通信サービスの提供そのものが不能になる。従来は、通信回線を冗長化して障害発生時に経路切り換えを自動的に行うことにより、通信障害からの復旧の迅速化を図っていた。しかしながら、このような方法によっては、通信障害の発生そのものを防止することはできないので、障害発生からその障害が検出されて障害復旧機能が自動起動するまでの間は、通信サービスの中断を余儀なくされる。   In addition, for example, when a communication line connecting the packet switching network and the communication device is disconnected, the communication packet may not reach the destination due to the occurrence of a communication failure. In such a case, the communication service itself cannot be provided. Conventionally, the communication line is made redundant and the path is automatically switched when a failure occurs, thereby speeding up the recovery from the communication failure. However, since such a method cannot prevent the occurrence of a communication failure itself, the communication service must be interrupted from the time of the occurrence of the failure until the failure recovery function is automatically activated. The

通信パケットの遅延・喪失を防止する技術としては、例えば下記特許文献1に記載されたものが知られている。この技術では、パケット交換網の入力パケットスイッチで通信パケットのコピーを生成するとともに(同特許文献の段落0030参照)、元の通信パケットとコピーパケットとが異なる通信経路を介して宛先に到達するようにヘッダ情報(ルーティングタグ)を設定することによって(同文献の段落0034〜0036参照)、パケットの遅延・喪失の抑制を図っている。また、パケット交換網の出力パケットスイッチでは、通信パケットの情報の内容に基づいてコピーパケットの同一性を判断し、同一内容のコピーパケットを廃棄している(同特許文献の段落0032、0036参照)。
特許第3083133号公報
As a technique for preventing delay / loss of communication packets, for example, a technique described in Patent Document 1 below is known. In this technique, a copy of a communication packet is generated by an input packet switch of a packet switching network (see paragraph 0030 of the same patent document), and the original communication packet and the copy packet reach the destination via different communication paths. Header information (routing tag) is set in (see paragraphs 0034 to 0036 of the same document), thereby suppressing packet delay and loss. Further, the output packet switch of the packet switching network determines the identity of the copy packet based on the information content of the communication packet, and discards the copy packet having the same content (see paragraphs 0032 and 0036 of the patent document). .
Japanese Patent No. 3083133

しかしながら、特許文献1の技術には、パケット交換網と通信装置とを接続する通信回線で、断線等の通信障害によるサービス中断が生じたときに、対応できないという欠点がある。   However, the technique of Patent Document 1 has a drawback that it cannot cope with a service interruption due to a communication failure such as disconnection in a communication line connecting a packet switching network and a communication device.

加えて、元の通信パケットとコピーパケットとが別の経路を介して宛先に到達するようにルーティングタグを個別に設定しなければならないので、ルート決定のための作業負担が大きいという欠点もある。   In addition, since the routing tag must be individually set so that the original communication packet and the copy packet reach the destination via different paths, there is a disadvantage that the work load for route determination is large.

さらに、特許文献1の技術では、すべての入力通信パケットのコピーを生成するため、通信パケットの遅延・喪失が大きな問題にならないサービスについても多重送信が行われることになる。このため、特許文献1の技術には、パケット交換網の輻輳を無駄に増大させてしまうという欠点がある。   Furthermore, in the technique of Patent Document 1, since a copy of all input communication packets is generated, multiplex transmission is performed even for a service in which delay / loss of communication packets does not pose a major problem. For this reason, the technique disclosed in Patent Document 1 has a drawback that the congestion of the packet switching network is unnecessarily increased.

また、特許文献1の技術では、通信パケットの情報の内容に基づいてコピーパケットの同一性を判断しているので、かかる同一性判断のための処理負担が大きくなるとともに、出力パケットスイッチが高価になるという欠点もある。   Moreover, in the technique of Patent Document 1, since the identity of the copy packet is determined based on the information content of the communication packet, the processing load for such identity determination increases, and the output packet switch is expensive. There is also a drawback of becoming.

この発明の課題は、通信パケットの遅延・喪失や通信障害が発生しても高品質のサービスを提供することができるパケット通信システムおよびパケット通信装置を安価に提供することにある。   An object of the present invention is to provide a packet communication system and a packet communication apparatus that can provide a high-quality service even when a communication packet is delayed or lost or a communication failure occurs at low cost.

(1)第1の発明は、送信装置と受信装置とを複数系統の通信網を介して接続してなるパケット通信システムに関する。   (1) The first invention relates to a packet communication system in which a transmission device and a reception device are connected via a plurality of communication networks.

そして、送信装置が、同一のユーザデータと、同一のシーケンス番号と、多重通信であることを示す識別情報とを格納した通信パケットを複数系統の通信網にそれぞれ送信する手段を備え、且つ、受信装置が、複数系統の通信網から受信した通信パケットに識別情報が格納されているか否かを判断する手段と、識別情報が格納されている場合に送信元アドレスとシーケンス番号とを用いて通信パケットの同一性を判断する手段と、既に受信された通信パケットと同一であると判断された通信パケットを廃棄する手段とを備えることを特徴とする。   The transmitting apparatus includes means for transmitting communication packets storing the same user data, the same sequence number, and identification information indicating multiplex communication to a plurality of communication networks, respectively, and receiving A communication packet using a means for determining whether or not identification information is stored in a communication packet received from a communication network of a plurality of systems, and a transmission source address and a sequence number when the identification information is stored. And a means for discarding a communication packet determined to be the same as a communication packet that has already been received.

(2)第2の発明に係るパケット通信装置は、同一のユーザデータと、同一のシーケンス番号と、多重通信であることを示す識別情報とを格納した通信パケットを複数系統の通信網にそれぞれ送信する手段を有する送信部と、複数系統の通信網から受信した通信パケットに識別情報が格納されているか否かを判断する手段と、識別情報が格納されている場合に送信元アドレスとシーケンス番号とを用いて通信パケットの同一性を判断する手段と、既に受信された通信パケットと同一であると判断された通信パケットを廃棄する手段とを有する受信部とを備える。   (2) The packet communication apparatus according to the second invention transmits communication packets storing the same user data, the same sequence number, and identification information indicating multiplex communication to a plurality of communication networks, respectively. A transmission unit having means for determining whether or not identification information is stored in a communication packet received from a plurality of communication networks, a transmission source address and a sequence number when the identification information is stored And a receiving unit having means for determining the identity of the communication packet using and a means for discarding the communication packet determined to be the same as the already received communication packet.

第1、第2の発明によれば、送信側の装置と受信側の装置とを複数系統の通信網を介して接続するので、通信回線の断線などによるサービス中断が発生し難く、また、通信経路を個別に設定する必要がない。   According to the first and second inventions, since the transmission side device and the reception side device are connected via a plurality of communication networks, service interruption due to disconnection of the communication line is unlikely to occur, and communication There is no need to set the route individually.

また、多重通信を行うか否かを送信側で決定することができるので、通信パケットの遅延・喪失が大きな問題になるサービスについてのみ多重送信を行うことができ、通信網の輻輳を無駄に増大させることがない。   In addition, since it is possible to determine whether or not to perform multiplex communication on the transmission side, it is possible to perform multiplex transmission only for services where delay / loss of communication packets is a major problem, and wastefully increases communication network congestion. I will not let you.

加えて、送信元アドレスとシーケンス番号とを用いて通信パケットの同一性を判断するので、同一性の判断が簡単である。   In addition, since the identity of the communication packet is determined using the source address and the sequence number, it is easy to determine the identity.

以下、この発明の実施の形態について、図面を用いて説明する。なお、図中、各構成成分の大きさ、形状および配置関係は、この発明が理解できる程度に概略的に示してあるにすぎず、また、以下に説明する数値的条件は単なる例示にすぎない。   Embodiments of the present invention will be described below with reference to the drawings. In the drawings, the size, shape, and arrangement relationship of each component are shown only schematically to the extent that the present invention can be understood, and the numerical conditions described below are merely examples. .

第1実施形態
この発明の第1実施形態について、図1〜図5を用いて説明する。図1は、この実施形態に係るパケット通信システムの全体構成を概略的に示す概念図である。図1に示したように、この実施形態のパケット通信システム100は、2台のパケット交換装置110,120と、2系統のパケット交換網130,140とを含む。
First Embodiment A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a conceptual diagram schematically showing the overall configuration of the packet communication system according to this embodiment. As shown in FIG. 1, the packet communication system 100 of this embodiment includes two packet switching devices 110 and 120 and two systems of packet switching networks 130 and 140.

パケット交換装置110,120は、それぞれ固有の機能やサービスを実現するとともに、他方のパケット交換装置に機能やサービスの提供を要求する。パケット交換装置110,120の内部構造は、図2を用いて後述される。   Each of the packet switching apparatuses 110 and 120 implements a unique function and service, and requests the other packet switching apparatus to provide the function and service. The internal structure of the packet switching devices 110 and 120 will be described later with reference to FIG.

パケット交換網130は、インタフェースIF11を介してパケット交換装置110に接続され且つインタフェースIF21を介してパケット通信120に接続される。同様に、パケット交換網140は、インタフェースIF12を介してパケット交換装置110に接続され且つインタフェースIF22を介してパケット通信120に接続される。パケット交換装置110,120の一方から送信された2個の同一通信パケットは、パケット交換網130,140内を転送され、パケット喪失や通信障害が発生した場合を除いて他方のパケット交換装置に到達する。この実施形態では、これらのパケット交換網130,140を、共有リソースを有さない、別個独立の通信網として構築する。したがって、パケット交換網130,140の一方で通信障害や輻輳が発生しても、他方のパケット交換網に影響が及ぶことはない。   The packet switching network 130 is connected to the packet switching device 110 via the interface IF11 and is connected to the packet communication 120 via the interface IF21. Similarly, the packet switching network 140 is connected to the packet switching device 110 via the interface IF 12 and is connected to the packet communication 120 via the interface IF 22. Two identical communication packets transmitted from one of the packet switching devices 110 and 120 are transferred through the packet switching networks 130 and 140 and reach the other packet switching device except when a packet loss or communication failure occurs. To do. In this embodiment, these packet switching networks 130 and 140 are constructed as separate and independent communication networks that do not have shared resources. Therefore, even if communication failure or congestion occurs in one of the packet switching networks 130 and 140, the other packet switching network is not affected.

なお、図1では、2台のパケット交換装置を2系統のパケット交換網を介して接続したが、これらのパケット交換装置110,120を3系統以上のパケット交換網で接続してもよい。さらには、3台以上のパケット交換装置を2系統またはそれ以上のパケット交換網で相互接続してもよい。   In FIG. 1, two packet switching apparatuses are connected via two packet switching networks. However, these packet switching apparatuses 110 and 120 may be connected by three or more packet switching networks. Furthermore, three or more packet switching devices may be interconnected by two or more packet switching networks.

図2は、この実施形態に係るパケット交換装置110の内部構成を概略的に示すブロック図である。なお、パケット交換装置120の内部構成も、これと同一でよい。   FIG. 2 is a block diagram schematically showing the internal configuration of the packet switching apparatus 110 according to this embodiment. The internal configuration of the packet switching device 120 may be the same as this.

図2に示したように、この実施形態のパケット交換装置110は、アプリケーション機能部210と、パケット送受信機能部220と、パケット入出力部230,240を備えている。   As shown in FIG. 2, the packet switching apparatus 110 of this embodiment includes an application function unit 210, a packet transmission / reception function unit 220, and packet input / output units 230 and 240.

アプリケーション機能部210は、該パケット交換装置110に固有の機能やサービスを実現する。このアプリケーション機能部210は、他のパケット交換装置から受信されたデータ等を、パケット送受信機能部220を介して受け取る。さらに、アプリケーション機能部210は、他のパケット交換装置に送信すべきデータや宛先アドレス等を、パケット送受信機能部220に受け渡す。   The application function unit 210 implements functions and services unique to the packet switching apparatus 110. The application function unit 210 receives data received from other packet switching devices via the packet transmission / reception function unit 220. Further, the application function unit 210 passes data to be transmitted to other packet switching devices, a destination address, and the like to the packet transmission / reception function unit 220.

パケット送受信機能部220は、アプリケーション機能部210から受け取ったデータや宛先アドレスを用いて、通信パケットを生成する。パケット送受信機能部220は、同一の通信パケットを1個ずつ送信する(以下、単一送信と記す)機能と、2個ずつ送信する(以下、二重送信と記す)機能とを有する。後述するように、二重送信を行う場合、パケット送受信機能部220は、通信パケットに、二重通信であることを示す識別情報と、シーケンス番号とを格納して、パケット入出力部230,240の両方に受け渡す。また、パケット送受信機能部220は、パケット入出力部230,240が受信したパケットを受け取る。後述するように、パケット送受信機能部220は、同一の通信パケットを2個受信した場合、その一方を廃棄する。さらに、パケット送受信機能部220は、保留バッファ221と保留タイマ222とを備えている。保留バッファ221は、受信した通信パケットの送信元アドレスごとに1個の通信パケットを一時保存することができ、通信パケットの受信順序が逆転したときの並べ替えを行うために使用される。保留タイマ222は、保留バッファ221の保留時間を管理するために使用される。なお、この実施形態に係るパケット通信システム100では1台のパケット交換装置が2系統のパケット交換網130,140に接続されているので、2種類のアドレス値を持つことになる場合も有り得るが、このような場合も実質的には同じアドレスを有していると考えることができるので、本願では「同一のアドレス」として説明する。   The packet transmission / reception function unit 220 generates a communication packet using the data and the destination address received from the application function unit 210. The packet transmission / reception function unit 220 has a function of transmitting the same communication packet one by one (hereinafter referred to as “single transmission”) and a function of transmitting two each (hereinafter referred to as “double transmission”). As will be described later, when duplex transmission is performed, the packet transmission / reception function unit 220 stores identification information indicating a duplex communication and a sequence number in a communication packet, and packet input / output units 230 and 240. Pass to both. Further, the packet transmission / reception function unit 220 receives the packets received by the packet input / output units 230 and 240. As will be described later, when receiving two identical communication packets, the packet transmission / reception function unit 220 discards one of them. Further, the packet transmission / reception function unit 220 includes a hold buffer 221 and a hold timer 222. The hold buffer 221 can temporarily store one communication packet for each transmission source address of the received communication packet, and is used for rearrangement when the reception order of communication packets is reversed. The hold timer 222 is used for managing the hold time of the hold buffer 221. In the packet communication system 100 according to this embodiment, since one packet switching apparatus is connected to two packet switching networks 130 and 140, there may be cases where two types of address values are provided. In such a case, it can be considered that the addresses are substantially the same, and therefore, in the present application, the description will be made as “the same address”.

パケット入出力部230は、パケット送受信機能部220から受け取った通信パケットを一方のパケット交換網130に送信するとともに、該パケット交換網130から受信した通信パケットをパケット送受信機能部220に受け渡す。同様に、パケット入出力部240は、パケット送受信機能部220から受け取った通信パケットを他方のパケット交換網140に送信するとともに、該パケット交換網140から受信した通信パケットをパケット送受信機能部220に受け渡す。   The packet input / output unit 230 transmits the communication packet received from the packet transmission / reception function unit 220 to one packet switching network 130, and passes the communication packet received from the packet switching network 130 to the packet transmission / reception function unit 220. Similarly, the packet input / output unit 240 transmits the communication packet received from the packet transmission / reception function unit 220 to the other packet switching network 140, and receives the communication packet received from the packet switching network 140 to the packet transmission / reception function unit 220. hand over.

図3は、パケット通信システム100で採用される層構造を示す概念図である。   FIG. 3 is a conceptual diagram showing a layer structure adopted in the packet communication system 100.

図3に示したように、パケット交換装置110,120の層構造は、それぞれ、下層側から、イーサネット(登録商標)層Eth(プライマリEth(P)およびセカンダリEth(S))、IP層、二重通信制御層、TCP/UDP層、アプリケーション層を有する。   As shown in FIG. 3, the layer structures of the packet switching apparatuses 110 and 120 are, from the lower layer side, Ethernet (registered trademark) layer Eth (primary Eth (P) and secondary Eth (S)), IP layer, two layers, respectively. It has a heavy communication control layer, a TCP / UDP layer, and an application layer.

イーサネット(登録商標)層は、OSI(Open Systems Interconnection)参照モデルの物理層およびデータリンク層に相当し、パケット交換装置110,120間のネットワーク接続を行う層である。パケット交換装置110のイーサネット(登録商標)層Ethのうち、プライマリEth(P)はインタフェースIF11に相当し、セカンダリEth(s)はインタフェースIF12に相当する(図1参照)。また、パケット交換装置120のイーサネット(登録商標)層Ethのうち、プライマリEth(P)はインタフェースIF21に相当し、セカンダリEth(S)はインタフェースIF22に相当する。   The Ethernet (registered trademark) layer corresponds to a physical layer and a data link layer of an OSI (Open Systems Interconnection) reference model, and is a layer for performing network connection between the packet switching apparatuses 110 and 120. Of the Ethernet (registered trademark) layer Eth of the packet switching apparatus 110, the primary Eth (P) corresponds to the interface IF11, and the secondary Eth (s) corresponds to the interface IF12 (see FIG. 1). In the Ethernet (registered trademark) layer Eth of the packet switching apparatus 120, the primary Eth (P) corresponds to the interface IF21, and the secondary Eth (S) corresponds to the interface IF22.

IP層は、OSI参照モデルにおけるネットワーク層の下層に対応し、IP(Internet protocol) 制御を実行する。   The IP layer corresponds to the lower layer of the network layer in the OSI reference model, and executes IP (Internet protocol) control.

二重通信制御層は、この実施形態に係る二重通信の制御を担う層である。すなわち、二重通信制御層は、送信パケットへの識別情報およびシーケンス番号の付加を行うとともに、受信パケットから該識別情報およびシーケンス番号を読み出して二重受信制御を行う(後述)。この実施形態では、二重通信制御層を、OSI参照モデルにおけるネットワーク層の上層として設けた。   The duplex communication control layer is a layer responsible for controlling duplex communication according to this embodiment. That is, the duplex communication control layer adds identification information and a sequence number to a transmission packet, and performs double reception control by reading the identification information and sequence number from the received packet (described later). In this embodiment, the dual communication control layer is provided as an upper layer of the network layer in the OSI reference model.

TCP/UDP層は、OSI参照モデルのトランスポート層に対応し、通常のTCP(Transmission Control Protocol) やUDP(User Datagram Protocol)を実行する。   The TCP / UDP layer corresponds to the transport layer of the OSI reference model, and executes normal TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).

アプリケーション層は、OSI参照モデルのセッション層、プレゼンテーション層およびアプリケーション層に対応し、Telnet、DNS(Domain Name Service)、HTTP(Hyper Text Transfer Protocol)、FTP(File Transfer Protocol)等を実行する。   The application layer corresponds to the session layer, presentation layer, and application layer of the OSI reference model, and executes Telnet, DNS (Domain Name Service), HTTP (Hyper Text Transfer Protocol), FTP (File Transfer Protocol), and the like.

このように、この実施形態では、二重通信制御層をTCP/UDP層とIP層との間に設けたので、TCP/UDPやアプリケーション層の制御に影響を与えずに、二重通信制御を行うことができる。また、この実施形態の他にも、ソケットレベル(ポート番号)で二重通信制御を行うことでこの発明を実現することも可能である。   Thus, in this embodiment, since the dual communication control layer is provided between the TCP / UDP layer and the IP layer, the dual communication control can be performed without affecting the control of the TCP / UDP and the application layer. It can be carried out. In addition to this embodiment, the present invention can be realized by performing dual communication control at the socket level (port number).

以下、この実施形態に係るパケット通信システム100の動作について説明する。   Hereinafter, the operation of the packet communication system 100 according to this embodiment will be described.

まず、パケット交換装置(ここではパケット交換装置110)の送信動作について説明する。   First, the transmission operation of the packet switching apparatus (here, the packet switching apparatus 110) will be described.

パケット交換装置110が通信パケットを送信する際には、最初に、アプリケーション機能部210からパケット送受信機能部220に、送信要求が送られる。この送信要求には、送信データ(ユーザデータ)や宛先アドレスが含まれる。パケット送受信機能部220は、送信要求を受け取ると、当該送信の単一送信/二重送信の区別を判断する。この判断は、例えば、二重送信を行う宛先アドレスを予めパケット送受信機能部220内に登録しておくことにより、行うことができる。   When the packet switching apparatus 110 transmits a communication packet, first, a transmission request is sent from the application function unit 210 to the packet transmission / reception function unit 220. This transmission request includes transmission data (user data) and a destination address. When receiving the transmission request, the packet transmission / reception function unit 220 determines whether the transmission is single transmission / duplex transmission. This determination can be made, for example, by registering in advance in the packet transmission / reception function unit 220 a destination address for performing double transmission.

単一送信を行う場合、パケット送受信機能部220は、アプリケーション機能部210から受け取った送信データや宛先アドレスを用い、従来と同様にして通信パケットを生成する。単一送信の場合、通信パケットには、上述の識別情報やシーケンス番号は格納されない。生成された通信パケットは、パケット入出力部230,240の一方に送られる。通信パケットを受け取ったパケット入出力部(230または240)は、この通信パケットを、対応するパケット交換網(130または140)に送信する。   When performing single transmission, the packet transmission / reception function unit 220 uses the transmission data and the destination address received from the application function unit 210 to generate a communication packet in the same manner as in the past. In the case of single transmission, the above identification information and sequence number are not stored in the communication packet. The generated communication packet is sent to one of the packet input / output units 230 and 240. The packet input / output unit (230 or 240) that has received the communication packet transmits the communication packet to the corresponding packet switching network (130 or 140).

二重送信を行う場合、パケット送受信機能部220は、アプリケーション機能部210から受け取った送信データや宛先アドレスに加え、識別情報やシーケンス番号を用いて、通信パケットを生成する。識別情報の形態は任意であり、受信側のパケット交換装置が二重送信であることを認識できればよい。また、シーケンス番号は、同一の宛先アドレスに送信される通信パケットの送信順を示す番号である。シーケンス番号の初期値は任意であるが、通信パケットを生成するたびに、「+1」ずつインクリメントされる。パケット送受信機能部220は、登録された宛先アドレス(二重送信を行う宛先アドレス)ごとに、シーケンス番号を一時的に記憶する。識別情報やシーケンス番号の格納位置は、例えば図3に示した層構造に対応させて定めればよい。また、このシーケンス番号として、TCP(Transmission Control Protocol) やRTP(Real-time Transport Protocol)で使用されるシーケンス番号を流用してもよい。生成された通信パケットは、パケット入出力部230,240の両方に送られる。通信パケットを受け取ったパケット入出力部230,240は、それぞれ、この通信パケットを、対応するパケット交換網130,140に送信する。したがって、一回の二重送信に係る一対の通信パケットには、同じシーケンス番号が格納されることになる。   When performing dual transmission, the packet transmission / reception function unit 220 generates a communication packet by using identification information and a sequence number in addition to transmission data and a destination address received from the application function unit 210. The form of the identification information is arbitrary, and it is sufficient that the receiving side packet switching apparatus can recognize that it is duplex transmission. The sequence number is a number indicating the transmission order of communication packets transmitted to the same destination address. The initial value of the sequence number is arbitrary, but is incremented by “+1” each time a communication packet is generated. The packet transmission / reception function unit 220 temporarily stores a sequence number for each registered destination address (destination address for dual transmission). The storage position of the identification information and sequence number may be determined in correspondence with the layer structure shown in FIG. 3, for example. Further, as this sequence number, a sequence number used in TCP (Transmission Control Protocol) or RTP (Real-time Transport Protocol) may be used. The generated communication packet is sent to both the packet input / output units 230 and 240. The packet input / output units 230 and 240 that have received the communication packet transmit the communication packet to the corresponding packet switching networks 130 and 140, respectively. Therefore, the same sequence number is stored in a pair of communication packets related to one double transmission.

次に、パケット交換装置の受信動作について説明する。   Next, the reception operation of the packet switching apparatus will be described.

パケット入出力部230,240は、対応するパケット交換網130,140から、随時通信パケットを受信する。受信された通信パケットは、パケット送受信機能部220に送られる。   The packet input / output units 230 and 240 receive communication packets from the corresponding packet switching networks 130 and 140 as needed. The received communication packet is sent to the packet transmission / reception function unit 220.

図4、図5は、パケット送受信機能部220の受信動作を説明するためのフローチャートである。   4 and 5 are flowcharts for explaining the reception operation of the packet transmission / reception function unit 220. FIG.

パケット送受信機能部220は、パケット入出力部230,240から通信パケットを受け取ると、まず、その通信パケットに識別情報が格納されているか否かをチェックする(図4のステップS401参照)。識別情報が格納されていない場合、パケット送受信機能部220は、その通信パケットを単一送信に係る通信パケットであると判断して、該通信パケットの受信をアプリケーション機能部210に通知し(ステップS402参照)、その受信パケットに関する処理を終了する。   When receiving a communication packet from the packet input / output units 230 and 240, the packet transmission / reception function unit 220 first checks whether or not identification information is stored in the communication packet (see step S401 in FIG. 4). If the identification information is not stored, the packet transmission / reception function unit 220 determines that the communication packet is a communication packet for single transmission, and notifies the application function unit 210 of reception of the communication packet (step S402). And the processing related to the received packet is terminated.

一方、ステップS401において識別情報が格納されていた場合、パケット送受信機能部220は、その通信パケットを二重送信に係る通信パケットであると判断して、その受信パケットのシーケンス番号を期待値とを比較する(ステップS403参照)。パケット送受信機能部220は、二重送信を行うことができる他のパケット交換装置のアドレスを記憶しており、さらに、該アドレスごとに、次に受信されるべき通信パケットのシーケンス番号(期待値)を一時保存している。パケット交換装置110の電源立ち上げ時、各アドレスに対応する期待値は、初期値に設定される。受信パケットのシーケンス番号が期待値と一致した場合、パケット送受信機能部220は、該期待値を「+1」だけインクリメントして(ステップS404参照)、その通信パケットの受信をアプリケーション機能部210に通知する(ステップS405参照)。   On the other hand, when the identification information is stored in step S401, the packet transmission / reception function unit 220 determines that the communication packet is a communication packet related to double transmission, and sets the sequence number of the received packet as an expected value. Compare (see step S403). The packet transmission / reception function unit 220 stores the addresses of other packet switching devices that can perform double transmission, and for each address, the sequence number (expected value) of the communication packet to be received next Is temporarily saved. When the packet switching apparatus 110 is powered on, the expected value corresponding to each address is set to an initial value. When the sequence number of the received packet matches the expected value, the packet transmission / reception function unit 220 increments the expected value by “+1” (see step S404) and notifies the application function unit 210 of reception of the communication packet. (See step S405).

続いて、パケット送受信機能部220は、保留バッファ221のチェックを行う(ステップS406参照)。保留バッファ221に通信パケットが保存されていない場合、パケット送受信機能部220は、当該受信パケットに関する処理を終了する。一方、ステップS406で保留バッファ221に通信パケットが保存されていると判断された場合、パケット送受信機能部220は、かかる保留パケットのシーケンス番号を、受信パケットのシーケンス番号と比較する(ステップS407参照)。   Subsequently, the packet transmission / reception function unit 220 checks the hold buffer 221 (see step S406). When the communication packet is not stored in the hold buffer 221, the packet transmission / reception function unit 220 ends the process related to the received packet. On the other hand, when it is determined in step S406 that the communication packet is stored in the hold buffer 221, the packet transmission / reception function unit 220 compares the sequence number of the hold packet with the sequence number of the received packet (see step S407). .

これらのシーケンス番号が連続している場合、パケット送受信機能部220は、保留バッファ221に保存された通信パケット(保留パケット)をアプリケーション機能部210に通知し(ステップS408参照)、シーケンス番号の期待値をさらに「+1」だけインクリメントし(ステップS409参照)、保留タイマ222の停止と保留バッファ221の開放とを行って(ステップS410,S411参照)、その受信パケットに関する処理を終了する。このような処理により、2個の連続パケットの順序が逆転して受信された場合に、その順序を正してアプリケーション機能部210に受け渡すことができる。   When these sequence numbers are consecutive, the packet transmission / reception function unit 220 notifies the application function unit 210 of the communication packet (hold packet) stored in the hold buffer 221 (see step S408), and the expected value of the sequence number. Is further incremented by “+1” (see step S409), the hold timer 222 is stopped and the hold buffer 221 is released (see steps S410 and S411), and the process for the received packet is terminated. By such processing, when two consecutive packets are received in the reverse order, the order can be corrected and transferred to the application function unit 210.

一方、ステップS407においてシーケンス番号が非連続の場合は、保留タイマ222を再起動して、その受信パケットに関する処理を終了する。この処理により、保留バッファ221の保留時間が延長される。   On the other hand, if the sequence numbers are not consecutive in step S407, the hold timer 222 is restarted and the processing related to the received packet is terminated. By this process, the holding time of the holding buffer 221 is extended.

ステップS403においてシーケンス番号が期待値と一致しなかった場合、パケット送受信機能部220は、受信した通信パケットが、既に受信された通信パケットと同一か否かをチェックする(図5のステップS501参照)。例えば、シーケンス番号が初期値以上であり且つ内部に保存された期待値よりも小さい値のとき、その通信パケットは既に受信された通信パケットと同一である(すなわち、各パケット交換網130,140を介して送信された同一通信パケットが両方とも正常に受信された)と、判断することができる。同一であると判断された場合、パケット送受信機能部220は、その通信パケットを廃棄して(ステップS502参照)、その受信パケットに関する処理を終了する。   If the sequence number does not match the expected value in step S403, the packet transmission / reception function unit 220 checks whether or not the received communication packet is the same as the already received communication packet (see step S501 in FIG. 5). . For example, when the sequence number is greater than or equal to the initial value and smaller than the expected value stored therein, the communication packet is the same as the already received communication packet (ie, each packet switched network 130, 140 is It is possible to determine that both of the same communication packets transmitted through the network have been normally received. If it is determined that they are the same, the packet transmission / reception function unit 220 discards the communication packet (see step S502), and ends the process for the received packet.

ステップS501で既に受信された通信パケットと同一でないと判断された場合、パケット送受信機能部220は、保留バッファ221に通信パケットが保存されているか否かを判断する(ステップS503参照)。そして、保留バッファ221が空の場合は、受信パケットを格納するとともに(ステップS504参照)、保留タイマ222を起動して(ステップS505参照)、その受信パケットに関する処理を終了する。なお、保留タイマ222の計時時間が所定の保留時間に達した場合は、保留バッファ221内の通信パケッが廃棄される。通常、保留タイマ222の計時時間が所定の保留時間に達するのは、1個または複数個の通信パケットがパケット交換網130,140の両方で喪失した場合であり、このような場合に保留バッファ221内の1個の通信パケットのみをアプリケーション機能部210に引き渡しても有益でないと考えられるからである。通信パケットの喪失が発生した場合、例えばTCP等では、アプリケーション機能部210の命令によって相手方パケット交換装置に通信パケットの再送依頼が送信される。かかる保留時間は、任意であるが、例えば数ミリ秒から数十ミリ秒に設定される。   When it is determined in step S501 that the communication packet is not the same as the received communication packet, the packet transmission / reception function unit 220 determines whether the communication packet is stored in the hold buffer 221 (see step S503). If the hold buffer 221 is empty, the received packet is stored (see step S504), the hold timer 222 is started (see step S505), and the process related to the received packet is ended. When the time measured by the hold timer 222 reaches a predetermined hold time, the communication packet in the hold buffer 221 is discarded. Normally, the timing of the hold timer 222 reaches a predetermined hold time when one or more communication packets are lost in both the packet switching networks 130 and 140. In such a case, the hold buffer 221 is used. This is because it is considered that it is not useful to deliver only one of the communication packets to the application function unit 210. When a communication packet is lost, for example, in TCP or the like, a request for retransmission of the communication packet is transmitted to the counterpart packet switching apparatus by an instruction of the application function unit 210. The holding time is arbitrary, but is set to, for example, several milliseconds to several tens of milliseconds.

ステップS503で保留バッファ221内に通信パケットが保存されていると判断された場合、パケット送受信機能部220は、保存パケットのシーケンス番号を受信パケットのシーケンス番号と比較する(ステップS506参照)。   If it is determined in step S503 that the communication packet is stored in the hold buffer 221, the packet transmission / reception function unit 220 compares the sequence number of the stored packet with the sequence number of the received packet (see step S506).

これらのシーケンス番号が連続する場合、パケット送受信機能部220は、これらの通信パケットの順序が逆転して受信されたと判断して、受信パケットおよび保留パケットをアプリケーション機能部210に引き渡すとともに(ステップS507参照)、保留タイマ222を停止し(ステップS508参照)、保留バッファを開放することによって保存パケットを廃棄して(ステップS509参照)、シーケンス番号の期待値を「+1」だけインクリメントして(ステップS510参照)、その受信パケットに関する処理を終了する。   When these sequence numbers are consecutive, the packet transmission / reception function unit 220 determines that these communication packets have been received in reverse order, and delivers the received packet and the hold packet to the application function unit 210 (see step S507). The hold timer 222 is stopped (see step S508), the hold packet is released by releasing the hold buffer (see step S509), and the expected value of the sequence number is incremented by “+1” (see step S510). ), The processing related to the received packet is terminated.

また、ステップS506でシーケンス番号が一致している場合、パケット送受信機能部220は、これらの通信パケットが同一パケットであると判断して、受信パケットをアプリケーション機能部210に送る(ステップS511参照)。受信順序の逆転や先の通信パケットの喪失のために期待値よりもシーケンス番号が大きい受信パケットが保留バッファ221に保存され且つ当該保存パケットと同一の通信パケットが受信されたとき、ステップS506で同一パケットであるとの判断が行われる。パケット送受信機能部220は、保留タイマ222の停止、保留バッファの開放および期待値のインクリメントを行って(ステップS508〜S510参照)、その受信パケットに関する処理を終了する。   If the sequence numbers match in step S506, the packet transmission / reception function unit 220 determines that these communication packets are the same packet, and sends the received packet to the application function unit 210 (see step S511). When a received packet having a sequence number larger than the expected value is stored in the hold buffer 221 and the same communication packet as the stored packet is received due to the reverse of the receiving order or loss of the previous communication packet, the same in step S506 A determination is made that this is a packet. The packet transmission / reception function unit 220 stops the hold timer 222, releases the hold buffer, and increments the expected value (see steps S508 to S510), and ends the process related to the received packet.

一方、ステップS506でシーケンス番号が一致せず且つ連続していない場合、パケット送受信機能部220は、保留バッファ221に受信パケットを上書きするとともに(ステップS512参照)、保留タイマ222を再起動して(ステップS513参照)、その受信パケットに関する処理を終了する。ステップS506でシーケンス番号が非連続となるのは、通信パケットがパケット交換網130,140の両方で喪失した場合が多く、このような場合に保留バッファ221内の1個の通信パケットのみをアプリケーション機能部210に引き渡しても有益でないと考えられるからである。   On the other hand, if the sequence numbers do not match and are not consecutive in step S506, the packet transmission / reception function unit 220 overwrites the received packet in the hold buffer 221 (see step S512) and restarts the hold timer 222 ( In step S513, the process related to the received packet is terminated. In step S506, the sequence numbers become discontinuous in many cases when communication packets are lost in both the packet switching networks 130 and 140. In such a case, only one communication packet in the hold buffer 221 is applied to the application function. This is because it is considered that it is not useful to hand over to the section 210.

以上説明したように、この実施形態によれば、二重通信を行うか否かを送信側パケット交換装置110,120で決定することができるので、通信パケットの遅延・喪失が大きな問題になるサービスについてのみ多重送信を行うことができ、パケット交換網130,140の輻輳を無駄に増大させることがない。   As described above, according to this embodiment, whether or not to perform duplex communication can be determined by the transmission side packet switching devices 110 and 120, so that the delay / loss of communication packets is a serious problem. Multiplex transmission can be performed only on the network, and congestion of the packet switching networks 130 and 140 is not increased unnecessarily.

加えて、この実施形態のパケット交換装置110,120では、送信元アドレスとシーケンス番号とを用いて通信パケットの同一性を判断し且つこの判断処理をTCP/UDP層とIP層との間の層で行うので、同一性判断の処理が簡単であるとともに上層(TCP/UDPやアプリケーション層)の制御に影響を与えることがない。   In addition, in the packet switching devices 110 and 120 of this embodiment, the identity of the communication packet is determined using the source address and the sequence number, and this determination process is performed between the TCP / UDP layer and the IP layer. Therefore, the identity determination process is simple and does not affect the control of the upper layer (TCP / UDP or application layer).

さらに、送信側のパケット交換装置と受信側のパケット交換装置とを2系統のパケット交換網130,140を介して接続するので、通信回線の断線などによるサービス中断が発生し難く、また、通信経路を個別に設定する必要がない。   Furthermore, since the packet switching apparatus on the transmission side and the packet switching apparatus on the reception side are connected via the two systems of packet switching networks 130 and 140, service interruption due to disconnection of the communication line is unlikely to occur. Need not be set individually.

なお、この実施形態では、通信パケットのシーケンス番号を、送信側のパケット交換装置では宛先アドレスごとに付すこととし且つ受信側のパケット交換装置では送信元アドレスごとにチェックすることとしたが、アプリケーションセッションごと(すなわち、アドレスが一致し且つアプリケーションセッションが一致する複数の通信パケットに一連のシーケンス番号を付す)こととしてもよい。これにより、アプリケーションセッション毎に二重送信を管理することが可能になる。   In this embodiment, the sequence number of the communication packet is assigned to each destination address in the transmission side packet switching apparatus and is checked for each transmission source address in the reception side packet switching apparatus. (That is, a series of sequence numbers are assigned to a plurality of communication packets having the same address and the same application session). This makes it possible to manage double transmission for each application session.

第2実施形態
次に、この発明の第2実施形態について、図6および図7を用いて説明する。
Second Embodiment Next, a second embodiment of the present invention will be described with reference to FIGS.

この実施形態に係るパケット通信システムおよびパケット交換装置の構成は、第1実施形態の場合(図1〜図3参照)とほぼ同様である。但し、パケット交換装置内のパケット送受信機能部に設けられた保留バッファが送信元アドレス毎に複数個の通信パケットを一時保存できるとともにこれら複数の保留パケットごとに保留タイマが設けられている点で、第1実施形態と異なる。   The configurations of the packet communication system and the packet switching apparatus according to this embodiment are substantially the same as those in the case of the first embodiment (see FIGS. 1 to 3). However, the hold buffer provided in the packet transmission / reception function unit in the packet switching device can temporarily store a plurality of communication packets for each source address and a hold timer is provided for each of the plurality of hold packets. Different from the first embodiment.

また、パケット交換装置の送信動作も、第1実施形態と同様である。   Further, the transmission operation of the packet switching apparatus is the same as that of the first embodiment.

図6、図7は、この実施形態に係るパケット送受信機能部の受信動作を説明するためのフローチャートである。   6 and 7 are flowcharts for explaining the reception operation of the packet transmission / reception function unit according to this embodiment.

パケット送受信機能部は、各パケット入出力部(図2参照)から通信パケットを受け取ると、まず、その通信パケットに識別情報が格納されているか否かをチェックする(図6のステップS601参照)。識別情報が格納されていない場合、パケット送受信機能部は、その通信パケットを単一送信に係る通信パケットであると判断して、この通信パケットの受信をアプリケーション機能部に通知し(ステップS602参照)、その受信パケットに関する処理を終了する。   When receiving a communication packet from each packet input / output unit (see FIG. 2), the packet transmission / reception function unit first checks whether the identification information is stored in the communication packet (see step S601 in FIG. 6). When the identification information is not stored, the packet transmission / reception function unit determines that the communication packet is a communication packet related to single transmission, and notifies the application function unit of reception of the communication packet (see step S602). Then, the process related to the received packet is terminated.

一方、ステップS601において識別情報が格納されていた場合、パケット送受信機能部は、その通信パケットを二重送信に係る通信パケットであると判断して、シーケンス番号と期待値とを比較する(ステップS603参照)。受信パケットのシーケンス番号が期待値と一致した場合、パケット送受信機能部は、該期待値を「+1」だけインクリメントして(ステップS604参照)、その通信パケットの受信をアプリケーション機能部に通知する(ステップS605参照)。   On the other hand, when the identification information is stored in step S601, the packet transmission / reception function unit determines that the communication packet is a communication packet related to double transmission, and compares the sequence number with the expected value (step S603). reference). When the sequence number of the received packet matches the expected value, the packet transmission / reception function unit increments the expected value by “+1” (see step S604), and notifies the application function unit of reception of the communication packet (step S604). (See S605).

続いて、パケット送受信機能部は、保留バッファのチェックを行う(ステップS606参照)。保留バッファに通信パケットが保存されていない場合、パケット送受信機能部は、当該受信パケットに関する処理を終了する。一方、ステップS606で保留バッファに1個以上の通信パケットが保存されていると判断された場合、パケット送受信機能部は、各保留パケットおよび受信パケットのシーケンス番号を相互に比較する(ステップS607参照)。そして、該シーケンス番号が連続する通信パケットについて、アプリケーション機能部への受信通知を行うとともに(ステップS608参照)、通知した通信パケットの個数分だけシーケンス番号の期待値をインクリメントする(ステップS609参照)。例えば、2個の保留パケットのシーケンス番号が‘n+2’および‘n’であり且つ受信パケットのシーケンス番号が‘n+1’の場合、これら3個の通信パケットのシーケンス番号は連続するので、これらすべての通信パケットの受信がアプリケーション機能部に通知される。一方、2個の保留パケットのシーケンス番号が‘n+2’および‘n’であり且つ受信パケットのシーケンス番号が‘n−1’である場合、シーケンス番号‘n’の保留パケットおよび受信パケットがアプリケーション機能部に通知される。   Subsequently, the packet transmission / reception function unit checks the hold buffer (see step S606). When the communication packet is not stored in the hold buffer, the packet transmission / reception function unit ends the process related to the received packet. On the other hand, if it is determined in step S606 that one or more communication packets are stored in the hold buffer, the packet transmission / reception function unit compares the sequence numbers of each hold packet and the received packet with each other (see step S607). . Then, for the communication packets having the consecutive sequence numbers, reception notification to the application function unit is performed (see step S608), and the expected value of the sequence number is incremented by the number of notified communication packets (see step S609). For example, if the sequence numbers of two pending packets are “n + 2” and “n” and the sequence number of the received packet is “n + 1”, the sequence numbers of these three communication packets are consecutive. The reception of the communication packet is notified to the application function unit. On the other hand, when the sequence numbers of the two pending packets are “n + 2” and “n” and the sequence number of the received packet is “n−1”, the pending packet and the received packet with the sequence number “n” are application functions. Is notified.

続いて、パケット送受信機能部は、保留バッファに保留パケットが残っているかどうかをチェックする(ステップS610)。そして、保留パケットが残っていない場合は、保留タイマの停止(ステップS611参照)と保留バッファの開放(ステップS612参照)とを行って、その受信パケットに関する処理を終了する。   Subsequently, the packet transmission / reception function unit checks whether or not a pending packet remains in the pending buffer (step S610). If no pending packet remains, the pending timer is stopped (see step S611) and the pending buffer is released (see step S612), and the processing related to the received packet is terminated.

一方、ステップS607でシーケンス番号の連続する保留・受信パケットが存在しなかった場合や、ステップS610で保留バッファに保留パケットが残っていた場合は、保留タイマを再起動させて、その受信パケットに関する処理を終了する。   On the other hand, if there are no pending / received packets with consecutive sequence numbers in step S607, or if there are any pending packets remaining in the pending buffer in step S610, the pending timer is restarted to process the received packet. Exit.

ステップS603においてシーケンス番号が期待値と一致しなかった場合、パケット送受信機能部は、第1実施形態と同様にして、受信した通信パケットが既に受信された通信パケットと同一か否かをチェックする(図7のステップS701参照)。同一であると判断された場合、パケット送受信機能部は、その通信パケットを廃棄して(ステップS702参照)、その受信パケットに関する処理を終了する。   If the sequence number does not match the expected value in step S603, the packet transmission / reception function unit checks whether the received communication packet is the same as the already received communication packet, as in the first embodiment ( (See step S701 in FIG. 7). If it is determined that they are the same, the packet transmission / reception function unit discards the communication packet (see step S702), and ends the process related to the received packet.

一方、ステップS701で既に受信された通信パケットと同一でないと判断された場合、パケット送受信機能部は、保留バッファに空きがあるか否かを判断する(ステップS703参照)。そして、保留バッファに空きがある場合は、その空き部分の一つに受信パケットを格納するとともに(ステップS704参照)、保留タイマを起動して(ステップS705参照)、その受信パケットに関する処理を終了する。   On the other hand, if it is determined in step S701 that it is not the same as the communication packet that has already been received, the packet transmission / reception function unit determines whether there is a vacant buffer (see step S703). If there is a vacancy in the hold buffer, the received packet is stored in one of the vacant portions (see step S704), the hold timer is started (see step S705), and the process related to the received packet is terminated. .

ステップS703で保留バッファに空きがないと判断された場合、パケット送受信機能部は、保存パケット中の最も大きいシーケンス番号のものを受信通知するとともに(ステップS706参照)、シーケンス番号の期待値を該シーケンス番号よりも「+1」だけ大きい値に設定して(ステップS707参照)、すべての保留バッファを解放し(ステップS708参照)、保留タイマを停止して(ステップS709参照)、その受信パケットに関する処理を終了する。すべての保留バッファに通信パケットが一時保存されるのは、両方のパケット交換網内で通信パケットの喪失が発生した場合が多く、このような場合に保留バッファ内の数個の通信パケットのみをアプリケーション機能部に引き渡しても有益でないと考えられるからである。   If it is determined in step S703 that there is no space in the holding buffer, the packet transmission / reception function unit notifies the reception of the one with the largest sequence number in the stored packet (see step S706), and also sends the expected value of the sequence number to the sequence. A value that is larger by “+1” than the number is set (see step S707), all the hold buffers are released (see step S708), the hold timer is stopped (see step S709), and the process for the received packet is performed. finish. Communication packets are temporarily stored in all the hold buffers in many cases when communication packets are lost in both packet-switched networks. In such a case, only a few communication packets in the hold buffer are applied to the application. This is because it is considered that it is not useful to deliver it to the functional part.

以上説明したように、この実施形態によれば、上述の第1実施形態と同様の理由により、パケット交換網の輻輳を無駄に増大させることがなく、同一性判断の処理が簡単で他の層の制御に影響を与えることがなく、また、通信回線の断線などによるサービス中断が発生し難く且つ通信経路を個別に設定する必要がない。   As described above, according to this embodiment, for the same reason as in the first embodiment described above, congestion of the packet switching network is not increased unnecessarily, and the identity determination process is simple and can be performed at other layers. The service control is not affected, the service interruption due to the disconnection of the communication line is difficult to occur, and it is not necessary to set the communication path individually.

加えて、この実施形態によれば、複数の通信パケットを保留バッファ内に同時に一時保存することができるので、救済する通信パケット数を増やすことが可能である。   In addition, according to this embodiment, since a plurality of communication packets can be temporarily stored in the hold buffer at the same time, the number of communication packets to be relieved can be increased.

アプリケーションセッションごとに通信パケットを管理してもよい点は、上述の第1実施形態と同様である。   The point that communication packets may be managed for each application session is the same as in the first embodiment.

第1実施形態に係るパケット通信システムの全体構成を示す概念図である。It is a conceptual diagram which shows the whole structure of the packet communication system which concerns on 1st Embodiment. 第1実施形態に係るパケット交換装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the packet switching apparatus which concerns on 1st Embodiment. 第1実施形態に係るパケット通信システムの層構造を示す概念図である。It is a conceptual diagram which shows the layer structure of the packet communication system which concerns on 1st Embodiment. 第1実施形態に係るパケット交換装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the packet switching apparatus which concerns on 1st Embodiment. 第1実施形態に係るパケット交換装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the packet switching apparatus which concerns on 1st Embodiment. 第2実施形態に係るパケット交換装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the packet switching apparatus which concerns on 2nd Embodiment. 第2実施形態に係るパケット交換装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the packet switching apparatus which concerns on 2nd Embodiment.

符号の説明Explanation of symbols

100 パケット通信システム
110,120 パケット交換装置
130,140 パケット交換網
210 アプリケーション機能部
220 パケット送受信機能部
230,240 パケット入出力部
DESCRIPTION OF SYMBOLS 100 Packet communication system 110,120 Packet switching apparatus 130,140 Packet switching network 210 Application function part 220 Packet transmission / reception function part 230,240 Packet input / output part

Claims (9)

送信装置と受信装置とを複数系統の通信網を介して接続してなるパケット通信システムであって、
前記送信装置が、同一のユーザデータと、同一のシーケンス番号と、多重通信であることを示す識別情報とを格納した通信パケットを前記複数系統の通信網にそれぞれ送信する手段を備え、且つ、
前記受信装置が、前記複数系統の通信網から受信した前記通信パケットに前記識別情報が格納されているか否かを判断する手段と、該識別情報が格納されている場合に送信元アドレスと前記シーケンス番号とを用いて前記通信パケットの同一性を判断する手段と、既に受信された前記通信パケットと同一であると判断された前記通信パケットを廃棄する手段とを備える、
ことを特徴とするパケット通信システム。
A packet communication system in which a transmission device and a reception device are connected via a plurality of communication networks,
The transmission device includes means for transmitting communication packets each storing the same user data, the same sequence number, and identification information indicating multiplex communication to the communication networks of the plurality of systems; and
Means for determining whether or not the identification information is stored in the communication packet received from the plurality of communication networks; a transmission source address and the sequence when the identification information is stored; Means for determining the identity of the communication packet using a number, and means for discarding the communication packet determined to be the same as the communication packet already received.
A packet communication system.
前記送信装置が、前記通信パケットに対応するアプリケーションのセッション毎に前記シーケンス番号を発行し、且つ、
前記受信装置が、前記送信元アドレスと、前記シーケンス番号と、前記アプリケーションのセッションとがすべて一致する場合のみ、該通信パケットと既に受信された前記通信パケットとが同一であると判断する、
ことを特徴とする請求項1に記載のパケット通信システム。
The transmitting device issues the sequence number for each session of an application corresponding to the communication packet; and
The receiving apparatus determines that the communication packet and the communication packet that has already been received are the same only when the source address, the sequence number, and the session of the application all match.
The packet communication system according to claim 1.
前記通信パケットの同一性の判断が、本来のネットワーク層とトランスポート層との間の層に係る処理として実行されることを特徴とする請求項1または2に記載のパケット通信システム。   3. The packet communication system according to claim 1, wherein the determination of the identity of the communication packet is executed as a process related to a layer between an original network layer and a transport layer. 前記シーケンス番号として、トランスミッション・コントロール・プロトコルまたはリアルタイム・トランスポート・プロトコルで規定されたシーケンス番号を使用することを特徴とする請求項1または2に記載のパケット通信システム。   3. The packet communication system according to claim 1, wherein a sequence number defined by a transmission control protocol or a real-time transport protocol is used as the sequence number. 前記複数系統の通信網が、共有リソースを有さない、別個独立の通信網であることを特徴とする請求項1〜4のいずれかに記載のパケット通信システム。   The packet communication system according to claim 1, wherein the plurality of communication networks are separate and independent communication networks that do not have a shared resource. 同一のユーザデータと、同一のシーケンス番号と、多重通信であることを示す識別情報とを格納した通信パケットを複数系統の通信網にそれぞれ送信する手段を有する送信部と、
前記複数系統の通信網から受信した前記通信パケットに前記識別情報が格納されているか否かを判断する手段と、該識別情報が格納されている場合に送信元アドレスと前記シーケンス番号とを用いて前記通信パケットの同一性を判断する手段と、既に受信された前記通信パケットと同一であると判断された前記通信パケットを廃棄する手段とを有する受信部と、
を備えることを特徴とするパケット通信装置。
A transmission unit having means for transmitting communication packets each storing the same user data, the same sequence number, and identification information indicating multiplex communication to a plurality of communication networks;
Using the means for determining whether or not the identification information is stored in the communication packet received from the communication network of the plurality of systems, and using the transmission source address and the sequence number when the identification information is stored A receiving unit comprising: means for determining the identity of the communication packet; and means for discarding the communication packet determined to be the same as the communication packet that has already been received.
A packet communication device comprising:
前記送信部が、前記通信パケットに対応するアプリケーションのセッション毎に前記シーケンス番号を発行し、且つ、
前記受信部が、前記送信元アドレスと、前記シーケンス番号と、前記アプリケーションのセッションとがすべて一致する場合のみ、該通信パケットと既に受信された前記通信パケットとが同一であると判断する、
ことを特徴とする請求項6に記載のパケット通信装置。
The transmitter issues the sequence number for each session of an application corresponding to the communication packet; and
The receiving unit determines that the communication packet and the communication packet that has already been received are the same only when the source address, the sequence number, and the session of the application all match.
The packet communication apparatus according to claim 6.
前記通信パケットの同一性の判断が、本来のネットワーク層とトランスポート層との間の層に係る処理として実行されることを特徴とする請求項6または7に記載のパケット通信装置。   8. The packet communication apparatus according to claim 6, wherein the determination of the identity of the communication packet is executed as a process related to a layer between an original network layer and a transport layer. 前記シーケンス番号として、トランスミッション・コントロール・プロトコルまたはリアルタイム・トランスポート・プロトコルで規定されたシーケンス番号を使用することを特徴とする請求項6または7に記載のパケット通信装置。   The packet communication device according to claim 6 or 7, wherein a sequence number defined by a transmission control protocol or a real-time transport protocol is used as the sequence number.
JP2005190857A 2005-06-30 2005-06-30 Packet communication system and packet communication apparatus Pending JP2007013510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005190857A JP2007013510A (en) 2005-06-30 2005-06-30 Packet communication system and packet communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005190857A JP2007013510A (en) 2005-06-30 2005-06-30 Packet communication system and packet communication apparatus

Publications (1)

Publication Number Publication Date
JP2007013510A true JP2007013510A (en) 2007-01-18

Family

ID=37751420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005190857A Pending JP2007013510A (en) 2005-06-30 2005-06-30 Packet communication system and packet communication apparatus

Country Status (1)

Country Link
JP (1) JP2007013510A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8654626B2 (en) 2010-01-07 2014-02-18 Nec Corporation Packet sorting device, receiving device and packet sorting method
WO2021005875A1 (en) * 2019-07-09 2021-01-14 住友電気工業株式会社 On-vehicle communication system, on-vehicle device, and vehicle communication method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0614056A (en) * 1992-06-25 1994-01-21 Mitsubishi Electric Corp Plural path type data transfer system
JP2000261478A (en) * 1999-03-04 2000-09-22 Telecommunication Advancement Organization Of Japan Gateway device, transmitting method, receiving method, and information recording medium
JP2004201032A (en) * 2002-12-18 2004-07-15 Central Res Inst Of Electric Power Ind Highly reliable transmission method using a plurality of routes and system thereof, and router for highly reliable transmission
JP2004289414A (en) * 2003-03-20 2004-10-14 Nippon Telegr & Teleph Corp <Ntt> Packet communication system and apparatus therefor, and packet communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0614056A (en) * 1992-06-25 1994-01-21 Mitsubishi Electric Corp Plural path type data transfer system
JP2000261478A (en) * 1999-03-04 2000-09-22 Telecommunication Advancement Organization Of Japan Gateway device, transmitting method, receiving method, and information recording medium
JP2004201032A (en) * 2002-12-18 2004-07-15 Central Res Inst Of Electric Power Ind Highly reliable transmission method using a plurality of routes and system thereof, and router for highly reliable transmission
JP2004289414A (en) * 2003-03-20 2004-10-14 Nippon Telegr & Teleph Corp <Ntt> Packet communication system and apparatus therefor, and packet communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8654626B2 (en) 2010-01-07 2014-02-18 Nec Corporation Packet sorting device, receiving device and packet sorting method
WO2021005875A1 (en) * 2019-07-09 2021-01-14 住友電気工業株式会社 On-vehicle communication system, on-vehicle device, and vehicle communication method
JP7400820B2 (en) 2019-07-09 2023-12-19 住友電気工業株式会社 In-vehicle communication system, in-vehicle device and vehicle communication method

Similar Documents

Publication Publication Date Title
US9894005B2 (en) Adaptive routing controlled by source node
JP4748086B2 (en) COMMUNICATION RELAY DEVICE, RESOURCE RELEASE METHOD, AND COMMUNICATION RELAY DEVICE PROGRAM
US20110142052A1 (en) Method for transferring data packets in a communication network and switching device
CN105376173B (en) Sending window flow control method and terminal
US7408879B2 (en) Router, terminal apparatus, communication system and routing method
JP2009296084A (en) Multipath communication system
US9628376B2 (en) Communication system, switch, controller, method for constructing a control channel and program
JPWO2007052764A1 (en) Session relay apparatus and session relay method
US8838782B2 (en) Network protocol processing system and network protocol processing method
JP5832335B2 (en) Communication apparatus and communication system
CN116319422A (en) Network performance monitoring using active measurement protocols and relay mechanisms
US20120155268A1 (en) Packet relay device
JP2008118281A (en) Communication device
JP2006197473A (en) Node
EP1901497A1 (en) Apparatus for low latency communications through an alternate path
JP2008011201A (en) Communication device
JP2007013510A (en) Packet communication system and packet communication apparatus
WO2010073674A1 (en) Path control apparatus, path control method, path control program, and network system
JP2007013511A (en) Packet communication system and packet relaying apparatus
US9455911B1 (en) In-band centralized control with connection-oriented control protocols
JP4505575B2 (en) COMMUNICATION SYSTEM, GATEWAY TRANSMISSION DEVICE, GATEWAY RECEPTION DEVICE, TRANSMISSION METHOD, RECEPTION METHOD, AND INFORMATION RECORDING MEDIUM
JP5445184B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
JP2007274332A (en) Multicast packet transfer device, multicast packet transfer method, and multicast distribution system
US20140369189A1 (en) Method of controlling packet transmission in network system and network system transmitting packet using pseudo-tcp agent
JP6569450B2 (en) Information processing apparatus and information processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080321

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100126

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100525