CN110300194A - A kind of IP address conversion method and device of the network equipment - Google Patents
A kind of IP address conversion method and device of the network equipment Download PDFInfo
- Publication number
- CN110300194A CN110300194A CN201910616046.9A CN201910616046A CN110300194A CN 110300194 A CN110300194 A CN 110300194A CN 201910616046 A CN201910616046 A CN 201910616046A CN 110300194 A CN110300194 A CN 110300194A
- Authority
- CN
- China
- Prior art keywords
- address
- target
- network
- network equipment
- agreement
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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
Abstract
This application provides a kind of IP address conversion method and devices of network equipment.The described method includes: after the original ip address for obtaining the network equipment, it can be according to the corresponding IP agreement version of original ip address and the corresponding IP agreement version of target ip address, determine the transfer algorithm between two IP agreement versions, and then original ip address can be converted according to transfer algorithm, obtain corresponding first field groups of target ip address, further, it can be according to the location information of the network type and the network equipment of network equipment belonging network in a network, determine corresponding second field groups of target ip address, the first field groups and the second field groups can be finally combined, to obtain target ip address.In this way, in terms of existing technologies, the embodiment of the present application supports two different protocol stacks without the network equipment simultaneously, also there is no need to carry out HardwareUpgring to the network equipment, so that it may realize and convert between the IP address between different IP agreement versions.
Description
Technical field
This application involves field of communication technology, in particular to the IP address conversion method and device of a kind of network equipment.
Background technique
Internet protocol the 6th edition (Internet Protocol Version 6, IPv6) is that Internet Engineering Task group is set
The Next Generation Internet association for substituting Internet protocol the 4th edition (Internet Protocol Version 4, IPv4) of meter
Discuss address (Internet Protocol Address, IP) agreement.The use of IPv6 not only can solve network address resources number
Insufficient problem is measured, and removes the obstacle that multiple network equipment is connected into internet.
The network equipment generally requires the network equipment and carries out HardwareUpgring in order to supporting IPv6, and HardwareUpgring will
Increase cost.In order to reduce the cost of HardwareUpgring, a solution in the prior art is to be realized using tunneling technique
Conversion between IPv4 and IPv6.Specifically, IPv6 message is encapsulated in IPv4 message, such IPv6 protocol package can be worn
More IPv4 network is communicated.In this way, can be by the tunneling technique of IPv6 between the IPv6 network isolated, utilization is existing
IPv4 network communicates with each other, without making any modification and upgrading to existing IPv4 network.
It can thus be seen that tunneling technique requires the node at tunnel both ends all must not only support IPv4 protocol stack but also support
IPv6 protocol stack, but due to not being able to satisfy the network equipments of above-mentioned requirements there are still part at present, these network equipments without
Method realizes the conversion between IPv4 and IPv6.
Based on this, a kind of IP address conversion method of network equipment is needed at present, for solving part net in the prior art
Network equipment leads to not turn between realization IPv4 and IPv6 due to that cannot support IPv4 protocol stack simultaneously and support IPv6 protocol stack
The problem of changing.
Summary of the invention
This application provides a kind of IP address conversion method and device of network equipment, can be used for solving in the prior art
Partial network devices lead to not realize the technical issues of converting between IPv4 and IPv6 due to not supporting tunneling technique.
In a first aspect, the embodiment of the present application provides a kind of IP address conversion method of network equipment, which comprises
Obtain the original ip address of the network equipment;
According to the corresponding IP agreement version of the original ip address and the corresponding IP agreement version of target ip address, two are determined
Transfer algorithm between a IP agreement version;
The original ip address is converted according to the transfer algorithm, obtains the target ip address corresponding first
Field groups;
According to the position letter of the network type and the network equipment of the network equipment belonging network in the network
Breath, determines corresponding second field groups of the target ip address;
First field groups and second field groups are combined, the target ip address is obtained.
In one possible implementation, the corresponding IP agreement version of the original ip address is IPv4, the target
The corresponding IP agreement version of IP address is IPv6;Or, the corresponding IP agreement version of the original ip address is IPv6, the target
The corresponding IP agreement version of IP address is IPv4.
In one possible implementation, according to the corresponding IP agreement version of the original ip address and target ip address
Corresponding IP agreement version, determines the transfer algorithm between two IP agreement versions, comprising:
If the corresponding IP agreement version of the original ip address is IPv4, the corresponding IP agreement version of the target ip address
This is IPv6, it is determined that the transfer algorithm between two IP agreement versions is that the decimal system turns hexadecimal algorithm;
If the corresponding IP agreement version of the original ip address is IPv6, the corresponding IP agreement version of the target ip address
This is IPv4, it is determined that the transfer algorithm between two IP agreement versions is that hexadecimal turns metric algorithm.
In one possible implementation, the network type of the network equipment belonging network include Types of Local Area Networks and
Wan type;
According to the position letter of the network type and the network equipment of the network equipment belonging network in the network
Breath, determines corresponding second field groups of the target ip address, comprising:
If the network type of the network equipment belonging network is Types of Local Area Networks, according to the network equipment in institute
The location information in local area network is stated, determines corresponding second field groups of the target ip address;
If the network type of the network equipment belonging network is wan type, according to belonging to the wide area network
The mark and location information of the network equipment in the wide area network of operator determine the target ip address corresponding the
Two field groups.
In one possible implementation, first field groups and second field groups are combined, are obtained
The target ip address, comprising:
Using first field groups as the suffix of the target ip address, using second field groups as the target
The prefix of IP address, combination obtain the target ip address.
Second aspect, the embodiment of the present application provide a kind of IP address conversion device of network equipment, and described device includes:
Acquiring unit, for obtaining the original ip address of the network equipment;
Processing unit, for being assisted according to the corresponding IP agreement version of the original ip address and the corresponding IP of target ip address
Version is discussed, determines the transfer algorithm between two IP agreement versions;And according to the transfer algorithm to the original ip address
It is converted, obtains corresponding first field groups of the target ip address;And the net according to the network equipment belonging network
The location information of network type and the network equipment in the network determines corresponding second field of the target ip address
Group;
Assembled unit obtains the Target IP for being combined first field groups and second field groups
Address.
In one possible implementation, the corresponding IP agreement version of the original ip address is IPv4, the target
The corresponding IP agreement version of IP address is IPv6;Or, the corresponding IP agreement version of the original ip address is IPv6, the target
The corresponding IP agreement version of IP address is IPv4.
In one possible implementation, the processing unit is specifically used for:
If the corresponding IP agreement version of the original ip address is IPv4, the corresponding IP agreement version of the target ip address
This is IPv6, it is determined that the transfer algorithm between two IP agreement versions is that the decimal system turns hexadecimal algorithm;
If the corresponding IP agreement version of the original ip address is IPv6, the corresponding IP agreement version of the target ip address
This is IPv4, it is determined that the transfer algorithm between two IP agreement versions is that hexadecimal turns metric algorithm.
In one possible implementation, the network type of the network equipment belonging network include Types of Local Area Networks and
Wan type;
The processing unit is specifically used for:
If the network type of the network equipment belonging network is Types of Local Area Networks, according to the network equipment in institute
The location information in local area network is stated, determines corresponding second field groups of the target ip address;
If the network type of the network equipment belonging network is wan type, according to belonging to the wide area network
The mark and location information of the network equipment in the wide area network of operator determine the target ip address corresponding the
Two field groups.
In one possible implementation, the assembled unit is specifically used for:
Using first field groups as the suffix of the target ip address, using second field groups as the target
The prefix of IP address, combination obtain the target ip address.
It can be according to the corresponding IP of original ip address after the original ip address for obtaining the network equipment using the above method
Protocol version and the corresponding IP agreement version of target ip address, determine the transfer algorithm between two IP agreement versions, Jin Erke
To be converted according to transfer algorithm to original ip address, obtaining corresponding first field groups of target ip address further can
With the location information according to the network type of network equipment belonging network and the network equipment in a network, target ip address pair is determined
First field groups and the second field groups can be finally combined, to obtain target ip address by the second field groups answered.Such as
This, in terms of existing technologies, the embodiment of the present application supports two different protocol stacks without the network equipment simultaneously, also just not
It needs to carry out HardwareUpgring to the network equipment, so that it may realize and convert between the IP address between different IP agreement versions.
Detailed description of the invention
Fig. 1 is process signal corresponding to a kind of IP address conversion method of the network equipment provided by the embodiments of the present application
Figure;
Fig. 2 is a kind of structural schematic diagram of the IP address conversion device of the network equipment provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
Fig. 1 is illustrated corresponding to a kind of IP address conversion method of network equipment provided by the embodiments of the present application
Flow diagram.As shown in Figure 1, specifically comprising the following steps:
Step 101, the original ip address of the network equipment is obtained.
Step 102, according to the corresponding IP agreement version of original ip address and the corresponding IP agreement version of target ip address, really
Transfer algorithm between fixed two IP agreement versions.
Step 103, original ip address is converted according to transfer algorithm, obtains corresponding first field of target ip address
Group.
Step 104, the position letter according to the network type of network equipment belonging network and the network equipment in the network
Breath, determines corresponding second field groups of target ip address.
Step 105, the first field groups and the second field groups are combined, obtain target ip address.
It should be noted that method provided by the embodiments of the present application, on the one hand, can be corresponded to not changing original ip address
IP agreement version under conditions of, using the setting method of original ip address, target ip address is set;On the other hand, Ke Yi
It supports that target is arranged using the setting method of original ip address in the network equipment of the corresponding IP agreement version of target ip address
IP address.
It can be according to the corresponding IP of original ip address after the original ip address for obtaining the network equipment using the above method
Protocol version and the corresponding IP agreement version of target ip address, determine the transfer algorithm between two IP agreement versions, Jin Erke
To be converted according to transfer algorithm to original ip address, obtaining corresponding first field groups of target ip address further can
With the location information according to the network type of network equipment belonging network and the network equipment in a network, target ip address pair is determined
First field groups and the second field groups can be finally combined, to obtain target ip address by the second field groups answered.Such as
This, in terms of existing technologies, the embodiment of the present application supports two different protocol stacks without the network equipment simultaneously, also just not
It needs to carry out HardwareUpgring to the network equipment, so that it may realize and convert between the IP address between different IP agreement versions.
Specifically, in step 101, the network equipment can refer to the physical entity being connected in network.Embedded device
It is a kind of network equipment, in today that IPv6 is continued to develop, the embedded device of many low costs is not the case where changing hardware
Under, equally there are the needs that the corresponding protocol version of the IP address of itself is upgraded to IPv6.
According to the difference of network device itself structure, there are many modes for obtaining the original ip address of the network equipment.It is a kind of
Possible implementation is, for the network equipment with display device, can directly be shown by the display device
Original ip address, so as to obtain the original ip address by way of reading.
For example, the Embedded Network Device of some low costs can only generally be repaired by simple LED display screen
Change IP address, then, for these network equipments, so that it may read original ip address on LED display.
Alternatively possible implementation is, for it cannot directly read the network equipment of IP address, can use
The mode of external interface obtains the original ip address of the network equipment.Specifically, the network equipment can be connected by external interface
Computer is connect, in this way, computer passes through the original ip address of the available network equipment of the external interface.Wherein, to diplomacy
Interface may include any one of telnet interface or web page interface etc., specifically without limitation.
Further, in specific implementation process, computer can be used the original ip address that protocol stack will acquire and carry out
Storage.Wherein, protocol stack can be lwip2.0.3 protocol stack, the lwip2.0.3 protocol stack can support simultaneously IPv4 and
IPv6。
In step 102 and step 103, original IP address and the corresponding IP agreement version of target ip address can have
Different forms.In one example, the corresponding IP agreement version of original ip address can be IPv4, the corresponding IP of target ip address
Protocol version can be IPv6.
Further, if the corresponding IP agreement version of original ip address is IPv4, the corresponding IP agreement of target ip address
When version is IPv6, it can determine that the transfer algorithm between two IP agreement versions is that the decimal system turns hexadecimal algorithm.
For example, it is assumed that original ip address is " 192.168.0.155 ", turns hexadecimal algorithm through the decimal system and converts
Afterwards, " C0A8:009B " is obtained, i.e., " C0A8:009B " can be used as corresponding first field groups of target ip address.
In another example, the corresponding IP agreement version of original ip address can be IPv6, the corresponding IP of target ip address
Protocol version can be IPv4.
Further, if the corresponding IP agreement version of original ip address is IPv6, the corresponding IP agreement of target ip address
When version is IPv4, it can determine that the transfer algorithm between two IP agreement versions is that hexadecimal turns metric algorithm.
For example, it is assumed that original ip address is " C0A8:009B ", after hexadecimal turns metric algorithm conversion,
" 192.168.0.155 " is obtained, i.e., " 192.168.0.155 " can be used as corresponding first field groups of target ip address.
In step 104, the network type of network equipment belonging network may include Types of Local Area Networks and wan type.
Wherein, local area network can refer to the calculating unit being mutually unified into a certain region by multiple stage computers, for example, be
In the geographic range of one part (such as in school, factory and an organ), usually have an area of within several kms, by various calculating
Machine, external equipment and database etc. link up mutually the computer communication network of composition.Local area network may be implemented file management, answer
With functions such as software is shared, sharing printer, schedule, Email and facsimile services in working group.Local area network
Be it is case type, can be made of indoor two computers of handling official business, can also be by thousands of calculating units in a company
At.
Wide area network is also known as wide area network, outer net, public network.Be connect different regions local area network or Metropolitan Area Network (MAN) computer communication it is remote
Journey net.The usually very big physical extent of bridging, from tens kilometers to thousands of kilometers, it can be connected multiplely the range covered
Area, city and country, or across several continents, and telecommunication can be provided, form international telecommunication network.
According to the difference of the network type of network equipment belonging network, the determination of corresponding second field groups of target ip address
Mode is also different.
If the network type of network equipment belonging network is Types of Local Area Networks, can be according to the network equipment in local area network
In location information, determine corresponding second field groups of target ip address.
If the network type of network equipment belonging network is wan type, the operator according to belonging to wide area network
Mark and the location information of the network equipment in the wide area network, determine corresponding second field groups of target ip address.
It should be noted that during actual implementation, the second field groups can be to be obtained automatically by software.For example,
The second field groups can be obtained using following procedure code.
For example, using code as above " g_unIPV6head [0]=ABCDEF01;G_unIPV6head [1]=
23456789;G_unIPV6head [2]=ABCDEF01 " obtain the second field groups can for " ABCD:EF01:2345:
6789:ABCD:EF01”。
In step 105, there are many modes that the first field groups and the second field groups are combined, a kind of possible realization
Mode is, can be using the first field groups as the suffix of target ip address, using the second field groups as the target ip address
Prefix, combination obtain target ip address.
For example, it is assumed that the first field groups be " C0A8:009B ", the second field groups be " ABCD:EF01:2345:
6789:ABCD:EF01 ", then, the target ip address obtained after combination can for " ABCD:EF01:2345:6789:ABCD:
EF01:C0A8:009B”。
It, can also be using the first field groups as the prefix of target ip address, by second in other possible implementations
Suffix of the field groups as the target ip address, combination obtain target ip address;Alternatively, the first field groups can also be inserted into
To any position in the second field groups, combination obtains target ip address, specifically without limitation.
During actual implementation, the combination of the first field groups and the second field groups is also possible to obtain automatically by software
's.For example, can be realized using following procedure code.
It should be noted that " ... " in above-mentioned code is the logical code of software itself, the application no longer retouches in detail
It states.
After executing above-mentioned steps 105, target ip address can also be set to the IP address of the network equipment, in this way,
The network equipment can be communicated using target ip address.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
The structure that Fig. 2 illustrates a kind of IP address conversion device of network equipment provided by the embodiments of the present application is shown
It is intended to.As shown in Fig. 2, the device has the function of realizing the IP address conversion method of the above-mentioned network equipment, the function can be with
By hardware realization, corresponding software realization can also be executed by hardware.The apparatus may include: acquiring unit 201, processing unit
202 and assembled unit 203.
Acquiring unit 201, for obtaining the original ip address of the network equipment;
Processing unit 202, for corresponding according to the corresponding IP agreement version of the original ip address and target ip address
IP agreement version determines the transfer algorithm between two IP agreement versions;And according to the transfer algorithm to the initial IP
Address is converted, and corresponding first field groups of the target ip address are obtained;And according to the network equipment belonging network
Location information in the network of network type and the network equipment, determine corresponding second word of the target ip address
Section group;
Assembled unit 203 obtains the target for being combined first field groups and second field groups
IP address.
In one possible implementation, the corresponding IP agreement version of the original ip address is IPv4, the target
The corresponding IP agreement version of IP address is IPv6;Or, the corresponding IP agreement version of the original ip address is IPv6, the target
The corresponding IP agreement version of IP address is IPv4.
In one possible implementation, the processing unit 202 is specifically used for:
If the corresponding IP agreement version of the original ip address is IPv4, the corresponding IP agreement version of the target ip address
This is IPv6, it is determined that the transfer algorithm between two IP agreement versions is that the decimal system turns hexadecimal algorithm;
If the corresponding IP agreement version of the original ip address is IPv6, the corresponding IP agreement version of the target ip address
This is IPv4, it is determined that the transfer algorithm between two IP agreement versions is that hexadecimal turns metric algorithm.
In one possible implementation, the network type of the network equipment belonging network include Types of Local Area Networks and
Wan type;
The processing unit 202 is specifically used for:
If the network type of the network equipment belonging network is Types of Local Area Networks, according to the network equipment in institute
The location information in local area network is stated, determines corresponding second field groups of the target ip address;
If the network type of the network equipment belonging network is wan type, according to belonging to the wide area network
The mark and location information of the network equipment in the wide area network of operator determine the target ip address corresponding the
Two field groups.
In one possible implementation, the assembled unit 203 is specifically used for:
Using first field groups as the suffix of the target ip address, using second field groups as the target
The prefix of IP address, combination obtain the target ip address.
Using above-mentioned apparatus, which, can be according to original ip address pair after the original ip address for obtaining the network equipment
The corresponding IP agreement version of the IP agreement version and target ip address answered, determines the transfer algorithm between two IP agreement versions,
And then original ip address can be converted according to transfer algorithm, corresponding first field groups of target ip address are obtained, into one
Step ground can determine target according to the location information of the network type and the network equipment of network equipment belonging network in a network
First field groups and the second field groups, can finally be combined, to obtain target by corresponding second field groups of IP address
IP address.In this way, in terms of existing technologies, the embodiment of the present application supports two different agreements without the network equipment simultaneously
Stack, also there is no need to carry out HardwareUpgring to the network equipment, so that it may realize between the IP address between different IP agreement versions
Conversion.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, is stored in the storage medium
Computer program or intelligent contract, the computer program or intelligent contract are loaded and executed by nodes to realize above-described embodiment
The transaction methods of offer.Optionally, above-mentioned computer readable storage medium can be read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), CD-ROM, tape, floppy disk and
Optical data storage devices etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the application or embodiment
The method stated.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (10)
1. a kind of IP address conversion method of network equipment, which is characterized in that the described method includes:
Obtain the original ip address of the network equipment;
According to the corresponding IP agreement version of the original ip address and the corresponding IP agreement version of target ip address, two IP are determined
Transfer algorithm between protocol version;
The original ip address is converted according to the transfer algorithm, obtains corresponding first field of the target ip address
Group;
According to the location information of the network type and the network equipment of the network equipment belonging network in the network, really
Determine corresponding second field groups of the target ip address;
First field groups and second field groups are combined, the target ip address is obtained.
2. the method according to claim 1, wherein the corresponding IP agreement version of the original ip address is
IPv4, the corresponding IP agreement version of the target ip address are IPv6;Or, the corresponding IP agreement version of the original ip address is
IPv6, the corresponding IP agreement version of the target ip address are IPv4.
3. according to the method described in claim 2, it is characterized in that, according to the corresponding IP agreement version of the original ip address and
The corresponding IP agreement version of target ip address, determines the transfer algorithm between two IP agreement versions, comprising:
If the corresponding IP agreement version of the original ip address is IPv4, the corresponding IP agreement version of the target ip address is
IPv6, it is determined that the transfer algorithm between two IP agreement versions is that the decimal system turns hexadecimal algorithm;
If the corresponding IP agreement version of the original ip address is IPv6, the corresponding IP agreement version of the target ip address is
IPv4, it is determined that the transfer algorithm between two IP agreement versions is that hexadecimal turns metric algorithm.
4. the method according to claim 1, wherein the network type of the network equipment belonging network includes office
Domain net type and wan type;
According to the location information of the network type and the network equipment of the network equipment belonging network in the network, really
Determine corresponding second field groups of the target ip address, comprising:
If the network type of the network equipment belonging network is Types of Local Area Networks, according to the network equipment in the office
Location information in the net of domain, determines corresponding second field groups of the target ip address;
If the network type of the network equipment belonging network is wan type, according to operation belonging to the wide area network
The mark and location information of the network equipment in the wide area network of quotient, determines corresponding second word of the target ip address
Section group.
5. the method according to claim 1, wherein first field groups and second field groups are carried out
Combination, obtains the target ip address, comprising:
Using first field groups as the suffix of the target ip address, as the Target IP using second field groups
The prefix of location, combination obtain the target ip address.
6. a kind of IP address conversion device of network equipment, which is characterized in that described device includes:
Acquiring unit, for obtaining the original ip address of the network equipment;
Processing unit, for according to the corresponding IP agreement version of the original ip address and the corresponding IP agreement version of target ip address
This, determines the transfer algorithm between two IP agreement versions;And the original ip address is carried out according to the transfer algorithm
Conversion, obtains corresponding first field groups of the target ip address;And the network class according to the network equipment belonging network
The location information of type and the network equipment in the network determines corresponding second field groups of the target ip address;
Assembled unit obtains the target ip address for being combined first field groups and second field groups.
7. device according to claim 6, which is characterized in that the corresponding IP agreement version of the original ip address is
IPv4, the corresponding IP agreement version of the target ip address are IPv6;Or, the corresponding IP agreement version of the original ip address is
IPv6, the corresponding IP agreement version of the target ip address are IPv4.
8. device according to claim 7, which is characterized in that the processing unit is specifically used for:
If the corresponding IP agreement version of the original ip address is IPv4, the corresponding IP agreement version of the target ip address is
IPv6, it is determined that the transfer algorithm between two IP agreement versions is that the decimal system turns hexadecimal algorithm;
If the corresponding IP agreement version of the original ip address is IPv6, the corresponding IP agreement version of the target ip address is
IPv4, it is determined that the transfer algorithm between two IP agreement versions is that hexadecimal turns metric algorithm.
9. device according to claim 6, which is characterized in that the network type of the network equipment belonging network includes office
Domain net type and wan type;
The processing unit is specifically used for:
If the network type of the network equipment belonging network is Types of Local Area Networks, according to the network equipment in the office
Location information in the net of domain, determines corresponding second field groups of the target ip address;
If the network type of the network equipment belonging network is wan type, according to operation belonging to the wide area network
The mark and location information of the network equipment in the wide area network of quotient, determines corresponding second word of the target ip address
Section group.
10. device according to claim 6, which is characterized in that the assembled unit is specifically used for:
Using first field groups as the suffix of the target ip address, as the Target IP using second field groups
The prefix of location, combination obtain the target ip address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910616046.9A CN110300194A (en) | 2019-07-09 | 2019-07-09 | A kind of IP address conversion method and device of the network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910616046.9A CN110300194A (en) | 2019-07-09 | 2019-07-09 | A kind of IP address conversion method and device of the network equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110300194A true CN110300194A (en) | 2019-10-01 |
Family
ID=68030863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910616046.9A Pending CN110300194A (en) | 2019-07-09 | 2019-07-09 | A kind of IP address conversion method and device of the network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110300194A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112272157A (en) * | 2020-09-15 | 2021-01-26 | 杭州数梦工场科技有限公司 | Host IP address conversion method and device, computer equipment and storage medium |
CN113938459A (en) * | 2021-09-06 | 2022-01-14 | 锐捷网络股份有限公司 | IPv6 configuration method and device |
CN114221929A (en) * | 2021-11-04 | 2022-03-22 | 招银云创信息技术有限公司 | Address translation method, apparatus, device, medium, and computer program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102739809A (en) * | 2011-04-07 | 2012-10-17 | 中国电信股份有限公司 | DNS64 database, server, system and IPv4/IPv6 communication method |
CN102918817A (en) * | 2011-05-31 | 2013-02-06 | 华为技术有限公司 | Internet protocol version 6 address allocation method and apparatus |
US20140195696A1 (en) * | 2013-01-09 | 2014-07-10 | Sony Corporation | Information processing device, information processing method, and information processing system |
CN107835259A (en) * | 2017-12-15 | 2018-03-23 | 睿哲科技股份有限公司 | It is a kind of to solve the device that interconnects of problem of detached island of information based on IPv6 |
CN109167847A (en) * | 2018-08-09 | 2019-01-08 | 中国联合网络通信集团有限公司 | A kind of generation method and SMF, communication system of the address IPv6 |
-
2019
- 2019-07-09 CN CN201910616046.9A patent/CN110300194A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102739809A (en) * | 2011-04-07 | 2012-10-17 | 中国电信股份有限公司 | DNS64 database, server, system and IPv4/IPv6 communication method |
CN102918817A (en) * | 2011-05-31 | 2013-02-06 | 华为技术有限公司 | Internet protocol version 6 address allocation method and apparatus |
US20140195696A1 (en) * | 2013-01-09 | 2014-07-10 | Sony Corporation | Information processing device, information processing method, and information processing system |
CN107835259A (en) * | 2017-12-15 | 2018-03-23 | 睿哲科技股份有限公司 | It is a kind of to solve the device that interconnects of problem of detached island of information based on IPv6 |
CN109167847A (en) * | 2018-08-09 | 2019-01-08 | 中国联合网络通信集团有限公司 | A kind of generation method and SMF, communication system of the address IPv6 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112272157A (en) * | 2020-09-15 | 2021-01-26 | 杭州数梦工场科技有限公司 | Host IP address conversion method and device, computer equipment and storage medium |
CN112272157B (en) * | 2020-09-15 | 2022-07-26 | 杭州数梦工场科技有限公司 | Method and device for converting host IP address, computer equipment and storage medium |
CN113938459A (en) * | 2021-09-06 | 2022-01-14 | 锐捷网络股份有限公司 | IPv6 configuration method and device |
CN114221929A (en) * | 2021-11-04 | 2022-03-22 | 招银云创信息技术有限公司 | Address translation method, apparatus, device, medium, and computer program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105635345B (en) | Domain name resources record management method and apparatus | |
CN110300194A (en) | A kind of IP address conversion method and device of the network equipment | |
US8151003B2 (en) | System and method for routing data by a server | |
JP2021521544A (en) | Transaction processing | |
US20090086726A1 (en) | Service Advertisement Framework (SAF) in a Communications Network | |
CN101379765A (en) | Techniques for configuring customer equipment for network operations from provider edge | |
KR101376815B1 (en) | Global provisioning of millions of users with deployment units | |
CN105095023A (en) | Cloud host establishing device and method and calculating equipment | |
CN104798347A (en) | Local Partitioning in a Distributed Communication System | |
US20070076630A1 (en) | Peer name resolution protocol simple application program interface | |
CN114244654B (en) | URL forwarding method, device, equipment and computer storage medium | |
CN110677337B (en) | Data forwarding method and device, network equipment and computer readable storage medium | |
WO2023096785A1 (en) | Method, system, and computer readable media for dynamically updating domain name system (dns) records from registered network function (nf) profile information | |
US10243920B1 (en) | Internet protocol address reassignment between virtual machine instances | |
CN101110827A (en) | Method, device and system for multidimensional address domain name analysis | |
CN102611762B (en) | uniform domain name service system and method | |
JP4874938B2 (en) | Termination device | |
US8731150B2 (en) | Method and apparatus for assigning and provisioning VOIP services | |
CN112565018A (en) | Flow statistical method, device, gateway equipment and storage medium | |
CN104486193A (en) | Method for establishing network node interconnection, and device for establishing network node interconnection | |
CN107888685A (en) | For Wi Fi universal serial bus and the technology of the discovery of Wi Fi docking services | |
CN111147621B (en) | Method for supporting IPv6 service access of external network user | |
CN110855805B (en) | Method and system for configuring forward and reverse records in batch based on synthetic record type | |
CN110035134A (en) | Method for network address translation, device and access device | |
JP6535298B2 (en) | ENUM server, ENUM data registration / answer method and program |
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 | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Chen Jianfeng Inventor after: Huang Yuangang Inventor after: Yao Yi Inventor before: Huang Yuangang Inventor before: Chen Jianfeng Inventor before: Yao Yi |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191001 |