CN104717639A - Access method for mobile client to internet and access gateway server - Google Patents

Access method for mobile client to internet and access gateway server Download PDF

Info

Publication number
CN104717639A
CN104717639A CN201310692640.9A CN201310692640A CN104717639A CN 104717639 A CN104717639 A CN 104717639A CN 201310692640 A CN201310692640 A CN 201310692640A CN 104717639 A CN104717639 A CN 104717639A
Authority
CN
China
Prior art keywords
address
ipv6
ipv4
packet
mobile client
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
CN201310692640.9A
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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201310692640.9A priority Critical patent/CN104717639A/en
Publication of CN104717639A publication Critical patent/CN104717639A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an access method for a mobile client to the internet. The method includes the steps that an access gateway receives a request packet initiated by a client of a mobile terminal under an IPv6 network, wherein when the request packet is based on an IPv4 protocol stack, a destination IPv4 address and a destination IPv6 address of a destination server are obtained from a domain name resolution server on the basis of the request packet, stored and then returned to the mobile client; an IPv4 data packet sent by the mobile client is received and comprises the destination IPv4 address of the destination server and a source IPv4 address of the mobile client; the destination IPv4 address in the IPv4 data packet is translated into a destination IPv6 address, the source IPv4 address of the mobile client is translated into a source IPv6 address, and the address mapping relation between the destination addresses and the source addresses is stored; a translated IPv6 data packet is sent to a core network, and the IPv6 data packet is sent to the destination server through the core network after being subjected to address translation and routing. Besides, the invention discloses an access gateway server.

Description

A kind of method of mobile client access the Internet and IAD server
Technical field
The present invention relates to next generation mobile Internet field, in particular, relate to a kind of method that mode translated by protocol stack realizes the mobile client access the Internet in pure IPv6 mobile network environment.
Background technology
Existing development of Mobile Internet technology, based on IPv4 agreement, facilitates easy-to-use IPv4 technology to obtain everybody accreditation widely, obtains outstanding achievements, affect the life of these people from every aspect at numerous areas.But along with the quantity of Internet user constantly increases, people are also constantly improving the demand that mobile Internet is applied, the Address Run Short problem of IPv4 has become the bottleneck problem of restriction internet development at leisure.In the face of growing demand, alternative existing 32 IPv4 addresses are come in the IPv6 address that engineering group proposes use 128.Thus solve the problem of IPv4 address shortage thoroughly, the capacity simultaneously in address, network management, the numerous areas etc. such as mobility have had obvious improvement, IPv6 also slowly accept by people, become the core technology of Next Generation Internet.But the address format due to IPv6 technology has the characteristic of himself, perfectly can not go to compatible present IPv4 address, so with regard to present circumstances, be transitioned into the IPv6 stage from IPv4, need the process that slowly complicated.
At present, within a period quite grown, what IPv6 and IPv4 can be common is present in our the Internet.This different role will be played the part of in two kinds of addresses in mobile terminal or server.In order to IPv6 address can be promoted better, deacclimatize following internet.Need to make existing system can go to compatible IPv6 and IPv4 address better.User can be made to obtain experience better.
IPv4/IPv6 transitional technology is a kind of transiens product of preparing for next generation mobile Internet technology.At present based on the technology of this transitional type, roughly can be divided three classes:
(1) double-stack technology
By disposing that the mode of IPv6 and IPv4 address realizes two kinds of business in node and deposit simultaneously, thus allow user to the smooth access of IPv4 and IPv6.
(2) tunneling technique
By disposing tunnel in IPv4 or IPv6 network, realize in IPv4 or IPv6 network to the carrying of IPv6 or IPv4 business, thus ensure the coexisting and transition of business.More common tunneling technique has configured tunneling, the automatic configured tunneling technique of compatible address, the technology such as 6over4,6to4, l2tp, openvpn at present.
(3) translation technology
By realizing the interactive access of two kinds of technology in a device to the packet conversion of IPv4 and IPv6 two kinds of agreements.Mainly contain the translation technology for tlv triple or five-tuple, transitional technology main at present has IVI, BIA, BIS etc.
Core net stateless translation technology itself is a kind of protocol conversion technology, it is the one of translation technology, by by IPv4 address maps being the mode of the IPv6 address with particular prefix, IPv4 networking is conducted interviews, but due to the limitation of core net stateless translation technology, existing can only to supporting that the software of IPv6 technology is effective, those support that the software of IPv4 technology cannot use in core net stateless translation environment.But because transitional technology just starts, all software be allowed to go all to support, and IPv6 is a huge engineering, so current core net stateless translation technology has some limitations.
Summary of the invention
Technical problem to be solved by this invention is to provide the method for a kind of mobile client access the Internet, the client the method achieved based on IPv4 or IPv6 protocol stack all normally can access the effect of respective server, in addition, a kind of IAD server is also disclosed.
It is as follows that the present invention solves the problems of the technologies described above taked technical scheme:
A method for mobile client access the Internet, comprising: IAD receives the request bag that the client on the mobile terminal under IPv6 network is initiated;
Wherein, when described request bag is based on IPv4 protocol stack, obtain object IPv4 address and the object IPv6 address of destination server based on described request bag to domain name resolution server, after preservation, described object IPv4 address and object IPv6 address are returned to mobile client;
Receive the IPv4 packet that mobile client sends, this IPv4 packet comprises the object IPv4 address of destination server and the IPv4 address, source of mobile client;
By IPv6 address for the purpose of the object IPv4 address translation in described IPv4 packet, be IPv6 address, source by the source IPv4 address translation of mobile client, and preserve its address mapping relation;
IPv6 packet after translation is issued core network, by core network, described IPv6 packet is issued destination server after address translation and route.
Further, preferred method is, IAD also comprises: IAD is mobile terminal distributing IP v6 address and IPv4 address before receiving the request bag of the client initiation on the mobile terminal under IPv6 network;
Source address in the request bag that described mobile client is initiated and packet is IPv6 address or the IPv4 address of described distribution.
Further, preferred method is, when described request bag is based on IPv6 protocol stack;
Obtain the IPv6 address of destination server based on described request bag to domain name resolution server, the object IPv6 address of described destination server is returned to mobile client;
Receive the IPv6 packet that mobile client sends, this IPv6 packet comprises the object IPv6 address of destination server and the IPv6 address, source of mobile terminal;
Described IPv6 packet is directly issued core network, by core network by described IPv6 data packet by being given to destination server.
Further, preferred method is, IAD receives the response IPv6 packet that core network returns;
According to the source IPv6 address lookup address mapping relation in described response IPv6 packet;
When IPv6 address, described source is identical with the destination address of one of them destination server in described address mapping relation, be then corresponding IPv4 address according to the address mapping relation of correspondence by described source IPv6 address translation, and by the IPv4 Packet Generation after translation to mobile client.
Further, preferred method is, when when the inquiry of described address mapping relation is less than corresponding destination address, then direct by described response IPv6 Packet Generation to mobile client.
Further, preferred method is, described IPv4 address is IAD is the home address that mobile terminal distributes, and described IPv6 address is the IPv6 address of standard.
A kind of IAD server, comprising: receiving element, the request bag that the client on the mobile terminal under receiving IPv6 network is initiated;
Domain name mapping request unit, for when described request bag is based on IPv4 protocol stack, obtain object IPv4 address and the object IPv6 address of destination server based on described request bag to domain name resolution server, and described object IPv4 address and object IPv6 address are returned to mobile client;
Address storage unit, for preserving described object IPv4 address and object IPv6 address;
Described receiving element, be further used for the IPv4 packet receiving mobile client transmission, this IPv4 packet comprises the object IPv4 address of destination server and the IPv4 address, source of mobile client;
Protocol address transducer, for inquiring about described address storage unit and by IPv6 address for the purpose of the object IPv4 address translation in described IPv4 packet, be IPv6 address, source by the source IPv4 address translation of mobile client;
Address maps storage unit, for preserving address mapping relation;
Transmitting element, for the IPv6 packet after translation is issued core network, is given to destination server by described IPv6 packet by core network after address translation and route.
Preferably, also comprise: allocation unit, for being mobile terminal distributing IP v6 address and IPv4 address; Source address in the request bag that described mobile client is initiated and packet is IPv6 address or the IPv4 address of described distribution.
Preferably, domain name analysis request unit, is further used for when described request bag is based on IPv6 protocol stack;
Obtain the IPv6 address of destination server based on described request bag to domain name resolution server, and the object IPv6 address of described destination server is returned to mobile client;
Described receiving element, be further used for the IPv6 packet receiving mobile client transmission, this IPv6 packet comprises the object IPv6 address of destination server and the IPv6 address, source of mobile terminal;
Described transmitting element, directly issues core network by described IPv6 packet further, by core network by described IPv6 data packet by being given to destination server.
Preferably, described receiving element, is further used for the response IPv6 packet that reception core network returns; Address lookup unit, is further used for according to the IPv6 address, source in described response IPv6 packet to inquire address mapping relations in described address maps storage unit;
When inquiring IPv6 address, described source and be identical with the destination address of one of them destination server in described address mapping relation in address maps storage unit, be then IPv4 address, source according to the address mapping relation of correspondence by described source IPv6 address translation, and the IPv4 packet after translation is sent to mobile client by transmitting element;
When inquire about less than corresponding destination address time, then direct by transmitting element by described response IPv6 Packet Generation to mobile client.
After this invention takes such scheme, can based on the protocol conversion of IAD to the packet of mobile client, realize the effect that all can normally use the client based on IPv4 or IPv6 protocol stack, and the program only changes IAD, do not need to change core net, there is good effect.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is described in detail, to make above-mentioned advantage of the present invention definitely.Wherein,
Fig. 1 is the application schematic diagram of the method for embodiment of the present invention mobile client access the Internet;
Fig. 2 is the structural representation of the IAD server of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for embodiment of the present invention mobile client access the Internet;
Fig. 4 is the schematic flow sheet of the method for embodiment of the present invention mobile client access the Internet;
Fig. 5 is the schematic flow sheet of the application scenarios of the method for embodiment of the present invention mobile client access the Internet.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, to the present invention, how application technology means solve technical problem whereby, and the implementation procedure reaching technique effect can fully understand and implement according to this.It should be noted that, only otherwise form conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, and the technical scheme formed is all within protection scope of the present invention.
In addition, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
Specifically, in core net stateless translation application environment in the past, the mobile terminal in IPv6 can use the access of client initiation to IPv4 or IPv6 server based on IPv6 agreement.
Why to be confined to the client that can only use IPv6 agreement, be the environment because of being pure IPv6 at the environment of Access Network, the routing forwarding for IPv4 packet can not be provided.Meanwhile, in this side of IPv6, the IPv6 address just returned for DNS mapping server, has carried out encapsulation and the forwarding of packet.The function IPv4 packet not translated.So can not use in IPv6 environment based on the client of IPv4 agreement.But owing to being in the transition stage initial stage, and IPv6 and IPv4 agreement difference is larger.The client software developed based on IPv4 and IPv6 agreement so not all client software manufacturer is all ready to desynchronize.This mobile terminal Internet access just greatly reduced in IPv6 environment is experienced.
The present invention is based on above IAD server and disposes translater (protocol address transducer), by pushing Intranet IPv4 address to the mobile terminal of IPv6 side, then according to the IPv4 address that mobile terminal sends out, map translation accordingly, be translated as IPv6 address, then forward.
And to the packet returned, carry out the process of converse translation.Thus reach and allow the mobile terminal of IPv6 side normally can use object based on IPv4 client.
As depicted in figs. 1 and 2, IAD server, comprising: receiving element, the request bag that the client on the mobile terminal under receiving IPv6 network is initiated;
Domain name mapping request unit, for when described request bag is based on IPv4 protocol stack, obtain object IPv4 address and the object IPv6 address of destination server based on described request bag to domain name resolution server, and described object IPv4 address and object IPv6 address are returned to mobile client;
Address storage unit, for preserving described object IPv4 address and object IPv6 address;
Described receiving element, be further used for the IPv4 packet receiving mobile client transmission, this IPv4 packet comprises the object IPv4 address of destination server and the IPv4 address, source of mobile client;
Protocol address transducer, for inquiring about described address storage unit and by IPv6 address for the purpose of the object IPv4 address translation in described IPv4 packet, be IPv6 address, source by the source IPv4 address translation of mobile client;
Address maps storage unit, for preserving address mapping relation;
Transmitting element, for the IPv6 packet after translation is issued core network, is given to destination server by described IPv6 packet by core network after address translation and route.
Preferably, also comprise: allocation unit, for being mobile terminal distributing IP v6 address and IPv4 address; Source address in the request bag that described mobile client is initiated and packet is IPv6 address or the IPv4 address of described distribution.
Preferably, domain name analysis request unit, is further used for when described request bag is based on IPv6 protocol stack;
Obtain the IPv6 address of destination server based on described request bag to domain name resolution server, and the object IPv6 address of described destination server is returned to mobile client;
Described receiving element, be further used for the IPv6 packet receiving mobile client transmission, this IPv6 packet comprises the object IPv6 address of destination server and the IPv6 address, source of mobile terminal;
Described transmitting element, directly issues core network by described IPv6 packet further, by core network by described IPv6 data packet by being given to destination server.
Preferably, described receiving element, is further used for the response IPv6 packet that reception core network returns; Address lookup unit, is further used for according to the IPv6 address, source in described response IPv6 packet to inquire address mapping relations in described address maps storage unit;
When inquiring IPv6 address, described source and be identical with the destination address of one of them destination server in described address mapping relation in address maps storage unit, be then IPv4 address, source according to the address mapping relation of correspondence by described source IPv6 address translation, and the IPv4 packet after translation is sent to mobile client by transmitting element;
When inquire about less than corresponding destination address time, then direct by transmitting element by described response IPv6 Packet Generation to mobile client.
Wherein, as shown in Fig. 3,4,5, the invention also discloses the method for a kind of mobile client access the Internet, as shown in Figure 3, the method for described mobile client access the Internet, comprising:
Step 101: IAD is mobile terminal distributing IP v6 address and IPv4 address;
Source address in the request bag that described mobile client is initiated and packet is IPv6 address or the IPv4 address of described distribution.
Step 102: IAD receives the request bag that the client on the mobile terminal under IPv6 network is initiated;
Wherein, when described request bag is based on IPv4 protocol stack, step 103: IAD obtains object IPv4 address and the object IPv6 address of destination server to domain name resolution server based on described request bag, after preservation, described object IPv4 address and object IPv6 address are returned to mobile client, and carry out the packing of packet according to described object IPv4 address by mobile client;
Step 104: receive the IPv4 packet that mobile client sends, this IPv4 packet comprises the object IPv4 address of destination server and the IPv4 address, source of mobile client;
Step 105: by IPv6 address for the purpose of the object IPv4 address translation in described IPv4 packet, is IPv6 address, source by the source IPv4 address translation of mobile client, and preserves its address mapping relation;
Step 106: the IPv6 packet after translation is issued core network, by core network, described IPv6 packet is issued destination server after address translation and route, because the present invention does not relate to the flow change of core network, therefore the data processing of core network is not described.
Wherein, when described request bag is based on IPv6 protocol stack, now, show that described mobile client is the client of IPv6 protocol stack, thus, its flow process is the same with existing flow process, that is:
IAD obtains the IPv6 address of destination server to domain name resolution server based on described request bag, the object IPv6 address of described destination server is returned to mobile client;
Receive the IPv6 packet that mobile client sends, this IPv6 packet comprises the object IPv6 address of destination server and the IPv6 address, source of mobile terminal;
Described IPv6 packet is directly issued core network, by core network by described IPv6 data packet by being given to destination server, seldom illustrate at this.
Wherein, as shown in Figure 4, after the response IPv6 packet that IAD reception core network returns, the method for described mobile client access the Internet, mainly comprises:
Step 201: IAD receives the response IPv6 packet that core network returns;
Step 202: according to the source IPv6 address lookup address mapping relation in described response IPv6 packet;
When IPv6 address, described source is identical with the destination address of one of them destination server in described address mapping relation, then step 203: be corresponding IPv4 address by described source IPv6 address translation according to the address mapping relation of correspondence;
Step 204: by the IPv4 Packet Generation after translation to mobile client.
Wherein, when when described address mapping relation inquiry is less than corresponding destination address, then show not carry out address change, and mobile client is the client of IPv6, now, IAD server directly by described response IPv6 Packet Generation to mobile client.
Wherein, it should be noted that, in above embodiment, described IPv4 address is IAD is the home address that mobile terminal distributes, and described IPv6 address is the IPv6 address of standard.
That is, the method for mobile client access the Internet of the present invention, when mobile client sends IPv4 packet, can be converted into the mode of IPv6 packet, and use specific IPv6 address to carry out correspondence.And when packet returns, IPv6 packet is converted to corresponding IPv4 packet.Send to corresponding destination mobile terminal.
Further, the present invention propose scheme mainly when keep whole core net stateless translation technology environment do not make change, strengthening access side gateway function.The i.e. integrated function issuing Intranet IPv4 on gateway, the IPv4 packet simultaneously had mobile terminal side is sent is converted to IPv6 packet and screens to the IPv6 packet sent in network the function being converted to IPv4 packet, realizes the translation technology carrying out having state in Access Network side.
As shown in Figure 5, implement in scene at one, it is mainly containing following steps:
Step S1, configures original mobile core network stateless translation technology environment;
Step S2, configures the program that corresponding IPv4 and IPv6 packet can be changed mutually in webmaster side, so that the IPv4 packet allowing mobile terminal side send here is translated, and the IPv6 packet returned can be reduced;
Step S3, uses gateway to push corresponding IPv4 address and IPv6 address to customer mobile terminal.IPv4 address uses home address, and IPv6 address needs the IPv6 address of use standard.The map information that gateway record is corresponding;
Step S4, mobile terminal side receives corresponding IPv4 address and IPv6 address;
Step S5, mobile terminal side uses the client application based on IPv4 agreement, sends server request corresponding above network;
Step S6, carries out dns resolution, returns to IPv4 address and the IPv6 address of the server corresponding to customer mobile terminal;
Step S7, mobile terminal side carries out the encapsulation of packet according to the IPv4 address returned.By corresponding IPv4 Packet Generation to gateway processes;
Step S8, gateway receives IPv4 packet.Enabling address interpretive program, carries out searching of mapping table, and the destination address in IPv4 packet is translated as corresponding IPv6 address, source address is translated as the IPv6 address above the mobile terminal of source.Then by Packet Generation to core net stateless translation gateway, and destination address is carried out record stored in mapping table;
Step S9, when gateway receives IPv6 packet, to its corresponding source address in the mapping table comparison search, if find that its source address is identical with certain destination address in mapping table, then according to the content of mapping table record, this IPv6 packet is translated as corresponding IPv4 packet, sends to destination mobile terminal; Otherwise, then corresponding object mobile terminal is directly transmitted to;
Step S10, when customer mobile terminal receives the IPv4 packet returned, then corresponding IPv4 application program is resolved;
Step S11, when customer mobile terminal uses the software based on IPv6 protocol stack to conduct interviews time, first initiates DNS request;
Step S12, the encapsulation of packet is carried out in the IPv6 address using DNS to return, and the IPv6 packet encapsulated is mail to gateway, then performs step S9;
Step S13, mobile terminal receives the IPv6 packet returned, and corresponding IPv6 application program is resolved.
Wherein, in a concrete instance, the specific works flow process of gateway side translation software is:
First two hash mapping tables are set up.Wherein hash1 table is deposited and is connected to each mobile terminal MAC above gateway, IPv4 address, IPv6 address.
Another hash2 table deposit translation before the source address of IPv4 of this stream and destination address, the source address of the IPv6 of this stream and destination address after translation.
Then the IPv4 packet sent for mobile terminal in LAN side carries out the translation of network layer, extracts the source address of packet, searches mapping table hash1 and show, and is translated as corresponding IPv6 address;
Extract the destination address of packet, carry out the inquiry of DNS mapping, replace with the IPv6 address returned.Composition IPv6 packet carries out routing forwarding.Data are recorded in hash2 table simultaneously.
In WAN-side, for sending IPv6 packet, carrying out searching of hash2 table, if existed, then the source address of IPv6 packet and destination address being carried out the source address and the destination address that replace with IPv4, then forwarding, otherwise normally forward.In order to raising efficiency, the structure of hash table can use the mode of hash bucket to carry out two-way search.
Below the concrete steps of whole network design:
Step S1, configures original core net stateless translation environment, and the deployment way of specific environment is just disposed according to existing core net stateless translation environment;
Step S2, configures the program that corresponding IPv4 and IPv6 packet can be changed mutually in webmaster side, so that the IPv4 packet allowing mobile terminal side send here is translated, and the IPv6 packet returned can be reduced;
Step S3, uses gateway to push corresponding IPv4 address and IPv6 address to customer mobile terminal.IPv4 address uses home address, and IPv6 address needs the IPv6 address of use standard.The map information that gateway record is corresponding;
Step S4, mobile terminal side receives corresponding IPv4 address and IPv6 address, and what suppose the IPv4 address pushed is 192.168.0.100(home address), IPv6 address is 2001:da8:ff3b:40a1:100::, corresponding IPv4 address is 59.64.161.1;
Step S5, mobile terminal side uses the client application based on IPv4 agreement, sends server request corresponding above network, such as uses QQ to ask;
Step S6, carries out dns resolution, returns to IPv4 address and the IPv6 address of the server corresponding to customer mobile terminal, can see that the IPv4 address returned be 182.254.18.159, IPv6 address is 2001:da8:ffb6:fe12:9f00::;
Step S7, mobile terminal side carries out the encapsulation of packet according to the IPv4 address returned.By corresponding IPv4 Packet Generation to gateway processes, be exactly source address be 192.168.0.100, destination address is 182.254.18.159, and namely the source address of IPv4 packet and destination address are: 192.168.0.100---182.254.18.159
Step S8, gateway receives IPv4 packet.
Enabling address interpretive program, carry out searching of mapping table, destination address in IPv4 packet is translated as corresponding IPv6 address, 2001:da8:ffb6:fe12:9f00: is converted to by 182.254.18.159:, source address is translated as the IPv6 address above the mobile terminal of source, be converted to 2001:da8:ff3b:40a1:100: by 192.168.0.100:, then by Packet Generation to core net stateless translation gateway, and stored in mapping table, record is carried out to destination address;
Step S9, when gateway receives IPv6 packet, to its corresponding source address in the mapping table comparison search, if find that its source address is identical with certain destination address in mapping table, then according to the content of mapping table record, this IPv6 packet is translated as corresponding IPv4 packet, send to destination mobile terminal, it is exactly the converse translation for step 8, by 2001:da8:ffb6:fe12:9f00::2001:da8:ff3b:40al:100:: packet, be converted to 182254.18.159192.168.0.100.Otherwise, then corresponding object mobile terminal is directly transmitted to;
Step S10, when customer mobile terminal receives the IPv4 packet returned, then corresponding IPv4 application program is resolved;
Step S11, when customer mobile terminal uses the software based on IPv6 protocol stack to conduct interviews time, first initiates DNS request;
Step S12, the encapsulation of packet is carried out in the IPv6 address using DNS mapping server to return, and the IPv6 packet encapsulated is mail to gateway, then performs step S9;
Step S13, mobile terminal receives the IPv6 packet returned, and corresponding IPv6 application program is resolved.
It should be noted that, for said method embodiment, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the application is necessary.
Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.
And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
Last it is noted that the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment to invention has been detailed description, for a person skilled in the art, it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method for mobile client access the Internet, is characterized in that, comprising: IAD receives the request bag that the client on the mobile terminal under IPv6 network is initiated;
Wherein, when described request bag is based on IPv4 protocol stack, obtain object IPv4 address and the object IPv6 address of destination server based on described request bag to domain name resolution server, after preservation, described object IPv4 address and object IPv6 address are returned to mobile client;
Receive the IPv4 packet that mobile client sends, this IPv4 packet comprises the object IPv4 address of destination server and the IPv4 address, source of mobile client;
By IPv6 address for the purpose of the object IPv4 address translation in described IPv4 packet, be IPv6 address, source by the source IPv4 address translation of mobile client, and preserve its address mapping relation;
IPv6 packet after translation is issued core network, by core network, described IPv6 packet is issued destination server after address translation and route.
2. the method for mobile client access the Internet according to claim 1, it is characterized in that, IAD also comprises: IAD is mobile terminal distributing IP v6 address and IPv4 address before receiving the request bag of the client initiation on the mobile terminal under IPv6 network;
Source address in the request bag that described mobile client is initiated and packet is IPv6 address or the IPv4 address of described distribution.
3. the method for mobile client access the Internet according to claim 1 and 2, is characterized in that, when described request bag is based on IPv6 protocol stack;
Obtain the IPv6 address of destination server based on described request bag to domain name resolution server, the object IPv6 address of described destination server is returned to mobile client;
Receive the IPv6 packet that mobile client sends, this IPv6 packet comprises the object IPv6 address of destination server and the IPv6 address, source of mobile terminal;
Described IPv6 packet is directly issued core network, by core network by described IPv6 data packet by being given to destination server.
4. the method for mobile client access the Internet according to claim 3, it is characterized in that, IAD receives the response IPv6 packet that core network returns;
According to the source IPv6 address lookup address mapping relation in described response IPv6 packet;
When IPv6 address, described source is identical with the destination address of one of them destination server in described address mapping relation, be then corresponding IPv4 address according to the address mapping relation of correspondence by described source IPv6 address translation, and by the IPv4 Packet Generation after translation to mobile client.
5. the method for mobile client according to claim 4 access the Internet, is characterized in that, when when described address mapping relation inquiry is less than corresponding destination address, then direct by described response IPv6 Packet Generation to mobile client.
6. the method for mobile client access the Internet according to claim 1, it is characterized in that, described IPv4 address is IAD is the home address that mobile terminal distributes, and described IPv6 address is the IPv6 address of standard.
7. an IAD server, is characterized in that, comprising: receiving element, the request bag that the client on the mobile terminal under receiving IPv6 network is initiated;
Domain name mapping request unit, for when described request bag is based on IPv4 protocol stack, obtain object IPv4 address and the object IPv6 address of destination server based on described request bag to domain name resolution server, and described object IPv4 address and object IPv6 address are returned to mobile client;
Address storage unit, for preserving described object IPv4 address and object IPv6 address;
Described receiving element, be further used for the IPv4 packet receiving mobile client transmission, this IPv4 packet comprises the object IPv4 address of destination server and the IPv4 address, source of mobile client;
Protocol address transducer, for inquiring about described address storage unit and by IPv6 address for the purpose of the object IPv4 address translation in described IPv4 packet, be IPv6 address, source by the source IPv4 address translation of mobile client;
Address maps storage unit, for preserving address mapping relation;
Transmitting element, for the IPv6 packet after translation is issued core network, is given to destination server by described IPv6 packet by core network after address translation and route.
8. IAD server according to claim 7, is characterized in that, also comprise: allocation unit, for being mobile terminal distributing IP v6 address and IPv4 address;
Source address in the request bag that described mobile client is initiated and packet is IPv6 address or the IPv4 address of described distribution.
9. the IAD server according to claim 7 or 8, is characterized in that, domain name analysis request unit, is further used for when described request bag is based on IPv6 protocol stack;
Obtain the IPv6 address of destination server based on described request bag to domain name resolution server, and the object IPv6 address of described destination server is returned to mobile client;
Described receiving element, be further used for the IPv6 packet receiving mobile client transmission, this IPv6 packet comprises the object IPv6 address of destination server and the IPv6 address, source of mobile terminal;
Described transmitting element, directly issues core network by described IPv6 packet further, by core network by described IPv6 data packet by being given to destination server.
10. IAD server according to claim 9, is characterized in that, described receiving element, is further used for the response IPv6 packet that reception core network returns;
Address lookup unit, is further used for according to the IPv6 address, source in described response IPv6 packet to inquire address mapping relations in described address maps storage unit;
When inquiring IPv6 address, described source and be identical with the destination address of one of them destination server in described address mapping relation in address maps storage unit, be then IPv4 address, source according to the address mapping relation of correspondence by described source IPv6 address translation, and the IPv4 packet after translation is sent to mobile client by transmitting element;
When inquire about less than corresponding destination address time, then direct by transmitting element by described response IPv6 Packet Generation to mobile client.
CN201310692640.9A 2013-12-17 2013-12-17 Access method for mobile client to internet and access gateway server Pending CN104717639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310692640.9A CN104717639A (en) 2013-12-17 2013-12-17 Access method for mobile client to internet and access gateway server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310692640.9A CN104717639A (en) 2013-12-17 2013-12-17 Access method for mobile client to internet and access gateway server

Publications (1)

Publication Number Publication Date
CN104717639A true CN104717639A (en) 2015-06-17

Family

ID=53416499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310692640.9A Pending CN104717639A (en) 2013-12-17 2013-12-17 Access method for mobile client to internet and access gateway server

Country Status (1)

Country Link
CN (1) CN104717639A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120601A (en) * 2018-07-24 2019-01-01 深圳市天威视讯股份有限公司 IPv4 and IPv6 interoperability methods and system based on program request signaling
CN109688240A (en) * 2018-12-24 2019-04-26 睿哲科技股份有限公司 IPv4 multicast and the mutual phase changing device of IPv6 multicast and equipment
CN112565400A (en) * 2020-12-03 2021-03-26 东北大学 Cooperative resource distribution system and method based on IPv6 campus network
US20210281538A1 (en) * 2020-03-09 2021-09-09 Lenovo (Beijing) Co., Ltd. Data processing method based on mec platform, device, and storage medium
CN114745353A (en) * 2022-04-11 2022-07-12 北京英迪瑞讯网络科技有限公司 Traffic scheduling method for IPv4 end to access IPv4/IPv6 network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225911A1 (en) * 2002-05-29 2003-12-04 Samsung Electronics Co., Ltd. Method and apparatus for communicating data between IPv4 and IPv6
CN1523849A (en) * 2003-02-18 2004-08-25 ���ǵ�����ʽ���� Apparatus for converting ipv4 to ipv6 using dual stack and method thereof
CN1716954A (en) * 2005-05-27 2006-01-04 清华大学 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism
CN101227373A (en) * 2008-03-21 2008-07-23 清华大学 Method for intercommunication based on IPv4 and IPv6 networks without state mapping
CN102904976A (en) * 2012-10-23 2013-01-30 清华大学 Extended double stateless IPv4(Internet Protocol) -IPv6 translation method based on prefix distribution

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225911A1 (en) * 2002-05-29 2003-12-04 Samsung Electronics Co., Ltd. Method and apparatus for communicating data between IPv4 and IPv6
CN1523849A (en) * 2003-02-18 2004-08-25 ���ǵ�����ʽ���� Apparatus for converting ipv4 to ipv6 using dual stack and method thereof
CN1716954A (en) * 2005-05-27 2006-01-04 清华大学 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism
CN101227373A (en) * 2008-03-21 2008-07-23 清华大学 Method for intercommunication based on IPv4 and IPv6 networks without state mapping
CN102904976A (en) * 2012-10-23 2013-01-30 清华大学 Extended double stateless IPv4(Internet Protocol) -IPv6 translation method based on prefix distribution

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120601A (en) * 2018-07-24 2019-01-01 深圳市天威视讯股份有限公司 IPv4 and IPv6 interoperability methods and system based on program request signaling
CN109688240A (en) * 2018-12-24 2019-04-26 睿哲科技股份有限公司 IPv4 multicast and the mutual phase changing device of IPv6 multicast and equipment
US20210281538A1 (en) * 2020-03-09 2021-09-09 Lenovo (Beijing) Co., Ltd. Data processing method based on mec platform, device, and storage medium
US11652781B2 (en) * 2020-03-09 2023-05-16 Lenovo (Beijing) Co., Ltd. Data processing method based on MEC platform, device, and storage medium
CN112565400A (en) * 2020-12-03 2021-03-26 东北大学 Cooperative resource distribution system and method based on IPv6 campus network
CN114745353A (en) * 2022-04-11 2022-07-12 北京英迪瑞讯网络科技有限公司 Traffic scheduling method for IPv4 end to access IPv4/IPv6 network

Similar Documents

Publication Publication Date Title
US8351430B2 (en) Routing using global address pairs
KR101912073B1 (en) Virtualization gateway between virtualized and non-virtualized networks
CN102938795B (en) The method of IPv6 address access IPv4 resource is realized by tunnel and address transition
CN102014043B (en) Address mapping system, data transmission method and address mapping maintenance method
EP2381647A1 (en) Session migration over content-centric networks
CN102739809B (en) DNS64 database, server, system and IPv4/IPv6 communication method
CN104618243B (en) Method for routing, apparatus and system, Scheduling of Gateway method and device
CN104717639A (en) Access method for mobile client to internet and access gateway server
CN101436981B (en) Domain name server system of extended IPv4 network
CN103200281A (en) Method, device and system for accessing intranet server
CN102394947B (en) Translation method, device and system and ALG device for IPv4 and IPv6 addresses
CN113556413B (en) Message processing method and device
CN102572008A (en) Communication service processing method and system and gateway equipment
KR100896438B1 (en) Tunneling ipv6 packet through ipv4 network using a tunnel entry based on ipv6 prefix
CN102025604B (en) Carrying network and data transmission method
CN102387221B (en) Data forwarding method and system
CN111629084B (en) Data transmission method and device, storage medium and electronic equipment
CN104506665B (en) Distinguish method and system in a kind of IPv4/IPv6 addresses
CN103024096B (en) A kind of method of fast Internet access in CGN network
CN102694684A (en) Multi-gateway-based control entry configuration method, equipment and network system
CN105516382A (en) Communication method and system for IPV4 network and IPV6 Internet of Things (IOT) node
CN102546845B (en) Business access method, device and system
CN110875884B (en) Traffic migration system, data processing method and device
CN102332994A (en) Network topology discovery method, device, system and network management server
CN105681481A (en) Method and device for realizing network translation to IPv6 (Internet Protocol Version 6) based on PNAT (Prefix Network Address Translation) and terminal device

Legal Events

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

Application publication date: 20150617