[go: up one dir, main page]

CN1968191A - Method for ATM message transmission based on IP network - Google Patents

Method for ATM message transmission based on IP network Download PDF

Info

Publication number
CN1968191A
CN1968191A CN 200610073004 CN200610073004A CN1968191A CN 1968191 A CN1968191 A CN 1968191A CN 200610073004 CN200610073004 CN 200610073004 CN 200610073004 A CN200610073004 A CN 200610073004A CN 1968191 A CN1968191 A CN 1968191A
Authority
CN
China
Prior art keywords
atm
message
gateway
network
mapping table
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
CN 200610073004
Other languages
Chinese (zh)
Inventor
易安
谢华国
王辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
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
Priority to CN 200610073004 priority Critical patent/CN1968191A/en
Priority to PCT/CN2007/000125 priority patent/WO2007115458A1/en
Publication of CN1968191A publication Critical patent/CN1968191A/en
Pending legal-status Critical Current

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及一种基于IP网络传送ATM报文的方法,由第一ATM网关和的第二ATM网关相互交互通信,所述第一ATM网关具有出映射表,第二ATM网关具有入映射表,执行:第一ATM网关根据ATM报文的ATM参数查询出映射表,并获得对应的IP参数;第一ATM网关使用IP参数对ATM报文进行IP封装,并发送至第二ATM网关;第二ATM网关根据IP参数查询入映射表获得ATM参数,根据ATM参数解析IP报文,将解析后获取的ATM报文转发给接收设备。本发明通过在第一ATM网关和第二ATM网关上设置出单向或双向映射表,并根据映射表进行相应的封装、解封装,使得ATM报文能够通过IP网络传输到所要求的远距离ATM网络中的设备地址,而且不需要大规模的设备改造。

Figure 200610073004

The invention relates to a method for transmitting ATM messages based on an IP network. The first ATM gateway and the second ATM gateway communicate interactively with each other. The first ATM gateway has an outgoing mapping table, and the second ATM gateway has an incoming mapping table. Execution: the first ATM gateway queries the mapping table according to the ATM parameter of the ATM message, and obtains the corresponding IP parameter; the first ATM gateway uses the IP parameter to carry out IP encapsulation of the ATM message, and sends it to the second ATM gateway; The ATM gateway queries the mapping table according to the IP parameters to obtain the ATM parameters, analyzes the IP packets according to the ATM parameters, and forwards the ATM packets obtained after parsing to the receiving device. The present invention sets a one-way or two-way mapping table on the first ATM gateway and the second ATM gateway, and performs corresponding encapsulation and decapsulation according to the mapping table, so that the ATM message can be transmitted to the required long-distance through the IP network. The device address in the ATM network, and does not require large-scale equipment transformation.

Figure 200610073004

Description

基于IP网络传送ATM报文的方法The Method of Transmitting ATM Message Based on IP Network

技术领域technical field

本发明涉及一种ATM报文通信的方法,尤其是一种一种基于IP网络传送ATM报文的方法。The invention relates to a method for communicating ATM messages, in particular to a method for transmitting ATM messages 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)用虚路径标识符(VirtualPath Identifier,简称VPI)和虚通道标识符(Virtual Channel Identifier,VCI)来标识,一个VPI/VCI值对只在ATM节点之间的一段链路上有局部意义。Asynchronous Transfer Mode (ATM) was designated by ITU-T in June 1992 as the transmission and mapping mode of broadband ISDN. ATM is a transmission mode developed on the basis of packet switching. In this mode Among them, the information uses the cell as the basic unit for information transmission, multiplexing and mapping. ATM cells are fixed-length packets that fill the channel with idle cells, thus dividing the channel into equal-length time segments. Each cell has a total of 53 bytes and is divided into 2 parts. The first 5 bytes are cell headers, which are mainly used for routing information and priority information; the latter 48 bytes are payloads, which are used to load information from different users and different services. Two common ATM cell formats are UNI cell format and 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). A VPI/VCI value It has local significance only on a link between ATM nodes.

ATM适配层(ATM Adaption Layer,AAL)是高层协议与ATM层间的接口,它负责转接ATM层与高层协议之间的信息。目前,已经提出4种类型的AAL:AAL1、AAL2、AAL3/4和AAL5,每一种类型分别支持ATM网中某些特征业务。针对不同的业务,其处理方法不尽相同。但都要将上层传来的信息分割成48字节长的负载,然后传给ATM层,同时,将ATM层传来的负载组装,恢复再传给上层。其中AAL2针对的是低速有定时要求的变速率业务,例如压缩语音。话音,数据,图像等所有的数字信息都要经过切割,封装成统一格式的信元在网中传递,并在接收端恢复成所需格式。AAL报文在ATM传输时需要分割成信元在进行传输,而接收方接收到分割后的信元后,再重组成AAL报文,其中VPI,VCI是位于信元的首部。ATM Adaptation Layer (ATM Adaption Layer, AAL) is the interface between the high-level protocol and the ATM layer, which is responsible for switching the information between the ATM layer and the high-level protocol. At present, four types of AALs have been proposed: AAL1, AAL2, AAL3/4 and AAL5, and each type supports certain characteristic services in the ATM network. For different businesses, the processing methods are not the same. However, the information transmitted from the upper layer must be divided into 48-byte long loads, and then passed to the ATM layer. At the same time, the loads transmitted from the ATM layer are assembled, recovered, and then passed to the upper layer. Among them, AAL2 is aimed at low-speed variable-rate services with timing requirements, such as compressed voice. All digital information such as voice, data, and images must be cut, encapsulated into cells of a unified format, transmitted in the network, and restored to the required format at the receiving end. The AAL message needs to be divided into cells for transmission during ATM transmission, and after receiving the divided cells, the receiver reassembles them into an AAL message, in which VPI and VCI are located at the header of the cell.

由于ATM技术简化了交换过程,去除了不必要的数据校验,采用易于处理的固定信元格式,从而使传输时延减小,交换速率大大高于传统的数据网,适用于高速数据交换业务。Because ATM technology simplifies the exchange process, removes unnecessary data verification, adopts an easy-to-handle fixed cell format, thereby reducing the transmission delay, and the exchange rate is much higher than the traditional data network, 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 site to another site far away, an ATM link must be established between the two sites. However, most of the existing The network is an IP network. Due to the development of the Internet, the IP protocol has been used to the greatest extent, and its popularity has reached an unprecedented level. It has increasingly become the de facto industry standard. Therefore, in order to realize the transmission of ATM messages, it is necessary to transform the IP network on a large scale , which is relatively expensive.

发明内容Contents of the invention

本发明的目的是针对于现有ATM方式的远距离传输实现的困难,本发明提出了一种基于IP网络传送ATM报文的方法,能够在不改造IP网络的基础上实现ATM网络之间的连接和通信。The purpose of the present invention is aimed at the difficulty that the long-distance transmission of existing ATM mode realizes, and the present invention proposes a kind of method based on IP network transmission ATM message, can realize the communication between ATM network on the basis of not transforming IP network Connect and communicate.

为实现上述目的,本发明提供了一种基于IP网络传送ATM报文的方法,由处于第一ATM网络的第一ATM网关和处于第二ATM网络的第二ATM网关相互交互通信,所述第一ATM网关具有出映射表,第二ATM网关具有入映射表,执行以下步骤:To achieve the above object, the present invention provides a method for transmitting ATM messages based on an IP network, wherein the first ATM gateway in the first ATM network and the second ATM gateway in the second ATM network communicate with each other, and the first ATM gateway in the second ATM network communicates interactively. An ATM gateway has an outgoing mapping table, and the second ATM gateway has an incoming mapping table, and the following steps are performed:

步骤1,当所述第一ATM网络通过所述第一ATM网关向所述第二ATM网络发送ATM报文时,第一ATM网关根据所述ATM报文的ATM参数查询所述出映射表,获得对应的IP参数;Step 1, when the first ATM network sends an ATM message to the second ATM network through the first ATM gateway, the first ATM gateway queries the outgoing mapping table according to the ATM parameter of the ATM message, Obtain the corresponding IP parameters;

步骤2,所述第一ATM网关使用所述IP参数对所述ATM报文进行IP封装,并通过IP网络发送至所述第二ATM网关;Step 2, described first ATM gateway uses described IP parameter to carry out IP encapsulation to described ATM message, and sends to described second ATM gateway through IP network;

步骤3,所述第二ATM网关收到经过封装的IP报文,根据所述IP参数查询第二ATM网关的所述入映射表获得ATM参数,根据ATM参数解析所述IP报文,将解析后获取的ATM报文转发给相应的设备。Step 3, described second ATM gateway receives the IP message through encapsulation, obtains ATM parameter according to the described inbound mapping table of described IP parameter query second ATM gateway, analyzes described IP message according to ATM parameter, will resolve The obtained ATM message is then forwarded to the corresponding device.

在上述技术方案中,步骤1之前进行的出映射表和入映射表的建立可以通过呼叫信令方式分别建立,或者用户通过手工生成,而且还可以在所述第一ATM网关和第二ATM网关上分别建立ATM参数和IP参数的双向的映射表(单向映射表指的是出映射表或入映射表),以完成双方互相的ATM参数和IP参数的双向出入映射。所述出映射表和所述的入映射表的建立包括:ATM参数为虚路径标识符和虚通道标识符以及IP参数为源IP地址、源端口号、目的IP地址和目的端口号的。In the above-mentioned technical solution, the establishment of the outgoing mapping table and the incoming mapping table carried out before step 1 can be respectively established through call signaling, or the user can manually generate, and can also be in the first ATM gateway and the second ATM gateway Set up the two-way mapping table of ATM parameter and IP parameter (one-way mapping table refers to outgoing mapping table or incoming mapping table) respectively, to complete the two-way incoming and outgoing mapping of mutual ATM parameter and IP parameter of both sides. The establishment of the outgoing mapping table and the incoming mapping table includes: the ATM parameters are virtual path identifier and virtual channel identifier, and the IP parameters are source IP address, source port number, destination IP address and destination port number.

步骤2中所述第一ATM网关根据所述IP参数对所述ATM报文进行IP首部和UDP首部的封装,然后通过IP网络发送到所述第二ATM网关。相应的在步骤3中,所述第二ATM网关根据封装后的报文中的IP参数对所述入映射表进行匹配,如果匹配成功,则删除所述封装后的报文的IP首部和UDP首部,然后将解封装的ATM报文转发到相应的设备,如果匹配失败,则继续执行IP传输流程。In step 2, the first ATM gateway encapsulates the IP header and the UDP header of the ATM message according to the IP parameters, and then sends it to the second ATM gateway through the IP network. Correspondingly in step 3, described second ATM gateway matches described inbound mapping table according to the IP parameter in the message after encapsulation, if matching is successful, then deletes the IP header and UDP of the message after described encapsulation header, and then forward the decapsulated ATM message to the corresponding device, if the match fails, continue to execute the IP transmission process.

在建立ATM参数和IP参数的出入映射表的时候,ATM参数采用二元组形式,即虚路径标识符和虚通道标识符,IP参数采用四元组形式,即源IP地址、源端口号、目的IP地址和目的端口号。在通过IP网络发送封装后的报文时,可以以UDP或者TCP报文的方式进行传输。When establishing the in-out mapping table of ATM parameters and IP parameters, the ATM parameters are in the form of two-tuples, i.e. virtual path identifier and virtual channel identifier, and the IP parameters are in the form of four-tuples, i.e. source IP address, source port number, Destination IP address and destination port number. When the encapsulated message is sent through the IP network, it can be transmitted in the form of UDP or TCP message.

本发明通过在第一ATM网关和第二ATM网关上设置出单向或双向映射表、入映射表,并根据映射表进行相应的封装、解封装,使得ATM报文能够通过IP网络传输到所要求的远距离ATM网络中的设备地址。In the present invention, a one-way or two-way mapping table and an in-mapping table are set on the first ATM gateway and the second ATM gateway, and corresponding encapsulation and decapsulation are performed according to the mapping table, so that the ATM message can be transmitted through the IP network to all The address of the device in the long-distance ATM network required.

本发明采用ATM二元组和IP四元组的映射表进行ATM参数和IP参数的映射,十分简便,而且不需要大规模的设备改造,只需要针对第一ATM网关和第二ATM网关便可。The present invention adopts the mapping table of ATM two-tuple and IP four-tuple to carry out the mapping of ATM parameter and IP parameter, is very simple, and does not need large-scale equipment transformation, only needs to be aimed at the first ATM gateway and the second ATM gateway. .

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

附图说明Description of drawings

图1为本发明基于IP网络传送ATM报文的方法的网络结构示意图。FIG. 1 is a schematic diagram of the network structure of the method for transmitting ATM messages based on an IP network in the present invention.

图2为本发明基于IP网络传送ATM报文的方法的实施例一的流程示意图。FIG. 2 is a schematic flowchart of Embodiment 1 of the method for transmitting ATM packets based on an IP network according to the present invention.

图3为本发明基于IP网络传送ATM报文的方法的实施例二的流程示意图。FIG. 3 is a schematic flowchart of Embodiment 2 of the method for transmitting ATM packets based on an IP network in the present invention.

具体实施方式Detailed ways

本发明的核心思想是:利用ATM网络中的ATM网关,将ATM报文转换成通过IP协议承载的IP报文进行远距离的传输,然后再通过另一ATM网络中的ATM网关,将IP报文中的ATM路径信息拆解出来,并将ATM报文还原,然后将ATM报文发送给相应的设备中,从而实现了ATM网络之间的通信。所述的ATM网关设置有用于进行IP参数和ATM参数映射的出映射表和入映射表,同时支持ATM连接和IP连接。The core idea of the present invention is: utilize the ATM gateway in the ATM network to convert the ATM message into the IP message carried by the IP protocol for long-distance transmission, and then pass the IP message through the ATM gateway in another ATM network. The ATM path information in the article is disassembled, and the ATM message is restored, and then the ATM message is sent to the corresponding equipment, thus realizing the communication between ATM networks. The ATM gateway is provided with an outgoing mapping table and an incoming mapping table for mapping IP parameters and ATM parameters, and supports ATM connection and IP connection at the same time.

如图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 Figure 1, it is the network structural representation of the method for transmitting ATM message based on IP network of the present invention, and in network, ATM equipment is all connected with ATM gateway 1,2 with virtual circuit (Virtual Circuit, be called for short VC), each A virtual circuit is usually identified by a virtual path identifier (Virtual Path Identifier, referred to as VPI) and a virtual channel identifier (Virtual Channel Identifier, referred to as VCI), and is connected to the first ATM network and the second ATM network through ATM gateways 1 and 2. An IP network refers to a network connected by communication through the IP protocol, such as the Internet.

实施例一Embodiment one

如图2所示,为本发明基于IP网络传送ATM报文的方法的实施例一的流程示意图,由以下的步骤完成传送的操作:As shown in Figure 2, be the schematic flow sheet of embodiment one of the method for transmitting ATM message based on IP network of the present invention, complete the operation of transmitting by following steps:

步骤101,当所述第一ATM网络通过ATM网关1向第二ATM网络发送ATM报文时,ATM网关1会根据ATM参数查询存储在第一ATM网关的出映射表,根据出映射表表项中的内容进行精确匹配,获得相应的IP参数;Step 101, when the first ATM network sends an ATM message to the second ATM network through the ATM gateway 1, the ATM gateway 1 will query the outgoing mapping table stored in the first ATM gateway according to the ATM parameter, and according to the outgoing mapping table item Exactly match the content in to obtain the corresponding IP parameters;

步骤102,然后对ATM报文进行IP封装,根据获得的IP参数封装IP首部和UDP首部,然后调用IP报文发送接口将IP封装后的ATM报文向ATM网关2发送;Step 102, carry out IP encapsulation to ATM message then, encapsulate IP header and UDP header according to the IP parameter that obtains, then call IP message sending interface and send the ATM message after IP encapsulation to ATM gateway 2;

步骤103,当ATM网关2接收到第一ATM网络发送过来的经过封装的IP报文时,根据IP参数查询存储在ATM网关2中的入映射表,根据并入映射表中的内容进行精确匹配,当匹配成功时,获得对应的ATM参数,然后根据ATM参数解析所述IP报文,将报文的IP首部和UDP首部去掉,转为内部的ATM封装,并发送给相应的ATM设备。Step 103, when the ATM gateway 2 receives the encapsulated IP message sent by the first ATM network, query the incoming mapping table stored in the ATM gateway 2 according to the IP parameters, and perform an exact match according to the content incorporated in the mapping table , when the matching is successful, obtain the corresponding ATM parameters, then analyze the IP message according to the ATM parameters, remove the IP header and the UDP header of the message, convert it into internal ATM encapsulation, and send it to the corresponding ATM device.

在上述实施例中,首先在第一ATM网络和第二ATM网络的ATM网关建立ATM参数和IP参数的出入映射表,在设置的时候出入映射表可以为双向设置,即可以由第一ATM网络到第二ATM网络发送报文,也可以反方向由第二ATM网络向第一ATM网络发送报文;In the foregoing embodiment, at first the ATM gateway of the first ATM network and the second ATM network sets up the access mapping table of ATM parameter and IP parameter, when setting, the access mapping table can be two-way setting, promptly can be by the first ATM network Send the message to the second ATM network, and also send the message to the first ATM network by the second ATM network in the opposite direction;

在上述技术方案中,ATM网关必须同时支持ATM连接和IP连接,而ATM网络内部的其它ATM设备则只需要支持ATM连接就足够了,因此不需要进行较大规模的改造,同时为了与现有的IP网络兼容,在ATM参数和IP参数的选择上,可以采用ATM二元组和IP四元组的形式,其中ATM二元组是VPI+VCI,IP四元组是源IP地址SrcIP+源端口号Sport+目的IP地址DstIP+目的端口号Dport。出入映射表项的建立可以通过呼叫信令处理或者手工建立,在建立时可以建立单项或者双向的出、入映射表。In the above-mentioned technical scheme, the ATM gateway must support both the ATM connection and the IP connection, while other ATM devices in the ATM network only need to support the ATM connection, so there is no need for large-scale transformation. Compatible with the IP network, in the selection of ATM parameters and IP parameters, the form of ATM two-tuple and IP four-tuple can be adopted, where the ATM two-tuple is VPI+VCI, and the IP four-tuple is the source IP address SrcIP+source port Sport number + destination IP address DstIP + destination port number Dport. The establishment of the in-out mapping table entry can be processed through call signaling or manually established, and a single-item or two-way out-in and in-out mapping table can be established during establishment.

举例来说,假设ATM网关1的IP端口号为2000,ATM网关2的IP端口号为3000,并且出映射表和入映射表已经通过呼叫信令处理或者手工建立,见表1-4,其中只列出了部分表项。出映射表可以存在多对一的情况,即多个ATM二元组对应到一组IP四元组中,但是入映射表必须一一对应。For example, assume that the IP port number of ATM gateway 1 is 2000, the IP port number of ATM gateway 2 is 3000, and the outgoing mapping table and incoming mapping table have been processed through call signaling or manually established, as shown in Table 1-4, where Only some entries are listed. The outgoing mapping table may have a many-to-one situation, that is, multiple ATM binary groups correspond to a group of IP quadruples, but the incoming mapping table must correspond one-to-one.

表1:ATM网关1的出映射表   VPI   VCI   IP四元组(SrcIP,SPort,DstIP,Dport)   100   2   (10.78.233.1,2000,10.78.233.2,3000) Table 1: Outbound mapping table of ATM gateway 1 VPI VCI IP quadruple (SrcIP, SPort, DstIP, Dport) 100 2 (10.78.233.1, 2000, 10.78.233.2, 3000)

表2:ATM网关1的入映射表   IP四元组(SrcIP,SPort,DstIP,Dport)   VPI   VCI   (10.78.233.1,2000,10.78.233.2,3000)   200   4 Table 2: Incoming mapping table of ATM gateway 1 IP quadruple (SrcIP, SPort, DstIP, Dport) VPI VCI (10.78.233.1, 2000, 10.78.233.2, 3000) 200 4

表3:ATM网关2的出映射表   VPI   VCI   IP四元组(SrcIP,SPort,DstIP,Dport)   300   2   (10.78.233.1,2000,10.78.233.2,3000) Table 3: Outbound mapping table of ATM gateway 2 VPI VCI IP quadruple (SrcIP, SPort, DstIP, Dport) 300 2 (10.78.233.1, 2000, 10.78.233.2, 3000)

表4:ATM网关2的入映射表   IP四元组(SrcIP,SPort,DstIP,Dport)   VPI   VCI   (10.78.233.1,2000,10.78.233.2,3000)   200   4 Table 4: Incoming mapping table of ATM gateway 2 IP quadruple (SrcIP, SPort, DstIP, Dport) VPI VCI (10.78.233.1, 2000, 10.78.233.2, 3000) 200 4

当第一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设备。如果查表失败,则继续进行IP传输流程。When ATM device A in the first ATM network sends an ATM message to the second ATM network, it first transparently transmits the ATM message to ATM gateway 1 through the preset VC channel, and ATM gateway 1 Query in the mapping table, the ATM binary group of ATM equipment A is (100, 2) in this embodiment, corresponding to going out the mapping table, can look up IP quadruple group (10.78.233.1, 2000, 10.78.233.2, 3000 ), then construct the IP header and UDP header according to the IP quadruple, and attach them before the ATM message, and then call the IP layer sending function to send the message. If the IP parameter cannot be found when querying the mapping table, then Discard the ATM message, end operation; After the ATM gateway 2 in the second ATM network receives the IP message, carry out fragmentation reorganization, then look into mapping table according to the parameter of its IP four-tuple, obtain its ATM two-tuple (200, 4), and then forward the decapsulated ATM message to the corresponding ATM device according to the downlink (VPI, CID). If the table lookup fails, the IP transmission process is continued.

另外要注意UDP端口当被分配给业务使用时,SOCKET上层应用是不能利用这个端口的,而目标地址由IP地址和UDP端口号组唯一标识,当网关设备也存在其它的IP报文时交互时,如果端口已被ATM映射表使用了,则网关设备的socket应用就不应该使用该端口,否则Socket可能收不到报文。In addition, it should be noted that when the UDP port is allocated for business use, the SOCKET upper-layer application cannot use this port, and the target address is uniquely identified by the IP address and UDP port number group. When the gateway device also has other IP packets when interacting , if the port has been used by the ATM mapping table, the socket application of the gateway device should not use this port, otherwise the Socket may not receive the message.

实施例二Embodiment two

本发明可以针对两种ATM报文进行处理,一种是固定长度的ATM信元,一种是AAL报文,这两种ATM报文都适用于上一个实施例,在ATM网络中,如果传送AAL报文的时候,必须将AAL报文拆解成数个固定长度的ATM信元,在进行发送,而通过IP协议方式传送时,就可以不必拆解成数个固定长度的ATM信元,具体的流程已由上一实施例描述。The present invention can handle two kinds of ATM message, and a kind of is the ATM cell of fixed length, and a kind of is AAL message, and these two kinds of ATM messages are applicable to last embodiment, in ATM network, if transmit When sending an AAL message, the AAL message must be disassembled into several fixed-length ATM cells before sending, but when it is transmitted through the IP protocol, it does not need to be disassembled into several fixed-length ATM cells. The specific process has been described in the previous embodiment.

本实施例描述增加了AAL报文拆解重组操作的技术方案,如图3所示,为本发明基于IP网络传送ATM报文的方法的实施例二的流程示意图,包括以下步骤:The present embodiment description has increased the technical scheme of AAL message dismantling and recombination operation, as shown in Figure 3, is the schematic flow chart of embodiment two of the method for transmitting ATM message based on IP network of the present invention, comprises 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 ATM gateway 1, the ATM gateway 1 will query the mapping table according to the ATM parameters, and perform an exact match according to the content in the mapping table entry, Obtain the corresponding IP parameters;

步骤202,ATM网关1的ATM适配层将AAL报文拆解为数个ATM信元,该AAL报文可以为AAL1、AAL2、AAL3/4、AAL5;Step 202, the ATM adaptation layer of ATM gateway 1 disassembles the AAL message into several ATM cells, and this AAL message can be AAL1, AAL2, AAL3/4, AAL5;

步骤203,然后对拆解后的数个ATM信元进行IP封装,根据获得的IP参数封装IP首部和UDP首部,然后调用IP报文发送接口将IP封装后的ATM信元发送到ATM网关2;Step 203, then carry out IP encapsulation to several ATM cells after dismantling, encapsulate IP header and UDP header according to the obtained IP parameter, then call the IP message sending interface to send the ATM cell after IP encapsulation to ATM gateway 2 ;

步骤204,当ATM网关2接收到第一ATM网络发送过来的报文时,根据IP参数查询入映射表,根据入映射表中的内容进行精确匹配,当匹配成功时,获得对应的ATM参数;Step 204, when ATM gateway 2 receives the message that the first ATM network sends over, according to IP parameter inquiry into mapping table, carry out accurate matching according to the content in entering mapping table, when matching is successful, obtain corresponding ATM parameter;

步骤205,将报文的IP首部和UDP首部去掉,转为内部的ATM封装,再由ATM适配层将数个ATM信元重组成AAL报文,根据ATM参数将所述ATM适配层报文转发给接收设备。Step 205, the IP header and the UDP header of message are removed, turn into internal ATM encapsulation, then several ATM cells are reorganized into AAL message by ATM adaptation layer, and described ATM adaptation layer reports according to ATM parameter The text is forwarded to the receiving device.

在上述实施例中,首先在第一ATM网络和第二ATM网络的ATM网关建立ATM参数和/或IP参数的出映射表和入映射表,在设置的时候出映射表和入映射表可以为双向设置,即可以由第一ATM网络到第二ATM网络发送报文,也可以反方向由第二ATM网络向第一ATM网络发送报文。In the foregoing embodiment, at first the ATM gateway of the first ATM network and the second ATM network sets up the outgoing mapping table and the incoming mapping table of the ATM parameter and/or IP parameter, when setting, the outgoing mapping table and the incoming mapping table can be Two-way setting, that is, the message can be sent from the first ATM network to the second ATM network, and the message can also be sent from the second ATM network to the first ATM network in the opposite direction.

本发明方案可以采用TCP方式承载ATM报文,当采用TCP方式时,需要在开始传输ATM报文之前,在两个ATM网络的ATM网关之间建立一条TCP连接,这种方式适用于通信两端变化很少的状况,至于选择使用哪种承载(TCP或者UDP方式)是需要进行设定的,这种设定主要体现在表项的建立上,同时本发明方案可适用于ATM信元和AAL报文。The solution of the present invention can adopt the TCP mode to carry the ATM message. When the TCP mode is adopted, it is necessary to establish a TCP connection between the ATM gateways of the two ATM networks before starting to transmit the ATM message. This mode is suitable for both ends of the communication Situation with few changes, as to which kind of bearer (TCP or UDP mode) to choose to use needs to be set, this setting is mainly reflected in the establishment of table entry, and the scheme of the present invention is applicable to ATM cell and AAL simultaneously message.

从上面两个实施例来看,本发明采用ATM二元组和IP四元组的映射表进行ATM参数和IP参数的映射,十分简便,而且不需要对现有的设备进行大规模的设备改造,只需要针对ATM网关1和ATM网关2中的软件进行设置即可;而且本发明无论对于单个或多个ATM信元还是完整的AAL报文,都能够简便的通过IP网络传输,适用范围比较广。From above two embodiments, the present invention adopts the mapping table of ATM two-tuple and IP four-tuple to carry out the mapping of ATM parameter and IP parameter, is very simple, and does not need to carry out large-scale equipment transformation to existing equipment , it only needs to be set for the software in ATM gateway 1 and ATM gateway 2; and the present invention can be easily transmitted through the IP network no matter for single or multiple ATM cells or complete AAL messages, and the scope of application is relatively wide.

最后所应说明的是:以上实施例仅用以说明本发明的技术方案,而非对本发明作限制性理解。尽管参照上述较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这种修改或者等同替换并能不脱离本发明技术方案的精神和范围。Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present invention, rather than limiting the understanding of the present invention. Although the present invention has been described in detail with reference to the above preferred embodiments, those skilled in the art should understand that: they can still modify or replace the technical solutions of the present invention without departing from the present invention. The spirit and scope of the technical proposal.

Claims (11)

1、一种基于IP网络传送ATM报文的方法,由处于第一ATM网络的第一ATM网关和处于第二ATM网络的第二ATM网关相互交互通信,其特征在于,所述第一ATM网关具有出映射表,第二ATM网关具有入映射表,执行以下步骤:1, a kind of method based on IP network transmission ATM message, by being in the first ATM gateway of the first ATM network and being in the second ATM gateway of the second ATM network interactive communication, it is characterized in that, described first ATM gateway There is an outgoing mapping table, and the second ATM gateway has an incoming mapping table, and the following steps are performed: 步骤1,当所述第一ATM网络通过所述第一ATM网关向所述第二ATM网络发送ATM报文时,第一ATM网关根据所述ATM报文的ATM参数查询出映射表,获得对应的IP参数;Step 1, when the first ATM network sends an ATM message to the second ATM network through the first ATM gateway, the first ATM gateway queries the mapping table according to the ATM parameters of the ATM message, and obtains the corresponding IP parameters; 步骤2,所述第一ATM网关使用所述IP参数对所述ATM报文进行IP封装,并通过IP网络发送至所述第二ATM网关;Step 2, described first ATM gateway uses described IP parameter to carry out IP encapsulation to described ATM message, and sends to described second ATM gateway through IP network; 步骤3,所述第二ATM网关收到经过封装的IP报文,根据所述IP参数查询第二ATM网关的所述入映射表获得ATM参数,根据ATM参数解析所述IP报文,将解析后获取的ATM报文转发给相应的设备。Step 3, described second ATM gateway receives the IP message through encapsulation, obtains ATM parameter according to the described inbound mapping table of described IP parameter query second ATM gateway, analyzes described IP message according to ATM parameter, will resolve The obtained ATM message is then forwarded to the corresponding device. 2、根据权利要求1所述的基于IP网络传送ATM报文的方法,其特征在于,在所述步骤1之前还包括以下步骤:在所述第一ATM网关和第二ATM网关上通过呼叫信令方式分别建立ATM参数和IP参数的出映射表和/或入映射表。2. The method for transmitting ATM messages based on an IP network according to claim 1, further comprising the following steps before said step 1: on said first ATM gateway and the second ATM gateway, through a call signal Establish the out-mapping table and/or in-mapping table of ATM parameters and IP parameters respectively in command mode. 3、根据权利要求2所述的基于IP网络传送ATM报文的方法,其特征在于,建立操作具体为:建立ATM参数为虚路径标识符和虚通道标识符以及IP参数为源IP地址、源端口号、目的IP地址和目的端口号的所述出映射表和所述的入映射表。3, the method for transmitting ATM message based on IP network according to claim 2, it is characterized in that, setting up operation is specifically: setting up ATM parameter as virtual path identifier and virtual channel identifier and IP parameter as source IP address, source The outbound mapping table and the inbound mapping table of port number, destination IP address and destination port number. 4、根据权利要求1所述的基于IP网络传送ATM报文的方法,其特征在于在,所述步骤1之前还包括步骤:在所述第一ATM网关和第二ATM网关上通过呼叫信令方式分别建立ATM参数和IP参数的出入双向的所述映射表。4. The method for transmitting ATM messages based on an IP network according to claim 1, characterized in that before said step 1, it also includes the step of: calling signaling on said first ATM gateway and second ATM gateway The two-way mapping table for the entry and exit of ATM parameters and IP parameters is established respectively. 5、根据权利要求1所述的基于IP网络传送ATM报文的方法,其特征在于,所述步骤1中还包括步骤,当第一ATM网关根据所述ATM报文的ATM参数查询所述出映射表时查找不到所述IP参数,则丢弃所述ATM报文,并结束操作。5. The method for transmitting an ATM message based on an IP network according to claim 1, wherein said step 1 further comprises a step, when the first ATM gateway inquires about said outgoing message according to the ATM parameter of said ATM message If the IP parameter cannot be found in the mapping table, the ATM packet is discarded and the operation ends. 6、根据权利要求1所述的基于IP网络传送ATM报文的方法,其特征在于所述步骤2具体为:所述第一ATM网关根据所述IP参数对所述ATM报文进行IP首部和UDP首部的封装,并通过IP网络发送到所述第二ATM网关。6. The method for transmitting an ATM message based on an IP network according to claim 1, wherein said step 2 is specifically: said first ATM gateway carries out IP header summing to said ATM message according to said IP parameter The UDP header is encapsulated and sent to the second ATM gateway through the IP network. 7、根据权利要求6所述的基于IP网络传送ATM报文的方法,其特征在于所述步骤3具体为:所述第二ATM网关根据封装后的报文中的IP参数对所述入映射表进行匹配,如果匹配成功,则删除所述封装后的报文的IP首部和UDP首部,然后将解封装的ATM报文转发到相应的设备,如果匹配失败,则继续执行IP传输流程。7. The method for transmitting ATM messages based on an IP network according to claim 6, characterized in that said step 3 is specifically: said second ATM gateway maps said inbound message according to the IP parameters in the encapsulated message If the matching is successful, the IP header and the UDP header of the encapsulated message are deleted, and then the decapsulated ATM message is forwarded to the corresponding device, and if the matching fails, the IP transmission process is continued. 8、根据权利要求6所述的基于IP网络传送ATM报文的方法,其特征在于,所述通过IP网络发送到所述第二ATM网关的操作具体为:以UDP通过IP网络发送到所述第二ATM网关。8. The method for transmitting ATM messages based on an IP network according to claim 6, wherein the operation of sending to the second ATM gateway through the IP network is specifically: sending to the second ATM gateway through the IP network with UDP A second ATM gateway. 9、根据权利要求1至8中的任意一项所述的基于IP网络传送ATM报文的方法,其特征在于,所述步骤1中ATM报文包括:ATM适配层报文或者ATM信元。9. The method for transmitting an ATM message based on an IP network according to any one of claims 1 to 8, wherein the ATM message in the step 1 comprises: an ATM adaptation layer message or an ATM cell . 10、根据权利要求9所述的基于IP网络传送ATM报文的方法,其特征在于,当发送的为ATM适配层报文时,所述第一ATM网关的ATM适配层将所述ATM适配层报文拆解为多个ATM信元。10. The method for transmitting an ATM message based on an IP network according to claim 9, wherein when the message sent is an ATM adaptation layer message, the ATM adaptation layer of the first ATM gateway transfers the ATM Adaptation layer packets are disassembled into multiple ATM cells. 11、根据权利要求10所述的基于IP网络传送ATM报文的方法,其特征在于,所述步骤3中查询所述入映射表以获得ATM参数后,所述第二ATM网关的ATM适配层将所述多个ATM信元重组成所述ATM适配层报文,根据所述ATM参数将所述ATM适配层报文转发给接收设备。11. The method for transmitting ATM messages based on an IP network according to claim 10, characterized in that, after querying the inbound mapping table in the step 3 to obtain the ATM parameters, the ATM adaptation of the second ATM gateway The layer reassembles the multiple ATM cells into the ATM adaptation layer message, and forwards the ATM adaptation layer message to the receiving device according to the ATM parameters.
CN 200610073004 2006-04-10 2006-04-10 Method for ATM message transmission based on IP network Pending CN1968191A (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
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
CN1968191A true CN1968191A (en) 2007-05-23

Family

ID=38076748

Family Applications (1)

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

Country Status (2)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009132559A1 (en) * 2008-04-29 2009-11-05 华为技术有限公司 A method, an apparatus and a system for equalizing flow capacity
CN103107990A (en) * 2013-01-16 2013-05-15 大唐移动通信设备有限公司 Medium conversion system and connection method thereof
CN109787900A (en) * 2017-11-15 2019-05-21 阿里巴巴集团控股有限公司 Transmission method, device, equipment and machine readable media

Family Cites Families (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
CN1241424C (en) * 2002-11-06 2006-02-08 华为技术有限公司 Method for building transmission load supporting in general mobile communication system
CN1306770C (en) * 2003-07-17 2007-03-21 华为技术有限公司 A method for bearing IP message protocol on ATM network supported by broadband access equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009132559A1 (en) * 2008-04-29 2009-11-05 华为技术有限公司 A method, an apparatus and a system for equalizing flow capacity
US8611226B2 (en) 2008-04-29 2013-12-17 Huawei Technologies Co., Ltd. Method, apparatus and system for equalizing flows
CN103107990A (en) * 2013-01-16 2013-05-15 大唐移动通信设备有限公司 Medium conversion system and connection method thereof
CN103107990B (en) * 2013-01-16 2015-12-02 大唐移动通信设备有限公司 A kind of medium conversion system and attaching method thereof
CN109787900A (en) * 2017-11-15 2019-05-21 阿里巴巴集团控股有限公司 Transmission method, device, equipment and machine readable media

Also Published As

Publication number Publication date
WO2007115458A1 (en) 2007-10-18

Similar Documents

Publication Publication Date Title
CN1160884C (en) An ECN-Based Method for Congestion Management in Hybrid IP-ATM Networks
US6343083B1 (en) Method and apparatus for supporting a connectionless communication protocol over an ATM network
US6081836A (en) Method for the transmission of information packets between emulated LANs using address resolution
EP1247420B1 (en) Method and apparatus for providing efficient application-level switching for multiplexed internet protocol media streams
US6728261B1 (en) ATM over IP
US5974452A (en) Process for determining a target ATM address
US6483842B1 (en) Multimedia switching system
CN1371206A (en) System and method for enhancing voice channel transmitting by means of intranet protocol
CN1623302A (en) ATM-port-module with integrated Ethernet switch interface
WO2008006307A1 (en) Method and device of an ethernet bearing atm cells
CN1600013A (en) Method and apparatus for compressing packet headers
US6937598B1 (en) Method and apparatus for transporting ATM cell traffic over IP networks
CN1859382A (en) Communication device for supporting multiple service and its method
CN1177441C (en) Device and method for controlling quality of service in asynchronous transfer mode
US6137799A (en) Process for transferring data packets between emulated LANs
CN101022423A (en) Method and system for data exchanging between ATM network and IP network
CN1306770C (en) A method for bearing IP message protocol on ATM network supported by broadband access equipment
US6205490B1 (en) System (IWF) for the bidirectional connection of an ELAN and a CLS wide-area network
CN1968191A (en) Method for ATM message transmission based on IP network
CN1152523C (en) Cell switching method and system
CN1275431C (en) Exchange system network intercommunicating equipment and method
CN1129283C (en) Cell adapting method for fixed-length packet exchange
CN1133299C (en) In-band network management method based on IP protocol for ATM
CN1663318A (en) Method, communication system and communication device for transmitting information
CN1665218A (en) The method of using ATM network to transmit VoIP over IP

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication