[go: up one dir, main page]

CN102378150B - Data transmission method and proxy entity - Google Patents

Data transmission method and proxy entity Download PDF

Info

Publication number
CN102378150B
CN102378150B CN201010264569.0A CN201010264569A CN102378150B CN 102378150 B CN102378150 B CN 102378150B CN 201010264569 A CN201010264569 A CN 201010264569A CN 102378150 B CN102378150 B CN 102378150B
Authority
CN
China
Prior art keywords
user
equipment
source
user equipment
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010264569.0A
Other languages
Chinese (zh)
Other versions
CN102378150A (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.)
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 CN201010264569.0A priority Critical patent/CN102378150B/en
Publication of CN102378150A publication Critical patent/CN102378150A/en
Application granted granted Critical
Publication of CN102378150B publication Critical patent/CN102378150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种数据传输方法和代理实体,包括:代理实体接收源IP用户设备发送的上行数据包,将所述上行数据包的源地址修改为所述代理实体的位置标识;并在所述上行数据包的目的地址不是目的用户设备所在域的域路由器的位置标识时,根据所述目的用户设备的用户标识或域名,从位置服务器获取目的用户设备所在域的域路由器的位置标识,将所述上行数据包的目的地址修改为所述目的用户设备所在域的域路由器的位置标识发送修改后的所述上行数据包,实施本发明实施例,使得仅支持IP协议的用户设备都能够成功接入基于用户身份的移动管理系统架构中,提高用户设备的移动性管理性能,有利于移动管理系统架构的实现。

The present invention discloses a data transmission method and a proxy entity, comprising: the proxy entity receives an uplink data packet sent by a source IP user equipment, modifies the source address of the uplink data packet into the location identifier of the proxy entity; and When the destination address of the uplink data packet is not the location identifier of the domain router of the domain where the destination user equipment is located, the location identifier of the domain router of the domain where the destination user equipment is located is obtained from the location server according to the user identifier or domain name of the destination user equipment, and the The destination address of the uplink data packet is modified to be the location identifier of the domain router of the domain where the destination user equipment is located, and the modified uplink data packet is sent, implementing the embodiment of the present invention, so that all user equipment that only support the IP protocol can successfully Access to the mobility management system architecture based on user identity improves the mobility management performance of the user equipment, which is beneficial to the realization of the mobility management system architecture.

Description

数据传输的方法和代理实体Data Transfer Methods and Proxy Entities

技术领域 technical field

本发明涉及通信技术领域,具体涉及一种数据传输的方法和代理实体。The invention relates to the technical field of communication, in particular to a data transmission method and a proxy entity.

背景技术 Background technique

目前因特网(Internet)中使用的IP地址具有拓扑位置(Locator)和标识(Identifier)的双重语义。其中,从网络拓扑的角度来看,IP地址具有所述Locator语义,即IP地址表示某个主机接入网络时的一个拓扑位置,当主机移动时,需要IP地址随之变化;从应用的角度来看,IP地址具有所述标识(Identifier)语义,即IP地址代表了主机的身份,在主机间通信时,IP地址作为了通信双方互相识别的一个标识(Identifier),在应用连接未断开的状态下,需要IP地址能够尽可能长时间的保持不变。在互联网设计之初,IP地址双重语义这种简单的设计符合当时的网络需求,是今天互联网取得巨大成功的重要因素之一。但是,随着互联网用户的增多、无线网络的飞速发展以及人们对无处不在的通信需求的扩大,IP地址这种locator和Identifier耦合的做法导致了一些问题,其中对移动性的支持不好是主要问题之一,即当主机移动时,它接入到网络的位置发生了变化,IP地址需要做相应改变,但此时主机的身份并未变化,IP地址不应该改变,因此产生了矛盾。The IP address currently used in the Internet (Internet) has dual semantics of topological location (Locator) and identifier (Identifier). Among them, from the perspective of network topology, the IP address has the Locator semantics, that is, the IP address represents a topological location when a certain host accesses the network, and when the host moves, the IP address needs to change accordingly; from the perspective of application From the point of view, the IP address has the semantics of the identifier (Identifier), that is, the IP address represents the identity of the host. When communicating between hosts, the IP address is used as an identifier (Identifier) for mutual identification between the two communicating parties. When the application connection is not disconnected In this state, the IP address needs to remain unchanged for as long as possible. At the beginning of the Internet design, the simple design of dual semantics of IP addresses met the needs of the network at that time, and it is one of the important factors for the great success of the Internet today. However, with the increase of Internet users, the rapid development of wireless networks, and the expansion of people's demand for ubiquitous communication, the coupling of locator and identifier of the IP address has caused some problems, among which the poor support for mobility is One of the main problems is that when the host moves, the location where it connects to the network changes, and the IP address needs to be changed accordingly, but at this time the identity of the host has not changed, and the IP address should not change, so a contradiction arises.

另一方面,移动通信和Internet分别取得巨大的发展,促使用户通过移动设备获取Internet服务的需求不断扩大。用户间通信时,很少关注对方位于哪里,使用了什么设备,而主要关注于对方是谁,因此未来的网络必然是以用户而不是以主机为中心的。但是目前的Internet网络架构,是以主机为中心而不是以用户为中心,导致用户并不能随时随地便捷地获取到Internet服务。On the other hand, mobile communications and the Internet have achieved tremendous development respectively, prompting users to continuously expand their demand for Internet services through mobile devices. When users communicate, they seldom pay attention to where the other party is located and what equipment they use, but mainly focus on who the other party is. Therefore, the future network must be user-centric rather than host-centric. However, the current Internet network architecture is host-centered rather than user-centered, resulting in users not being able to conveniently obtain Internet services anytime and anywhere.

这样,为了满足越来越多用户随时随地从Internet上获取到所需的信息和服务的需要,提出了一种基于用户身份的移动管理系统架构,从而解决所述IP地址的双重语义和以用户为中心的网络架构问题。In this way, in order to meet the needs of more and more users to obtain the required information and services from the Internet anytime and anywhere, a mobile management system architecture based on user identity is proposed, so as to solve the dual semantics of the IP address and user identity Centered network architecture issues.

所述提出的基于用户身份的移动管理系统架构,在用户位置发生变化时,难以进行移动性管理。In the proposed mobility management system architecture based on user identity, it is difficult to manage mobility when the location of the user changes.

发明内容 Contents of the invention

本发明实施例提供一种代理实体的装置和方法以实现各种协议的终端基于用户身份的移动管理系统架构的移动性管理。Embodiments of the present invention provide a proxy entity device and method to implement mobility management of terminals of various protocols based on user identity mobility management system architecture.

为解决上述技术问题,本发明实施例提供一种数据传输方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a data transmission method, including:

代理实体接收源IP用户设备发送的上行数据包,所述数据包携带所述IP用户设备的IP地址;The proxy entity receives the uplink data packet sent by the source IP user equipment, where the data packet carries the IP address of the IP user equipment;

将所述数据包的源地址修改为所述代理实体的位置标识;并在所述数据包的目的地址不是目的用户设备所在域的域路由器的位置标识时,根据所述目的用户设备的用户标识或域名,从位置服务器获取用户设备所在域的域路由器的位置标识,将数据包的目的地址修改为所述位置标识;Modifying the source address of the data packet to the location identifier of the proxy entity; and when the destination address of the data packet is not the location identifier of the domain router of the domain where the destination user equipment is located, according to the user identifier of the destination user equipment or domain name, obtain the location identifier of the domain router of the domain where the user equipment is located from the location server, and modify the destination address of the data packet to the location identifier;

所述代理实体根据所述目的地址发送修改后的所述数据包。The proxy entity sends the modified data packet according to the destination address.

相应的,本发明实施例还提供一种数据传输方法,包括:Correspondingly, the embodiment of the present invention also provides a data transmission method, including:

接收域路由器发送的上行数据包,所述数据包携带目的IP用户设备的用户标识;receiving the uplink data packet sent by the domain router, the data packet carrying the user identifier of the destination IP user equipment;

根据所述目的IP用户设备的用户标识,获取目的IP用户设备的IP地址,并将数据包的目的地址修改为所述IP地址;Obtaining the IP address of the destination IP user equipment according to the user identifier of the destination IP user equipment, and modifying the destination address of the data packet to the IP address;

根据所述IP地址发送所述数据包。sending the data packet according to the IP address.

相应的,本发明实施例还提供一种代理实体,包括:Correspondingly, the embodiment of the present invention also provides a proxy entity, including:

获取模块,用于在所述数据包的目的地址不是目的用户设备的位置标识时,根据所述目的用户设备的用户标识或域名,从位置服务器获取用户设备所在域的域路由器的位置标识;An obtaining module, configured to obtain, from a location server, the location identifier of the domain router of the domain where the user equipment is located according to the user identifier or domain name of the destination user equipment when the destination address of the data packet is not the location identifier of the destination user equipment;

更新模块,用于将所述数据包的源地址修改为所述代理实体的位置标识,并,在所述数据包的目的地址不是目的用户设备的位置标识时,将数据包的目的地址修改为查询模块查询到的所述位置标识;An update module, configured to modify the source address of the data packet to the location identifier of the proxy entity, and, when the destination address of the data packet is not the location identifier of the destination user equipment, modify the destination address of the data packet to The location identifier queried by the query module;

发送模块,用于根据所述目的地址发送修改后的所述数据包。A sending module, configured to send the modified data packet according to the destination address.

由上可见,本发明实施例的技术方案具有如下有益效果:As can be seen from the above, the technical solutions of the embodiments of the present invention have the following beneficial effects:

本发明实施例提供的一种数据传输的方法,通过接收源IP用户设备发送的数据包,根据数据包目的地址的不同,通过修改数据包的源地址、目的地址,实现将IP用户设备的数据包在基于用户身份的移动性管理系统中的传输和交换,使得不支持UIP协议的用户设备都能够成功接入基于用户身份的移动管理系统架构中,提高用户设备的移动性管理性能,有利于移动管理系统架构的实现。According to a data transmission method provided by the embodiment of the present invention, by receiving the data packet sent by the source IP user equipment, according to the difference of the destination address of the data packet, by modifying the source address and the destination address of the data packet, the data of the IP user equipment is transferred to The transmission and exchange of packets in the mobility management system based on user identity enables user equipment that does not support the UIP protocol to successfully access the architecture of the mobility management system based on user identity, improving the mobility management performance of user equipment, which is beneficial to Implementation of mobile management system architecture.

附图说明 Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1是基于用户身份的移动性管理系统架构是示意图;FIG. 1 is a schematic diagram of a mobility management system architecture based on user identity;

图2是本发明第一实施例提供的数据传输的方法流程图;Fig. 2 is a flow chart of the data transmission method provided by the first embodiment of the present invention;

图3是本发明第二实施例提供的数据传输的方法流程图;Fig. 3 is a flow chart of a data transmission method provided by the second embodiment of the present invention;

图4是本发明第三实施例提供的数据传输方法流程图;Fig. 4 is a flow chart of a data transmission method provided by a third embodiment of the present invention;

图5是本发明第四实施例提供的数据传输方法流程图;FIG. 5 is a flowchart of a data transmission method provided by a fourth embodiment of the present invention;

图6是本发明第五实施例提供的代理实体的结构示意图。Fig. 6 is a schematic structural diagram of a proxy entity provided by a fifth embodiment of the present invention.

具体实施方式 Detailed ways

首先对所述基于用户身份的移动管理系统架构进行简单的介绍。如图1所示,其中,所述基于用户身份的移动管理系统,将整个网络划分为多个域,其中所述的域可以根据网络的拓扑信息、运营策略、地理位置信息等为依据进行划分;每个域中至少包括:一个签约位置服务器(Subscriber Location Server,SLS)、至少一个域路由设备(Domain Router,DR)。在所述基于用户身份的移动管理系统中,还可以包含一个独立于各个域的全局签约位置服务器(Global SLS)。First, a brief introduction is made to the architecture of the mobility management system based on user identity. As shown in Figure 1, wherein, the mobile management system based on user identity divides the entire network into multiple domains, wherein the domains can be divided according to network topology information, operation policies, geographical location information, etc. ; Each domain includes at least one Subscriber Location Server (SLS), and at least one Domain Router (DR). In the mobility management system based on user identity, a Global Subscriber Location Server (Global SLS) independent of each domain may also be included.

其中,所述全局签约位置服务器Global SLS中存储家乡域Home Domain信息。用户标识中可以包含用户Home Domain的指示,Global SLS可以根据用户标识中包含的用户Home Domain的指示查询对应的Home Domain信息,进而得到该用户的Home SLS。所述签约位置服务器SLS中存储其签约用户的签约信息以及所述签约用户的用户标识和该用户当前连接到的DR之间的映射关系,SLS中还可以存储漫游到本域的其他域用户的相关信息,所述用户的签约信息包括用户标识、用户上下文、用户档案(profile)等等。该签约域称为该用户的家乡域(Home Domain),当用户移动出家乡域,到达另一个域时,则该另一个域称为该用户的访问域(Visited Domain)。另外,所述SLS还用于为接入其域中的用户分配DR。所述域路由设备DR中存储用户标识和用户当前的本地拓扑位置(local locator)的映射关系;所述DR为数据面实体,用于处理数据相关的信令,同时负责域内外的数据转发,另外,当用户的移动需要进行DR切换更新时,则切换后的DR将用户的DR更新通知到SLS。Wherein, the Global SLS stores Home Domain information in the Global SLS. The user ID can contain the indication of the user's Home Domain, and the Global SLS can query the corresponding Home Domain information according to the indication of the user's Home Domain contained in the user ID, and then obtain the user's Home SLS. The subscription location server SLS stores the subscription information of its subscribers and the mapping relationship between the user ID of the subscriber and the DR the user is currently connected to. Related information, the subscription information of the user includes user identifier, user context, user profile (profile) and so on. The subscription domain is called the user's home domain (Home Domain). When the user moves out of the home domain and arrives at another domain, the other domain is called the user's visited domain (Visited Domain). In addition, the SLS is also used to assign DRs to users accessing its domain. The domain routing device DR stores the mapping relationship between the user identifier and the user's current local topological location (local locator); the DR is a data plane entity, which is used to process data-related signaling, and is also responsible for data forwarding inside and outside the domain, In addition, when the user's movement requires DR switching and updating, the DR after switching notifies the SLS of the user's DR updating.

还需要注意的是,在每个域内采用一种称为local locator的位置标识来实现数据包的路由,local locator不要求全局唯一,只要求域内唯一。但是,分属于不同域的网络实体间通信,或域内网络实体与Internet上的网络实体通信时,需要使用一种称为全局拓扑位置Global locator的位置标识,Global locator要求全局唯一。这样,就要求第一级数据汇聚点DR至少应该具有一个Globallocator。It should also be noted that in each domain, a location identifier called a local locator is used to implement the routing of data packets. The local locator does not require global uniqueness, but only requires uniqueness within the domain. However, when network entities belonging to different domains communicate, or network entities within a domain communicate with network entities on the Internet, a location identifier called a global topological location Global locator needs to be used, and the Global locator requires global uniqueness. In this way, it is required that the first-level data rendezvous point DR should have at least one Globallocator.

普通的IP用户设备要在上述的网络架构中进行数据包传输时,数据包需要经过该IP用户设备所在域的域内的代理实体(User Identity Protocol proxy,UIPproxy)转发,普通IP用户设备才能完成与上述网络架构中的设备的数据包交换。下面对本发明实施例提供的数据传输的方法进行描述。When an ordinary IP user equipment needs to transmit data packets in the above network architecture, the data packet needs to be forwarded by a proxy entity (User Identity Protocol proxy, UIPproxy) in the domain where the IP user equipment is located, and the ordinary IP user equipment can complete the communication with the IP user equipment. Packet switching of devices in the above network architecture. The data transmission method provided by the embodiment of the present invention is described below.

实施例一Embodiment one

下面对本发明提供的数据传输的方法的第一实施例进行说明,所述数据传输的方法包括:The first embodiment of the data transmission method provided by the present invention will be described below. The data transmission method includes:

步骤1101,代理实体接收源IP用户设备发送的上行数据包。Step 1101, the proxy entity receives the uplink data packet sent by the source IP user equipment.

源用户设备需要与目的用户设备进行数据包的交换,源用户设备将数据包发送到目的设备的过程中,该数据包称为上行数据包,目的用户设备接收到该进过转换后将数据包返回给源用户设备,数据包从目的用户设备返回到源用户设备的过程中,该数据包称做下行数据包。在所述数据包携带所述IP用户设备的IP地址。The source user equipment needs to exchange data packets with the destination user equipment. When the source user equipment sends the data packet to the destination equipment, the data packet is called an uplink data packet, and the destination user equipment converts the data packet after receiving it. Returning to the source user equipment, during the process of returning the data packet from the destination user equipment to the source user equipment, the data packet is called a downlink data packet. The IP address of the IP user equipment is carried in the data packet.

步骤1102,将上行数据包的源地址修改为所述代理实体的位置标识;并在上行数据包的目的地址不是目的用户设备所在域的域路由器的位置标识时,根据所述目的用户设备的用户标识或域名,从位置服务器获取用户设备所在域的域路由器的位置标识,将上行数据包的目的地址修改为目的用户设备所在域的域路由器的位置标识。Step 1102, modify the source address of the uplink data packet to the location identifier of the proxy entity; and when the destination address of the uplink data packet is not the location identifier of the domain router of the domain where the destination user equipment is located, according to the user of the destination user equipment ID or domain name, obtain the location identifier of the domain router of the domain where the user equipment is located from the location server, and modify the destination address of the uplink data packet to the location identifier of the domain router of the domain where the destination user equipment is located.

若目的地址为目的用户设备所在域的域名或者用户标识,则根据所述目的用户设备的用户标识或域名,从位置服务器获取用户设备所在域的域路由器的位置标识,将数据包的目的地址修改为所述位置标识,并且将源地址修改为代理实体自身的位置标识。If the destination address is the domain name or user identifier of the domain where the destination user equipment is located, then according to the user identifier or domain name of the destination user equipment, obtain the location identifier of the domain router of the domain where the user equipment is located from the location server, and modify the destination address of the data packet ID for the location, and modify the source address to the location identifier of the proxy entity itself.

步骤1103,代理实体根据所述目的地址发送修改后的所述数据包。Step 1103, the proxy entity sends the modified data packet according to the destination address.

数据包的源地址为代理实体的位置标识,目的地址为目的用户设备所在域的域路由器的位置标识,将该数据包发送给源域的域路由器,源域路由器根据源用户设备和目的用户设备的用户标识寻址,由源域的域路由器转发到目的域的域路由器,从而发送到目的域的目的用户设备。The source address of the data packet is the location identifier of the proxy entity, and the destination address is the location identifier of the domain router of the domain where the destination user equipment is located. The data packet is sent to the domain router of the source domain, and the source domain router The user ID addressing is forwarded by the domain router in the source domain to the domain router in the destination domain, and then sent to the destination user equipment in the destination domain.

本实施例提供的一种数据传输的方法,通过接收源IP用户设备发送的数据包,根据数据包目的地址的不同,通过修改数据包的源地址、目的地址,实现将IP用户设备的数据包在基于用户身份的移动性管理系统中的传输和交换,使得不支持UIP协议的用户设备都能够成功接入基于用户身份的移动管理系统架构中,提高用户设备的移动性管理性能,有利于移动管理系统架构的实现。A method of data transmission provided by this embodiment, by receiving the data packet sent by the source IP user equipment, according to the difference of the destination address of the data packet, by modifying the source address and destination address of the data packet, the data packet of the IP user equipment The transmission and exchange in the mobility management system based on user identity enables user equipment that does not support the UIP protocol to successfully access the architecture of the mobility management system based on user identity, improving the mobility management performance of user equipment, which is beneficial to mobile Implementation of the management system architecture.

实施例二Embodiment two

下面对本发明提供的数据传输的方法的第二实施例进行说明,本实施例以在不同域内的源IP用户设备与目的UIP用户设备进行数据包交换为例进行说明,所述数据传输的方法包括:The second embodiment of the data transmission method provided by the present invention will be described below. In this embodiment, the data packet exchange between the source IP user equipment and the destination UIP user equipment in different domains is used as an example for illustration. The data transmission method includes :

在源IP用户设备入网时,网络侧会为IP用户设备分配一个用户标识来表示这个IP用户设备,IP用户设备获得用户标识的过程为可以为:由网络侧为IP用户设备分配用户标识,IP用户设备接入认证完成后,网络侧将该用户标识发送给UIP proxy,由UIP proxy保存这个用户标识以及这个用户标识与IP地址的对应关系,并将这个用户标识发送到位置服务器中;或者,由IP用户设备自身发起DHCP过程,UIP proxy接收IP用户设备的注册请求消息,然后到位置服务器注册这个IP用户设备,位置服务器就会为IP用户设备分配一个用户标识并将这个标识发送给UIP proxy,UIP proxy接收到这个用户标识后,保存这个用户标识并将这个用户标识以及这个用户标识与IP地址的对应关系;或者,UIP proxy为该IP用户设备指定一个用户标识,可以直接指定IP地址作为IP用户设备的用户标识,或者,由UIP proxy给IP用户设备分配一个域内唯一的标识作为用户标识来表示该IP用户设备,这个标识只要满足域内唯一分配即可,可以是MAC地址或者其他用户设备某一固有属性按照某种方式或算法进行派生的标识,再将分配的IP用户设备通知到签约位置服务器等设备。此外,UIP proxy上还保存了IP用户设备的IP地址和用户标识,以及两者的对应关系。When the source IP user equipment enters the network, the network side will assign a user ID to the IP user equipment to represent the IP user equipment. After the user equipment access authentication is completed, the network side sends the user ID to the UIP proxy, and the UIP proxy saves the user ID and the correspondence between the user ID and the IP address, and sends the user ID to the location server; or, The DHCP process is initiated by the IP user equipment itself, UIP proxy receives the registration request message of the IP user equipment, and then registers the IP user equipment with the location server, and the location server will assign a user ID to the IP user equipment and send this ID to UIP proxy , after UIP proxy receives the user ID, it saves the user ID and the corresponding relationship between the user ID and the user ID and the IP address; or, the UIP proxy specifies a user ID for the IP user equipment, and can directly specify the IP address as The user ID of the IP user equipment, or, the UIP proxy assigns a unique ID in the domain to the IP user equipment as the user ID to represent the IP user equipment. This ID can be a MAC address or other user equipment as long as it satisfies the unique allocation in the domain. A certain inherent attribute is identified by derivation according to a certain method or algorithm, and then the allocated IP user equipment is notified to the contracted location server and other equipment. In addition, the UIP proxy also stores the IP address and user ID of the IP user device, as well as the correspondence between the two.

步骤1201,源IP用户设备根据自身的IP地址和目的UIP用户设备所在域的域路由器的位置标识或者目的UIP用户设备的用户标识,构造数据包。Step 1201, the source IP user equipment constructs a data packet according to its own IP address and the location identifier of the domain router of the domain where the destination UIP user equipment is located or the user identifier of the destination UIP user equipment.

该数据包的源地址为源IP用户设备的IP地址,该数据包的目的地址可以为目的UIP用户设备所在域的域路由器的位置标识或UIP用户设备的用户标识。The source address of the data packet is the IP address of the source IP user equipment, and the destination address of the data packet may be the location identifier of the domain router of the domain where the destination UIP user equipment is located or the user identifier of the UIP user equipment.

若IP用户设备上既没有目的UIP用户设备所在域的域路由器的位置标识,源IP用户设备通过UIP proxy进行查询。该查询过程如下所述:If there is neither the location identifier of the domain router of the domain where the destination UIP user equipment is located on the IP user equipment, the source IP user equipment queries through the UIP proxy. The query process is as follows:

源IP用户设备发送查询请求消息,该消息携带目的UIP用户设备的用户标识;The source IP user equipment sends a query request message, which carries the user identifier of the destination UIP user equipment;

UIP proxy接收源IP用户设备的查询请求消息,根据所述域名或者用户标识到位置服务器上进行查询,查询目的UIP用户设备所在域的域路由器的位置标识,保存查询到的用户标识和域路由器的位置以及两者的对应关系,并将查询结果返回给源IP用户设备。UIP proxy receives the query request message of the source IP user equipment, searches on the location server according to the domain name or the user identification, queries the location identification of the domain router of the domain where the destination UIP user equipment is located, and saves the inquired user identification and the location of the domain router The location and the corresponding relationship between the two, and return the query result to the source IP user equipment.

源IP用户设备根据UIP proxy返回的目的UIP用户设备所在域的域路由器的位置标识更新为数据包的目的地址。源IP用户设备也可以不通过UIPproxy查找该位置标识,就以目的用户设备的用户标识作为目的地址,构造数据包,发送给UIP proxy。The source IP user equipment is updated as the destination address of the data packet according to the location identifier of the domain router of the domain where the destination UIP user equipment is located returned by the UIP proxy. The source IP user equipment can also not search for the location identifier by UIPproxy, and just use the user identifier of the destination user equipment as the destination address to construct a data packet and send it to UIP proxy.

步骤1202,UIP proxy接收发自源IP用户设备的数据包,所述数据包的源地址为源IP用户设备的IP地址,目的地址为目的用户设备所在域的域路由器的位置标识或目的用户设备的用户标识。Step 1202, UIP proxy receives the data packet sent from the source IP user equipment, the source address of the data packet is the IP address of the source IP user equipment, and the destination address is the location identifier of the domain router of the domain where the destination user equipment is located or the destination user equipment User ID for .

若目的地址为目的UIP用户设备所在域的域路由器的位置标识,则进入步骤1204,若目的地址为目的UIP用户设备的用户标识,则进入步骤1203。If the destination address is the location identifier of the domain router of the domain where the destination UIP user equipment is located, then go to step 1204; if the destination address is the user identifier of the destination UIP user equipment, go to step 1203.

步骤1203,根据所述目的用户设备的用户标识,从位置服务器获取用户设备所在域的域路由器的位置标识,将数据包的目的地址修改为所述位置标识。进入步骤1204。Step 1203, according to the user identifier of the destination user equipment, obtain the location identifier of the domain router of the domain where the user equipment is located from the location server, and modify the destination address of the data packet to the location identifier. Go to step 1204.

步骤1204,UIP proxy将所述数据包的源地址修改为所述代理实体的位置标识;并,在所述数据包中增加所述IP用户设备的用户标识及所述目的用户设备的用户标识。Step 1204, UIP proxy modifies the source address of the data packet to the location identifier of the proxy entity; and adds the user identifier of the IP user equipment and the user identifier of the destination user equipment to the data packet.

在数据包的目的地址为目的UIP用户设备的用户标识时,UIP proxy根据UIP用户设备的用户标识,到位置服务器查询所述用户标识的UIP用户设备所在域的域路由器的位置标识,将数据包的目的地址更新所述位置标识;将源地址更新为代理实体UIP proxy自身的位置标识;在数据包的目的地址为目的用户设备所在域的域路由器的位置标识时,不用更改该目的地址。When the destination address of the data packet is the user identification of the destination UIP user equipment, the UIP proxy searches the location server for the location identification of the domain router in the domain where the UIP user equipment of the user identification is located according to the user identification of the UIP user equipment, and sends the data packet The destination address of the update said location identifier; Source address is updated to the location identifier of the proxy entity UIP proxy itself; When the destination address of the data packet is the location identifier of the domain router of the domain where the destination user equipment is located, the destination address need not be changed.

根据存储的IP地址与用户标识的对应关系,根据数据包携带的IP地址查找用户标识,将源IP用户设备的用户标识和目的UIP用户标识增加到数据包中。According to the corresponding relationship between the stored IP address and the user identifier, the user identifier is searched according to the IP address carried in the data packet, and the user identifier of the source IP user equipment and the destination UIP user identifier are added to the data packet.

此外,UIP proxy还需要在数据包上增加一个信息头,该信息头携带源用户设备和目的用户设备的类型,该类型指示用户设备是支持IP协议的源IP用户设备还是支持UIP协议的UIP用户设备。In addition, UIP proxy also needs to add an information header to the data packet, which carries the types of the source user equipment and the destination user equipment. This type indicates whether the user equipment is a source IP user equipment supporting the IP protocol or a UIP user supporting the UIP protocol. equipment.

步骤1205,UIP proxy将修改后的数据包发送到源域内的域路由器,源域的域路由器根据数据包携带的源地址和目的地址,源用户设备和目的用户设备的用户标识,将源地址替换为源域路由器的全局地址,目的地址修改为目的用户设备所在域的域路由器的地址,并记录源域路由器地址和UIP Proxy地址的对应关系。在实现上,UIP Proxy可以和域路由器部署在一起。将数据包发送到目的用户设备所在域的域路由器的位置。Step 1205, UIP proxy sends the modified data packet to the domain router in the source domain, and the domain router in the source domain replaces the source address with It is the global address of the source domain router, and the destination address is changed to the address of the domain router in the domain where the destination user equipment is located, and the corresponding relationship between the source domain router address and the UIP Proxy address is recorded. In terms of implementation, UIP Proxy can be deployed together with domain routers. Where the packet is sent to the domain router of the domain where the destination user device is located.

步骤1206,目的UIP用户设备的域路由器接收数据包,根据接收的数据包携带的信息,判断目的用户设备是UIP用户设备,并根据目的用户设备的用户标识,查找目的用户设备的位置,从而转发数据包到目的UIP用户设备。该数据包携带目的用户设备的用户标识和源用户设备的用户标识。Step 1206, the domain router of the destination UIP user equipment receives the data packet, judges that the destination user equipment is a UIP user equipment according to the information carried in the received data packet, and searches for the location of the destination user equipment according to the user identification of the destination user equipment, thereby forwarding data packet to the destination UIP user equipment. The data packet carries the user identifier of the destination user equipment and the user identifier of the source user equipment.

目的用户设备的类型为UIP用户设备,后续转发到UIP用户设备的流程不需要通过UIP proxy,按照常规流程进行转发。The type of the destination user equipment is UIP user equipment, and the subsequent process of forwarding to the UIP user equipment does not need to go through the UIP proxy, and the forwarding is carried out according to the normal process.

UIP用户设备接收到数据包后,将数据包的目的地址修改为源IP用户设备所在域的域路由器的地址,将源地址更新为目的UIP用户设备的位置标识。然后将该数据包转发至源IP用户设备所在域的域路由器,该域路由器又根据数据包的类型指示获知源用户设备为IP用户设备,将该数据包发送到UIPproxy。After receiving the data packet, the UIP user equipment modifies the destination address of the data packet to the address of the domain router of the domain where the source IP user equipment is located, and updates the source address to the location identifier of the destination UIP user equipment. Then the data packet is forwarded to the domain router of the domain where the source IP user equipment is located, and the domain router learns that the source user equipment is an IP user equipment according to the type indication of the data packet, and sends the data packet to UIPproxy.

步骤1207,UIP proxy接收发送给所述源IP用户设备的下行数据包,所述数据包携带源IP用户设备和目的用户设备的用户标识。Step 1207, the UIP proxy receives the downlink data packet sent to the source IP user equipment, and the data packet carries the user identifiers of the source IP user equipment and the destination user equipment.

步骤1208,UIP proxy根据所述IP用户设备的用户标识,获所述取源IP用户设备的IP地址,将数据包的目的地址修改为所述IP地址并发送给IP用户设备。从而完成了源IP用户设备到目的UIP用户设备间的数据包交换。Step 1208, UIP proxy obtains the IP address of the source IP user equipment according to the user identifier of the IP user equipment, modifies the destination address of the data packet to the IP address and sends it to the IP user equipment. Thus, the data packet exchange between the source IP user equipment and the destination UIP user equipment is completed.

本发明实施例提供的一种数据传输的方法和装置,在基于用户身份的移动管理系统架构下,代理实体的装置通过接收与接收端不同协议的发射端的数据包,根据数据包携带的信息,更新数据包为接收端能够识别的数据包,从而使得支持不同协议的发射端和接收端可以进行正常数据交换,有利于基于用户身份的移动管理系统架构的新网络的推广和普及。In the method and device for data transmission provided by the embodiments of the present invention, under the framework of the mobile management system based on user identity, the device of the proxy entity receives the data packet of the transmitting end with a protocol different from that of the receiving end, and according to the information carried in the data packet, The update data packet is a data packet that can be recognized by the receiving end, so that the transmitting end and the receiving end that support different protocols can perform normal data exchange, which is conducive to the promotion and popularization of the new network based on the mobile management system architecture based on user identity.

实施例三Embodiment three

下面对本发明提供的数据传输的方法的第三实施例进行说明,本实施例以在不同域内的IP用户设备与IP用户设备进行数据包交换为例进行说明,所述数据传输的方法包括:The third embodiment of the data transmission method provided by the present invention will be described below. In this embodiment, IP user equipment and IP user equipment in different domains perform data packet exchange as an example. The data transmission method includes:

假设IP用户设备已经完成了接入,首先,源IP用户设备执行和实施例二步骤1201到步骤1205相同的步骤,执行完毕后,后续流程如下:Assuming that the IP user equipment has completed the access, first, the source IP user equipment performs the same steps as Step 1201 to Step 1205 in Embodiment 2. After the execution is completed, the follow-up process is as follows:

步骤1301,目的IP用户设备所在域的域路由器接收数据包。Step 1301, the domain router of the domain where the destination IP user equipment is located receives the data packet.

步骤1302,域路由器根据数据包携带的信息,判断目的用户设备的类型为IP用户设备,不支持UIP协议,将数据包转发给目的IP用户设备所在域的UIP proxy。Step 1302, the domain router judges that the type of the destination user equipment is an IP user equipment according to the information carried in the data packet, and does not support the UIP protocol, and forwards the data packet to the UIP proxy of the domain where the destination IP user equipment is located.

步骤1303,目的IP用户设备所在域的UIP proxy接收数据包,该数据包携带源用户设备和目的用户设备的用户标识。Step 1303, the UIP proxy in the domain where the destination IP user equipment is located receives the data packet, which carries the user identifiers of the source user equipment and the destination user equipment.

步骤1304,目的IP用户设备所在域的UIP proxy根据目的用户设备的用户标识,查找用户标识和IP地址的对应关系,找到目的用户设备的IP地址,更新数据包的目的地址为用户设备的IP地址,并将数据包转发给目的IP用户设备。Step 1304, the UIP proxy of the domain where the destination IP user equipment is located searches for the correspondence between the user identifier and the IP address according to the user identifier of the destination user equipment, finds the IP address of the destination user equipment, and updates the destination address of the data packet to be the IP address of the user equipment , and forward the data packet to the destination IP user equipment.

步骤1305,目的IP用户设备接收到数据包,将源IP用户设备的地址更新为目的地址,自身的IP地址更新为源地址,将该数据包发送给目的IP用户设备所在域的UIP proxy。Step 1305, the destination IP user equipment receives the data packet, updates the address of the source IP user equipment to the destination address, updates its own IP address to the source address, and sends the data packet to the UIP proxy of the domain where the destination IP user equipment is located.

步骤1306,目的IP用户设备所在域的UIP proxy接收发自目的IP用户设备的下行数据包。Step 1306, the UIP proxy in the domain where the destination IP user equipment is located receives the downlink data packet sent from the destination IP user equipment.

步骤1307,更新数据包的源地址和目的地址,具体为:将该数据包的源地址更新为自身的位置标识,目的地址更新为源IP地址所在域的域路由器的位置标识。Step 1307, update the source address and destination address of the data packet, specifically: update the source address of the data packet to its own location identifier, and update the destination address to the location identifier of the domain router of the domain where the source IP address is located.

步骤1308,将该数据包发送给源IP用户设备所在域的域路由器。Step 1308, send the data packet to the domain router of the domain where the source IP user equipment is located.

步骤1309,目的域的域路由器转发给源IP用户设备所在域的域路由器,由源域的域路由器将数据包转发给源域的UIP proxy。Step 1309, the domain router of the destination domain forwards to the domain router of the domain where the source IP user equipment is located, and the domain router of the source domain forwards the data packet to the UIP proxy of the source domain.

然后,源域的UIP proxy执行与实施例二步骤1207到步骤1209的类似过程,具体为:源IP用户设备的UIP proxy接收到下行数据包,该数据包携带源IP用户设备和目的IP用户设备的用户标识。源IP用户设备的UIP proxy根据源IP用户设备的用户标识,查找源IP用户设备的IP地址,将该IP地址更新为该数据包的目的地址,再将该数据包返回给源IP用户设备,从而完成数据包交换的过程。Then, the UIP proxy in the source domain performs a process similar to Step 1207 to Step 1209 in Embodiment 2, specifically: the UIP proxy of the source IP user equipment receives a downlink data packet, and the data packet carries the source IP user equipment and the destination IP user equipment User ID for . The UIP proxy of the source IP user equipment searches for the IP address of the source IP user equipment according to the user identification of the source IP user equipment, updates the IP address as the destination address of the data packet, and then returns the data packet to the source IP user equipment, Thus completing the process of data packet exchange.

本实施例提供的一种数据传输的方法,通过接收源IP用户设备发送的数据包,根据数据包目的地址的不同,通过修改数据包的源地址或目的地址,实现将IP用户设备的数据包在基于用户身份的移动性管理系统中的传输和交换,使得不支持UIP协议的用户设备都能够成功接入基于用户身份的移动管理系统架构中,提高用户设备的移动性管理性能,有利于移动管理系统架构的实现。A data transmission method provided in this embodiment, by receiving the data packet sent by the source IP user equipment, according to the difference of the destination address of the data packet, by modifying the source address or the destination address of the data packet, the data packet of the IP user equipment The transmission and exchange in the mobility management system based on user identity enables user equipment that does not support the UIP protocol to successfully access the architecture of the mobility management system based on user identity, improving the mobility management performance of user equipment, which is beneficial to mobile Implementation of the management system architecture.

实施例四Embodiment Four

下面对本发明提供的数据传输的方法的第三实施例进行说明,本实施例以在不同于域的源UIP用户设备与目的IP用户设备进行数据包交换为例进行说明,所述数据传输的方法包括:The third embodiment of the data transmission method provided by the present invention will be described below. In this embodiment, the data packet exchange between the source UIP user equipment and the destination IP user equipment in different domains is used as an example for illustration. The data transmission method include:

步骤1401,源UIP用户设备根据自身的位置标识和用户标识、目的IP用户设备的用户标识,构造数据包。Step 1401, the source UIP user equipment constructs a data packet according to its own location identifier and user identifier, and the user identifier of the destination IP user equipment.

该数据包的源地址为源UIP用户设备的位置标识,该数据包的目的地址可以为目的IP用户设备的用户标识。The source address of the data packet is the location identifier of the source UIP user equipment, and the destination address of the data packet may be the user identifier of the destination IP user equipment.

步骤1402,源UIP用户设备将该数据包发送给源域的域路由器。源UIP用户设备所在域的域路由器将该数据包的目的地址修改为目的IP用户设备所在域的域路由器的地址。并,将数据包转发到目的IP用户设备所在域的域路由器。Step 1402, the source UIP user equipment sends the data packet to the domain router of the source domain. The domain router of the domain where the source UIP user equipment is located modifies the destination address of the data packet to the address of the domain router of the domain where the destination IP user equipment is located. And, forward the data packet to the domain router of the domain where the destination IP user equipment is located.

步骤1403,目的IP用户设备所在域的域路由器接收数据包,该数据包携带源UIP用户设备的用户标识和位置标识,以及目的IP用户设备的用户标识和IP用户设备所在域的域路由器所在的位置标识。Step 1403, the domain router of the domain where the destination IP user equipment is located receives the data packet, the data packet carries the user identification and location identification of the source UIP user equipment, and the user identification of the destination IP user equipment and the location of the domain router of the domain where the IP user equipment is located. Location ID.

步骤1404,目的域的域路由器根据数据包携带的信息,判断目的用户设备的类型为IP用户设备,不支持UIP协议,将数据包转发给目的IP用户设备所在域的UIP proxy。Step 1404, the domain router of the destination domain judges that the type of the destination user equipment is an IP user equipment according to the information carried in the data packet, and does not support the UIP protocol, and forwards the data packet to the UIP proxy of the domain where the destination IP user equipment is located.

步骤1405,目的IP用户设备所在域的UIP proxy接收数据包,该数据包携带源UIP用户设备和目的IP用户设备的用户标识。Step 1405, the UIP proxy in the domain where the destination IP user equipment is located receives the data packet, which carries the user identifiers of the source UIP user equipment and the destination IP user equipment.

步骤1406,目的IP用户设备所在域的UIP proxy根据目的用户设备的用户标识,查找用户标识和IP地址的对应关系,找到目的用户设备的IP地址,更新数据包的目的地址为用户设备的IP地址,并将数据包转发给目的IP用户设备。Step 1406, the UIP proxy of the domain where the destination IP user equipment is located searches for the correspondence between the user identifier and the IP address according to the user identifier of the destination user equipment, finds the IP address of the destination user equipment, and updates the destination address of the data packet to be the IP address of the user equipment , and forward the data packet to the destination IP user equipment.

步骤1407,目的IP用户设备接收到数据包,将自身的IP地址更新为源地址,将该数据包发送给目的IP用户设备所在域的UIP proxy。Step 1407, the destination IP user equipment receives the data packet, updates its own IP address to the source address, and sends the data packet to the UIP proxy of the domain where the destination IP user equipment is located.

步骤1408,目的IP用户设备所在域的UIP proxy接收发自目的IP用户设备的下行数据包,将该数据包的源地址更新为自身的位置标识,目的地址更新为源UIP用户设备所在域的域路由器的位置标识,将该数据包发送给源UIP用户设备所在域的域路由器。Step 1408, the UIP proxy of the domain where the destination IP user equipment is located receives the downlink data packet sent from the destination IP user equipment, updates the source address of the data packet to its own location identification, and updates the destination address to the domain of the domain where the source UIP user equipment is located The location identifier of the router, and sends the data packet to the domain router of the domain where the source UIP user equipment is located.

步骤1409,源UIP用户设备所在域的域路由器接收发自目的IP用户设备的下行数据包,将该数据包的源地址更新为自身的位置标识,目的地址更新为源UIP用户设备的地址,并将该数据包发送到源UIP用户设备,从而完成数据包交换的过程。Step 1409, the domain router of the domain where the source UIP user equipment is located receives the downlink data packet sent from the destination IP user equipment, updates the source address of the data packet to its own location identifier, and updates the destination address to the address of the source UIP user equipment, and The data packet is sent to the source UIP user equipment, thereby completing the process of data packet exchange.

本实施例提供的一种数据传输的方法,通过接收源IP用户设备发送的数据包,根据数据包目的地址的不同,通过修改数据包的源地址或目的地址,实现将IP用户设备的数据包在基于用户身份的移动性管理系统中的传输和交换,使得不支持UIP协议的用户设备都能够成功接入基于用户身份的移动管理系统架构中,提高用户设备的移动性管理性能,有利于移动管理系统架构的实现。A data transmission method provided in this embodiment, by receiving the data packet sent by the source IP user equipment, according to the difference of the destination address of the data packet, by modifying the source address or the destination address of the data packet, the data packet of the IP user equipment The transmission and exchange in the mobility management system based on user identity enables user equipment that does not support the UIP protocol to successfully access the architecture of the mobility management system based on user identity, improving the mobility management performance of user equipment, which is beneficial to mobile Implementation of the management system architecture.

实施例五Embodiment five

下面对本发明提供的代理实体第五实施例进行说明,所述代理实体包括:The following describes the fifth embodiment of the proxy entity provided by the present invention. The proxy entity includes:

接收模块51,用于接收源IP用户设备发送的数据包,所述数据包携带所述IP用户设备的IP地址;A receiving module 51, configured to receive a data packet sent by a source IP user equipment, the data packet carrying the IP address of the IP user equipment;

获取模块52,用于在所述数据包的目的地址不是目的用户设备的位置标识时,根据所述目的用户设备的用户标识或域名,从位置服务器获取用户设备所在域的域路由器的位置标识;The obtaining module 52 is configured to obtain, from the location server, the location identifier of the domain router of the domain where the user equipment is located according to the user identifier or domain name of the destination user equipment when the destination address of the data packet is not the location identifier of the destination user equipment;

更新模块53,用于将所述数据包的源地址修改为所述代理实体的位置标识,并,在所述数据包的目的地址不是目的用户设备的位置标识时,将数据包的目的地址修改为查询模块查询到的所述位置标识;并,在所述数据包中增加所述IP用户设备的用户标识及所述目的用户设备的用户标识;An update module 53, configured to modify the source address of the data packet to the location identifier of the proxy entity, and, when the destination address of the data packet is not the location identifier of the destination user equipment, modify the destination address of the data packet The location identifier queried by the query module; and, adding the user identifier of the IP user equipment and the user identifier of the destination user equipment to the data packet;

发送模块54,用于根据所述目的地址发送修改后的所述数据包。A sending module 54, configured to send the modified data packet according to the destination address.

具体的,该获取模块52还包括:Specifically, the acquisition module 52 also includes:

第一获取单元521,用于根据源IP用户设备的IP地址,查找本地存储的IP地址和用户标识的对应关系,获取所述源IP用户设备的用户标识;The first acquiring unit 521 is configured to, according to the IP address of the source IP user equipment, search for the correspondence between the locally stored IP address and the user identifier, and acquire the user identifier of the source IP user equipment;

第二获取单元522,用于从位置服务器获取目的用户设备的用户标识;The second acquiring unit 522 is configured to acquire the user identifier of the destination user equipment from the location server;

或,所述第一获取单元521,用于以IP用户设备的IP地址作为IP用户设备的用户标识。Or, the first acquiring unit 521 is configured to use the IP address of the IP user equipment as the user identifier of the IP user equipment.

优选的,该代理实体还包括:Preferably, the proxy entity also includes:

所述接收模块51,还用于接收所述源IP用户设备发送的目的用户设备的位置查询消息,所述查询消息携带目的用户设备的域名或用户标识;The receiving module 51 is further configured to receive a location query message of a destination user equipment sent by the source IP user equipment, where the query message carries a domain name or a user identifier of the destination user equipment;

查询模块55,用于根据目的用户设备的域名,查询用户设备的用户标识或目的用户设备所在域的域路由器的位置标识,并将查询结果发送给IP用户设备,或The query module 55 is configured to query the user identifier of the user equipment or the location identifier of the domain router of the domain where the destination user equipment is located according to the domain name of the destination user equipment, and send the query result to the IP user equipment, or

所述发送模块54,还用于根据所述目的用户设备的用户标识,查询用户设备所在域的域路由器的位置标识,并将查询结果返回给IP用户设备。The sending module 54 is further configured to query the location identifier of the domain router in the domain where the user equipment is located according to the user identifier of the destination user equipment, and return the query result to the IP user equipment.

优选的,该代理实体还包括:Preferably, the proxy entity also includes:

存储模块56,用于保存目的用户设备的用户标识和目的用户设备所在域的域路由器的位置标识的对应关系。The storage module 56 is configured to store the corresponding relationship between the user identifier of the destination user equipment and the location identifier of the domain router of the domain where the destination user equipment is located.

优选的,该代理实体还包括:Preferably, the proxy entity also includes:

所述接收模块51,还用于接收所述IP用户设备的注册请求消息;The receiving module 51 is further configured to receive a registration request message of the IP user equipment;

注册模块57,用于向位置服务器注册所述IP用户设备,并接收所述位置服务器为所述IP用户设备发送的用户标识。The registration module 57 is configured to register the IP user equipment with a location server, and receive the user identification sent by the location server for the IP user equipment.

优选的,该代理实体还包括:Preferably, the proxy entity also includes:

所述接收模块51,还用于接收发送给所述源IP用户设备的数据包,所述数据包携带源IP用户设备和目的用户设备的用户标识;The receiving module 51 is further configured to receive a data packet sent to the source IP user equipment, where the data packet carries user identifiers of the source IP user equipment and the destination user equipment;

所述获取模块52,还用于根据所述IP用户设备的用户标识,获取所述源IP用户设备的IP地址;The acquiring module 52 is further configured to acquire the IP address of the source IP user equipment according to the user identifier of the IP user equipment;

所述发送模块54,还用于将数据包的目的地址修改为所述IP地址并发送出去。The sending module 54 is further configured to modify the destination address of the data packet to the IP address and send it out.

该代理实体还包括This proxy entity also includes

所述接收模块51,用于接收上行数据包,所述数据包携带目的IP用户设备的用户标识;The receiving module 51 is configured to receive an uplink data packet, the data packet carrying the user identifier of the destination IP user equipment;

所述获取模块52,用于根据所述目的IP用户设备的用户标识,获取目的IP用户设备的IP地址;The acquisition module 52 is configured to acquire the IP address of the destination IP user equipment according to the user identifier of the destination IP user equipment;

所述更新模块53,用于将数据包的目的地址修改为所述IP地址;The update module 53 is configured to modify the destination address of the data packet to the IP address;

所述发送模块54,用于根据所述IP地址发送所述数据包。The sending module 54 is configured to send the data packet according to the IP address.

优选的,该代理实体还包括:Preferably, the proxy entity also includes:

所述接收模块51,用于接收所述目的IP用户设备发送的下行数据包,所述数据包携带目的IP用户设备的IP地址;所述数据包的目的地址为源用户设备所在域的域路由器的位置标识,The receiving module 51 is configured to receive a downlink data packet sent by the destination IP user equipment, the data packet carrying the IP address of the destination IP user equipment; the destination address of the data packet is the domain router of the domain where the source user equipment is located location identifier for

所述获取模块52,用于获取源用户设备和目的IP用户设备的用户标识,The acquiring module 52 is configured to acquire the user identifiers of the source user equipment and the destination IP user equipment,

并将所述源用户设备和目的IP用户设备的用户标识增加到数据包中;and adding the user identifiers of the source user equipment and the destination IP user equipment to the data packet;

所述发送模块54,用于发送修改后的所述数据包。The sending module 54 is configured to send the modified data packet.

本实施例提供的一种数据传输的方法,通过接收源IP用户设备发送的数据包,根据数据包目的地址的不同,通过修改数据包的源地址或目的地址,实现将IP用户设备的数据包在基于用户身份的移动性管理系统中的传输和交换,使得不支持UIP协议的用户设备都能够成功接入基于用户身份的移动管理系统架构中,提高用户设备的移动性管理性能,有利于移动管理系统架构的实现。A data transmission method provided in this embodiment, by receiving the data packet sent by the source IP user equipment, according to the difference of the destination address of the data packet, by modifying the source address or the destination address of the data packet, the data packet of the IP user equipment The transmission and exchange in the mobility management system based on user identity enables user equipment that does not support the UIP protocol to successfully access the architecture of the mobility management system based on user identity, improving the mobility management performance of user equipment, which is beneficial to mobile Implementation of the management system architecture.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM)、随机存储器(RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM), Random Access Memory (RAM), Magnetic or Optical Disk, etc.

以上对本发明实施例所提供的一种代理实体和数据传输的方法进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction of a proxy entity and data transmission method provided by the embodiment of the present invention. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only used to help understanding The method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a limitation of the invention.

Claims (15)

1. a method for transfer of data, is characterized in that, described method comprises:
Agent entity receives the upstream data bag that source IP user's equipment sends;
By the station location marker that the source address modification of described upstream data bag is described agent entity; And when the destination address of described upstream data bag is domain name or the user ID in territory, object subscriber equipment place, according to user ID or the domain name of described object subscriber equipment, obtain the station location marker of the territory router in territory, object subscriber equipment place from location server, the destination address of described upstream data bag is revised as the station location marker of the territory router in territory, described object subscriber equipment place;
Described agent entity sends amended described upstream data bag according to described destination address.
2. data transmission method as claimed in claim 1, is characterized in that, described method also comprised before described agent entity sends amended described upstream data bag according to described destination address:
The user ID of described source IP user's equipment and the user ID of described object subscriber equipment is increased, addressing when the territory router that the user ID of described source IP user's equipment and the user ID of described object subscriber equipment are used for described source IP user's device Domain sends described upstream data bag in described upstream data bag.
3. data transmission method as claimed in claim 2, is characterized in that, also comprise before increasing the user ID of described source IP user's equipment and the user ID of described object subscriber equipment:
According to the IP address of source IP user's equipment, search the local IP address of storage and the corresponding relation of user ID, obtain the user ID of described source IP user's equipment, and the user ID of object subscriber equipment is obtained from location server, wherein said upstream data bag carries the IP address of described source IP user's equipment;
Or using the IP address of object IP user equipment as the user ID of object IP user equipment, wherein said upstream data bag carries the IP address of described source IP user's equipment.
4. data transmission method as claimed in claim 1, is characterized in that, before the packet of described reception source IP user's equipment, also comprise:
Receive the position enquiring message of the object subscriber equipment that described source IP user's equipment sends, described query messages carries domain name or the user ID of object subscriber equipment;
According to the domain name of object subscriber equipment, the station location marker of the user ID of inquiry object subscriber equipment or the territory router in territory, object subscriber equipment place, and Query Result is sent to source IP user's equipment;
Or according to the user ID of described object subscriber equipment, the station location marker of the territory router in inquiry territory, object subscriber equipment place, and Query Result is returned to source IP user's equipment.
5. data transmission method as claimed in claim 1, it is characterized in that, described method also comprises:
Preserve the corresponding relation of the station location marker of the user ID of object subscriber equipment and the territory router in territory, object subscriber equipment place.
6. data transmission method as claimed in claim 5, is characterized in that, in described reception before the query messages of source IP user's equipment, also comprise:
Receive the login request message of described source IP user's equipment;
Register described source IP user's equipment to location server, and receive the user ID that described location server is the IP user's equipment transmission of described source;
Preserve the user ID of described source IP user's equipment and the corresponding relation of IP address.
7. the method for transfer of data as claimed in claim 2, it is characterized in that, described method also comprises:
Receive the downlink data packet sending to described source IP user's equipment, described downlink data packet carries the user ID of source IP user's equipment and object subscriber equipment;
According to the user ID of described source IP user's equipment, obtain the IP address of described source IP user's equipment, the destination address of described downlink data packet is revised as described IP address and sends.
8. an agent entity, is characterized in that, described agent entity comprises:
Receiver module, for receiving the upstream data bag that source IP user's equipment sends;
Acquisition module, during for being domain name or the user ID in territory, object subscriber equipment place at the destination address of described upstream data bag, according to user ID or the domain name of described object subscriber equipment, obtain the station location marker of the territory router in territory, subscriber equipment place from location server;
Update module, for by the source address modification of described upstream data bag being the station location marker of described agent entity, and, when the destination address of described upstream data bag is domain name or the user ID in territory, object subscriber equipment place, the destination address of described upstream data bag is revised as the described station location marker that enquiry module inquires;
Sending module, for sending amended described upstream data bag according to described destination address.
9. agent entity as claimed in claim 8, is characterized in that, described update module is also for the user ID of the user ID and described object subscriber equipment that increase described source IP user's equipment in described upstream data bag.
10. agent entity as claimed in claim 9, it is characterized in that, described acquisition module also comprises:
First acquiring unit, for the IP address according to source IP user's equipment, search the local IP address of storage and the corresponding relation of user ID, obtain the user ID of described source IP user's equipment, wherein said upstream data bag carries the IP address of described source IP user's equipment;
Second acquisition unit, for obtaining the user ID of object subscriber equipment from location server.
11. agent entitys as claimed in claim 10, it is characterized in that, described acquisition module also comprises:
Described first acquiring unit, also for using the IP address of object IP user equipment as the user ID of object IP user equipment.
12. agent entitys as claimed in claim 8, it is characterized in that, described agent entity also comprises:
Described receiver module, also for receiving the position enquiring message of the object subscriber equipment that described source IP user's equipment sends, described query messages carries domain name or the user ID of object subscriber equipment;
Enquiry module, for the domain name according to object subscriber equipment, the station location marker of the user ID of inquiring user equipment or the territory router in territory, object subscriber equipment place, and Query Result is sent to described source IP user's equipment, or
Described sending module, also for the user ID according to described object subscriber equipment, the station location marker of the territory router in territory, inquiring user equipment place, and Query Result is sent to described source IP user's equipment.
13. agent entitys as claimed in claim 8, it is characterized in that, described agent entity also comprises:
Memory module, for the corresponding relation of the station location marker of the territory router of the user ID and territory, object subscriber equipment place of preserving object subscriber equipment.
14. agent entitys as claimed in claim 13, it is characterized in that, described agent entity also comprises:
Described receiver module, also for receiving the login request message of described source IP user's equipment;
Registering modules, for registering described source IP user's equipment to location server, and receives the user ID that described location server is the IP user's equipment transmission of described source.
15. agent entitys as claimed in claim 9, it is characterized in that, described agent entity also comprises:
Described receiver module, also for receiving the downlink data packet sending to described source IP user's equipment, described downlink data packet carries the user ID of source IP user's equipment and object subscriber equipment;
Described acquisition module, also for the user ID according to described source IP user's equipment, obtains the IP address of described source IP user's equipment;
Described sending module, also for the destination address of described downlink data packet being revised as described IP address and sending.
CN201010264569.0A 2010-08-25 2010-08-25 Data transmission method and proxy entity Active CN102378150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010264569.0A CN102378150B (en) 2010-08-25 2010-08-25 Data transmission method and proxy entity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010264569.0A CN102378150B (en) 2010-08-25 2010-08-25 Data transmission method and proxy entity

Publications (2)

Publication Number Publication Date
CN102378150A CN102378150A (en) 2012-03-14
CN102378150B true CN102378150B (en) 2015-01-21

Family

ID=45795980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010264569.0A Active CN102378150B (en) 2010-08-25 2010-08-25 Data transmission method and proxy entity

Country Status (1)

Country Link
CN (1) CN102378150B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1442962A (en) * 2002-03-01 2003-09-17 株式会社Ntt都科摩 Communication system, communication method, network management and transmission device
CN1816002A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Method for realizing home town-agent retransmission message in mobile IP network
CN101335989A (en) * 2007-06-29 2008-12-31 华为技术有限公司 Smooth switching method and system for agent mobile IP terminal
CN101635951A (en) * 2009-08-19 2010-01-27 杭州华三通信技术有限公司 Data packet transmission method and data packet transmission device in mobile IP technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1442962A (en) * 2002-03-01 2003-09-17 株式会社Ntt都科摩 Communication system, communication method, network management and transmission device
CN1816002A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Method for realizing home town-agent retransmission message in mobile IP network
CN101335989A (en) * 2007-06-29 2008-12-31 华为技术有限公司 Smooth switching method and system for agent mobile IP terminal
CN101635951A (en) * 2009-08-19 2010-01-27 杭州华三通信技术有限公司 Data packet transmission method and data packet transmission device in mobile IP technology

Also Published As

Publication number Publication date
CN102378150A (en) 2012-03-14

Similar Documents

Publication Publication Date Title
KR101997370B1 (en) Server for device location registration in an internet of things(iot)
KR101370270B1 (en) User-oriented communication method, route registration method and device and communication system
CN106790732B (en) Address translation method, device and system, and network identification control method and device
US20120176932A1 (en) Communication method, method for forwarding data message during the communication process and communication node thereof
CN101123536A (en) Method for Realizing Integrated Network Location Management
KR20120082444A (en) Information obtaining and notification, data message forwarding and handover method and access node
CN101350807A (en) Multi-address space mobile network architecture, host information registration and data sending method
CN102238059B (en) Data message processing method and system and access service node
CN103024720B (en) Network mobility management method of internet protocol version 6 over low power wireless personal area network (6LoWPAN)
EP2466815B1 (en) Method and system for initiating forwarding of communicaiton, information and data message and for routing configuration
CN113364849B (en) DDS-based cross-wide area network dual-roaming data transmission method, system and storage medium
CN104780522B (en) A kind of method that LISP marks carrying access net supports terminal movement access
WO2011050679A1 (en) Communication network and terminal access method implemented based on wimax network framework
CN102378150B (en) Data transmission method and proxy entity
CN102547908B (en) Listing maintenance, system and IAD router
CN101465887A (en) Method, system and device for obtaining mobile access gateway address
KR101529175B1 (en) Method and system for managing mobility in non-encapsulation packet transmission
CN102957618B (en) The identity-based locator separation network server means of communication, system and server
WO2011041972A1 (en) Method and system for implementing active push of data packets
CN105308928B (en) The processing method and equipment of Network Mobility management
JP3435360B2 (en) Mobile computer device, address information management method and address resolution method
WO2012083685A1 (en) Method and system for improving use efficiency of mapping and routing table
CN107682903B (en) Network mobile routing method based on identification
KR101125209B1 (en) Method for managing user mobility
CN102572720B (en) A kind of method and system improving mapping routing table service efficiency

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant