CN102546845A - Business access method, device and system - Google Patents

Business access method, device and system Download PDF

Info

Publication number
CN102546845A
CN102546845A CN2010105945998A CN201010594599A CN102546845A CN 102546845 A CN102546845 A CN 102546845A CN 2010105945998 A CN2010105945998 A CN 2010105945998A CN 201010594599 A CN201010594599 A CN 201010594599A CN 102546845 A CN102546845 A CN 102546845A
Authority
CN
China
Prior art keywords
server
ipv4
ipv6
address
module
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.)
Granted
Application number
CN2010105945998A
Other languages
Chinese (zh)
Other versions
CN102546845B (en
Inventor
陈刚
邓辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201010594599.8A priority Critical patent/CN102546845B/en
Publication of CN102546845A publication Critical patent/CN102546845A/en
Application granted granted Critical
Publication of CN102546845B publication Critical patent/CN102546845B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a business access method, a device and a system, which are used for solving the problem that IPv4 (internet protocol version 4) application on an IPv4 host and intercommunication with IPv6 (internet protocol version 6) business are not supported in the prior art. The method includes determining an IPv4 address of an IPv6 server to be visited by an IPv4 host, and generating a business request data packet carrying the IPv4 address; translating the IPv4 address in the business request data packet into a corresponding IPv6 address according to preliminarily stored correspondence relationship of the IPv4 address of the IPv6 server and an IPv6 address of the IPv6 server; and transmitting the business request data packet carrying the corresponding IPv6 address to a tunnel gateway after the business request data packet is packed according to IPv4 protocol, indicating the tunnel gateway to unpack the protocol for the business request data packet packed according to the IPv4 protocol, and then transmitting business request data to a corresponding IPv6 server.

Description

Operational Visit method, Apparatus and system
Technical field
The present invention relates to the IP technical field, relate in particular to a kind of Operational Visit method, Apparatus and system.
Background technology
Along with global Internet Protocol version 4 (IPv4; Internet Protocol Version 4) address exhausts and professional requirement to terminal " always online "; The deployment of Internet Protocol version 6 (IPv6, Internet Protocol Version 6) technology will become inevitable.In order to realize the deployment that IPv6 is technological and to seamlessly transit, need set the introducing strategy and the application scenarios of IPv6 technology.In order progressively to introduce the notion of IPv6 network, the construction of IPv6 network and IPv4/IPv6 dual stack network will become the first step that the IPv6 technology is disposed.The IPv6 transitional technology mainly comprises two stacks, three kinds in translation and tunnel, and every kind of technology is divided into several scenes again, has therefore produced a variety of solutions, but up to today, large-scale deployment is also still limited.In order to promote and guide the development of IPv6 technology, multiple application will progressively realize support and the processing to IPv6.Along with the popularization and the maturation of IPv6 technology, can predicting in the near future, IPv6 uses the main flow presentation mode that will become Internet service.About the evolution of IPv6 technology, the Internet engineering duty group (IETF) has also been carried out a series of practicable theoretical predictions, points out that the evolution of IPv6 mainly is divided into three phases among the standard rfc5211 of working group according to the issue of ietf standard tissue:
Stage one: IPv6 evolution initial stage; Most service provides also based on IPv4 in the network; In order to realize the transition to IPv6, various IPv6 transitional technologies (comprising tunnel, translation and double-stack technology) will progressively be implemented in network, and increase the correlative flow of IPv6 in the network gradually.
Stage two: IPv4 and IPv6 technology co-existence stage, this stage occurs in the period of being expected at 2010 to 2011.In this stage, Internet service provider will be simultaneously provide the business of IPv4 and IPv6 respectively to the user, and user's concrete condition more judges and selects desired type of service.In this stage, IPv6 disposes scale will be increased gradually, and have the abundant equally service resources with IPv4.
In the stage three, in the later stage of IPv6 technology evolution, this stage is expected at 2012 and occurs later on.Business will be main with IPv6 in the network, and the scope that the IPv4 business provides will progressively be dwindled, and the IPv6 network also becomes the main networking technology form in the Internet.The IPv4 network range faces atrophy.The transition to IPv6 will be accomplished in the internet.
Can see that from above analysis along with the development of business, the professional presentation mode of IPv6 will become the main flow mode that following the Internet provides gradually, this makes that also professional requirements for access also increases with it in the IPv6 network.
In this case, though the IPv4 network will progressively disappear, the complete obiteration of IPv4 technology and IPv4 network still need be experienced a very long time.The long tail can scientifically be predicted the whole process of IPv4 network future development, even if the IPv6 prevailing IPv6 evolution later stage of technology, the IPv4 network also will exist in relevant wide scope.Cause this phenomenon that various reasons is arranged, for example exist the used equipment that to support IPv6, individual operators to consider that the IPv6 upgrading drops into and fail to support IPv6 application etc. in the network.Under this network application scene, how to make that host application visits the IPv6 business through the IPv4 network in the IPv4 network and be called problem demanding prompt solution.
In order to address this problem, also exist many methods to realize visiting the IPv6 business in the field at present through the IPv4 network.Such as, the Teredo technology is exactly a kind of technology that is used to realize visiting through the IPv4 network IPv6 business.Particularly, the Teredo technology is the transitional technology that Microsoft's function is released, and on Windows operating system, has carried out integrated at present.Its main principle is to utilize tunnel style to realize the intercommunication of IPv4 main frame and IPv6 through on main frame, setting up logic interfacing.Based on the configuration of Teredo on main frame, the host logic interface can obtain the IPv6 address of intercommunication.When host application in the IPv4 network is initiated the Operational Visit request to IPv6, data communication is carried out in the IPv6 address that directly utilizes logic interfacing, set up IPv6in UDP in IPv4 tunnel and realize that the IPv6 data are in the IPv4 transmission through network.In data transmission procedure, the decapsulation that Teredo Relay accomplishes data will be set, and realize data forwarding professional in the IPv6 territory.Similar Teredo technology also exists some open source softwares to realize the visit of IPv4 to IPv6 at present in the Internet, like gogo6 etc., has all adopted and has set up tunnel style and realize the intercommunication of IPv4 to IPv6.
In practical application, above-mentioned prior art is proved to be and has disadvantage:
Teredo techniques make use IPv6in IPv4 accomplishes in the tunnel and is arranged in IPv4 network main frame and the exchange of IPv6 data in server, and its whole communication essence is that the IPv6 application exchanges through the IPv4 tunnel with between the IPv6 server on the completion IPv4 main frame.This scheme can overcome the gateway interpreting equipment and realize being responsible for, disposes problems such as poor expandability.If but IPv6 is not supported in the application on the main frame; When just its application system Socket API that source code called only supports IPv4 (the following main frame of IPv4 of will only supporting abbreviates the IPv4 main frame as); Because the IPv4 main frame can't be known the IPv6 address of IPv6 server; Therefore the IPv4 main frame is to generate and to send packet according to the IPv6 address of host logic interface assignment, thereby also just can't realize the tunnel encapsulation of IPv6in IPv4.Similarly, under above-mentioned situation, the such tunnel scheme of gogo6 also can't be realized the business intercommunication of IPv4 to IPv6.
Summary of the invention
The embodiment of the invention provides a kind of Operational Visit method, Apparatus and system, can't support IPv4 on the IPv4 main frame to use the problem with the IPv6 business intercommunication in order to solve prior art.
The embodiment of the invention adopts following technical scheme:
A kind of Operational Visit method comprises: the IPv4 main frame is confirmed the IPv4 address of the IPv6 server of desire visit, and generates the service request data bag that carries this IPv4 address; And, be corresponding IPv6 address with the IPv4 address translation in the said service request data bag according to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance; And send to tunnel gateway after according to the IPv4 agreement the said service request data bag that carries corresponding IPv6 address being encapsulated; After the indication tunnel gateway is separated agreement to the said service request data bag of IPv4 protocol encapsulation, send to corresponding IPv6 server.
A kind of Operational Visit device comprises: the IPv4 application module is used for the IPv4 address of the IPv6 server of definite desire visit, and generates the service request data bag that carries this IPv4 address; The host translation module is used for according to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance, is corresponding IPv6 address with the IPv4 address translation in the service request data bag of IPv4 application module generation; The tunnel management functional module is used for the agreement according to IPv4, and the service request data bag that the host translation module is obtained encapsulates; Indicating module; Be used for network through IPv4; Service request data bag after the encapsulation that the tunnel management functional module is obtained sends to tunnel gateway, after the service request data bag of indication tunnel gateway after to encapsulation separated agreement, sends to corresponding IPv6 server.
A kind of Operational Visit system; Comprise IPv4 main frame, IPv6 server and tunnel gateway; Wherein, said IPv4 main frame is used for confirming the IPv4 address of the IPv6 server of desire visit; And generation carries the service request data bag of this IPv4 address; And, be corresponding IPv6 address, and send to said tunnel gateway after according to the IPv4 agreement the said service request data bag that carries corresponding IPv6 address being encapsulated with the IPv4 address translation in the said service request data bag according to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance; Said tunnel gateway after the said service request data bag of the IPv4 protocol encapsulation that is used for said IPv4 main frame is sent is separated agreement, sends to corresponding said IPv6 server.
The beneficial effect of the embodiment of the invention is following:
The corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the such scheme that the embodiment of the invention provides through confirming the IPv6 server in advance; Thereby when carrying out Operational Visit; Through inquiring about this corresponding relation; Just can realize of the translation of the IPv4 address of IPv6 server,, can realize easily that the IPv4 application access IPv6 on the IPv4 main frame is professional based on the IPv6 address that translation obtains to the IPv6 address of IPv6 server.
Description of drawings
The idiographic flow sketch map of a kind of Operational Visit method that Fig. 1 provides for the embodiment of the invention;
A kind of application scenarios sketch map of scheme in reality that Fig. 2 provides for the embodiment of the invention;
The application flow sketch map of scheme in application scenarios shown in Figure 2 that Fig. 3 provides for the embodiment of the invention;
The concrete structure sketch map of a kind of Operational Visit device that Fig. 4 provides for the embodiment of the invention.
Embodiment
Can't support the professional problem of IPv4 application access IPv6 on the IPv4 main frame in order to solve prior art; The embodiment of the invention provides a kind of Operational Visit scheme; To same IPv4 main frame, the corresponding relation of the IPv4 address through confirming the IPv6 server in advance and the IPv6 address of IPv6 server, thereby when carrying out Operational Visit; Through inquiring about this corresponding relation; Just can realize of the translation of the IPv4 address of IPv6 server,, realize the professional purpose of IPv4 application access IPv6 on the IPv4 main frame easily based on the IPv6 address that translation obtains to the IPv6 address.
Below in conjunction with accompanying drawing, the scheme that the embodiment of the invention is provided is elaborated.
At first, the embodiment of the invention provides a kind of Operational Visit method, and the idiographic flow sketch map of this method is as shown in Figure 1, comprises the steps:
Step 11, IPv4 main frame are confirmed the IPv4 address of the IPv6 server of desire visit, and generate the service request data bag that carries this IPv4 address;
Step 12, IPv4 main frame be according to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance, is corresponding IPv6 address with the IPv4 address translation of service request data bag;
Step 13, IPv4 main frame encapsulate carrying the service request data bag of translating the IPv6 address that obtains according to the IPv4 agreement;
Step 14, IPv4 main frame send to tunnel gateway through the IPv4 network with the service request data bag after the encapsulation, after the indication tunnel gateway is separated agreement to the service request data bag of IPv4 protocol encapsulation, send to corresponding IPv6 server.
In the said method, the IPv4 main frame can be realized under following two kinds of scenes above-mentioned corresponding relation is stored:
First kind of scene: the IPv4 main frame obtains request to the address that domain name system (DNS, Domain Name System) server sends the sign of the server that carries the desire visit; Then, receive the sign of dns server according to the server of this desire visit, the server of judging this desire visit is the IPv6 address of this IPv6 server of returning behind the IPv6 server; At last, choose an IPv4 address to the IPv4 address of IPv6 server from the IPv4 network allocation that obtains in advance, and the corresponding relation of storage IPv6 address that receives and the IPv4 address of choosing.
Second kind of scene: at first, the IPv4 main frame obtains request to the address that the domain name system DNS server sends the sign of the server that carries the desire visit; Then, receive the sign of dns server, the IPv4 and the IPv6 address of the IPv6 server that the server of judging this desire visit returns after for two stack servers according to the server of this desire visit; At last, the corresponding relation of storage IPv6 address that receives and the IPv4 address that receives.
In the such scheme that the embodiment of the invention provides,, increase the translation ability of IPv4 main frame, can realize that IPv4 uses and the IPv6 server carries out free intercommunication the IPv4 address of the IPv6 server address of desire visit through improvement to IPv4 main frame self.Compare with the mode that the NATPT gateway is set in network in the prior art, this scheme that the embodiment of the invention provides does not exist owing to the problem that the NATPT gateway causes poor expandability is set.This scheme that the embodiment of the invention provides can remedy the defective of tunneling techniques such as Teredo, gogo6, expanded the function of Teredo, gogo6.Compare with some schemes that prior art provides, this scheme that the embodiment of the invention provides also need not to handle through ALG (Application Level Gateway), implements fairly simple.
Need to prove that the such scheme that the embodiment of the invention provides is the scene to IPv4 host access IPv6 server, under the scene of IPv4 host access IPv4 server, need not to carry out such scheme.Therefore; Thereby expend meaningless resource for fear of also searching when the IPv4 host access IPv4 to the corresponding relation of IPv4 address and IPv6 address; The said method that the embodiment of the invention provides can also be before the IPv4 main frame be corresponding IPv6 address according to corresponding relation with the IPv4 address translation of IPv6 server, and further comprise step: the IPv4 main frame is confirmed the sign of the server of desire visit, then; Sign according to the server of this desire visit; Earlier the server identification of storage in advance and the corresponding relation of type of server are searched, and according to lookup result, the server of determining the desire visit is the IPv6 server.And when the server of determining desire visit was the IPv4 server, the flow process of the IPv4 host access IPv4 server that then provides according to prior art was carried out.
A kind of application scenarios sketch map of the such scheme that the embodiment of the invention provides in reality is as shown in Figure 2; Comprise IPv4 network, the IPv4 main frame in the IPv4 network, Ipv6 network, Ipv6 server, dns server in the Ipv6 network in this application scenarios, be arranged on the tunnel gateway at edge between IPv4 network and the IPv6 network; Wherein, this tunnel gateway is mainly used in processing such as carrying out the packet decapsulation.Based on the such scheme that the embodiment of the invention provides, IPv4 on the IPv4 main frame uses and will accomplish the information interaction with the IPv6 server through tunnel gateway.
Under above-mentioned scene; Some modules of necessity on the IPv4 main frame (using) such as the IPv4 that is used to the request of sending; The embodiment of the invention is more newly-increased processing modules on the IPv4 main frame also, and they are respectively: host translation module, main frame DNS proxy module, map addresses pond functional module and tunnel management functional module.The functional description of each module is following:
1, host translation module
The host translation module is mainly accomplished IPv4 and is used the conversion to the IPv6 packet of the IPv4 packet produced, and execution becomes the IPv4 address translation of IPv6 server the operation of corresponding IPv6 address.Particularly; When the host translation module has received that IPv4 uses the packet that sends; Obtain the IPv4 address of the IPv6 server that comprises in this packet; And judge whether exist in the map addresses functional module address stored mapping corresponding relation and the corresponding IPv6 address, this IPv4 address that obtains (wherein, whole map addresses corresponding relations of map addresses functional module storage can be regarded a map addresses pond as).
Like judged result for being; Then the host translation module can be according to corresponding map addresses corresponding relation; This packet that will include the IPv4 address of IPv6 server is translated as the packet of the IPv6 address that comprises the IPv6 server, and the logic interfacing place that this packet that translation obtains sends to the IPv6 of tunnel management functional module is carried out the packet encapsulation with the similar IPv6 in of prior art IPv4.Based on such treatment mechanism, the host translation module has realized IPv4 source address and IPv4 destination address are translated as IPv6 source address and IPv6 destination address.Need to prove that as occurring embedded IPv4 address situation in the application protocol, the processing of the ALG that then also can be correlated with realizes the translation of embedded IPv4 address to the IPv6 address.
, then continue to carry out for not like judged result according to flow of the prior art.
2, main frame DNS proxy module
Main frame DNS proxy module is mainly used in realization and IPv4 is used the ADNS request of sending to dns server (this request also can be called the address and obtain request; Hereinafter to be referred as A request) processing; Wherein, carry the sign that IPv4 uses the server of desire visit in this A request.IPv4 uses and the purpose of the free intercommunication of IPv6 server in order to satisfy, operation below main frame DNS proxy module will be carried out:
When IPv4 uses initiation A request; Because this A request is based on the request of IPv4 agreement; Therefore; Main frame DNS proxy module need obtain the AAAA request (the same IPv4 of carrying uses the sign of the server of desire visit in the AAAA request) based on the IPv6 agreement according to A request translation, and simultaneously A request and AAAA request is sent to dns server.Dns server can judge that IPv4 uses the type of the server of desire visit according to the sign of the server that wherein carries after receiving A request and AAAA request.To dissimilar servers, dns server has following different operation:
When judging server that IPv4 uses the desire visit for two stack server; Dns server will to A request with AAAA request confirm to distribute to IPv4 address and the IPv6 address of IPv6 server host respectively, and the A that will carry the IPv4 address of IPv6 server writes down and the AAAA of the IPv6 address of carrying IPv6 server writes down and sends to the DNS proxy module.The DNS proxy module is stored in the IPv4 address of IPv6 server and the corresponding relation of corresponding IPv6 address in the map addresses pond of map addresses functional module according to the A record and the AAAA record that receive.
When judging server that IPv4 uses the desire visit and be the IPv4 server, dns server will confirm to distribute to the IPv4 address of IPv4 server to the A request, and the A that will carry this IPv4 address writes down and sends to the DNS proxy module.Do not carry out the operation in scheduler mapping pond.This situation is not the situation that the embodiment of the invention is paid close attention to, and does not do specific descriptions.
When judging server that IPv4 uses the desire visit and be the IPv6 server, dns server will confirm to distribute to the IPv6 address of IPv6 server to the AAAA request, and the AAAA that will carry this IPv4 address writes down and sends to the DNS proxy module.In this case; Main frame DNS proxy module can be chosen an IPv4 address as the IPv4 address of distributing to the IPv6 server from the IPv4 private pool of IPv4 host maintenance; And, in above-mentioned map addresses pond, create new mapping relations based on the IPv6 address of IPv4 address of choosing and AAAA recording carrying.Simultaneously the IPv6 address translation of AAAA recording carrying is used for returning to IPv4 behind the IPv6 address based on IPv4.
3, map addresses pond functional module
Map addresses pond functional module is mainly used in the map addresses pond of corresponding relation that storage comprises IPv4 address and the corresponding IPv6 of IPv6 server; Under the scene to IPv4 application access IPv6 server, support the inquiry of IPv4 address and IPv6 address corresponding relation.This map addresses pond is to judge whether the main foundation that need translate IPv4 service request data bag; When the corresponding relation of the IPv4 address that comprises the IPv6 server in the address mapping pond and corresponding IPv6 address, the IPv4 address of the IPv6 server in the service request data bag just is translated into corresponding IPv6 address; Otherwise, will handle according to original IPv4 processing data packets mode.
4, tunnel management functional module
The tunnel management functional module is mainly accomplished and between tunnel gateway, is set up IPv 6in IPv4, IPv6 in UDP in IPv4 tunnelling function, such as, associative operations such as the negotiation of completion tunnel type, foundation, maintenance, deletion.Enforcement through tunnel management functional module above-mentioned functions; The IPv4 main frame will be set up the service request data bag that corresponding logic interfacing receives the IPv6 address of carrying the IPv6 server that the translation of host translation module obtains; And carry out the encapsulation of this service request data bag according to the tunnel mode that consults; Realize IPv6 in IPv4/IPv6 in UDP in IPv4, and realize wrapping in the transmission in the IPv4 network based on the service request data of IPv4 agreement.In addition, in tunnel establishment procedure, the IPv6 address assignment on the IPv4 host logic interface also will be accomplished through the relevant function of tunnel management functional module.
Based on above-mentioned application scenarios, when IPv4 application access IPv6 server, the application flow sketch map of the such scheme that the embodiment of the invention provides is as shown in Figure 3, comprises the steps:
Step 31; When being arranged in the IPv4 host-initiated of IPv4 network; Tunnel management functional module in the IPv4 main frame will be set up the agreement tunnel type of holding consultation through the tunnel with the tunnel gateway of far-end, and confirm to distribute to the IPv6 address on the IPv4 host logic interface.Particularly, it can be that agreement is set up in any tunnel of the prior art that agreement is set up in the tunnel described in this step, such as can being that agreement is set up in the Teredo tunnel or agreement is set up in TSP tunnel that gogo6 proposed.
Step 32, the IPv4 on the IPv4 main frame uses the A request of sending, and this A request will be intercepted and captured by main frame DNS proxy module, and produce the AAAA request according to this A request, and A request and AAAA request are sent to dns server.
Step 33; Dns server is according to the sign of the server of the desire visit of carrying in A request and the AAAA request; When the server of judgement IPv4 application desire visit is the IPv6 server; Dns server will confirm to distribute to the IPv6 address of IPv6 server to AAAA request, and the AAAA that will carry this IPv6 address writes down and sends to the DNS proxy module.And the hypothesis dns server is when judging server that IPv4 uses the desire visit for two stack server; Dns server will to A request with AAAA request confirm to distribute to IPv4 address and the IPv6 address of IPv6 server respectively, and the A that will carry this IPv6 address writes down and the AAAA of carrying IPv6 address writes down and sends to the DNS proxy module;
Step 34; In embodiments of the present invention; That supposes that main frame DNS proxy module receives is merely the AAAA record; The IPv4 address of a new IPv6 server and the corresponding relation of IPv6 address are created in an IPv4 address during then main frame DNS proxy module writes down according to this AAAA in the IPv4 private pool of the IPv6 address of the IPv6 server of carrying and IPv4 host maintenance in the map addresses pond of map addresses functional module.
Step 35, the IPv4 address in the above-mentioned corresponding relation that main frame DNS proxy module will be created are carried on and return to the IPv4 application in the A record.
Step 36, IPv4 uses the IPv4 service request data bag of IPv4 address (source address) that sends IPv4 address (destination address) and the IPv4 main frame of the IPv6 server that carries the desire visit to the host translation module.
Step 37; The host translation module is obtained the IPv4 address in this IPv4 service request data bag; And judge whether corresponding corresponding relation is arranged in the map addresses pond, if judged result is for being, then according to corresponding corresponding relation; With the IPv4 address translation of IPv6 server is corresponding IPv6 address, obtains carrying the service request data bag of the IPv6 address of IPv6 server.
Step 38, the host translation module is with the service request data Bao Faxiang tunnel management functional module that obtains;
Step 39, the tunnel management functional module is directed against the encapsulation operation that this service request data bag carries out IPv6 in IPv4, and the source address in this service request data bag after the encapsulation is the IPv4 address of IPv4 main frame, and destination address then is the address of tunnel gateway.Embedded IPv6 service request data bag source address is the IPv6 address of IPv4 main frame, and destination address then is the IPv6 address of IPv6 server.
Step 310, the encapsulated data packet of this IPv6 in IPv4 arrives tunnel gateway through after the IPv4 Network Transmission;
Step 311, tunnel gateway will be accomplished the decapsulation of this encapsulated data packet, obtain IPv6 service request data bag.
Step 312, tunnel gateway sends to the IPv6 server through the IPv6 network with IPv6 service request data bag.
Step 313, the IPv6 server responds this IPv6 service request data bag, and returns corresponding IPv6 business data packet to tunnel gateway, wherein, carries the IPv6 address of purpose IPv4 main frame in this IPv6 business data packet.
Step 314; Tunnel gateway is to the IPv6 business data packet that receives; Destination address according to its carrying; After identifying the corresponding IPv4 main frame of this destination address, utilize the tunnel type that consults to carry out the encapsulation operation of IPv6 in IPv4, and the IPv6 business data packet of the IPv6 in IPv4 that obtains is sent to the tunnel management functional module;
Step 315, the tunnel management functional module is carried out the decapsulation operation to the IPv6 business data packet of IPv6 in IPv4, obtains the IPv6 business data packet after the decapsulation.
Step 316, the tunnel management functional module sends to the host translation module with the IPv6 business data packet that obtains.
Step 317; The host translation module is according to the map addresses pond of address mapping function module; With the IPv6 address translation of the IPv4 main frame in the IPv6 business data packet is the IPv4 address of IPv4 main frame, obtains carrying the IPv4 business data packet of the IPv4 address of IPv4 main frame;
Step 318, the host translation module sends to IPv4 with the business data packet that obtains and uses, and accomplishes whole data exchange process.
Corresponding to the said method that the embodiment of the invention provides, the embodiment of the invention also provides a kind of Operational Visit device, and the concrete structure sketch map of this device is as shown in Figure 4, comprises following functional module:
IPv4 application module 41 is used for the IPv4 address of the IPv6 server of definite desire visit, and generates the service request data bag that carries this IPv4 address;
Host translation module 42 is used for according to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance, is corresponding IPv6 address with the IPv4 address translation in the service request data bag of IPv4 application module 41 generations;
Tunnel management functional module 43 is used for the agreement according to IPv4, and the service request data bag that host translation module 42 is obtained encapsulates;
Indicating module 44; Be used for network through IPv4; Service request data bag after the encapsulation that tunnel management functional module 43 is obtained sends to tunnel gateway, after the service request data bag of indication tunnel gateway after to encapsulation separated agreement, sends to corresponding IPv6 server.
In a preferred embodiment, said apparatus can further include the following module that is used to realize IPv4 address and the storage of IPv6 address corresponding relation:
The address obtains request sending module, and the address that is used for sending to the domain name system DNS server sign of the server carry the desire visit obtains request;
The address receiver module is used to receive dns server and obtains the sign of the server of the desire visit that request sending module sends according to the address, and the server of judging the desire visit is the IPv6 address of this IPv6 server of feeding back behind the IPv6 server;
Choose module, be used for choosing an IPv4 address to the address of the IPv6 server of desire visit from the IPv4 network allocation that obtains in advance;
Memory module is used for IPv6 address that the memory address receiver module receives and the corresponding relation of choosing the IPv4 address that module chooses.
In another preferred embodiment, said apparatus can further include the following module that is used to realize IPv4 address and the storage of IPv6 address corresponding relation:
Server address obtains request sending module, and the address that is used for sending to the domain name system DNS server sign of the server carry the desire visit obtains request;
The server address receiver module; Be used to receive dns server obtains the server of the desire visit that request sending module sends according to server address sign; After the server of judging the desire visit was two stack servers, the IPv6 address of the IPv6 server of the desire visit of feedback and IPv4 network allocation were to the IPv4 address of the IPv6 server of desire visit;
Memory module, corresponding stored is carried out in the IPv6 address and the IPv4 address that are used for the server address receiver module is received.
In a preferred embodiment, said apparatus can further include:
First determination module was used for before the host translation module is corresponding IPv6 address according to above-mentioned corresponding relation with the IPv4 address translation, confirmed the sign of the server of desire visit;
Second determination module, the sign of the server of the desire visit that is used for confirming according to first determination module, from the corresponding relation of the server identification of storage in advance and type of server, determining the server that desire visits is the IPv6 server.
In addition, the embodiment of the invention also provides a kind of Operational Visit system, and this system comprises IPv4 main frame as shown in Figure 2, IPv6 server and tunnel gateway, and wherein, the function of the each several part that this system comprises is following:
The IPv4 main frame is used for the IPv4 address of the IPv6 server of definite desire visit; And generation carries the service request data bag of this IPv4 address; And according to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance; With the IPv4 address translation in the service request data bag is corresponding IPv6 address, and sends to tunnel gateway after according to the IPv4 agreement service request data bag that carries corresponding IPv6 address being encapsulated;
Tunnel gateway after the service request data bag of the IPv4 protocol encapsulation that is used for the IPv4 main frame is sent is separated agreement, sends to corresponding IPv6 server.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1. an Operational Visit method is characterized in that, comprising:
The IPv4 main frame is confirmed the IPv4 address of the IPv6 server of desire visit, and generates the service request data bag that carries this IPv4 address; And
According to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance, be corresponding IPv6 address with the IPv4 address translation in the said service request data bag; And
Send to tunnel gateway after according to the IPv4 agreement the said service request data bag that carries corresponding IPv6 address being encapsulated; After the indication tunnel gateway is separated agreement to the said service request data bag of IPv4 protocol encapsulation, send to corresponding IPv6 server.
2. the method for claim 1 is characterized in that, the said corresponding relation of said IPv4 host stores specifically comprises:
Said IPv4 main frame obtains request to the address that the domain name system DNS server sends the sign of the server that carries the desire visit; And
After receiving server that dns server judges said desire visit according to the sign of the server of said desire visit and being the IPv6 server, the IPv6 address of the said IPv6 server that returns; And
From the IPv4 address of IPv4 network allocation that obtains in advance, choose an IPv4 address to the IPv6 server of said desire visit, and the corresponding relation of storage IPv6 address that receives and the IPv4 address of choosing.
3. the method for claim 1 is characterized in that, the said corresponding relation of said IPv4 host stores specifically comprises:
Said IPv4 main frame obtains request to the address that the domain name system DNS server sends the sign of the server that carries the desire visit; And
Receive dns server judges said desire visit according to the sign of the server of said desire visit server for two stack servers after, the IPv6 address of the IPv6 server of the said desire visit of feedback and IPv4 network allocation are given the IPv4 address of the IPv6 server that said desire visits; And
The corresponding relation of IPv6 address that storage receives and the IPv4 address that receives.
4. the method for claim 1 is characterized in that, said IPv4 main frame is according to said corresponding relation, is before the corresponding IPv6 address with the IPv4 address translation, also comprises:
Said IPv4 main frame is confirmed the sign of the server of desire visit;
According to the sign of the server of said desire visit, from the corresponding relation of the server identification of storage in advance and type of server, determining the server that said desire visits is the IPv6 server.
5. an Operational Visit device is characterized in that, comprising:
The IPv4 application module is used for the IPv4 address of the IPv6 server of definite desire visit, and generates the service request data bag that carries this IPv4 address;
The host translation module is used for according to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance, is corresponding IPv6 address with the IPv4 address translation in the service request data bag of IPv4 application module generation;
The tunnel management functional module is used for the agreement according to IPv4, and the service request data bag that the host translation module is obtained encapsulates;
Indicating module; Be used for network through IPv4; Service request data bag after the encapsulation that the tunnel management functional module is obtained sends to tunnel gateway, after the service request data bag of indication tunnel gateway after to encapsulation separated agreement, sends to corresponding IPv6 server.
6. device as claimed in claim 5 is characterized in that, also comprises the following module that is used to realize said corresponding relation storage:
The address obtains request sending module, and the address that is used for sending to the domain name system DNS server sign of the server carry the desire visit obtains request;
The address receiver module is used to receive dns server and obtains the sign of the server of the desire visit that request sending module sends according to the address, and the server of judging said desire visit is the IPv6 address of the said IPv6 server that returns behind the IPv6 server;
Choose module, be used for choosing an IPv4 address for the IPv4 address of the IPv6 server of said desire visit from the IPv4 network allocation that obtains in advance;
Memory module is used for IPv6 address that the memory address receiver module receives and the corresponding relation of choosing the IPv4 address that module chooses.
7. device as claimed in claim 5 is characterized in that, also comprises the following module that is used to realize said corresponding relation storage:
Server address obtains request sending module, and the address that is used for sending to the domain name system DNS server sign of the server carry the desire visit obtains request;
The server address receiver module; Be used to receive dns server obtains the server of the desire visit that request sending module sends according to server address sign; After the server of judging said desire visit was two stack servers, the IPv6 address of the IPv6 server of the said desire visit of feedback and IPv4 network allocation were given the IPv4 address of the IPv6 server of said desire visit;
Memory module, corresponding stored is carried out in the IPv6 address and the IPv4 address that are used for the server address receiver module is received.
8. device as claimed in claim 5 is characterized in that, also comprises:
First determination module was used for before the host translation module is corresponding IPv6 address according to said corresponding relation with the IPv4 address translation, confirmed the sign of the server of desire visit;
Second determination module, the sign of the server of the desire visit that is used for confirming according to first determination module, from the corresponding relation of the server identification of storage in advance and type of server, determining the server that said desire visits is the IPv6 server.
9. an Operational Visit system comprises IPv4 main frame, IPv6 server and tunnel gateway, it is characterized in that, wherein:
Said IPv4 main frame; The IPv4 address that is used for the IPv6 server of definite desire visit; And generation carries the service request data bag of this IPv4 address; And according to the corresponding relation of the IPv6 address of IPv4 address and the IPv6 server of the IPv6 server of storage in advance; With the IPv4 address translation in the said service request data bag is corresponding IPv6 address, and sends to said tunnel gateway after according to the IPv4 agreement the said service request data bag that carries corresponding IPv6 address being encapsulated;
Said tunnel gateway after the said service request data bag of the IPv4 protocol encapsulation that is used for said IPv4 main frame is sent is separated agreement, sends to corresponding said IPv6 server.
CN201010594599.8A 2010-12-17 2010-12-17 Business access method, device and system Expired - Fee Related CN102546845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010594599.8A CN102546845B (en) 2010-12-17 2010-12-17 Business access method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010594599.8A CN102546845B (en) 2010-12-17 2010-12-17 Business access method, device and system

Publications (2)

Publication Number Publication Date
CN102546845A true CN102546845A (en) 2012-07-04
CN102546845B CN102546845B (en) 2015-03-11

Family

ID=46352790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010594599.8A Expired - Fee Related CN102546845B (en) 2010-12-17 2010-12-17 Business access method, device and system

Country Status (1)

Country Link
CN (1) CN102546845B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015176356A1 (en) * 2014-05-19 2015-11-26 中兴通讯股份有限公司 Address translation method and device, and data exchanging method and system
CN105227687A (en) * 2014-06-20 2016-01-06 中国电信股份有限公司 IPv4 user accesses communication means and the system of IPv6 resource
CN116074386A (en) * 2023-02-27 2023-05-05 阿里巴巴(中国)有限公司 Service calling method and device, service registration method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1440168A (en) * 2003-03-31 2003-09-03 中国科学院计算机网络信息中心 IPV4 network logon layered switching network method
CN1729673A (en) * 2002-12-20 2006-02-01 皇家飞利浦电子股份有限公司 System and method for establishing communication between a client and a server in a heterogenous IP network
CN1870569A (en) * 2005-05-25 2006-11-29 国际商业机器公司 Network system and its management method, communication terminal and file transmitting method
CN101662411A (en) * 2008-08-26 2010-03-03 杭州华三通信技术有限公司 Method and device for IPv4 host computer to access IPv6 network server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1729673A (en) * 2002-12-20 2006-02-01 皇家飞利浦电子股份有限公司 System and method for establishing communication between a client and a server in a heterogenous IP network
CN1440168A (en) * 2003-03-31 2003-09-03 中国科学院计算机网络信息中心 IPV4 network logon layered switching network method
CN1870569A (en) * 2005-05-25 2006-11-29 国际商业机器公司 Network system and its management method, communication terminal and file transmitting method
CN101662411A (en) * 2008-08-26 2010-03-03 杭州华三通信技术有限公司 Method and device for IPv4 host computer to access IPv6 network server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015176356A1 (en) * 2014-05-19 2015-11-26 中兴通讯股份有限公司 Address translation method and device, and data exchanging method and system
CN105227687A (en) * 2014-06-20 2016-01-06 中国电信股份有限公司 IPv4 user accesses communication means and the system of IPv6 resource
CN105227687B (en) * 2014-06-20 2019-05-03 中国电信股份有限公司 The communication means and system of IPv4 user's access IPv6 resource
CN116074386A (en) * 2023-02-27 2023-05-05 阿里巴巴(中国)有限公司 Service calling method and device, service registration method and device
CN116074386B (en) * 2023-02-27 2023-09-26 阿里巴巴(中国)有限公司 Service calling method and device, service registration method and device

Also Published As

Publication number Publication date
CN102546845B (en) 2015-03-11

Similar Documents

Publication Publication Date Title
US11128493B2 (en) Method for implementing residential gateway service function, and server
CN101141420B (en) Method and system for performing data communication between private network and public network
US8238336B2 (en) Method for forwarding data packet, system, and device
CN100469038C (en) ISATAP router for tunneling packets and method thereof
CN102739809B (en) DNS64 database, server, system and IPv4/IPv6 communication method
US20130010614A1 (en) METHOD AND APPARATUS FOR PROCESSING PACKETS IN IPv6 NETWORK
US8265084B2 (en) Local network connecting system local network connecting method and mobile terminal
US8432877B2 (en) Routing control method and system
CN101931658B (en) Method and device for IPv6 host computer with IPv4 application to perform communication
CN102148878A (en) IP (internet protocol) address allocation method, system and device
CN103236964B (en) Based on DS-Lite implementation method and the CPE access device thereof of Linux
CN102394947B (en) Translation method, device and system and ALG device for IPv4 and IPv6 addresses
CN111988223B (en) Virtual machine migration method and network system
CN104468625A (en) Dialing tunnel broker device and method for NAT traversal by means of dialing tunnel
CN105323229A (en) CPE-based data transmission method, network element, platform and system
CN101325580A (en) Method for implementing FTP application-layer gateway based on NAT-PT
CN103118145A (en) IPv4-over-IPv6 multi-tunnel automatic establishment method based on DNS (domain name system)
CN103369065A (en) Massage forwarding method and equipment
CN102546845B (en) Business access method, device and system
Hamarsheh et al. Assuring interoperability between heterogeneous (IPv4/IPv6) networks without using protocol translation
CN102137172A (en) Access method and access device for DNS (Domain Name Server)
CN105516382A (en) Communication method and system for IPV4 network and IPV6 Internet of Things (IOT) node
CN102238084B (en) Method and device for forwarding cross-domain message, route equipment and client
CN103024096A (en) Method quickly accessing internet in carrier-grade network address translation (CGN) network
CN101909041A (en) Method and system for host with IPv4 application to communicate through IPv6 network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150311