CN110351396A - A kind of IPv4/IPv6 data transmission processing method and system - Google Patents
A kind of IPv4/IPv6 data transmission processing method and system Download PDFInfo
- Publication number
- CN110351396A CN110351396A CN201910461716.4A CN201910461716A CN110351396A CN 110351396 A CN110351396 A CN 110351396A CN 201910461716 A CN201910461716 A CN 201910461716A CN 110351396 A CN110351396 A CN 110351396A
- Authority
- CN
- China
- Prior art keywords
- address
- ipv4
- source
- data transmission
- destination
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 100
- 238000003672 processing method Methods 0.000 title claims abstract description 24
- 238000006243 chemical reaction Methods 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000012545 processing Methods 0.000 claims abstract description 23
- 238000005516 engineering process Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
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/255—Maintenance or indexing of mapping tables
-
- 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/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of IPv4/IPv6 data transmission processing method, device, storage medium and processors.Wherein, this method comprises: sending, receiving the IPv4 data transmission packet with the address source IP v6, the address source IP v6 is stored in the scheme in the option byte of IPv4 data transmission packet header, solves the technical issues of prior art can not learn the user terminal source IP address V6 according to the address IPv4 after the conversion of IPv4/IPv6 address conversion system through the invention, consequently facilitating application system finds access source address and does other subsequent operations processing, such as the access number etc. of statistics source address according to access source address.
Description
Technical field
The present invention relates to fields of communication technology, in particular to a kind of IPv4/IPv6 data transmission processing method, dress
It sets, storage medium and processor.
Background technique
Currently, ICP/IP protocol is the most popular network transmission protocol, IP agreement therein be divided into again IPv4 agreement and
Two versions of IPv6 agreement, IPv4 agreement uses the address of 32bit, and IPv6 agreement uses the address of 128bit.It is arrived in IPv4
During the upgrading of IPv6, NAT64 technology is generallyd use as transition and is mutually turned the address IPv6 and the address IPv4
It changes.
As shown in Fig. 2, the mistake for mutually being converted the address IPv6 and the address IPv4 as transition using NAT64 technology
Journey: IPv4/IPv6 address conversion system is carried out the destination IP v6 address access request from user terminal using NAT64 technology
Conversion, searches out the address the address destination IP v6 access request corresponding destination IP v4, so that with the user terminal of the address source IP v6
It is accessible to the address destination IP v4 (application system) wanted access to.When there is a plurality of clients (IPv6 user as shown in figure 1
End A, B, C) the corresponding application system in the address some destination IP v4 is wanted access to by IPv4/IPv6 address conversion system simultaneously
When, IPv4/IPv6 address conversion system can map the access request to the address some destination IP v6 from different user end
For the address corresponding destination IP v4, the address this destination IP v4 is exactly the application system that a plurality of clients want access to, and is being passed through
User terminal is returned result to after the address destination IP v4 access application system, IPv6 user terminal A, B, C successfully use IPv6 at this time
Address using NAT64 technology access without the application system (address IPv4) of the address IPv6.
It is had a problem that during the above-mentioned address IPv6 is mutually converted with the address IPv4, although can guarantee to use
The application system for accessing no address IPv6 is realized at family end, but since application system does not have the address IPv6, is assisted using IPv4
View is communicated with IPv4/IPv6 address conversion system, and the address IPv6 is converted by IPv4/IPv6 address conversion system
The address IPv4, source address when IP data packet is transmitted to application system in IP packet from the address source IP v6 with becoming source IP v4
Location, so only with respect to the information of the address IPv4 in the communication message of application system and IPv4/IPv6 address conversion system,
The not information about the address IPv6, it is which user terminal (address source IP v6) wants access to this that application system, which can not just be learnt,
Application system (address IPv4).
For the prior art can not according to by IPv4/IPv6 address conversion system conversion after the address IPv4 learn user terminal
The technical issues of source IP address V6, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of IPv4/IPv6 data transmission processing method, device, storage medium and processing
Device, to solve the problems of the prior art.
According to an aspect of an embodiment of the present invention, a kind of IPv4/IPv6 data transmission processing method is provided, comprising:
It receives the IPv4 data with the address source IP v6 and transmits packet, the address the source IP v6 is stored in IPv4 data transmission packet header
In the option byte in portion.
Further, the address the source IP v6 accesses the address destination IP v6, the address the destination IP v6 and the IPv4 number
It is corresponding according to the address destination IP v4 in transmission packet.
Further, it receives after having the IPv4 data transmission packet of the address IPv6, which comprises according to described
The transmission packet identification of IPv4 data wants access to the user terminal of the address the destination IP v4.
According to an aspect of an embodiment of the present invention, another IPv4/IPv6 data transmission processing method is provided, is wrapped
It includes: sending the IPv4 data transmission packet with the address source IP v6, the address the source IP v6 is stored in the IPv4 data transmission packet
In the option byte on head.
Further, the address the source IP v6 accesses the address destination IP v6, the address the destination IP v6 and the IPv4 number
It is corresponding according to the address destination IP v4 in transmission packet.
Further, before IPv4 data transmission packet of the transmission with the address IPv6, which comprises receive desired
Access the address user terminal corresponding source IP v6 of the address the destination IP v4;It is the mesh by the destination IP v6 address conversion
The address IPv4, wherein the address the destination IP v4 and the address the source IP v6 are encapsulated in the IPv4 data transmission packet
In.
Further, the address the source IP v6 is using the data of unencryption or using encrypted data.
Further, the option byte for storing the address the source IP v6 is more than or equal to 16 bytes.
Further, the option byte for storing the address the source IP v6 is 16 bytes.
According to another aspect of an embodiment of the present invention, a kind of IPv4/IPv6 data transmission processing system is additionally provided, is wrapped
Include: receiving unit, for receiving the IPv4 data transmission packet for having the address source IP v6, the address the source IP v6 is stored in described
IPv4 data are transmitted in the option byte of packet header.
According to another aspect of an embodiment of the present invention, a kind of IPv4/IPv6 data transmission processing system is additionally provided, is wrapped
Include: transmission unit, for sending the IPv4 data transmission packet for having the address source IP v6, the address the source IP v6 is stored in described
IPv4 data are transmitted in the option byte of packet header.
Other side according to an embodiment of the present invention has been also provided to a kind of storage medium, has protected on the storage medium
Computer program stored executes the upper method when described program is run.
Other side according to an embodiment of the present invention has been also provided to a kind of processor, has held when described program is run
The above-mentioned method of row.
According to embodiments of the present invention, using the IPv4 data transmission packet received with the address source IP v6, the source IP v6
Address is stored in the scheme in the option byte of the IPv4 data transmission packet header, solves the prior art through the invention
The skill of the address source IP v6 of user terminal can not be learnt according to the address IPv4 after the conversion of IPv4/IPv6 address conversion system
Art problem, consequently facilitating application system finds access source address and does other subsequent operations processing according to access source address, such as
Count the access number of source address and trace to the source etc..
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of IPv4/IPv6 data transmission processing method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of IPv4/IPv6 data transmission procedure according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of IPv4 data transmission packet header according to an embodiment of the present invention;
Fig. 4 is a kind of flow chart of optional IPv4/IPv6 data transmission processing method according to an embodiment of the present invention;
Fig. 5 is the flow chart of another kind IPv4/IPv6 data transmission processing method according to an embodiment of the present invention;
Fig. 6 is the flow chart of another kind IPv4/IPv6 data transmission processing method according to an embodiment of the present invention;
Fig. 7 is the flow chart of another optional IPv4/IPv6 data transmission processing method according to an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of IPv4/IPv6 data transmission processing system according to an embodiment of the present invention;
Fig. 9 is the schematic diagram of another kind IPv4/IPv6 data transmission processing system according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work all should belong to what the present invention protected
Range.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that making in this way
Data are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein can be in addition to scheming herein
Sequence other than those of showing or describe is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Be to cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units
Those of be not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for these processes,
The intrinsic other step or units of method, product or equipment.
According to embodiments of the present invention, a kind of IPv4/IPv6 data transmission processing method embodiment is provided, needs to illustrate
, step shown in the flowchart of the accompanying drawings can hold in a computer system such as a set of computer executable instructions
Row, although also, logical order is shown in flow charts, and it in some cases, can be to be different from sequence herein
Execute shown or described step.
The noun meaning occurred in the following example is illustrated below:
The address source IP v6 refers to that the address user terminal IPv6, the address destination IP v6 refer to IPv4/IPv6 address conversion system
The address IPv6, the address source IP v4 refer to that the address IPv4 of IPv4/IPv6 address conversion system, the address destination IP v4 refer to application
The address IPv4 of system.
User terminal can be but not limited to: the various network equipments such as mobile phone, computer, internet-of-things terminal and intelligent terminal are set
It is standby.
Application system can be but not limited to: the websites such as government and enterprises, finance, colleges and universities, media, electric business, video and be corresponding to it
All kinds of app application dress systems.
Fig. 1 is a kind of flow chart of IPv4/IPv6 data transmission processing method according to an embodiment of the present invention, such as Fig. 1 institute
Show, this method comprises the following steps:
Step S102 receives the IPv4 data with the address source IP v6 and transmits packet, and the address source IP v6 is stored in the IPv4
Data are transmitted in the option byte of packet header.
Implementer in above-mentioned steps can be application system or IPv4/IPv6 address conversion system, below with the step
Implementer be application system the case where be illustrated: application system receive with the address source IP v6 IPv4 data transmit
Bao Hou can extract the address source IP v6 in the option byte for being stored in IPv4 data transmission packet header, and the address source IP v6 is
The address IPv6 of the user terminal of the application system (address IPv4) is wanted access to, different user terminals corresponds to different source IP v6
Address, the address these source IPs v6 are intended to that the target application system (address IPv4) is accessed.
The head construction of the IPv4 data transmission packet of the prior art is as shown in figure 3, the head construction that the transmission of IPv4 data is wrapped
Minimum length be 20 bytes, maximum length is 60 bytes, and wherein option portion has most 40 bytes, in the prior art
The option byte of IPv4 data transmission packet header is respectively there are four function: 1) safety and processing limitation, 2) record path, 3)
Timestamp, 4) source routing.Prior art IPv4 data transmission packet header only stores information relevant to IPv4, and in function
Can 4) in specify is the address IPv4 routed among the next stop.And the present embodiment is unlike the prior art, in option byte
The source IP v6 address information of user terminal is stored, and address conversion system can be recognized according to source IP v6 address information
Whom the user terminal of upper level is, is changed to storage user terminal by the option byte that prior art IPv4 data are transmitted packet header
The address source IP v6, solving the prior art can not learn by corresponding to IPv4/IPv6 address conversion system translated addresses
Source address the technical issues of, consequently facilitating application system find the address source IP v6 of access and according to access source address do it
He is handled in subsequent operation, such as the access number etc. of the address Statistic Source IPv6.
The destination IP v6 of different user terminal (the different addresses source IP v6) access IPv4/IPv6 address conversion systems
Location, the address destination IP v6 with the address destination IP v4 that user terminal wants access to application system be it is corresponding, pass through IPv6/
Corresponding relationship is established in the address destination IP v4 of the address destination IP v6 and some target application system by IPv4 address mapping table,
In a kind of optional embodiment, that is, the address source IP v6 accesses the address destination IP v6, the address destination IP v6 and the IPv4
The address destination IP v4 in data transmission packet is corresponding, thus guarantee that application system can search out corresponding user terminal, it should
Corresponding relationship can be with preset in advance in IPv6/IPv4 address mapping table, which can be set
It in IPv4/IPv6 address conversion system, also can be set in DNS name resolution server, by accessing DNS name resolution
Server finds the address the destination IP v6 address corresponding destination IP v4.
After above-mentioned steps receive the IPv4 data transmission packet with the address source IP v6, in a kind of optional embodiment party
In formula, as shown in figure 4, a kind of IPv4/IPv6 data transmission processing method further include: step S104 is passed according to the IPv4 data
Defeated packet identification wants access to the user terminal of the address destination IP v4.Make application system more convenient and fast by the above method
Know the user terminal for wanting access to the address destination IP v4.
Fig. 5 is the flow chart of another kind IPv4/IPv6 data transmission processing method according to an embodiment of the present invention, such as Fig. 5
Shown, this method comprises the following steps:
Step S502 sends the IPv4 data with the address source IP v6 and transmits packet, and the address source IP v6 is stored in the IPv4
Data are transmitted in the option byte of packet header.
Implementer in above-mentioned steps can be application system or IPv4/IPv6 address conversion system, below with the step
Implementer be illustrated the case where being IPv4/IPv6 address conversion system: user terminal accesses IPv4/IPv6 address conversion system
Behind the address destination IP v6 of system, IPv4/IPv6 address conversion system finds the address corresponding destination IP v4, and will receive
In the option on the head of the address the source IP v6 insertion IPv4 data transmission packet of user terminal, the head of IPv4 data transmission packet includes
IPv4 source address and IPv4 destination address send the IPv4 data with the address source IP v6 and transmit packet, by by the prior art
The option byte of IPv4 data transmission packet header is changed to the address source IP v6 of storage user terminal, and solving the prior art can not obtain
The technical issues of knowing by source address corresponding to IPv4/IPv6 address conversion system translated addresses, does not need IPv4/
IPv6 address conversion system does the work such as additional lookup again, so that save the cost improves treatment effeciency.
IPv4/IPv6 address conversion system receives the address source IP v6 at different user end, is reflected according to the address IPv6/IPv4
Firing table is directed toward the preset corresponding target application system (address destination IP v4) in the address each destination IP v6, in a kind of optional implementation
In mode, the address source IP v6 accesses the address destination IP v6, the purpose in the address destination IP v6 and IPv4 data transmission packet
The address IPv4 is corresponding, to guarantee IPv4/IPv6 address conversion system by the IPv4 data transmission packet with the address source IP v6
It is sent to the corresponding application system in the address destination IP v6.
Above-mentioned steps need before sending the IPv4 data transmission packet with the address source IP v6 by destination IP v6 address conversion
To need the address destination IP v4 (application system) accessed, in a kind of optional embodiment, as shown in fig. 6,
Another IPv4/IPv6 data transmission processing method includes:
Step S602 receives the address user terminal corresponding source IP v6 for wanting access to the address the destination IP v4;
The destination IP v6 address conversion is the address the destination IP v4, wherein the destination IP v4 by step S604
Address and the address the source IP v6 are encapsulated in the IPv4 data transmission packet.
The address source IP v6 being embedded into IPv4 data transmission packet header can be specific as follows using a variety of storage modes:
The first plaintext using unencryption or encrypted data, in a kind of optional embodiment, the address source IP v6 is used
The data of unencryption use encrypted data.Second of byte number used can also be with redundancy, in a kind of optional reality
It applies in mode, the option byte for storing the address source IP v6 is more than or equal to 16 bytes.Preferably, the address source IP v6 is stored
Option byte be 16 bytes, this mode more fast improves treatment effeciency.
Above-mentioned all processes are illustrated with an optional embodiment below with reference to Fig. 7:
When the user terminal with the address source IP v6 initiates to visit to NAT64 converting system (IPv4/IPv6 address conversion system)
After the request for asking the address destination IP v6, the IPv6 data packet of user terminal is received by NAT64 converting system, which passes
The address destination IP v6 of the address source IP v6 and NAT64 converting system in defeated packet including user terminal, NAT64 converting system is therefrom
The address source IP v6 for extracting user terminal, then searches the corresponding mesh in the address destination IP v6 in the mapping table of the address IPv6/IPv4 again
The address IPv4, finding the address the destination IP v6 address corresponding destination IP v4 is exactly answering of finding that the user terminal wants access to
With the corresponding address IPv4 of system, then with this address IPv4 address as a purpose, the address IPv4 of NAT64 system itself
As source address, the common head for generating IPv4 data transmission packet, then in the option word on the head of IPv4 data transmission packet
It is embedded in the address source IP v6 of user terminal in section, the transmission of IPv4 data transmission packet is completed later, by the reception of target application system
End receives IPv4 data transmission packet.When target application system receives the IPv4 data transmission packet that NAT64 system is sent
Afterwards, the address source IP v6 being embedded in IPv4 data transmission packet header is extracted, application system can be completed to the ground of IPv6 user terminal
Location is traced to the source function.
The embodiment of the invention also provides a kind of IPv4/IPv6 data transmission processing system, which can pass through reception
Unit 82 realizes its function.It should be noted that a kind of IPv4/IPv6 data transmission processing system of the embodiment of the present invention fills
It sets and can be used for executing a kind of IPv4/IPv6 data transmission processing method, the embodiment of the present invention provided by the embodiment of the present invention
A kind of IPv4/IPv6 data transmission processing method can also through the embodiment of the present invention provided by a kind of IPv4/IPv6 number
It is executed according to transmission process system.
Fig. 8 is a kind of schematic diagram of IPv4/IPv6 data transmission processing system according to an embodiment of the present invention.Such as Fig. 8 institute
Show, a kind of IPv4/IPv6 data transmission processing system includes: the first receiving unit 82, has the address source IP v6 for receiving
IPv4 data transmission packet, the address source IP v6 are stored in the option byte of IPv4 data transmission packet header.
In a kind of optional embodiment, a kind of IPv4/IPv6 data transmission processing system further include: recognition unit,
For transmitting the user terminal that packet identification wants access to the address destination IP v4 according to the IPv4 data.
The embodiment of the invention also provides another IPv4/IPv6 data transmission processing system, which can pass through hair
Unit 92 is sent to realize its function.It should be noted that another IPv4/IPv6 data transmission and processing system of the embodiment of the present invention
System can be used for executing another kind IPv4/IPv6 data transmission processing method provided by the embodiment of the present invention, and the present invention is implemented
Another IPv4/IPv6 data transmission processing method of example can also through the embodiment of the present invention provided by another kind IPv4/
IPv6 data transmission processing system executes.
Fig. 9 is another kind IPv4/IPv6 data transmission processing system schematic diagram according to an embodiment of the present invention.Such as Fig. 9 institute
Show, another IPv4/IPv6 data transmission processing system includes:
Transmission unit 92, for sending the IPv4 data transmission packet for having the address source IP v6, which is stored in this
IPv4 data are transmitted in the option byte of packet header.
In a kind of optional embodiment, a kind of IPv4/IPv6 data transmission processing system further include: second receives list
Member, for receiving the address user terminal corresponding source IP v6 for wanting access to the address destination IP v4;Converting unit, being used for should
Destination IP v6 address conversion is the address purpose IPv4, wherein destination IP v4 address quilt and the address source IP v6 are encapsulated in
In IPv4 data transmission packet.
In the present embodiment, a kind of storage medium is provided, storage medium includes the program of storage, wherein is transported in program
Equipment executes the above method where controlling storage medium when row.
In the present embodiment, a kind of processor is provided, processor includes the program of processor, wherein run in program
When control processor where equipment execute the above method.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
A kind of above-mentioned IPv4/IPv6 data transmission processing system embodiment is and a kind of IPv4/IPv6 data transmission and processing
Method is corresponding, so repeating no more for beneficial effect.
In several embodiments provided herein, it should be understood that disclosed technology contents, it can be by other
Mode realize.Wherein, Installation practice described above is only illustrative, such as the division of unit, can be one kind
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of unit or module,
It can be electrical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple units
On.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product
To be stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or
Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products
Out, which is stored in a storage medium, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of step of each embodiment method of the present invention
Suddenly.And storage medium above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
Various Jie that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk
Matter.
The above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come
It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications should also regard
For protection scope of the present invention.
Claims (13)
1. a kind of IPv4/IPv6 data transmission processing method characterized by comprising
It receives the IPv4 data with the address source IP v6 and transmits packet, the address the source IP v6 is stored in the IPv4 data transmission packet
In the option byte on head.
2. the method according to claim 1, wherein the address the source IP v6 access address destination IP v6, described
The address destination IP v6 is corresponding with the address destination IP v4 in IPv4 data transmission packet.
3. according to the method described in claim 2, it is characterized in that, receiving the IPv4 data transmission packet with the address source IP v6
After include:
It is transmitted and is wrapped with identifying the corresponding source IP v6 of user terminal for wanting access to the address the destination IP v4 according to the IPv4 data
Location.
4. a kind of IPv4/IPv6 data transmission processing method characterized by comprising
It sends the IPv4 data with the address source IP v6 and transmits packet, the address the source IP v6 is stored in the IPv4 data transmission packet
In the option byte on head.
5. according to the method described in claim 4, it is characterized in that, the address the source IP v6 access address destination IP v6, described
The address destination IP v6 is corresponding with the address destination IP v4 in IPv4 data transmission packet.
6. according to the method described in claim 5, it is characterized in that, sending the IPv4 data transmission packet with the address source IP v6
Before include:
Receive the address user terminal corresponding source IP v6 for wanting access to the address the destination IP v4;
It is the address the destination IP v4 by the destination IP v6 address conversion, wherein the address the destination IP v4 and the source
The address IPv6 is encapsulated in the IPv4 data transmission packet.
7. according to claim 1 to method described in 6 any one, which is characterized in that the address the source IP v6 uses unencryption
Data or use encrypted data.
8. according to claim 1 to method described in 6 any one, which is characterized in that store the option of the address the source IP v6
Byte is more than or equal to 16 bytes.
9. according to the method described in claim 8, it is characterized in that, the option byte for storing the address the source IP v6 is 16 words
Section.
10. a kind of IPv4/IPv6 data transmission processing system characterized by comprising
Receiving unit, for receiving the IPv4 data transmission packet for having the address source IP v6, the address the source IP v6 is stored in described
IPv4 data are transmitted in the option byte of packet header.
11. a kind of IPv4/IPv6 data transmission processing system characterized by comprising
Transmission unit, for sending the IPv4 data transmission packet for having the address source IP v6, the address the source IP v6 is stored in described
IPv4 data are transmitted in the option byte of packet header.
12. a kind of storage medium, which is characterized in that preserve program on the storage medium, execution when described program is run
Method described in any one of claims 1 to 6.
13. a kind of processor, which is characterized in that side described in any one of perform claim requirement 1 to 6 when described program is run
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910461716.4A CN110351396A (en) | 2019-05-29 | 2019-05-29 | A kind of IPv4/IPv6 data transmission processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910461716.4A CN110351396A (en) | 2019-05-29 | 2019-05-29 | A kind of IPv4/IPv6 data transmission processing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110351396A true CN110351396A (en) | 2019-10-18 |
Family
ID=68174397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910461716.4A Pending CN110351396A (en) | 2019-05-29 | 2019-05-29 | A kind of IPv4/IPv6 data transmission processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110351396A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101931658A (en) * | 2009-06-26 | 2010-12-29 | 中国移动通信集团公司 | Method and device for communicating with IPv6 host with IPv4 application |
CN102316176A (en) * | 2011-07-27 | 2012-01-11 | 中国科学院计算机网络信息中心 | Packet processing and tracing methods, apparatuses thereof and systems thereof |
CN102377828A (en) * | 2010-08-06 | 2012-03-14 | 中兴通讯股份有限公司 | System and method for user traceablility in NAT environment |
CN102739810A (en) * | 2011-04-07 | 2012-10-17 | 中国电信股份有限公司 | IPv4CP/SP and IPv6 network interworking method and device |
US20130223445A1 (en) * | 2012-02-27 | 2013-08-29 | Microsoft Corporation | Stateful NAT64 Function in a Distributed Architecture |
-
2019
- 2019-05-29 CN CN201910461716.4A patent/CN110351396A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101931658A (en) * | 2009-06-26 | 2010-12-29 | 中国移动通信集团公司 | Method and device for communicating with IPv6 host with IPv4 application |
CN102377828A (en) * | 2010-08-06 | 2012-03-14 | 中兴通讯股份有限公司 | System and method for user traceablility in NAT environment |
CN102739810A (en) * | 2011-04-07 | 2012-10-17 | 中国电信股份有限公司 | IPv4CP/SP and IPv6 network interworking method and device |
CN102316176A (en) * | 2011-07-27 | 2012-01-11 | 中国科学院计算机网络信息中心 | Packet processing and tracing methods, apparatuses thereof and systems thereof |
US20130223445A1 (en) * | 2012-02-27 | 2013-08-29 | Microsoft Corporation | Stateful NAT64 Function in a Distributed Architecture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11356410B2 (en) | Packet transmission method and device, and computer readable storage medium | |
CN101207604B (en) | Virtual machine system and communication processing method thereof | |
CN111131544B (en) | Method for realizing NAT traversal | |
WO2020147647A1 (en) | Message sending method and related device | |
US10182132B2 (en) | Method, apparatus and system for communication between OpenFlow device and IP network device | |
US11178101B1 (en) | Method and apparatus of establishing a connection between devices using cached connection information | |
CN110198229B (en) | Network configuration method and device, storage medium and electronic device | |
US10313302B2 (en) | Methods for NAT (network address translation) traversal and systems using the same | |
EP3566422A1 (en) | Method for data transmission between, on the one hand, an application server, and, on the other hand, at least one internet-of-things communication device using a mobile communication network, mobile communication network, system, internet-of-thing communication device, program and computer program product | |
CN107124483A (en) | Domain name analytic method and server | |
CN106507414B (en) | Message forwarding method and device | |
US9351199B2 (en) | Communication method of wireless terminal and host device according to a network layer data transfer protocol, wireless terminal, and host device | |
EP2561667B1 (en) | Values represented as internet protocol addresses | |
CN111464879B (en) | Data communication method and device | |
CN104426816B (en) | A kind of virtual machine communication method and device | |
US9124598B2 (en) | Method and apparatus of establishing a connection between devices using cached connection information | |
CN112165537B (en) | Virtual IP method for ping reply | |
CN110247998A (en) | A kind of IPv4/IPv6 data transmission processing method and system | |
CN110351396A (en) | A kind of IPv4/IPv6 data transmission processing method and system | |
CN115499392B (en) | Tenant isolation service method, device, and electronic device | |
WO2015184979A1 (en) | Methods and devices for processing packet, sending information, and receiving information | |
CN108337331B (en) | Network penetration method, device and system and network connectivity checking method | |
CN101789979B (en) | Wireless Internet access method and wireless Internet access data card | |
CN107547687B (en) | Message transmission method and device | |
CN112052191A (en) | Message addressing method and device, storage medium and electronic 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191018 |