CN110247998A - 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 PDF

Info

Publication number
CN110247998A
CN110247998A CN201910595854.1A CN201910595854A CN110247998A CN 110247998 A CN110247998 A CN 110247998A CN 201910595854 A CN201910595854 A CN 201910595854A CN 110247998 A CN110247998 A CN 110247998A
Authority
CN
China
Prior art keywords
address
ipv4
source
data transmission
ipv6
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
Application number
CN201910595854.1A
Other languages
Chinese (zh)
Inventor
李�浩
王询亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hongtu Jiadu Communication Equipment Co Ltd
Original Assignee
Beijing Hongtu Jiadu Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hongtu Jiadu Communication Equipment Co Ltd filed Critical Beijing Hongtu Jiadu Communication Equipment Co Ltd
Priority to CN201910595854.1A priority Critical patent/CN110247998A/en
Publication of CN110247998A publication Critical patent/CN110247998A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/251Translation of Internet protocol [IP] addresses between different IP versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields

Landscapes

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

Abstract

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 option byte of IPv4 data transmission packet header, IPv4 data transmission packet is the scheme of TCP data packet, 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

A kind of IPv4/IPv6 data transmission processing method and system
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 turned the address the destination IP v6 access request from user terminal using NAT64 technology It changes, searches out the address the address destination IP v6 access request corresponding destination IP v4, so that can with the user terminal of the address source IP v6 The address destination IP v4 (application system) wanted access to is accessed.When have a plurality of clients (IPv6 user terminal A as shown in figure 1, B, C) when wanting access to the corresponding application system in the address some destination IP v4 by IPv4/IPv6 address conversion system simultaneously, IPv4/IPv6 address conversion system can be being mapped as pair the access request of the address some destination IP v6 from different user end The address destination IP v4 answered, the address this destination IP v4 are exactly the application system that a plurality of clients want access to, and are passing through the mesh The address IPv4 access application system after return result to user terminal, IPv6 user terminal A, B, C successfully use the ground of IPv6 at this time Location is 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 user The application system for accessing no address IPv6 is realized at end, but since application system does not have the address IPv6, using IPv4 agreement Communicated with IPv4/IPv6 address conversion system, IPv4/IPv6 address conversion system by the address IPv6 with being converted into IPv4 Location, the source address when data packet is transmitted to application system in data packet become the address source IP v4 from the address source IP v6, so Only with respect to the information of the address IPv4 in the communication message of application system and IPv4/IPv6 address conversion system, not about The information of the address IPv6, it is which user terminal (address source IP v6) wants access to the application system that application system, which can not just be learnt, (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 the IPv4 data transmission packet header Option byte in, IPv4 data transmission packet is TCP data packet.
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, the IPv4 data transmission packet is TCP data packet.
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 visit Ask the address user terminal corresponding source IP v6 of the address the destination IP v4;It is the purpose 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.
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, and the IPv4 data transmission packet is TCP data packet.
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, and the IPv4 data transmission packet is TCP data packet.
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, and the IPv4 data transmission packet is TCP number According to packet, solving the prior art through the invention can not according to the IPv4 after the conversion of IPv4/IPv6 address conversion system The technical issues of source IP address v6 of user terminal, is learnt in location, consequently facilitating application system finds access source address and according to access originator Other subsequent operations processing is done in address, for example 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 people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
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 using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of IPv4/IPv6 data transmission processing method embodiment is provided, needs to illustrate It is that step shown in the flowchart of the accompanying drawings can execute in a computer system such as a set of computer executable instructions, Also, although logical order is shown in flow charts, and it in some cases, can be to be different from sequence execution herein 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 using system 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, and the IPv4 data transmission packet is TCP data packet.
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 transmission packet Afterwards, the address source IP v6 in the option byte for being stored in IPv4 data transmission packet header can be extracted, the address source IP v6 is intended to The address IPv6 of the user terminal of the application system (address IPv4) is accessed, different user terminals is with corresponding to different source IP v6 Location, 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 can be as shown in figure 3, the head that the transmission of IPv4 data is wrapped The minimum length of structure is 20 bytes, and 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) when Between stamp, 4) source routing.Prior art IPv4 data transmission packet header only stores information relevant to IPv4, and in function 4) In specify is the address IPv4 routed among the next stop.And the present embodiment is unlike the prior art, stores in option byte The source IP v6 address information of user terminal, and address conversion system upper level can be recognized according to source IP v6 address information User terminal whom is, by by prior art IPv4 data transmit packet header option byte be changed to storage user terminal source IP v6 Address, solving the prior art can not learn by source address corresponding to IPv4/IPv6 address conversion system translated addresses The technical issues of, consequently facilitating application system finds the address source IP v6 of access and does other subsequent operations according to access source address Processing, such as the access number etc. of the address Statistic Source IPv6.By with increasing IPv6 in the option portion in Transmission Control Protocol packet header Location, may be implemented the data transmission of the TCP/IP packet between distinct device, while the address IPv6 can be passed through the option in the packet header TCP It is partially transferred to target device.
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, one In the optional embodiment of kind, that is, the address source IP v6 accesses the address destination IP v6, the address destination IP v6 and the IPv4 data The address destination IP v4 in transmission packet is corresponding, thus guarantee that application system can search out corresponding user terminal, the correspondence Relationship can be with preset in advance in IPv6/IPv4 address mapping table, which can be set in IPv4/ It in IPv6 address conversion system, also can be set in DNS name resolution server, by accessing DNS name resolution server Find 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 In, as shown in figure 4, a kind of IPv4/IPv6 data transmission processing method further include: step S104 is transmitted according to the IPv4 data Packet identification wants access to the user terminal of the address destination IP v4.By the above method application system is more easily learnt to think Access the user terminal of 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, and the IPv4 data transmission packet is TCP data packet.
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 The address destination IP v6 after, IPv4/IPv6 address conversion system finds the address corresponding destination IP v4, and the user that will be received In the option on the head of the address the source IP v6 insertion IPv4 data transmission packet at end, the head of IPv4 data transmission packet includes the source IPv4 Address and IPv4 destination address send the IPv4 data with the address source IP v6 and transmit packet, by by prior art IPv4 data Transmission packet header option byte be changed to storage user terminal the source address I Pv6, solve the prior art can not learn by The technical issues of source address corresponding to IPv4/IPv6 address conversion system translated addresses, does not need the address IPv4/IPv6 and turns It changes system and 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, according to IPv6/IPv4 address of cache 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 embodiment In, the address source IP v6 accesses the address destination IP v6, the destination IP v4 in the address destination IP v6 and IPv4 data transmission packet Address is corresponding, to guarantee that IPv4/IPv6 address conversion system sends the IPv4 data transmission packet with the address source IP v6 Give the address destination IP v6 corresponding application system.
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 by step S604, wherein the destination IP v4 Location and the address the source IP v6 are encapsulated in the IPv4 data transmission packet, and the IPv4 data transmission packet is TCP data 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 is 16 bytes, and 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, IPv6 data transmission The address destination IP v6 of the address source IP v6 and NAT64 converting system in packet including user terminal, NAT64 converting system are therefrom extracted Then the corresponding purpose in the address destination IP v6 in the mapping table of the address IPv6/IPv4 is searched in the address source IP v6 of user terminal again The address IPv4, finding the address the destination IP v6 address corresponding destination IP v4 is exactly the application system for finding the user terminal and wanting access to It unites the corresponding address IPv4, then with this address IPv4 address as a purpose, the address IPv4 of NAT64 system itself is as source Address, the common head for generating IPv4 data transmission packet are then embedding in the option byte on the head of IPv4 data transmission packet The transmission of IPv4 data transmission packet is completed in the address source IP v6 at access customer end later, is received by the receiving end of target application system IPv4 data transmission packet.After target application system receives the IPv4 data transmission packet that NAT64 system is sent, extract The address source IP v6 that is embedded in IPv4 data transmission packet header can complete application system and trace to the source function to the address of IPv6 user terminal Energy.
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 device of the embodiment of the present invention It can be used for executing a kind of IPv4/IPv6 data transmission processing method provided by the embodiment of the present invention, 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 data Transmission process system executes.
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, the IPv4 number It is TCP data packet according to transmission packet.
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 processing system of the embodiment of the present invention It can be used for executing another kind IPv4/IPv6 data transmission processing method, the embodiment of the present invention provided by the embodiment of the present invention Another IPv4/IPv6 data transmission processing method 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, and the IPv4 data transmission packet is TCP data packet.
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 is used for the mesh IPv6 address conversion be the address purpose IPv4, wherein destination IP v4 address quilt and the address source IP v6 are encapsulated in IPv4 In 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 can pass through others Mode is realized.Wherein, Installation practice described above is only illustrative, such as the division of unit, can be patrolled for one kind Volume function division, there may be another division manner in actual implementation, such as multiple units or components can combine or can be with It is integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of unit or module, can To be electrically or in the form of others.
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 The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
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 also should be regarded as Protection scope of the present invention.

Claims (10)

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, the IPv4 data transmission packet is TCP data packet.
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, the IPv4 data transmission packet is TCP data packet.
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 processor, which is characterized in that side described in any one of perform claim requirement 1 to 6 when described program is run Method.
CN201910595854.1A 2019-07-03 2019-07-03 A kind of IPv4/IPv6 data transmission processing method and system Pending CN110247998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910595854.1A CN110247998A (en) 2019-07-03 2019-07-03 A kind of IPv4/IPv6 data transmission processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910595854.1A CN110247998A (en) 2019-07-03 2019-07-03 A kind of IPv4/IPv6 data transmission processing method and system

Publications (1)

Publication Number Publication Date
CN110247998A true CN110247998A (en) 2019-09-17

Family

ID=67890914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910595854.1A Pending CN110247998A (en) 2019-07-03 2019-07-03 A kind of IPv4/IPv6 data transmission processing method and system

Country Status (1)

Country Link
CN (1) CN110247998A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116566943A (en) * 2023-07-12 2023-08-08 明阳时创(北京)科技有限公司 Lightweight direct-conversion relay method and system for audio and video streams

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179564A (en) * 2007-08-10 2008-05-14 华中科技大学 Link layer automatic request retransmission based TCP packet header compression method and system thereof
CN102316176A (en) * 2011-07-27 2012-01-11 中国科学院计算机网络信息中心 Packet processing and tracing methods, apparatuses thereof and systems thereof
CN102739810A (en) * 2011-04-07 2012-10-17 中国电信股份有限公司 IPv4CP/SP and IPv6 network interworking method and device
US20160380963A1 (en) * 2014-02-28 2016-12-29 Zte Corporation Method and Device for Processing IPv6 Address, and DHCPv6 Relay Equipment
CN107580084A (en) * 2017-09-22 2018-01-12 北京京东尚科信息技术有限公司 A kind of method and apparatus for obtaining the true source IP address of packet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179564A (en) * 2007-08-10 2008-05-14 华中科技大学 Link layer automatic request retransmission based TCP packet header compression method and system thereof
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
US20160380963A1 (en) * 2014-02-28 2016-12-29 Zte Corporation Method and Device for Processing IPv6 Address, and DHCPv6 Relay Equipment
CN107580084A (en) * 2017-09-22 2018-01-12 北京京东尚科信息技术有限公司 A kind of method and apparatus for obtaining the true source IP address of packet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116566943A (en) * 2023-07-12 2023-08-08 明阳时创(北京)科技有限公司 Lightweight direct-conversion relay method and system for audio and video streams

Similar Documents

Publication Publication Date Title
US11356410B2 (en) Packet transmission method and device, and computer readable storage medium
CN108377671B (en) Method and computer equipment for processing message
EP3422656B1 (en) Udp protocol acceleration method and system
CN110266713A (en) Intranet and extranet communication means, device, system and proxy server and storage medium
CN111131544B (en) Method for realizing NAT traversal
CN109196842B (en) Session keeping method, device and storage medium
CN103916294A (en) Identification method and device for protocol type
US20150289301A1 (en) Terminal matching method, terminal and system
CN110198229B (en) Network configuration method and device, storage medium and electronic device
CN107124483A (en) Domain name analytic method and server
CN106507414B (en) Message forwarding method and device
CN102238059A (en) Data message processing method and system and access service node
CN106549989A (en) A kind of data transmission method and its system, user terminal, application server
US9351199B2 (en) Communication method of wireless terminal and host device according to a network layer data transfer protocol, wireless terminal, and host device
CN110225150A (en) Communication means, system and storage medium between different network protocol
CN110460641A (en) Data transmission method, apparatus and system
CN102333210A (en) Video data storage method and equipment
CN111147598A (en) HTTP message processing method and device
CN113163024B (en) Message processing method, server and storage medium
CN110247998A (en) A kind of IPv4/IPv6 data transmission processing method and system
CN112165537B (en) Virtual IP method for ping reply
CN111464879B (en) Data communication method and device
CN104579939A (en) Protecting method and device for gateway
CN104969533B (en) A kind of data package processing method and device
CN107534585A (en) Communication means and terminal

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

Application publication date: 20190917

RJ01 Rejection of invention patent application after publication