patents.google.com

CN102957756B - The processing method and access service router of data message - Google Patents

  • ️Tue Oct 17 2017

CN102957756B - The processing method and access service router of data message - Google Patents

The processing method and access service router of data message Download PDF

Info

Publication number
CN102957756B
CN102957756B CN201110243069.3A CN201110243069A CN102957756B CN 102957756 B CN102957756 B CN 102957756B CN 201110243069 A CN201110243069 A CN 201110243069A CN 102957756 B CN102957756 B CN 102957756B Authority
CN
China
Prior art keywords
port number
asr
address
data message
terminal
Prior art date
2011-08-23
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110243069.3A
Other languages
Chinese (zh)
Other versions
CN102957756A (en
Inventor
沈炯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Optical Valley Industry Investment Development Co ltd
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
2011-08-23
Filing date
2011-08-23
Publication date
2017-10-17
2011-08-23 Application filed by ZTE Corp filed Critical ZTE Corp
2011-08-23 Priority to CN201110243069.3A priority Critical patent/CN102957756B/en
2012-06-08 Priority to PCT/CN2012/076641 priority patent/WO2013026305A1/en
2013-03-06 Publication of CN102957756A publication Critical patent/CN102957756A/en
2017-10-17 Application granted granted Critical
2017-10-17 Publication of CN102957756B publication Critical patent/CN102957756B/en
Status Active legal-status Critical Current
2031-08-23 Anticipated expiration legal-status Critical

Links

  • 238000003672 processing method Methods 0.000 title claims abstract description 8
  • 230000004044 response Effects 0.000 claims description 35
  • 238000000034 method Methods 0.000 claims description 26
  • 230000011664 signaling Effects 0.000 claims description 13
  • 230000008859 change Effects 0.000 abstract description 2
  • 229910002056 binary alloy Inorganic materials 0.000 abstract 2
  • 230000014509 gene expression Effects 0.000 abstract 1
  • 238000000926 separation method Methods 0.000 description 14
  • 238000013507 mapping Methods 0.000 description 6
  • 230000008569 process Effects 0.000 description 6
  • 238000012545 processing Methods 0.000 description 5
  • 238000004891 communication Methods 0.000 description 4
  • 238000005538 encapsulation Methods 0.000 description 4
  • 238000010586 diagram Methods 0.000 description 3
  • 238000005516 engineering process Methods 0.000 description 3
  • 238000006243 chemical reaction Methods 0.000 description 1
  • 230000006870 function Effects 0.000 description 1
  • 238000010295 mobile communication Methods 0.000 description 1
  • 230000004048 modification Effects 0.000 description 1
  • 238000012986 modification Methods 0.000 description 1
  • 230000003287 optical effect Effects 0.000 description 1

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing

Landscapes

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

Abstract

The invention provides a kind of processing method of data message and access service router, the processing method of the data message includes:The data message that access service router (ASR) receiving terminal is sent, preserve the corresponding binding relationship of the IP address carried in the data message and port numbers and the IP address in the identity (AID) of the terminal and the ASR port numbers selected, and the IP address and port numbers for carrying the data message accordingly replace with the IP address in the AID and the port numbers of ASR selections, wherein, the AID is by any N expressions of IP address and binary system port numbers, and N is the integer more than or equal to 1 less than binary system port numbers digit;The ASR is sent completely the data message after replacing.The processing method and access service router of above-mentioned data message, realize to application and terminal do not change in the case of there is provided enough identity spaces.

Description

数据报文的处理方法及接入服务路由器Processing method of data message and access service router

技术领域technical field

本发明涉及移动通信技术领域,尤其涉及一种数据报文的处理方法及接入服务路由器。The invention relates to the technical field of mobile communication, in particular to a data message processing method and an access service router.

背景技术Background technique

业界目前提出了多种新的移动管理技术,其本质思想是用户身份和位置分离技术。现有技术中已有有关身份标识和位置分离(Subscriber Identifier&LocatorSeparation Network,SILSN)的解决方案,如基于主机的实现如主机标识协议(HIP)技术,以及基于路由器的实现如位置身份分离协议(LISP)技术,每种实现中又有相关的多种技术进行支持,这些方案中终端用户的身份标识(文中表示为AID)在移动过程中不改变,根据终端的位置另行分配位置标识(文中表示为RID)来实现数据报文的路由和转发。The industry currently proposes a variety of new mobile management technologies, the essential idea of which is the separation of user identity and location. In the prior art, there are solutions for Subscriber Identifier & Locator Separation Network (SILSN), such as host-based implementation such as Host Identification Protocol (HIP) technology, and router-based implementation such as Location Identity Separation Protocol (LISP) Each implementation is supported by a variety of related technologies. In these solutions, the identity of the terminal user (represented as AID in the text) does not change during the movement process, and the location identifier (represented as RID in the text) is assigned separately according to the location of the terminal. ) to realize the routing and forwarding of data packets.

图1示出了一种身份标识和位置分离(SILSN)的网络架构,该SILSN架构的网络拓扑划分为拓扑关系上没有重叠的接入网和骨干网,接入网位于骨干网的边缘,负责所有终端的接入,骨干网负责接入的终端间数据报文的路由和转发。该网络中,AID作为终端的用户身份标识,在终端移动过程中始终保持不变;RID是网络为终端分配的位置标识,在骨干网使用。应说明的是,不同的SILSN架构可以有不同的名称,但实质是一样的。Figure 1 shows a network architecture of Separation of Identity and Location (SILSN). The network topology of the SILSN architecture is divided into an access network and a backbone network that do not overlap in topological relationship. The access network is located at the edge of the backbone network and is responsible for For the access of all terminals, the backbone network is responsible for the routing and forwarding of data packets between the connected terminals. In this network, the AID is used as the user identity of the terminal, which remains unchanged during the terminal's moving process; the RID is the location identifier assigned by the network to the terminal, and is used in the backbone network. It should be noted that different SILSN architectures may have different names, but the essence is the same.

SILSN架构中,终端可以是移动终端、固定终端和游牧终端中的一种或多种,如手机、固定电话、电脑和服务器等等。In the SILSN architecture, terminals can be one or more of mobile terminals, fixed terminals and nomadic terminals, such as mobile phones, fixed phones, computers and servers.

SILSN架构中,接入网用于为终端提供二层(物理层和链路层)接入手段,维护终端与接入服务路由器(ASR)之间的物理接入链路。In the SILSN architecture, the access network is used to provide a layer-2 (physical layer and link layer) access means for the terminal, and maintain the physical access link between the terminal and the access service router (ASR).

SILSN架构中,骨干网的主要网元包括:In the SILSN architecture, the main network elements of the backbone network include:

接入服务路由器(Access Service Router,ASR)是骨干网的边缘路由器,用于为终端分配RID,维护终端的AID-RID映射信息,到身份位置寄存器(Identity LocationRegister,ILR)登记注册和查询终端的AID-RID绑定关系,以及实现数据报文的路由和转发等。终端须经过ASR接入骨干网。ASR为终端分配的RID包含该ASR的地址信息,或者说指向本ASR,将该RID作为数据报文的目的地址时,该数据报文将被路由到该ASR。The Access Service Router (Access Service Router, ASR) is the edge router of the backbone network, which is used to allocate RID for the terminal, maintain the AID-RID mapping information of the terminal, register and query the identity location register (Identity Location Register, ILR) of the terminal AID-RID binding relationship, and routing and forwarding of data packets, etc. The terminal must access the backbone network through the ASR. The RID allocated by the ASR to the terminal includes the address information of the ASR, or points to the ASR. When the RID is used as the destination address of the data packet, the data packet will be routed to the ASR.

通用路由器(Common Router,CR),骨干网的核心路由器,用于根据数据报文中的RID进行选路,转发以RID为目的地址的数据报文。A common router (Common Router, CR), the core router of the backbone network, is used to select a route according to the RID in the data message, and forward the data message with the RID as the destination address.

ILR用于保存和维护归属用户终端的身份标识和位置标识映射信息,文中也写为AID-RID映射信息,处理对终端位置的注册、去注册和查询;ILR is used to save and maintain the identity and location identifier mapping information of the home user terminal, which is also written as AID-RID mapping information in the text, and handles the registration, de-registration and query of the terminal location;

可选地,骨干网还可以包括:Optionally, the backbone network can also include:

互联服务节点(Internet Service Router,ISR),具有与传统IP网络、ASR和ILR的接口,用于实现身份、位置分离网络与传统IP网络的互联互通。The Internet Service Router (ISR) has interfaces with the traditional IP network, ASR and ILR, and is used to realize the interconnection between the identity and location separation network and the traditional IP network.

可以看出,ASR为了实现报文的正常转发,需要在终端接入时为该终端分配RID,并需要到ILR注册该用户的AID与RID的绑定,以更新ILR中的该终端的绑定的RID。在一个示例中,ASR为每个终端维护该终端的对端信息(也可称为终端与通信对端的连接信息,或终端与通信对端的通信关系信息),其中包含该终端AID及其通信对端AID的对应关系信息,还可以包括该终端的AID-RID映射信息。It can be seen that in order to realize the normal forwarding of the message, ASR needs to allocate a RID for the terminal when the terminal accesses, and needs to register the binding of the user's AID and RID with the ILR, so as to update the binding of the terminal in the ILR The RID. In an example, the ASR maintains the peer information of the terminal for each terminal (also referred to as the connection information between the terminal and the communication peer, or the communication relationship information between the terminal and the communication peer), which includes the terminal AID and its communication peer The corresponding relationship information of the terminal AID may also include the AID-RID mapping information of the terminal.

身份位置分离网络一般设计使用IP地址作为身份标识,以对应用程序和终端设备的透明支持,即应用程序套接字连接的还是IP地址,而不必改动。其实,这个IP地址的含义已不是普通意义上的可路由的IP地址。Identity and location separation networks are generally designed to use IP addresses as identity identifiers to transparently support applications and terminal devices, that is, the application sockets are still connected to IP addresses without modification. In fact, the meaning of this IP address is no longer a routable IP address in the ordinary sense.

身份位置分离网络可解决IP地址二义性带来的一系列问题,但也存在很多应用上的问题,最主要的是目前广泛使用的IPv4地址空间有限,而身份标识也不能重用现有已分配的公网IP地址,否则会导致身份标识和公网地址不可区分,因此,需要解决标识空间的问题。The identity and location separation network can solve a series of problems caused by the ambiguity of IP addresses, but there are also many application problems. The most important thing is that the currently widely used IPv4 address space is limited, and the identity identifier cannot reuse the existing allocated Otherwise, the identity identifier and the public network address will be indistinguishable. Therefore, the problem of the identifier space needs to be solved.

发明内容Contents of the invention

本发明提供了一种数据报文的处理方法及接入服务路由器,以解决数据报文转发过程中的身份标识空间有限的问题。The invention provides a data message processing method and an access service router to solve the problem of limited identity mark space in the data message forwarding process.

本发明提供了一种数据报文的处理方法,该方法包括:The invention provides a method for processing a data message, the method comprising:

接入服务路由器(ASR)接收终端发送的数据报文,保存所述数据报文中携带的IP地址和端口号与所述终端的身份标识(AID)中的IP地址和所述ASR选择的端口号的对应绑定关系,并将所述数据报文携带的IP地址和端口号对应地替换为所述AID中的IP地址和所述ASR选择的端口号,其中,所述AID由IP地址和二进制端口号的任意N位表示,N为大于等于1小于二进制端口号位数的整数;The access service router (ASR) receives the data message sent by the terminal, saves the IP address and port number carried in the data message and the IP address in the terminal's identity identifier (AID) and the port selected by the ASR number, and replace the IP address and port number carried by the data message with the IP address in the AID and the port number selected by the ASR, wherein the AID consists of the IP address and the port number Any N-bit representation of the binary port number, N is an integer greater than or equal to 1 and less than the number of bits of the binary port number;

所述ASR发送完成替换后的数据报文。The ASR sends the replaced data message.

优选地,所述ASR接收终端发送的数据报文之前,所述方法还包括:Preferably, before the ASR receives the data message sent by the terminal, the method further includes:

所述ASR接收所述终端发送的注册信令,根据所述注册信令查询身份位置寄存器(ILR)获得所述终端的AID;The ASR receives the registration signaling sent by the terminal, and queries an Identity Location Register (ILR) according to the registration signaling to obtain the AID of the terminal;

所述ASR为终端分配IP地址,保存所述IP地址和所述AID的绑定关系。The ASR allocates an IP address for the terminal, and saves the binding relationship between the IP address and the AID.

优选地,所述ASR保存所述数据报文中携带的IP地址和端口号与终端身份标识(AID)中的IP地址和所述ASR选择的端口号的对应绑定关系,包括:Preferably, the ASR saves the corresponding binding relationship between the IP address and port number carried in the data message and the IP address in the terminal identity identifier (AID) and the port number selected by the ASR, including:

所述ASR根据数据报文中携带的IP地址和所述绑定关系获得终端的AID,保存所述数据报文中携带的IP地址和端口号与所述AID中的IP地址和所述ASR选择的端口号的对应绑定关系。The ASR obtains the AID of the terminal according to the IP address carried in the data message and the binding relationship, and saves the IP address and port number carried in the data message and the IP address in the AID and the ASR selection The corresponding binding relationship of the port number.

优选地,所述ASR选择的端口号为所述ASR在所述AID中二进制端口号的N位固定的端口号范围内选择的一个所述终端未使用的端口号。Preferably, the port number selected by the ASR is a port number not used by the terminal selected by the ASR within the fixed port number range of N bits of the binary port number in the AID.

优选地,所述二进制端口号的任意N位包括所述二进制端口号的高N位。Preferably, any N bits of the binary port number include high N bits of the binary port number.

优选地,当所述二进制端口号位数为16时,所述二进制端口号的高N位优选为二进制端口号的高3位、高4位、高5位或高6位。Preferably, when the binary port number has 16 digits, the high N bits of the binary port number are preferably high 3 bits, high 4 bits, high 5 bits or high 6 bits of the binary port number.

优选地,所述ASR发送完成替换后的数据报文之后,所述方法还包括:Preferably, after the ASR sends the replaced data message, the method further includes:

所述ASR接收所述数据报文的响应数据报文,根据所述响应数据报文中携带的IP地址和端口号以及所述ASR保存的所述对应绑定关系,获知所述终端的IP地址和端口号,并向所述终端发送所述响应数据报文。The ASR receives the response data message of the data message, and obtains the IP address of the terminal according to the IP address and port number carried in the response data message and the corresponding binding relationship stored by the ASR and port number, and send the response data packet to the terminal.

优选地,所述ASR接收服务器发送的回应数据报文,根据所述回应数据报文中携带的目的地址和端口号确定接收所述回应数据报文的终端的AID。Preferably, the ASR receives the response data message sent by the server, and determines the AID of the terminal receiving the response data message according to the destination address and port number carried in the response data message.

本发明还提供了一种接入服务路由器(ASR),该ASR包括:The present invention also provides a kind of access service router (ASR), and this ASR comprises:

替换模块,用于所述ASR作为源ASR时,接收终端发送的数据报文,保存所述数据报文中携带的IP地址和端口号与所述终端的身份标识(AID)中的IP地址和所述ASR选择的端口号的对应绑定关系,并将所述数据报文携带的IP地址和端口号对应地替换为所述AID中的IP地址和所述ASR选择的端口号,其中,所述AID由IP地址和二进制端口号的任意N位表示,N为大于等于1小于二进制端口号位数的整数;The replacement module is used to receive the data message sent by the terminal when the ASR is used as the source ASR, and save the IP address and port number carried in the data message and the IP address and port number in the terminal's identity identifier (AID). The corresponding binding relationship of the port number selected by the ASR, and correspondingly replace the IP address and port number carried in the data message with the IP address in the AID and the port number selected by the ASR, wherein the The AID is represented by any N bits of the IP address and the binary port number, and N is an integer greater than or equal to 1 and less than the number of bits of the binary port number;

发送模块,用于发送所述替换模块完成替换后的数据报文。A sending module, configured to send the data message after the replacement module completes the replacement.

优选地,所述ASR还包括:Preferably, the ASR also includes:

查询模块,用于在所述替换模块接收终端发送的数据报文之前,接收所述终端发送的注册信令,根据所述注册信令查询身份位置寄存器(ILR)获得所述终端的AID;The query module is used to receive the registration signaling sent by the terminal before the replacement module receives the data message sent by the terminal, and query the identity location register (ILR) according to the registration signaling to obtain the AID of the terminal;

保存模块,用于为终端分配IP地址,保存所述IP地址和所述AID的绑定关系。A saving module, configured to assign an IP address to the terminal, and save the binding relationship between the IP address and the AID.

优选地,所述替换模块保存所述数据报文中携带的IP地址和端口号与终端身份标识(AID)中的IP地址和所述ASR选择的端口号的对应绑定关系,是用于:Preferably, the replacement module saves the corresponding binding relationship between the IP address and port number carried in the data message and the IP address in the terminal identity identifier (AID) and the port number selected by the ASR, and is used for:

根据数据报文中携带的IP地址和所述保存模块保存的所述绑定关系获得终端的AID,保存所述数据报文中携带的IP地址和端口号与所述AID中的IP地址和所述ASR选择的端口号的对应绑定关系。Obtain the AID of the terminal according to the IP address carried in the data message and the binding relationship stored by the saving module, and store the IP address and port number carried in the data message and the IP address and the port number in the AID. The corresponding binding relationship of the port number selected by ASR.

优选地,所述ASR选择的端口号为所述ASR在所述AID中二进制端口号的N位固定的端口号范围内选择的一个所述终端未使用的端口号。Preferably, the port number selected by the ASR is a port number not used by the terminal selected by the ASR within the fixed port number range of N bits of the binary port number in the AID.

优选地,所述二进制端口号的任意N位包括所述二进制端口号的高N位。Preferably, any N bits of the binary port number include high N bits of the binary port number.

优选地,当所述二进制端口号位数为16时,所述二进制端口号的高N位优选为二进制端口号的高3位、高4位、高5位或高6位。Preferably, when the binary port number has 16 digits, the high N bits of the binary port number are preferably high 3 bits, high 4 bits, high 5 bits or high 6 bits of the binary port number.

优选地,所述ASR还包括:获知模块,用于接收所述发送模块发送的所述数据报文的响应数据报文,根据所述响应数据报文中携带的IP地址和端口号以及所述ASR保存的所述对应绑定关系,获知所述终端的IP地址和端口号,并向所述终端发送所述响应数据报文。Preferably, the ASR further includes: a learning module, configured to receive a response data packet of the data packet sent by the sending module, and according to the IP address and port number carried in the response data packet and the The corresponding binding relationship saved by the ASR obtains the IP address and port number of the terminal, and sends the response data message to the terminal.

优选地,所述ASR还包括:Preferably, the ASR also includes:

确定模块,用于所述ASR作为目的ASR时,接收服务器发送的回应数据报文,根据所述回应数据报文中携带的目的地址和端口号确定接收所述回应数据报文的终端的AID。The determination module is used to receive the response data message sent by the server when the ASR is used as the destination ASR, and determine the AID of the terminal receiving the response data message according to the destination address and port number carried in the response data message.

上述数据报文的处理方法及接入服务路由器,实现了在对应用和终端不做改动的情况下,提供足够多的身份标识空间。The above method for processing data packets and accessing the service router realizes the provision of sufficient identity identification space without making changes to applications and terminals.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1为现有SILSN网络架构的示意图;FIG. 1 is a schematic diagram of an existing SILSN network architecture;

图2为本发明身份位置分离网络的身份标识示意图一;Fig. 2 is a schematic diagram 1 of the identity identification of the identity location separation network of the present invention;

图3是本发明身份位置分离网络的身份标识示意图二;Fig. 3 is a second schematic diagram of the identity identification of the identity location separation network of the present invention;

图4是本发明实施例的终端注册流程图;FIG. 4 is a flow chart of terminal registration according to an embodiment of the present invention;

图5是本发明实施例的数据报文处理流程图。Fig. 5 is a flowchart of data packet processing according to an embodiment of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

本发明实施例提供了一种数据报文的处理方法,该方法包括:An embodiment of the present invention provides a method for processing data packets, the method comprising:

步骤一、接入服务路由器(ASR)接收终端发送的数据报文,保存所述数据报文中携带的IP地址和端口号与所述终端的身份标识(AID)中的IP地址和所述ASR选择的端口号的对应绑定关系,并将所述数据报文携带的IP地址和端口号对应地替换为所述AID中的IP地址和所述ASR选择的端口号,其中所述AID由IP地址和二进制端口号的任意N位表示,N为大于等于1小于二进制端口号位数的整数;Step 1, the access service router (ASR) receives the data message sent by the terminal, and saves the IP address and port number carried in the data message and the IP address and the ASR in the identity identifier (AID) of the terminal The corresponding binding relationship of the selected port number, and correspondingly replace the IP address and port number carried in the data message with the IP address in the AID and the port number selected by the ASR, wherein the AID is determined by the IP Any N-bit representation of the address and binary port number, N is an integer greater than or equal to 1 and less than the number of bits of the binary port number;

其中,所述ASR接收终端发送的数据报文之前,所述方法还包括:所述ASR接收所述终端发送的注册信令,根据所述注册信令查询身份位置寄存器(ILR)获得所述终端的AID;所述ASR为终端分配IP地址,保存所述IP地址和所述AID的绑定关系。Wherein, before the ASR receives the data message sent by the terminal, the method further includes: the ASR receives the registration signaling sent by the terminal, and queries the Identity Location Register (ILR) according to the registration signaling to obtain the terminal AID; the ASR assigns an IP address to the terminal, and saves the binding relationship between the IP address and the AID.

具体地,所述ASR根据数据报文中携带的IP地址和所述绑定关系获得终端的AID,保存所述数据报文中携带的IP地址和端口号与所述AID中的IP地址和所述ASR选择的端口号的对应绑定关系。所述ASR选择的端口号为所述ASR在所述AID中二进制端口号的N位固定的端口号范围内选择的一个所述终端未使用的端口号。Specifically, the ASR obtains the AID of the terminal according to the IP address carried in the data message and the binding relationship, and stores the IP address and port number carried in the data message and the IP address and the port number carried in the AID. The corresponding binding relationship of the port number selected by ASR. The port number selected by the ASR is a port number not used by the terminal selected by the ASR within the fixed port number range of N bits of the binary port number in the AID.

另外,所述二进制端口号的任意N位包括所述二进制端口号的高N位。当所述二进制端口号位数为16时,所述二进制端口号的高N位优选为二进制端口号的高3位、高4位、高5位或高6位。当然,该二进制端口号的任意N位可根据需要灵活设置,高N位仅是一种示例。In addition, any N bits of the binary port number include high N bits of the binary port number. When the binary port number has 16 digits, the high N bits of the binary port number are preferably the high 3 bits, the high 4 bits, the high 5 bits or the high 6 bits of the binary port number. Certainly, any N bit of the binary port number can be flexibly set as required, and the high N bit is only an example.

如图2所示,身份标识采用IPv4地址加上二进制端口号高5位的方式来表示,5位端口号二进制高位确定后,剩余11位二进制端口号为该用户可用的端口号范围,为2048个。目前,终端可用端口号范围为1024到65535,故同一IPv4地址加二进制端口号高5位可以有31个标识,从而标识空间足够多,如采用二进制端口号高6位来确定,则同一IPv4地址可以有63个标识。以下以二进制端口号高5位作为身份标识的一部分举例,但方案不局限于使用二进制端口号高5位作为身份标识的一部分。As shown in Figure 2, the identity is represented by the IPv4 address plus the high 5 bits of the binary port number. After the binary high bits of the 5-digit port number are determined, the remaining 11 binary port numbers are the range of port numbers available to the user, which is 2048 indivual. Currently, the range of available port numbers for terminals is from 1024 to 65535, so the same IPv4 address plus the upper 5 bits of the binary port number can have 31 identifications, so that there is enough space for identification. If the upper 6 bits of the binary port number are used to determine, the same IPv4 address There can be 63 identities. The following uses the high 5 digits of the binary port number as a part of the identity as an example, but the solution is not limited to using the high 5 digits of the binary port number as a part of the identity.

给终端分配的IP地址可以为私网IPv4地址或公网IPv4地址,ASR完成用户数据包中的IP地址、端口与给用户分配的AID中的IPv4地址与端口号范围内的一个未使用端口之间的转换。The IP address assigned to the terminal can be a private network IPv4 address or a public network IPv4 address. ASR completes the connection between the IP address and port in the user data packet and the IPv4 address in the AID assigned to the user and an unused port within the range of the port number. conversion between.

当身份位置分离网络的身份标识演进到使用IPv6地址后,由于身份标识的相对固定性及对用户的便利性,需要继续保留用户原有的IPv4的身份标识,这时,可采用IPv4加高五位端口号的身份标识嵌入IPv6地址的方式,即采用特定前缀的IPv6地址,最后37位(IPv4地址加5位端口号高位)二进制位为身份标识,如图3所示。When the identity of the identity-location separation network evolves to use IPv6 addresses, due to the relatively fixed nature of the identity and the convenience for users, it is necessary to continue to retain the original IPv4 identity of the user. At this time, IPv4 can be used to increase the five The way of embedding the identity of the bit port number into the IPv6 address is to use the IPv6 address with a specific prefix, and the last 37 bits (the IPv4 address plus the high bit of the 5-bit port number) binary bits are the identity, as shown in Figure 3.

步骤二、所述ASR发送完成替换后的数据报文。Step 2, the ASR sends the data message after the replacement.

所述ASR发送完成替换后的数据报文之后,所述方法还包括:After the ASR sends the replaced data message, the method further includes:

所述ASR接收所述数据报文的响应数据报文,根据所述响应数据报文中携带的IP地址和端口号以及所述ASR保存的所述对应绑定关系,获知所述终端的IP地址和端口号,并向所述终端发送所述响应数据报文。The ASR receives the response data message of the data message, and obtains the IP address of the terminal according to the IP address and port number carried in the response data message and the corresponding binding relationship stored by the ASR and port number, and send the response data packet to the terminal.

上述操作是ASR作为源ASR时完成的,另外,当所述ASR为目的ASR时,还可以接收服务器发送的回应数据报文,根据所述回应数据报文中携带的目的地址和端口号确定接收所述回应数据报文的终端的AID。The above operations are completed when the ASR is used as the source ASR. In addition, when the ASR is the destination ASR, it can also receive the response data message sent by the server, and determine the reception according to the destination address and port number carried in the response data message. The AID of the terminal that responds to the data packet.

上述数据报文处理方法中,采用IP地址和二进制端口号的任意N位表示的AID表示终端的AID,有效地扩展了身份标识空间,且不需要对终端做改动。In the above data message processing method, the AID represented by any N bits of the IP address and the binary port number is used to represent the AID of the terminal, which effectively expands the identity space and does not need to modify the terminal.

下文以实施例的方式说明在身份位置分离网络SILSN中使用IP地址和二进制端口号的高N位表示的AID进行的应用。需要说明的是,本发明的流程也可广泛适用于其它身份位置分离架构。The following describes the application of the AID represented by the high N bits of the IP address and the binary port number in the identity location separation network SILSN by way of an embodiment. It should be noted that the process of the present invention is also widely applicable to other identity and location separation architectures.

实施例一Embodiment one

本实施例基于图1描述的SILSN身份位置分离网络架构,在图4示出了一种终端注册SILSN网络的流程,以端口号5位二进制高位为AID一部分为例,该过程包括:This embodiment is based on the SILSN identity and location separation network architecture described in FIG. 1. FIG. 4 shows a process for a terminal to register with the SILSN network. Taking the 5-bit binary high bit of the port number as part of the AID as an example, the process includes:

步骤401、终端的注册信令被发送到ASR;Step 401, the registration signaling of the terminal is sent to the ASR;

步骤402、ASR根据终端的IMSI查询ILR,获取终端的AID(IP地址加5位二进制端口号高位);Step 402, ASR queries the ILR according to the IMSI of the terminal, and obtains the AID of the terminal (IP address plus 5 binary port number high bits);

步骤403、ILR返回ASR用户的AID;Step 403, the ILR returns the AID of the ASR user;

步骤404、ASR给用户分配IP地址,同时做用户AID与用户PDP上下文中的IP地址的绑定;此分配给用户的IP地址可为ASR自身分配的私网地址、也可为用户AID中的IP地址部分;Step 404, ASR assigns an IP address to the user, and simultaneously performs the binding of the IP address in the user AID and the user's PDP context; the IP address assigned to the user can be the private network address allocated by the ASR itself, or can be the IP address in the user AID. IP address part;

步骤405、ASR给用户分配一个其自身的地址RID,向ILR注册用户AID、RID的绑定;Step 405, the ASR allocates a user's own address RID to the user, and registers the binding of the user's AID and RID with the ILR;

步骤406、ILR返回AID、RID绑定结果给ASR;Step 406, ILR returns AID, RID binding result to ASR;

步骤407、ASR返回终端用户PDP上下文及在步骤404中给用户分配的IP地址。In step 407, the ASR returns the end user's PDP context and the IP address assigned to the user in step 404.

进一步地,在步骤402中,可同时携带RID信息,用于ILR注册AID、RID的绑定,则步骤405,步骤406可省略。Further, in step 402, the RID information may be carried at the same time for the binding of ILR registration AID and RID, and then step 405 and step 406 may be omitted.

上述实施例以二进制端口号高5位为例说明,但不限定高5位,根据实际情况,也可使用6位或4位等二进制端口号高位为身份标识的一部分,二进制端口号高位的位数的确定取决于用户身份标识数目的多少与给每一用户分配的可用端口数目的平衡,但本发明实施例的思想适用于任意二进制端口号高位的长度。The above-mentioned embodiment takes the upper 5 digits of the binary port number as an example, but the upper 5 digits are not limited. According to the actual situation, the upper digits of the binary port number such as 6 digits or 4 digits can also be used as a part of the identity identification. The higher digits of the binary port number The determination of the number depends on the balance between the number of user IDs and the number of available ports allocated to each user, but the idea of the embodiment of the present invention is applicable to the length of high bits of any binary port number.

实施例二Embodiment two

本实施例基于图1描述的SILSN身份位置分离网络架构,在图5示出了一种终端数据报文的处理流程,以端口号3位二进制高位为AID一部分为例,服务器AID采用公网IP地址,不加端口号信息;可以将不加端口号信息的AID与加端口号信息的AID通过AID中IP地址的前缀部分加以区分(类似子网划分的形式,对AID使用的IP地址进行地址段分配):This embodiment is based on the SILSN identity and location separation network architecture described in FIG. 1. FIG. 5 shows a processing flow of a terminal data message. Taking the port number 3 binary high bits as part of the AID as an example, the server AID uses the public network IP Address without port number information; the AID without port number information and the AID with port number information can be distinguished through the prefix part of the IP address in the AID (similar to the form of subnet division, the IP address used by the AID is divided into addresses) segment allocation):

步骤501、终端向ASR发送数据报文,源IP地址为ASR为其分配的IP地址,目的IP地址为服务器的AID;服务器的AID为公网IP地址;Step 501, the terminal sends a data message to the ASR, the source IP address is the IP address assigned by the ASR, and the destination IP address is the AID of the server; the AID of the server is the public network IP address;

步骤502、源ASR在用户AID的端口号高3位固定的端口号范围内取一个未使用的端口Port1,将数据报文的源IP地址,端口号与用户AID中的IP地址及选择的Port1做绑定,同时替换用户IP包头的源IP地址,端口号为AID中的IP地址及Port1;Step 502, the source ASR takes an unused port Port1 within the fixed port number range of the high 3 digits of the port number of the user AID, and combines the source IP address of the data message, the port number with the IP address in the user AID and the selected Port1 Do binding, and replace the source IP address of the user IP header at the same time, and the port number is the IP address and Port1 in the AID;

步骤503、源ASR根据数据报文IP头的目的地址(服务器AID),查询本地AID,RID映射缓存,如果本地没有缓存,则根据服务器AID查询ILR,获取服务器AID对应的RID;Step 503, the source ASR queries the local AID and RID mapping cache according to the destination address (server AID) of the IP header of the data message, if there is no cache locally, then queries the ILR according to the server AID to obtain the corresponding RID of the server AID;

步骤504、源ASR对数据报文进行隧道封装,外层IP头的源IP地址为终端的RID,目的IP地址为服务器的RID;Step 504, the source ASR performs tunnel encapsulation on the data message, the source IP address of the outer IP header is the RID of the terminal, and the destination IP address is the RID of the server;

步骤505、目的ASR收到数据包后,去除外层隧道封装,根据内层IP头的目的IP地址为服务器的AID,向服务器转发数据包;Step 505, after the destination ASR receives the data packet, removes the outer tunnel encapsulation, and forwards the data packet to the server according to the destination IP address of the inner layer IP header as the AID of the server;

步骤506、服务器向目的ASR发送发往终端的回包,目的IP地址为终端AID中的IP地址,目的端口为Port1;Step 506, the server sends a return packet to the destination ASR, the destination IP address is the IP address in the terminal AID, and the destination port is Port1;

步骤507、目的ASR根据数据报文IP头的目的地址(终端AID中的IP地址)及端口号高位(Port1的高3位二进制值),查询本地AID,RID映射缓存,如果本地没有缓存,则根据终端AID查询ILR,获取终端AID对应的RID;Step 507, the destination ASR queries the local AID and RID mapping cache according to the destination address (the IP address in the terminal AID) of the data message IP header and the high bit of the port number (the high 3-bit binary value of Port1), if there is no cache locally, then Query the ILR according to the terminal AID to obtain the RID corresponding to the terminal AID;

步骤508、目的ASR对数据报文进行隧道封装,外层IP头的源IP地址为服务器的RID,目的IP地址为终端的RID;Step 508, the destination ASR performs tunnel encapsulation on the data message, the source IP address of the outer IP header is the RID of the server, and the destination IP address is the RID of the terminal;

步骤509、源ASR去除隧道封装,根据内层IP包头的目的IP地址和端口号查找本地缓存,将目的IP地址替换为终端的IP地址,将端口号替换为终端的端口号。并将数据包转发给终端。Step 509, the source ASR removes the tunnel encapsulation, searches the local cache according to the destination IP address and port number of the inner IP header, replaces the destination IP address with the terminal's IP address, and replaces the port number with the terminal's port number. And forward the packet to the terminal.

本实施例以端口号的高5位及高3位二进制值作为AID的一部分为例说明,但不局限于使用高5位或高3为二进制值作为AID的一部分,实际上,可以使用任意位数的高位二进制值作为AID的一部分,取决于AID空间大小和用户可用端口号范围的平衡。In this embodiment, the binary value of the upper 5 bits and the upper 3 bits of the port number is used as a part of the AID as an example, but it is not limited to using the upper 5 bits or the upper 3 bits as a part of the AID. In fact, any bit can be used The high-order binary value of the number is used as a part of the AID, which depends on the balance between the size of the AID space and the range of available port numbers for the user.

本发明实施例还提供了一种接入服务路由器(ASR),该ASR包括替换模块和发送模块,其中:The embodiment of the present invention also provides an access service router (ASR), the ASR includes a replacement module and a sending module, wherein:

替换模块,用于所述ASR作为源ASR时,接收终端发送的数据报文,保存所述数据报文中携带的IP地址和端口号与所述终端的身份标识(AID)中的IP地址和所述ASR选择的端口号的对应绑定关系,并将所述数据报文携带的IP地址和端口号对应地替换为所述AID中的IP地址和所述ASR选择的端口号,其中,所述AID由IP地址和二进制端口号的任意N位表示,N为大于等于1小于二进制端口号位数的整数;The replacement module is used to receive the data message sent by the terminal when the ASR is used as the source ASR, and save the IP address and port number carried in the data message and the IP address and port number in the terminal's identity identifier (AID). The corresponding binding relationship of the port number selected by the ASR, and correspondingly replace the IP address and port number carried in the data message with the IP address in the AID and the port number selected by the ASR, wherein the The AID is represented by any N bits of the IP address and the binary port number, and N is an integer greater than or equal to 1 and less than the number of bits of the binary port number;

发送模块,用于发送所述替换模块完成替换后的数据报文。A sending module, configured to send the data message after the replacement module completes the replacement.

其中,所述二进制端口号的任意N位包括所述二进制端口号的高N位。当所述二进制端口号位数为16时,所述二进制端口号的高N位优选为二进制端口号的高3位、高4位、高5位或高6位。Wherein, any N bits of the binary port number include high N bits of the binary port number. When the binary port number has 16 digits, the high N bits of the binary port number are preferably the high 3 bits, the high 4 bits, the high 5 bits or the high 6 bits of the binary port number.

另外,所述ASR还包括:查询模块,用于在所述替换模块接收终端发送的数据报文之前,接收所述终端发送的注册信令,根据所述注册信令查询身份位置寄存器(ILR)获得所述终端的AID;保存模块,用于为终端分配IP地址,保存所述IP地址和所述AID的绑定关系。In addition, the ASR also includes: a query module, configured to receive the registration signaling sent by the terminal before the replacement module receives the data message sent by the terminal, and query the Identity Location Register (ILR) according to the registration signaling Obtaining the AID of the terminal; a saving module, configured to assign an IP address to the terminal, and save the binding relationship between the IP address and the AID.

具体地,所述替换模块保存所述数据报文中携带的IP地址和端口号与终端身份标识(AID)中的IP地址和所述ASR选择的端口号的对应绑定关系,是用于:根据数据报文中携带的IP地址和所述保存模块保存的所述绑定关系获得终端的AID,保存所述数据报文中携带的IP地址和端口号与所述AID中的IP地址和所述ASR选择的端口号的对应绑定关系。所述ASR选择的端口号为所述ASR在所述AID中二进制端口号的N位固定的端口号范围内选择的一个所述终端未使用的端口号。Specifically, the replacement module saves the corresponding binding relationship between the IP address and port number carried in the data message and the IP address in the terminal identity identifier (AID) and the port number selected by the ASR, and is used for: Obtain the AID of the terminal according to the IP address carried in the data message and the binding relationship stored by the saving module, and store the IP address and port number carried in the data message and the IP address and the port number in the AID. The corresponding binding relationship of the port number selected by ASR. The port number selected by the ASR is a port number not used by the terminal selected by the ASR within the fixed port number range of N bits of the binary port number in the AID.

进一步地,所述ASR还包括:获知模块,用于接收所述发送模块发送的所述数据报文的响应数据报文,根据所述响应数据报文中携带的IP地址和端口号以及所述ASR保存的所述对应绑定关系,获知所述终端的IP地址和端口号,并向所述终端发送所述响应数据报文。Further, the ASR further includes: a learning module, configured to receive a response data packet of the data packet sent by the sending module, and according to the IP address and port number carried in the response data packet and the The corresponding binding relationship saved by the ASR obtains the IP address and port number of the terminal, and sends the response data message to the terminal.

上述功能模块是在该ASR为源ASR时具有的,另外,所述ASR还包括:确定模块,用于所述ASR作为目的ASR时,接收服务器发送的回应数据报文,根据所述回应数据报文中携带的目的地址和端口号确定接收所述回应数据报文的终端的AID。The above functional modules are available when the ASR is the source ASR. In addition, the ASR also includes: a determination module, used for receiving the response data message sent by the server when the ASR is the destination ASR, and according to the response data message The destination address and port number carried in the text determine the AID of the terminal receiving the response data message.

上述ASR可以使用IP地址和二进制端口号的任意N位表示的AID为终端提供服务,并且可以提供足够多的身份标识空间。The above-mentioned ASR can use the AID represented by any N bits of the IP address and the binary port number to provide services for the terminal, and can provide enough space for identification.

本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。Those skilled in the art can understand that all or part of the steps in the above method can be completed by instructing related hardware through a program, and the above program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk, and the like. Optionally, all or part of the steps in the foregoing embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiments may be implemented in the form of hardware, or may be implemented in the form of software function modules. The present invention is not limited to any specific combination of hardware and software.

以上实施例仅用以说明本发明的技术方案而非限制,仅仅参照较佳实施例对本发明进行了详细说明。本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。The above embodiments are only used to illustrate the technical solutions of the present invention rather than limit them, and the present invention is described in detail with reference to preferred embodiments. Those skilled in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and all should be covered by the claims of the present invention.

Claims (14)

1.一种数据报文的处理方法,该方法包括:1. A processing method for a data message, the method comprising: 接入服务路由器ASR接收终端发送的数据报文,保存所述数据报文中携带的IP地址和端口号与所述终端的身份标识AID中的IP地址和所述ASR选择的端口号的对应绑定关系,并将所述数据报文携带的IP地址和端口号对应地替换为所述AID中的IP地址和所述ASR选择的端口号,其中,所述AID由IP地址和二进制端口号的任意N位表示,N为大于等于1小于二进制端口号位数的整数;所述二进制端口号的任意N位包括所述二进制端口号的高N位;The access service router ASR receives the data packet sent by the terminal, and saves the corresponding binding between the IP address and port number carried in the data packet and the IP address in the terminal's identity identifier AID and the port number selected by the ASR. determine the relationship, and replace the IP address and port number carried by the data message with the IP address in the AID and the port number selected by the ASR, wherein the AID consists of the IP address and the binary port number Arbitrary N bits indicate that N is an integer greater than or equal to 1 and less than the number of digits of the binary port number; any N bits of the binary port number include the high N bits of the binary port number; 所述ASR发送完成替换后的数据报文。The ASR sends the replaced data message. 2.根据权利要求1所述的方法,其特征在于:2. The method according to claim 1, characterized in that: 所述ASR接收终端发送的数据报文之前,所述方法还包括:Before the ASR receives the data message sent by the terminal, the method also includes: 所述ASR接收所述终端发送的注册信令,根据所述注册信令查询身份位置寄存器ILR获得所述终端的AID;The ASR receives the registration signaling sent by the terminal, and queries the identity location register ILR according to the registration signaling to obtain the AID of the terminal; 所述ASR为终端分配IP地址,保存所述IP地址和所述AID的绑定关系。The ASR allocates an IP address for the terminal, and saves the binding relationship between the IP address and the AID. 3.根据权利要求2所述的方法,其特征在于:3. The method according to claim 2, characterized in that: 所述ASR保存所述数据报文中携带的IP地址和端口号与终端身份标识AID中的IP地址和所述ASR选择的端口号的对应绑定关系,包括:The ASR saves the corresponding binding relationship between the IP address and port number carried in the data message and the IP address in the terminal identity AID and the port number selected by the ASR, including: 所述ASR根据数据报文中携带的IP地址和所述绑定关系获得终端的AID,保存所述数据报文中携带的IP地址和端口号与所述AID中的IP地址和所述ASR选择的端口号的对应绑定关系。The ASR obtains the AID of the terminal according to the IP address carried in the data message and the binding relationship, and saves the IP address and port number carried in the data message and the IP address in the AID and the ASR selection The corresponding binding relationship of the port number. 4.根据权利要求3所述的方法,其特征在于:4. The method according to claim 3, characterized in that: 所述ASR选择的端口号为所述ASR在所述AID中二进制端口号的N位固定的端口号范围内选择的一个所述终端未使用的端口号。The port number selected by the ASR is a port number not used by the terminal selected by the ASR within the fixed port number range of N bits of the binary port number in the AID. 5.根据权利要求1所述的方法,其特征在于:5. The method according to claim 1, characterized in that: 当所述二进制端口号位数为16时,所述二进制端口号的高N位为二进制端口号的高3位、高4位、高5位或高6位。When the binary port number has 16 digits, the high N bits of the binary port number are the high 3 bits, the high 4 bits, the high 5 bits or the high 6 bits of the binary port number. 6.根据权利要求1-5任一权利要求所述的方法,其特征在于:6. The method according to any one of claims 1-5, characterized in that: 所述ASR发送完成替换后的数据报文之后,所述方法还包括:After the ASR sends the replaced data message, the method further includes: 所述ASR接收所述数据报文的响应数据报文,根据所述响应数据报文中携带的IP地址和端口号以及所述ASR保存的所述对应绑定关系,获知所述终端的IP地址和端口号,并向所述终端发送所述响应数据报文。The ASR receives the response data message of the data message, and obtains the IP address of the terminal according to the IP address and port number carried in the response data message and the corresponding binding relationship stored by the ASR and port number, and send the response data packet to the terminal. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, further comprising: 所述ASR接收服务器发送的回应数据报文,根据所述回应数据报文中携带的目的地址和端口号确定接收所述回应数据报文的终端的AID。The ASR receives the response data message sent by the server, and determines the AID of the terminal receiving the response data message according to the destination address and port number carried in the response data message. 8.一种接入服务路由器ASR,该ASR包括:8. An access service router ASR, the ASR comprising: 替换模块,用于所述ASR作为源ASR时,接收终端发送的数据报文,保存所述数据报文中携带的IP地址和端口号与所述终端的身份标识AID中的IP地址和所述ASR选择的端口号的对应绑定关系,并将所述数据报文携带的IP地址和端口号对应地替换为所述AID中的IP地址和所述ASR选择的端口号,其中,所述AID由IP地址和二进制端口号的任意N位表示,N为大于等于1小于二进制端口号位数的整数;所述二进制端口号的任意N位包括所述二进制端口号的高N位;The replacement module is used to receive the data message sent by the terminal when the ASR is used as the source ASR, and save the IP address and port number carried in the data message and the IP address in the terminal's identity identifier AID and the The corresponding binding relationship of the port number selected by the ASR, and correspondingly replace the IP address and port number carried in the data message with the IP address in the AID and the port number selected by the ASR, wherein the AID Represented by any N bits of the IP address and the binary port number, N is an integer greater than or equal to 1 and less than the number of bits of the binary port number; any N bits of the binary port number include the high N bits of the binary port number; 发送模块,用于发送所述替换模块完成替换后的数据报文。A sending module, configured to send the data message after the replacement module completes the replacement. 9.根据权利要求8所述的ASR,其特征在于,所述ASR还包括:9. The ASR according to claim 8, wherein the ASR further comprises: 查询模块,用于在所述替换模块接收终端发送的数据报文之前,接收所述终端发送的注册信令,根据所述注册信令查询身份位置寄存器ILR获得所述终端的AID;The query module is used to receive the registration signaling sent by the terminal before the replacement module receives the data message sent by the terminal, and query the identity location register ILR according to the registration signaling to obtain the AID of the terminal; 保存模块,用于为终端分配IP地址,保存所述IP地址和所述AID的绑定关系。A saving module, configured to assign an IP address to the terminal, and save the binding relationship between the IP address and the AID. 10.根据权利要求9所述的ASR,其特征在于:10. The ASR according to claim 9, characterized in that: 所述替换模块保存所述数据报文中携带的IP地址和端口号与终端身份标识AID中的IP地址和所述ASR选择的端口号的对应绑定关系,是用于:The replacement module saves the corresponding binding relationship between the IP address and port number carried in the data message and the IP address in the terminal identity AID and the port number selected by the ASR, and is used for: 根据数据报文中携带的IP地址和所述保存模块保存的所述绑定关系获得终端的AID,保存所述数据报文中携带的IP地址和端口号与所述AID中的IP地址和所述ASR选择的端口号的对应绑定关系。Obtain the AID of the terminal according to the IP address carried in the data message and the binding relationship stored by the saving module, and save the IP address and port number carried in the data message and the IP address and the port number in the AID. The corresponding binding relationship of the port number selected by the above ASR. 11.根据权利要求10所述的ASR,其特征在于:11. ASR according to claim 10, characterized in that: 所述ASR选择的端口号为所述ASR在所述AID中二进制端口号的N位固定的端口号范围内选择的一个所述终端未使用的端口号。The port number selected by the ASR is a port number not used by the terminal selected by the ASR within the fixed port number range of N bits of the binary port number in the AID. 12.根据权利要求8所述的ASR,其特征在于:12. The ASR according to claim 8, characterized in that: 当所述二进制端口号位数为16时,所述二进制端口号的高N位为二进制端口号的高3位、高4位、高5位或高6位。When the binary port number has 16 digits, the high N bits of the binary port number are the high 3 bits, the high 4 bits, the high 5 bits or the high 6 bits of the binary port number. 13.根据权利要求8-12任一权利要求所述的ASR,其特征在于,所述ASR还包括:13. The ASR according to any one of claims 8-12, wherein the ASR further comprises: 获知模块,用于接收所述发送模块发送的所述数据报文的响应数据报文,根据所述响应数据报文中携带的IP地址和端口号以及所述ASR保存的所述对应绑定关系,获知所述终端的IP地址和端口号,并向所述终端发送所述响应数据报文。A learning module, configured to receive the response data message of the data message sent by the sending module, according to the IP address and port number carried in the response data message and the corresponding binding relationship saved by the ASR , obtain the IP address and port number of the terminal, and send the response data packet to the terminal. 14.根据权利要求13所述的ASR,其特征在于,所述ASR还包括:14. The ASR according to claim 13, wherein the ASR further comprises: 确定模块,用于所述ASR作为目的ASR时,接收服务器发送的回应数据报文,根据所述回应数据报文中携带的目的地址和端口号确定接收所述回应数据报文的终端的AID。The determination module is used to receive the response data message sent by the server when the ASR is used as the destination ASR, and determine the AID of the terminal receiving the response data message according to the destination address and port number carried in the response data message.

CN201110243069.3A 2011-08-23 2011-08-23 The processing method and access service router of data message Active CN102957756B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110243069.3A CN102957756B (en) 2011-08-23 2011-08-23 The processing method and access service router of data message
PCT/CN2012/076641 WO2013026305A1 (en) 2011-08-23 2012-06-08 Data message processing method and access service router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110243069.3A CN102957756B (en) 2011-08-23 2011-08-23 The processing method and access service router of data message

Publications (2)

Publication Number Publication Date
CN102957756A CN102957756A (en) 2013-03-06
CN102957756B true CN102957756B (en) 2017-10-17

Family

ID=47745894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110243069.3A Active CN102957756B (en) 2011-08-23 2011-08-23 The processing method and access service router of data message

Country Status (2)

Country Link
CN (1) CN102957756B (en)
WO (1) WO2013026305A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754656A (en) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 Method for increasing terminal available ports, access service router and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1564929A1 (en) * 2004-02-13 2005-08-17 TeliaSonera Finland Oyj Packet-data-based group communication
CN1856163A (en) * 2005-04-27 2006-11-01 华为技术有限公司 Communication system with dialog board controller and its command transmitting method
CN101938413A (en) * 2010-08-26 2011-01-05 北京交通大学 A Transition Method from Traditional Internet to Integrated Identification Network
WO2011032451A1 (en) * 2009-09-16 2011-03-24 中兴通讯股份有限公司 Method, system and access service router for implementing multicast service
CN102026166A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Method of identity identification, cross-network communication and service transplantation as well as information intercommunication network architecture
CN102148765A (en) * 2011-05-10 2011-08-10 北京交通大学 Method for realizing interconnection of integrated identification network and traditional IPv4 (Internet Protocol Version 4) internet

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7174371B2 (en) * 2002-07-08 2007-02-06 Packetfront Sweden Ab Dynamic port configuration of network equipment
CN102014043B (en) * 2009-09-08 2013-12-04 中兴通讯股份有限公司 Address mapping system, data transmission method and address mapping maintenance method
CN101656765B (en) * 2009-09-14 2013-01-16 中兴通讯股份有限公司 Address mapping system and data transmission method of identifier/locator separation network
CN102045244A (en) * 2009-10-10 2011-05-04 中兴通讯股份有限公司 IPV4 (Internet Protocol Version 4) network as well as implementation method and system for intercommunicating with new network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1564929A1 (en) * 2004-02-13 2005-08-17 TeliaSonera Finland Oyj Packet-data-based group communication
CN1856163A (en) * 2005-04-27 2006-11-01 华为技术有限公司 Communication system with dialog board controller and its command transmitting method
WO2011032451A1 (en) * 2009-09-16 2011-03-24 中兴通讯股份有限公司 Method, system and access service router for implementing multicast service
CN102026166A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Method of identity identification, cross-network communication and service transplantation as well as information intercommunication network architecture
CN101938413A (en) * 2010-08-26 2011-01-05 北京交通大学 A Transition Method from Traditional Internet to Integrated Identification Network
CN102148765A (en) * 2011-05-10 2011-08-10 北京交通大学 Method for realizing interconnection of integrated identification network and traditional IPv4 (Internet Protocol Version 4) internet

Also Published As

Publication number Publication date
CN102957756A (en) 2013-03-06
WO2013026305A1 (en) 2013-02-28

Similar Documents

Publication Publication Date Title
US20240022511A1 (en) 2024-01-18 Stateless Protocol Translation
CN102025702B (en) 2014-11-05 Network based on identity and position separation frame, and backbone network and network element thereof
JP5479599B2 (en) 2014-04-23 COMMUNICATION METHOD, DATA MESSAGE TRANSFER METHOD IN COMMUNICATION PROCESS, AND COMMUNICATION NODE
US8989196B2 (en) 2015-03-24 Method and apparatus for providing host node awareness for multiple NAT64 environments
TWI516070B (en) 2016-01-01 Improved dual stacking solution with private IPv4 reachability
KR101191721B1 (en) 2012-10-16 METHOD FOR GENERATING AND MANAGING CONNECTION IDENTIFIERS FOR SUPPORTING GROUP MULTICASTING IN IPv6-BASED WIRELESS NETWORK AND NETWORK INTERFACE OF ENABLING THE METHOD
CN102026166B (en) 2014-03-19 Method of identity identification, cross-network communication and service transplantation as well as information intercommunication network architecture
CN102025600B (en) 2014-11-05 Method, system and router for transmitting and receiving data
US8843588B2 (en) 2014-09-23 Methods, apparatuses, related computer program product and data structure for distributed storage of service provision-related information
CN102571999B (en) 2016-03-30 A kind of data transmission method, system and IAD
CN102025604B (en) 2014-11-05 Carrying network and data transmission method
US9326125B2 (en) 2016-04-26 Device and method for realizing identity and locator separation network
CN115428415B (en) 2024-11-15 System and method for forwarding messages in a layered network architecture using variable length addresses
CN102056166B (en) 2014-04-09 Multihoming implementation method and system in IPSPLIT network
CN102957756B (en) 2017-10-17 The processing method and access service router of data message
CN112787932A (en) 2021-05-11 Method, device and system for generating forwarding information
KR101184122B1 (en) 2012-09-19 Method for providing mobility of device moving to mobile network in wireless sensor network based on 6LoWPAN
CN102957618B (en) 2017-03-29 The identity-based locator separation network server means of communication, system and server
US20240154936A1 (en) 2024-05-09 Proxy address resolution protocol for distributed local area network communications
CN104468305A (en) 2015-03-25 Three-layer virtual private network achieving method and device
CN102684972A (en) 2012-09-19 Communication method and communication system compatible with IP (internet protocol)v4 address
US20160142366A1 (en) 2016-05-19 Method and system for automatic provisioning of enterprise private network over 3g/4g mobile wireless networks while maintaining respectively consistent identities

Legal Events

Date Code Title Description
2013-03-06 C06 Publication
2013-03-06 PB01 Publication
2014-06-11 C10 Entry into substantive examination
2014-06-11 SE01 Entry into force of request for substantive examination
2017-10-17 GR01 Patent grant
2017-10-17 GR01 Patent grant
2020-12-29 TR01 Transfer of patent right
2020-12-29 TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: No.58 Minjiang Road, Yancheng Economic and Technological Development Zone, Jiangsu Province 224000

Patentee after: JIANGSU YIDA AUTOMOBILE PARTS Co.,Ltd.

Address before: 518057 Ministry of justice, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Patentee before: ZTE Corp.

2021-07-06 TR01 Transfer of patent right
2021-07-06 TR01 Transfer of patent right

Effective date of registration: 20210623

Address after: No.66 Lijiang Road, Yancheng Economic and Technological Development Zone, Jiangsu Province 224000

Patentee after: Jiangsu Optical Valley Industry Investment Development Co.,Ltd.

Address before: No.58 Minjiang Road, Yancheng Economic and Technological Development Zone, Jiangsu Province 224000

Patentee before: JIANGSU YIDA AUTOMOBILE PARTS Co.,Ltd.