Summary of the invention
The technical problem to be solved in the present invention is to provide interoperability methods between a kind of two networks and intercommunication network and Interworking gateway, to realize the intercommunication between two networks.
For solving above technical problem, the invention provides the interoperability methods of a kind of identity position separation network and the Internet, identity position separation network adopts identity coding difference terminal, the Internet adopts IP address difference terminal, and described identity position separation network sends process from packet to the Internet comprises:
Forwarding step, described identity position separation network sends identity position separation network packet to Interworking gateway, and wherein source address is the identity coding of identity position separation network terminal, and destination address is the identity coding of internet terminal in identity position separation network;
Receive and forward step, described Interworking gateway receives described identity position separation network and sends described identity position separation network packet, and convert described identity position separation network packet to internet data bag, comprise and described source address is converted to the IP address of described identity position separation network terminal in the Internet, destination address is converted to the IP address of internet terminal; After packet conversion, described internet data bag is sent to described the Internet by described Interworking gateway;
Receiving step, described the Internet receives the internet data bag that described Interworking gateway sends.
Further, the process that described the Internet sends packet to described identity position separation network comprises:
Forwarding step, described the Internet sends internet data bag to described Interworking gateway, and wherein source address is the IP address of internet terminal, and destination address is the IP address of identity position separation network terminal in the Internet;
Receive and forward step, described Interworking gateway receives the described internet data bag that described the Internet sends; And convert described internet data bag to identity position separation network packet, comprise and described source address is converted to the identity coding of described internet terminal in identity position separation network, destination address is converted to the identity coding of identity position separate mesh terminal; After packet conversion, described Interworking gateway is by described identity position separation network Packet Generation extremely described identity position separation network;
Receiving step: described identity position separation network receives the identity position separation network packet that described Interworking gateway sends.
Further, before described reception forwards step, described Interworking gateway is that described internet terminal distributes described identity coding, for IP address described in described identity position separation network terminal distribution, and preserve described internet terminal and the described IP address of identity position marked network terminal and the mark inverted term of identity coding, described reception forwards in step, and described Interworking gateway carries out identity coding and IP address transition according to described mark inverted term.
Further, the specified portions in described identity coding space is called intercommunication identity coding space, and the described identity coding of described internet terminal is the intercommunication identity coding in described intercommunication identity coding space; The specified portions of described IP address space is called intercommunication IP address space, and the IP address of described identity position separation network terminal is the intercommunication IP address of described intercommunication IP address space; In forwarding step, described identity position separation network or described the Internet are the destination addresses by judging packet is that intercommunication identity coding or intercommunication IP address are routed to described Interworking gateway.
Further, described identity coding is the coding of 32 bit-binary forms, and described identity coding space is overlapping with described IP address space.
For solving above technical problem, the present invention also provides a kind of intercommunication network, and described intercommunication network comprises identity position separation network, the Internet and connects the Interworking gateway of described identity position separation network and described the Internet, wherein:
Described identity position separation network adopts identity coding difference terminal, for sending identity position separation network packet to described Interworking gateway, wherein source address is the identity coding of identity position separation network terminal, and destination address is the identity coding of internet terminal in identity position separation network;
Described Interworking gateway comprises interconnective transceiver module and modular converter, wherein, described transceiver module is for receiving the identity position separation network packet of described identity position separation network transmission and sending the internet data bag after conversion to described the Internet; Described modular converter, for converting described identity position separation network packet to described internet data bag, comprise and described source address is converted to the IP address of described identity position separation network terminal in the Internet, destination address is converted to the IP address of internet terminal;
Described the Internet adopts IP address difference terminal, for receiving the described internet data bag that described Interworking gateway sends.
Further,
Described the Internet is also for sending internet data bag to described Interworking gateway, and wherein source address is the IP address of internet terminal, and destination address is the IP address of identity position separation network terminal in the Internet;
The transceiver module of described Interworking gateway is also for receiving the described internet data bag of described the Internet transmission and being sent to the identity position separation network packet after conversion to described identity position separation network; Described modular converter is also for converting described internet data bag to identity position separation network packet, comprise and described source address is converted to the identity coding of described internet terminal in identity position separation network, destination address is converted to the identity coding of identity position separate mesh terminal;
Described identity position separation network is also for receiving the described identity position separation network packet that described Interworking gateway sends.
Further, described Interworking gateway also comprises the mark distribution module be connected with described modular converter, described mark distribution module is used for distributing described identity coding for described internet terminal, for IP address described in described identity position separation network terminal distribution, also for preserving described internet terminal and the described IP address of identity position marked network terminal and the mark inverted term of identity coding; Described modular converter carries out identity coding and IP address transition according to described mark inverted term.
Further, the specified portions in described identity coding space is called intercommunication identity coding space, and the described identity coding of described internet terminal is the intercommunication identity coding in described intercommunication identity coding space; The specified portions of described IP address space is called intercommunication IP address space, and the IP address of described identity position separation network terminal is the intercommunication IP address of described intercommunication IP address space; Described identity position separation network or described the Internet are the destination addresses by judging packet is that intercommunication identity coding or intercommunication IP address are routed to described Interworking gateway.
Further, described identity coding is the coding of 32 bit-binary forms, and described identity coding space is overlapping with described IP address space.
For solving above technical problem, present invention also offers another kind of intercommunication network, described intercommunication network comprises identity position separation network, the Internet and connects the Interworking gateway of described identity position separation network and described the Internet, wherein:
Described identity position separation network adopts identity coding as terminal distinctive mark, for the communication that realizes between identity position separation network terminal and communicated with described the Internet by described Interworking gateway;
Described the Internet adopts IP address as terminal distinctive mark, for being communicated with described identity position separation network by described Interworking gateway;
Described Interworking gateway is used for for internet terminal distributes corresponding identity coding, for the IP address that identity position separation network terminal distribution is corresponding, and preserve the mark inverted term of identity coding and IP address, also for realizing the conversion of terminal distinctive mark and the data retransmission between identity position separation network and the Internet according to described mark inverted term.
Further, the specified portions in described identity coding space is called intercommunication identity coding space, and described Interworking gateway is the identity coding that described internet terminal distributes is described intercommunication identity coding; The specified portions of described IP address space is called intercommunication IP address space, and described Interworking gateway is the IP address of described identity position separation network terminal distribution is described intercommunication IP address.
Further, described identity coding is the coding of 32 bit-binary forms, and described identity coding space is overlapping with described IP address space.
For solving the problems of the technologies described above, present invention also offers another Interworking gateway, described Interworking gateway is connected with identity position separation network and the Internet, for realizing the communication between described identity position separation network and described the Internet, described identity position separation network adopts identity coding as terminal distinctive mark, described the Internet adopts IP address as terminal distinctive mark, and described Interworking gateway comprises interconnective transceiver module and modular converter, wherein:
Described transceiver module is for receiving the identity position separation network packet of described identity position separation network transmission and sending the internet data bag after conversion to described the Internet; Also for receiving the described internet data bag of described the Internet transmission and being sent to the identity position separation network packet after conversion to described identity position separation network;
Described modular converter, for converting described identity position separation network packet to described internet data bag, comprising and described identity coding is converted to described IP address; Also for converting described internet data bag to identity position separation network packet, comprising described IP address transition is described identity coding.
Further, the specified portions in described identity coding space is called intercommunication identity coding space, the specified portions of described IP address space is called intercommunication IP address space, described Interworking gateway also comprises the mark distribution module be connected with described modular converter, for distributing the identity coding in intercommunication identity coding space for described internet terminal, and be the IP address of described identity position separation network terminal distribution intercommunication IP address space, also for the mark inverted term of the intercommunication identity coding of the IP address and distribution of preserving described internet terminal, and the mark inverted term of the intercommunication IP address of the identity coding of described identity position separation network terminal and distribution, described modular converter carries out the conversion of identity coding and IP address according to the mark inverted term that described mark distribution module is preserved.
Further, described identity coding is the coding of 32 bit-binary forms, and described identity coding space is overlapping with described IP address space.
For solving above technical problem, present invention also offers the interoperability methods of a kind of first network and second network, described first network and second network adopt the terminal iidentification of space encoder overlap, and are connected by Interworking gateway, and the method comprises:
Interworking gateway is its terminal iidentification at second network of first network terminal distribution, is its terminal iidentification at first network of second network terminal distribution, and sets up corresponding mark inverted term;
Interworking gateway receives the packet that first network or second network send, and Qi Zhongyuan, destination address are first network terminal and second network terminal as the terminal iidentification in described first or second network of source network;
Interworking gateway is changed the packet received, and comprises and source, destination address is converted to first network terminal and second network terminal as the terminal iidentification in second or first network of object network according to mark inverted term;
Packet Generation after conversion is given second or first network as object network by Interworking gateway.
For solving above technical problem, present invention also offers a kind of intercommunication network, described intercommunication network comprises first network, second network and connects the Interworking gateway of first network and second network, wherein:
First network, for sending the packet of packet or the transmission of reception Interworking gateway to Interworking gateway, the source of described packet, destination address are first network terminal and the terminal iidentification of second network terminal in first network;
Second network, adopt the terminal iidentification adopting space encoder overlapping with first network, for sending the packet of packet or the transmission of reception Interworking gateway to Interworking gateway, the source of described packet, destination address are first network terminal and second network terminal terminal iidentification in the second network;
Interworking gateway, for being its terminal iidentification at second network of first network terminal distribution, is its terminal iidentification at first network of second network terminal distribution, and sets up corresponding mark inverted term; Also for receiving the packet of first network or second network transmission, and the packet received is changed, comprise and source, destination address be converted to first network terminal and second network terminal as the terminal iidentification in second or first network of object network according to mark inverted term; Also for sending the packet after conversion to second or first network as object network.
The inventive method, intercommunication network and Interworking gateway, by Interworking gateway to the conversion process of packet needing intercommunication, realize different terminals mark two networks terminal between intercommunication, particularly by source in the packet of reception, the source network terminal iidentification of destination address is converted to object network terminal identification, for the intercommunication of identity position separation network and conventional internet, the identity coding of identity position separation network adopts the coding of 32 bit-binary forms, overlapping with described IP address space, achieve the compatibility with legacy interconnect network termination, the intercommunication identity coding space for realizing intercommunication is gone out in identity coding spatial division, the intercommunication IP address space for realizing intercommunication is marked off at IP address space, routing Design and judgement can be facilitated, namely in the Internet, routing Design is passed through, the packet being intercommunication IP address all destination addresses is all routed to Interworking gateway, equally, by routing Design in identity position separation network, the packet being intercommunication AID all destination addresses is all routed to Interworking gateway.
Embodiment
Main thought of the present invention arranges Interworking gateway between identity position separation network and the Internet, the communication between identity position separation network and the Internet is realized by Interworking gateway, comprise the identity coding be distributed in for internet terminal in identity position separation network, for the IP address of identity position separation network terminal distribution in the Internet, and carry out the conversion of identity coding and IP address, thus realize the intercommunication of identity position separation network and the Internet.
As shown in Figure 1, intercommunication network of the present invention comprises identity position separation network, the Internet and connects the Interworking gateway of described identity position separation network and described the Internet, wherein:
Described identity position separation network adopts identity coding as terminal distinctive mark, for the communication that realizes between identity position separation network terminal and communicated with described the Internet by described Interworking gateway;
Specifically comprise:
For sending identity position separation network packet to described Interworking gateway, wherein source address is the identity coding of identity position separation network terminal, and destination address is the identity coding of internet terminal in identity position separation network; Also for receiving the described identity position separation network packet that described Interworking gateway sends.
Described the Internet adopts IP address as terminal distinctive mark, for being communicated with described identity position separation network by described Interworking gateway; Specifically comprise:
For sending internet data bag to described Interworking gateway, wherein source address is the IP address of internet terminal, and destination address is the IP address of identity position separation network terminal in the Internet; Also for receiving the described internet data bag that described Interworking gateway sends.
Described Interworking gateway is used for for internet terminal distributes corresponding identity coding, for the IP address that identity position separation network terminal distribution is corresponding, and preserve the mark inverted term of identity coding and IP address, also for realizing the conversion of terminal distinctive mark and the data retransmission between identity position separation network and the Internet according to described mark inverted term.
Particularly, the mark distribution module that described Interworking gateway comprises interconnective transceiver module, modular converter and is connected with described modular converter, wherein:
Described transceiver module is for receiving the identity position separation network packet of described identity position separation network transmission and sending the internet data bag after conversion to described the Internet; Also for receiving the described internet data bag of described the Internet transmission and being sent to the identity position separation network packet after conversion to described identity position separation network;
Described modular converter, for converting described identity position separation network packet to described internet data bag, comprise and described source address is converted to the IP address of described identity position separation network terminal in the Internet, destination address is converted to the IP address of internet terminal; Also for converting described internet data bag to identity position separation network packet, comprise and described source address is converted to the identity coding of described internet terminal in identity position separation network, destination address is converted to the identity coding of identity position separate mesh terminal;
Described mark distribution module, for distributing identity coding for described internet terminal, and be described identity position separation network terminal distribution IP address, also for preserving described internet terminal and the described IP address of identity position marked network terminal and the mark inverted term of identity coding; Described modular converter carries out the conversion of identity coding and IP address according to the mark inverted term that described mark distribution module is preserved.
Preferably, the identity coding (hereinafter referred to as UID) of identity position separation network adopts 32 binary formats of similar IPV4 address, such identity position separation network is in extension process, can be compatible with existing IPV4 terminal, namely need not revise just can access identity locator separation network for existing terminal IPV4 protocol stack.
Owing to almost finishing using in the IPV4 address of the Internet, one piece of enough large independent address space cannot be marked and use to identity position separation network, therefore in the present invention, the UID space of identity position separation network and the IPV4 address space of the Internet overlapping each other.In order to pass through communication and interworking between network in identity coding or IP address area subnetting, following process is done to UID space and IP address space:
Identity position separation network specifies a part as the interim UID space needing the internet terminal of intercommunication from its UID space, is called intercommunication UID space.The described identity coding of described internet terminal is the intercommunication identity coding in described intercommunication identity coding space;
The Internet specifies a part as the temporary ip address space of identity position separation network terminal needing intercommunication from IPV4 space, is called intercommunication IP address space.The IP address of described identity position separation network terminal is the intercommunication IP address of described intercommunication IP address space;
Between identity position separation network and the Internet, set one or more Interworking gateway.In identity position separation network, Interworking gateway is that in the route terminal of intercommunication UID and identity position separation network, all packets using intercommunication UID as destination address all can be forwarded to Interworking gateway; In the Internet, Interworking gateway is the route terminal of intercommunication IP address, and namely in the Internet, all packets using intercommunication IP address as destination address all can be forwarded to Interworking gateway.
For needing the identity position separation network terminal that communicates with internet terminal, in Interworking gateway to its distribution one interim or permanent intercommunication IP address and port numbers, set up the mark inverted term of terminal UID/ port numbers to this intercommunication IP address/port number; Equally, for needing the internet terminal with identity position separation network terminal communication, in Interworking gateway, distribute an interim or permanent intercommunication UID and port numbers to its, set up the mark inverted term of IP address of terminal/port numbers to this intercommunication UID/ port numbers.
Interworking gateway, according to mark inverted term, realizes the conversion of two network data packet formats, and the conversion between source/destination IP address and source/destination UID.
Present invention also offers a kind of Interworking gateway, as detailed above.
The implementation method of identity position separation network of the present invention and the Internet intercommunication comprises identity position separation network and sends the process of packet to the Internet and the Internet sends the process of packet to identity position separation network, is specifically described below to these two processes.
As shown in Figure 2, identity position separation network comprises to the process of the Internet transmission packet:
Step 201: forwarding step, described identity position separation network sends identity position separation network packet to Interworking gateway, wherein source address is the identity coding of identity position separation network terminal, and destination address is the identity coding of internet terminal in identity position separation network;
Step 202: receive and forward step, described Interworking gateway receives described identity position separation network and sends described identity position separation network packet, and convert described identity position separation network packet to internet data bag, comprise and described source address is converted to the IP address of described identity position separation network terminal in the Internet, destination address is converted to the IP address of internet terminal; After packet conversion, described internet data bag is sent to described the Internet by described Interworking gateway;
Step 203: receiving step, described the Internet receives the internet data bag that described Interworking gateway sends.
As shown in Figure 3, the process that the Internet sends packet to described identity position separation network comprises:
Step 301: forwarding step, described the Internet sends internet data bag to described Interworking gateway, and wherein source address is the IP address of internet terminal, and destination address is the IP address of identity position separation network terminal in the Internet;
Step 302: described Interworking gateway receives the described internet data bag that described the Internet sends;
Step 303: receive and forward step, described Interworking gateway receives the described internet data bag that described the Internet sends; And convert described internet data bag to identity position separation network packet, comprise and described source address is converted to the identity coding of described internet terminal in identity position separation network, destination address is converted to the identity coding of identity position separate mesh terminal; After packet conversion, described Interworking gateway is by described identity position separation network Packet Generation extremely described identity position separation network;
Receiving step: described identity position separation network receives the identity position separation network packet that described Interworking gateway sends.
Before step 202 and 203, described Interworking gateway is that described internet terminal distributes described identity coding, for IP address described in described identity position separation network terminal distribution, and preserve described internet terminal and the described IP address of identity position marked network terminal and the mark inverted term of identity coding, in step 202 and 203, described Interworking gateway carries out identity coding and IP address transition according to described mark inverted term.
The specified portions in described identity coding space is called intercommunication identity coding space, and the described identity coding of described internet terminal is the intercommunication identity coding in described intercommunication identity coding space; The specified portions of described IP address space is called intercommunication IP address space, and the IP address of described identity position separation network terminal is the intercommunication IP address of described intercommunication IP address space; In step 203 and step 303, described identity position separation network or described the Internet are the destination addresses by judging packet is that intercommunication identity coding or intercommunication IP address are routed to described Interworking gateway.
Described identity coding is the coding of 32 bit-binary forms, and described identity coding space is overlapping with described IP address space.
Below in conjunction with drawings and Examples, the invention will be further described.
Application example:
The schematic diagram of identity position separation network terminal and internet terminal intercommunication as shown in Figure 4.
Each terminal of the Internet all has the IP address of 32 bit-binary codings, the identity of this address both GC group connector, the also position of GC group connector.As the terminal X in Fig. 1, there is IP address 223.20.20.2.
The technology that identity position separation network adopts identity, position is separated, the existing identify label of each terminal, also has a station location marker.Communication between two terminals is identity-based mark (UID).In order to compatible with existing terminal, and possess the identity coding space of enough capacity, identify label adopts 32 bit-binary forms as IP address.As the terminal A in Fig. 1 has identify label 201.1.1.10.
By routing Design in the Internet, the packet being intercommunication IP address all destination addresses is all routed to Interworking gateway; Equally, by routing Design in identity position separation network, the packet being intercommunication AID all destination addresses is all routed to Interworking gateway.
In the example shown in fig. 4, identity position separation network terminal A needs and internet terminal X communication.Need to distribute an intercommunication IP address and port numbers (namely port numbers here refers to TCP/UDP port numbers, in order to each communication connection between marking terminal, hereinafter referred to as port numbers) to A, distribute an intercommunication UID and port numbers to X.Set up in Interworking gateway inside and identify inverted term as follows:
The intercommunication IP address/port number (172.10.10.1/ port numbers 8000) of UID/ port numbers (the 201.1.1.10/ port numbers 2000) <->A of A
The IP address/port number (223.20.20.2/ port numbers 9000) of intercommunication UID/ port numbers (the 10.10.10.1/ port numbers 3000) <->X of X
When A sends out packet to X:
1, A is using the intercommunication UID of X as object UID, and self UID sends packet as source UID.
In the example of fig. 1, object UID:10.10.10.1/ port numbers 3000; Source UID:201.1.1.10/ port numbers 2000.
2, this packet has been forwarded to Interworking gateway by identity position separation network.
3, Interworking gateway converts this packet to the IP packet of the Internet, and wherein, object IP address is the IP address of X, and source IP address is the intercommunication IP address of A.Port numbers also does corresponding conversion.
In the example of fig. 1, object IP:223.20.20.2/ port numbers 9000; Source IP:172.10.10.1/ port numbers 8000;
4, this packet has been forwarded to X by the Internet.
When X sends out packet to A:
1, X is using the intercommunication IP address of A as object IP address, and own IP address sends packet as source IP address;
In the example of fig. 1, object IP:172.10.10.1/ port numbers 8001; Source UID:223.20.20.2/ port numbers 9001.
2, this packet has been forwarded to Interworking gateway by the Internet;
3, Interworking gateway converts this packet to the packet of identity position separation network, and wherein, object UID is the UID of A terminal, and source UID is the intercommunication UID of x terminal;
In the example of fig. 1, object UID:201.1.1.10/ port numbers 2001; Source UID:10.10.10.1/ port numbers 3001
4, this packet has been forwarded to terminal A by identity position separation network.
According to the method, identity position separation network terminal and internet terminal achieve intercommunication.
Based on inventive concept, adopt two networks of the terminal iidentification of space encoder overlap, as first network and second network, Interworking gateway is set between the two networks, Interworking gateway is that its interworking terminal at second network of first network terminal distribution identifies, for its interworking terminal at first network of second network terminal distribution identifies, and the packet between first network and second network is carried out terminal iidentification conversion, realize the intercommunication between first network and second network.
Particularly, described first network and second network adopt the terminal iidentification of space encoder overlap, and are connected by Interworking gateway, and the interworking implementation method of first network and second network comprises:
Interworking gateway is its terminal iidentification at second network of first network terminal distribution, is its terminal iidentification at first network of second network terminal distribution, and sets up corresponding mark inverted term;
Interworking gateway receives the packet that first network or second network send, and Qi Zhongyuan, destination address are first network terminal and second network terminal as the terminal iidentification in described first or second network of source network;
Interworking gateway is changed the packet received, and comprises and source, destination address is converted to first network terminal and second network terminal as the terminal iidentification in second or first network of object network according to mark inverted term;
Packet Generation after conversion is given second or first network as object network by Interworking gateway.
Comprise first network, second network with above corresponding intercommunication network and connect the Interworking gateway of first network and second network, wherein:
First network, for sending the packet of packet or the transmission of reception Interworking gateway to Interworking gateway, the source of described packet, destination address are first network terminal and the terminal iidentification of second network terminal in first network;
Second network, adopt the terminal iidentification overlapping with first network space encoder, for sending the packet of packet or the transmission of reception Interworking gateway to Interworking gateway, the source of described packet, destination address are first network terminal and second network terminal terminal iidentification in the second network;
Interworking gateway, for being its terminal iidentification at second network of first network terminal distribution, is its terminal iidentification at first network of second network terminal distribution, and sets up corresponding mark inverted term; Also for receiving the packet of first network or second network transmission, and the packet received is changed, comprise and source, destination address be converted to first network terminal and second network terminal as the terminal iidentification in second or first network of object network according to mark inverted term; Also for sending the packet after conversion to second or first network as object network.
The inventive method, intercommunication network and Interworking gateway, by Interworking gateway to the conversion process of packet needing intercommunication, realize different terminals mark two networks terminal between intercommunication, particularly by source in the packet of reception, the source network terminal iidentification of destination address is converted to object network terminal identification, for the intercommunication of identity position separation network and conventional internet, the identity coding of identity position separation network adopts the coding of 32 bit-binary forms, overlapping with described IP address space, achieve the compatibility with legacy interconnect network termination, the intercommunication identity coding space for realizing intercommunication is gone out in identity coding spatial division, the intercommunication IP address space for realizing intercommunication is marked off at IP address space, routing Design and judgement can be facilitated, namely in the Internet, routing Design is passed through, the packet being intercommunication IP address all destination addresses is all routed to Interworking gateway, equally, by routing Design in identity position separation network, the packet being intercommunication AID all destination addresses is all routed to Interworking gateway.