CN102196051A - Terminal communication method, system and device - Google Patents
Terminal communication method, system and device Download PDFInfo
- Publication number
- CN102196051A CN102196051A CN2010101177369A CN201010117736A CN102196051A CN 102196051 A CN102196051 A CN 102196051A CN 2010101177369 A CN2010101177369 A CN 2010101177369A CN 201010117736 A CN201010117736 A CN 201010117736A CN 102196051 A CN102196051 A CN 102196051A
- Authority
- CN
- China
- Prior art keywords
- address
- terminal
- dns
- class type
- correspondent node
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a terminal communication method, a terminal communication system and a terminal communication device. The main technical scheme comprises the following steps of: receiving a domain name system (DNS) query request from a terminal, and acquiring a corresponding Internet protocol (IP) address according to the DNS query request; determining an IP address type corresponding to an opposite communication terminal of the terminal according to an IP address acquisition result; and carrying the determined IP address type into a generated DNS record, and transmitting the DNS record to the terminal. Correspondingly, the terminal communicates with the opposite communication terminal by utilizing the IP address type corresponding to IP address type information in the DNS record. In the technical scheme, a translator used for converting an Internet protocol version 6 (IPv6) address into an Internet protocol version 4 (IPv4) address is not required to be set, thereby reducing additional signaling overhead; and if the terminal is a dual-stack terminal, the dual-stack capability of the terminal can be effectively utilized.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, system and device of realizing terminal communication.
Background technology
Along with the expansion of development of internet technology and network size, IPv4 (Internet Protocol version4) can not satisfy the requirement of network development.IPv6 (Internet Protocol version6) as the alternate version of IPv4, can provide huge address space, and have the not available new features of many IPv4, is subjected to increasing attention.Because the IPv4 number of addresses that China has seldom, the problem of address exhaustion is particularly outstanding, and China is just carrying forward vigorously the research and development of IPv6.But at present since the IPv4 agreement used very extensive, quite ripe and have suitable scale based on the application program of IPv4 and equipment, can not finish all upgradings in a short time and change.And on the other hand, the application program of IPv6 and equipment are ripe not enough, and therefore, it will be a very long process that IPv6 replaces IPv4.In a very long time, IPv4 and IPv6 network can for a long time and be deposited.
At present, supporting to be in the node of IPv6 network and to be in the major technique of communicating by letter between the node of IPv4 network is the NATPT technology, i.e. network address translation protocol conversion.The basic technique principle of NATPT is: gateway (appellation NATPT gateway) is set between IPv4 network and IPv6 network, data message to diversity of protocol versions carries out address transition and protocol conversion, promptly will convert the message of IPv6 form to from the data message of IPv4 network destined IPv6 network; To convert the message of IPv4 form to from the data message of IPv6 network destined IPv4 network.The NATPT gateway is responsible for safeguarding the mapping table of an IPv4 address pool and IPv4 address and IPv6 address.For the address transition of IPv6 to IPv4, the NATPT gateway distributes an available IPv4 map addresses IPv6 address from address pool; For the address transition of IPv4 to IPv6, the NATPT gateway then adds one 96 NATPT gateway prefix in front, IPv4 address.
In order to make IPv4 and IPv6 have better compatibility, IETF (Internet Engineering TaskForce Internet, the engineering duty group) formulating the new standard-NAT (Network Address Translation, network address translation) 64 that substitutes NATPT at present.The function of the DNS that the NAT64 server will be realized in NATPT (name server) ALG (ALG) is peeled off out, is put in the DNS system and realizes, this amended DNS system is called DNS64.Its basic principle is: when a main frame that is arranged in the IPv6 network sends the DNS query requests of AAAA type, DNS64 transmits this query requests, if do not get access to the DNS record of AAAA type, then DNS64 sends the dns resolution request of category-A type, if get access to the DNS record of category-A type, then DNS64 can be according to the IPv4 address information in this DNS record, the translation prefix of affix NAT64, generate the DNS record of AAAA type, send to the IPv6 main frame.
By the operation principle of above-mentioned DNS64, there be the situation of DNS64 to the deception of IPv6 main frame, promptly the IPv6 main frame does not know that the Correspondent Node of oneself is real IPv6 main frame or the IPv4 main frame that needs process NAT64 to translate.Because the address style that the IPv6 main frame obtains is the IPv6 address all the time, the IPv6 main frame is communicated by letter with Correspondent Node with the IPv6 address all the time, when Correspondent Node is actual when being the IPv4 main frame, for proper communication, needing in the network to be provided for the IPv6 address transition is the translater of IPv4 address so; Even and make the two stack main frames of IPv6 be arranged in dual-stack network also can't to use the IPv4 protocol stack to communicate that this is totally unfavorable to two stacks of actual deployment and NAT64 obviously.
In sum, realize proper communication, need to be provided with translater in the system, thereby increased extra signaling consumption, and fail effectively to utilize two stack capabilities of terminal during for pair stack terminal when terminal in order to be implemented in the network that IPv6 and IPv4 merge.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method, system and device of realizing terminal communication, adopts this technical scheme, has reduced signaling consumption in the system, and can effectively utilize two stack capabilities of terminal.
The embodiment of the invention is achieved through the following technical solutions:
An aspect according to the embodiment of the invention provides a kind of method that realizes terminal communication.
The method of the realization terminal communication that provides according to the embodiment of the invention comprises:
Terminal sends the domain name server (DNS) query requests to network side, and receives the DNS record that network side sends according to described DNS query requests, carries the IP address class type information of the Correspondent Node correspondence of described terminal in the described DNS record;
Utilize the corresponding IP address class type of described IP address class type information that carries with described DNS record to communicate by letter with described Correspondent Node.
An aspect according to the embodiment of the invention provides a kind of method that realizes terminal communication.
The method of the realization terminal communication that provides according to the embodiment of the invention comprises:
The domain name server (DNS) query requests that receiving terminal sends, and the IP address that obtains correspondence according to described DNS query requests;
According to the result that obtains, determine the IP address class type of the Correspondent Node correspondence of described terminal to described IP address;
The described IP address class type information of determining is carried in the DNS record of generation and sends to described terminal.
According to another aspect of the embodiment of the invention, also provide a kind of system that realizes terminal communication.
The system of the realization terminal communication that provides according to the embodiment of the invention comprises terminal and network address translation services device; Wherein,
Described terminal, be used for sending the domain name server (DNS) query requests to described network address translation services device, and receive the DNS record that described network address translation services device sends according to described DNS query requests, carry the IP address class type information of the Correspondent Node correspondence of described terminal in the described DNS record; And, utilize the corresponding IP address class type of described IP address class type information that carries with described DNS record to communicate by letter with described Correspondent Node;
Described network address translation services device is used to receive the DNS query requests that described terminal sends, and obtains corresponding IP address according to described DNS query requests; The result that obtains according to described IP address determines the IP address class type of the Correspondent Node correspondence of described terminal, and the described IP address class type information that will determine is carried in the DNS record of generation and sends to described terminal.
Another aspect according to the embodiment of the invention also provides a kind of terminal.
Terminal according to the embodiment of the invention provides comprises:
The network interaction unit is used for sending the domain name server (DNS) query requests to network side; And receive the DNS record that network side sends according to described DNS query requests, carry the IP address class type information of the Correspondent Node correspondence of described terminal in the described DNS record;
Communication unit, the IP address class type that is used to utilize described DNS to write down the described IP address class type information correspondence of carrying is communicated by letter with described Correspondent Node.
According to another aspect of the embodiment of the invention, also provide a kind of device of realizing terminal communication.
The device of the realization terminal communication that provides according to the embodiment of the invention comprises:
Receiving element is used for the domain name server (DNS) query requests that receiving terminal sends;
Address acquisition unit is used for obtaining corresponding IP address according to the described DNS query requests that described receiving element receives;
The address style determining unit is used for determining the IP address class type of the Correspondent Node correspondence of described terminal according to the result that obtains of described address acquisition unit to described IP address;
Transmitting element, the DNS record that is used for the described IP address class type information that described address style determining unit is determined is carried at generation sends to described terminal.
Above-mentioned at least one technical scheme that provides by the embodiment of the invention, network side is after the DNS query requests that receives the terminal transmission, can be according to the IP address class type that the result determines the Correspondent Node correspondence of this terminal that obtains to the IP address, and the IP address class type information of determining is carried in the DNS record of generation and sends to terminal; The IP address class type that terminal can utilize the DNS of reception to write down the IP address class type information correspondence of the Correspondent Node correspondence of carrying is communicated by letter with Correspondent Node.According to this technical scheme, need not in the system to be provided for the IPv6 address transition is the translater of IPv4 address, thus less signaling consumption additionally, and, according to this technical scheme, when terminal can effectively be utilized two stack capabilities of this terminal during for two stack terminal.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with the embodiment of the invention one, is not construed as limiting the invention.In the accompanying drawings:
The method flow diagram one of the realization terminal communication that Fig. 1 provides for the embodiment of the invention;
The method flow diagram two of the realization terminal communication that Fig. 2 provides for the embodiment of the invention;
The system schematic of the realization terminal communication that Fig. 3 provides for the embodiment of the invention;
The terminal structure schematic diagram one that Fig. 4 provides for the embodiment of the invention;
The terminal structure schematic diagram two that Fig. 5 provides for the embodiment of the invention;
The device schematic diagram of the realization terminal communication that Fig. 6 provides for the embodiment of the invention.
Embodiment
Signaling consumption and effective implementation that utilizes two stack capabilities of two stack terminals in the system have been reduced in order to provide, the embodiment of the invention provides a kind of method, system and device of realizing terminal communication, below in conjunction with Figure of description the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein only is used for description and interpretation the present invention, and is not used in qualification the present invention.And under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
According to the embodiment of the invention, a kind of method that realizes terminal communication at first is provided, in this method, network address translation NAT 64 servers carry the IP address class type information of the Correspondent Node correspondence of this terminal in this DNS record when sending the DNS record to terminal.Detailed process comprises the steps: as shown in Figure 1
The DNS query requests that step 101, NAT 64 server receiving terminals send;
When the DNS query requests that terminal sends to NAT 64 servers is the AAAA type, then in this step, need obtain the DNS record of the AAAA type that comprises the IPv6 address according to the type of this DNS query requests; If do not get access to the DNS record of the AAAA type that generates according to the DNS query requests of this AAAA type, then further send the dns resolution request of category-A type, and when receiving the DNS record of category-A type, according to the IPv4 address information in the DNS record of this category-A type, the translation prefix of affix NAT64, generate the DNS record of AAAA type, the DNS record of this AAAA type comprises the IPv6 address that generates according to the IPv4 address in the DNS record of category-A type.When the DNS query requests that terminal sends to NAT 64 servers is the category-A type, then in this step, need obtain the DNS record of the category-A type that comprises the IPv4 address according to the type of this DNS query requests.
Step 103, according to the result that obtains of IPv6 address, determine the IP address class type of the Correspondent Node correspondence of this terminal;
By above-mentioned flow process, NAT 64 servers are when sending the DNS record to terminal, in this DNS record, carry the IP address class type information of the Correspondent Node correspondence of this terminal, the Correspondent Node corresponding protocols type that communicates with to make things convenient for this terminal to know, thereby select suitable IP address to communicate by letter with this Correspondent Node, and can support corresponding security mechanisms, for example DNS SEC.
In the preferred embodiment of the present invention, in the above-mentioned steps 103, when the DNS query requests of terminal transmission is the AAAA type,, determine the IP address class type of the Correspondent Node correspondence of terminal, specifically comprise according to the result that obtains to the IP address:
If get access to the IPv6 address, determine that then the IP address class type of the Correspondent Node correspondence of this terminal is the IPv6 address style;
If do not get access to the IPv6 address, determine that then the IP address class type of the Correspondent Node correspondence of this terminal is the IPv4 address style.
In the above-mentioned steps 103,,, determine the IP address class type of the Correspondent Node correspondence of terminal, specifically comprise according to the result that obtains to the IP address if when the DNS query requests that terminal sends is the category-A type:
If get access to the IPv4 address, determine that then the IP address class type of the Correspondent Node correspondence of this terminal is the IPv4 address style;
If do not get access to the IPv4 address, determine that then the IP address class type of the Correspondent Node correspondence of this terminal is the IPv6 address style.
In the preferred embodiment of the present invention, if when not getting access to the IPv6 address, also comprise the step of obtaining the IPv4 address, wherein, the process of obtaining the IPv4 address comprises: terminal sends the dns resolution request of category-A type to network side, and receives the DNS record of the category-A type that network side returns according to the dns resolution request of this category-A type.
In the preferred embodiment of the present invention, the DNS of generation record also comprises the IPv6 address, the IPv6 address of this IPv6 address for directly getting access to; Or the IPv6 address that generates according to the IPv4 address that gets access to.
In order to understand the embodiment of the invention better, below the mode of the IP address class type information of the Correspondent Node correspondence of carried terminal in the DNS record is elaborated:
In the embodiment of the invention, write down the IP address class type information of the Correspondent Node correspondence of corresponding the type field carried terminal by expansion DNS.Comprise the type field in the DNS record of RFC1035 definition, this field is used to represent the type of DNS record, and this type field definition at present comprises:
A 1a?host?address
NS 2an?authoritative?name?server
MD 3a?mail?destination(Obsolete-use?MX)
MF 4a?mail?forwarder(Obsolete-use?MX)
CNAME 5the?canonical?name?for?an?alias
SOA 6marks?the?start?of?a?zone?of?authority
MB 7a?mailbox?domain?name(EXPERIMENTAL)
MG 8a?mail?group?member(EXPERIMENTAL)
MR 9a?mail?rename?domain?name(EXPERIMENTAL)
NULL 10a?null?RR(EXPERIMENTAL)
WKS 11a?well?known?service?description
PTR 12a?domain?name?pointer
HINFO 13host?information
MINFO 14mailbox?or?mail?list?information
MX 15mail?exchange
TXT 16text?strings
The embodiment of the invention increases the HostType type by the expansion the type field, is used for the Correspondent Node corresponding protocols type of marking terminal, is defined as follows:
HostType 17text?string
Its value is specifically as follows: IPv4, IPv6, DualStack
Wherein:
IPv4 represents that the Correspondent Node corresponding protocols type of terminal is IPv4;
IPv6 represents that the Correspondent Node corresponding protocols type of terminal is IPv6;
DualStack represents that the Correspondent Node corresponding protocols type of terminal can be IPv4, also can be IPv6.
By above-mentioned expansion, DNS 64 servers can be provided with the protocol type of the Correspondent Node of this terminal in sending to the DNS record of terminal, be used to the Correspondent Node corresponding protocols type of notifying this terminal to communicate with.
More than only be optimal way for the mode of the IP address class type information of the Correspondent Node correspondence of carried terminal in DNS record, according to the embodiment of the invention, can also enumerate no longer one by one by the IP address class type information of alternate manner Correspondent Node correspondence of carried terminal in the DNS record herein.
According to the embodiment of the invention, a kind of method that realizes terminal communication at first is provided, in this method, terminal is after receiving the DNS record of network side transmission, determine the IP address class type of its Correspondent Node correspondence according to the IP address class type information of its Correspondent Node correspondence of carrying in this record, thereby select suitable IP address class type and Correspondent Node to communicate.Detailed process comprises the steps: as shown in Figure 2
Step 203, according to the IP address class type information that the DNS record that receives carries, determine the IP address class type of its Correspondent Node correspondence;
Communicate by letter with this Correspondent Node in step 204, the utilization IP address corresponding with the IP address class type of determining.
By above-mentioned flow process, terminal can be determined the IP address class type of its Correspondent Node correspondence according to the DNS record that NAT 64 servers send, thereby selects suitable IP address to communicate by letter with this Correspondent Node, and can support corresponding security mechanisms, for example DNS SEC.
In the preferred embodiment of the present invention, in the above-mentioned steps 203,, determine the IP address class type of Correspondent Node correspondence, specifically comprise according to the IP address class type information that the DNS record carries:
Write down the IP address class type information that the type field in the corresponding agreement is carried according to this DNS, determine the IP address class type of this Correspondent Node correspondence.
In the preferred embodiment of the present invention, in the above-mentioned steps 204, utilize the IP address corresponding to communicate by letter, specifically comprise with Correspondent Node with the IP address class type of determining:
If the IP address class type of the Correspondent Node correspondence of determining is the IPv6 address style, then utilize the IPv6 address that comprises in this DNS record to communicate by letter with Correspondent Node;
If the IP address class type of the Correspondent Node correspondence of determining is the IPv4 address style, then asks network side distributing IP v4 address, and utilize this IPv4 address to communicate by letter with Correspondent Node.
Correspondingly, corresponding with the said method flow process, the embodiment of the invention also provides a kind of system that realizes terminal communication, and as shown in Figure 3, the system of this realization terminal communication comprises:
Wherein,
Network address translation services device 302 is used for the DNS query requests that receiving terminal 301 sends, and obtains corresponding IP address according to this DNS query requests; According to the result that obtains, determine the IP address class type of the Correspondent Node correspondence of this terminal, and the IP address class type information of determining is carried in the DNS record of generation and sends to terminal 301 this IP address.
Correspondingly, corresponding with the said method flow process, the embodiment of the invention also provides a kind of terminal, and as shown in Figure 4, this terminal comprises:
Wherein:
Communication unit 402 is used to utilize the corresponding IP address class type of IP address class type information that carries with the DNS record to communicate by letter with Correspondent Node.
In the preferred embodiment of the present invention, above-mentioned communication unit 402 specifically is used for:
Utilize and to write down the corresponding IP address class type of described IP address class type information that the type field in the corresponding agreement carries with described DNS and communicate by letter with described Correspondent Node.
In the preferred embodiment of the present invention, as shown in Figure 5, communication unit 402 shown in Figure 4 can further include:
First communication module 402A is used for when DNS writes down the IP address class type information correspondence IPv6 address style of the Correspondent Node correspondence of carrying, and communicates by letter with this Correspondent Node in the IPv6 address that comprises in the DNS record that utilizes network communication unit 401 to receive;
Second communication module module 402B is used for when DNS writes down the IP address class type information correspondence IPv4 address style of the Correspondent Node correspondence of carrying, request network side distributing IP v4 address, and utilize this IPv4 address to communicate by letter with Correspondent Node.
Should be appreciated that only the logical partitioning of unit that above terminal comprises, in the practical application, can carry out the stack or the fractionation of said units for carrying out according to the function of this terminal realization.And the function that terminal realized that this embodiment provides is corresponding one by one with the method flow of the realization terminal communication that the foregoing description provides, for the more detailed handling process that this terminal realized, in said method embodiment, done detailed description, be not described in detail herein.
Correspondingly, corresponding with the said method flow process, the embodiment of the invention also provides a kind of device of realizing terminal communication, and as shown in Figure 6, the device of this realization terminal communication comprises:
Receiving element 601, address acquisition unit 602, address style determining unit 603 and transmitting element 604;
Wherein:
Receiving element 601 is used for the DNS query requests that receiving terminal sends;
Address style determining unit 603 is used for the result that obtains according to 602 pairs of IP addresses of address acquisition unit, determines the IP address class type of the Correspondent Node correspondence of this terminal;
Transmitting element 604, the DNS record that is used for the IP address class type information that address style determining unit 603 is determined are carried at generation sends to terminal.
In the preferred embodiment of the present invention, above-mentioned address style determining unit 603 specifically is used for:
If address acquisition unit 602 gets access to the IPv6 address, determine that then the IP address class type of the Correspondent Node correspondence of this terminal is the IPv6 address style;
If address acquisition unit 602 does not get access to described IPv6 address, determine that then the IP address class type of the Correspondent Node correspondence of this terminal is the IPv4 address style.
In the preferred embodiment of the present invention, above-mentioned address acquisition unit 602 also is used for:
When not getting access to the IPv6 address, obtain the IPv4 address.
In the preferred embodiment of the present invention, the DNS record that above-mentioned transmitting element 604 sends also comprises:
The IPv6 address that address acquisition unit 602 gets access to; Or
The IPv6 address that the IPv4 address that gets access to according to address acquisition unit 602 generates.
In the preferred embodiment of the present invention, above-mentioned transmitting element 604 specifically is used for:
The DNS that the described IP address class type information of determining is carried at generation writes down in the type field in the corresponding agreement.
The device of the realization terminal communication that above embodiment provides can be arranged in DNS 64 servers.
Should be appreciated that only the logical partitioning of unit that the device of above realization terminal communication comprises, in the practical application, can carry out the stack or the fractionation of said units for carrying out according to the function of this device realization.And the function that the device of the realization terminal communication that this embodiment provides is realized is corresponding one by one with the method flow of the realization terminal communication that the foregoing description provides, the more detailed handling process that realizes for this device, in said method embodiment, done detailed description, be not described in detail herein.
Above-mentioned at least one technical scheme that provides by the embodiment of the invention, network side is after the DNS query requests that receives the terminal transmission, can be according to the IP address class type that the result determines the Correspondent Node correspondence of this terminal that obtains to the IPv6 address, and the IP address class type information of determining is carried in the DNS record of generation and sends to terminal; The IP address class type that terminal can utilize the DNS of reception to write down the IP address class type information correspondence of the Correspondent Node correspondence of carrying is communicated by letter with Correspondent Node.According to this technical scheme, need not in the system to be provided for the IPv6 address transition is the translater of IPv4 address, thereby less signaling consumption additionally, and, according to this technical scheme, when terminal is two stack terminal, can adopt IPv4 address or IPv6 address to communicate by letter, thereby can effectively utilize two stack capabilities of terminal according to the IP address class type of Correspondent Node correspondence with Correspondent Node.
Further, according to the embodiment of the invention, can solve the problem that to support security mechanisms such as DNS SEC according to prior art, therefore the DNS record that obtains in the resolver checking of this type of security mechanism distorted out-of-date, think that then this NDS record is dangerous and ignore this DNS record, the technical scheme that provides according to the embodiment of the invention, terminal can be known the IP address class type of Correspondent Node correspondence, when the DNS record of finding to receive is distorted, then determine that further combined with the IP address class type of Correspondent Node correspondence this distorts when rationally distorting, then think this NDS record security, thereby improved the applicability of security mechanism.
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, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (17)
1. a method that realizes terminal communication is characterized in that, comprising:
Terminal sends the domain name server (DNS) query requests to network side, and receives the DNS record that network side sends according to described DNS query requests, carries the IP address class type information of the Correspondent Node correspondence of described terminal in the described DNS record;
Utilize the corresponding IP address class type of described IP address class type information that carries with described DNS record to communicate by letter with described Correspondent Node.
2. the method for claim 1 is characterized in that, carries the IP address class type information of the Correspondent Node correspondence of described terminal in the described DNS record, specifically comprises:
Described DNS writes down the IP address class type information that the type field in the corresponding agreement is carried the Correspondent Node correspondence of described terminal.
3. method as claimed in claim 1 or 2 is characterized in that, utilizes the corresponding IP address class type of described IP address class type information that carries with described DNS record to communicate by letter with described Correspondent Node, comprising:
If the corresponding IPv6 address style of IP address class type information of the described Correspondent Node correspondence that described DNS record carries then utilizes the IPv6 address that comprises in the described DNS record to communicate by letter with described Correspondent Node;
If the corresponding IPv4 address style of IP address class type information of the described Correspondent Node correspondence that described DNS record carries is then asked network side distributing IP v4 address, and is utilized described IPv4 address to communicate by letter with described Correspondent Node.
4. a method that realizes terminal communication is characterized in that, comprising:
The domain name server (DNS) query requests that receiving terminal sends, and the IP address that obtains correspondence according to described DNS query requests;
According to the result that obtains, determine the IP address class type of the Correspondent Node correspondence of described terminal to described IP address;
The described IP address class type information of determining is carried in the DNS record of generation and sends to described terminal.
5. method as claimed in claim 4 is characterized in that, according to the result that obtains to described IP address, determines the IP address class type of the Correspondent Node correspondence of described terminal, comprising:
If get access to the IPv6 address, determine that then the IP address class type of the Correspondent Node correspondence of described terminal is the IPv6 address style according to described DNS query requests;
If do not get access to the IPv6 address, determine that then the IP address class type of the Correspondent Node correspondence of described terminal is the IPv4 address style according to described DNS query requests.
6. method as claimed in claim 5 is characterized in that, if do not get access to the IPv6 address, also comprises:
Obtain the IPv4 address.
7. the method for stating as claim 6 is characterized in that, the DNS record of generation also comprises:
The IPv6 address that gets access to; Or
IPv6 address according to the IPv4 address generation that gets access to.
8. method as claimed in claim 4 is characterized in that, the described IP address class type information of determining is carried in the DNS record of generation and sends to described terminal, specifically comprises:
The DNS that the described IP address class type information of determining is carried at generation writes down in the type field in the corresponding agreement.
9. a system that realizes terminal communication is characterized in that, comprises terminal and network address translation services device; Wherein,
Described terminal, be used for sending the domain name server (DNS) query requests to described network address translation services device, and receive the DNS record that described network address translation services device sends according to described DNS query requests, carry the IP address class type information of the Correspondent Node correspondence of described terminal in the described DNS record; And, utilize the corresponding IP address class type of described IP address class type information that carries with described DNS record to communicate by letter with described Correspondent Node;
Described network address translation services device is used to receive the DNS query requests that described terminal sends, and obtains corresponding IP address according to described DNS query requests; The result that obtains according to described IP address determines the IP address class type of the Correspondent Node correspondence of described terminal, and the described IP address class type information that will determine is carried in the DNS record of generation and sends to described terminal.
10. a terminal is characterized in that, comprising:
The network interaction unit is used for sending the domain name server (DNS) query requests to network side; And receive the DNS record that network side sends according to described DNS query requests, carry the IP address class type information of the Correspondent Node correspondence of described terminal in the described DNS record;
Communication unit is used to utilize the corresponding IP address class type of described IP address class type information that carries with described DNS record to communicate by letter with described Correspondent Node.
11. terminal as claimed in claim 10 is characterized in that, described communication unit specifically is used for:
Utilize and to write down the corresponding IP address class type of described IP address class type information that the type field in the corresponding agreement carries with described DNS and communicate by letter with described Correspondent Node.
12., it is characterized in that described communication unit comprises as claim 10 or 11 described terminals:
First communication module is used for utilizing the IPv6 address that comprises in the described DNS record to communicate by letter with described Correspondent Node when described DNS writes down the IP address class type information correspondence IPv6 address style of the described Correspondent Node correspondence of carrying;
The second communication module module is used for when described DNS writes down the IP address class type information correspondence IPv4 address style of the described Correspondent Node correspondence of carrying, request network side distributing IP v4 address, and utilize described IPv4 address to communicate by letter with described Correspondent Node.
13. a device of realizing terminal communication is characterized in that, comprising:
Receiving element is used for the domain name server (DNS) query requests that receiving terminal sends;
Address acquisition unit is used for obtaining corresponding IP address according to the described DNS query requests that described receiving element receives;
The address style determining unit is used for determining the IP address class type of the Correspondent Node correspondence of described terminal according to the result that obtains of described address acquisition unit to described IP address;
Transmitting element, the DNS record that is used for the described IP address class type information that described address style determining unit is determined is carried at generation sends to described terminal.
14. device as claimed in claim 13 is characterized in that, described address style determining unit specifically is used for:
If described address acquisition unit gets access to the IPv6 address, determine that then the IP address class type of the Correspondent Node correspondence of described terminal is the IPv6 address style;
If described address acquisition unit does not get access to the IPv6 address, determine that then the IP address class type of the Correspondent Node correspondence of described terminal is the IPv4 address style.
15. device as claimed in claim 14 is characterized in that, described address acquisition unit also is used for:
When not getting access to the IPv6 address, obtain the IPv4 address.
16. the device as claim 15 is stated is characterized in that, the DNS record that described transmitting element sends also comprises:
The IPv6 address that described address acquisition unit gets access to; Or
The IPv6 address that the IPv4 address that gets access to according to described address acquisition unit generates.
17. device as claimed in claim 13 is characterized in that, described transmitting element specifically is used for:
The DNS that the described IP address class type information of determining is carried at generation writes down in the type field in the corresponding agreement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010117736.9A CN102196051B (en) | 2010-03-03 | 2010-03-03 | Terminal communication method, system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010117736.9A CN102196051B (en) | 2010-03-03 | 2010-03-03 | Terminal communication method, system and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102196051A true CN102196051A (en) | 2011-09-21 |
CN102196051B CN102196051B (en) | 2014-09-10 |
Family
ID=44603416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010117736.9A Active CN102196051B (en) | 2010-03-03 | 2010-03-03 | Terminal communication method, system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102196051B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103004173A (en) * | 2012-09-29 | 2013-03-27 | 华为技术有限公司 | Address allocation method, device and system thereof |
CN103109517A (en) * | 2012-09-28 | 2013-05-15 | 华为技术有限公司 | Double-stack terminal accessing service method, terminal and system |
CN104702707A (en) * | 2013-12-06 | 2015-06-10 | 中国联合网络通信集团有限公司 | Method and device for data processing |
WO2015100566A1 (en) * | 2013-12-30 | 2015-07-09 | 华为技术有限公司 | Method and device for processing domain name request |
CN105021917A (en) * | 2015-06-05 | 2015-11-04 | 中国电力科学研究院 | An electrical equipment state detection method based on an IPV6 mobile terminal and an RFID label |
CN106559505A (en) * | 2015-09-25 | 2017-04-05 | 中兴通讯股份有限公司 | IP method for parameter configuration, network address processing method and processing device |
CN108769293A (en) * | 2018-08-31 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of IP address analytic method and relevant apparatus |
CN114553831A (en) * | 2020-11-25 | 2022-05-27 | 华为技术有限公司 | Method and system related to sending management IP address |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1773988A (en) * | 2004-11-10 | 2006-05-17 | 华为技术有限公司 | A service universal block radio business supporting internodel communication method |
CN101030936A (en) * | 2007-04-05 | 2007-09-05 | 中山大学 | Telecommunication for switching node from IPv4 network to IPv6 network |
CN101068215A (en) * | 2007-06-29 | 2007-11-07 | 华为技术有限公司 | Method, device and system for optimizing media protocol |
US20100005191A1 (en) * | 2008-07-03 | 2010-01-07 | Barracuda Networks Inc. | Requesting a service or transmitting content as a domain name system resolver |
CN101651718A (en) * | 2009-08-27 | 2010-02-17 | 中国电信股份有限公司 | Method and system for changing IP flow protocol stack |
WO2010139194A1 (en) * | 2009-06-03 | 2010-12-09 | ***通信集团公司 | Method and device of host with ipv4 application for performing communication |
-
2010
- 2010-03-03 CN CN201010117736.9A patent/CN102196051B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1773988A (en) * | 2004-11-10 | 2006-05-17 | 华为技术有限公司 | A service universal block radio business supporting internodel communication method |
CN101030936A (en) * | 2007-04-05 | 2007-09-05 | 中山大学 | Telecommunication for switching node from IPv4 network to IPv6 network |
CN101068215A (en) * | 2007-06-29 | 2007-11-07 | 华为技术有限公司 | Method, device and system for optimizing media protocol |
US20100005191A1 (en) * | 2008-07-03 | 2010-01-07 | Barracuda Networks Inc. | Requesting a service or transmitting content as a domain name system resolver |
WO2010139194A1 (en) * | 2009-06-03 | 2010-12-09 | ***通信集团公司 | Method and device of host with ipv4 application for performing communication |
CN101651718A (en) * | 2009-08-27 | 2010-02-17 | 中国电信股份有限公司 | Method and system for changing IP flow protocol stack |
Non-Patent Citations (2)
Title |
---|
《Request for Comments:3338》 20021031 S.Lee等 Dual Stack Hosts Using "Bump-in-the-API" , * |
S.LEE等: "Dual Stack Hosts Using "Bump-in-the-API"", 《REQUEST FOR COMMENTS:3338》 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103109517B (en) * | 2012-09-28 | 2016-12-07 | 华为技术有限公司 | Method, terminal and the system of a kind of pair of stack terminal access server |
CN103109517A (en) * | 2012-09-28 | 2013-05-15 | 华为技术有限公司 | Double-stack terminal accessing service method, terminal and system |
WO2014047913A1 (en) * | 2012-09-28 | 2014-04-03 | 华为技术有限公司 | Method, terminal and system for dual-stack terminal to access server |
US9882866B2 (en) | 2012-09-29 | 2018-01-30 | Huawei Technologies Co., Ltd. | Address allocating method, apparatus, and system |
CN103004173B (en) * | 2012-09-29 | 2016-03-09 | 华为技术有限公司 | A kind of method of allocation address, Apparatus and system |
CN103004173A (en) * | 2012-09-29 | 2013-03-27 | 华为技术有限公司 | Address allocation method, device and system thereof |
CN104702707A (en) * | 2013-12-06 | 2015-06-10 | 中国联合网络通信集团有限公司 | Method and device for data processing |
WO2015100566A1 (en) * | 2013-12-30 | 2015-07-09 | 华为技术有限公司 | Method and device for processing domain name request |
CN105021917A (en) * | 2015-06-05 | 2015-11-04 | 中国电力科学研究院 | An electrical equipment state detection method based on an IPV6 mobile terminal and an RFID label |
CN106559505A (en) * | 2015-09-25 | 2017-04-05 | 中兴通讯股份有限公司 | IP method for parameter configuration, network address processing method and processing device |
CN108769293A (en) * | 2018-08-31 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of IP address analytic method and relevant apparatus |
CN108769293B (en) * | 2018-08-31 | 2022-02-25 | 郑州云海信息技术有限公司 | IP address resolution method and related device |
CN114553831A (en) * | 2020-11-25 | 2022-05-27 | 华为技术有限公司 | Method and system related to sending management IP address |
US11552926B2 (en) | 2020-11-25 | 2023-01-10 | Huawei Technologies Co., Ltd. | Method related to sending management IP address and system |
CN114553831B (en) * | 2020-11-25 | 2023-09-08 | 华为技术有限公司 | Method and system related to sending management IP address |
Also Published As
Publication number | Publication date |
---|---|
CN102196051B (en) | 2014-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102196051B (en) | Terminal communication method, system and device | |
US7315543B2 (en) | Apparatus and method for data communication on packet-switching network | |
US7701952B2 (en) | Packet communication method and apparatus and a recording medium storing a packet communication program | |
US7158526B2 (en) | Packet communication method and apparatus and a recording medium storing a packet communication program | |
US7573903B2 (en) | IPv6/IPv4 translator | |
US9191317B2 (en) | Method and system for implementing interconnection between internet protocol version 4 network and new network | |
EP2583433B1 (en) | 4t06 network stack for ipv4 applications | |
CN101325552B (en) | Triangle forwarding method for access request and GLB server | |
CN103856580B (en) | A kind of method that IPv6 client computer accesses IPv4 servers | |
JP2003087336A (en) | Address conversion method | |
WO2011120424A1 (en) | Method and apparatus for processing packets in ipv6 network | |
JP2004312609A (en) | Dynamic dns registration method, domain name solution method, proxy server, and address translation instrument | |
CN102904976A (en) | Extended double stateless IPv4(Internet Protocol) -IPv6 translation method based on prefix distribution | |
CN101651718B (en) | Method and system for changing IP flow protocol stack | |
JPH10136052A (en) | Ipv4-ipv6 communication method and ipv4-ipv6 conversion device | |
JP4572938B2 (en) | Address translation method | |
CN101827011B (en) | Method, system and device of host machine communication | |
JPH11252172A (en) | Packet generation method, information processor having its function and storage medium where packet generation program is recorded | |
KR101345372B1 (en) | System and Method for servicing domain name based on user information | |
US20020065936A1 (en) | Multi-platform application | |
CN105939398B (en) | IPv6 transition method and device | |
CN102196053A (en) | Domain name information inquiry method, device and communication network | |
WO2003005656A1 (en) | System and method for using the address of internet protocol version 6 | |
US20030225910A1 (en) | Host resolution for IP networks with NAT | |
Wang et al. | A lightweight solution to remote DNS |
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 |