WO2007115458A1 - A method and system for transporting atm message over ip-based network - Google Patents

A method and system for transporting atm message over ip-based network Download PDF

Info

Publication number
WO2007115458A1
WO2007115458A1 PCT/CN2007/000125 CN2007000125W WO2007115458A1 WO 2007115458 A1 WO2007115458 A1 WO 2007115458A1 CN 2007000125 W CN2007000125 W CN 2007000125W WO 2007115458 A1 WO2007115458 A1 WO 2007115458A1
Authority
WO
WIPO (PCT)
Prior art keywords
atm
packet
parameter
gateway
message
Prior art date
Application number
PCT/CN2007/000125
Other languages
French (fr)
Chinese (zh)
Inventor
An Yi
Huaguo Xie
Hui Wang
Original Assignee
Huawei Technologies 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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007115458A1 publication Critical patent/WO2007115458A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5665Interaction of ATM with other protocols

Definitions

  • the invention relates to a method for ATM message communication, in particular to a method and a system for transmitting an ATM temple based on an IP network.
  • Asynchronous Transfer Mode (Asynchronous Transfer Mode) is designated by ITU-T as a transmission and mapping mode for broadband ISDN in June 1992.
  • ATM is a transmission mode developed on packet switching. In the mode, information is transmitted, multiplexed, and mapped with cells as a basic unit.
  • ATM cells are fixed length packets and use idle cells to fill the channel so that the channel is divided into equal length time segments. Each cell has a total of 53 bytes and is divided into 2 parts.
  • the first 5 bytes are the cell header, which is mainly used as routing information and priority information; the next 48 bytes are payloads, which are used to load information from different users and different services.
  • the two common ATM cell formats are the UNI cell format and the NNI cell format.
  • ATM is a connection-oriented mapping.
  • Each Virtual Circuit (VC) is identified by a Virtual Path Identifier (VPI) and a Virtual Channel Identifier (VCI).
  • VPN Virtual Path Identifier
  • VCI Virtual Channel Identifier
  • the ATM Adaptation Layer is the interface between the upper layer protocol and the ATM layer. It is responsible for transferring information between the ATM layer and the upper layer protocol.
  • AAL The ATM Adaptation Layer
  • AAL2 is aimed at variable speed services with low speed and timing requirements, such as compressed voice.
  • the AAL packet needs to be divided into cells for transmission during ATM transmission, and the receiver receives the divided cells and then reassembles the AAL packet, where the VPI and VCI are located at the head of the cell.
  • ATM technology simplifies the exchange process, removes unnecessary data check, and adopts a fixed cell format that is easy to handle, thus reducing transmission delay, and the exchange rate is much higher than that of the traditional data network, and is suitable for high-speed data exchange services. .
  • the ATM method has so many advantages, when an ATM message is transmitted from one station to another station far away, it is necessary to establish an ATM link between the two stations, but most of the existing ones
  • the networks are all IP networks. Due to the development of the Internet, the IP protocol has been used to the maximum extent, and the degree of popularity has reached an unprecedented level. It has become a de facto industry standard. Therefore, in order to realize the delivery of ATM messages, it is necessary to transform the IP network on a large scale. , the cost is relatively high.
  • the purpose of the embodiments of the present invention is to solve the problem of the long-distance transmission of the existing ATM mode.
  • the embodiment of the present invention provides a method and system for transmitting an ATM packet based on an IP network, which can not modify the IP network. Realize the connection and communication between ATM networks.
  • an embodiment of the present invention provides a method for transmitting an ATM message based on an IP network, which is applied between a first ATM gateway in a first ATM network and a second ATM gateway in a second ATM network. Communicating with each other, the first ATM gateway has a mapping table, and the method includes:
  • the first ATM gateway When the first ATM gateway sends an ATM packet to the second ATM network, the first ATM gateway queries the mapping table according to the ATM parameter of the ATM packet to obtain a corresponding IP parameter; the first ATM gateway uses The IP parameter encapsulates the ATM packet by IP, and obtains
  • the IP packet is sent to the second ATM gateway by using an IP network.
  • a method for transmitting an ATM message based on an IP network is further provided, which is applied to mutual communication between a first ATM gateway in a first ATM network and a second ATM gateway in a second ATM network, and the second ATM gateway has an inbound mapping.
  • Table the method includes:
  • the second ATM gateway receives an IP packet, and the IP packet is encapsulated with an ATM packet and an IP parameter, and the inbound mapping table is queried according to the IP parameter in the IP packet to obtain a corresponding ATM parameter.
  • the ATM parameter parses the IP packet, parses and acquires the ATM packet.
  • an embodiment of the present invention provides an ATM gateway, including a first receiver, a first memory, an encapsulator, and a first transmitter.
  • the first receiver is configured to receive an ATM packet.
  • the first memory is configured to store a mapping table, where the outbound mapping table stores a correspondence between an ATM parameter and an IP parameter, and the encapsulator obtains an ATM parameter of the ATM packet from the received ATM packet. Querying the outbound mapping table according to the ATM parameter, obtaining an IP parameter corresponding to the ATM parameter of the ATM packet, performing IP encapsulation on the ATM packet according to the corresponding IP parameter, and obtaining an IP packet, and The IP packet is sent to the first sender; the first sender sends the IP packet through an IP network.
  • the embodiment of the present invention further provides an ATM gateway, including a second receiver, a second memory, a decapsulator, and a second transmitter.
  • the second receiver is configured to receive and forward an IP packet, where the IP packet is Encapsulating an ATM packet and an IP parameter;
  • the second memory is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
  • the decapsulator the received IP packet Obtaining the IP parameter, querying the entry mapping table according to the IP parameter, and obtaining an ATM parameter corresponding to the IP parameter in the IP packet, and parsing the IP packet according to the ATM parameter, and obtaining Sending the ATM packet to the second transmitter; and the second transmitter forwarding the ATM packet to a corresponding device.
  • the embodiment of the present invention further provides a system for transmitting an ATM message based on an IP network, including a first ATM gateway and a second ATM gateway;
  • the first ATM gateway includes a first receiver, a first memory, a wrapper, and a first a transmitter;
  • the second ATM gateway includes a second receiver, a second memory, a decapsulator, and a second transmitter;
  • the first receiver is configured to receive an ATM packet and send the packet to the encapsulator
  • the first memory is configured to store a mapping table, where the outbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
  • the encapsulator obtains an ATM parameter of the ATM packet from the received ATM packet, and queries the mapping table according to the ATM parameter to obtain an IP parameter corresponding to the ATM parameter of the ATM packet, according to the corresponding
  • the IP parameter encapsulates the ATM packet, obtains an IP packet, and sends the IP packet to the first transmitter.
  • the first transmitter sends the IP packet to the second receiver through an IP network; the second receiver forwards the received IP packet to the decapsulator;
  • the second memory is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
  • the decapsulator obtains the IP parameter from the received IP packet, and queries the inbound mapping table according to the IP parameter to obtain an ATM parameter corresponding to the IP parameter in the IP packet. Parsing the IP packet according to the ATM parameter, acquiring the ATM packet, and sending the ATM packet to the second transmitter;
  • the second transmitter forwards the ATM packet to a corresponding device.
  • the mapping table and the inbound mapping table are set on the first ATM gateway and the second ATM gateway, and the corresponding encapsulation and decapsulation are performed according to the mapping table, so that the ATM packet can be transmitted to the required network through the IP network.
  • FIG. 1 is a schematic diagram of a network structure of a method for transmitting an ATM packet based on an IP network according to the present invention
  • FIG. 2 is a schematic flowchart of Embodiment 1 of a method for transmitting an ATM packet based on an IP network according to the present invention
  • Embodiment 3 is a schematic flow chart of Embodiment 2 of a method for transmitting an ATM message based on an IP network according to the present invention
  • FIG. 4 is a schematic structural diagram of an ATM gateway according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic structural diagram of an ATM gateway according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic structural diagram of an ATM gateway according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic structural diagram of an ATM gateway according to Embodiment 4 of the present invention.
  • FIG. 8 is a schematic structural diagram of a system for transmitting an ATM message based on an IP network according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a system for transmitting an ATM message based on an IP network according to another embodiment of the present invention.
  • the embodiment of the present invention utilizes an ATM gateway in an ATM network to convert an ATM message into a long-distance transmission through a packet transmitted by an IP protocol, and then through an ATM gateway in another ATM network, to transmit an IP packet.
  • the ATM path information is disassembled, and the ATM message is restored, and then the ATM message is sent to the corresponding device, thereby realizing communication between the ATM networks.
  • the ATM gateway is provided with an outbound mapping table and an inbound mapping table for mapping IP parameters and ATM parameters, and supports both ATM connection and IP connection.
  • FIG. 1 it is a schematic diagram of a network structure of a method for transmitting an ATM packet based on an IP network according to the present invention.
  • each ATM device is connected to an ATM gateway 1 and 2 by a virtual circuit (Virtual Circuit, VC for short).
  • the virtual circuit is usually identified by a Virtual Path Identifier (VPI) and a Virtual Channel Identifier (VCI).
  • VPI Virtual Path Identifier
  • VCI Virtual Channel Identifier
  • the first ATM network and the second ATM network are connected through the ATM gateways 1, 2.
  • An IP network that is, a network that is connected by an IP protocol, such as the Internet.
  • Step 101 When the first ATM network passes the first ATM
  • the gateway 1 sends an ATM packet to the second ATM network, the first ATM gateway 1 queries the outbound mapping table stored in the first ATM gateway according to the ATM parameter, and performs exact matching according to the content in the mapping table entry to obtain a corresponding IP parameter;
  • Step 102 IP-encapsulating the ATM packet, and encapsulating the IP header and the UDP header according to the obtained IP parameter, and then invoking the IP packet sending interface to send the encapsulated ATM packet to the second ATM gateway 2;
  • Step 103 When the second ATM gateway 2 receives the encapsulated IP packet sent by the first ATM network, query the inbound mapping table stored in the second ATM gateway 2 according to the IP parameter, according to the content in the mapping table. Perform an exact match. When the match is successful, obtain the corresponding ATM parameters, and then parse the IP packet according to the ATM parameters, remove the IP header and UDP header of the packet, convert it to an internal ATM package, and send it to the corresponding ATM. device.
  • the access mapping table of the ATM parameter and the IP parameter is first established in the first ATM gateway and the second ATM gateway of the second ATM network, respectively, and the access mapping table may be bidirectional when set.
  • the first ATM network may send the message to the second ATM network, or may send the message to the first ATM network by the second ATM network in the reverse direction;
  • the first ATM gateway and the second ATM gateway must support both the ATM connection and the IP connection, and other ATM devices inside the ATM network only need to support the ATM connection. This is sufficient, so there is no need for large-scale retrofits.
  • ATM parameters and IP quads can be used in the selection of ATM parameters and IP parameters.
  • ATM The dual group is VPI+VCI
  • the IP quaternion is the source IP address SrcIP+ source port number Sport+ destination IP address DstIP+ destination port number Dport.
  • the establishment of the entry and exit mapping entries may be handled by call signaling or manually, and a single or bidirectional outgoing and incoming mapping table may be established at the time of establishment.
  • the outbound mapping table and the inbound mapping table have been processed by call signaling or manually established, see table 1-4, which lists only some of the entries.
  • the outbound mapping table may have a many-to-one situation, that is, multiple ATM dual-groups correspond to a set of IP quaternions, but the in-mapping table must be-corresponding.
  • Table 2 Incoming mapping table of the first ATM gateway 1
  • Table 4 Incoming mapping table of the second ATM gateway 2
  • the ATM message is transparently transmitted to the first ATM gateway 1 through the preset VC channel, and the first ATM is used.
  • the gateway 1 queries the outbound mapping table according to the uplink channel number.
  • the ATM dual group of the ATM device A is (100, 2), and corresponding to the outbound mapping table, the IP quad group can be found (10.78. 233.1, 2000, 10.78.233.2, 3000), then construct the IP header and UDP header according to the IP quad, and attach it to the ATM message, and then call the IP layer send function to send the message, if the mapping is in the query If the IP address is not found in the table, the ATM packet is discarded, and the operation ends.
  • the second ATM gateway 2 in the second ATM network receives the IP packet, it performs fragmentation and reassembly, and then according to its IP quad.
  • the parameter is searched into the mapping table to obtain its ATM dual group (200, 4), and then the decapsulated ATM message is forwarded to the corresponding ATM device according to the downlink (VPI, CID). If the lookup table fails, the BP transmission process continues.
  • the upper layer application of the SOCKET cannot use the port, and the target address is uniquely identified by the IP address and the UDP port number group.
  • the gateway device also has other IP packets, the interaction occurs. If the port has been used by the ATM mapping table, the socket application of the gateway device should not use the port, otherwise the Socket may not receive the packet.
  • the present invention can be applied to two kinds of ATM messages, one is a fixed length ATM cell, and the other is an AAL message, both of which are applicable to the previous embodiment.
  • the ATM network if the transmission is performed, When the AAL packet is transmitted, the AAL packet must be split into several fixed-length ATM cells and then sent. When transmitting by IP protocol, it is not necessary to disassemble into several fixed-length ATM cells. The specific process has been described by the previous embodiment.
  • Embodiment 2 of the method for transmitting an ATM packet based on an IP network includes the following steps:
  • Step 201 When the first ATM network sends an AAL message to the second ATM network through the first ATM gateway 1, the first ATM gateway 1 queries the mapping table according to the ATM parameter, according to the content in the mapping table entry. Perform an exact match to obtain the corresponding IP parameters;
  • Step 202 The ATM adaptation layer of the first ATM gateway 1 disassembles the AAL message into a plurality of ATM cells, and the AAL message may be AAL 1, AAL2, AAL3/4, and AAL5;
  • Step 203 IP encapsulation of the disassembled ATM cells, encapsulating the IP header and the UDP header according to the obtained IP parameters, and then calling the IP packet sending interface to encapsulate the IP encapsulated ATM Sending a cell to the second ATM gateway 2;
  • Step 204 When the second ATM gateway 2 receives the packet sent by the first ATM network, it searches the mapping table according to the IP parameter, and performs exact matching according to the content in the mapping table. When the matching succeeds, the corresponding ATM is obtained.
  • Step 205 The IP header and the UDP header of the packet are removed, and the internal ATM encapsulation is performed. Then, the ATM adaptation layer reassembles the plurality of ATM cells into an AAL packet, and the ATM adaptation layer is reported according to the ATM parameter. The file is forwarded to the receiving device.
  • the outbound mapping table and the inbound mapping table of the ATM parameter and/or the IP parameter are first established in the first ATM gateway and the second ATM gateway of the second ATM network and the second ATM network, respectively.
  • the outbound mapping table and the inbound mapping table may be bidirectionally set, that is, the first ATM network may send the message to the second ATM network, or the second ATM network may send the message to the first ATM network in the reverse direction.
  • the solution of the present invention can use the TCP mode to carry the ATM packet.
  • TCP mode When the TCP mode is adopted, it is necessary to establish a TCP connection between the first ATM gateway and the second ATM gateway of the two ATM networks before starting to transmit the ATM packet.
  • This method is applicable to the situation where there are few changes at both ends of the communication.
  • bearer such as TCP or UDP
  • This setting is mainly reflected in the establishment of the entry.
  • the solution of the invention can be applied to ATM cells and AAL messages.
  • the present invention uses the mapping table of ATM dual group and IP quaternary to map ATM parameters and IP parameters, which is very simple, and does not require large-scale equipment modification of existing equipment. It only needs to be set for the software in the first ATM gateway 1 and the second ATM gateway 2; and the invention can be easily transmitted through the IP network for single or multiple ATM cells or complete AAL messages. , the scope of application is relatively wide.
  • an ATM gateway includes a first receiver 11, a first memory 12, a wrapper 13, and a first transmitter 14;
  • the first receiver 11 is configured to receive an ATM message.
  • the first memory 12 is configured to store a mapping table, where the outbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
  • the encapsulator 13 obtains the ATM of the ATM message from the received ATM message. Querying the outbound mapping table according to the ATM parameter, obtaining an IP parameter corresponding to the ATM parameter of the ATM packet, performing IP encapsulation on the ATM packet according to the corresponding IP parameter, and obtaining an IP packet, and Sending the IP packet to the first transmitter 14;
  • the first transmitter 14 sends the IP packet through an IP network.
  • the gateway further includes a decomposer 15.
  • the first receiver 11 When the ATM packet received by the first receiver 11 is an ATM adaptation layer message, the first receiver 11 will use the ATM.
  • the adaptation layer packet is forwarded to the decomposer 15, and the decomposer 15 splits the ATM adaptation layer packet into a plurality of ATM cells and sends the packet to the encapsulator 13.
  • an ATM gateway includes a second receiver 21, a second memory 22, a decapsulator 23, and a second transmitter 24;
  • the second receiver 21 is configured to receive and forward an IP packet, where the IP packet is encapsulated with an ATM packet and an IP parameter.
  • the second memory 22 is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
  • the decapsulator 23 receives the IP packet, and obtains the received packet from the received IP packet.
  • the IP parameter is obtained by querying the inbound mapping table according to the IP parameter, obtaining an ATM parameter corresponding to the IP parameter in the IP packet, parsing the IP packet according to the ATM parameter, and acquiring the ATM packet. And sending the ATM message to the second transmitter 24;
  • the second transmitter 24 forwards the ATM message to a corresponding device.
  • the gateway further includes a reassembler 26, when the ATM packet obtained by the decapsulator 23 is a plurality of ATM cells, the decapsulator 23 will use the multiple ATM cells.
  • the reassembler 26 sends the plurality of ATM cells to the ATM adaptation layer message and sends the message to the second transmitter 24.
  • a system for transmitting an ATM message based on an IP network includes a first ATM gateway 1 and a second ATM gateway 2;
  • the first ATM gateway 1 includes a first receiver 11, a first memory 12, and a wrapper 13 and a first transmitter 14;
  • the second ATM gateway 2 includes a second receiver 21, a second memory 22, a decapsulator 23, and a second transmitter 24;
  • the first receiver 11 is configured to receive an ATM message.
  • the first memory 12 is configured to store a mapping table, where the outbound mapping table stores ATM parameters. Correspondence with IP parameters;
  • the encapsulator 13 obtains an ATM parameter of the ATM packet from the received ATM packet, and queries the outbound mapping table according to the ATM parameter to obtain an IP corresponding to the ATM parameter of the ATM packet.
  • the parameter, the IP packet is encapsulated according to the corresponding IP parameter, the IP packet is obtained, and the IP packet is sent to the first transmitter 14;
  • the first transmitter 14 sends the IP packet to the second receiver 21 through an IP network; the second receiver 21 forwards the received IP packet;
  • the second memory 22 is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
  • the decapsulator 23 receives the IP packet, and obtains the received packet from the received IP packet.
  • the second transmitter 24 forwards the ATM message to a corresponding device.
  • the first ATM gateway 1 further includes a decomposer 15, and the second ATM gateway 2 further includes a recombiner 26.
  • the first receiver 11 forwards the ATM adaptation layer message to the decomposer 15, and the decomposer 15 splits the ATM adaptation layer message into multiple ATM cells, and sends the message to the Encapsulator 13;
  • the decapsulator 23 sends the plurality of ATM cells to the reassembler 2 6.
  • the reassembler 26 reassembles the plurality of ATM cells into an ATM adaptation layer message and sends the message to the Two transmitters 24.

Abstract

A method and system for transporting ATM message over IP-based network, the method provides inter-communication between the first ATM gateway of the first ATM network and the second ATM gateway of the second ATM network, when the first ATM gateway sends ATM message to the second ATM network, the first ATM gateway looks up the mapping table according to the ATM parameter of the ATM message, obtains the corresponding IP parameter; the first ATM gateway performs the IP encapsulation for the ATM message using the IP parameter and obtains IP message, and sends the IP message to the second ATM gateway through IP network. The present invention sets the mapping table on the first ATM gateway, and performs the corresponding encapsulation according to the mapping table, it enables the ATM message to be transported to the required device address in the remote ATM network without the large scale device change.

Description

基于 IP网络传送 ATM报文的方法及系统 本申请要求于 2006 年 4 月 10 日提交中国专利局、 申倩号为 200610073004.8, 发明名称为 "基于 IP网络传送 ATM 艮文的方法 "的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。  Method and system for transmitting ATM messages based on IP network This application claims to be filed on April 10, 2006 in China Patent Application, Shen Qian No. 200610073004.8, and the invention titled "Method for transmitting ATM based on IP network" Priority is hereby incorporated by reference in its entirety.
技术领域 Technical field
本发明涉及一种 ATM报文通信的方法,尤其是一种基于 IP网络传送 ATM 寺艮文的方法及系统。  The invention relates to a method for ATM message communication, in particular to a method and a system for transmitting an ATM temple based on an IP network.
背景技术 Background technique
异步传输模式(Asynchronous Transfer Mode, 筒称 ATM )被 ITU-T組织 在 1992年 6月指定为宽带 ISDN的传输和映射模式, ATM是在分组交换 出 上发展起来的一种传输模式, 在这一模式中, 信息以信元作为基本单位进行 信息传输、 复接和映射。 ATM信元是固定长度的分组, 并使用空闲信元来填 充信道, 从而使信道被分为等长的时间小段。 每个信元共有 53个字节, 分为 2个部分。 前面 5个字节为信元头部, 主要用作路由信息和优先级信息; 后面 的 48个字节为有效载荷, 用来装载来自不同用户、 不同业务的信息。 通用的 两种 ATM信元格式为 UNI信元格式和 NNI信元格式。 ATM是面向连接的映 射, 每条虚电路(Virtual Circuit, 简称 VC )用虚路径标识符(Virtual Path Identifier, 筒称 VPI )和虛通道标识符( Virtual Channel Identifier, VCI )来标 识, 一个 VPI/VCI值对只在 ATM节点之间的一段链路上有局部意义。  Asynchronous Transfer Mode (Asynchronous Transfer Mode) is designated by ITU-T as a transmission and mapping mode for broadband ISDN in June 1992. ATM is a transmission mode developed on packet switching. In the mode, information is transmitted, multiplexed, and mapped with cells as a basic unit. ATM cells are fixed length packets and use idle cells to fill the channel so that the channel is divided into equal length time segments. Each cell has a total of 53 bytes and is divided into 2 parts. The first 5 bytes are the cell header, which is mainly used as routing information and priority information; the next 48 bytes are payloads, which are used to load information from different users and different services. The two common ATM cell formats are the UNI cell format and the NNI cell format. ATM is a connection-oriented mapping. Each Virtual Circuit (VC) is identified by a Virtual Path Identifier (VPI) and a Virtual Channel Identifier (VCI). One VPI/ The VCI value has a local significance only on a link between ATM nodes.
ATM适配层( ATM Adaption Layer, AAL )是高层协议与 ATM层间的接 口, 它负责转接 ATM层与高层协议之间的信息。 目前, 已经提出 4种类型的 AAL: AAL AAL2、 AAL3/4和 AAL5, 每一种类型分别支持 ATM网中某 些特征业务。 针对不同的业务, 其处理方法不尽相同。 但都要将上层传来的 信息分割成 48字节长的负载, 然后传给 ATM层,.同时, 将 ATM层传来的负 载组装, 恢复再传给上层。 其中 AAL2针对的是低速有定时要求的变速率业 务, 例如压缩语音。 话音, 数据, 图像等所有的数字信息都要经过切割, 封 装成统一格式的信元在网中传递, 并在接收端恢复成所需格式。 AAL报文在 ATM传输时需要分割成信元在进行传输, 而接收方接收到分割后的信元后, 再重组成 AAL报文, 其中 VPI,VCI是位于信元的首部。 007 000125 The ATM Adaptation Layer (AAL) is the interface between the upper layer protocol and the ATM layer. It is responsible for transferring information between the ATM layer and the upper layer protocol. Currently, four types of AAL have been proposed: AAL AAL2, AAL3/4, and AAL5, each of which supports certain feature services in the ATM network. The processing methods are different for different businesses. However, the information transmitted from the upper layer is divided into a 48-byte load and then transmitted to the ATM layer. At the same time, the load transmitted from the ATM layer is assembled, restored, and transmitted to the upper layer. Among them, AAL2 is aimed at variable speed services with low speed and timing requirements, such as compressed voice. All digital information such as voice, data, and images are cut, and the cells encapsulated into a unified format are transmitted in the network and restored to the desired format at the receiving end. The AAL packet needs to be divided into cells for transmission during ATM transmission, and the receiver receives the divided cells and then reassembles the AAL packet, where the VPI and VCI are located at the head of the cell. 007 000125
― 2一  ― 2 one
由于 ATM技术简化了交换过程,去除了不必要的数据校验, 采用易于处 理的固定信元格式, 从而使传输时延减小, 交换速率大大高于传统的数据网, 适用于高速数据交换业务。  Because ATM technology simplifies the exchange process, removes unnecessary data check, and adopts a fixed cell format that is easy to handle, thus reducing transmission delay, and the exchange rate is much higher than that of the traditional data network, and is suitable for high-speed data exchange services. .
虽然 ATM方式具有如此多的优越性, 但当一个 ATM报文从一个站点传 送到很远以外的另一站点时, 就必须要在两个站点间建立一条 ATM链路, 然 而现有的大多数网络都是 IP网络。 由于互联网的发展, IP协议得到了最大程 度的运用, 在普及程度上也达到了空前的地步, 已日益变成事实上的工业标 准, 因此为了实现 ATM报文的传递就需要大规模改造 IP网络, 在成本上比 较高昂。  Although the ATM method has so many advantages, when an ATM message is transmitted from one station to another station far away, it is necessary to establish an ATM link between the two stations, but most of the existing ones The networks are all IP networks. Due to the development of the Internet, the IP protocol has been used to the maximum extent, and the degree of popularity has reached an unprecedented level. It has become a de facto industry standard. Therefore, in order to realize the delivery of ATM messages, it is necessary to transform the IP network on a large scale. , the cost is relatively high.
发明内容 Summary of the invention
本发明实施例的目的是针对于现有 ATM方式的远距离传输实现的困难, 本发明实施例提出了一种基于 IP网絡传送 ATM报文的方法及系统, 能够在 不改造 IP网絡的 ^出上实现 ATM网络之间的连接和通信。  The purpose of the embodiments of the present invention is to solve the problem of the long-distance transmission of the existing ATM mode. The embodiment of the present invention provides a method and system for transmitting an ATM packet based on an IP network, which can not modify the IP network. Realize the connection and communication between ATM networks.
为实现上述目的,本发明实施例提供了一种基于 IP网絡传送 ATM报文的— 方法,应用于处于第一 ATM网络的第一 ATM网关和处于第二 ATM网络的第 二 ATM网关之间的相互通信, 所述第一 ATM网关具有出映射表, 该方法包 括:  To achieve the above objective, an embodiment of the present invention provides a method for transmitting an ATM message based on an IP network, which is applied between a first ATM gateway in a first ATM network and a second ATM gateway in a second ATM network. Communicating with each other, the first ATM gateway has a mapping table, and the method includes:
所述第一 ATM网关向所述第二 ATM网络发送 ATM报文时, 第一 ATM 网关根据所述 ATM报文的 ATM参数查询出映射表, 获得对应的 IP参数; 所述第一 ATM网关使用所述 IP参数对所述 ATM报文进行 IP封装,得到 When the first ATM gateway sends an ATM packet to the second ATM network, the first ATM gateway queries the mapping table according to the ATM parameter of the ATM packet to obtain a corresponding IP parameter; the first ATM gateway uses The IP parameter encapsulates the ATM packet by IP, and obtains
IP报文, 并通过 IP网络将所述 IP报文发送至所述第二 ATM网关。 The IP packet is sent to the second ATM gateway by using an IP network.
还提供一种基于 IP网络传送 ATM报文的方法, 应用于处于第一 ATM网 络的第一 ATM网关和处于第二 ATM网络的第二 ATM网关之间的相互通信, 第二 ATM网关具有入映射表, 该方法包括:  A method for transmitting an ATM message based on an IP network is further provided, which is applied to mutual communication between a first ATM gateway in a first ATM network and a second ATM gateway in a second ATM network, and the second ATM gateway has an inbound mapping. Table, the method includes:
所述第二 ATM网关接收一 IP报文, 所述 IP报文封装有 ATM报文及 IP 参数,根据所述 IP报文中的 IP参数查询所述入映射表获得对应的 ATM参数, 根据所述 ATM参数解析所述 IP报文, 解析并获取所述 ATM报文。  The second ATM gateway receives an IP packet, and the IP packet is encapsulated with an ATM packet and an IP parameter, and the inbound mapping table is queried according to the IP parameter in the IP packet to obtain a corresponding ATM parameter. The ATM parameter parses the IP packet, parses and acquires the ATM packet.
相应的, 本发明实施例提出一种 ATM网关, 包括第一接收器、 第一存储 器、 封装器和第一发送器; 其中, 所述第一接收器用于接收 ATM报文; 所述 第一存储器用于存储出映射表, 所述出映射表存储有 ATM参数与 IP参数的 对应关系; 所述封装器, 从接收到的所述 ATM报文中获取所述 ATM报文的 ATM参数, 根据所述 ATM参数查询所述出映射表, 获得所述 ATM报文的 ATM参数对应的 IP参数,根据对应的 IP参数对所述 ATM报文进行 IP封装, 获得 IP报文, 并将所述 IP报文发送给所述第一发送器; 所述第一发送器将所 述 IP报文通过 IP网络发送出去。 Correspondingly, an embodiment of the present invention provides an ATM gateway, including a first receiver, a first memory, an encapsulator, and a first transmitter. The first receiver is configured to receive an ATM packet. The first memory is configured to store a mapping table, where the outbound mapping table stores a correspondence between an ATM parameter and an IP parameter, and the encapsulator obtains an ATM parameter of the ATM packet from the received ATM packet. Querying the outbound mapping table according to the ATM parameter, obtaining an IP parameter corresponding to the ATM parameter of the ATM packet, performing IP encapsulation on the ATM packet according to the corresponding IP parameter, and obtaining an IP packet, and The IP packet is sent to the first sender; the first sender sends the IP packet through an IP network.
本发明实施例还提出一种 ATM网关, 包括第二接收器、 第二存储器、 解 封装器和第二发送器; 其中, 所述第二接收器用于接收并转发 IP报文, 所述 IP报文封装有 ATM报文及 IP参数; 所述第二存储器存储入映射表, 所述入 映射表存储有 ATM参数与 IP参数的对应关系; 所述解封装器, 从接收到的 所述 IP报文中获取所述 IP参数, 根据所述 IP参数查询所述入映射表, 获得 所述 IP报文中的 IP参数对应的 ATM参数, 才艮据所述 ATM参数解析所述 IP 报文, 获取所述 ATM报文, 并将所述 ATM报文发送给所述第二发送器; 所 述第二发送器将所述 ATM报文转发到相应的设备。  The embodiment of the present invention further provides an ATM gateway, including a second receiver, a second memory, a decapsulator, and a second transmitter. The second receiver is configured to receive and forward an IP packet, where the IP packet is Encapsulating an ATM packet and an IP parameter; the second memory is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter; the decapsulator, the received IP packet Obtaining the IP parameter, querying the entry mapping table according to the IP parameter, and obtaining an ATM parameter corresponding to the IP parameter in the IP packet, and parsing the IP packet according to the ATM parameter, and obtaining Sending the ATM packet to the second transmitter; and the second transmitter forwarding the ATM packet to a corresponding device.
本发明实施例进一步提出一种基于 IP网络传送 ATM报文的系统,包括第 一 ATM网关和第二 ATM网关; 所述第一 ATM网关包括第一接收器、第一存 储器、 封装器和第一发送器; 所述第二 ATM网关包括第二接收器、 第二存储 器、 解封装器和第二发送器; 其中  The embodiment of the present invention further provides a system for transmitting an ATM message based on an IP network, including a first ATM gateway and a second ATM gateway; the first ATM gateway includes a first receiver, a first memory, a wrapper, and a first a transmitter; the second ATM gateway includes a second receiver, a second memory, a decapsulator, and a second transmitter;
所述第一接收器用于接收 ATM报文, 并发送给所述封装器;  The first receiver is configured to receive an ATM packet and send the packet to the encapsulator;
所述第一存储器用于存储出映射表,所述出映射表存储有 ATM参数与 IP 参数的对应关系;  The first memory is configured to store a mapping table, where the outbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
所述封装器, 从接收到的 ATM报文中获取所述 ATM报文的 ATM参数, 根据所述 ATM参数查询出映射表, 获得所述 ATM报文的 ATM参数对应的 IP参数, 根据对应的 IP参数对所述 ATM报文进行 IP封装, 获得 IP报文, 并将所述 IP报文发送给所述第一发送器;  The encapsulator obtains an ATM parameter of the ATM packet from the received ATM packet, and queries the mapping table according to the ATM parameter to obtain an IP parameter corresponding to the ATM parameter of the ATM packet, according to the corresponding The IP parameter encapsulates the ATM packet, obtains an IP packet, and sends the IP packet to the first transmitter.
所述第一发送器将所述 IP报文通过 IP网络发送给所述笫二接收器; 所述 第二接收器将接收到的 IP报文转发给所述解封装器;  The first transmitter sends the IP packet to the second receiver through an IP network; the second receiver forwards the received IP packet to the decapsulator;
所述第二存储器存储入映射表,所述入映射表存储有 ATM参数与 IP参数 的对应关系; 所述解封装器,从接收到的所述 IP报文中获取所述 IP参数,根据所述. IP 参数查询所述入映射表, 获得所述 IP报文中的 IP参数对应的 ATM参数, 根 据所述 ATM参数解析所述 IP报文, 获取所述 ATM报文, 并将所述 ATM报 文发送给所述第二发送器; The second memory is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter; The decapsulator obtains the IP parameter from the received IP packet, and queries the inbound mapping table according to the IP parameter to obtain an ATM parameter corresponding to the IP parameter in the IP packet. Parsing the IP packet according to the ATM parameter, acquiring the ATM packet, and sending the ATM packet to the second transmitter;
所述第二发送器将所述 ATM报文转发到相应的设备。  The second transmitter forwards the ATM packet to a corresponding device.
本发明实施例通过在第一 ATM网关和第二 ATM网关上设置出映射表、 入映射表, 并根据映射表进行相应的封装、 解封装, 使得 ATM报文能够通过 IP网络传输到所要求的远距离 ATM网络中的设备地址,而且不需要大规模的 设备改造, 只需要针对第一 ATM网关和第二 ATM网关便可。  In the embodiment of the present invention, the mapping table and the inbound mapping table are set on the first ATM gateway and the second ATM gateway, and the corresponding encapsulation and decapsulation are performed according to the mapping table, so that the ATM packet can be transmitted to the required network through the IP network. The address of the device in the long-distance ATM network, and does not require large-scale equipment modification, only need to be for the first ATM gateway and the second ATM gateway.
附图说明 DRAWINGS
图 1为本发明基于 IP网络传送 ATM报文的方法的网络结构示意图; 图 2为本发明基于 IP网络传送 ATM报文的方法的实施例一的流程示意 图;  1 is a schematic diagram of a network structure of a method for transmitting an ATM packet based on an IP network according to the present invention; FIG. 2 is a schematic flowchart of Embodiment 1 of a method for transmitting an ATM packet based on an IP network according to the present invention;
图 3为本发明基于 IP网络传送 ATM报文的方法的实施例二的流程示意 图; ― _  3 is a schematic flow chart of Embodiment 2 of a method for transmitting an ATM message based on an IP network according to the present invention; ― _
图 4为本发明实施例一中一种 ATM网关的结构示意图;  4 is a schematic structural diagram of an ATM gateway according to Embodiment 1 of the present invention;
图 5为本发明实施例二中一种 ATM网关的结构示意图;  FIG. 5 is a schematic structural diagram of an ATM gateway according to Embodiment 2 of the present invention;
图 6为本发明实施例三中一种 ATM网关的结构示意图;  6 is a schematic structural diagram of an ATM gateway according to Embodiment 3 of the present invention;
图 7为本发明实施例四中一种 ATM网关的结构示意图;  7 is a schematic structural diagram of an ATM gateway according to Embodiment 4 of the present invention;
图 8为本发明一实施例中基于 IP网络传送 ATM报文的系统的结构示意 图; . 图 9为本发明另一实施例中基于 IP网络传送 ATM报文的系统的结构示 意图。  FIG. 8 is a schematic structural diagram of a system for transmitting an ATM message based on an IP network according to an embodiment of the present invention; FIG. 9 is a schematic structural diagram of a system for transmitting an ATM message based on an IP network according to another embodiment of the present invention.
具体实施方式 detailed description
下面实施例结合附图, 对本发明的技术方案做进一步的详细描述。  The following embodiments further describe the technical solutions of the present invention in conjunction with the accompanying drawings.
本发明的实施例利用 ATM网络中的 ATM网关,将 ATM报文转换成通过 IP协议^载的 艮文进行远距离的传输,然后再通过另一 ATM网络中的 ATM 网关, 将 IP报文中的 ATM路径信息拆解出来, 并将 ATM报文还原, 然后将 ATM报文发送给相应的设备中, 从而实现了 ATM网络之间的通信。 所述的 ATM网关设置有用于进行 IP参数和 ATM参数映射的出映射表和入映射表, 同时支持 ATM连接和 IP连接。 The embodiment of the present invention utilizes an ATM gateway in an ATM network to convert an ATM message into a long-distance transmission through a packet transmitted by an IP protocol, and then through an ATM gateway in another ATM network, to transmit an IP packet. The ATM path information is disassembled, and the ATM message is restored, and then the ATM message is sent to the corresponding device, thereby realizing communication between the ATM networks. Said The ATM gateway is provided with an outbound mapping table and an inbound mapping table for mapping IP parameters and ATM parameters, and supports both ATM connection and IP connection.
如图 1所示,为本发明基于 IP网络传送 ATM报文的方法的网絡结构示意 图, 在网络中 ATM设备都各自与 ATM网关 1、 2以虛电路(Virtual Circuit, 简称 VC )连接, 每条虚电路通常以虚路径标识符(Virtual Path Identifier, 简 称 VPI )和虚通道标识符(Virtual Channel Identifier, 简称 VCI )进行标识, 在第一 ATM网络和第二 ATM网络通过 ATM网关 1、 2连入 IP网絡, 即通过 IP协议进行通信连接的网络, 例如互联网等。  As shown in FIG. 1 , it is a schematic diagram of a network structure of a method for transmitting an ATM packet based on an IP network according to the present invention. In the network, each ATM device is connected to an ATM gateway 1 and 2 by a virtual circuit (Virtual Circuit, VC for short). The virtual circuit is usually identified by a Virtual Path Identifier (VPI) and a Virtual Channel Identifier (VCI). The first ATM network and the second ATM network are connected through the ATM gateways 1, 2. An IP network, that is, a network that is connected by an IP protocol, such as the Internet.
实施例一  Embodiment 1
如图 2所示,为本发明基于 IP网絡传送 ATM报文的方法的实施例一的流 程示意图, 由以下的步骤完成传送的操作: - 步骤 101 , 当所述第一 ATM网络通过第一 ATM网关 1向第二 ATM网络 发送 ATM报文时 , 第一 ATM网关 1会根据 ATM参数查询存储在第一 ATM 网关的出映射表, 根据出映射表表项中的内容进行精确匹配, 获得相应的 IP 参数;  As shown in FIG. 2, a schematic flowchart of Embodiment 1 of a method for transmitting an ATM packet based on an IP network according to the present invention is performed by the following steps: Step 101: When the first ATM network passes the first ATM When the gateway 1 sends an ATM packet to the second ATM network, the first ATM gateway 1 queries the outbound mapping table stored in the first ATM gateway according to the ATM parameter, and performs exact matching according to the content in the mapping table entry to obtain a corresponding IP parameter;
步驟 102 , 然后对 ATM报文进行 IP封装, 根据获得的 IP参数封装 IP首 部和 UDP首部, 然后调用 IP报文发送接口将 IP封装后的 ATM报文向第二 ATM网关 2发送;  Step 102: IP-encapsulating the ATM packet, and encapsulating the IP header and the UDP header according to the obtained IP parameter, and then invoking the IP packet sending interface to send the encapsulated ATM packet to the second ATM gateway 2;
步骤 103,当第二 ATM网关 2接收到第一 ATM网络发送过来的经过封装 的 IP报文时, 根据 IP参数查询存储在第二 ATM网关 2中的入映射表, 根据 入映射表中的内容进行精确匹配, 当匹配成功时, 获得对应的 ATM参数, 然 后根据 ATM参数解析所述 IP报文,将报文的 IP首部和 UDP首部去掉,转为 内部的 ATM封装, 并发送给相应的 ATM设备。  Step 103: When the second ATM gateway 2 receives the encapsulated IP packet sent by the first ATM network, query the inbound mapping table stored in the second ATM gateway 2 according to the IP parameter, according to the content in the mapping table. Perform an exact match. When the match is successful, obtain the corresponding ATM parameters, and then parse the IP packet according to the ATM parameters, remove the IP header and UDP header of the packet, convert it to an internal ATM package, and send it to the corresponding ATM. device.
在上述实施例中,首先分別在第一 ATM网络和第二 ATM网络的第一 ATM 网关和第二 ATM网关中建立 ATM参数和 IP参数的出入映射表,在设置的时 候出入映射表可以为双向设置, 即可以由第一 ATM网络到第二 ATM网络发 送报文, 也可以反方向由第二 ATM网络向第一 ATM网络发送报文;  In the above embodiment, the access mapping table of the ATM parameter and the IP parameter is first established in the first ATM gateway and the second ATM gateway of the second ATM network, respectively, and the access mapping table may be bidirectional when set. Setting, that is, the first ATM network may send the message to the second ATM network, or may send the message to the first ATM network by the second ATM network in the reverse direction;
在上述技术方案中, 第一 ATM网关和第二 ATM网关必须同时支持 ATM 连接和 IP连接, 而 ATM网络内部的其它 ATM设备则只需要支持 ATM连接 就足够了, 因此不需要进行较大规模的改造, 同时为了与现有的 IP网络兼容, 在 ATM参数和 IP参数的选择上, 可以采用 ATM二元組和 IP四元组的形式, 其中 ATM二元组是 VPI+VCI, IP四元組是源 IP地址 SrcIP+源端口号 Sport+ 目的 IP地址 DstIP+目的端口号 Dport。 出入映射表项的建立可以通过呼叫信 令处理或者手工建立, 在建立时可以建立单项或者双向的出、 入映射表。 In the above technical solution, the first ATM gateway and the second ATM gateway must support both the ATM connection and the IP connection, and other ATM devices inside the ATM network only need to support the ATM connection. This is sufficient, so there is no need for large-scale retrofits. In order to be compatible with existing IP networks, ATM parameters and IP quads can be used in the selection of ATM parameters and IP parameters. ATM The dual group is VPI+VCI, and the IP quaternion is the source IP address SrcIP+ source port number Sport+ destination IP address DstIP+ destination port number Dport. The establishment of the entry and exit mapping entries may be handled by call signaling or manually, and a single or bidirectional outgoing and incoming mapping table may be established at the time of establishment.
举例来说, 假设第一 ATM网关 1的 IP端口号为 2000, 第二 ATM网关 2. 的 IP端口号为 3000, 并且出映射表和入映射表已经通过呼叫信令处理或者手 工建立,见表 1-4,其中只列出了部分表项。 出映射表可以存在多对一的情况, 即多个 ATM二元組对应到一组 IP四元組中, 但是入映射表必须——对应。  For example, assume that the IP port number of the first ATM gateway 1 is 2000, the IP port number of the second ATM gateway 2. is 3000, and the outbound mapping table and the inbound mapping table have been processed by call signaling or manually established, see table 1-4, which lists only some of the entries. The outbound mapping table may have a many-to-one situation, that is, multiple ATM dual-groups correspond to a set of IP quaternions, but the in-mapping table must be-corresponding.
表 1 : 第一 ATM网关 1的出映射表  Table 1: Outbound mapping table of the first ATM gateway 1
表 2: 第一 ATM网关 1的入映射表 Table 2: Incoming mapping table of the first ATM gateway 1
表 3: 第二 ATM网关 2的出映射表 Table 3: Outbound mapping table of the second ATM gateway 2
表 4: 第二 ATM网关 2的入映射表 Table 4: Incoming mapping table of the second ATM gateway 2
当第一 ATM网络中的 ATM设备 A向第二 ATM网络发送 ATM报文时, 先通过预先设定的 VC通道将 ATM报文透传给第一 ATM网关 1 , 第一 ATM 网关 1会根据上行通道号在出映射表中查询,在这个实施例中 ATM设备 A的 ATM二元组是(100, 2 ),对应于出映射表,可以查得 IP四元组( 10.78.233.1 , 2000, 10.78.233.2, 3000 ), 然后再根据 IP四元組构造 IP首部和 UDP首部, 并附加在 ATM报文之前, 然后调用 IP层发送函数将报文发送出去, 如果在 查询出映射表时查找不到 IP参数,则丟弃 ATM报文,结束操作; 当第二 ATM 网络中的第二 ATM网关 2接收到 IP报文后, 进行分片重组, 然后根据其 IP 四元组的参数查找入映射表, 获得其 ATM二元组(200, 4 ), 然后根据下行 的 ( VPI, CID )将解封装后的 ATM报文转发到相应的 ATM设备。 如果查表 失败, 则继续进行 BP传输流程。 When the ATM device A in the first ATM network sends an ATM message to the second ATM network, the ATM message is transparently transmitted to the first ATM gateway 1 through the preset VC channel, and the first ATM is used. The gateway 1 queries the outbound mapping table according to the uplink channel number. In this embodiment, the ATM dual group of the ATM device A is (100, 2), and corresponding to the outbound mapping table, the IP quad group can be found (10.78. 233.1, 2000, 10.78.233.2, 3000), then construct the IP header and UDP header according to the IP quad, and attach it to the ATM message, and then call the IP layer send function to send the message, if the mapping is in the query If the IP address is not found in the table, the ATM packet is discarded, and the operation ends. When the second ATM gateway 2 in the second ATM network receives the IP packet, it performs fragmentation and reassembly, and then according to its IP quad. The parameter is searched into the mapping table to obtain its ATM dual group (200, 4), and then the decapsulated ATM message is forwarded to the corresponding ATM device according to the downlink (VPI, CID). If the lookup table fails, the BP transmission process continues.
另外要注意 UDP端口当被分配给业务使用时, SOCKET上层应用是不能 利用这个端口的, 而目标地址由 IP地址和 UDP端口号组唯一标识, 当网关设 备也存在其它的 IP报文时交互时, 如果端口已被 ATM映射表使用了, 则网 关设备的 socket应用就不应该使用该端口, 否则 Socket可能收不到报文。  In addition, it should be noted that when the UDP port is assigned to the service, the upper layer application of the SOCKET cannot use the port, and the target address is uniquely identified by the IP address and the UDP port number group. When the gateway device also has other IP packets, the interaction occurs. If the port has been used by the ATM mapping table, the socket application of the gateway device should not use the port, otherwise the Socket may not receive the packet.
实施例二  Embodiment 2
本发明可以针对两种 ATM 艮文进行处理, 一种是固定长度的 ATM信元, 一种是 AAL报文,这两种 ATM报文都适用于上一个实施例,在 ATM网络中, 如果传送 AAL报文的时候,必须将 AAL报文拆解成数个固定长度的 ATM信 元, 再进行发送, 而通过 IP协议方式传送时, 就可以不必拆解成数个固定长 度的 ATM信元, 具体的流程已由上一实施例描述。  The present invention can be applied to two kinds of ATM messages, one is a fixed length ATM cell, and the other is an AAL message, both of which are applicable to the previous embodiment. In the ATM network, if the transmission is performed, When the AAL packet is transmitted, the AAL packet must be split into several fixed-length ATM cells and then sent. When transmitting by IP protocol, it is not necessary to disassemble into several fixed-length ATM cells. The specific process has been described by the previous embodiment.
本实施例描述增加了 AAL报文拆解重組操作的技术方案, 如图 3所示, 为本发明基于 IP网络传送 ATM报文的方法的实施例二的流程示意图, 包括 以下步骤:  This embodiment describes a technical solution for adding an AAL packet teardown and reassembly operation. As shown in FIG. 3, the flowchart of Embodiment 2 of the method for transmitting an ATM packet based on an IP network according to the present invention includes the following steps:
步驟 201 , 当所述第一 ATM网絡通过第一 ATM网关 1向第二 ATM网络 发送 AAL报文时, 第一 ATM网关 1会根据 ATM参数查询出映射表,根据出 映射表表项中的内容进行精确匹配, 获得相应的 IP参数;  Step 201: When the first ATM network sends an AAL message to the second ATM network through the first ATM gateway 1, the first ATM gateway 1 queries the mapping table according to the ATM parameter, according to the content in the mapping table entry. Perform an exact match to obtain the corresponding IP parameters;
步骤 202,第一 ATM网关 1的 ATM适配层将 AAL 艮文拆解为数个 ATM 信元, 该 AAL报文可以为 AAL 1、 AAL2、 AAL3/4、 AAL5;  Step 202: The ATM adaptation layer of the first ATM gateway 1 disassembles the AAL message into a plurality of ATM cells, and the AAL message may be AAL 1, AAL2, AAL3/4, and AAL5;
步骤 203, 然后对拆解后的数个 ATM信元进行 IP封装, 根据获得的 IP 参数封装 IP首部和 UDP首部,然后调用 IP报文发送接口将 IP封装后的 ATM 信元发送到第二 ATM网关 2; Step 203: IP encapsulation of the disassembled ATM cells, encapsulating the IP header and the UDP header according to the obtained IP parameters, and then calling the IP packet sending interface to encapsulate the IP encapsulated ATM Sending a cell to the second ATM gateway 2;
步骤 204, 当第二 ATM网关 2接收到第一 ATM网络发送过来的报文时, 根据 IP参数查询入映射表, 根据入映射表中的内容进行精确匹配, 当匹配成 功时, 获得对应的 ATM参数;  Step 204: When the second ATM gateway 2 receives the packet sent by the first ATM network, it searches the mapping table according to the IP parameter, and performs exact matching according to the content in the mapping table. When the matching succeeds, the corresponding ATM is obtained. Parameter
步骤 205, 将报文的 IP首部和 UDP首部去掉, 转为内部的 ATM封装, 再由 ATM适配层将数个 ATM信元重组成 AAL报文, 根据 ATM参数将所述 ATM适配层报文转发给接收设备。  Step 205: The IP header and the UDP header of the packet are removed, and the internal ATM encapsulation is performed. Then, the ATM adaptation layer reassembles the plurality of ATM cells into an AAL packet, and the ATM adaptation layer is reported according to the ATM parameter. The file is forwarded to the receiving device.
在上述实施例中,首先分别在第一 ATM网络和第二 ATM网络的第一 ATM 网关和笫二 ATM网关中建立 ATM参数和 /或 IP参数的出映射表和入映射表, 在设置的时候出映射表和入映射表可以为双向设置, 即可以由第一 ATM网络 到第二 ATM网络发送报文,也可以反方向由第二 ATM网络向第一 ATM网絡 发送报文。  In the foregoing embodiment, the outbound mapping table and the inbound mapping table of the ATM parameter and/or the IP parameter are first established in the first ATM gateway and the second ATM gateway of the second ATM network and the second ATM network, respectively. The outbound mapping table and the inbound mapping table may be bidirectionally set, that is, the first ATM network may send the message to the second ATM network, or the second ATM network may send the message to the first ATM network in the reverse direction.
本发明方案可以采用 TCP方式承载 ATM报文, 当采用 TCP方式时, 需 '要在开始传输 ATM报文之前,在两个 ATM网络的第一 ATM网关和第二 ATM 网关之间建立一条 TCP连接, 这种方式适用于通信两端变化很少的状况, 至 于选择使用哪种承载(如 TCP或者 UDP等方式)是需要进行设定的, 这种设 定主要体现在表项的建立上, 同时本发明方案可适用于 ATM信元和 AAL报 文。  The solution of the present invention can use the TCP mode to carry the ATM packet. When the TCP mode is adopted, it is necessary to establish a TCP connection between the first ATM gateway and the second ATM gateway of the two ATM networks before starting to transmit the ATM packet. This method is applicable to the situation where there are few changes at both ends of the communication. As for which bearer (such as TCP or UDP) is selected, it needs to be set. This setting is mainly reflected in the establishment of the entry. The solution of the invention can be applied to ATM cells and AAL messages.
从上面两个实施例来看,本发明采用 ATM二元组和 IP四元组的映射表进 行 ATM参数和 IP参数的映射, 十分简便, 而且不需要对现有的设备进行大 规模的设备改造, 只需要针对第一 ATM网关 1和第二 ATM网关 2中的软件 进行设置即可; 而且本发明无论对于单个或多个 ATM信元还是完整的 AAL 报文, 都能够简便的通过 IP网络传输, 适用范围比较广。  From the above two embodiments, the present invention uses the mapping table of ATM dual group and IP quaternary to map ATM parameters and IP parameters, which is very simple, and does not require large-scale equipment modification of existing equipment. It only needs to be set for the software in the first ATM gateway 1 and the second ATM gateway 2; and the invention can be easily transmitted through the IP network for single or multiple ATM cells or complete AAL messages. , the scope of application is relatively wide.
相应的, 参见图 4, 一种 ATM网关, 包括第一接收器 11、第一存储器 12、 封装器 13和第一发送器 14; 其中,  Correspondingly, referring to FIG. 4, an ATM gateway includes a first receiver 11, a first memory 12, a wrapper 13, and a first transmitter 14;
所述第一接收器 11用于接收 ATM报文;  The first receiver 11 is configured to receive an ATM message.
所述第一存储器 12用于存储出映射表, 所述出映射表存储有 ATM参数 与 IP参数的对应关系;  The first memory 12 is configured to store a mapping table, where the outbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
所述封装器 13 ,从接收到的所述 ATM报文中获取所述 ATM报文的 ATM 参数,根据所述 ATM参数查询所述出映射表,获得所述 ATM报文的 ATM参 数对应的 IP参数,根据对应的 IP参数对所述 ATM报文进行 IP封装,获得 IP 报文, 并将所述 IP报文发送给所述第一发送器 14; The encapsulator 13 obtains the ATM of the ATM message from the received ATM message. Querying the outbound mapping table according to the ATM parameter, obtaining an IP parameter corresponding to the ATM parameter of the ATM packet, performing IP encapsulation on the ATM packet according to the corresponding IP parameter, and obtaining an IP packet, and Sending the IP packet to the first transmitter 14;
所述第一发送器 14将所述 IP报文通过 IP网絡发送出去。  The first transmitter 14 sends the IP packet through an IP network.
进一步的, 参见图 5, 所述网关还包括分解器 15, 当所述第一接收器 11 接收的 ATM报文为 ATM适配层报文时,―所述第一接收器 11将所述 ATM适 配层报文转发给分解器 15, 所述分解器 15将所述 ATM适配层报文拆解为多 个 ATM信元后, 发送给所述封装器 13。  Further, referring to FIG. 5, the gateway further includes a decomposer 15. When the ATM packet received by the first receiver 11 is an ATM adaptation layer message, the first receiver 11 will use the ATM. The adaptation layer packet is forwarded to the decomposer 15, and the decomposer 15 splits the ATM adaptation layer packet into a plurality of ATM cells and sends the packet to the encapsulator 13.
另外, 参见图 6, 一种 ATM网关, 包括第二接收器 21、 第二存储器 22、 解封装器 23和第二发送器 24; 其中,  In addition, referring to FIG. 6, an ATM gateway includes a second receiver 21, a second memory 22, a decapsulator 23, and a second transmitter 24;
所述第二接收器 21用于接收并转发 IP报文,所述 IP报文封装有 ATM报 文及 IP参数;  The second receiver 21 is configured to receive and forward an IP packet, where the IP packet is encapsulated with an ATM packet and an IP parameter.
所述第二存储器 22存储入映射表, 所述入映射表存储有 ATM参数与 IP 参数的对应关系;  The second memory 22 is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
所述解封装器 23,接收所述 IP报文,从接收到的所述 IP报文中获取所述 The decapsulator 23 receives the IP packet, and obtains the received packet from the received IP packet.
IP参数, 根据所述 IP参数查询所述入映射表, 获得所述 IP报文中的 IP参数 对应的 ATM参数, 根据所述 ATM参数解析所述 IP报文, _获取所述 ATM报 文, 并将所述 ATM报文发送给所述第二发送器 24; The IP parameter is obtained by querying the inbound mapping table according to the IP parameter, obtaining an ATM parameter corresponding to the IP parameter in the IP packet, parsing the IP packet according to the ATM parameter, and acquiring the ATM packet. And sending the ATM message to the second transmitter 24;
所述第二发送器 24将所述 ATM报文转发到相应的设备。  The second transmitter 24 forwards the ATM message to a corresponding device.
进一步的, 参见图 7, 所述网关还包括重組器 26, 当所述解封装器 23获 得的 ATM报文为多个 ATM信元时, 所述解封装器 23将所述多个 ATM信元 发送给所述重組器 26, 所述重组器 26将所述多个 ATM信元重组成 ATM适 配层报文后发送给所述第二发送器 24。  Further, referring to FIG. 7, the gateway further includes a reassembler 26, when the ATM packet obtained by the decapsulator 23 is a plurality of ATM cells, the decapsulator 23 will use the multiple ATM cells. The reassembler 26 sends the plurality of ATM cells to the ATM adaptation layer message and sends the message to the second transmitter 24.
参见图 8 , —种基于 IP网络传送 ATM报文的系统, 包括第一 ATM网关 1和第二 ATM网关 2; 所述第一 ATM网关 1包括第一接收器 11、 第一存储 器 12、封装器 13和第一发送器 14;所述第二 ATM网关 2包括第二接收器 21、 第二存储器 22、 解封装器 23和第二发送器 24; 其中  Referring to FIG. 8, a system for transmitting an ATM message based on an IP network includes a first ATM gateway 1 and a second ATM gateway 2; the first ATM gateway 1 includes a first receiver 11, a first memory 12, and a wrapper 13 and a first transmitter 14; the second ATM gateway 2 includes a second receiver 21, a second memory 22, a decapsulator 23, and a second transmitter 24;
所述第一接收器 11用于接收 ATM报文;  The first receiver 11 is configured to receive an ATM message.
所述第一存储器 12用于存储出映射表, 所述出映射表存储有 ATM参数 与 IP参数的对应关系; The first memory 12 is configured to store a mapping table, where the outbound mapping table stores ATM parameters. Correspondence with IP parameters;
所述封装器 13 ,从接收到的所述 ATM报文中获取所述 ATM报文的 ATM 参数,根据所述 ATM参数查询所述出映射表,获得所述 ATM报文的 ATM参 数对应的 IP参数,根据对应的 IP参数对所述 ATM报文进行 IP封装,获得 IP 报文, 并将所述 IP报文发送给所述第一发送器 14;  The encapsulator 13 obtains an ATM parameter of the ATM packet from the received ATM packet, and queries the outbound mapping table according to the ATM parameter to obtain an IP corresponding to the ATM parameter of the ATM packet. The parameter, the IP packet is encapsulated according to the corresponding IP parameter, the IP packet is obtained, and the IP packet is sent to the first transmitter 14;
所述第一发送器 14将所述 IP报文通过 IP网络发送给所述第二接收器 21; 所述第二接收器 21将接收到的 IP报文转发出去;  The first transmitter 14 sends the IP packet to the second receiver 21 through an IP network; the second receiver 21 forwards the received IP packet;
所述第二存储器 22存储入映射表, 所述入映射表存储有 ATM参数与 IP 参数的对应关系;  The second memory 22 is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
所述解封装器 23 ,接收所述 IP报文 ,从接收到的所述 IP报文中获取所述 The decapsulator 23 receives the IP packet, and obtains the received packet from the received IP packet.
IP参数, 根据所述 IP参数查询所述入映射表, 获得所述 IP报文中的 IP参数 对应的 ATM参数, 根据所述 ATM参数解析所述 IP报文, 获取所述 ATM报 文, 并将所述 ATM报文发送给所述第二发送器 24; Querying the inbound mapping table according to the IP parameter, obtaining an ATM parameter corresponding to the IP parameter in the IP packet, parsing the IP packet according to the ATM parameter, and acquiring the ATM packet, and Sending the ATM message to the second transmitter 24;
所述第二发送器 24将所述 ATM报文转发到相应的设备。  The second transmitter 24 forwards the ATM message to a corresponding device.
进一步的,参见图 9, 当 ATM报文为 ATM适配层报文时,—所述第一 ATM 网关 1还包括分解器 15, 所述第二 ATM网关 2还包括重组器 26,  Further, referring to FIG. 9, when the ATM packet is an ATM adaptation layer packet, the first ATM gateway 1 further includes a decomposer 15, and the second ATM gateway 2 further includes a recombiner 26.
所述第一接收器 11将所述 ATM适配层报文转发给分解器 15, 所述分解 器 15将所述 ATM适配层报文拆解为多个 ATM信元后, 发送给所述封装器 13;  The first receiver 11 forwards the ATM adaptation layer message to the decomposer 15, and the decomposer 15 splits the ATM adaptation layer message into multiple ATM cells, and sends the message to the Encapsulator 13;
所述解封装器 23将所述多个 ATM信元发送给所述重组器 26, 所述重组 器 26将所述多个 ATM信元重组成 ATM适配层报文后发送给所述第二发送器 24。 The decapsulator 23 sends the plurality of ATM cells to the reassembler 2 6. The reassembler 26 reassembles the plurality of ATM cells into an ATM adaptation layer message and sends the message to the Two transmitters 24.
最后所应说明的是: 以上实施例仅用以说明本发明的技术方案,而非对本 发明作限制性理解。 尽管参照上述较佳实施例对本发明进行了详细说明, 本 领域的普通技术人员应当理解: 其依然可以对本发明的技术方案进行修改或 者等同替换, 而这种修改或者等同替换并能不脱离本发明技术方案的精神和 范围。  It should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and are not to be construed as limiting. Although the present invention has been described in detail with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that the invention may be modified or equivalently substituted without departing from the invention. The spirit and scope of the technical programme.

Claims

权 利 要 泉 Right to spring
1、 一种基于 IP网络传送 ATM报文的方法, 应用于处于第一 ATM网络 的第一 ATM网关和处于第二 ATM网络的第二 ATM网关之间的相互通信,所 述第一 ATM网关具有出映射表, 其特征在于, 该方法包括: A method for transmitting an ATM message based on an IP network, which is applied to mutual communication between a first ATM gateway in a first ATM network and a second ATM gateway in a second ATM network, the first ATM gateway having And a mapping table, wherein the method comprises:
所述第一 ATM网关向所述第二 ATM网络发送 ATM拫文时, 第一 ATM 网关根据所述 ATM报文的 ATM参数查询出映射表, 获得对应的 IP参数; 所述第一 ATM网关使用所述 IP参数对所述 ATM报文进行 IP封装, 得 到 IP报文, 并通过 IP网络将所述 IP报文发送至所述第二 ATM网关。  When the first ATM gateway sends an ATM message to the second ATM network, the first ATM gateway queries the mapping table according to the ATM parameter of the ATM packet to obtain a corresponding IP parameter; the first ATM gateway uses The IP parameter encapsulates the ATM packet, obtains an IP packet, and sends the IP packet to the second ATM gateway through an IP network.
2、 根据权利要求 1所述的方法, 其特征在于, 所述出映射表包括: ATM参数为虚路径标识符和虚通道标识符以及 IP参数为源 IP地址、 源 端口号、 目的 IP地址和目的端口号的映射关系。  2. The method according to claim 1, wherein the outbound mapping table comprises: the ATM parameter is a virtual path identifier and a virtual channel identifier, and the IP parameter is a source IP address, a source port number, a destination IP address, and Destination port number mapping.
3、 根据权利要求 1所述的方法, 其特征在于, 所述第一 ATM网关使用 所述 IP参数对所述 ATM报文进行 IP封装的步驟包括:  The method of claim 1, wherein the step of IP encapsulating the ATM packet by using the IP parameter by the first ATM gateway includes:
所述第一 ATM网关根据所述 IP参数对所述 ATM报文进行 IP首部和 UDP 首部的封装。  The first ATM gateway encapsulates the IP header and the UDP header of the ATM packet according to the IP parameter.
4、 根据权利要求 3所述的方法, 其特征在于, 所述第一 ATM网关通过 IP网络将所述 IP报文发送至所述第二 ATM网关的步骤包括:  The method according to claim 3, wherein the step of the first ATM gateway transmitting the IP packet to the second ATM gateway over an IP network comprises:
所述第一 ATM网关以 UDP通过 IP网络将所述 IP报文发送至所述第二 ATM网关。  The first ATM gateway sends the IP packet to the second ATM gateway through the IP network by using UDP.
5、根据权利要求 1至 4中的任意一项所述的方法,其特征在于,所述 ATM 报文包括: ATM适配层报文或者 ATM信元。  The method according to any one of claims 1 to 4, wherein the ATM message comprises: an ATM adaptation layer message or an ATM cell.
6、 根据权利要求 5所述的方法, 其特征在于, 当所述 ATM报文为 ATM 适配层报文时,在所述第一 ATM网关根据所述 ATM报文的 ATM参数查询出 映射表的步骤之前还包括:所述第一 ATM网关的 ATM适配层将所述 ATM适 配层报文拆解为多个 ATM信元。  The method according to claim 5, wherein when the ATM message is an ATM adaptation layer message, the first ATM gateway queries the mapping table according to the ATM parameter of the ATM message. The step of the step further includes: the ATM adaptation layer of the first ATM gateway disassembles the ATM adaptation layer message into multiple ATM cells.
7、 一种基于 IP网络传送 ATM报文的方法, 应用于处于第一 ATM网络 的第一 ATM网关和处于第二 ATM网络的第二 ATM网关之间的相互通信,第 二 ATM网关具有入映射表, 其特征在于, 该方法包括:  7. A method for transmitting an ATM message based on an IP network, applied to mutual communication between a first ATM gateway in a first ATM network and a second ATM gateway in a second ATM network, the second ATM gateway having an inbound mapping a table, characterized in that the method comprises:
所述笫二 ATM网关接收一 IP报文, 所述 IP报文封装有 ATM报文及 IP 参数,根据所述 IP报文中的 IP参数查询所述入映射表获得对应的 ATM参数, 根据所述 ATM参数解析所述 IP报文, 解析并获取所述 ATM报文。 The second ATM gateway receives an IP packet, and the IP packet is encapsulated with an ATM packet and an IP packet. The parameter is obtained by querying the inbound mapping table according to the IP parameter in the IP packet to obtain a corresponding ATM parameter, parsing the IP packet according to the ATM parameter, and parsing and acquiring the ATM packet.
8、 根据权利要求 7所述的方法, 其特征在于, 所述第二 ATM网关根据 所述 IP报文中的 IP参数查询所述入映射表获得对应的所述 ATM参数, 根据 所述 ATM参数解析所述 IP报文, 解析并获取的所述 ATM报文的步骤包括: 所述第二 ATM网关根据所述 IP报文中的 IP参数对所述入映射表进行匹 配, 如果匹配成功, 则删除所述 IP报文的 IP首部和 UDP首部, 然后将解封 装的所述 ATM报文转发到相应的设备; 如果匹配失败, 则对所述 IP报文进 行 IP传输。  The method according to claim 7, wherein the second ATM gateway queries the inbound mapping table according to the IP parameter in the IP packet to obtain the corresponding ATM parameter, according to the ATM parameter. The step of parsing the ATM packet and parsing the obtained ATM packet includes: the second ATM gateway matches the inbound mapping table according to an IP parameter in the IP packet, and if the matching succeeds, Deleting the IP header and the UDP header of the IP packet, and then forwarding the decapsulated ATM packet to the corresponding device; if the matching fails, performing IP transmission on the IP packet.
9、 根据权利要求 7所述的方法, 其特征在于, 所述第二 ATM网关查询 所述入映射表获得对应的所述 ATM参数的步骤后还包括:  The method according to claim 7, wherein the step of the second ATM gateway querying the inbound mapping table to obtain the corresponding ATM parameter further includes:
所述第二 ATM网关的 ATM适配层将所述多个 ATM信元重组成所述 ATM 适配层报文, 根据所述 ATM参数将所述 ATM适配层报文转发给接收设备。  The ATM adaptation layer of the second ATM gateway reassembles the plurality of ATM cells into the ATM adaptation layer packet, and forwards the ATM adaptation layer packet to the receiving device according to the ATM parameter.
10、 一种 ATM 网关, 其特征在于: 包括第一接收器(11 )、 第一存储器 ( 12 )、 封装器(13 )和第一发送器(14 ); 其中,  An ATM gateway, comprising: a first receiver (11), a first memory (12), a wrapper (13), and a first transmitter (14);
所述第一接收器(11 )用于接收 ATM报文;  The first receiver (11) is configured to receive an ATM message;
所述第一存储器 ( 12 ) 于存储出映射表, 所述出映射表存储有 ATM参 数与 IP参数的对应关系;  The first memory (12) stores a mapping table, where the outbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
所述封装器( 13 ), 从接收到的所述 ATM报文中获取所述 ATM报文的 ATM参数, 根据所述 ATM参数查询所述出映射表, 获得所述 ATM报文的 ATM参数对应的 IP参数,根据对应的 IP参数对所述 ATM报文进行 IP封装, 获得 IP报文, 并将所述 IP报文发送给所述笫一发送器 ( 14 );  The encapsulator (13) obtains an ATM parameter of the ATM packet from the received ATM packet, and queries the outbound mapping table according to the ATM parameter to obtain an ATM parameter corresponding to the ATM packet. The IP parameter, the IP packet is encapsulated according to the corresponding IP parameter, the IP packet is obtained, and the IP packet is sent to the first sender (14);
所述第一发送器( 14 )将所述 IP报文通过 IP网络发送出去。  The first transmitter (14) sends the IP packet through an IP network.
11、根据权利要求 10所述的 ATM网关,其特征在于:还包括分解器( 15 ), 当所述第一接收器( 11 )接收的 ATM报文为 ATM适配层报文时, 所述第一 接收器( 11 )将所述 ATM适配层报文转发给所述分解器( 15 ), 所述分解器 ( 15 )将所述 ATM适配层报文拆解为多个 AT 信元后, 发送给所述封装器 ( 13 )。  The ATM gateway according to claim 10, further comprising a decomposer (15), when the ATM message received by the first receiver (11) is an ATM adaptation layer message, The first receiver (11) forwards the ATM adaptation layer message to the decomposer (15), and the decomposer (15) disassembles the ATM adaptation layer message into multiple AT cells. After that, it is sent to the wrapper (13).
12、 一种 ATM 网关, 其特征在于: 包括第二接收器(21 )、 第二存储器 (22)、 解封装器(23)和第二发送器(24); 其中, 12. An ATM gateway, comprising: a second receiver (21), a second memory (22), a decapsulator (23) and a second transmitter (24); wherein
所述第二接收器( 21 )用于接收并转发 IP报文, 所述 IP报文封装有 ATM 报文及 IP参数;  The second receiver (21) is configured to receive and forward an IP packet, where the IP packet is encapsulated with an ATM packet and an IP parameter.
所述第二存储器 (22)存储入映射表, 所述入映射表存储有 ATM参数与 IP参数的对应关系;  The second memory (22) is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
所述解封装器(23), 从接收到的所述 IP报文中获取所述 IP参数, 根据 所述 IP参数查询所述入映射表,获得所述 IP报文中的 IP参数对应的 ATM参 _ 数, 根据所述 ATM参数解析所述 IP报文, 获取所述 ATM报文, 并将所述 ATM报文发送给所述第二发送器(24);  The decapsulator (23) obtains the IP parameter from the received IP packet, queries the inbound mapping table according to the IP parameter, and obtains an ATM corresponding to the IP parameter in the IP packet. The _ number, the IP packet is parsed according to the ATM parameter, the ATM message is obtained, and the ATM message is sent to the second transmitter (24);
所述第二发送器( 24 )将所述 ATM报文转发到相应的设备。  The second transmitter (24) forwards the ATM message to a corresponding device.
13、根据权利要求 12所述的 ATM网关,其特征在于:还包括重组器( 26), 当所述解封装器( 23 )获得的 ATM报文为多个 ATM信元时, 所述解封装器 ( 23 )将所述多个 ATM信元发送给所述重组器( 26 ), 所述重组器( 26 )将 所述多个 ATM信元重组成 ATM适配层报文后发送给所述第二发送器( 24 )。  The ATM gateway according to claim 12, further comprising a recombiner (26), when the ATM packet obtained by the decapsulator (23) is a plurality of ATM cells, the decapsulation The device (23) sends the plurality of ATM cells to the reassembler (26), and the reassembler (26) reassembles the plurality of ATM cells into an ATM adaptation layer message and sends the message to the The second transmitter (24).
 ―
14、一种基于 IP网络传送 ATM报文的系统,其特征在于: 包括第一 ATM 网关 (1)和第二 ATM网关 (2); 所述第一 ATM网关 (1) 包括第一接收器 (11)、 第一存储器(12)、 封装器(13)和第一发送器(14); 所述第二 ATM 网关(2) 包括第二接收器(21)、 第二存储器(22)、 解封装器(23)和第二 发送器(24); 其中 14. A system for transmitting ATM messages based on an IP network, comprising: a first ATM gateway (1) and a second ATM gateway (2); the first ATM gateway (1) comprising a first receiver ( 11), a first memory (12), a wrapper (13) and a first transmitter (14); the second ATM gateway (2) comprises a second receiver (21), a second memory (22), a solution a wrapper (23) and a second transmitter (24);
所述第一接收器(11)用于接收 ATM报文, 并发送给所述封装器(13); 所述第一存储器 (12)用于存储出映射表, 所述出映射表存储有 ATM参 数与 IP参数的对应关系;  The first receiver (11) is configured to receive an ATM message and send the packet to the wrapper (13); the first memory (12) is configured to store a mapping table, where the egress mapping table stores an ATM Correspondence between parameters and IP parameters;
所述封装器 ( 13 ), 从接收到的 ATM报文中获取所述 ATM报文的 ATM 参数,根据所述 ATM参数查询出映射表,获得所述 ATM报文的 ATM参数对 应的 IP参数, 根据对应的 IP参数对所述 ATM报文进行 IP封装, 获得 IP报 文, 并将所述 IP报文发送给所述第一发送器(14);  The encapsulator (13) obtains an ATM parameter of the ATM packet from the received ATM packet, and queries the mapping table according to the ATM parameter to obtain an IP parameter corresponding to the ATM parameter of the ATM packet. Encapsulating the ATM packet according to the corresponding IP parameter, obtaining an IP packet, and sending the IP packet to the first transmitter (14);
所述第一发送器( 14)将所述 IP报文通过 IP网络发送给所述第二接收器 ( 21 );  The first transmitter (14) sends the IP packet to the second receiver (21) through an IP network;
所述第二接收器 ( 21 )将接收到的 IP报文转发给所述解封装器( 23 ); 所述第二存储器( 22 )存储入映射表, 所述入映射表存储有 ATM参数与 IP参数的对应关系; The second receiver (21) forwards the received IP packet to the decapsulator (23); The second memory (22) is stored in a mapping table, where the inbound mapping table stores a correspondence between an ATM parameter and an IP parameter;
所述解封装器( 23 ), 从接收到的所述 IP报文中获取所述 IP参数, 根据 所述 IP参数查询所述入映射表,获得所述 IP报文中的 IP参数对应的 ATM参 数, 根据所述 ATM参数解析所述 IP报文, 获取所述 ATM报文, 并将所述 ATM报文发送给所述第二发送器( 24 );  The decapsulator (23) obtains the IP parameter from the received IP packet, queries the inbound mapping table according to the IP parameter, and obtains an ATM corresponding to the IP parameter in the IP packet. a parameter, parsing the IP packet according to the ATM parameter, acquiring the ATM packet, and sending the ATM packet to the second transmitter (24);
所述第二发送器(24 )将所述 ATM报文转发到相应的设备。  The second transmitter (24) forwards the ATM message to a corresponding device.
15、根据权利要求 14所述的系统, 其特征在于: 所述第一 ATM网关( 1 ) 还包括分解器 (15 ), 所述第二 ATM网关 (2 )还包括重組器(26 ),  The system according to claim 14, wherein: the first ATM gateway (1) further comprises a resolver (15), and the second ATM gateway (2) further comprises a recombiner (26),
当所述第一接收器( 11 )接收的 ATM报文为 ATM适配层报文时, 所述 分解器(15 )将所述 ATM适配层报文拆解为多个 ATM信元后, 发送给所述 封装器( 13 );  When the ATM packet received by the first receiver (11) is an ATM adaptation layer message, the resolver (15) disassembles the ATM adaptation layer message into multiple ATM cells. Sended to the wrapper (13);
所述解封装器(23 )将所述多个 ATM信元发送给所述重组器 (26 ), 所 述重組器 ( 26 )将所述多个 ATM信元重組成 ATM适配层报文后发送给所述 第二发送器 (24 )。  The decapsulator (23) sends the plurality of ATM cells to the reassembler (26), and the reassembler (26) reassembles the plurality of ATM cells into an ATM adaptation layer message Sended to the second transmitter (24).
PCT/CN2007/000125 2006-04-10 2007-01-12 A method and system for transporting atm message over ip-based network WO2007115458A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610073004.8 2006-04-10
CN 200610073004 CN1968191A (en) 2006-04-10 2006-04-10 Method for ATM message transmission based on IP network

Publications (1)

Publication Number Publication Date
WO2007115458A1 true WO2007115458A1 (en) 2007-10-18

Family

ID=38076748

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/000125 WO2007115458A1 (en) 2006-04-10 2007-01-12 A method and system for transporting atm message over ip-based network

Country Status (2)

Country Link
CN (1) CN1968191A (en)
WO (1) WO2007115458A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277477B (en) * 2008-04-29 2012-04-04 华为技术有限公司 Method, apparatus and system for equalizing flux
CN103107990B (en) * 2013-01-16 2015-12-02 大唐移动通信设备有限公司 A kind of medium conversion system and attaching method thereof
CN109787900B (en) * 2017-11-15 2022-04-19 阿里巴巴集团控股有限公司 Transmission method, device, equipment and machine readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1133299C (en) * 2000-06-13 2003-12-31 深圳市中兴通讯股份有限公司 In-band network management method based on IP protocol for ATM
US6728261B1 (en) * 2000-02-07 2004-04-27 Axerra Networks, Ltd. ATM over IP
CN1499850A (en) * 2002-11-06 2004-05-26 华为技术有限公司 Method for building transmission load supporting in general mobile communication system
CN1571395A (en) * 2003-07-17 2005-01-26 华为技术有限公司 A method for bearing IP message protocol on ATM network supported by broadband access equipment
US6937598B1 (en) * 1999-09-20 2005-08-30 Lucent Technologies Inc. Method and apparatus for transporting ATM cell traffic over IP networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6937598B1 (en) * 1999-09-20 2005-08-30 Lucent Technologies Inc. Method and apparatus for transporting ATM cell traffic over IP networks
US6728261B1 (en) * 2000-02-07 2004-04-27 Axerra Networks, Ltd. ATM over IP
CN1133299C (en) * 2000-06-13 2003-12-31 深圳市中兴通讯股份有限公司 In-band network management method based on IP protocol for ATM
CN1499850A (en) * 2002-11-06 2004-05-26 华为技术有限公司 Method for building transmission load supporting in general mobile communication system
CN1571395A (en) * 2003-07-17 2005-01-26 华为技术有限公司 A method for bearing IP message protocol on ATM network supported by broadband access equipment

Also Published As

Publication number Publication date
CN1968191A (en) 2007-05-23

Similar Documents

Publication Publication Date Title
US6751218B1 (en) Method and system for ATM-coupled multicast service over IP networks
US6081836A (en) Method for the transmission of information packets between emulated LANs using address resolution
US6343083B1 (en) Method and apparatus for supporting a connectionless communication protocol over an ATM network
US5974452A (en) Process for determining a target ATM address
US7088723B2 (en) System and method for enhancing a voice channel in voice over internet protocol
US5987034A (en) ATM cells within frame relay technology
US6728261B1 (en) ATM over IP
EP1247420B1 (en) Method and apparatus for providing efficient application-level switching for multiplexed internet protocol media streams
WO2008006307A1 (en) Method and device of an ethernet bearing atm cells
WO2006116929A1 (en) A time division multiplex data transmission method
CA2734584A1 (en) Interworking of dissimilar packet networks for telephony communications
US6674744B1 (en) Point-to-point data transport over the internet utilizing label switching without IP headers
US8948201B2 (en) Packet transfer apparatus
GB2322516A (en) Multimedia switching system
WO2009132559A1 (en) A method, an apparatus and a system for equalizing flow capacity
US6937598B1 (en) Method and apparatus for transporting ATM cell traffic over IP networks
JP5242702B2 (en) Circuit emulation via IP interworking VLL
US6137799A (en) Process for transferring data packets between emulated LANs
WO2007115458A1 (en) A method and system for transporting atm message over ip-based network
KR100364747B1 (en) Apparatus and method for converting AAL2/AAL5
US6205490B1 (en) System (IWF) for the bidirectional connection of an ELAN and a CLS wide-area network
WO2012000282A1 (en) Method for implementing time division multiplex (tdm) service relay in access device and access device thehrof
US7324517B1 (en) Converting data packets in a communication network
US7643494B2 (en) Interworking apparatus and method for accepting IP in WCDMA system
CN100518124C (en) Interconnection implementing method of IPoA and IPoE

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07702057

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07702057

Country of ref document: EP

Kind code of ref document: A1