CN102447747A - Method, device and system for interacting with private network - Google Patents

Method, device and system for interacting with private network Download PDF

Info

Publication number
CN102447747A
CN102447747A CN2010105063437A CN201010506343A CN102447747A CN 102447747 A CN102447747 A CN 102447747A CN 2010105063437 A CN2010105063437 A CN 2010105063437A CN 201010506343 A CN201010506343 A CN 201010506343A CN 102447747 A CN102447747 A CN 102447747A
Authority
CN
China
Prior art keywords
address
business
business device
user side
home
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105063437A
Other languages
Chinese (zh)
Inventor
陈刚
邓辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN2010105063437A priority Critical patent/CN102447747A/en
Publication of CN102447747A publication Critical patent/CN102447747A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method, a device and a system for interacting with a private network, wherein the method comprises the steps that: a function for translating internal and external addresses of business equipment is set on a gateway of a private network, the corresponding relation between the internal and the external addresses of the business equipment of the private network is stored, after the gateway receives the business request message which is sent by a user side of an external network and carries the external address of the business equipment, the set translation function is adopted, according to the corresponding relation, the internal address of the business equipment is obtained, and the business request is routed to the business equipment according to the internal address of the business equipment; and after the gateway receives the business which is fed back by the business equipment and carries the internal address of the business equipment, the set translation function is adopted, according to the relation, the external address of the business equipment is obtained, and the business is routed to the user side. Through adopting the invention, the interaction between the long-distance network and the private network can be realized, is simpler, does not change the business equipment of the private network, and does not increase a primary control program (PCP) server in the network.

Description

A kind of exchange method, Apparatus and system of and private network
Technical field
The present invention relates to communications field service interaction technology, particularly a kind of exchange method, Apparatus and system of and private network.
Background technology
Along with the arrival in the third generation (3G) communication service epoch, the class of business that the user uses is also abundanter, and the customer service demand also just develops towards personalized and diversified direction.Traditional service source provides the network that often is arranged in operator unified management, or carries out professional providing through third party's trustship.Yet the appearance of various private networks makes that such as the appearance of family's private network professional presentation mode is more flexible, and the user hopes to realize the remote monitoring that private network is professional according to self demand custom service neatly in the private network of setting.For example, the user can use the home business equipment such as printer, monitor and fax in family's private network through the home gateway that carrier network inserts in family's private network.This business demand is often administered by home gateway owing to home business equipment; And the different reason of address distribution of the network that the address distribution that this private network adopts and operator provide, and the problem of user side to family's business device end access restricted appearred.
In order to address this problem, when making up private network, adopted pin hole control protocol (PCP, Pinhole Control Protocol) technology, and the gateway between private network and carrier network adopts address transition (NAT) gateway.That is to say; In private network, be provided with the PCP server, the business device in each private network all is set to the PCP client, when business device inserts private network; The PCP server distributes and the maintain internal address for this business device; And indication NAT gateway is safeguarded the mapping relations of home address, port and the external address of this home server, and when user side was visited this business device through carrier network, the NAT gateway directly had access to this home business server according to mapping relations; When this business device will send to user side with business, directly external address is nested in the Business Stream, send to user side through the NAT gateway.
Below be family's private network with the private network, the business device in the private network is that example is elaborated to said process for home business equipment.
Fig. 1 visits the home business device systems sketch map in the privately owned home network for prior art, and this system comprises: family's private network and carrier network.In carrier network; Comprise user side and domain name system server (DNS), stored the unique address of each home business equipment in carrier network among the DNS, such as internet protocol version (IPv6) address; User side can be various communication equipments, such as portable terminal or fixed terminal etc.In family's private network, comprise the PCP server, as the home business equipment and the NAT gateway of PCP client, the PCP server can be arranged in the NAT gateway.
When family's business device inserts family's private network; Home business equipment sends the PCP request message to the PCP server; The PCP server is that the home business devices allocation is in the address of family's private network, after the mapping relations between the interface of NAT gateway and the address in carrier network; Be home business equipment feedback PCP response message; Inform its home address of home business server and external address, indication NAT gateway is safeguarded the mapping relations of home address, port and the external address of this home business equipment.
When this home business equipment of user side visit; Directly and DNS mutual, get access to the external address of this home business equipment from DNS after, directly visit private network according to the external address of this home business equipment; This external address is through behind the NAT gateway; This NAT gateway is confirmed the port and the home address of this home business equipment according to the mapping relations of external address, home address and the port of this home business equipment, has access to this home business equipment.This home business equipment is when issuing user side with business, and embedded self external address directly sends to the user side in the carrier network through the NAT gateway then in business, and redispatches after not needing ALG on the NAT gateway to handle.
Though said method can be realized external network and the private network set up between mutual, more complicated in realization, and have following shortcoming:
First; This method is directly used the prior NAT gateway; But but do not consider the NAT type of NAT gateway; At present, be divided into full core (Full Core) type, restriction core (Restricted Cone) type, port limit core (Port Restricted Cone) and four types of equilibrium (Symmetric) types according to the implementation of NAT.Wherein, full core type is after the mapping relations of setting up external address, home address and port, and external network all can adopt external address as destination address, sends message to business device, therefore, can realize in the following PCP scheme of this type.Yet; Can be in restriction core type, port limit core type or the balanced type to the address or/and port restricted; After the mapping relations by external address, home address and the port of the business device of PCP server indication form; If external address, home address are or/and port, then can't be realized mutual between user side and the private network because the type setting of NAT gateway and limited.
Second; Because this method realizes based on PCP, so need in private network, introduce the PCP server, reaches each business device all is set to the PCP client; Thereby increased the complexity that realizes private network, and also brought additional overhead for private network based on the communication information of PCP.Especially, when private network can't be supported the PCP server capability, will in private network, regularly send the PCP request message, cause the redundancy of bulk information in the private network as the business device of PCP client.In addition, PCP discovering server mechanism has proposed two kinds of methods, a kind of expansion that is based on DHCP characteristic (DHCP option), and another kind is that a PCP server address visit is set.For first method; Because DHCP option just in conceptual phase, when the Dynamic Host Configuration Protocol server in the external network can't be discerned DHCP option field, can't be routed to this PCP server it will be monitored; And under some scene, there is not the setting of Dynamic Host Configuration Protocol server in external network.For another kind of method,, also can bring the problem of certain extensibility owing to the unique and stationarity of PCP server address.
The 3rd, this method proposes to avoid the application level gateway functionality on the NAT gateway, but the embodiment of this advantage needs business device with resolving in the PCP response message, obtains to be embedded in the business behind its external address to realize.Like this; Certainly will carry out related amendments to existing business, because the embedded address of current operation all is to realize through an address macro-variable in the nested function; Be INADDR_ANY; So the requirement business is returned the external address in the PCP response message and added business, need change all business at present, so this scheme more complicated.
To sum up, also do not have a kind of can in the private network that business device is not changed and set, not increasing under the prerequisite of PCP server simply at present, the mutual method of long-range and private network exists.
Summary of the invention
In view of this, the present invention provides a kind of and exchange method private network, and this method can not changed and not increase under the prerequisite of PCP server by business device in to private network, realizes the mutual of long-range and private network simply.
The present invention also provides a kind of and interactive device private network, and this equipment can not changed and not increase under the prerequisite of PCP server by business device in to private network, realizes the mutual of long-range and private network simply.
The present invention also provides a kind of and interactive system private network, and this system can not change and not increase under the prerequisite of PCP server by business device in to private network, realizes the mutual of long-range and private network simply.
For achieving the above object, the technical scheme that the present invention implements specifically is achieved in that
A kind of exchange method of and private network, on the private network gateway, be provided with business device outside in the interpretative function of address, and store the home address of private network business device and the corresponding relation of external address, this method also comprises:
After this gateway receives the business request information of carrying the business device external address that externally user side of network sends; Adopt the interpretative function that is provided with; According to corresponding relation; Obtain the home address of this business device, give this business device with the service request route according to the home address of this business device;
This gateway adopts the interpretative function that is provided with after receiving the business of the home address of carrying this business device of business device feedback, according to corresponding relation, obtains the external address of this business device, should the business route give user side.
The external address that said business request information is carried is to combine the IPv6 address by internet protocol IP v4 address, the inside of business device and IPv6 prefix, the interpretative function that said employing is provided with, and according to corresponding relation, the home address that obtains this business device is:
Remove the IPv6 prefix in the business request information, obtain the IPv4 address, inside of business device.
Said gateway also is provided with the home address and the external address corresponding relation of user side,
Said business request information also carries the external address of user side, and when obtaining the home address of this business device, this method also comprises:
Gateway adopts interpretative function, according to the home address and the external address corresponding relation of the user side that is provided with, after the external address of the user side that business request information is carried is translated as the home address of user side, is carried at business request information and sends to business device;
Said business is also carried the home address of user side, and when obtaining the external address of this business device, this method also comprises:
Gateway adopts interpretative function, and according to home address and the external address corresponding relation of the user side that is provided with, the home address of the user side that business is carried is translated as external address, according to the external address of user side externally in the network with professional route to user side.
Said home address is Internet protocol IPv4 address, and said external address is the IPv6 address.
A kind of interactive device of and private network, this device comprises: translation module, mapping address pond and the gateway communication module of address in business device is outer, wherein,
The translation module of address was used for according to mapping address pond stored relation business request information being translated in business device was outer, obtained the home address of business device; According to stored relation in the mapping address pond business is translated, in business, carried the external address of business device;
The mapping address pond is used to store the external address of subscriber equipment and the corresponding relation of home address;
The gateway communication module is used to receive business request information, after the translation through the translation module of interior address outside the business device, according to the business device home address this business request information is transmitted to business device; After the translation module of address translates in outer through business device with the business that receives, the business of home address that carries business device and external address is sent to user side.
The translation module of address was based on the packet packet header translation of business or message in said business device was outer, perhaps based on the nested translation of the packet of business or message.
The external address of user side and the corresponding relation of home address are also stored in said mapping address pond;
Carry the external address of user side in the business request information that said gateway communication module receives; Translation module through the outer interior address of said business device; After the translation according to the corresponding relation of the external address of the user side of mapping address pond storage and home address; Obtain the home address of corresponding user side, the business request information that said gateway communication module will carry the home address of user side sends to this business device;
The business that said gateway communication module receives carries the home address of user side; Translation module through the outer interior address of said business device; After the translation according to the corresponding relation of the external address of the user side of mapping address pond storage and home address; Obtain the external address of corresponding user side, said gateway communication module routes traffic toward user side according to the external address of user side.
The business request information that said gateway communication module receives is to combine the IPv6 address by internet protocol IP v4 address, the inside of business device and IPv6 prefix;
The translation module of address in said business device is outer; According to stored relation in the mapping address pond business request information is translated; The home address that obtains business device is: remove the IPv6 prefix in the business request information, obtain the IPv4 address, inside of business device.
A kind of interactive system of and private network, this system is made up of private network and external network, comprises gateway and business device in the private network, and external network comprises domain name system server DNS, base station and user side, wherein,
User side is used for sending the access request carry the business device sign of wanting mutual through the base station to DNS, receives according to institute and replys the business device external address that carries and send the business request information of carrying the business device external address to gateway, the reception business;
DNS; The external address of business device is set corresponding to the sign of business device; After the business device sign that is used for carrying according to the reception access request is confirmed the external address of corresponding service equipment, return the visit of carrying the business device external address through the base station to user side and reply;
Gateway; The interpretative function of the outer interior address of business device is set, and the corresponding relation of the home address of storage service equipment and external address, the business device external address that is used for the reception business request information is carried is translated as home address; Home address according to business device is given business device with this business request information route; To after receiving business device home address that business carries and translating, the external address according to obtaining business device sends to user side with business;
Business device after being used to receive business request information, sends the business of carrying the business device home address of being asked to gateway.
The external address that said DNS is provided with business device corresponding to the sign of business device is that IPv4 address, inside and the IPv6 prefix by business device combines the IPv6 address, when the visit of said DNS feedback is replied, carries the IPv6 address after the combination;
In the business request information that said gateway receives; The IPv4 address, inside and the IPv6 prefix that carry business device combine the IPv6 address; Said gateway is removed the IPv6 prefix in the business request information, according to the IPv4 address, inside of business device this business request information is sent to business device.
Said gateway also is provided with the external address of user side and the corresponding relation of home address;
When said user side sends business request information, also carry the external address of user side, obtain the home address of user side after this external address is translated through gateway, offer business device;
Business device is when sending business, and the home address of carrying this user side after the gateway translation, obtains external address, and this business is routed to user side according to this external address.
Visible by technique scheme, the interpretative function of address and the home address of storage private network business device and the corresponding relation of external address in the present invention is provided with outside the business device on the private network gateway.When the business device in the user side in the external network and this private network is mutual; Through this business device identification access DNS; Get access to the external address of this business device from DNS; External address visit private network gateway according to this business device that obtains; The business request information of this business device external address is carried in transmission, and the private network gateway adopts interpretative function to confirm the home address of this business device according to corresponding relation, according to the home address of this business device this request message is sent to this business device; When this business device business of will sending is given the user side in the external network, carry its home address, the private network gateway sends to user side with business after adopting interpretative function to translate according to corresponding relation home address.Like this, just can realize the mutual, fairly simple of long-range and private network, and business device change in the private network reached not increase PCP server in private network.
Description of drawings
Fig. 1 visits the home business device systems sketch map in the privately owned home network for prior art;
Fig. 2 is provided by the invention and interactive system sketch map private network;
Fig. 3 is the structural representation of private network gateway provided by the invention;
Fig. 4 is the exchange method sketch map of private network provided by the invention;
Fig. 5 is the exchange method embodiment sketch map of private network provided by the invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is done further explain.
In the present invention, external network can be cordless communication network, also can be fixed network, no longer limits here.If external network is a cordless communication network; Then can be 3G network; Private network can be family's private network, and in this business scenario, the user side of going out is through the business device in the 3G network visit family private network; Obtain the business that each business device provides, such as obtaining camera head monitor image or print service of printer in family's private network etc.If external network is a fixed network, then private network also can be family's private network, and in this business scenario, the user side of going out inserts internet through fixed network, visits the business device in family's private network, obtains the business that each business device provides.
Fig. 2 is provided by the invention and interactive system sketch map private network, and as shown in the figure, this system comprises: private network and external network, comprise gateway and business device in the private network, and external network comprises DNS, base station and user side, wherein,
User side; Be used for sending the access request of carrying the business device sign of wanting mutual to DNS through the base station; According to receive and reply the business device external address that carries and send the business request information of carrying the business device external address to gateway through the base station, receive professional;
DNS; The external address of business device is set corresponding to the sign of business device; After the business device sign that is used for carrying according to the reception access request is confirmed the external address of corresponding service equipment, return the visit of carrying the business device external address to user side and reply;
Gateway; The interpretative function of the outer interior address of business device is set, and the corresponding relation of the home address of storage service equipment and external address, the business device external address that is used for the reception business request information is carried is translated as home address; Home address according to business device is given business device with this business request information route; To after receiving business device home address that business carries and translating, the external address according to obtaining business device sends to user side with business;
Business device after being used to receive business request information, sends the business of carrying the business device home address of being asked to gateway.
In this embodiment; External network can all distribute an external address prefix for each business device in the private network, such as the IPv6 address prefix, and in DNS to unique identification that should business device; Store such as URL (URL); In DNS, to sign that should business device, corresponding external address is to combine the IPv6 address by internet protocol IP v4 address, the inside of business device and IPv6 prefix.External address storage for business device can be adopted IPv6 prefix (IPv6prefix) form; It has reacted the private network at its place; Home address for business device; By the gateway employing DHCP distribution method distribution of private network and the MAC Address of corresponding business device, guarantee the uniqueness of the home address of business device in private network.At this moment, when DNS feedback visit is replied, also can carry the IPv6 address after the combination of business device; At this moment; In the business request information that gateway receives, just carry the external address of business device, this external address is to combine the IPv6 address by internet protocol IP v4 address, the inside of business device and IPv6 prefix; Gateway does not need translation, and direct home address according to business device sends to business device with this business request information and gets final product.
In the present invention; The gateway of private network is when distributing home address for business device; Be from the home address pond of its maintenance, to select a home address to distribute, same access interface or same output port that a plurality of home addresses of the different business equipment that is distributed can corresponding gateway that is to say; The access interface of gateway or output port are multiplexing; When the home address pond was the IPv4 address pool, the selection of its address pool can be adopted the IANA reserved address, the address field as 0.0.0.1-0.0.0.225.
After distributing like this, just can guarantee the externally accessibility of network of each business device.When externally the user side in the network will be visited the business device in the private network, at first just send the URL access request of carrying business device to DNS, DNS will return the visit of carrying the business device external address and reply; Secondly; User side inserts the private network gateway through the external address of this business device; The business request information of the external address of professional external equipment is carried in transmission, after the private network gateway receives, carries out the interpretative function of the outer interior address of business device; According to the home address that obtains this business device, send this business request information and give business device; At last; After business device carries the business of its home address according to this business request information feedback; The interpretative function of address in the business device of the business device external address of being stored by the utilization of private network gateway and the corresponding relation of home address and setting is outer sends to user side after business is translated as the business of carrying business device external address and home address.
In the present invention; In order to cooperate the demand of some application level gateway functionality, the private network gateway also provides application level gateway functionality, through such processing; The private network gateway can be properly routed to the business that is received on business device or the user side, realizes professional accessibility.
That is to say, in gateway, also be provided with the external address of user side and the corresponding relation of home address, when user side sends business request information; Also carry the external address of user side, this external address obtains home address after translating through the private network gateway, offers business device; Business device is when sending business; Carry the home address of this user side, after the gateway translation, obtain external address; This business is routed to user side according to this external address, and user side just can receive professional.
In order to realize the mutual of private network, the interpretative function of address in the present invention is provided with outside the business device, and the corresponding relation of the external address of storage service equipment and home address on the private network gateway; Therefore, also the structure of private network gateway is revised, as shown in Figure 3; Fig. 3 is the structural representation of private network gateway provided by the invention; Comprise: translation module, mapping address pond and the gateway communication module of address in business device is outer, wherein
The translation module of address was used for business request information is translated in business device was outer, obtained the home address of business device; According to stored relation in the mapping address pond business is translated, in business, carried the external address of business device;
The mapping address pond is used to store the external address of subscriber equipment and the corresponding relation of home address;
The gateway communication module is used to receive business request information, after the translation through the translation module of interior address outside the business device, according to the business device home address this business request information is transmitted to business device; After the translation module of address translates in outer through business device with the business that receives, the business of home address that carries business device and external address is sent to user side.
In this embodiment, the inside and outside address transition of business device in the translation module of the outer interior address of the business device in the private network gateway is mainly accomplished outside the business device in the business request information in address translation and the business device answer business.When the translation module of address receives the message that external network sends in outside the business device, will external address information wherein be translated as home address information, realize the transmission of this message in private network, vice versa.Specifically; The translation module of address can directly be translated and nested translation based on the packet packet header of business or message in business device was outer; Wherein, The execution of packet packet header translation is exactly that external address with the packet packet header of message converts corresponding home address into, or converts the home address in packet packet header of business into corresponding external address; The execution mechanism of nested translation is exactly after the message of using based on external address is intercepted and captured; Converting home address into uses; Accomplish the transmission of this message in private network; Or after intercepting and capturing based on the business that home address is used, convert external address into and use, accomplish the externally transmission in the network of this business.
In the present invention; The external address of mapping address pond storage service equipment and the corresponding relation of home address; Like external address is IPv6; When home address was IPv4: IPv4:port1 <-->IPv6prefix:IPv4:port2, port1 wherein were the gateway port that business device inserts, and port2 is the gateway port of business device output; For the external address of the user side of reserving and the corresponding relation of home address, its storage format can be IPv4:port1 <-->IPv6:port2.
In the present invention; When family's gateway is implemented the IPv4-IPv6 translation; If being IPv4 address, inside and the IPv6 prefix by business device, the external address of DNS storage service equipment combines the IPv6 address; The translation module of address was removed the IPv6 prefix in the business request information in business device was outer when business request information is translated, and obtained the IPv4 address, inside of business device.
In the present invention; The external address of user side and the corresponding relation of home address have also been stored in the mapping address pond, and when transport service, business carries the home address of user side; After the translation through the translation module of interior address outside the business device; Obtain the external address of corresponding user side, the external address according to user side routes traffic toward user side.
Fig. 4 is the exchange method sketch map of private network provided by the invention, on the private network gateway, be provided with outside the business device in the interpretative function of address, and the home address of storage private network business device and the corresponding relation of external address, its concrete steps are:
User side in step 401, the external network is mutual with the business device in this private network, through the identification access DNS of this business device;
Step 402, DNS are confirmed the external address of corresponding service equipment to feed back to user side according to the sign of business device;
In this step,, the external address of DNS storage service equipment combines the IPv6 address, the IPv6 address for combining of sending when then replying if being IPv4 address, inside and IPv6 prefix by business device;
After step 403, user side got access to the external address of this business device from DNS, the external address visit private network gateway according to this business device that obtains sent business request information;
In this step, the external address that carries business device in this business request information combines the IPv6 address by the IPv4 address, inside and the IPv6 prefix of business device;
In this step, this business request information can also be carried the external address of user side;
After step 404, private network gateway receive this business request information, the external address in this business request information is translated, obtain the home address of business device after, according to the home address of business device this request message is sent to this business device;
In this step, if the external address that this message is carried combines the IPv6 address by the IPv4 address, inside and the IPv6 prefix of business device, the IPv6 prefix of then directly removing this message gets final product;
In this step; If this message carries the external address of user side; The external address of user side and the corresponding relation of home address then are set in gateway, and the user side external address is translated as home address, be carried at and send to business device in the business request information;
After step 405, this business device receive this business request information, the business of being asked of carrying its home address is sent to the private network gateway;
In this step, this business can also be carried user side, just the home address of purpose side;
After step 406, private network gateway receive business; After the business device home address that business is carried adopts business device the interpretative function of address translates according to stored relation in outer; Obtain the external address of business device, the business that carries the business device external address is sent to user side;
In the present invention, during translation, after the home address of the user side that can also business be carried is translated as external address, externally route traffic toward on the user side in the network according to the external address of user side;
Step 407, user side receive this business.
Below adopting private network is family's private network, and the private network gateway is that home gateway and business device are that home business equipment is illustrated method provided by the invention.
Fig. 5 is the exchange method embodiment sketch map of private network provided by the invention, and its concrete steps are:
Step 501, home gateway send home business device external address to external network and obtain request, obtain the authority of acting on behalf of the home business server;
In this step, the request of obtaining of home business device external address is the DHCPv6PD request, and this request is generally got access to by the couple in router of external network;
After step 502, external network receive this request, from DNS, obtain the external address of the home business equipment of being stored, reply and send to home gateway carrying obtaining of home business device external address;
Step 503, home business equipment send to home gateway and distribute the home address request;
In this step, the home address that the home address request requires to distribute is the IPv4 address;
Step 504, home gateway receive the back for after this home business devices allocation home address, give home business equipment, home business device storage with carrying the home address response feedback that home business equipment distributed;
In this step, home gateway adopts the DHCP method of salary distribution, is home business devices allocation IPv4 address according to the MAC Address of home business equipment, guarantees its uniqueness;
Step 505, home gateway are set up the external address of this home consumer device and the corresponding relation of home address;
Step 506, the user side that is positioned at external network send the access request of carrying the home business device identification to DNS;
In this step, the home business device identification is home business equipment URL, is watch-dog such as home business equipment, and the URL that then carries is homeserver.cam;
After step 507, DNS received this access request, backward reference was replied, and the external address of the home business equipment that will visit and home address are carried at visit and reply;
In this step, DNS combines the IPv6 address corresponding to the external address IPv6 of the sign setting of business device by the IPv4 address, inside and the IPv6 prefix of business device, so directly can reply;
Step 508, user side send and carry the external address of home business equipment and the business request information of home address, and this request message is routed to home gateway according to the external address of home business equipment;
In this step, this business request information also comprises source address, just the external address of user side;
After step 509, home gateway receive this business request information; After identifying the external address and home address of the home business equipment that carries; Carry out address translation, remove the external address of home business equipment, one of them port mapping of maintain internal address and home gateway;
Here, removal is exactly the IPv6 prefix;
In this step, because this business request information is an application layer messages, home gateway will be implemented application corresponding layer gateway function;
Step 510, home gateway are provided with the home address of user side and the corresponding relation of external address;
Step 511, home gateway send business request information to home business equipment;
Step 512, this service request of home business device responds are sent the institute's requested service that carries home business device interior address and user side home address;
After step 513, home gateway receive this business, the home business device interior address of carrying in this business is translated, obtain home business device external address and confirm to obtain the user side external address;
Step 514, home gateway send to user side according to the business that the user side external address will carry the external address of home business equipment.
The present invention is through the interpretative function of address in the private network gateway, being provided with outside the business device; And the home address of storage service equipment and the corresponding relation of external address; The external address of the user side of having realized being arranged in external network through subscriber equipment just can be directly carry out Operational Visit to the business device of private network, overcome in the background technology NAT crossing problem that the different N AT type owing to the NAT gateway produces.The present invention can not realize based on PCP at private network; So can not produce extra signaling consumption; All changes all concentrate in the gateway of private network, and other business devices in the private network are not needed special setting, also can in private network, not introduce other functional entity; Thereby utilize method provided by the invention to make private network be more prone to dispose and implement, avoided being provided with in the existing scheme extra traffic server and be difficult to the problem finding and locate.
More than lift preferred embodiment; The object of the invention, technical scheme and advantage have been carried out further explain, and institute it should be understood that the above is merely preferred embodiment of the present invention; Not in order to restriction the present invention; All within spirit of the present invention and principle, any modification of being done, be equal to replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the exchange method with private network is characterized in that, on the private network gateway, be provided with outside the business device in the interpretative function of address, and the home address of storage private network business device and the corresponding relation of external address, this method also comprises:
After this gateway receives the business request information of carrying the business device external address that externally user side of network sends; Adopt the interpretative function that is provided with; According to corresponding relation; Obtain the home address of this business device, give this business device with the service request route according to the home address of this business device;
This gateway adopts the interpretative function that is provided with after receiving the business of the home address of carrying this business device of business device feedback, according to corresponding relation, obtains the external address of this business device, should the business route give user side.
2. the method for claim 1; It is characterized in that; The external address that said business request information is carried is to combine the IPv6 address by internet protocol IP v4 address, the inside of business device and IPv6 prefix; The interpretative function that said employing is provided with, according to corresponding relation, the home address that obtains this business device is:
Remove the IPv6 prefix in the business request information, obtain the IPv4 address, inside of business device.
3. the method for claim 1 is characterized in that, said gateway also is provided with the home address and the external address corresponding relation of user side,
Said business request information also carries the external address of user side, and when obtaining the home address of this business device, this method also comprises:
Gateway adopts interpretative function, according to the home address and the external address corresponding relation of the user side that is provided with, after the external address of the user side that business request information is carried is translated as the home address of user side, is carried at business request information and sends to business device;
Said business is also carried the home address of user side, and when obtaining the external address of this business device, this method also comprises:
Gateway adopts interpretative function, and according to home address and the external address corresponding relation of the user side that is provided with, the home address of the user side that business is carried is translated as external address, according to the external address of user side externally in the network with professional route to user side.
4. like the arbitrary described method of claim 1~3, it is characterized in that said home address is Internet protocol IPv4 address, said external address is the IPv6 address.
5. interactive device with private network is characterized in that this device comprises: translation module, mapping address pond and the gateway communication module of address in business device is outer, wherein,
The translation module of address was used for according to mapping address pond stored relation business request information being translated in business device was outer, obtained the home address of business device; According to stored relation in the mapping address pond business is translated, in business, carried the external address of business device;
The mapping address pond is used to store the external address of subscriber equipment and the corresponding relation of home address;
The gateway communication module is used to receive business request information, after the translation through the translation module of interior address outside the business device, according to the business device home address this business request information is transmitted to business device; After the translation module of address translates in outer through business device with the business that receives, the business of home address that carries business device and external address is sent to user side.
6. device as claimed in claim 5 is characterized in that, the translation module of address was based on the packet packet header translation of business or message, perhaps based on the nested translation of the packet of business or message in said business device was outer.
7. device as claimed in claim 5 is characterized in that, the external address of user side and the corresponding relation of home address are also stored in said mapping address pond;
Carry the external address of user side in the business request information that said gateway communication module receives; Translation module through the outer interior address of said business device; After the translation according to the corresponding relation of the external address of the user side of mapping address pond storage and home address; Obtain the home address of corresponding user side, the business request information that said gateway communication module will carry the home address of user side sends to this business device;
The business that said gateway communication module receives carries the home address of user side; Translation module through the outer interior address of said business device; After the translation according to the corresponding relation of the external address of the user side of mapping address pond storage and home address; Obtain the external address of corresponding user side, said gateway communication module routes traffic toward user side according to the external address of user side.
8. device as claimed in claim 5 is characterized in that, the business request information that said gateway communication module receives is to combine the IPv6 address by internet protocol IP v4 address, the inside of business device and IPv6 prefix;
The translation module of address in said business device is outer; According to stored relation in the mapping address pond business request information is translated; The home address that obtains business device is: remove the IPv6 prefix in the business request information, obtain the IPv4 address, inside of business device.
9. the interactive system with private network is characterized in that this system is made up of private network and external network, comprises gateway and business device in the private network, and external network comprises domain name system server DNS, base station and user side, wherein,
User side is used for sending the access request carry the business device sign of wanting mutual through the base station to DNS, receives according to institute and replys the business device external address that carries and send the business request information of carrying the business device external address to gateway, the reception business;
DNS; The external address of business device is set corresponding to the sign of business device; After the business device sign that is used for carrying according to the reception access request is confirmed the external address of corresponding service equipment, return the visit of carrying the business device external address through the base station to user side and reply;
Gateway; The interpretative function of the outer interior address of business device is set, and the corresponding relation of the home address of storage service equipment and external address, the business device external address that is used for the reception business request information is carried is translated as home address; Home address according to business device is given business device with this business request information route; To after receiving business device home address that business carries and translating, the external address according to obtaining business device sends to user side with business;
Business device after being used to receive business request information, sends the business of carrying the business device home address of being asked to gateway.
10. system as claimed in claim 9; It is characterized in that; The external address that said DNS is provided with business device corresponding to the sign of business device is that IPv4 address, inside and the IPv6 prefix by business device combines the IPv6 address; When the visit of said DNS feedback is replied, carry the IPv6 address after the combination;
In the business request information that said gateway receives; The IPv4 address, inside and the IPv6 prefix that carry business device combine the IPv6 address; Said gateway is removed the IPv6 prefix in the business request information, according to the IPv4 address, inside of business device this business request information is sent to business device.
11. system as claimed in claim 9 is characterized in that, said gateway also is provided with the external address of user side and the corresponding relation of home address;
When said user side sends business request information, also carry the external address of user side, obtain the home address of user side after this external address is translated through gateway, offer business device;
Business device is when sending business, and the home address of carrying this user side after the gateway translation, obtains external address, and this business is routed to user side according to this external address.
CN2010105063437A 2010-10-09 2010-10-09 Method, device and system for interacting with private network Pending CN102447747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105063437A CN102447747A (en) 2010-10-09 2010-10-09 Method, device and system for interacting with private network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105063437A CN102447747A (en) 2010-10-09 2010-10-09 Method, device and system for interacting with private network

Publications (1)

Publication Number Publication Date
CN102447747A true CN102447747A (en) 2012-05-09

Family

ID=46009829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105063437A Pending CN102447747A (en) 2010-10-09 2010-10-09 Method, device and system for interacting with private network

Country Status (1)

Country Link
CN (1) CN102447747A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833705A (en) * 2012-08-10 2012-12-19 中兴通讯股份有限公司 Message handling method in coexistence of multiple external identifiers of terminal and network-side equipment
CN106411744A (en) * 2015-08-03 2017-02-15 阿里巴巴集团控股有限公司 Method used for route processing and equipment thereof
CN106982270A (en) * 2016-01-19 2017-07-25 华为技术有限公司 A kind of method, device and network system distributed and map public network address
CN107770298A (en) * 2017-09-30 2018-03-06 华为技术有限公司 The method and apparatus for transmitting data
CN114024934A (en) * 2017-06-29 2022-02-08 瞻博网络公司 Apparatus and method for converting between internet protocols
WO2022063121A1 (en) * 2020-09-22 2022-03-31 华为云计算技术有限公司 Private network-based network intercommunication method and device, and computer cluster

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1578296A (en) * 2003-07-29 2005-02-09 华为技术有限公司 Method for realizing double-stack transition
CN101018234A (en) * 2007-03-15 2007-08-15 杭州华为三康技术有限公司 Routing information publishing method and network address conversion-protocol conversion gateway device
US20080086549A1 (en) * 2005-04-29 2008-04-10 Jiahong Wei Ppp access terminal, access service device and a method for getting an address of a provider server by the terminal
CN101483657A (en) * 2009-03-06 2009-07-15 中兴通讯股份有限公司 Implementation method and system for same side private network device access by private user

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1578296A (en) * 2003-07-29 2005-02-09 华为技术有限公司 Method for realizing double-stack transition
US20080086549A1 (en) * 2005-04-29 2008-04-10 Jiahong Wei Ppp access terminal, access service device and a method for getting an address of a provider server by the terminal
CN101018234A (en) * 2007-03-15 2007-08-15 杭州华为三康技术有限公司 Routing information publishing method and network address conversion-protocol conversion gateway device
CN101483657A (en) * 2009-03-06 2009-07-15 中兴通讯股份有限公司 Implementation method and system for same side private network device access by private user

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张鹏,杨国渝: "骨干网IPv4/IPv6协议转换网关设计", 《电子科技大学学报》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014023175A1 (en) * 2012-08-10 2014-02-13 中兴通讯股份有限公司 Message processing method in coexistence of multiple external identifiers of terminal and network side device
CN102833705B (en) * 2012-08-10 2016-04-13 中兴通讯股份有限公司 Message treatment method, network equipment under the many outer logo of a kind of terminal coexist
US9451429B2 (en) 2012-08-10 2016-09-20 Zte Corporation Message processing method with respect to terminal having multiple external identifiers
CN102833705A (en) * 2012-08-10 2012-12-19 中兴通讯股份有限公司 Message handling method in coexistence of multiple external identifiers of terminal and network-side equipment
CN106411744A (en) * 2015-08-03 2017-02-15 阿里巴巴集团控股有限公司 Method used for route processing and equipment thereof
CN106411744B (en) * 2015-08-03 2019-10-18 阿里巴巴集团控股有限公司 A kind of method and apparatus for route processing
CN106982270A (en) * 2016-01-19 2017-07-25 华为技术有限公司 A kind of method, device and network system distributed and map public network address
CN106982270B (en) * 2016-01-19 2019-11-29 华为技术有限公司 A kind of method, apparatus and network system distributed and map public network address
CN114024934A (en) * 2017-06-29 2022-02-08 瞻博网络公司 Apparatus and method for converting between internet protocols
CN107770298A (en) * 2017-09-30 2018-03-06 华为技术有限公司 The method and apparatus for transmitting data
CN107770298B (en) * 2017-09-30 2020-07-28 华为技术有限公司 Method and device for transmitting data
WO2022063121A1 (en) * 2020-09-22 2022-03-31 华为云计算技术有限公司 Private network-based network intercommunication method and device, and computer cluster
CN114301873A (en) * 2020-09-22 2022-04-08 华为云计算技术有限公司 Network intercommunication method and equipment based on private network and computer cluster
EP4203351A4 (en) * 2020-09-22 2024-01-24 Huawei Cloud Computing Tech Co Ltd Private network-based network intercommunication method and device, and computer cluster

Similar Documents

Publication Publication Date Title
CN1965515B (en) Arrangement for reaching IPv4 public network nodes by a node in an IPv4 private network via an IPv6 access network
EP1326404B1 (en) Apparatus, method and system for converting internet protocol adresses
US9191317B2 (en) Method and system for implementing interconnection between internet protocol version 4 network and new network
US20130010614A1 (en) METHOD AND APPARATUS FOR PROCESSING PACKETS IN IPv6 NETWORK
US20160006822A1 (en) Service discovery within multi-link networks
EP1441483A2 (en) Gateway for supporting communications between network devices of different private networks
JP2003249942A (en) Apparatus for converting internet protocol address, home network system using the same and communication method thereof
CN102938735B (en) Advertising of route is used to carry the method that option issues NAT64 address prefix
CN102447747A (en) Method, device and system for interacting with private network
KR101381701B1 (en) Data message processing method, system and access service node
CN102394947B (en) Translation method, device and system and ALG device for IPv4 and IPv6 addresses
CN102572008A (en) Communication service processing method and system and gateway equipment
CN110691150A (en) SDN-based IPv4 and IPv6 interconnection method and system
CN102752413A (en) Method for selecting DHCP (dynamic host configuration protocol) server and network equipment
CN111711705B (en) Method and device for realizing network connection based on bidirectional NAT (network Address translation) by proxy node
KR100342514B1 (en) Method to use unique internet protocol address for a period of time when needed under local-unique internet protocol address domain
CN102404417A (en) Method and device for accessing external network
TW538616B (en) Method for providing transparent public addressed networks within private networks
CN101827011B (en) Method, system and device of host machine communication
JP2008172816A (en) Address conversion method
CN101938531A (en) Method, system and device for communicating IPv4 network and IPv6 network
US20140215038A1 (en) Reverse prefix delegation
CN102957755A (en) Address resolution method, address resolution device and information transmission method
CN104935677A (en) NAT64 resource obtaining method and obtaining/distributing device
CN100579132C (en) Method for data exchange between network elements in networks with differing address ranges

Legal Events

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

Application publication date: 20120509