CN103248574B - A kind of IPv4 network and the mixing network method of IPv6 network and system - Google Patents

A kind of IPv4 network and the mixing network method of IPv6 network and system Download PDF

Info

Publication number
CN103248574B
CN103248574B CN201310164067.4A CN201310164067A CN103248574B CN 103248574 B CN103248574 B CN 103248574B CN 201310164067 A CN201310164067 A CN 201310164067A CN 103248574 B CN103248574 B CN 103248574B
Authority
CN
China
Prior art keywords
network
ipv6
message
ipv4
sent
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.)
Expired - Fee Related
Application number
CN201310164067.4A
Other languages
Chinese (zh)
Other versions
CN103248574A (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.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon 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 Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201310164067.4A priority Critical patent/CN103248574B/en
Publication of CN103248574A publication Critical patent/CN103248574A/en
Application granted granted Critical
Publication of CN103248574B publication Critical patent/CN103248574B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of IPv4 network and the mixing network method of IPv6 network, comprises the following steps: S1, be packaged message to be sent so that it is include IPv4 heading and IPv6 heading;S2, according to current network type, the association message head of described message to be sent is carried out route querying, and described message to be sent is forwarded.The present invention, by encapsulating two IP heads to message to be sent, when message passes through mixed net, looks only for the IP head being correlated with, and ignores IP head incoherent with current network, it is achieved that the non-maintaining purpose exempting to change IP address.

Description

A kind of IPv4 network and the mixing network method of IPv6 network and system
Technical field
The present invention relates to computer network field, particularly to a kind of IPv4 network and IPv6 network Mixing network method and system.
Background technology
IPv6 is the IP of future generation for substituting existing IPv4 that Internet Engineering group (IETF) designs Agreement, the problem solving IPv4 address exhaustion.Due to the application of IPv6 be one incremental Process, IPv4 network and IPv6 network can exist simultaneously and needs are in communication with each other in for a long time, But, IPv4 node host is to differ with IPv6 node host due to the design structure of IP layer protocol , so can not directly communicate, then when message must be through the network of IPv4 and the net of IPv6 During network, message directly cannot be forwarded.
Based on this, prior art needs to be improved really.
Summary of the invention
For the deficiencies in the prior art, the present invention provides the mixed net of a kind of IPv4 network and IPv6 network Method and system so that message can pass through IPv4 network and the IPv6 network of mixed net, and by directly Forward.
For realizing object above, the present invention is achieved by the following technical programs:
The present invention provides a kind of IPv4 network and the mixing network method of IPv6 network, comprises the following steps:
S1, message to be sent is packaged so that it is include IPv4 heading and IPv6 heading;
S2, according to current network type, the association message head of described message to be sent is carried out road By searching, and described message to be sent is forwarded.
Preferably, described step S2 farther includes:
S21, judge the type of current network, if described current network is IPv4 network, then perform Step S22, if described current network is IPv6 network, then performs step S23;
S22, IPv4 heading to described message to be sent carry out route querying, and treat described Send message and make IPv4 forwarding;
S23, IPv6 heading to described message to be sent carry out route querying, and treat described Send message and make IPv6 forwarding.
The present invention also provides for the mixed net system of a kind of IPv4 network and IPv6 network, includes:
Encapsulation unit, for being packaged message to be sent so that it is include IPv4 heading With IPv6 heading;
Route querying unit, for according to current network type, the phase to described message to be sent Close heading and carry out route querying, and described message to be sent is forwarded.
Preferably, described route querying unit farther includes:
Judgment sub-unit, is used for judging that current network type is IPv4 network or IPv6 network;
IPv4 route querying subelement, for when described current network is IPv4 network, to described The IPv4 heading of message to be sent carries out route querying, and described message to be sent is made IPv4 Forward;
IPv6 route querying subelement, for when described current network is IPv6 network, to described The IPv6 heading of message to be sent carries out route querying, and described message to be sent is made IPv6 Forward.
The present invention provides a kind of IPv4 network and the mixing network method of IPv6 network and system, by being treated Send message two IP heads of encapsulation, when message passes through mixed net, look only for the IP head being correlated with, and neglect Slightly incoherent with current network IP head, it is achieved that the non-maintaining purpose exempting to change IP address, and this Invention is when realizing, and old networking mode need not change, and only need to increase new IPv6 in old network Equipment can realize.
Accompanying drawing explanation
Fig. 1 is the flow chart of one embodiment of the invention;
Fig. 2 is the system block diagram of one embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment, the detailed description of the invention of the present invention is made the most in detail Describe.Following example are used for illustrating the present invention, but are not limited to the scope of the present invention.
The present invention provides a kind of IPv4 network and the mixing network method of IPv6 network, comprises the following steps:
S1, message to be sent is packaged so that it is include IPv4 heading and IPv6 heading;
S2, according to current network type, the association message head of described message to be sent is carried out road By searching, and described message to be sent is forwarded.
As it is shown in figure 1, the specific embodiment of the invention is as follows:
A, message to be sent is packaged so that it is include IPv4 heading and IPv6 heading;
B, judge the type of current network, if described current network is IPv4 network, then perform step Rapid C, if described current network is IPv6 network, then performs step D;
C, IPv4 heading to described message to be sent carry out route querying, and by described pending Literary composition of delivering newspaper is made IPv4 and is forwarded;
D, IPv6 heading to described message to be sent carry out route querying, and by described pending Literary composition of delivering newspaper is made IPv6 and is forwarded.
The present invention also provides for the mixed net system of a kind of IPv4 network and IPv6 network, includes:
Encapsulation unit, for being packaged message to be sent so that it is include IPv4 heading With IPv6 heading;
Route querying unit, for according to current network type, the phase to described message to be sent Close heading and carry out route querying, and described message to be sent is forwarded.
Preferably, described route querying unit farther includes:
Judgment sub-unit, is used for judging that current network type is IPv4 network or IPv6 network;
IPv4 route querying subelement, for when described current network is IPv4 network, to described The IPv4 heading of message to be sent carries out route querying, and described message to be sent is made IPv4 Forward;
IPv6 route querying subelement, for when described current network is IPv6 network, to described The IPv6 heading of message to be sent carries out route querying, and described message to be sent is made IPv6 Forwarding, its corresponding block diagram is as shown in Figure 2.
The present invention provides a kind of IPv4 network and the mixing network method of IPv6 network and system, by being treated Send message two IP heads of encapsulation, when message passes through mixed net, look only for the IP head being correlated with, and neglect Slightly incoherent with current network IP head, it is achieved that the non-maintaining purpose exempting to change IP address, and this Invention is when realizing, and old networking mode need not change, and only need to increase new IPv6 in old network Equipment can realize.
Embodiment of above is merely to illustrate the present invention, and not limitation of the present invention, relevant The those of ordinary skill of technical field, without departing from the spirit and scope of the present invention, Can also make a variety of changes and modification, the technical scheme of the most all equivalents falls within the present invention Category, the scope of patent protection of the present invention should be defined by the claims.

Claims (4)

1. an IPv4 network and the mixing network method of IPv6 network, it is characterised in that include following Step:
S1, in old network, increase new IPv6 equipment, message to be sent is packaged, makes It includes IPv4 heading and IPv6 heading;
S2, according to current network type, the association message head of described message to be sent is carried out road By searching, and described message to be sent is forwarded.
2. the method for claim 1, it is characterised in that described step S2 is wrapped further Include:
S21, judge the type of current network, if described current network is IPv4 network, then perform Step S22, if described current network is IPv6 network, then performs step S23;
S22, IPv4 heading to described message to be sent carry out route querying, and treat described Send message and make IPv4 forwarding;
S23, IPv6 heading to described message to be sent carry out route querying, and treat described Send message and make IPv6 forwarding.
3. an IPv4 network and the mixed net system of IPv6 network, it is characterised in that include:
Encapsulation unit, for increasing new IPv6 equipment in old network, enters message to be sent Row encapsulation so that it is include IPv4 heading and IPv6 heading;
Route querying unit, for according to current network type, the phase to described message to be sent Close heading and carry out route querying, and described message to be sent is forwarded.
4. system as claimed in claim 3, it is characterised in that described route querying unit enters One step includes:
Judgment sub-unit, is used for judging that current network type is IPv4 network or IPv6 network;
IPv4 route querying subelement, for when described current network is IPv4 network, to described The IPv4 heading of message to be sent carries out route querying, and described message to be sent is made IPv4 Forward;
IPv6 route querying subelement, for when described current network is IPv6 network, to described The IPv6 heading of message to be sent carries out route querying, and described message to be sent is made IPv6 Forward.
CN201310164067.4A 2013-05-07 2013-05-07 A kind of IPv4 network and the mixing network method of IPv6 network and system Expired - Fee Related CN103248574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310164067.4A CN103248574B (en) 2013-05-07 2013-05-07 A kind of IPv4 network and the mixing network method of IPv6 network and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310164067.4A CN103248574B (en) 2013-05-07 2013-05-07 A kind of IPv4 network and the mixing network method of IPv6 network and system

Publications (2)

Publication Number Publication Date
CN103248574A CN103248574A (en) 2013-08-14
CN103248574B true CN103248574B (en) 2016-08-31

Family

ID=48927802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310164067.4A Expired - Fee Related CN103248574B (en) 2013-05-07 2013-05-07 A kind of IPv4 network and the mixing network method of IPv6 network and system

Country Status (1)

Country Link
CN (1) CN103248574B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127679A (en) * 2006-08-18 2008-02-20 冼剑光 Method for Internet address expansion
CN101184038A (en) * 2007-11-05 2008-05-21 中国网络通信集团公司 Subscriber terminal and information receiving and transmitting method
EP2051449A1 (en) * 2006-07-28 2009-04-22 Huawei Technologies Co Ltd A device and method for carrying out the node roaming in internet protocol version 6 network
CN102970386A (en) * 2012-11-15 2013-03-13 杭州迪普科技有限公司 Method and device for realizing traverse of IPv6 message to IPv4 network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136841B (en) * 2006-08-28 2011-08-24 中兴通讯股份有限公司 Field programmable gate array based tunnel implementing device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2051449A1 (en) * 2006-07-28 2009-04-22 Huawei Technologies Co Ltd A device and method for carrying out the node roaming in internet protocol version 6 network
CN101127679A (en) * 2006-08-18 2008-02-20 冼剑光 Method for Internet address expansion
CN101184038A (en) * 2007-11-05 2008-05-21 中国网络通信集团公司 Subscriber terminal and information receiving and transmitting method
CN102970386A (en) * 2012-11-15 2013-03-13 杭州迪普科技有限公司 Method and device for realizing traverse of IPv6 message to IPv4 network

Also Published As

Publication number Publication date
CN103248574A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN102301663B (en) Message processing method and associated devices
CN102970227B (en) The method and apparatus of VXLAN message repeating is realized in ASIC
CN110266592A (en) The communication means and device of SRV6 network and IP MPLS network
CN104184664B (en) Route forwarding table items generation method and device
CN102790811B (en) A kind of method and apparatus of cross-over NAT equipment in monitor network
DE602005014022D1 (en) METHODS, COMMUNICATION SYSTEMS AND MOBILE ROUTERS FOR ROUTING DATA PACKAGES FROM A PORTABLE NETWORK TO A HOME NETWORK OF THE MOBILE NETWORK
CN102957589A (en) Method, network node and system for service data transmission
CN106549873A (en) Communication means and system between a kind of isomery controller
TWI437852B (en) Gateway equipment
WO2017054202A1 (en) Data routing method and apparatus
WO2013005996A3 (en) Apparatus for transmitting and receiving data by selectively using plurality of heterogeneous networks on basis of fixed host address and method therefor
CN103200068B (en) A kind of based on customer service Multiple tunnel transmitting device
CN103795630A (en) Message transmitting method and device of label switching network
CN105991555A (en) 6LoWPAN-based network connection method and system
CN105933235B (en) Data communications method and device
CN101640635A (en) Method for avoiding message recombination in 6over4 tunnel and system therefor
CN104717640B (en) A kind of implementation method of the wireless communication based on positioning
CN104038421B (en) A kind of VPN message forwarding methods and device
CN103384222B (en) A kind of method of data stream matches ACL
CN107623640A (en) A kind of method and device for strengthening hash algorithm
CN103248574B (en) A kind of IPv4 network and the mixing network method of IPv6 network and system
CN102857415B (en) Routing bridge and device and method for controlling media access control address study
CN103236980A (en) Router and method for implementing unnumbered broadcasting ports of router
CN102868642A (en) Method and device for achieving NVGRE message transmission in application specific integrated circuit (ASIC)
CN103825972B (en) A kind of IPv6 tunnel communication method based on ICMPv6

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160831

Termination date: 20180507