CN104378301A - Data processing method and data processing device - Google Patents

Data processing method and data processing device Download PDF

Info

Publication number
CN104378301A
CN104378301A CN201310356645.4A CN201310356645A CN104378301A CN 104378301 A CN104378301 A CN 104378301A CN 201310356645 A CN201310356645 A CN 201310356645A CN 104378301 A CN104378301 A CN 104378301A
Authority
CN
China
Prior art keywords
address
ipv4
data processing
ipv6
main frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310356645.4A
Other languages
Chinese (zh)
Other versions
CN104378301B (en
Inventor
牛洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Huawei Device Shenzhen Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310356645.4A priority Critical patent/CN104378301B/en
Publication of CN104378301A publication Critical patent/CN104378301A/en
Application granted granted Critical
Publication of CN104378301B publication Critical patent/CN104378301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a data processing method and a data processing device. The data processing method comprises the steps that the data processing device sends a first IPv4 address selected from a preset IPv4 address pool to an IPv4 host and receives a first service data message sent by the IPv4 host, wherein the source IP address of the first service data message is the IP address of the IPv4 host, and the destination IP address of the first service data message is the first IPv4 address; the IP address of the IPv4 host is converted into a second IPv6 address according to a mapping relation, the first IPv4 address is converted into an obtained first IPv6 address according to the mapping relation, and a second service data message is sent to a service server, wherein the source IP address of the second service data message is the second IPv6 address, and the destination IP address of the second service data message is the first IPv6 address. In this way, conversion from IPv4 to IPv6 is achieved, and the problem of IPv4 address resource shortage is solved.

Description

A kind of data processing method and data processing equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of data processing method and data processing equipment.
Background technology
Along with the application of mobile Internet is more and more universal, there is explosive growth in Internet user, and Internet Protocol Version 4 (IPv4, Internet Protocol version4) address resource is close to the development that exhaustion limits the Internet, and IPv6 (IPv6, Internet Protocol version6) although proposition solve Internet protocol (IP from agreement, Internet Protocol) problem of number of addresses shortage, but because IPv6 is incompatible and cause IPv6 agreement to replace the target of IPv4 cannot realizing all the time with IPv4 agreement, cause existing IPv4 main frame cannot log on the network of IPv6.
Summary of the invention
Embodiments provide a kind of data processing method and data processing equipment, to solve the problem of IPv4 address resource shortage.
First aspect provides data processing method, comprising: data processing equipment sends an IPv4 address to IPv4 main frame, and a wherein said IPv4 address is chosen from preset IPv4 address pool by described data processing equipment;
Described data processing equipment receives the first business datum message that described IPv4 main frame sends, and the source IP address of described first business datum message is the IP address of described IPv4 main frame, and object IP address is a described IPv4 address;
The IP address transition of described IPv4 main frame is the 2nd IPv6 address according to mapping relations by described data processing equipment, be the IPv6 address that described data processing equipment gets according to described mapping relations by a described IPv4 address transition, wherein, a described IPv6 address is the address of service server, described 2nd IPv6 address is WAN-side address, and described mapping relations are the mapping relations that a described IPv4 address and a described IPv6 address are set up;
Described data processing equipment sends the second business datum message to described service server, and the source IP address of described second business datum message is described 2nd IPv6 address, and object IP address is an IPv6 address.
In conjunction with the first aspect of the embodiment of the present invention, in the first execution mode of the first aspect of the embodiment of the present invention, the concrete steps that described data processing equipment obtains a described IPv6 address comprise:
Described data processing equipment receives the domain name mapping request that described IPv4 main frame sends, and domain name analysis request goes out a described IPv6 address for asking name server dns resolution;
IPv4 domain name system type in domain name analysis request is revised as IPv6 domain name system type by described data processing equipment;
Described data processing equipment sends amended domain name analysis request to described DNS, makes described dns resolution go out a described IPv6 address;
Described data processing equipment obtains a described IPv6 address.
In conjunction with the first aspect of the embodiment of the present invention, or the first execution mode of first aspect, in the second execution mode of the first aspect of the embodiment of the present invention, the concrete steps that the IP address transition of described IPv4 main frame is the 2nd IPv6 address according to described mapping relations by described data processing equipment comprise:
The IP address transition of described IPv4 main frame is the 2nd IPv4 address by described data processing equipment, and described 2nd IPv4 address is private net address;
Described 2nd IPv4 address transition is the 2nd IPv6 address according to described mapping relations by described data processing equipment.
In conjunction with the first aspect of the embodiment of the present invention, or the first execution mode of first aspect, or the second execution mode of first aspect, in the third execution mode of the first aspect of the embodiment of the present invention, described data processing equipment also comprises after described service server sends the step of the second business datum message:
Described data processing equipment receives the first reply message that described service server sends, and the described first source IP address of replying message is a described IPv6 address, and object IP address is the 2nd IPv6 address;
A described IPv6 address transition is a described IPv4 address according to described mapping relations by described data processing equipment;
Described 2nd IPv6 address transition is described 2nd IPv4 address according to described mapping relations by described data processing equipment, is the IP address of described IPv4 main frame by described 2nd IPv4 address transition;
Described data processing equipment sends second to described IPv4 main frame and replys message, and the described second source IP address of replying message is a described IPv4 address, and object IP address is the IP address of described IPv4 main frame.
The second aspect of the embodiment of the present invention provides a kind of data processing equipment, and described data processing equipment comprises:
Obtain control unit, obtain an IPv6 address for controlling receiver, a described IPv6 address is the address of service server;
Choose unit, for choosing an IPv4 address from preset IPv4 address pool;
Opening relationships unit, for setting up mapping relations by a described IPv4 address and a described IPv6 address;
First sending controling unit, sends a described IPv4 address for control transmitter to IPv4 main frame;
First reception control unit, receive the first business datum message of described IPv4 main frame transmission for controlling described receiver, the source IP address of described first business datum message is the IP address of described IPv4 main frame, and object IP address is a described IPv4 address;
Converting unit, for being the 2nd IPv6 address according to described mapping relations by the IP address transition of described IPv4 main frame;
Described converting unit, also for being a described IPv6 address according to described mapping relations by a described IPv4 address transition, described 2nd IPv6 address is WAN-side address;
Described first sending controling unit, also sends the second business datum message for controlling described reflector to described service server, and the source IP address of described second business datum message is described 2nd IPv6 address, and object IP address is an IPv6 address.
In conjunction with the second aspect of the embodiment of the present invention, in the first execution mode of the second aspect of the embodiment of the present invention, described data processing equipment is routing device, and described acquisition control unit comprises:
First obtains control module, obtains a described IPv6 address for controlling described receiver from DNS.
In conjunction with the first execution mode of the second aspect of the embodiment of the present invention, in the second execution mode of the second aspect of the embodiment of the present invention, described routing device also comprises:
Second reception control unit, receive the domain name mapping request of described IPv4 main frame transmission for controlling described receiver, domain name analysis request goes out a described IPv6 address for asking described dns resolution;
First amendment unit, for being revised as IPv6 domain name system type by the IPv4 domain name system type in domain name analysis request;
Second sending controling unit, sends amended domain name analysis request for controlling described reflector to described DNS, makes described dns resolution go out a described IPv6 address.
In conjunction with the second aspect of the embodiment of the present invention, in the third execution mode of the second aspect of the embodiment of the present invention, described data processing equipment is processing net element, and described acquisition control unit comprises:
Second obtains control module, and obtain a described IPv6 address for controlling described receiver from routing device, a described IPv6 address is obtained from DNS by described routing device;
Described first reception control unit comprises:
First receive control module, for control described receiver by described routing device receive described IPv4 main frame send described first business datum message;
Described first sending controling unit comprises:
First sends control module, sends a described IPv4 address for controlling described reflector by described routing device to described IPv4 main frame;
Described first sends control module, also sends second business datum message by described routing device to described service server for controlling described reflector.
In conjunction with the third execution mode of the second aspect of the embodiment of the present invention, in the 4th kind of execution mode of the second aspect of the embodiment of the present invention, described processing net element also comprises:
3rd reception control unit, for control described receiver from described routing device receive described IPv4 main frame send domain name mapping request, domain name analysis request goes out a described IPv6 address for asking described dns resolution;
Second amendment unit, for being revised as IPv6 domain name system type by the IPv4 domain name system type in domain name analysis request;
3rd sending controling unit, sends amended domain name analysis request by described routing device to described DNS for controlling described reflector, makes described dns resolution go out a described IPv6 address.
In conjunction with the second aspect of the embodiment of the present invention, in the 5th kind of execution mode of the second aspect of the embodiment of the present invention, described converting unit, also for being the 2nd IPv4 address by the IP address transition of described IPv4 main frame, be the 2nd IPv6 address according to described mapping relations by described 2nd IPv4 address transition, described 2nd IPv4 address is private net address.
In conjunction with the second aspect of the embodiment of the present invention, in the 6th kind of execution mode of the second aspect of the embodiment of the present invention, described first reception control unit, the first reply message of described service server transmission is also received for controlling described receiver, described first source IP address of replying message is a described IPv6 address, and object IP address is the 2nd IPv6 address;
Described converting unit, also for being a described IPv4 address according to described mapping relations by a described IPv6 address transition, being described 2nd IPv4 address according to described mapping relations by described 2nd IPv6 address transition, is the IP address of described IPv4 main frame by described 2nd IPv4 address transition;
Described first sending controling unit, also send the second reply message for controlling described reflector to described IPv4 main frame, the described second source IP address of replying message is a described IPv4 address, and object IP address is the IP address of described IPv4 main frame.
In conjunction with the 4th kind of execution mode of the second aspect of the embodiment of the present invention, in the 7th kind of execution mode of the second aspect of the embodiment of the present invention, described data processing equipment is described processing net element, and described first reception control unit also comprises:
Second receive control module, for control described receiver by described routing device receive described service server send described first reply message;
Described first sending controling unit also comprises:
Second sends control module, also sends described second reply message by described routing device to described IPv4 main frame for controlling described reflector.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: data processing equipment sends an IPv4 address to IPv4 main frame, wherein an IPv4 address is chosen from preset IPv4 address pool by data processing equipment, data processing equipment receives the first business datum message that IPv4 main frame sends, the source IP address of the first business datum message is the IP address of IPv4 main frame, object IP address is an IPv4 address, the IP address transition of IPv4 main frame is the 2nd IPv6 address according to mapping relations by data processing equipment, then be the IPv6 address that data processing equipment gets according to mapping relations by an IPv4 address transition, wherein, one IPv6 address is the address of service server, 2nd IPv6 address is WAN-side address, mapping relations are the mapping relations that an IPv4 address and an IPv6 address are set up, data processing equipment sends the second business datum message to service server, the source IP address of the second business datum message is the 2nd IPv6 address, object IP address is an IPv6 address, thus, achieve the translation of IPv4 to IPv6, IPv4 main frame can be logged on the network of IPv6, to solve the problem of IPv4 address resource shortage.
Accompanying drawing explanation
Fig. 1 is an embodiment schematic diagram of the data processing method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of the data processing method in the embodiment of the present invention;
Fig. 3 is the Signalling exchange schematic diagram of the data processing method in the embodiment of the present invention;
Fig. 4 is an embodiment schematic diagram of the data processing equipment in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of the data processing equipment in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of the data processing equipment in the embodiment of the present invention;
Fig. 7 is the network composition structural representation of the data handling system in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of the data processing equipment in the embodiment of the present invention.
Embodiment
Embodiments provide a kind of data processing method and data processing equipment, for realizing the translation of IPv4 to IPv6, to solve the problem of IPv4 address resource shortage.
Refer to Fig. 1, an embodiment of the data processing method in the embodiment of the present invention comprises:
101, data processing equipment sends an IPv4 address to IPv4 main frame;
In the present embodiment, data processing equipment sends an IPv4 address to IPv4 main frame, and wherein an IPv4 address is chosen from preset IPv4 address pool by data processing equipment, and such as, the IPv4 address chosen is 10.10.10.1.
102, data processing equipment receives the first business datum message that IPv4 main frame sends;
In the present embodiment, when after step 101, data processing equipment can receive the first business datum message that IPv4 main frame sends, wherein the source IP address of the first business datum message is the IP address of IPv4 main frame, object IP address is the IPv4 address chosen from preset IPv4 address pool by data processing equipment in step 101, the IP address of such as this IPv4 main frame is 192.168.1.100, object IP address is the IPv4 address 10.10.10.1 chosen.
103, the IP address transition of IPv4 main frame is the 2nd IPv6 address according to mapping relations by data processing equipment, is then the IPv6 address that data processing equipment gets according to mapping relations by an IPv4 address transition;
In the present embodiment, one IPv6 address is the address of service server, 2nd IPv6 address is WAN-side address, mapping relations are the mapping relations that an IPv4 address and an IPv6 address are set up, such as, the IPv6 address 1000::1 that data processing equipment gets, in actual applications, mapping relations can be set up in one IPv6 address and an IPv4 address by data processing equipment, then be the 2nd IPv6 address according to these mapping relations by the IP address transition of this IPv4 main frame, be an IPv6 address according to these mapping relations by an IPv4 address transition again.
104, data processing equipment sends the second business datum message to service server.
In the present embodiment, the source IP address of this second business datum message is the 2nd IPv6 address after changing in step 103, and object IP address is the IPv6 address after changing in step 103.
In the present embodiment, data processing equipment sends an IPv4 address to IPv4 main frame, wherein an IPv4 address is chosen from preset IPv4 address pool by data processing equipment, then the first business datum message that IPv4 main frame sends is received, the source IP address of the first business datum message is the IP address of IPv4 main frame, object IP address is an IPv4 address, the IP address transition of IPv4 main frame is the 2nd IPv6 address according to mapping relations by data processing equipment, then be the IPv6 address that data processing equipment gets according to mapping relations by an IPv4 address transition, wherein, one IPv6 address is the address of service server, 2nd IPv6 address is WAN-side address, mapping relations are the mapping relations that an IPv4 address and an IPv6 address are set up, data processing equipment sends the second business datum message to service server, the source IP address of the second business datum message is the 2nd IPv6 address, object IP address is an IPv6 address, achieve the translation of IPv4 to IPv6, IPv4 main frame can be logged on the network of IPv6, to solve the problem of IPv4 address resource shortage.
For ease of understanding, describe the data processing method in the embodiment of the present invention in detail with a specific embodiment below, refer to Fig. 2, another embodiment of the data processing method in the embodiment of the present invention comprises:
201, data processing equipment receives the domain name mapping request that IPv4 main frame sends;
In the present embodiment, data processing equipment receives local area network (LAN) (LAN, local area network) side IPv4 main frame send domain name mapping request, wherein, domain name mapping request is for asking name server (DNS, Domain Name Server) parse an IPv6 address, in actual applications, domain name mapping is completed by DNS, to an IP address domain name mapping, because can not directly find the main frame that will access by domain name, centre will add a process from domain name lookup IP address, this process is exactly domain name mapping, the type of the address domain name map record in the domain name mapping request that IPv4 main frame sends is " A ", the corresponding IPv4 address of the domain name of namely asking.
202, the IPv4 domain name system type in domain name mapping request is revised as IPv6 domain name system type by data processing equipment;
203, data processing equipment sends amended domain name mapping request to DNS, makes dns resolution go out an IPv6 address;
In the present embodiment, after data processing equipment receives the domain name mapping request of IPv4 main frame transmission in step 201, then data processing equipment sends amended domain name mapping request to DNS, in actual applications, data processing equipment comprises translation module and modular converter, translation module can be the translation (BIH of main frame, Bump in the Host) module, modular converter can be network address translation (NAT, Network Address Translation) module, the present embodiment with translation module be BIH module and modular converter for NAT module for example is described, in actual applications, the type recorded in domain name mapping request " A " (the corresponding IPv4 address of the domain name of namely asking) can be revised as " AAAA " (the corresponding IPv6 address of the domain name of namely asking) by translation module by data processing equipment, then data processing equipment can send amended domain name mapping request to the DNS in IPv6 network, dns resolution is made to go out an IPv6 address, wherein an IPv6 address is the address of service server.
204, data processing equipment obtains an IPv6 address from DNS;
In the present embodiment, data processing equipment is after step 203DNS parses an IPv6 address of service server, and data processing equipment can obtain this IPv6 address parsed from DNS.
205, data processing equipment chooses an IPv4 address from preset IPv4 address pool, then mapping relations is set up in the IPv4 address chosen and the IPv6 address parsed;
In actual applications, data processing equipment chooses an IPv4 address from preset IPv4 address pool, in actual applications, data processing equipment can choose an IPv4 address by translation module from preset IPv4 address pool, according to different translation modules, the corresponding mode chosen is also different, do not limit for prior art herein, when translation module is BIH module, data processing equipment is by translation module random selecting IPv4 address in the private pool of translation module, such as, the IPv6 address that data processing equipment gets in step 204 is 1000::1, then random selecting an one IPv4 address 10.10.10.1 and IPv6 address 1000::1 can be set up mapping relations by translation module by data processing equipment.
206, an IPv4 address is sent to IPv4 main frame by data processing equipment;
In the present embodiment, the IPv4 address chosen is sent to IPv4 main frame by data processing equipment, in actual applications, (namely the IPv4 address 10.10.10.1 chosen is sent to IPv4 main frame by data processing equipment, one IPv4 address 10.10.10.1 is back to IPv4 main frame as dns resolution result), make IPv4 main frame using the object IP address of an IPv4 address 10.10.10.1 as transmission first business datum message.
207, data processing equipment receives the first business datum message that IPv4 main frame sends;
In the present embodiment, data processing equipment receives the first business datum message that IPv4 main frame sends, the source IP address of the first business datum message is the IP address of IPv4 main frame, object IP address is an IPv4 address, such as, the IP address of this IPv4 main frame is 192.168.1.100, object IP address is an IPv4 address 10.10.10.1.
208, the IP address transition of IPv4 main frame is the 2nd IPv4 address by data processing equipment;
209, the 2nd IPv4 address transition is the 2nd IPv6 address according to mapping relations by data processing equipment;
210, an IPv4 address transition is an IPv6 address according to mapping relations by data processing equipment;
In the present embodiment, 2nd IPv4 address is the private net address of data processing equipment, source IP address (the IP address of IPv4 main frame) can be converted to the 2nd IPv4 address of data processing equipment by data processing equipment by modular converter, then data processing equipment can by translation module according to mapping relations set up in step 205, the 2nd IPv4 address obtained after being changed by conversion module replaces with the 2nd IPv6 address, wherein the 2nd IPv6 address is the wide area network (WAN of data processing equipment, Wide Area Network) IPv6 address, side, again by translation module according to mapping relations set up in step 205, by an IPv4 address (namely, object IP address) be converted to the IPv6 address got in step 204, in actual applications, the source IP address 192.168.1.100 of the first business datum message that this IPv4 main frame is sent by this modular converter by data processing equipment is converted to the 2nd IPv4 address of data processing equipment, as 172.11.11.1, then data processing equipment is by the mapping relations of this translation module according to the IPv4 address 10.10.10.1 set up an in step 205 and IPv6 address 1000::1, the 2nd IPv4 address 172.11.11.1 obtaining data processing equipment after being changed by the source IP address 192.168.1.100 of the first business datum message replaces with the 2nd IPv6 address 2000::1, then according to the mapping relations set up in step 205, the object IP address 10.10.10.1 of the first business datum message is replaced with an IPv6 address 1000::1.
211, data processing equipment sends the second business datum message to service server;
In the present embodiment, the source IP address of the second business datum message is the 2nd IPv6 address, and object IP address is an IPv6 address.
212, data processing equipment receives the first reply message that service server sends;
In the present embodiment, first source IP address of replying message is an IPv6 address, object IP address is the 2nd IPv6 address, wherein an IPv6 address is the address of service server, 2nd IPv6 address is the address of the WAN-side of data processing equipment, in actual applications, this first source IP address of replying message is an IPv6 address 1000::1 of service server, and object IP address is the 2nd IPv6 address 2000::1 of the WAN-side of data processing equipment.
213, an IPv6 address transition is an IPv4 address according to mapping relations by data processing equipment;
214, the 2nd IPv6 address transition is the 2nd IPv4 address according to mapping relations by data processing equipment;
In the present embodiment, data processing equipment by translation module according to the mapping relations set up in step 205 by object IP address (namely, 2nd IPv6 address) replace with the 2nd IPv4 address, wherein the 2nd IPv4 address is the private net address of data processing equipment, then the 2nd IPv4 address transition is the IP address of IPv4 main frame by modular converter by data processing equipment, in actual applications, data processing equipment by this translation module according to set up mapping relations, namely the IPv4 address 10.10.10.1 set up in step 205 and the mapping relations of an IPv6 address 1000::1, the source IP address of message is replied (namely by first, one IPv6 address) 1000::1 replaces with an IPv4 address 10.10.10.1, by object IP address (namely, 2nd IPv6 address) 2000::1 replaces with the 2nd IPv4 address 172.11.11.1 of data processing equipment, then the 2nd IPv4 address 172.11.11.1 is converted to the IP address of IPv4 main frame by data processing equipment by modular converter.
215, data processing equipment sends second to IPv4 main frame and replys message.
In the present embodiment, the second source IP address of replying message is an IPv4 address, and object IP address is the IP address of IPv4 main frame.
In the present embodiment, after data processing equipment receives the domain name mapping request of IPv4 main frame transmission, IPv4 domain name system type in domain name mapping request is revised as IPv6 domain name system type, amended domain name mapping request is sent to the DNS in IPv6 network, make DNS can parse an IPv6 address, then data processing equipment changes source IP address and the object IP address of the first business datum message that IPv4 main frame sends by modular converter and translation module, send the second business datum message again and carry out Business Processing to the service server in IPv6 network, when receiving the first reply message that this service server sends, by modular converter and the reverse change source IP address of translation module and object IP address, then send second behind conversion source IP address and object IP address to this IPv4 main frame and reply message, thus, achieve the translation of IPv4 to IPv6, IPv4 main frame can be logged on the network of IPv6, to solve the problem of IPv4 address resource shortage.
Be routing device below with data processing equipment, and this data processing equipment comprises translation module is BIH module, modular converter is NAT44 module is example, introduces the signalling interactive process of the data processing method in the embodiment of the present invention, refers to Fig. 3.
301, IPv4 main frame initiates domain name type A address resolution request to routing device;
302, routing device by domain name mapping request forward to the DNS in WAN-side IPv6 network, the type " A " of the record in domain name mapping request is revised as " AAAA " by BIH module by data processing equipment, routing device by amended domain name mapping request forward to the DNS in WAN-side IPv6 network;
303, the IPv6 address 1000::1 that goes out of DNS sending domain name analysis is to routing device;
304, routing device is chosen by BIH module the IPv6 address 1000::1 that a private ip v4 address 10.10.10.1 and domain name mapping go out and is set up mapping relations in the private pool of BIH module;
305, the private ip v4 address 10.10.10.1 chosen is sent to IPv4 main frame by routing device;
306, IPv4 main frame sends the destination address of business datum message be the private ip v4 address 10.10.10.1 that chooses of routing device and source address is that the IP address 192.168.1.100 of this IPv4 main frame is to routing device;
307, after routing device receives this business datum message, the source address 192.168.1.100 of this business datum message is converted to the private network IP address 172.11.11.1 of routing device by routing device by NAT44 module;
308, NAT44 module step 307 is changed after business datum message be sent to BIH module;
309, the mapping relations set up according to the IPv6 address 1000::1 that the private ip v4 address 10.10.10.1 chosen and domain name mapping go out by BIH module of routing device, the private network IP address 172.11.11.1 of routing device obtained after conversion is converted to the IPv6 address 2000::1 of the WAN-side of routing device, the destination address 10.10.10.1 of this business datum message to be converted to by BIH module the IPv6 address 1000::1 that domain name mapping goes out by data processing equipment;
310, this business datum message of routing device to be 2000::1 and destination address by source address be 1000::1 is sent to IPv6 service server;
311, routing device receives source address that IPv6 service server sends to be 1000::1 and destination address is the reply message of 2000::1;
312, routing device carries out the inverse operation of step 309 by BIH module, and the source address of the reply message of step 311 is converted to 10.10.10.1;
313, the reply message after translation is sent to NAT44 module by BIH module;
314, routing device carries out the inverse operation of step 307 by NAT44 module, and the destination address of the reply message received in step 311 is converted to 192.168.1.100;
315, destination address is 192.168.1.100 and source address by routing device is that 10.10.10.1 is sent to IPv4 main frame.
Be described the data processing equipment of the embodiment of the present invention for performing above-mentioned data processing method below, its basic logical structure is with reference to figure 4, and in the embodiment of the present invention, data processing equipment embodiment comprises:
Obtain control unit 401, choose unit 402, opening relationships unit 403, first sending controling unit 404, first reception control unit 405 and converting unit 406;
Obtain control unit 401, obtain an IPv6 address for controlling receiver, an IPv6 address is the address of service server;
Choose unit 402, for choosing an IPv4 address from preset IPv4 address pool;
Opening relationships unit 403, for setting up mapping relations by an IPv4 address and an IPv6 address;
First sending controling unit 404, sends an IPv4 address for control transmitter to IPv4 main frame;
First reception control unit 405, receive the first business datum message of IPv4 main frame transmission for controlling receiver, the source IP address of the first business datum message is the IP address of IPv4 main frame, and object IP address is an IPv4 address;
Converting unit 406, for being the 2nd IPv6 address according to mapping relations by the IP address transition of IPv4 main frame, be then an IPv6 address according to mapping relations by an IPv4 address transition, the 2nd IPv6 address is WAN-side address;
First sending controling unit 404, also sends the second business datum message for control transmitter to service server, and the source IP address of the second business datum message is the 2nd IPv6 address, and object IP address is an IPv6 address.
In the present embodiment, obtain control unit 401 and control receiver acquisition the one IPv6 address, one IPv6 address is the address of service server, choose unit 402 and choose an IPv4 address from preset IPv4 address pool, mapping relations are set up in one IPv4 address and an IPv6 address by opening relationships unit 403, first sending controling unit 404 control transmitter sends an IPv4 address to IPv4 main frame, first reception control unit 405 controls the first business datum message that receiver receives the transmission of IPv4 main frame, the source IP address of the first business datum message is the IP address of IPv4 main frame, object IP address is an IPv4 address, the IP address transition of IPv4 main frame is the 2nd IPv6 address according to mapping relations by converting unit 406, then be an IPv6 address according to mapping relations by an IPv4 address transition, 2nd IPv6 address is WAN-side address, first sending controling unit 404 control transmitter sends the second business datum message to service server, the source IP address of the second business datum message is the 2nd IPv6 address, object IP address is an IPv6 address, achieve the translation of IPv4 to IPv6, IPv4 main frame can be logged on the network of IPv6, to solve the problem of IPv4 address resource shortage.
In order to better understand the above embodiments, be routing device below with data processing equipment be example, mutual between the modules that the data processing equipment of the embodiment of the present invention comprises and unit is described the data interactive mode in data processing equipment, refers to Fig. 5, comprising:
Second reception control unit 501, first is revised unit 502, second sending controling unit 503, obtains control unit 504, is chosen unit 505, opening relationships unit 506, first sending controling unit 507, first reception control unit 508 and converting unit 509;
Obtain control unit 504 to comprise: first obtains control module 5041;
Second reception control unit 501 controls the domain name mapping request that receiver receives the IPv4 main frame transmission of LAN side, wherein, domain name mapping request is for asking name server (DNS, Domain NameServer) parse an IPv6 address, in actual applications, domain name mapping is completed by DNS, domain name mapping is to an IP address domain name mapping, because can not directly find the main frame that will access by domain name, centre will add a process from domain name lookup IP address, this process is exactly domain name mapping, the type of the address domain name map record in the domain name mapping request that IPv4 main frame sends is " A ", the corresponding IPv4 address of the domain name of namely asking, then by this domain name mapping request forward to the first amendment unit 502,
IPv4 domain name system type in domain name mapping request is revised as IPv6 domain name system type by the first amendment unit 502, in actual applications, data processing equipment comprises translation module and modular converter, translation module (not shown) can be BIH module, modular converter (not shown) can be NAT module, the present embodiment with translation module be BIH module and modular converter for NAT module for example is described, after the domain name mapping request receiving the transmission of IPv4 main frame, the type recorded in domain name mapping request " A " (the corresponding IPv4 address of the domain name of namely asking) is revised as " AAAA " (the corresponding IPv6 address of the domain name of namely asking) by translation module by the first amendment unit 502, wherein an IPv6 address is the address of service server, amended domain name mapping request is sent to the second sending controling unit 503 by the first amendment unit 502,
Second sending controling unit 503 control transmitter sends amended domain name mapping request to DNS, and make dns resolution go out an IPv6 address, wherein an IPv6 address is the address of service server;
First acquisition control module 5041 controls receiver and obtains the IPv6 address parsed from DNS;
Choose unit 505 and choose an IPv4 address from preset IPv4 address pool, in actual applications, choose unit 505 and can choose an IPv4 address by translation module from preset IPv4 address pool, according to different translation modules, the corresponding mode chosen is also different, does not limit, such as prior art herein, the IPv4 address chosen is 10.10.10.1, and an IPv4 address 10.10.10.1 is sent to opening relationships unit 506 and the first sending controling unit 507;
Mapping relations are set up in one IPv4 address and an IPv6 address by opening relationships unit 506, in being actually used in, the IPv6 address got is 1000::1, the IPv6 address that the IPv4 address 10.10.10.1 received and this get can be that 1000::1 sets up mapping relations by translation module by opening relationships unit 506, and the mapping relations of this foundation are sent to converting unit 509;
First sending controling unit 507 control transmitter sends to IPv4 main frame and chooses an IPv4 address 10.10.10.1(that unit 505 chooses namely, one IPv4 address 10.10.10.1 is back to IPv4 main frame as dns resolution result), make IPv4 main frame using the object IP address of an IPv4 address 10.10.10.1 as transmission first business datum message;
First reception control unit 508 controls the first business datum message that receiver receives the transmission of IPv4 main frame, the source IP address of this first business datum message is the IP address of IPv4 main frame, object IP address is an IPv4 address 10.10.10.1, such as, the IP address of this IPv4 main frame is 192.168.1.100;
The IP address transition of the IPv4 main frame that receiver receives by converting unit 509 is the 2nd IPv4 address, be the 2nd IPv6 address according to the mapping relations that opening relationships unit 506 is set up by the 2nd IPv4 address transition, 2nd IPv4 address is private net address, one IPv4 address transition is an IPv6 address by the mapping relations that converting unit 509 is set up according to opening relationships unit 506,2nd IPv6 address is WAN-side address, in actual applications, source IP address (the IP address of IPv4 main frame) can be converted to the 2nd IPv4 address of data processing equipment by converting unit 509 by modular converter, then the mapping relations that can be set up according to opening relationships unit 506 by translation module of converting unit 509, the 2nd IPv4 address obtained after being changed by conversion module replaces with the 2nd IPv6 address, wherein the 2nd IPv6 address is the WAN-side IPv6 address of data processing equipment, converting unit 509 is again by mapping relations that translation module is set up according to opening relationships unit 506, by an IPv4 address (namely, object IP address) be converted to the IPv6 address got, such as, the source IP address 192.168.1.100 of the first business datum message that this IPv4 main frame is sent by this modular converter by converting unit 509 is converted to the 2nd IPv4 address 172.11.11.1 of data processing equipment, then converting unit 509 is by the mapping relations of this translation module according to the IPv4 address 10.10.10.1 set up an and IPv6 address 1000::1, the 2nd IPv4 address 172.11.11.1 obtaining data processing equipment after being changed by the source IP address 192.168.1.100 of the first business datum message replaces with the 2nd IPv6 address 2000::1, the object IP address 10.10.10.1 of the first business datum message is replaced with an IPv6 address 1000::1 by the mapping relations that then converting unit 509 is set up according to opening relationships unit 506,
First sending controling unit 507 control transmitter sends the second business datum message to service server, and the source IP address of this second business datum message is the 2nd IPv6 address 2000::1, and object IP address is an IPv6 address 1000::1;
First reception control unit 508 controls the first reply message that receiver receives service server transmission, this first source IP address of replying message is an IPv6 address, object IP address is the 2nd IPv6 address, wherein an IPv6 address is the address of service server, 2nd IPv6 address is the address of the WAN-side of data processing equipment, in actual applications, this the first source IP address of replying message is an IPv6 address 1000::1 of service server, and object IP address is the 2nd IPv6 address 2000: of the WAN-side of data processing equipment:;
One IPv6 address transition is an IPv4 address according to opening relationships unit 506 mapping relations by converting unit 509, then be the 2nd IPv4 address according to these mapping relations by the 2nd IPv6 address transition, in actual applications, converting unit 509 by translation module according to these mapping relations by object IP address (namely, 2nd IPv6 address) replace with the 2nd IPv4 address, wherein the 2nd IPv4 address is the private net address of data processing equipment, then the 2nd IPv4 address transition is the IP address of IPv4 main frame by modular converter by converting unit 509, such as, converting unit 509 by this translation module according to set up mapping relations, an i.e. IPv4 address 10.10.10.1 of opening relationships unit 506 foundation and the mapping relations of an IPv6 address 1000::1, the source IP address of message is replied (namely by first, one IPv6 address) 1000::1 replaces with an IPv4 address 10.10.10.1, by object IP address (namely, 2nd IPv6 address) 2000::1 replaces with the 2nd IPv4 address 172.11.11.1 of data processing equipment, then the 2nd IPv4 address 172.11.11.1 is converted to the IP address 192.168.1.100 of IPv4 main frame by converting unit 509 by modular converter,
First sending controling unit 507 control transmitter sends second to IPv4 main frame and replys message, and wherein this second source IP address of replying message is an IPv4 address 10.10.10.1, and object IP address is the IP address 192.168.1.100 of IPv4 main frame.
In the present embodiment, second reception control unit 501 control receiver receive IPv4 main frame send domain name mapping request after, IPv4 domain name system type in domain name mapping request is revised as IPv6 domain name system type by the first amendment unit 502, second sending controling unit 503 control transmitter sends amended domain name mapping request to the DNS in IPv6 network, first acquisition control module 5041 controls receiver and obtains the IPv6 address parsed from DNS, choose unit 505 and choose an IPv4 address from preset IPv4 address pool, mapping relations are set up in one IPv4 address and an IPv6 address by opening relationships unit 506, first sending controling unit 507 control transmitter sends the IPv4 address chosen unit 505 and choose to IPv4 main frame, first reception control unit 508 controls the first business datum message that receiver receives the transmission of IPv4 main frame, converting unit 509 utilizes modular converter and translation module to change source IP address and the object IP address of the first business datum message, first sending controling unit 507 control transmitter sends the second business datum message and carries out Business Processing to the service server in IPv6 network, when the first reception control unit 508 control receiver receive this service server send first reply message time, converting unit 509 is by modular converter and the reverse change source IP address of translation module and object IP address, then the first sending controling unit 507 control transmitter sends second behind conversion source IP address and object IP address to this IPv4 main frame and replys message, thus, achieve the translation of IPv4 to IPv6, IPv4 main frame can be logged on the network of IPv6, to solve the problem of IPv4 address resource shortage.
In order to better understand the above embodiments, be processing net element below with data processing equipment be example, mutual between the modules that the data processing equipment of the embodiment of the present invention comprises and unit is described the data interactive mode in data processing equipment, refers to Fig. 6, comprising:
3rd reception control unit 601, second is revised unit 602, the 3rd sending controling unit 603, obtains control unit 604, is chosen unit 605, first sending controling unit 607, first reception control unit 608, converting unit 609;
Obtain control unit 604 to comprise: second obtains control module 6041;
First sending controling unit 607 comprises: first sends control module 6071 and second sends control module 6072;
First reception control unit 608 comprises: first receives control module 6081 and second receives control module 6082;
3rd reception control unit 601 controls receiver receives the transmission of IPv4 main frame domain name mapping request from routing device, this domain name mapping request goes out an IPv6 address for asking dns resolution, in actual applications, domain name mapping is completed by DNS, domain name mapping is to an IP address domain name mapping, because can not directly find the main frame that will access by domain name, centre will add a process from domain name lookup IP address, this process is exactly domain name mapping, the type of the address domain name map record in the domain name mapping request that IPv4 main frame sends is " A ", the corresponding IPv4 address of the domain name of namely asking, then by this domain name mapping request forward to the second amendment unit 602,
IPv4 domain name system type in domain name mapping request is revised as IPv6 domain name system type by the second amendment unit 602, in actual applications, data processing equipment (processing net element) comprises translation module and modular converter, translation module (not shown) can be BIH module, modular converter (not shown) can be NAT module, the present embodiment with translation module be BIH module and modular converter for NAT module for example is described, after the domain name mapping request receiving the transmission of IPv4 main frame, the type recorded in domain name mapping request " A " (the corresponding IPv4 address of the domain name of namely asking) is revised as " AAAA " (the corresponding IPv6 address of the domain name of namely asking) by translation module by the second amendment unit 602, wherein an IPv6 address is the address of service server, amended domain name mapping request is sent to the 3rd sending controling unit 603 by the second amendment unit 602,
3rd sending controling unit 603 control transmitter sends amended domain name mapping request by routing device to DNS, and make dns resolution go out an IPv6 address, wherein an IPv6 address is the address of service server;
Second obtains control module 6041 controls receiver from routing device acquisition the one IPv6 address, and an IPv6 address is obtained from DNS by routing device;
Choose unit 605 and choose an IPv4 address from preset IPv4 address pool, in actual applications, choose unit 605 and can choose an IPv4 address by translation module from preset IPv4 address pool, according to different translation modules, the corresponding mode chosen is also different, does not limit, such as prior art herein, the IPv4 address chosen is 10.10.10.1, and an IPv4 address 10.10.10.1 is sent to opening relationships unit 606 and the first transmission control module 6071;
Mapping relations are set up in one IPv4 address and an IPv6 address by opening relationships unit 606, in being actually used in, the IPv6 address got is 1000::1, the IPv6 address that the IPv4 address 10.10.10.1 received and this get can be that 1000::1 sets up mapping relations by translation module by opening relationships unit 606, and the mapping relations of this foundation are sent to converting unit 609;
First sends control module 6071 control transmitter to be sent to IPv4 main frame by routing device and chooses an IPv4 address 10.10.10.1(that unit 505 chooses namely, one IPv4 address 10.10.10.1 is back to IPv4 main frame as dns resolution result), make IPv4 main frame using the object IP address of an IPv4 address 10.10.10.1 as transmission first business datum message;
First receives control module 6081 controls receiver receives the transmission of IPv4 main frame the first business datum message by routing device, the source IP address of this first business datum message is the IP address of IPv4 main frame, object IP address is an IPv4 address 10.10.10.1, such as, the IP address of this IPv4 main frame is 192.168.1.100;
The IP address transition of the IPv4 main frame that receiver receives by converting unit 609 is the 2nd IPv4 address, be the 2nd IPv6 address according to the mapping relations that opening relationships unit 606 is set up by the 2nd IPv4 address transition, 2nd IPv4 address is the private net address of routing device, one IPv4 address transition is an IPv6 address by the mapping relations that converting unit 609 is set up according to opening relationships unit 606, 2nd IPv6 address is WAN-side address, in actual applications, source IP address (the IP address of IPv4 main frame) can be converted to the 2nd IPv4 address by modular converter by converting unit 609, then the mapping relations that can be set up according to opening relationships unit 606 by translation module of converting unit 609, the 2nd IPv4 address obtained after being changed by conversion module replaces with the 2nd IPv6 address, wherein the 2nd IPv6 address is the WAN-side IPv6 address of routing device, converting unit 609 is again by mapping relations that translation module is set up according to opening relationships unit 606, by an IPv4 address (namely, object IP address) be converted to the IPv6 address got, such as, the source IP address 192.168.1.100 of the first business datum message that this IPv4 main frame is sent by this modular converter by converting unit 609 is converted to the 2nd IPv4 address 172.11.11.1, then converting unit 609 is by the mapping relations of this translation module according to the IPv4 address 10.10.10.1 set up an and IPv6 address 1000::1, obtain the 2nd IPv4 address 172.11.11.1 after being changed by the source IP address 192.168.1.100 of the first business datum message and replace with the 2nd IPv6 address 2000::1, the object IP address 10.10.10.1 of the first business datum message is replaced with an IPv6 address 1000::1 by the mapping relations that then converting unit 609 is set up according to opening relationships unit 606,
First sends control module 6071 control transmitter sends the second business datum message by routing device to service server, and the source IP address of this second business datum message is the 2nd IPv6 address 2000::1, and object IP address is an IPv6 address 1000::1;
Second receives control module 6082 controls receiver receives service server transmission the first reply message by routing device, this first source IP address of replying message is an IPv6 address, object IP address is the 2nd IPv6 address, wherein an IPv6 address is the address of service server, 2nd IPv6 address is the address of the WAN-side of routing device, in actual applications, this the first source IP address of replying message is an IPv6 address 1000::1 of service server, and object IP address is the 2nd IPv6 address 2000::1 of the WAN-side of routing device;
One IPv6 address transition is an IPv4 address according to opening relationships unit 606 mapping relations by converting unit 609, then be the 2nd IPv4 address according to these mapping relations by the 2nd IPv6 address transition, in actual applications, converting unit 609 by translation module according to these mapping relations by object IP address (namely, 2nd IPv6 address) replace with the 2nd IPv4 address, wherein the 2nd IPv4 address is the private net address of routing device, then the 2nd IPv4 address transition is the IP address of IPv4 main frame by modular converter by converting unit 609, such as, converting unit 609 by this translation module according to set up mapping relations, an i.e. IPv4 address 10.10.10.1 of opening relationships unit 606 foundation and the mapping relations of an IPv6 address 1000::1, the source IP address of message is replied (namely by first, one IPv6 address) 1000::1 replaces with an IPv4 address 10.10.10.1, by object IP address (namely, 2nd IPv6 address) 2000::1 replaces with the 2nd IPv4 address 172.11.11.1 of routing device, then the 2nd IPv4 address 172.11.11.1 is converted to the IP address 192.168.1.100 of IPv4 main frame by converting unit 609 by modular converter,
Second sends control module 6072 control transmitter sends the second reply message by routing device to IPv4 main frame, wherein this second source IP address of replying message is an IPv4 address 10.10.10.1, and object IP address is the IP address 192.168.1.100 of IPv4 main frame.
In the present embodiment, 3rd reception control unit 601 control receiver from routing device receive IPv4 main frame send domain name mapping request after, IPv4 domain name system type in domain name mapping request is revised as IPv6 domain name system type by the second amendment unit 602,3rd sending controling unit 603 control transmitter sends amended domain name mapping request by routing device to the DNS in IPv6 network, second acquisition control module 6041 controls receiver and obtains the IPv6 address parsed from routing device, one IPv6 address is obtained from DNS by routing device, choose unit 605 and choose an IPv4 address from preset IPv4 address pool, mapping relations are set up in one IPv4 address and an IPv6 address by opening relationships unit 606, first sends control module 6071 control transmitter sends the IPv4 address chosen unit 505 and choose to IPv4 main frame by routing device, first receives control module 6081 controls receiver receives the transmission of IPv4 main frame the first business datum message by routing device, converting unit 609 utilizes modular converter and translation module to change source IP address and the object IP address of the first business datum message, first transmission control module 6071 control transmitter sends the second business datum message by routing device and carries out Business Processing to the service server in IPv6 network, when second receive control module 6082 control receiver by routing device receive this service server send first reply message time, converting unit 609 is by modular converter and the reverse change source IP address of translation module and object IP address, then second control module 6072 control transmitter is sent by routing device to the second reply message after this IPv4 main frame transmission conversion source IP address and object IP address, thus, achieve the translation of IPv4 to IPv6, IPv4 main frame can be logged on the network of IPv6, to solve the problem of IPv4 address resource shortage.
The network composition structure of the data handling system in the present embodiment, refer to Fig. 7, take data processing equipment as routing device, and the built-in modular converter of data processing equipment and translation module, wherein, modular converter is as NAT44 module, translation module such as BIH module is that example is described, the Internet of routing device multi-upstream access IPv6, descending existing IPv4 equipment also has IPv6 equipment, the wide area network side of routing device is configured with global unicast (global) IPv6 address, local area network side is by hanging multiple IPv4 equipment under the private net address of distributing IP v4, the private network IP address of multiple for lower extension PC is converted to same private network IP address by the modular converter support in routing device.Translation module can be converted to IPv6 public network address the private net address of routing device.The IPv6 equipment hung under routing device directly can carry out the access of IPv6 equipment by routing device, the IPv4 equipment of lower extension gets private ip v4 address by router, then by routing device access internet ip v6 business.The upstream Interface of translation module is also provided with IPv4 address, hang under routing device IPv4 message that IPv4 main frame sends can through modular converter through address transition, source address can be converted to the IPv4 address of translation module.Successively modular converter is carried out and translation module realizes the function of LAN side personal computer (PC, personal compute) by IPv4 access to netwoks internet ip v6 business in routing device.
Further illustrating below to data processing equipment in the embodiment of the present invention, refers to Fig. 8, and in the embodiment of the present invention, another embodiment of data processing equipment comprises: processor 801, receiver 802 and transmitter 803.
Receiver 802 obtains an IPv6 address, and an IPv6 address is the address of service server;
Processor 801 chooses an IPv4 address from preset IPv4 address pool, and mapping relations are set up in an IPv4 address and an IPv6 address;
Transmitter 803 sends an IPv4 address to IPv4 main frame;
Receiver 802 receives the first business datum message that IPv4 main frame sends, and the source IP address of the first business datum message is the IP address of IPv4 main frame, and object IP address is an IPv4 address;
The IP address transition of IPv4 main frame is the 2nd IPv6 address according to mapping relations by processor 801, and be an IPv6 address according to mapping relations by an IPv4 address transition, the 2nd IPv6 address is WAN-side address;
Transmitter 803 sends the second business datum message to service server, and the source IP address of the second business datum message is the 2nd IPv6 address, and object IP address is an IPv6 address.
It will be appreciated by those skilled in the art that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
Above a kind of data processing method provided by the present invention and data processing equipment are described in detail, for those skilled in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a data processing method, is characterized in that, comprising:
Data processing equipment sends an IPv4 address to IPv4 main frame, and a wherein said IPv4 address is chosen from preset IPv4 address pool by described data processing equipment;
Described data processing equipment receives the first business datum message that described IPv4 main frame sends, and the source IP address of described first business datum message is the IP address of described IPv4 main frame, and object IP address is a described IPv4 address;
The IP address transition of described IPv4 main frame is the 2nd IPv6 address according to mapping relations by described data processing equipment, be the IPv6 address that described data processing equipment gets according to described mapping relations by a described IPv4 address transition, wherein, a described IPv6 address is the address of service server, described 2nd IPv6 address is WAN-side address, and described mapping relations are the mapping relations that a described IPv4 address and a described IPv6 address are set up;
Described data processing equipment sends the second business datum message to described service server, and the source IP address of described second business datum message is described 2nd IPv6 address, and object IP address is an IPv6 address.
2. method according to claim 1, is characterized in that, the concrete steps that described data processing equipment obtains a described IPv6 address comprise:
Described data processing equipment receives the domain name mapping request that described IPv4 main frame sends, and domain name analysis request goes out a described IPv6 address for asking name server dns resolution;
IPv4 domain name system type in domain name analysis request is revised as IPv6 domain name system type by described data processing equipment;
Described data processing equipment sends amended domain name analysis request to described DNS, makes described dns resolution go out a described IPv6 address;
Described data processing equipment obtains a described IPv6 address.
3. method according to claim 1 and 2, is characterized in that, the concrete steps that the IP address transition of described IPv4 main frame is the 2nd IPv6 address according to described mapping relations by described data processing equipment comprise:
The IP address transition of described IPv4 main frame is the 2nd IPv4 address by described data processing equipment, and described 2nd IPv4 address is private net address;
Described 2nd IPv4 address transition is the 2nd IPv6 address according to described mapping relations by described data processing equipment.
4. the method according to any one of claim 1-3, is characterized in that, described data processing equipment also comprises after described service server sends the step of the second business datum message:
Described data processing equipment receives the first reply message that described service server sends, and the described first source IP address of replying message is a described IPv6 address, and object IP address is the 2nd IPv6 address;
A described IPv6 address transition is a described IPv4 address according to described mapping relations by described data processing equipment;
Described 2nd IPv6 address transition is described 2nd IPv4 address according to described mapping relations by described data processing equipment, is the IP address of described IPv4 main frame by described 2nd IPv4 address transition;
Described data processing equipment sends second to described IPv4 main frame and replys message, and the described second source IP address of replying message is a described IPv4 address, and object IP address is the IP address of described IPv4 main frame.
5. a data processing equipment, is characterized in that, described data processing equipment comprises:
Obtain control unit, obtain an IPv6 address for controlling receiver, a described IPv6 address is the address of service server;
Choose unit, for choosing an IPv4 address from preset IPv4 address pool;
Opening relationships unit, for setting up mapping relations by a described IPv4 address and a described IPv6 address;
First sending controling unit, sends a described IPv4 address for control transmitter to IPv4 main frame;
First reception control unit, receive the first business datum message of described IPv4 main frame transmission for controlling described receiver, the source IP address of described first business datum message is the IP address of described IPv4 main frame, and object IP address is a described IPv4 address;
Converting unit, for being the 2nd IPv6 address according to described mapping relations by the IP address transition of described IPv4 main frame;
Described converting unit, also for being a described IPv6 address according to described mapping relations by a described IPv4 address transition, described 2nd IPv6 address is WAN-side address;
Described first sending controling unit, also sends the second business datum message for controlling described reflector to described service server, and the source IP address of described second business datum message is described 2nd IPv6 address, and object IP address is an IPv6 address.
6. method according to claim 5, is characterized in that, described data processing equipment is routing device, and described acquisition control unit comprises:
First obtains control module, obtains a described IPv6 address for controlling described receiver from DNS.
7. method according to claim 6, is characterized in that, described routing device also comprises:
Second reception control unit, receive the domain name mapping request of described IPv4 main frame transmission for controlling described receiver, domain name analysis request goes out a described IPv6 address for asking described dns resolution;
First amendment unit, for being revised as IPv6 domain name system type by the IPv4 domain name system type in domain name analysis request;
Second sending controling unit, sends amended domain name analysis request for controlling described reflector to described DNS, makes described dns resolution go out a described IPv6 address.
8. method according to claim 5, is characterized in that, described data processing equipment is processing net element, and described acquisition control unit comprises:
Second obtains control module, and obtain a described IPv6 address for controlling described receiver from routing device, a described IPv6 address is obtained from DNS by described routing device;
Described first reception control unit comprises:
First receive control module, for control described receiver by described routing device receive described IPv4 main frame send described first business datum message;
Described first sending controling unit comprises:
First sends control module, sends a described IPv4 address for controlling described reflector by described routing device to described IPv4 main frame;
Described first sends control module, also sends second business datum message by described routing device to described service server for controlling described reflector.
9. method according to claim 8, is characterized in that, described processing net element also comprises:
3rd reception control unit, for control described receiver from described routing device receive described IPv4 main frame send domain name mapping request, domain name analysis request goes out a described IPv6 address for asking described dns resolution;
Second amendment unit, for being revised as IPv6 domain name system type by the IPv4 domain name system type in domain name analysis request;
3rd sending controling unit, sends amended domain name analysis request by described routing device to described DNS for controlling described reflector, makes described dns resolution go out a described IPv6 address.
10. method according to claim 5, is characterized in that,
Described converting unit, also for being the 2nd IPv4 address by the IP address transition of described IPv4 main frame, be the 2nd IPv6 address according to described mapping relations by described 2nd IPv4 address transition, described 2nd IPv4 address is private net address.
11. methods according to claim 5, is characterized in that,
Described first reception control unit, also receive the first reply message of described service server transmission for controlling described receiver, the described first source IP address of replying message is a described IPv6 address, and object IP address is the 2nd IPv6 address;
Described converting unit, also for being a described IPv4 address according to described mapping relations by a described IPv6 address transition, being described 2nd IPv4 address according to described mapping relations by described 2nd IPv6 address transition, is the IP address of described IPv4 main frame by described 2nd IPv4 address transition;
Described first sending controling unit, also send the second reply message for controlling described reflector to described IPv4 main frame, the described second source IP address of replying message is a described IPv4 address, and object IP address is the IP address of described IPv4 main frame.
12. methods according to claim 9, is characterized in that, described data processing equipment is described processing net element, and described first reception control unit also comprises:
Second receive control module, for control described receiver by described routing device receive described service server send described first reply message;
Described first sending controling unit also comprises:
Second sends control module, also sends described second reply message by described routing device to described IPv4 main frame for controlling described reflector.
CN201310356645.4A 2013-08-15 2013-08-15 A kind of data processing method and data processing equipment Active CN104378301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310356645.4A CN104378301B (en) 2013-08-15 2013-08-15 A kind of data processing method and data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310356645.4A CN104378301B (en) 2013-08-15 2013-08-15 A kind of data processing method and data processing equipment

Publications (2)

Publication Number Publication Date
CN104378301A true CN104378301A (en) 2015-02-25
CN104378301B CN104378301B (en) 2018-08-14

Family

ID=52556967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310356645.4A Active CN104378301B (en) 2013-08-15 2013-08-15 A kind of data processing method and data processing equipment

Country Status (1)

Country Link
CN (1) CN104378301B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939316A (en) * 2015-10-26 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN107241271A (en) * 2017-06-19 2017-10-10 联想(北京)有限公司 A kind of data processing method and the network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697421A (en) * 2004-05-10 2005-11-16 华为技术有限公司 Method for implementing tunnel relay in network for carrying out conversion of network address
CN101719859A (en) * 2009-12-09 2010-06-02 华为技术有限公司 Method, device and system for realizing equipment conversion of IPv6 tunnel passing through network address
CN102334355A (en) * 2011-05-25 2012-01-25 华为技术有限公司 Strategy control method and equipment
EP2466801A1 (en) * 2009-09-17 2012-06-20 ZTE Corporation Communication method, method for forwarding data message during the communication process and communication node thereof
CN103051544A (en) * 2012-12-27 2013-04-17 华为技术有限公司 Method and equipment for access of Internet protocol version 4 (IPv4) private network to Internet protocol version 6 (IPv6) network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697421A (en) * 2004-05-10 2005-11-16 华为技术有限公司 Method for implementing tunnel relay in network for carrying out conversion of network address
EP2466801A1 (en) * 2009-09-17 2012-06-20 ZTE Corporation Communication method, method for forwarding data message during the communication process and communication node thereof
CN101719859A (en) * 2009-12-09 2010-06-02 华为技术有限公司 Method, device and system for realizing equipment conversion of IPv6 tunnel passing through network address
CN102334355A (en) * 2011-05-25 2012-01-25 华为技术有限公司 Strategy control method and equipment
CN103051544A (en) * 2012-12-27 2013-04-17 华为技术有限公司 Method and equipment for access of Internet protocol version 4 (IPv4) private network to Internet protocol version 6 (IPv6) network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939316A (en) * 2015-10-26 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN107241271A (en) * 2017-06-19 2017-10-10 联想(北京)有限公司 A kind of data processing method and the network equipment
CN107241271B (en) * 2017-06-19 2020-02-21 联想(北京)有限公司 Data processing method and network equipment

Also Published As

Publication number Publication date
CN104378301B (en) 2018-08-14

Similar Documents

Publication Publication Date Title
US10673815B2 (en) DNS-enabled communication between heterogeneous devices
US8351430B2 (en) Routing using global address pairs
CN102215273B (en) Method and device for providing external network access for internal network user
CN105359458B (en) Network device communications method and the network equipment
US20120324063A1 (en) Method, network device, and system for automatically configuring network device in ipv6 network
CN105227687A (en) IPv4 user accesses communication means and the system of IPv6 resource
CN103856580B (en) A kind of method that IPv6 client computer accesses IPv4 servers
CN104618243A (en) Routing method, device and system, and gateway scheduling method and device
CN110691150A (en) SDN-based IPv4 and IPv6 interconnection method and system
CN106375491A (en) Method, device and system for discovering network equipment
CN103118145B (en) Based on the IPv4-over-IPv6 Multiple tunnel auto-creating method of DNS
Kalwar et al. A survey of transition mechanisms from IPv4 to IPv6—Simulated test bed and analysis
CN104639497A (en) Remote access configuration method, remote access method, remote access configuration device, remote access device and remote access system
CN102204191A (en) A message transmission method and a network-network routing device
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN104702707B (en) A kind of data processing method and device
CN105376338A (en) Translation method between IPv4 and IPv6 and device
CN114189492A (en) Network card pressure testing method and system based on network address translation technology
CN104079682A (en) Address translation method and device based on domain name system (DNS)
CN102137172B (en) Access method and access device for DNS (Domain Name Server)
CN104717639A (en) Access method for mobile client to internet and access gateway server
CN104378301A (en) Data processing method and data processing device
CN108494751A (en) The method and device of the publicly-owned addresses effective use IPv4
CN107547690A (en) Port assignment method, apparatus, NAT device and storage medium in NAT
CN103888554A (en) IPv4 and IPv6 compatible domain name resolution method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20181221

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right