A kind of data transmission method, system and IAD
Technical field
The present invention relates to identity position separation network, particularly relate to a kind of data transmission method, system and IAD.
Background technology
IP address in the widely used ICP/IP protocol in existing internet has dual-use function, both as the station location marker of communication terminal host network interface in network topology of network layer, again as the identify label of transport layer host network interface.The situation of host mobility is not considered at the beginning of ICP/IP protocol design.But when host mobility is more and more general, the semanteme overload defect of this IP address is day by day obvious.When the IP address of main frame changes, not only route will change, and the identify label of communication terminal main frame also changes, and routing overhead can be caused so more and more heavier, and the change of host identification can cause application and the interruption be connected.
The object that identify label and position separation problem propose is that semanteme overload in order to solve IP address and routing overhead are serious, security problems, the dual-use function of IP address is separated, realizes mobility, many locals property, the dynamic code reassignment in IP address, alleviate the support of the problems such as exchanging visit in routing overhead and Next Generation Internet between heterogeneous networks region.
The implementation method of IP based network router is that relating identity identifies one of solution be separated with position, and as shown in Figure 1, in figure, the logic function of each network element is as follows for its network frame:
Access support node (ASN), access support node is responsible for various mobile terminal provides access service, for user's distributing user identify label (AID) and route location mark (RID) of access, and transmit in the core network after the data message of user being carried out mark encapsulation.
Mapped plan, the mapping relations of User Identity and route location mark in primary responsibility maintaining network, and provide inquiry service to ASN and other mapping server.Mapped plan is made up of multiple identity position register (ILR), in ASN query communication in end position process, if ASN this locality does not have the route location information of Correspondent Node, just goes to search by mapped plan.
Authentication center, is responsible for the information such as recording user classification, user's grade of service, carries out legitimacy authentication and authorization when user accesses to user.Bi-directional authentification between authentication center's network enabled and user.
IP backbone is the internet between ASN, and major function carries out routing and forwarding data packets according to the route location mark in data message, and the data message forwarding that ASN is sent is to correct destination; IP network is made up of core switch router (CSR).Be the same with existing IP network, do not need to carry out any amendment.
Interworking gateway (ISN) is the intermediate node of identity position separation network and other networks, and the network that two classes are different must be communicated mutually by ISN.
Wireless network, is responsible for providing two layers of link also between maintenance customer's terminal to ASN, in cellular mobile network, is responsible for the function such as allocation of radio resources and management.Wireless network herein can be the wireless networks such as WCDMA, TD-SCDMA, CDMA2000 or LTE.
For the mobile terminal (MN) of each this locality access preserves the information of all Correspondent Nodes (CN) on ASN, when the position of mobile terminal changes, new ASN can by the route location identification notification of terminal to the ASN at Correspondent Node place, when Correspondent Node has a lot, need to notify each CN, ensure that data message can be sent to correct ASN by each CN.
In order to make full use of existing backbone network, the packet between ASN be standard IP bag, guarantee can the enterprising walking along the street of IP backbone network by.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of data transmission method, system and IAD, realizes the intercommunication of legacy network and identity position separation network.
For solving the problems of the technologies described above, a kind of data transmission method of the present invention, configures rete mirabile IAD between identity position separation network and legacy network, is the IP address in the service server configuration legacy network in identity position separation network;
Configuration server mapping table and client mapping table in rete mirabile IAD, the identify label (AID) of record traffic server and the mapping relations of IP address in server mapping table; The mapping relations of AID and the IP address of client are recorded in client mapping table;
Rete mirabile IAD, according to server mapping table and client mapping table, realizes the transfer of data of the client in legacy network and the service server in identity position separation network.
Further, rete mirabile IAD is configured with the IP address of corresponding legacy network and route location mark (RID) of corresponding identity position separation network, service server in identity position separation network passes through RID, send the data to rete mirabile IAD, client in legacy network, by the IP address of rete mirabile IAD, sends the data to this rete mirabile IAD.
Further, the step that rete mirabile IAD realizes transfer of data comprises:
Client sends IP packet to rete mirabile IAD, and the source address of this IP packet is the IP address of this client, and destination address is the IP address of the destination server in identity position separation network;
After rete mirabile IAD receives IP packet, from server mapping table, AID corresponding to the IP address of destination server is searched according to destination address, and be client distribution AID, the IP address of this client and the mapping relations of AID are added in client mapping table, the source address of IP packet and destination address are replaced with the AID of client and the AID of destination server respectively, by this IP Packet Generation to destination server.
Further, the method also comprises:
After destination server receives IP packet, send the packet of response to client, the destination address of the packet of this response is the AID of client, and source address is the AID of this destination server;
After rete mirabile IAD receives the packet of response, from server mapping table and client mapping table, search the IP address of destination server and client respectively according to source address and destination address; The source address of the packet of response and destination address are replaced with respectively the IP address of destination server and the client found, and by the Packet Generation of this response to client.
Further, IP Packet Generation comprises to the step of destination server by rete mirabile IAD:
Rete mirabile IAD searches RID corresponding to the AID of destination server from the mapped plan identity position separation network, according to this RID by IP Packet Generation to destination server.
Further, the method also comprises:
Domain name system (DNS) server in legacy network configures the domain name of the service server in identity position separation network and the corresponding relation of IP address;
Client sends to rete mirabile IAD the IP packet that domain name points to destination server by this dns server, and the domain name mapping of destination server is IP address by this dns server.
Further, a kind of data transmission method, in order to realize client in legacy network to the access of the service server in identity position separation network, comprising:
After rete mirabile IAD between legacy network and identity position separation network receives the IP packet of client, the source address of this IP packet and destination address being replaced with respectively this rete mirabile IAD is the AID of client distribution and the AID of destination server, and by this IP Packet Generation to destination server.
Further, a kind of data transmission method, in order to realize client in legacy network to the access of the service server in identity position separation network, comprising:
After rete mirabile IAD between legacy network and identity position separation network receives the packet of the response that the destination server in identity position separation network sends, the source address of the packet of this response and destination address are replaced with respectively the IP address of destination server and client, and by the Packet Generation of this response to client.
Further, a kind of data transmission system, comprising: identity position separation network, rete mirabile IAD and legacy network, and rete mirabile IAD is arranged between identity position separation network and legacy network, wherein:
Service server in identity position separation network is configured with the IP address in identify label (AID) and legacy network;
Be configured with server mapping table and client mapping table in rete mirabile IAD, in server mapping table, record the mapping relations of AID and the IP address of service server; The mapping relations of AID and the IP address of client are recorded in client mapping table.
Further, rete mirabile IAD, for according to server mapping table and client mapping table, realizes the transfer of data of the client in legacy network and the service server in identity position separation network.
Further, rete mirabile IAD is configured with the IP address of corresponding legacy network and route location mark (RID) of corresponding identity position separation network, service server in identity position separation network passes through RID, send the data to rete mirabile IAD, client in legacy network, by the IP address of rete mirabile IAD, sends the data to this rete mirabile IAD.
Further, a kind of data transmission system, comprising: identity position separation network, rete mirabile IAD and legacy network, and rete mirabile IAD is arranged between identity position separation network and legacy network, wherein:
Client in legacy network, for sending IP packet to rete mirabile IAD, the source address of this IP packet is the IP address of this client, and destination address is the IP address of the destination server in identity position separation network;
Rete mirabile IAD, for after receiving the IP packet of client, the source address of this IP packet and destination address being replaced with respectively this rete mirabile IAD is the AID of client distribution and the AID of destination server, and by this IP Packet Generation to destination server.
Further, rete mirabile IAD is after receiving IP packet, from pre-configured server mapping table, AID corresponding to the IP address of destination server is searched according to destination address, and be client distribution AID, in pre-configured client mapping table, add the IP address of this client and the mapping relations of AID, and the source address of IP packet and destination address are replaced with the AID of client and the AID of destination server by execution respectively.
Further, a kind of data transmission system, comprising: identity position separation network, rete mirabile IAD and legacy network, and rete mirabile IAD is arranged between identity position separation network and legacy network, wherein:
Destination server in identity position separation network, for after receiving IP packet, send the packet of response to the client in legacy network, the destination address of the packet of this response is the AID of client, and source address is the AID of this destination server;
Rete mirabile IAD, for after the packet receiving the response that the destination server in identity position separation network sends, the source address of the packet of response and destination address are replaced with respectively the IP address of destination server and client, and by the Packet Generation of this response to client.
Further, rete mirabile IAD is after receiving the packet of response, from pre-configured server mapping table and client mapping table, search the IP address of destination server and client according to source address and destination address respectively, and perform the IP address source address of the packet of response and destination address being replaced with respectively destination server and client.
Further, a kind of IAD, in order to realize client in legacy network to the access of the service server in identity position separation network, comprising: address maintenance unit, address mapping unit and data transmission unit, wherein:
Address maintenance unit, for configuration server mapping table and client mapping table, records the identify label (AID) of the service server in identity position separation network and the mapping relations of IP address in server mapping table; The mapping relations of AID and the IP address of the client in legacy network are recorded in client mapping table;
Address mapping unit, for according to server mapping table and client mapping table, by the address in packet, the address in identity position separation network and carry out Mapping and Converting between the address in legacy network;
Data transmission unit, for completing the Packet Generation of Mapping and Converting to the destination server in identity position separation network or the client in legacy network by address mapping unit.
Further, address maintenance unit, also for distributing AID for the client in legacy network, and adds the IP address of this client and the mapping relations of AID in client mapping table;
The source address of this IP packet and destination address, after receiving the IP packet of the client in legacy network, are replaced with the AID of the service server in the AID and identity position separation network that address maintenance unit is client distribution by address mapping unit respectively.
Further, address mapping unit is after receiving IP packet, from server mapping table, AID corresponding to the IP address of destination server is searched according to destination address, from client mapping table, search the AID that the IP address of client is corresponding, and the source address of IP packet and destination address are replaced with the AID of client and the AID of destination server by execution respectively.
Further, address mapping unit, also for after the packet receiving the response that the destination server in identity position separation network sends, replaces with the IP address of destination server and client respectively by the source address of the packet of this response and destination address.
Further, address mapping unit is after receiving the packet of response, from server mapping table and client mapping table, search the IP address of destination server and client according to source address and destination address respectively, and perform the IP address source address of the packet of response and destination address being replaced with respectively destination server and client.
In sum, the present invention by arranging rete mirabile IAD between legacy network and identity position separation network, this IAD possesses the dual address of IP address and AID, make the client in legacy network can access service server in specific identity position separation network, as long as the service server in this identity position separation network is configured with IP address in rete mirabile IAD, meet the needs that identity position separation network and legacy network are exchanged visits.
Accompanying drawing explanation
Fig. 1 is the Organization Chart of existing identity position separation network;
Fig. 2 is the Organization Chart of the data transmission system of present embodiment;
Fig. 3 is the schematic diagram of the server mapping table in the rete mirabile IAD in present embodiment;
Fig. 4 is the schematic diagram of the client mapping table in the rete mirabile IAD in present embodiment;
Fig. 5 is the schematic diagram that in the data transmission method of present embodiment, client sends data to destination server;
Fig. 6 is the schematic diagram that in the data transmission method of present embodiment, destination server sends data to client;
Fig. 7 is the schematic diagram of the IAD of present embodiment.
Embodiment
Present embodiment proposes the method for the application server in a kind of legacy network client-access identity position separation network, by disposing gateway, makes legacy network client can by the application server in this gateway access identity and locator separation network.The gateway of deployment is called rete mirabile IAD below, rete mirabile IAD and traditional IP and identity position separation network simultaneously interconnected; In rete mirabile IAD, be configured with the resource of access identity position separation network, comprise the function such as collection of the management of the mark of client and conversion, routing management and charge information.
As shown in Figure 2, rete mirabile IAD is positioned at the edge of traditional IP and identity position separation network, the Operational Visit that this two networks carry out, and need pass through this gateway.
Rete mirabile IAD at least has two network addresss, and be the IP address in traditional IP and the RID in identity position separation network respectively, this gateway can access two networks simultaneously, and the address field of two addresses can not conflict mutually.Service server in identity position separation network, by the RID of rete mirabile IAD, sends the data to rete mirabile IAD, and the client in legacy network, by the IP address of rete mirabile IAD, sends the data to rete mirabile IAD.
In order to be communicated by rete mirabile IAD, gateway needs configuration server mapping table, the mapping relations of AID and the IP address of the service server in record identity position separation network, and configure client mapping table, the IP address of record legacy network client and the mapping relations of AID.
Figure 3 shows that server mapping table, server mapping table is the mapping relations table of the IP address in the AID of service server in identity position separation network and legacy network, if each application server allows legacy network to conduct interviews to it, so just need to distribute an IP address to him on xenogenesis IAD, this IP address and AID are static relations, know that AID just can be known in IP address, vice versa.
Figure 4 shows that client mapping table, the address mapping relation table used when client mapping table is legacy network client-access identity position separation network.During legacy network client-access identity position separation network, itself needs an AID, and this AID can distribute to user on gateway temporarily; Also can bind, set up the corresponding relation of the AID that the IP address of client and this client use, an IP address is corresponding with an AID, when the shortcoming of binding is that legacy network client does not access identity position separation network, its AID uses to other clients, and AID exists the situation of waste.Gateway is legacy network client when temporarily distributing AID, and after the service ending in this access identity position separation network of client, this AID uses to other clients, can reduce the number of AID on gateway.
During service server in legacy network client-access identity position separation network, its destination address is the IP address of service server, and user directly can input IP address also can according to DNS(domain name system) server parses obtains the IP address of service server.When the data of legacy network client are sent to rete mirabile IAD, rete mirabile IAD searches server mapping table, obtains the AID(object AID that IP address is corresponding); Simultaneously for legacy network client distributes an AID(source AID); After obtaining two AID, the IP bag that can send legacy network client carries out the amendment in packet header, and respectively by source IP address, object IP address replaces with source AID and object AID; Again IP bag is sent to destination server.After rete mirabile IAD receives the packet that destination server returns, from above-mentioned mapping table, find corresponding source IP address and object IP address, carry out the address amendment of heading, then send to legacy network client, finishing service access process.
In order to realize the service server in legacy network client-access identity position separation network, need to possess following condition:
For the IP address that the service server allocated legacy network in identity position separation network is corresponding, distribute the AID in identity position separation network simultaneously.
Dns server is configured with the corresponding relation of server domain name and IP address, the server that this IP address is pointed to is in identity position separation network, user can pass through dns server, use server domain name access services device, certainly, if do not need to use domain name, then on a dns without the need to the corresponding relation of configuration server domain name and IP address.
Must configuration server mapping table and client mapping table on xenogenesis IAD, server mapping table is the mapping relations table of IP address corresponding in the AID of service server in identity position separation network and legacy network; The client address mapping relations table that client mapping table uses when being the server in conventional terminal access identity position separation network.
Figure 5 shows that the method for the service server in legacy network client-access identity position separation network, the handling process that legacy network client sends IP packet to the server in identity position separation network comprises the steps:
Step 501: legacy network client initiating business request, send IP packet to rete mirabile IAD, the source address of this IP packet is the IP address of legacy network client, and destination address is the IP address of destination server;
Step 502: rete mirabile IAD searches server mapping table according to destination address after receiving IP packet, finds the AID that the IP address of destination server is corresponding;
Step 503: rete mirabile IAD is that legacy network client distributes AID, adds the IP address of this legacy network client and the corresponding relation of AID in client mapping table;
Step 504: the source address of IP packet and destination address are replaced with the AID of legacy network the client AID distributed and the destination server found by rete mirabile IAD respectively;
Step 505: rete mirabile IAD searches RID corresponding to object AID, by IP Packet Generation to destination server from the mapped plan identity position separation network.
Be illustrated in figure 6 the method for the service server in legacy network client-access identity position separation network, the handling process that the server in identity position separation network sends IP packet to legacy network client comprises the steps:
Step 601: after destination server receives the IP packet of legacy network client, carry out Business Processing, and the packet of response is sent to legacy network client, the destination address of this packet is rete mirabile IAD is the AID that legacy network client is distributed, and source address is the AID of destination server;
Step 602: after rete mirabile IAD receives the packet of destination server, searches server mapping table and client mapping table respectively according to source address and destination address, obtains the IP address of destination server and the IP address of legacy network client;
Step 603: the source address of the packet of destination server and destination address are replaced with the IP address of the destination server found and the IP address of legacy network client by rete mirabile IAD respectively;
Step 604: the Packet Generation of the response that destination server is sent by traditional IP network by rete mirabile IAD is to legacy network client.
Fig. 7 is the IAD of present embodiment, comprising: address maintenance unit, address mapping unit and data transmission unit, wherein:
Address maintenance unit, for configuration server mapping table and client mapping table, records the identify label (AID) of the service server in identity position separation network and the mapping relations of IP address in server mapping table; The mapping relations of AID and the IP address of the client in legacy network are recorded in client mapping table;
Address mapping unit, for according to server mapping table and client mapping table, carries out address maps conversion by between the address of the address in packet in identity position separation network and the address in legacy network;
Data transmission unit, for completing the Packet Generation of address maps conversion to the service server in identity position separation network or the client in legacy network by address mapping unit.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module, each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or their multiple module or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only embodiments of the invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.