CN104158918B - IPv4 and IPv6 interoperability methods and system - Google Patents

IPv4 and IPv6 interoperability methods and system Download PDF

Info

Publication number
CN104158918B
CN104158918B CN201410346025.7A CN201410346025A CN104158918B CN 104158918 B CN104158918 B CN 104158918B CN 201410346025 A CN201410346025 A CN 201410346025A CN 104158918 B CN104158918 B CN 104158918B
Authority
CN
China
Prior art keywords
converted
data bag
ipv6
ipv4
bag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410346025.7A
Other languages
Chinese (zh)
Other versions
CN104158918A (en
Inventor
张会锋
杨峰
陈康先
陈文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GCI Science and Technology Co Ltd
Original Assignee
GCI Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GCI Science and Technology Co Ltd filed Critical GCI Science and Technology Co Ltd
Priority to CN201410346025.7A priority Critical patent/CN104158918B/en
Publication of CN104158918A publication Critical patent/CN104158918A/en
Application granted granted Critical
Publication of CN104158918B publication Critical patent/CN104158918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of IPv4 and IPv6 interoperability methods and system, methods described includes step:Data message to be converted is obtained, data message to be converted is converted into two-dimensional array forms preprocessed data bag, and the preprocessed data bag is write in shared drive to be converted;Preprocessed data bag is read from shared drive to be converted, and is that target data form forms change data bag by preprocessed data bag Parallel transformation by GPU, the change data bag is write in transformation result shared drive;Change data bag is read from transformation result shared drive, and the change data bag is converted into network data frame format and forms target data message.GPU processing is transferred into IPv4/IPv6 conversion calculating, conversion efficiency can be accelerated and reduce network congestion, lifts network service quality, and can be shared system resource, reduce the performance requirement to high speed network processor, reduce the deployment cost of system.

Description

IPv4 and IPv6 interoperability methods and system
【Technical field】
The present invention relates to network transmission technology, more particularly to a kind of IPv4 and IPv6 interoperability methods and system.
【Background technology】
With the further development and popularization of internet, the especially application such as mobile Internet, Internet of Things is fast-developing, The problem of IPv4 (Internet Protocol version4, Internet protocol fourth edition) address space deficiency, increasingly highlights, The problem of address resource exhaustion, seriously constrains the application and development of China and other countries internet.IPv6(Internet Protocol version6, Internet protocol sixth version) obtained as the basic of next generation network with its distinct technical advantage Extensive accreditation, at present many countries all actively pushing forward Next Generation Internet technology including IPv6 networks including and answering With.Due to the IPv4 equipment of substantial amounts and user in current Internet, existing IPv4 networks can not possibly be complete in a short time Portion upgrades to IPv6 networks, IPv4 and IPv6 networks are by long-term co-existence.IPv4 and IPv6 Interworking gateway is as IPv4/IPv6 transition One of important application of technology, efficiently solve the problems, such as the IPv4/IPv6 interconnection and interflows of transitional environment lower network.
Current IPv4 and IPv6 Interworking gateway is formed hard using high speed network processor and high performance universal calculating platform Part platform, the transmitting-receiving of the IPv4 and IPv6 network datas of big handling capacity is realized on high speed network processor, in high performance universal The software of the functions such as IPv4 and IPv6 interworking protocol and application gateway, network management is run in calculating platform, so as to form IPv4 and IPv6 Interworking gateway.
Because the interworking protocol has substantial amounts of calculating process, so needing to expend substantial amounts of computing resource, and work as The big flow business such as modern internet access facility numerous and a large amount of voice, videos so that network traffic data drastically increases It is long, cause IPv4 and IPv6 Interworking gateway needs to carry out substantial amounts of conversion calculating, and universal high speed network processing unit using Serial computing mode, disposal ability are limited so that while the session number of link is restricted, and is easily caused network congestion, is caused Network service quality reduces.Meanwhile in order to support more IPv4 and IPv6 intercommunications conversion connection numbers as far as possible and improve Service Quality Amount, high performance CPU (Central Processing Unit, central processing unit) need to be typically used, and increase more calculate Hardware board resource, IPv4 and IPv6 intercommunicating system deployment costs are caused to increase.
【The content of the invention】
Based on this, it is necessary to easily there is the problem of network congestion for IPv4 and IPv6 Interworking gateway in the prior art, A kind of IPv4 and IPv6 interoperability methods and system are provided, GPU (Graphic Processing Unit, graphics process can be passed through Device) IPv4 and IPv6 data rapid translatings quickly are realized, avoid network congestion.
A kind of IPv4 and IPv6 interoperability methods, including step:
Data message to be converted is obtained, data message to be converted is converted into two-dimensional array forms preprocessed data bag, and The preprocessed data bag is write in shared drive to be converted;
Preprocessed data bag is read from shared drive to be converted, and is by preprocessed data bag Parallel transformation by GPU Target data form forms change data bag, and the change data bag is write in transformation result shared drive;
Change data bag is read from transformation result shared drive, and the change data bag is converted into network data frame Form forms target data message.
Correspondingly, the present invention also provides a kind of IPv4 and IPv6 intercommunicating systems, including:
Pretreatment module, for obtaining data message to be converted, data message to be converted is converted into two-dimensional array and formed Preprocessed data bag, and the preprocessed data bag is write in shared drive to be converted;
First modular converter, for reading preprocessed data bag from shared drive to be converted, and it will be pre-processed by GPU Packet Parallel transformation is that target data form forms change data bag, and the change data bag is write into transformation result shared drive In;
Second modular converter, for reading change data bag from transformation result shared drive, and by the change data Bag is converted to network data frame format and forms target data message.
The present invention by by data message to be converted enter row format be converted to two-dimensional array with formed GPU can handle it is pre- Processing data bag, it is then that target data form forms change data bag by preprocessed data bag Parallel transformation by GPU, and will In change data bag write-in GPU transformation result shared drives, finally change data is read from GPU transformation result shared drives Bag, and the change data bag is converted into network data frame format and forms target data message.Because GPU has powerful meter Calculation ability, therefore by the way that IPv4/IPv6 conversion calculating is transferred into GPU processing, conversion efficiency can be accelerated, reduce network congestion, Network service quality is lifted, and IPv4/IPv6 conversions can be reduced and calculate shared system resource so that is reduced at a high speed The performance requirement of network processing unit, reduce the deployment cost of system.
【Brief description of the drawings】
Fig. 1 is a kind of a kind of flow chart of embodiment of IPv4 and IPv6 interoperability methods of the present invention;
Fig. 2 is a kind of a kind of structured flowchart of embodiment of IPv4 and IPv6 intercommunicating systems of the present invention.
【Embodiment】
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into One step it is described in detail.
Referring to Fig. 1, it is a kind of a kind of flow chart of embodiment of IPv4 and IPv6 interoperability methods of the present invention.
A kind of IPv4 and IPv6 interoperability methods, including step:
S101:Data message to be converted is obtained, data message to be converted is converted into two-dimensional array forms preprocessed data Bag, and the preprocessed data bag is write in shared drive to be converted;
Because data message to be converted is one-dimensional data message format, and the treatable data format of GPU institutes is fixed length Two-dimensional array, so, it is necessary to which data message to be converted is converted into two-dimensional array after data message to be converted is obtained Form is to form the preprocessed data bag that GPU can be handled.To enable GPU to read preprocessed data bag, it is necessary to will be described pre- Processing data bag writes shared drive to be converted.
S102:Preprocessed data bag is read from shared drive to be converted, and is turned preprocessed data bag parallel by GPU It is changed to target data form and forms change data bag, the change data bag is write in transformation result shared drive;
Preprocessed data bag is read from shared drive to be converted by GPU, because GPU has parallel processing capability, because One or at least one preprocessed data bag once can be read by GPU for this.
By the preprocessed data bag Parallel transformation it is target data form shape by GPU after reading preprocessed data bag Into change data bag.After GUP reads preprocessed data bag, the network address of the preprocessed data bag is identified first, if net Network address is IPv6 addresses, then its object format is the two-dimensional array form corresponding to IPv4 addresses, i.e., by preprocessed data bag Be converted to the two-dimensional array form corresponding to IPv4 addresses.If network address is IPv4 addresses, its object format is IPv6 Two dimensional data layout corresponding to address, i.e., preprocessed data bag is converted into the two dimensional data layout corresponding to IPv6 addresses.
After GPU completes the conversion of target data form, the change data bag is write into transformation result shared drive so that CPU can read the change data bag.
S103:Change data bag is read from transformation result shared drive, and the change data bag is converted into network Data frame format forms target data message.
Data message due to being sent to network is one-dimensional frame format, and the change data passed through GPU to change and formed Bag is the data format of two-dimensional array, therefore, it is necessary to by described in after reading change data bag from transformation result shared drive Change data bag is converted to network data frame format and forms target data message.
The present invention by by data message to be converted enter row format be converted to two-dimensional array with formed GPU can handle it is pre- Processing data bag, it is then that target data form forms change data bag by preprocessed data bag Parallel transformation by GPU, and will In change data bag write-in GPU transformation result shared drives, finally change data is read from GPU transformation result shared drives Bag, and the change data bag is converted into network data frame format and forms target data message.Because GPU has powerful meter Calculation ability, therefore by the way that IPv4/IPv6 conversion calculating is transferred into GPU processing, conversion efficiency can be accelerated, reduce network congestion, Network service quality is lifted, and IPv4/IPv6 conversions can be reduced and calculate shared system resource so that is reduced at a high speed The performance requirement of network processing unit, reduce the deployment cost of system.
In one embodiment, by preprocessed data bag Parallel transformation it is target data by GPU in above-mentioned steps S102 Form forms the step of change data bag, may particularly include following steps:
S201:If the network address of preprocessed data bag is IPv4 addresses, IPv4 addresses are set as by private by GPU There are IPv4 addresses, IPv6 addresses corresponding with private ip v4 addresses are obtained from default private ip v4 address pools, and will be pre- IPv4 headings are converted into IPv6 headings corresponding with the IPv6 addresses in processing data bag;
Wherein, the private ip v4 address pools comprise at least the mapping relations of a private ip v4 address and IPv6 addresses.
If the network address of preprocessed data bag is IPv4 addresses, illustrate to wait to turn corresponding to the preprocessed data bag It is to be sent to IPv6 networks by IPv4 networks to change data message.Now, first the network address of preprocessed data bag is set as Private ip v4 addresses, then searched from private ip v4 address pools and obtain the IPv6 addresses corresponding to private ip v4 addresses, IPv4 headings in preprocessed data bag are finally converted into IPv6 headings corresponding with the IPv6 addresses.
S202:If the network address of preprocessed data bag is IPv6 addresses, by GPU from private ip v4 address pools Private ip v4 addresses corresponding with the IPv6 addresses are obtained, and IPv6 headings in preprocessed data bag are converted into and the private There are IPv4 headings corresponding to IPv4.
If the network address of preprocessed data bag is IPv6 addresses, illustrate to wait to turn corresponding to the preprocessed data bag It is to be sent to IPv4 networks by IPv6 networks to change data message.Now, searched from private ip v4 address pools and obtain this Private ip v4 addresses corresponding to IPv6 addresses, then by IPv6 headings in preprocessed data bag be converted into it is described privately owned IPv4 headings corresponding to IPv4 addresses.Wherein, the source address in the IPv4 headings is converted into private corresponding to the IPv6 addresses There are IPv4 addresses.
Private ip v4 addresses and IPv6 addresses in private ip v4 address pools are obtained according to the network address of preprocessed data bag Mapping relations, then IPv4 heading is converted into by IPv6 headings by GPU or is converted into IPv6 heading IPv4 headings so that public IP v4 addresses need not be taken among IPv4 and IPv6 transfer processes, with reducing public IP v4 The use of location.
In one embodiment, data message step to be converted is obtained described in above-mentioned steps S101, specifically may include with Lower step.
S301:Incoming data message to be converted is received, and data message to be converted is saved in receiving queue;
Incoming data message to be converted is received by physical network card or net distribution engine, then will be described to be converted Data message is saved in receiving queue.
S302:Data message to be converted is read from receiving queue.
Need to expend the regular hour due to performing IPv4/IPv6 intercommunication transfer processes, it is big when having in the short time in network When the data message to be converted of amount needs conversion, because GPU has little time to change, so as to packet loss phenomenon occur so that Network Packet Loss Rate raises so that network transmission quality reduces.By the way that data message to be converted is saved in receiving queue, then again from reception Data message to be converted is read in queue, packet loss phenomenon can be reduced, ensures network transmission quality.
In one embodiment, data message to be converted is converted into two-dimensional array in above-mentioned steps S101 and forms pretreatment Packet step, may particularly include following steps:
S401:Data message to be converted is split according to default byte length;
By GPU treatable data format be fixed length two-dimensional array, so the byte length is the two dimension The line width of array, for example, the treatable data format of a certain GPU institutes is that line width is 16 bytes, arrange the two of a height of 100 bytes Dimension group, then default byte length is then 16 bytes.After the byte length is determined, it will be treated according to the byte length Change data message is divided into some sections, for example, a certain data message length to be converted is 158 bytes, according to 16 bytes It is split, then the data message to be converted can be divided into 10 sections.
S402:Data message to be converted after segmentation is spliced into composition two-dimensional array in order, forms preprocessed data bag.
By each section of the data message to be converted after segmentation, as the row of two-dimensional array, splicing composition is two-dimentional in order Array is to form preprocessed data bag.For example, using the first paragraph of the data message to be converted after segmentation as the of two-dimensional array A line, second row of the second segment as two-dimensional array, the like.
By the way that pending data message is split according to default byte length, and splicing composition two-dimensional array in sequence Form preprocessed data bag so that GPU can directly carry out IPv4/IPv6 conversions to preprocessed data bag and calculate, and mitigate GPU Work load.
Referring to Fig. 2, it is a kind of a kind of structured flowchart of embodiment of IPv4 and IPv6 intercommunicating systems of the present invention.
A kind of Pv4 and IPv6 intercommunication gateway systems, including:
Pretreatment module 201, for obtaining data message to be converted, data message to be converted is converted into two-dimensional array shape Write into preprocessed data bag, and by the preprocessed data bag in shared drive to be converted;
Because data message to be converted is one-dimensional data message format, and the treatable data format of GPU institutes is fixed length Two-dimensional array, so pretreatment module 201 after data message to be converted is obtained, it is necessary to which data message to be converted is changed Into the form of two-dimensional array to form the preprocessed data bag that GPU can be handled.To enable GPU to read preprocessed data bag, Pretreatment module 201 needs the preprocessed data bag writing shared drive to be converted.
First modular converter 202, for reading preprocessed data bag from shared drive to be converted, and will be pre- by GPU Processing data bag Parallel transformation is that target data form forms change data bag, and change data bag write-in transformation result is shared In internal memory;
Preprocessed data bag is read from shared drive to be converted by GPU, because GPU has parallel processing capability, because One or at least one preprocessed data bag once can be read by GPU for this.
After reading preprocessed data bag, the preprocessed data bag Parallel transformation is by the first modular converter 202 by GPU Target data form forms change data bag.After first modular converter 202 reads preprocessed data bag by GUP, identify first The network address of the preprocessed data bag, if network address is IPv6 addresses, its object format is right for IPv4 addresses The two-dimensional array form answered, i.e. the first modular converter 202 are converted to preprocessed data bag corresponding to IPv4 addresses by GPU Two-dimensional array form.If network address is IPv4 addresses, its object format is the 2-D data lattice corresponding to IPv6 addresses Formula, i.e. the first modular converter 202 are converted to preprocessed data bag by GPU the two dimensional data layout corresponding to IPv6 addresses.
After GPU completes the conversion of target data form, the change data bag is write transformation result by the first modular converter 202 Shared drive so that CPU can read the change data bag.
Second modular converter 203, for reading change data bag from transformation result shared drive, and by the conversion number Network data frame format, which is converted to, according to bag forms target data message.
Data message due to being sent to network is one-dimensional frame format, and the change data passed through GPU to change and formed Bag is the data format of two-dimensional array, therefore, it is necessary to second turn after reading change data bag from transformation result shared drive The change data bag is converted to network data frame format and forms target data message by mold changing block 203.
Data message to be converted is entered row format by pretreatment module 201 and is converted to two-dimensional array to be formed by the present invention The preprocessed data bag that GPU can be handled, then the first modular converter 202 be by preprocessed data bag Parallel transformation by GPU Target data form forms change data bag, and the change data bag is write in GPU transformation result shared drives, the second last Modular converter 203 reads change data bag from GPU transformation result shared drives, and the change data bag is converted into network Data frame format forms target data message.Because GPU has powerful computing capability, therefore the first modular converter 202 passes through GPU processing is transferred into IPv4/IPv6 conversion calculating, conversion efficiency can be accelerated, reduce network congestion, lift network service matter Amount, and IPv4/IPv6 conversions can be reduced and calculate shared system resource so that reduce the property to high speed network processor It can require, reduce the deployment cost of system.
In one embodiment, above-mentioned first modular converter 202, may particularly include following submodule:
First address conversion module, will by GPU if the network address for preprocessed data bag is IPv4 addresses IPv4 addresses are set as private ip v4 addresses, are obtained from default private ip v4 address pools corresponding with private ip v4 addresses IPv6 addresses, and IPv4 headings in preprocessed data bag are converted into IPv6 headings corresponding with the IPv6 addresses;
Wherein, the private ip v4 address pools comprise at least the mapping relations of a private ip v4 address and IPv6 addresses.
If the network address of preprocessed data bag is IPv4 addresses, illustrate to wait to turn corresponding to the preprocessed data bag It is to be sent to IPv6 networks by IPv4 networks to change data message.Now, the first address conversion module is first by preprocessed data bag Network address be set as private ip v4 addresses, then the first address conversion module is searched and obtained from private ip v4 address pools IPv6 addresses corresponding to private ip v4 addresses, last first address conversion module is by IPv4 headings in preprocessed data bag It is converted into IPv6 headings corresponding with the IPv6 addresses.
Second address conversion module, if the network address for preprocessed data bag is IPv6 addresses, by GPU from Private ip v4 addresses corresponding with the IPv6 addresses are obtained in default private ip v4 address pools, and by preprocessed data bag IPv6 headings are converted into IPv4 headings corresponding with the private ip v4.
If the network address of preprocessed data bag is IPv6 addresses, illustrate to wait to turn corresponding to the preprocessed data bag It is to be sent to IPv4 networks by IPv6 networks to change data message.Now, the second address conversion module is from private ip v4 address pools Middle search simultaneously obtains the private ip v4 addresses corresponding to the IPv6 addresses, and then the second address conversion module is by preprocessed data bag Middle IPv6 headings are converted into IPv4 headings corresponding with the private ip v4 addresses.Wherein, the source in the IPv4 headings Private ip v4 addresses corresponding to address conversion into the IPv6 addresses.
Private ip v4 addresses and IPv6 addresses in private ip v4 address pools are obtained according to the network address of preprocessed data bag Mapping relations, IPv4 heading is converted into by the first address conversion module or the second address conversion module by GPU again IPv6 heading is converted into IPv4 headings by IPv6 headings so that need not among IPv4 and IPv6 transfer processes Public IP v4 addresses are taken, reduce the use of public IP v4 addresses.
In one embodiment, above-mentioned pretreatment module 201 specifically may include following submodule.
Receiving module, for receiving incoming data message to be converted, and data message to be converted is saved in and receives team In row;
Receiving module receives incoming data message to be converted by physical network card or net distribution engine, then receives The data message to be converted is saved in receiving queue by module.
Read module, for reading data message to be converted from receiving queue.
Need to expend the regular hour due to performing IPv4/IPv6 intercommunication transfer processes, it is big when having in the short time in network When the data message to be converted of amount needs conversion, because GPU has little time to change, so as to packet loss phenomenon occur so that Network Packet Loss Rate raises so that network transmission quality reduces.Data message to be converted is saved in receiving queue by receiving module, then Read data message to be converted from receiving queue by read module again, packet loss phenomenon can be reduced, ensure network transmission matter Amount.
In one embodiment, above-mentioned pretreatment module 201 may include following submodule:
Split module, for being split data message to be converted according to default byte length;
By GPU treatable data format be fixed length two-dimensional array, so the byte length is the two dimension The line width of array, for example, the treatable data format of a certain GPU institutes is that line width is 16 bytes, arrange the two of a height of 100 bytes Dimension group, default byte length are then 16 bytes.After the byte length is determined, segmentation module is according to the byte long Data message to be converted is divided into some sections by degree, for example, a certain data message length to be converted is 158 bytes, splits mould Block is split according to 16 bytes to it, then the data message to be converted can be divided into 10 sections.
Concatenation module, for the data message to be converted after segmentation to be spliced into composition two-dimensional array in order, form pre- place Manage packet.
Concatenation module as the row of two-dimensional array, splices each section of the data message to be converted after segmentation in order Two-dimensional array is formed to form preprocessed data bag.For example, concatenation module is by the first paragraph of the data message to be converted after segmentation As the first row of two-dimensional array, second row of the second segment as two-dimensional array, the like.
Pending data message is split according to default byte length by splitting module, concatenation module is spelled in sequence Connect composition two-dimensional array and form preprocessed data bag so that GPU can directly carry out IPv4/IPv6 to preprocessed data bag and turn Calculating is changed, mitigates GPU work load.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (6)

1. a kind of IPv4 and IPv6 interoperability methods, it is characterised in that including step:
Data message to be converted is obtained, data message to be converted is converted into two-dimensional array forms preprocessed data bag, and by institute Preprocessed data bag is stated to write in shared drive to be converted;Data message to be converted is one-dimensional data message format;
Preprocessed data bag is read from shared drive to be converted, and is target by preprocessed data bag Parallel transformation by GPU Data format forms change data bag, and the change data bag is write in transformation result shared drive;It is described to be shared to be converted Preprocessed data bag is read in internal memory, including:At least two pretreatment numbers are once read from shared drive to be converted by GPU According to bag;
Change data bag is read from transformation result shared drive, and the change data bag is converted into network data frame format Form target data message;
It is described that preprocessed data bag Parallel transformation is formed by change data bag step, specific bag for target data form by GPU Include:
If the network address of preprocessed data bag is IPv4 addresses, by GPU by IPv4 addresses with being set as private ip v4 Location, obtains corresponding with private ip v4 addresses IPv6 addresses from default private ip v4 address pools, and by preprocessed data IPv4 headings are converted into IPv6 headings corresponding with the IPv6 addresses in bag;Wherein, the private ip v4 address pools are extremely Include the mapping relations of a private ip v4 address and IPv6 addresses less;
If the network address of preprocessed data bag is IPv6 addresses, obtained by GPU from default private ip v4 address pools Take private ip v4 addresses corresponding with the IPv6 addresses, by IPv6 headings in preprocessed data bag be converted into it is described privately owned IPv4 headings corresponding to IPv4.
2. IPv4 and IPv6 interoperability methods according to claim 1, it is characterised in that described to obtain data message to be converted Step, specifically include:
Incoming data message to be converted is received, and data message to be converted is saved in receiving queue;
Data message to be converted is read from receiving queue.
3. IPv4 and IPv6 interoperability methods according to claim 1, it is characterised in that described to turn data message to be converted Change two-dimensional array into and form preprocessed data bag step, specifically include:
Data message to be converted is split according to default byte length;
Data message to be converted after segmentation is spliced into composition two-dimensional array in order, forms preprocessed data bag.
A kind of 4. IPv4 and IPv6 intercommunicating systems, it is characterised in that including:
Pretreatment module, for obtaining data message to be converted, data message to be converted is converted into two-dimensional array and forms pre- place Packet is managed, and the preprocessed data bag is write in shared drive to be converted;Data message to be converted is one-dimensional data Message format;
First modular converter, for reading preprocessed data bag from shared drive to be converted, and by GPU by preprocessed data Bag Parallel transformation is that target data form forms change data bag, and the change data bag is write in transformation result shared drive; The reading preprocessed data bag from shared drive to be converted, including:Once read from shared drive to be converted by GPU At least two preprocessed data bags;
Second modular converter, turn for reading change data bag from transformation result shared drive, and by the change data bag It is changed to network data frame format and forms target data message;
First modular converter specifically includes:
First address conversion module, if the network address for preprocessed data bag is IPv4 addresses, by GPU by IPv4 Address is set as private ip v4 addresses, and IPv6 corresponding with private ip v4 addresses is obtained from default private ip v4 address pools Address, and IPv4 headings in preprocessed data bag are converted into IPv6 headings corresponding with the IPv6 addresses;Wherein, institute State mapping relations of the private ip v4 address pools including at least a private ip v4 address and IPv6 addresses;
Second address conversion module, if the network address for preprocessed data bag is IPv6 addresses, by GPU from default Private ip v4 address pools in obtain corresponding with IPv6 addresses private ip v4 addresses, and IPv6 in preprocessed data bag is reported Literary head is converted into IPv4 headings corresponding with the private ip v4.
5. IPv4 and IPv6 intercommunicating systems according to claim 4, it is characterised in that the pretreatment module includes:
Receiving module, it is saved in for receiving incoming data message to be converted, and by data message to be converted in receiving queue;
Read module, for reading data message to be converted from receiving queue.
6. IPv4 and IPv6 intercommunicating systems according to claim 4, it is characterised in that the pretreatment module also includes:
Split module, for being split data message to be converted according to default byte length;
Concatenation module, for the data message to be converted after segmentation to be spliced into composition two-dimensional array in order, form pretreatment number According to bag.
CN201410346025.7A 2014-07-18 2014-07-18 IPv4 and IPv6 interoperability methods and system Active CN104158918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410346025.7A CN104158918B (en) 2014-07-18 2014-07-18 IPv4 and IPv6 interoperability methods and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410346025.7A CN104158918B (en) 2014-07-18 2014-07-18 IPv4 and IPv6 interoperability methods and system

Publications (2)

Publication Number Publication Date
CN104158918A CN104158918A (en) 2014-11-19
CN104158918B true CN104158918B (en) 2018-03-13

Family

ID=51884323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410346025.7A Active CN104158918B (en) 2014-07-18 2014-07-18 IPv4 and IPv6 interoperability methods and system

Country Status (1)

Country Link
CN (1) CN104158918B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120601A (en) * 2018-07-24 2019-01-01 深圳市天威视讯股份有限公司 IPv4 and IPv6 interoperability methods and system based on program request signaling
CN111416862B (en) * 2020-03-20 2021-06-15 福建万物易联网络科技有限公司 CDN platform access method and system based on IPV6IPV4

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543152A (en) * 2003-04-28 2004-11-03 普天信息技术研究院 A multi-protocol data gateway and method for implementing communication thereof
CN1564542A (en) * 2004-04-20 2005-01-12 清华大学 Tunnel set-up method for carrying out internet of IPV4 network on IPV6 network
CN101227408A (en) * 2008-02-02 2008-07-23 中兴通讯股份有限公司 Method for IPv4 internal private network to visit IPv6 network and router thereof
CN102209121A (en) * 2010-03-29 2011-10-05 杭州华三通信技术有限公司 Method and device for intercommunication between Internet protocol version 6 (IPv6) network and Internet protocol version 4 (IPv4) network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9753778B2 (en) * 2012-07-20 2017-09-05 Microsoft Technology Licensing, Llc Domain-agnostic resource allocation framework

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543152A (en) * 2003-04-28 2004-11-03 普天信息技术研究院 A multi-protocol data gateway and method for implementing communication thereof
CN1564542A (en) * 2004-04-20 2005-01-12 清华大学 Tunnel set-up method for carrying out internet of IPV4 network on IPV6 network
CN101227408A (en) * 2008-02-02 2008-07-23 中兴通讯股份有限公司 Method for IPv4 internal private network to visit IPv6 network and router thereof
CN102209121A (en) * 2010-03-29 2011-10-05 杭州华三通信技术有限公司 Method and device for intercommunication between Internet protocol version 6 (IPv6) network and Internet protocol version 4 (IPv4) network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"PacketShader: a GPU Accelerated Software Router";Han S,Jang K,Park KS,et al.;《ACM SIGCOMM Computer Communication Review》;20100903;195-206 *

Also Published As

Publication number Publication date
CN104158918A (en) 2014-11-19

Similar Documents

Publication Publication Date Title
JP6087922B2 (en) Communication control method and gateway
CN101355558B (en) Data processing apparatus and data transfer method
CN108270676B (en) Network data processing method and device based on Intel DPDK
CN103023827A (en) Data forwarding method for virtualized data centre and realization equipment of data forwarding method
CN103077148B (en) A kind of host communication method of Based PC IE and main frame
US20190324917A1 (en) Method, apparatus, and computer program product for managing addresses in distributed system
US9253089B2 (en) System and method for routing using path identifiers
US20220236908A1 (en) Method, electronic device and computer program product for processing data
CN109803016A (en) A kind of method and apparatus using virtual switch forwarding data packet
CN102122256A (en) Pipe-type communication method and system for interprocess communication
US10621124B2 (en) Method, device and computer program product for enabling SR-IOV functions in endpoint device
CN104158918B (en) IPv4 and IPv6 interoperability methods and system
CN113746749A (en) Network connection device
EP3159802A1 (en) Sharing method and device for pcie i/o device and interconnection system
CN103716245A (en) Edge router based on virtual special-purpose local area network
CN105095150A (en) Network interface supporting network-on-chip
CN1832488A (en) System and method for inter connecting SP14 equipment and PCI Express equipment
CN114244915A (en) Data transmission method and device supporting multiple protocols and storage medium
CN107577541A (en) A kind of application and a kind of call method of component
CN103888364A (en) Message shunting method and device
WO2024082944A1 (en) Method and apparatus for data exchange between multiple processors, device, and storage medium
JP2011018184A (en) System and method for transferring data
CN106790162B (en) Virtual network optimization method and system
CN103064749A (en) Inter-process communication method
CN109168185B (en) Network scanning method and device based on network name space

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant