CN110198365A - A kind of address conversion detection method and system - Google Patents
A kind of address conversion detection method and system Download PDFInfo
- Publication number
- CN110198365A CN110198365A CN201910445272.5A CN201910445272A CN110198365A CN 110198365 A CN110198365 A CN 110198365A CN 201910445272 A CN201910445272 A CN 201910445272A CN 110198365 A CN110198365 A CN 110198365A
- Authority
- CN
- China
- Prior art keywords
- address
- ipv4
- ipv6
- message
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/251—Translation of Internet protocol [IP] addresses between different IP versions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/2557—Translation policies or rules
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Disclose a kind of address conversion detection method and system.A kind of address conversion detection method, it is characterized in that, the method is applied to the system including IPv4 equipment, IPv6 equipment and address-translating device, wherein, identical address translation rule is pre-configured in the IPv4 equipment, IPv6 equipment and address-translating device, it the described method includes: IPv6 equipment obtains the address initial IP v4 of IPv4 equipment, and is the address IPv6 by the initial IP v4 address conversion according to the address translation rule;IPv6 equipment sends message to address-translating device;It is the address purpose IPv4 by the destination IP v6 address conversion of the message according to the address translation rule after address-translating device receives the message of IPv6 equipment transmission;The message is sent to the address the destination IP v4 by address-translating device;Response of the IPv6 equipment according to IPv4 equipment to the message determines whether the converted address destination IP v4 is correct;And in the case where IPv4 equipment responds the message, determine that the converted address destination IP v4 is correct.
Description
Technical field
This specification embodiment is related to network communication technology field more particularly to a kind of address conversion detection method and is
System.
Background technique
In order to solve the problems, such as that the address IPv4 is not enough, the subnetwork address IPv6 address bigger using addressing range,
But due to the incompatibility of IPv6 agreement and IPv4 agreement, need mutually to convert the address IPv6 and the address IPv4.
Since the address IPv6 is different from the address size of the address IPv4, it usually needs corresponding by manually calculating the address IPv4
The address IPv6, this address translation scheme is time-consuming and laborious, and not can guarantee the accuracy of transformation result.Based on the prior art,
It needs a kind of more efficiently realization address IPv6 mutually to convert with the address IPv4, and detects the side of address conversion result correctness
Case.
Summary of the invention
In view of this, this specification embodiment provides a kind of address conversion detection method and system, technical solution are as follows:
A kind of address conversion detection method, which is characterized in that the method be applied to including IPv4 equipment, IPv6 equipment and
The system of address-translating device, wherein be pre-configured with identically in the IPv4 equipment, IPv6 equipment and address-translating device
Location transformation rule, which comprises
IPv6 equipment obtains the address initial IP v4 of IPv4 equipment, and will be described original according to the address translation rule
IPv4 address conversion is the address IPv6;
IPv6 equipment to address-translating device send message, the address destination IP v6 of the message be converted to it is described
The address IPv6;
After address-translating device receives the message of IPv6 equipment transmission, according to the address translation rule, by the message
Destination IP v6 address conversion be the address purpose IPv4;
The message is sent to the address the destination IP v4 by address-translating device;
Whether just response of the IPv6 equipment according to IPv4 equipment to the message determine the converted address destination IP v4
Really;And in the case where IPv4 equipment responds the message, determine that the converted address destination IP v4 is correct.
A kind of address conversion detection system, which is characterized in that the system comprises: IPv4 equipment, IPv6 equipment and address
Conversion equipment, wherein identical address conversion rule are pre-configured in the IPv4 equipment, IPv6 equipment and address-translating device
Then;
IPv6 equipment obtains the address initial IP v4 of IPv4 equipment, and will be described original according to the address translation rule
IPv4 address conversion is the address IPv6;
IPv6 equipment to address-translating device send message, the address destination IP v6 of the message be converted to it is described
The address IPv6;
After address-translating device receives the message of IPv6 equipment transmission, according to the address translation rule, by the message
Destination IP v6 address conversion be the address purpose IPv4;
The message is sent to the address the destination IP v4 by address-translating device;
Whether just response of the IPv6 equipment according to IPv4 equipment to the message determine the converted address destination IP v4
Really;And in the case where IPv4 equipment responds the message, determine that the converted address destination IP v4 is correct.
Technical solution provided by this specification embodiment, can be by pre-set address translation rule, by address
Conversion equipment carries out the conversion of the address IPv4 Yu the address IPv6 automatically.And it is possible to by by IPv4 equipment, IPv6 equipment and
The system of address-translating device composition, detects address-translating device institute transformation result, whether determines converted address
Correctly, to more efficiently realize that the address IPv6 is mutually converted with the address IPv4, and address conversion result correctness is detected.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
This specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The some embodiments recorded in this specification embodiment for those of ordinary skill in the art can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is the structural schematic diagram of this specification embodiment address conversion detection system;
Fig. 2 is the flow diagram of this specification embodiment address conversion detection method;
Fig. 3 is the structural schematic diagram for the address conversion detection device that this specification embodiment is applied to IPv6 equipment;
Fig. 4 is the structural schematic diagram for the address conversion module that this specification embodiment is applied to IPv6 equipment;
Fig. 5 is the structural schematic diagram for the address concatenation unit that this specification embodiment is applied to IPv6 equipment.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
In view of the problems of the existing technology, this specification provides a kind of address conversion detection method.
A kind of corresponding system architecture schematic diagram of the embodiment of this specification is as shown in Figure 1, include IPv4 equipment 10, IPv6
Equipment 20 and address-translating device 30.
This specification provide a kind of address conversion detection method, be applied to including IPv4 equipment 10, IPv6 equipment 20 and
The system of address-translating device 30, wherein be pre-configured in the IPv4 equipment 10, IPv6 equipment 20 and address-translating device 30
Identical address translation rule.
It is understood that not limiting the specific of configuration address transformation rule in above equipment in this specification embodiment
Form.For example, can configure NAT64 address conversion strategy in address-translating device, this strategy mainly includes that prefix configures, is preceding
Sew length and the configuration of NAT64 address conversion;For another example, script can be write in IPv6 equipment, in the script provide the address IPv4,
Prefix addresses, prefix length, can be by certain address IPv4 known, determine, in conjunction with being matched on address conversion address by script
The prefix addresses set, prefix length, are calculated certain unique address IPv6.
To accordingly, in the scheme that this specification embodiment provides, be sent out from IPv6 equipment to address forwarding device
IPv6 protocol massages are sent, address forwarding device carries out address conversion according to the NAT64 strategy configured and converted, IPv6 is assisted
View is converted to IPv4 agreement, and IPv6 destination address is converted to the address IPv4.
Shown in Figure 2, the address conversion detection method that this specification embodiment provides may comprise steps of:
S201, IPv6 equipment obtain the address initial IP v4 of IPv4 equipment, and will be described according to the address translation rule
Initial IP v4 address conversion is the address IPv6;
In this specification embodiment, the not particular content of qualified address transformation rule, i.e., do not limit the address IPv4 with
The specific rules converted between the address IPv6, thus also do not limit the specific implementation converted between the address IPv4 and the address IPv6
Mode, those skilled in the art can flexibly set according to the actual situation.
In a kind of specific embodiment of this specification embodiment, several groups can be set in address translation rule
The corresponding relationship of the address IPv4 and prefix information, thus according to the address translation rule by the IPv4 address conversion be IPv6
When address, the corresponding relationship of the address several groups IPv4 and prefix information in the address translation rule can be obtained first, so
Afterwards according to the corresponding relationship, the corresponding prefix information in the address initial IP v4 is determined, and by identified prefix information and be somebody's turn to do
The splicing of the address IPv4, obtains the corresponding address IPv6.
Specifically, in one example, prefix information may include the prefix addresses and prefix length of the address IPv6, thus
Splice by identified prefix information and the address IPv4, it, can be first according to before described when obtaining the corresponding address IPv6
The prefix length for sewing information determines filler of the address IPv4 in the prefix addresses of the prefix information, then by the IPv4
Address is filled into the filler of the prefix addresses, with obtaining the address IPv4 and the spliced IPv6 of the prefix addresses
Location.
For example, prefix length can be 32,40,48,56,64 and 96 etc..
Wherein, if prefix length is 32, the 32nd to the 63rd of the address IPv6 can be taken, as the address IPv4
Filler;If prefix length is 40,24 for can taking the 40th to the 63rd of the address IPv6 and the 72nd are arrived
8 of 79, totally 32, the filler as the address IPv4;If prefix length is 48, the of the address IPv6 can be taken
16 of 16 and the 72 to 87th of 48 to the 63rd, totally 32, the filler as the address IPv4;If prefix
Length is 56, then can take 24 of 8 and the 72 to 95th of the 56th to the 63rd of the address IPv6, totally 32,
Filler as the address IPv4;If prefix length is 64,32 of the 72 to 103rd of the address IPv6 can be taken,
Filler as the address IPv4;If prefix length is 96, the 96th of the address IPv6 32 for arriving last position can be taken,
Filler as the address IPv4;Etc..
S202, IPv6 equipment send message to address-translating device, and the address destination IP v6 of the message is to be converted to
The address IPv6;
IPv6 equipment sends the message of IPv6 agreement to address-translating device, and the address source IP v6 of the message is IPv6 equipment
The address IPv6, and the address destination IP v6 is the address IPv6 that is converted in S101.
S203, after address-translating device receives the message of IPv6 equipment transmission, according to the address translation rule, by this
The destination IP v6 address conversion of message is the address purpose IPv4;
As described above, the particular content of qualified address transformation rule, i.e., do not limit in this specification embodiment
The specific rules converted between the address IPv4 and the address IPv6, thus also do not limit and converted between the address IPv4 and the address IPv6
Specific implementation, those skilled in the art can flexibly set according to the actual situation.
In a kind of specific embodiment of this specification embodiment, several groups can be set in address translation rule
The corresponding relationship of the address IPv6 and prefix information, thus according to the address translation rule, by the destination IP v6 of the message
When location is converted to the destination IP address v4, the address several groups IPv6 in the address translation rule and prefix information are obtained first
Corresponding relationship determines the corresponding prefix information in the address destination IP v6 of the message then according to the corresponding relationship, thus according to
Identified prefix information extracts from the address destination IP v6 of the message and obtains the address destination IP v4 of the message.
Specifically, in one example, prefix information may include the prefix addresses and prefix length of the address IPv6, specifically
It can be found in above-mentioned example, the IPv6 message address for service conversion equipment that IPv6 equipment is sent, the address destination IP v6 of this message, with
Prefix addresses on address-translating device in preconfigured address translation rule are matched, and are then configured according to prefix length,
The data that specific fields in the address destination IP v6 can be extracted obtain the address destination IP v4.Certainly, in this specification embodiment simultaneously
The particular content of prefix information is not limited, is not also limited specific in the case that prefix information includes prefix addresses with prefix length
Rule content, those skilled in the art can flexibly set according to actual needs.
The message is sent to the address the destination IP v4 by S204, address-translating device;
Response of S205, the IPv6 equipment according to IPv4 equipment to the message determines that the converted address destination IP v4 is
It is no correct;And in the case where IPv4 equipment responds the message, determine that the converted address destination IP v4 is correct.
In this specification embodiment, the particular content for the message that IPv6 equipment is sent to IPv4 equipment is not limited, also not
Limit the concrete mode of IPv4 equipment response message.
In a kind of specific embodiment of this specification embodiment, can using IPv6 equipment as ftp client, and with
IPv4 equipment is FTP service end, and the message that IPv6 equipment is sent to IPv4 equipment downloads number from FTP service end for ftp client
According to request message, if can normal downloading data, as IPv4 equipment normal response IPv6 equipment.
If IPv4 equipment can normally respond the message of IPv6 equipment, address-translating device can be determined to IPv6
The address IPv4 that address is converted to is correct.
And if IPv4 equipment fails the message for normally responding IPv6 equipment, may for address translation fault or
Message protocol transcription error.
In another specific embodiment of this specification embodiment, after message being received by IPv4 equipment, into
Row message response.After the response message of IPv4 device replied is sent to address-translating device, it will be sent to by address-translating device
IPv6 equipment.Therefore, if IPv6 equipment is by address-translating device, have received the response message of IPv4 equipment, then it can be with
Determine that the converted address destination IP v4 is correct.
In a kind of specific embodiment of this specification embodiment, the method can also further, IPv6 equipment
In the case where IPv4 equipment does not respond the message, notice is not responded to address-translating device transmission, address-translating device exists
After not responding notice described in receiving, alternatively, being obtained by address-translating device in the case where determining that IPv4 equipment cannot respond to
The purpose that the address initial IP v4 carried in the notice, the address-translating device address the initial IP v4 and local terminal are converted
The address IPv4, and in the case where the address the initial IP v4 is different from the address converted destination IP v4, determine converted mesh
The address IPv4 it is incorrect.
For example, address-translating device is after receiving message, according to address translation rule, by the address destination IP v6 of message
When being converted to the destination IP address v4, due to prefix information (such as prefix length, prefix addresses) difference, it may make with extracting IPv4
It misplaces when location, that is, extracts the address IPv4 of mistake, so that the message of forwarding can not be correctly sent to IPv4 and set
It is standby, cause IPv4 equipment to have not been able to response IPv6 equipment.
Both in this case, by comparing the address initial IP v4 and the address converted destination IP v4, can pass through
Difference determines that the converted address destination IP v4 is incorrect.
For another example, address-translating device also needs IPv6 protocol massages being converted to IPv4 protocol massages after receiving message,
It thus needs to modify to the part field of message, such as IP layers and tcp layers of modification of checksum, modifies IP header parameter
Deng, and if checksum calculates mistake, the IPv4 protocol massages parameter error that will modification obtained, thus even if being converted
The address destination IP v4 it is correct, IPv4 protocol massages can be sent to IPv4 equipment, which still will be unable to correctly respond.
Both in this case, by comparing the address initial IP v4 and the address converted destination IP v4, can still pass through
It is identical, determine that the converted address destination IP v4 is correct.
As it can be seen that pre-set address can be passed through in address conversion detection scheme provided by this specification embodiment
Transformation rule is carried out the conversion of the address IPv4 Yu the address IPv6 by address-translating device automatically.And it is possible to by being set by IPv4
The system of standby, IPv6 equipment and address-translating device composition, detects address-translating device institute transformation result, determines institute
Whether the address of conversion is correct, to more efficiently realize that the address IPv6 is mutually converted with the address IPv4, and detects address and turns
Change result correctness.
Corresponding to above method embodiment, this specification embodiment also provides a kind of address conversion detection device, is applied to
IPv6 equipment, it is shown in Figure 3, the apparatus may include:
Address conversion module 110, for obtaining the address initial IP v4 of IPv4 equipment, and according to the address translation rule
It is the address IPv6 by the initial IP v4 address conversion;
Message sending module 120, for sending message to address-translating device, so that address-translating device is according to describedly
The destination IP v6 address conversion of the message is the address purpose IPv4 and the message is sent to the purpose by location transformation rule
The address IPv4;The address destination IP v6 of the message is the address IPv6 being converted to;
Address detected module 130 determines converted destination IP v4 for the response according to IPv4 equipment to the message
Whether address is correct;And in the case where IPv4 equipment responds the message, determining the converted address destination IP v4 just
Really.
It is shown in Figure 4 in a kind of specific embodiment of this specification embodiment, the address conversion module 110,
May include:
Corresponding relationship obtaining unit 111, for obtaining the address several groups IPv4 and prefix in the address translation rule
The corresponding relationship of information;
Prefix information determination unit 112, for according to the corresponding relationship, determining the corresponding prefix letter in the address IPv4
Breath;
Address concatenation unit 113 obtains corresponding IPv6 for splicing identified prefix information and the address IPv4
Address.
In a kind of specific embodiment of this specification embodiment, the prefix information includes: the prefix of the address IPv6
Address and prefix length;
Shown in Figure 5, the address concatenation unit 113 may include:
Filler determines subelement 113a, for the prefix length according to the prefix information, determines the address IPv4 in institute
State the filler in the prefix addresses of prefix information;
Address splicing subelement 113b is obtained for the address IPv4 to be filled into the filler of the prefix addresses
To the address IPv4 and the spliced address IPv6 of the prefix addresses.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize this specification example scheme.Ordinary skill people
Member can understand and implement without creative efforts.
Although this specification includes many specific implementation details, these are not necessarily to be construed as the model for limiting any invention
It encloses or range claimed, and is primarily used for describing the feature of the specific embodiment of specific invention.In this specification
Certain features described in multiple embodiments can also be combined implementation in a single embodiment.On the other hand, individually implementing
Various features described in example can also be performed separately in various embodiments or be implemented with any suitable sub-portfolio.This
Outside, although feature can work in certain combinations as described above and even initially so be claimed, institute is come from
One or more features in claimed combination can be removed from the combination in some cases, and claimed
Combination can be directed toward the modification of sub-portfolio or sub-portfolio.
Similarly, although depicting operation in the accompanying drawings with particular order, this is understood not to require these behaviour
Make the particular order shown in execute or sequentially carry out or require the operation of all illustrations to be performed, to realize desired knot
Fruit.In some cases, multitask and parallel processing may be advantageous.In addition, the various system modules in above-described embodiment
Separation with component is understood not to be required to such separation in all embodiments, and it is to be understood that described
Program assembly and system can be usually integrated in together in single software product, or be packaged into multiple software product.
The specific embodiment of theme has been described as a result,.Other embodiments are within the scope of the appended claims.?
In some cases, the movement recorded in claims can be executed in different order and still realize desired result.This
Outside, the processing described in attached drawing and it is nonessential shown in particular order or sequential order, to realize desired result.In certain realities
In existing, multitask and parallel processing be may be advantageous.
The foregoing is merely the preferred embodiments of this specification embodiment, do not implement to limit this specification
Example, all within the spirit and principle of this specification embodiment, any modification, equivalent substitution, improvement and etc. done should all include
Within the scope of the protection of this specification embodiment.
Claims (10)
1. a kind of address conversion detection method, which is characterized in that the method is applied to include IPv4 equipment, IPv6 equipment and ground
The system of location conversion equipment, wherein be pre-configured with identical address in the IPv4 equipment, IPv6 equipment and address-translating device
Transformation rule, which comprises
IPv6 equipment obtains the address initial IP v4 of IPv4 equipment, and by the initial IP v4 according to the address translation rule
Location is converted to the address IPv6;
IPv6 equipment sends message to address-translating device, and the address destination IP v6 of the message is the IPv6 being converted to
Address;
After address-translating device receives the message of IPv6 equipment transmission, according to the address translation rule, by the mesh of the message
IPv6 address conversion be the address purpose IPv4;
The message is sent to the address the destination IP v4 by address-translating device;
Response of the IPv6 equipment according to IPv4 equipment to the message determines whether the converted address destination IP v4 is correct;With
And in the case where IPv4 equipment responds the message, determine that the converted address destination IP v4 is correct.
2. the method according to claim 1, wherein it is described according to the address translation rule by the address IPv4
Be converted to the address IPv6, comprising:
Obtain the corresponding relationship of the address several groups IPv4 and prefix information in the address translation rule;
According to the corresponding relationship, the corresponding prefix information in the address IPv4 is determined;
Identified prefix information and the address IPv4 are spliced, the corresponding address IPv6 is obtained.
3. according to the method described in claim 2, it is characterized in that, the prefix information includes: the prefix addresses of the address IPv6
With prefix length;
It is described to splice identified prefix information and the address IPv4, obtain the corresponding address IPv6, comprising:
According to the prefix length of the prefix information, filling of the address IPv4 in the prefix addresses of the prefix information is determined
Position;
The address IPv4 is filled into the filler of the prefix addresses, the address IPv4 is obtained and the prefix addresses is spelled
The address IPv6 after connecing.
4. the method according to claim 1, wherein described according to the address translation rule, by the message
Destination IP v6 address conversion is the address purpose IPv4, comprising:
Obtain the corresponding relationship of the address several groups IPv6 and prefix information in the address translation rule;
According to the corresponding relationship, the corresponding prefix information in the address destination IP v6 of the message is determined;
According to identified prefix information, the destination IP v4 for obtaining the message is extracted from the address destination IP v6 of the message
Location.
5. the method according to claim 1, wherein the address-translating device message is sent to it is described
Before the address destination IP v4, further includes:
By received IPv6 protocol massages, IPv4 protocol massages are converted to;And
Source IP address by the address correspondence IPv4 in address-translating device in institute's configuration address pond, as the message.
6. a kind of address conversion detection system, which is characterized in that the system comprises: IPv4 equipment, IPv6 equipment and address turn
Exchange device, wherein be pre-configured with identical address translation rule in the IPv4 equipment, IPv6 equipment and address-translating device;
IPv6 equipment obtains the address initial IP v4 of IPv4 equipment, and by the initial IP v4 according to the address translation rule
Location is converted to the address IPv6;
IPv6 equipment sends message to address-translating device, and the address destination IP v6 of the message is the IPv6 being converted to
Address;
After address-translating device receives the message of IPv6 equipment transmission, according to the address translation rule, by the mesh of the message
IPv6 address conversion be the address purpose IPv4;
The message is sent to the address the destination IP v4 by address-translating device;
Response of the IPv6 equipment according to IPv4 equipment to the message determines whether the converted address destination IP v4 is correct;With
And in the case where IPv4 equipment responds the message, determine that the converted address destination IP v4 is correct.
7. system according to claim 6, which is characterized in that the IPv6 equipment is especially by following manner according to
The IPv4 address conversion is the address IPv6 by address translation rule:
Obtain the corresponding relationship of the address several groups IPv4 and prefix information in the address translation rule;
According to the corresponding relationship, the corresponding prefix information in the address IPv4 is determined;
Identified prefix information and the address IPv4 are spliced, the corresponding address IPv6 is obtained.
8. system according to claim 7, which is characterized in that the prefix information includes: the prefix addresses of the address IPv6
With prefix length;
The IPv6 equipment splices identified prefix information and the address IPv4 especially by following manner, obtains corresponding
The address IPv6:
According to the prefix length of the prefix information, filling of the address IPv4 in the prefix addresses of the prefix information is determined
Position;
The address IPv4 is filled into the filler of the prefix addresses, the address IPv4 is obtained and the prefix addresses is spelled
The address IPv6 after connecing.
9. system according to claim 6, which is characterized in that the address-translating device especially by following manner according to
The destination IP v6 address conversion of the message is the address purpose IPv4 by the address translation rule:
Obtain the corresponding relationship of the address several groups IPv6 and prefix information in the address translation rule;
According to the corresponding relationship, the corresponding prefix information in the address destination IP v6 of the message is determined;
According to identified prefix information, the destination IP v4 for obtaining the message is extracted from the address destination IP v6 of the message
Location.
10. system according to claim 6, which is characterized in that the message is sent to institute by the address-translating device
Before stating the address destination IP v4, it is also used to:
By received IPv6 protocol massages, IPv4 protocol massages are converted to;And
Source IP address by the address correspondence IPv4 in address-translating device in institute's configuration address pond, as the message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910445272.5A CN110198365B (en) | 2019-05-27 | 2019-05-27 | Address translation detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910445272.5A CN110198365B (en) | 2019-05-27 | 2019-05-27 | Address translation detection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110198365A true CN110198365A (en) | 2019-09-03 |
CN110198365B CN110198365B (en) | 2022-12-23 |
Family
ID=67753134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910445272.5A Active CN110198365B (en) | 2019-05-27 | 2019-05-27 | Address translation detection method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110198365B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115065661A (en) * | 2022-06-29 | 2022-09-16 | 广州方硅信息技术有限公司 | Network address conversion method, device, electronic equipment and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1574835A (en) * | 2003-06-06 | 2005-02-02 | 日立通讯技术株式会社 | Ip address translator and packet transfer apparatus |
CN1691665A (en) * | 2004-04-21 | 2005-11-02 | 华为技术有限公司 | A method for implementing communication between IPv4 network and IPv6 network |
CN1996945A (en) * | 2006-11-30 | 2007-07-11 | 中国科学院计算技术研究所 | A method for network address translation |
CN101005355A (en) * | 2006-01-12 | 2007-07-25 | 三星电子株式会社 | Secure communication system and method of IPV4/IPV6 integrated network system |
CN101160842A (en) * | 2005-08-24 | 2008-04-09 | 华为技术有限公司 | Method for realizing the communication between mobile IPv6 node and IPv4 communication partner |
CN101848247A (en) * | 2009-03-26 | 2010-09-29 | 华为技术有限公司 | Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device |
CN101938531A (en) * | 2010-09-14 | 2011-01-05 | 北京星网锐捷网络技术有限公司 | Method, system and device for communicating IPv4 network and IPv6 network |
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 |
CN102255982A (en) * | 2011-07-21 | 2011-11-23 | 电子科技大学 | Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method |
CN103051744A (en) * | 2013-01-08 | 2013-04-17 | 中兴通讯股份有限公司 | Method and device for converting multicast address |
JP2014120828A (en) * | 2012-12-13 | 2014-06-30 | Nippon Telegr & Teleph Corp <Ntt> | Address conversion method and address conversion device |
CN104052830A (en) * | 2014-05-29 | 2014-09-17 | 汉柏科技有限公司 | Network forwarding method and device |
CN106559507A (en) * | 2015-09-29 | 2017-04-05 | 中国电信股份有限公司 | IPv4 repeat address detecting methods and device |
CN107835198A (en) * | 2017-12-13 | 2018-03-23 | 睿哲科技股份有限公司 | Method, apparatus and the electronic equipment that PPTP is passed through are carried out in IPv4 IPv6 intercommunication scenes |
CN109451097A (en) * | 2019-01-02 | 2019-03-08 | 北京宏图佳都通信设备有限公司 | IPv4/IPv6 address conversion system |
-
2019
- 2019-05-27 CN CN201910445272.5A patent/CN110198365B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1574835A (en) * | 2003-06-06 | 2005-02-02 | 日立通讯技术株式会社 | Ip address translator and packet transfer apparatus |
CN1691665A (en) * | 2004-04-21 | 2005-11-02 | 华为技术有限公司 | A method for implementing communication between IPv4 network and IPv6 network |
CN101160842A (en) * | 2005-08-24 | 2008-04-09 | 华为技术有限公司 | Method for realizing the communication between mobile IPv6 node and IPv4 communication partner |
CN101005355A (en) * | 2006-01-12 | 2007-07-25 | 三星电子株式会社 | Secure communication system and method of IPV4/IPV6 integrated network system |
CN1996945A (en) * | 2006-11-30 | 2007-07-11 | 中国科学院计算技术研究所 | A method for network address translation |
CN101848247A (en) * | 2009-03-26 | 2010-09-29 | 华为技术有限公司 | Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device |
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 |
CN101938531A (en) * | 2010-09-14 | 2011-01-05 | 北京星网锐捷网络技术有限公司 | Method, system and device for communicating IPv4 network and IPv6 network |
CN102255982A (en) * | 2011-07-21 | 2011-11-23 | 电子科技大学 | Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method |
JP2014120828A (en) * | 2012-12-13 | 2014-06-30 | Nippon Telegr & Teleph Corp <Ntt> | Address conversion method and address conversion device |
CN103051744A (en) * | 2013-01-08 | 2013-04-17 | 中兴通讯股份有限公司 | Method and device for converting multicast address |
CN104052830A (en) * | 2014-05-29 | 2014-09-17 | 汉柏科技有限公司 | Network forwarding method and device |
CN106559507A (en) * | 2015-09-29 | 2017-04-05 | 中国电信股份有限公司 | IPv4 repeat address detecting methods and device |
CN107835198A (en) * | 2017-12-13 | 2018-03-23 | 睿哲科技股份有限公司 | Method, apparatus and the electronic equipment that PPTP is passed through are carried out in IPv4 IPv6 intercommunication scenes |
CN109451097A (en) * | 2019-01-02 | 2019-03-08 | 北京宏图佳都通信设备有限公司 | IPv4/IPv6 address conversion system |
Non-Patent Citations (1)
Title |
---|
王玲等: "IPv6的安全机制及其对现有网络安全体系的影响", 《微电子学与计算机》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115065661A (en) * | 2022-06-29 | 2022-09-16 | 广州方硅信息技术有限公司 | Network address conversion method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110198365B (en) | 2022-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101502049B (en) | Method and device for identifying and selecting an interface to access a network | |
CN107579900B (en) | Method, device and system for accessing VX L AN network from V L AN network | |
US10389825B2 (en) | Network device identification in an industrial control network | |
EP2928161A1 (en) | Method and apparatus for message transmission | |
CN109218261B (en) | Data processing method and data processing device | |
CN113595897B (en) | Path detection method and device | |
JP6665444B2 (en) | Information processing apparatus, control program for information processing apparatus, control method, and information processing system | |
US10735373B2 (en) | Communications over multiple protocol interfaces in a computing environment | |
CN109361600B (en) | Method and equipment for acquiring path identifier | |
CN110460684B (en) | Broadcast domain isolation method and device for VXLAN (virtual extensible local area network) in same network segment | |
CN105323229A (en) | CPE-based data transmission method, network element, platform and system | |
CN103916484A (en) | IP-address configuring method and device | |
CN113364660A (en) | Data packet processing method and device in LVS load balancing | |
CN108694121A (en) | A kind of automated testing method, apparatus and system | |
CN103095608B (en) | A kind of agency retransmission method of DNS data bag | |
CN110224942A (en) | A kind of message processing method, device and storage medium | |
CN104077152A (en) | Batch upgrading method and batch upgrading device for embedded system | |
CN110198365A (en) | A kind of address conversion detection method and system | |
CN110535747B (en) | Message processing device and method | |
US20050265257A1 (en) | Networking apparatus and method | |
CN106161249A (en) | The processing method and processing device of PPPoE message | |
CN108737347B (en) | Data communication method, device and equipment | |
EP2124397A1 (en) | A method for transfering the ip transmission session and the equipment whereto | |
US20170149663A1 (en) | Control device, communication system, control method, and non-transitory recording medium | |
CN110636146B (en) | User address allocation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |