CN104735073B - IPv4-IPv6 transition protocols dispatching method and device - Google Patents

IPv4-IPv6 transition protocols dispatching method and device Download PDF

Info

Publication number
CN104735073B
CN104735073B CN201510145671.1A CN201510145671A CN104735073B CN 104735073 B CN104735073 B CN 104735073B CN 201510145671 A CN201510145671 A CN 201510145671A CN 104735073 B CN104735073 B CN 104735073B
Authority
CN
China
Prior art keywords
ipv4
addresses
ipv6
service
type
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.)
Active
Application number
CN201510145671.1A
Other languages
Chinese (zh)
Other versions
CN104735073A (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.)
GCI Science and Technology Co Ltd
Original Assignee
GCI Science and Technology 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 GCI Science and Technology Co Ltd filed Critical GCI Science and Technology Co Ltd
Priority to CN201510145671.1A priority Critical patent/CN104735073B/en
Publication of CN104735073A publication Critical patent/CN104735073A/en
Application granted granted Critical
Publication of CN104735073B publication Critical patent/CN104735073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/167Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/741Routing in networks with a plurality of addressing schemes, e.g. with both IPv4 and IPv6
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/686Types of network addresses using dual-stack hosts, e.g. in Internet protocol version 4 [IPv4]/Internet protocol version 6 [IPv6] networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of IPv4 IPv6 transition protocols dispatching method and device, this method include:Analyze the type of service of Operational Visit request that the IPv6 hosts received are sent;The mapping relations corresponding to the IPv6 hosts are obtained, the mapping relations include the correspondence of the IPv4 addresses and IPv6 addresses for the IPv6 host assignments, judge whether the address style of the IPv4 addresses matches with the type of service;If matching, Operational Visit request is handled using translation-protocol corresponding with the address style of the IPv4 addresses;If it mismatches, the IPv4 addresses of address style to match for the IPv6 host assignments and the type of service, and the mapping relations of the newly assigned IPv4 addresses and IPv6 addresses are established, Operational Visit request is handled using translation-protocol corresponding with the address style of newly assigned IPv4 addresses.The embodiment of the present invention can ensure that it is normal that user accesses, and effectively improve the transfer efficiency of Interworking gateway and resource application, and can effectively reduce the demand of IPv4 addresses in IPv6 networks.

Description

IPv4-IPv6 transition protocols dispatching method and device
Technical field
The present invention relates to the communications field, more particularly to a kind of IPv4-IPv6 transition protocols dispatching method, a kind of IPv4- IPv6 transition protocol dispatching devices.
Background technology
With the development of Internet technology, IPv4 (Internet protocol (Internet Protocol, IP) fourth edition) address It is increasingly exhausted, the demand of IPv6 (Internet protocol (Internet Protocol, IP) sixth version) is also increasingly increased It is long, but at present for, the application of IPv4 is also extremely wide, and the resource on network is most or using IPv4 addresses, from A very long transitional period is also needed between IPv4 to IPv6, within this very long transitional period, between realization IPv4 and IPv6 The network equipment of intercommunication will play the part of a very important role, the network topology structure signal of intercommunication between IPv4 and IPv6 Figure is as shown in Figure 1.
Realize the gateway (hereinafter referred to as Interworking gateway) of IPv4 and IPv6 intercommunications using high speed network processor and high property at present Energy universal computing platform composition hardware platform, by disposing one or more transition protocols on a computer platform, realizes IPv4 Intercommunication between network and IPv6 networks.The transition protocol used at present mainly has NAT-PT (Network Address Translation-Protocol, the network address translater of subsidiary protocol converter), NAT64, IVI etc., because of realization mechanism not Together, different transition protocols are good and bad for each tool in the application.
As previously mentioned, the resource at present on network is most or using IPv4 addresses, in order to realize that IPv6 hosts can The resource in IPv4 networks is accessed, need to pay the utmost attention to conversion and inverse conversion of the IPv6 addresses to IPv4 addresses.Institute at present There are mainly two types of conversion regimes used in the transition protocol used:One kind is to every based on source data packet address and destination address A data packet carries out conversion calculating (stateless conversion), shows the flow diagram statelessly converted in Fig. 2, same in figure When show the schematic diagram of related data packets form in a specific example, another kind is to need to preserve IPv4 hosts and IPv6 Host correspondence mappings table carries out the conversion (stateful conversion) of data packet further according to mapping table, stateful conversion is shown in Fig. 3 A flow diagram, the schematic diagram of the related data packets form in a specific example is also shown in figure.Statelessly Translation-protocol supports N:The conversion of N, stateful translation-protocol support N:1 (multiple IPv6 addresses correspond to an IPv4 address) turns It changes.
Stateless conversion does not need to consumption memory and preserves mapping table, and do not need to table look-up, be relatively suitable for flow compared with High network service accesses (such as Online Video viewing, HTTP (Hyper Text Transfer Protocol, Hyper text transfer Agreement) download, FTP (one of File Transfer Protocol, the agreement in ICP/IP protocol group) is downloaded etc.), still, by 1 is accomplished that in stateless translation-protocol:1 access stencil, though so it realizes the intercommunication of IPv4 and IPv6, IPv6 nets Every host in network is required for a public network IP v4 address, the actually depletion rate there is no reduction IPv4 addresses, not IPv4 addresses can be efficiently solved and lack dilute problem.
Stateful translation-protocol can by NAT (Network Address Translation, network address translation) agreement To realize N:1 access mode can not need to independent IPv4 addresses for IPv6 host terminals, converted and assisted using this kind View can effectively reduce the consumption of IPv4 host addresses, and network service that is relatively low compared with suitable for flow and being not required to long connection accesses (such as web page browsing, mail transmission/reception), but need to establish the correspondence of IPv6 internal address and IPv4 public network addresses, it needs Consume the mapping table for the rete mirabile host that the memory source of Interworking gateway accesses current hosts and its to be preserved to initiate, transfer efficiency Will be less than stateless translation-protocol, when IPv6 hosts and its to IPv4 access resource increase when, mapping table can increase rapidly, and can lead Its transfer efficiency is caused to substantially reduce.
Invention content
Based on this, the embodiment of the present invention is designed to provide IPv4-IPv6 transition protocols dispatching method, a kind of IPv4- IPv6 transition protocol dispatching devices can ensure that it is normal that user accesses, effectively improve the conversion of Interworking gateway Efficiency and resource application, and the demand of IPv4 addresses in IPv6 networks can be effectively reduced.
In order to achieve the above objectives, the embodiment of the present invention uses following technical scheme:
A kind of IPv4-IPv6 transition protocols dispatching method, including step:
Analyze the type of service of Operational Visit request that the IPv6 hosts received are sent;
The mapping relations corresponding to the IPv6 hosts are obtained, the mapping relations are included for the IPv6 host assignments The correspondence of IPv4 addresses and IPv6 addresses,
Judge whether the address style of the IPv4 addresses matches with the type of service;
If matching, the Operational Visit is asked using translation-protocol corresponding with the address style of the IPv4 addresses It is handled;
It is the IPv4 addresses of address style that the IPv6 host assignments match with the type of service if mismatching, And the mapping relations of the newly assigned IPv4 addresses and IPv6 addresses are established, and using the address class with newly assigned IPv4 addresses The corresponding translation-protocol of type handles Operational Visit request.
A kind of IPv4-IPv6 transition protocols dispatching device, including:
Type of service analysis module, for analyzing the service class of Operational Visit request that the IPv6 hosts received are sent Type;
Mapping relations acquisition module, for obtaining the mapping relations corresponding to the IPv6 hosts, the mapping relations packet The correspondence of the IPv4 addresses and IPv6 addresses for the IPv6 host assignments is included,
Matching module, for judge the address style of the IPv4 addresses in the mapping relations whether with the type of service Match;
Address assignment module, for when the judgement result of the matching module is mismatches, dividing for the IPv6 hosts IPv4 addresses with the address style to match with the type of service, and establish the newly assigned IPv4 addresses and IPv6 addresses Mapping relations;
Protocol schedule processing module, for the judgement result of the matching module for matching when, using with the IPv4 The corresponding translation-protocol of address style of address handles Operational Visit request, in the judgement knot of the matching module When fruit is mismatches, using translation-protocol pair corresponding with the address style of the newly assigned IPv4 addresses of described address distribution module The Operational Visit request is handled.
It is the industry asked the Operational Visit that IPv6 hosts are sent according to the scheme of embodiment present invention as described above Service type is analyzed, and the difference based on type of service, the address to be matched using the business distribution type asked with Operational Visit The IPv4 addresses of type, and Operational Visit request is handled using translation-protocol corresponding with the address style, in this feelings Under condition, used translation-protocol is that the type of service asked with Operational Visit is matched, so as to ensure user's visit In the case of asking normally, the transfer efficiency of Interworking gateway and resource application are effectively improved, and IPv6 networks can be effectively reduced The demand of middle IPv4 addresses.
Description of the drawings
Fig. 1 is the network topology structure schematic diagram of intercommunication between IPv4 and IPv6;
Fig. 2 is the flow diagram statelessly converted in an example;
Fig. 3 is the flow diagram of the stateful conversion in another example;
Fig. 4 is the flow diagram of the IPv4-IPv6 transition protocol dispatching methods in one embodiment of the invention;
Fig. 5 is the flow diagram of the IPv4-IPv6 transition protocol dispatching methods in a specific example;
Fig. 6 is the structure diagram of the IPv4-IPv6 transition protocols scheduling system in one embodiment of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, Do not limit protection scope of the present invention.
Fig. 4 is the flow diagram of the IPv4-IPv6 transition protocol dispatching methods in one embodiment of the invention, the implementation Example is illustrated for being applied to Interworking gateway.As shown in figure 4, the method in the present embodiment includes step:
Step S401:Analyze the type of service of Operational Visit request that the IPv6 hosts received are sent;
Step S402:The mapping relations corresponding to the IPv6 hosts are obtained, the mapping relations are included for the IPv6 The IPv4 addresses of host assignment and the correspondence of IPv6 addresses,
Step S403:Judge whether the address style of the IPv4 addresses matches with the type of service, if matching, S404 is entered step, if mismatching, enters step S405;
Step S404:The Operational Visit is asked using translation-protocol corresponding with the address style of the IPv4 addresses It is handled;
Step S405:For the IPv4 addresses of address style that the IPv6 host assignments and the type of service match, And the mapping relations of the newly assigned IPv4 addresses and IPv6 addresses are established, and using the address class with newly assigned IPv4 addresses The corresponding translation-protocol of type handles Operational Visit request.
It is the industry asked the Operational Visit that IPv6 hosts are sent according to the scheme of embodiment present invention as described above Service type is analyzed, and the difference based on type of service, the address to be matched using the business distribution type asked with Operational Visit The IPv4 addresses of type, and Operational Visit request is handled using translation-protocol corresponding with the address style, in this feelings Under condition, used translation-protocol is that the type of service asked with Operational Visit is matched, so as to ensure user's visit In the case of asking normally, the transfer efficiency of Interworking gateway and resource application are effectively improved, and IPv6 networks can be effectively reduced The demand of middle IPv4 addresses.
Before the Operational Visit request that IPv6 hosts are sent is received, Interworking gateway can in advance for IPv6 host assignments Location ensures being smoothed out for communication process accordingly.Accordingly, as shown in figure 4, before step S401, step can also be included:
Step S4001:Receive the IPv6 application IP addresses request that the IPv6 hosts are sent;
Step S4002:For the IPv6 addresses of IPv6 host assignments IPv4 private net addresses mapping, and build in the mapping table Found the IPv4 private net addresses and the mapping relations of IPv6 addresses.
As noted previously, as stateless conversion is accomplished that 1:1 access stencil is relatively suitable for the higher network industry of flow Business, and stateful translation-protocol can realize N:1 access mode can effectively reduce the consumption of IPv4 host addresses, relatively suitable Relatively low and be not required to the network service of long connection and access for flow, accordingly, in a specific example, above-mentioned matched rule can To do following setting:
When the type of service is high flow capacity business, the address style of matched IPv4 addresses is IPv4 public network addresses, Translation-protocol corresponding with IPv4 public network addresses is stateless translation-protocol;
When the type of service is low discharge business, the address style of matched IPv4 addresses is IPv4 private net addresses, Translation-protocol corresponding with IPv4 private net addresses is stateful translation-protocol.
And the type of service of Operational Visit request, it can be determined based on various possible modes.Due to different network industries Business is generally transmitted using the different network transmission protocols, to meet the demand of different network services, therefore, in the present invention A specific example in, can based on Operational Visit ask the corresponding communication protocol of data packet come determine the Operational Visit please The type of service asked.On the other hand, the corresponding communication protocol of data packet is embodied generally by the port numbers in data packet , therefore, the port numbers in another specific example of the present invention or in the data packet based on Operational Visit request Determine the type of service of Operational Visit request.
For example, the port numbers of HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) are 80, The port numbers of RTP (Real-time Transport Protocol, real-time transport protocol) are 5005, SMTP (Simple Mail Transfer Protocol, Simple Mail Transfer protocol) port numbers be 25 etc..What http protocol generally corresponded to is that website is visited It asks and video traffic, corresponding smtp protocol is mail service.Therefore, if testing and analyzing out the data packet in Operational Visit request In port numbers for 25, please if it is detected that analyzing Operational Visit it may be considered that corresponding type of service is low discharge business Port numbers in the data packet asked are 80, it may be considered that corresponding type of service is high flow capacity business.
In addition, it is contemplated that for an IPv6 host, IPv4 can be unfavorable for by distributing two IPv4 addresses simultaneously for it Therefore effective use of address, is described after the address style of above-mentioned judgement IPv4 addresses is mismatched with the type of service Before the IPv4 addresses of address style that IPv6 host assignments match with the type of service, can also first it delete in mapping table Corresponding to the mapping relations of the IPv6 hosts.
And IPv4 public network addresses are limited, if the constantly IPv6 host assignment IPv4 public networks for progress high flow capacity business Address is bound to cause the relatively low utilization rate of IPv4 public network addresses.It therefore, can be in the specific example of the present invention After for the IPv6 host assignments IPv4 public network address predetermined amount of time, the IPv4 public network addresses are withdrawn, are deleted in mapping table The IPv4 public network addresses and the mapping relations of the IPv6 addresses, and be the IPv6 host assignments IPv4 private net addresses, it is reflecting The mapping relations of the IPv4 private net addresses and IPv6 addresses are established in firing table.
Wherein, above-mentioned predetermined amount of time can be based on actual needs and be set.In a specific example, this is predetermined Period can be set as fixed value, such as 1 hour, 2 hours.
In another specific example, which can also be dynamically determined, in the case, for each of distribution IPv4 public network addresses, corresponding predetermined amount of time may be different.Such as according to still unappropriated IPv4 public network addresses Number determine the predetermined amount of time, if the number of still unappropriated IPv4 public network addresses is also more, can determine one A relatively long predetermined amount of time if the number of still unappropriated IPv4 public network addresses is less, can determine a phase To shorter predetermined amount of time.
Based on IPv4-IPv6 transition protocols dispatching method as described above, Fig. 5 is shown in a specific example The flow diagram of IPv4-IPv6 transition protocol dispatching methods in the example is illustrated with reference to a detailed process.
As shown in figure 5, in this example, IPv6 hosts can be sent out before normal service interaction is carried out to Interworking gateway Send the application request of application IPv6 addresses.
Interworking gateway can receive the application request of the application IPv6 addresses of IPv6 hosts transmission, and be the IPv6 hosts point The IPv6 addresses with the mapping of IPv4 private net addresses with one.
In subsequent communication process, when Interworking gateway receives the Operational Visit request of IPv6 hosts transmission, analysis should The type of service of Operational Visit request, it is high flow capacity business or low discharge business to judge it, specifically analyzes type of service Mode may be used mode as described above and carry out.
If high flow capacity business, then the IPv4 public network addresses whether having corresponding to the IPv6 addresses are inquired in mapping table Mapping relations determine whether IPv4 addresses corresponding with the IPv6 hosts are IPv4 public network addresses.
If there is IPv4 public network addresses and the mapping relations of IPv6 addresses, then directly using stateless translation-protocol to described Operational Visit request is handled.
If without IPv4 public network address and the mapping relations of IPv6 addresses, i.e., IPv4 address corresponding with the IPv6 hosts It is not IPv4 public network addresses, then whether have IPv4 public network address can distribute, if not having, wait for until there is IPv4 public affairs if inquiring Net address can distribute, if so, then carrying the IPv6 addresses of IPv4 public network addresses mapping for the IPv6 host assignments, and in mapping table It is middle to establish the IPv4 public network addresses distributed, the mapping relations of IPv6 addresses, it can also include this simultaneously in the mapping relations The information of IPv6 host domain names.Then, you can Operational Visit request is handled using stateless translation-protocol.Its In, while the IPv6 hosts mapped for the IPv6 host assignments with IPv4 public network addresses or before, can also first delete The existing IPv4 private net addresses for being directed to the IPv6 hosts and the mapping relations of IPv6 addresses.
If low discharge business, then inquiring the IPv4 addresses of the IPv6 addresses in mapping table corresponding to the IPv6 hosts is No is IPv4 public network addresses.
If IPv4 public network addresses, then the IPv4 public network addresses are recycled, and delete the IPv4 public network addresses in mapping table It is again one IPv4 private net address of the IPv6 host assignments, and establish in the mapping table with the mapping relations of IPv6 addresses The mapping relations of IPv4 private net addresses and IPv6 addresses, and using stateful translation-protocol to Operational Visit request at Reason.
If not IPv4 public network addresses, then can directly using stateful translation-protocol the Operational Visit is asked into Row processing.
Wherein, stateful translation-protocol here can be NAT-PT (Network Address Translator- Protocol Translator, the network address translation of subsidiary protocol converter) agreement or NAT64 (Network Address 64,64 editions network address translations of Translator) agreement, it can be that (IV-VI, 46 turn mutually IVI that stateless translation-protocol, which is, Change) agreement.
Based on the same thought of the above method, the embodiment of the present invention also provides a kind of scheduling of IPv4-IPv6 transition protocols Device.Fig. 6 shows the structure diagram of the device in one embodiment.
As shown in fig. 6, the IPv4-IPv6 transition protocol dispatching devices in the embodiment include:
Type of service analysis module 601, for analyzing the business of Operational Visit request that the IPv6 hosts received are sent Type;
Mapping relations acquisition module 602, for obtaining the mapping relations corresponding to the IPv6 hosts, the mapping relations Correspondence including the IPv4 addresses for the IPv6 host assignments Yu IPv6 addresses,
Matching module 603, for judge the address style of the IPv4 addresses in the mapping relations whether with the business Type matching;
Address assignment module 604, for being the IPv6 hosts when the judgement result of matching module 603 is mismatches The IPv4 addresses of address style that distribution matches with the type of service, and establish the newly assigned IPv4 addresses with IPv6 The mapping relations of location;
Protocol schedule processing module 605, for the judgement result of the matching module for matching when, using with it is described The corresponding translation-protocol of address style of IPv4 addresses handles Operational Visit request, in sentencing for the matching module When determining result to mismatch, assisted using conversion corresponding with the address style of the newly assigned IPv4 addresses of described address distribution module View handles Operational Visit request.
It is the industry asked the Operational Visit that IPv6 hosts are sent according to the scheme of embodiment present invention as described above Service type is analyzed, and the difference based on type of service, the address to be matched using the business distribution type asked with Operational Visit The IPv4 addresses of type, and Operational Visit request is handled using translation-protocol corresponding with the address style, in this feelings Under condition, used translation-protocol is that the type of service asked with Operational Visit is matched, so as to ensure user's visit In the case of asking normally, the transfer efficiency of Interworking gateway and resource application are effectively improved, and IPv6 networks can be effectively reduced The demand of middle IPv4 addresses.
Before the Operational Visit request that IPv6 hosts are sent is received, Interworking gateway can in advance for IPv6 host assignments Location ensures being smoothed out for communication process accordingly.Accordingly, as shown in fig. 6, the device in the present embodiment can also include communication Module 600, wherein:
Above-mentioned communication module 600, for receiving the IPv6 application IP addresses request that the IPv6 hosts are sent;
Address above mentioned distribution module 604, it is the host assignment IPv4 to be additionally operable to according to IPv6 application IP addresses request The IPv6 addresses of private net address mapping, and the mapping relations of the IPv4 private net addresses and IPv6 addresses are established in the mapping table.
As noted previously, as stateless conversion is accomplished that 1:1 access stencil is relatively suitable for the higher network industry of flow Business, and stateful translation-protocol can realize N:1 access mode can effectively reduce the consumption of IPv4 host addresses, relatively suitable Relatively low and be not required to the network service of long connection and access for flow, accordingly, in a specific example, above-mentioned matched rule can To do following setting:
When the type of service is high flow capacity business, the address style of matched IPv4 addresses is IPv4 public network addresses, Translation-protocol corresponding with IPv4 public network addresses is stateless translation-protocol;
When the type of service is low discharge business, the address style of matched IPv4 addresses is IPv4 private net addresses, Translation-protocol corresponding with IPv4 private net addresses is stateful translation-protocol.
And the type of service of Operational Visit request, it can be determined based on various possible modes.Due to different network industries Business is generally transmitted using the different network transmission protocols, to meet the demand of different network services, therefore, in the present invention A specific example in, type of service analysis module 601 can based on Operational Visit ask the corresponding communication protocols of data packet Discuss the type of service to determine Operational Visit request.On the other hand, the corresponding communication protocol of data packet, generally by data Port numbers in packet are come what is embodied, and therefore, in another specific example of the present invention, type of service analysis module 601 also may be used Be the port numbers in the data packet asked based on Operational Visit determine the Operational Visit request type of service.
For example, the port numbers of HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) are 80, The port numbers of RTP (Real-time Transport Protocol, real-time transport protocol) are 5005, SMTP (Simple Mail Transfer Protocol, Simple Mail Transfer protocol) port numbers be 25 etc..What http protocol generally corresponded to is that website is visited It asks and video traffic, corresponding smtp protocol is mail service.Therefore, if type of service analysis module 601 tests and analyzes out industry The port numbers in data packet in access request of being engaged in are 25, it may be considered that corresponding type of service is low discharge business, if point Port numbers in the data packet being precipitated in Operational Visit request are 80, it may be considered that corresponding type of service is high flow capacity industry Business.
In addition, it is contemplated that for an IPv6 host, IPv4 can be unfavorable for by distributing two IPv4 addresses simultaneously for it Effective use of address, accordingly in a specific example:
Address above mentioned distribution module 604 is additionally operable to when the judgement result of matching module 603 is mismatches, is described Before the IPv4 addresses of address style that IPv6 host assignments match with the type of service, delete and correspond to institute in mapping table State the mapping relations of IPv6 hosts.
And IPv4 public network addresses are limited, if the constantly IPv6 host assignment IPv4 public networks for progress high flow capacity business Address is bound to cause the relatively low utilization rate of IPv4 public network addresses.Therefore, in the specific example of the present invention, above-mentionedly Location distribution module 604 is additionally operable to after for the IPv6 host assignments IPv4 public network address predetermined amount of time, withdraws IPv4 public affairs Net address deletes the IPv4 public network addresses and the mapping relations of the IPv6 addresses in mapping table, and is the IPv6 hosts point With IPv4 private net addresses, the mapping relations of the IPv4 private net addresses and IPv6 addresses are established in the mapping table.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of IPv4-IPv6 transition protocols dispatching method, which is characterized in that including step:
Analyze the type of service of Operational Visit request that the IPv6 hosts received are sent;
The mapping relations corresponding to the IPv6 hosts are obtained, the mapping relations include the IPv4 for the IPv6 host assignments The correspondence of address and IPv6 addresses;
Judge whether the address style of the IPv4 addresses matches with the type of service;
If matching, the Operational Visit is asked to carry out using translation-protocol corresponding with the address style of the IPv4 addresses Processing;
It is the IPv4 addresses of address style that the IPv6 host assignments match with the type of service, and build if mismatching The mapping relations of the newly assigned IPv4 addresses and IPv6 addresses are found, and using the address style pair with newly assigned IPv4 addresses The translation-protocol answered handles Operational Visit request.
2. IPv4-IPv6 transition protocols dispatching method according to claim 1, which is characterized in that
When the type of service is high flow capacity business, the address style of matched IPv4 addresses is IPv4 public network addresses, with The corresponding translation-protocol of IPv4 public network addresses is stateless translation-protocol;
When the type of service is low discharge business, the address style of matched IPv4 addresses is IPv4 private net addresses, with The corresponding translation-protocol of IPv4 private net addresses is stateful translation-protocol.
3. IPv4-IPv6 transition protocols dispatching method according to claim 1, which is characterized in that in judgement IPv4 addresses Address style and the type of service mismatch after, the address that matches for the IPv6 host assignments with the type of service Before the IPv4 addresses of type, step is further included:
Delete the mapping relations for corresponding to the IPv6 hosts in mapping table.
4. IPv4-IPv6 transition protocols dispatching method according to claim 1, which is characterized in that visited according to the business Ask that the port numbers in the data packet of request or corresponding communication protocol determine the type of service of the Operational Visit request.
5. IPv4-IPv6 transition protocols dispatching method according to claim 1, which is characterized in that further include step:
After for the IPv6 host assignments IPv4 public network address predetermined amount of time, the IPv4 public network addresses are withdrawn, delete mapping The IPv4 public network addresses and the mapping relations of the IPv6 addresses in table, and be the IPv6 host assignments IPv4 private net addresses, The mapping relations of the IPv4 private net addresses and IPv6 addresses are established in the mapping table.
6. a kind of IPv4-IPv6 transition protocols dispatching device, which is characterized in that including:
Type of service analysis module, for analyzing the type of service of Operational Visit request that the IPv6 hosts received are sent;
Mapping relations acquisition module, for obtaining the mapping relations corresponding to the IPv6 hosts, the mapping relations are including being The IPv4 addresses of the IPv6 host assignments and the correspondence of IPv6 addresses;
Matching module, for judge the address style of the IPv4 addresses in the mapping relations whether with the type of service phase Match;
Address assignment module, for the judgement result of the matching module for mismatch when, be the IPv6 host assignments with The IPv4 addresses for the address style that the type of service matches, and establish reflecting for the newly assigned IPv4 addresses and IPv6 addresses Penetrate relationship;
Protocol schedule processing module, for the judgement result of the matching module for matching when, using with the IPv4 addresses The corresponding translation-protocol of address style to the Operational Visit request handle, be in the judgement result of the matching module During mismatch, using translation-protocol corresponding with the address style of the newly assigned IPv4 addresses of described address distribution module to described Operational Visit request is handled.
7. IPv4-IPv6 transition protocols dispatching device according to claim 6, which is characterized in that
When the type of service is high flow capacity business, the address style of matched IPv4 addresses is IPv4 public network addresses, with The corresponding translation-protocol of IPv4 public network addresses is stateless translation-protocol;
When the type of service is low discharge business, the address style of matched IPv4 addresses is IPv4 private net addresses, with The corresponding translation-protocol of IPv4 private net addresses is stateful translation-protocol.
8. IPv4-IPv6 transition protocols dispatching device according to claim 6, which is characterized in that described address distributes mould Block is additionally operable to when the judgement result of the matching module is mismatches, is the IPv6 host assignments and the type of service Before the IPv4 addresses of the address style to match, the mapping relations for corresponding to the IPv6 hosts in mapping table are deleted.
9. IPv4-IPv6 transition protocols dispatching device according to claim 6, which is characterized in that the type of service point Port numbers or corresponding communication protocol in the data packet that analysis module is asked according to the Operational Visit determine the Operational Visit The type of service of request.
10. IPv4-IPv6 transition protocols dispatching device according to claim 6, which is characterized in that described address distributes mould Block is additionally operable to after for the IPv6 host assignments IPv4 public network address predetermined amount of time, withdraws the IPv4 public network addresses, is deleted The IPv4 public network addresses and the mapping relations of the IPv6 addresses in mapping table, and for the IPv6 host assignments IPv4 private networks The mapping relations of the IPv4 private net addresses and IPv6 addresses are established in location in the mapping table.
CN201510145671.1A 2015-03-30 2015-03-30 IPv4-IPv6 transition protocols dispatching method and device Active CN104735073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510145671.1A CN104735073B (en) 2015-03-30 2015-03-30 IPv4-IPv6 transition protocols dispatching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510145671.1A CN104735073B (en) 2015-03-30 2015-03-30 IPv4-IPv6 transition protocols dispatching method and device

Publications (2)

Publication Number Publication Date
CN104735073A CN104735073A (en) 2015-06-24
CN104735073B true CN104735073B (en) 2018-07-06

Family

ID=53458508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510145671.1A Active CN104735073B (en) 2015-03-30 2015-03-30 IPv4-IPv6 transition protocols dispatching method and device

Country Status (1)

Country Link
CN (1) CN104735073B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11799820B2 (en) * 2020-12-09 2023-10-24 Hitachi, Ltd. Network system, communication control device, and communication control method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911489B (en) * 2015-12-22 2019-08-27 中国电信股份有限公司 A kind of automatic adaptation method of access device, managing device and system
CN106534398A (en) * 2016-11-14 2017-03-22 赛尔网络有限公司 Device and method used for IPv6 network
CN109120601A (en) * 2018-07-24 2019-01-01 深圳市天威视讯股份有限公司 IPv4 and IPv6 interoperability methods and system based on program request signaling

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148773A (en) * 2010-02-08 2011-08-10 中国联合网络通信集团有限公司 Method and system for converting IPv6 (Internet Protocol Version 6) protocol and IPv4 (Internet Protocol Version 4) protocol
CN102263833A (en) * 2010-05-28 2011-11-30 中国移动通信集团公司 Method and equipment for determining terminal translating type
CN102739810A (en) * 2011-04-07 2012-10-17 中国电信股份有限公司 IPv4CP/SP and IPv6 network interworking method and device
CN103650424A (en) * 2013-08-20 2014-03-19 华为技术有限公司 Implementation method and server of home gateway service function
CN103856581A (en) * 2014-03-26 2014-06-11 清华大学 Translation packaging adaptive algorithm of user-side device
CN104144225A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for controlling allocation of IPv4 address and PDSN

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100409646C (en) * 2003-10-28 2008-08-06 武汉烽火网络有限责任公司 Method and apparatus for implementing different internet protocol data packet forwarding using policy flow
US8990424B2 (en) * 2009-09-08 2015-03-24 Wichorus, Inc. Network address translation based on recorded application state
CN101969478B (en) * 2010-10-15 2013-03-20 杭州迪普科技有限公司 Intelligent DNS message processing method and processing device
CN103024089B (en) * 2011-09-20 2016-02-17 中国电信股份有限公司 Method for network address translation and equipment
CN103428303A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Method and system for IPv6 host to have access to IPv4 server
CN103841024B (en) * 2012-11-27 2017-07-21 中国电信股份有限公司 A kind of home gateway realizes the method and home gateway of data distribution

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148773A (en) * 2010-02-08 2011-08-10 中国联合网络通信集团有限公司 Method and system for converting IPv6 (Internet Protocol Version 6) protocol and IPv4 (Internet Protocol Version 4) protocol
CN102263833A (en) * 2010-05-28 2011-11-30 中国移动通信集团公司 Method and equipment for determining terminal translating type
CN102739810A (en) * 2011-04-07 2012-10-17 中国电信股份有限公司 IPv4CP/SP and IPv6 network interworking method and device
CN104144225A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for controlling allocation of IPv4 address and PDSN
CN103650424A (en) * 2013-08-20 2014-03-19 华为技术有限公司 Implementation method and server of home gateway service function
CN103856581A (en) * 2014-03-26 2014-06-11 清华大学 Translation packaging adaptive algorithm of user-side device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11799820B2 (en) * 2020-12-09 2023-10-24 Hitachi, Ltd. Network system, communication control device, and communication control method

Also Published As

Publication number Publication date
CN104735073A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
US7647393B2 (en) Server load balancing apparatus and method using MPLS session
CN104580192B (en) The treating method and apparatus of the network access request of application program
US7924832B2 (en) Facilitating transition of network operations from IP version 4 to IP version 6
CN104735073B (en) IPv4-IPv6 transition protocols dispatching method and device
EP2112788A1 (en) A method, system and nodes for p2p content sharing
CN103118147A (en) Method, equipment and system for accessing intranet server
CN103200281A (en) Method, device and system for accessing intranet server
CN107222561A (en) A kind of transport layer reverse proxy method
JPWO2003103233A1 (en) Packet relay device, network connection device, packet relay method, recording medium, program
Škoberne et al. IPv4 address sharing mechanism classification and tradeoff analysis
CN107124483A (en) Domain name analytic method and server
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN106411742B (en) A kind of method and apparatus of message transmissions
CN115037812B (en) Network mode data processing method oriented to container cloud scene
CN103581361A (en) Domain name resolution proxy method, device and system
CN101714926A (en) Method, device and system for managing network equipment
Llanto et al. Performance of NAT64 versus NAT44 in the context of IPv6 migration
CN104079682A (en) Address translation method and device based on domain name system (DNS)
CN110572394B (en) Access control method and device
CN116582590A (en) Data transmission method and device
CN107888643A (en) A kind of UDP load-balancing methods, device and system
CN108234325B (en) System based on IP anycast and message forwarding method
CN112019641B (en) Data transmission method and device
WO2022089412A1 (en) Communication method and device
Igulu et al. IPV6: Strengths and Limitations

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