CN103634415B - Reduce system, the device and method of network address gauge outfit - Google Patents

Reduce system, the device and method of network address gauge outfit Download PDF

Info

Publication number
CN103634415B
CN103634415B CN201210301622.9A CN201210301622A CN103634415B CN 103634415 B CN103634415 B CN 103634415B CN 201210301622 A CN201210301622 A CN 201210301622A CN 103634415 B CN103634415 B CN 103634415B
Authority
CN
China
Prior art keywords
address
package
network
gauge outfit
network communication
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
CN201210301622.9A
Other languages
Chinese (zh)
Other versions
CN103634415A (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.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai Ltd
Hon Hai Precision Industry 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 Ambit Microsystems Shanghai Ltd, Hon Hai Precision Industry Co Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201210301622.9A priority Critical patent/CN103634415B/en
Publication of CN103634415A publication Critical patent/CN103634415A/en
Application granted granted Critical
Publication of CN103634415B publication Critical patent/CN103634415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

A kind of method for reducing network address gauge outfit, is implemented in network communication device.When the network communication device obtains network service package, the first address changed in the IPv4 gauge outfits of the package indexes as the first image.Indexed according to first image to produce minimum effective section in the IPv6 gauge outfits of the package in address field, use and the package is packaged using the IPv6 gauge outfits.The IPv4 gauge outfits of the package can be reduced using the minimum effectively section in address field in IPv6 gauge outfits, so can choose whether to remove IPv4 gauge outfits when sending the package.Present invention also offers a kind of system and device for reducing network address gauge outfit.The system of above-mentioned reduction network address gauge outfit, device and method can reduce network address gauge outfit, the efficiency of increase package carrying live data.

Description

Reduce system, the device and method of network address gauge outfit
Technical field
The present invention relates to a kind of network communications technology, in particular to a kind of system for reducing network address gauge outfit, device And method.
Background technology
Network communication protocol fourth edition (Internet protocol version 4, abbreviation IPv4) has been made for a long time For internet addressing standard.The problem of though quantity of IPv4 addresses is limited more, and address is finished in several years soon is just It will emerge.Network communication protocol sixth version (Internet protocol version 4, abbreviation IPv6) is developed To solve the problems, such as IPv4 IP address deficiency.IPv6 has the address of 128 (bit), more succinct gauge head structure, changes Good service quality (quality of service, abbreviation QoS) and security.
But longer package address gauge outfit can reduce the processing speed of router and network node, and then influence internet Overall operation efficiency.Particularly multimedia data stream, such as the networking telephone (Voice Over Internet Protocol, Abbreviation VoIP) or video conference (video conference) by network transfer delay and shake (jitter) influence it is very big.
In fact, being widely used because IPv4 is existing, the internet in the short time based on IPv4 is difficult to directly turn Change to IPv6.During IPv4 networks are gradually substituted by IPv6, IPv4 can temporal coexistence with IPv6 networks.
IPv4 is present in the network that IPv4 is combined with IPv6 simultaneously with IPv6 main frame, router, in package transmit process IPv4 and the simultaneous situation of IPv6 gauge outfits are had, the environment (IPv4over being for example built in IPv4 on IPv6 IPv6) or in IPv6 it is built in the environment on IPv4 (IPv6over IPv4).IPv4 can aggravate table with the presence simultaneously of IPv6 gauge outfits The problem of leading address processing.
The content of the invention
In order to solve the above problems, the embodiment of the present invention provides a kind of method for reducing network address gauge outfit, is implemented in net Network communicator, this method comprise the following steps:
The first package in obtaining from source device to the communication of destination device, wherein being filled from the source device to the purpose The communication put passes through the first network with the first addressing method and the second network with the second addressing method.It is if described First package has to represent the first gauge outfit of the first address, and first address meets first addressing method, then The first address for obtaining and changing first package indexes as the first image.Indexed according to first image to produce symbol Two address minimum effective section of second addressing method is closed, uses to utilize representing two address second gauge outfit First package is packaged.It is to utilize second ground wherein according to the package routing of second addressing method work Higher effectively section rather than the minimum effective section of location, and the minimum effectively section is included to obtain described first The main key assignments of address.In the presence of the existing index identical index with first image in the first database, described in removal First gauge outfit of first package;Exist when not indexed in first database with first image index identical When, the record of first package and first image index is established in first database, and retain described first First gauge outfit of package.Transmit first package.
Preferably, first addressing method is network communication protocol fourth edition or UDP, and described Second addressing method network communication protocol sixth version.
Preferably, the two address minimum effectively section forms connecing for the address field in second gauge outfit Multiple least significant bits of mouth identification field.
Preferably, first package by the network communication device connecting network communication protocol sixth version net The port of network is to be transmitted.
Preferably, methods described also includes:Address is performed to first address exchange operation and meet described the to produce The first of one addressing system turns to address, wherein the arrangement position of the source address and destination address in first address, Exchanged in the first steering address.Address is turned to according to described first to produce the first relative indexing.Receiving tool When having the first follow-up package of first relative indexing, turn to ground according to first relative indexing to recover described first Location, wherein the first steering address forms the 3rd address for meeting first addressing method, wherein the described first relative rope Draw the four address minimum effective section for forming and meeting second addressing method, and the 4th table of the first follow-up package Head represents the 4th address.The described first follow-up package is sealed using the 3rd gauge outfit for representing the first steering address Dress.Remove the 4th gauge outfit of the described first follow-up package.Transmit the described first follow-up package.
Preferably, the described first follow-up package by the network communication device connecting network communication protocol the 6th The port of version network is to be received.
Preferably, methods described also includes:By the network communication device connecting network communication protocol the 4th The port of version network is to transmit the described first follow-up package.
The embodiment of the present invention provides a kind of network communication device for reducing network address gauge outfit, including communication unit and processing Device.The communication unit obtain from source device to the communication of destination device in the first package, wherein from the source device to institute The communication for stating destination device passes through the first network with the first addressing method and the second net with the second addressing method Network.The processor connects single cell, and performs the method for reducing network address gauge outfit, and methods described includes:It is if described First package has to represent the first gauge outfit of the first address, and first address meets first addressing method, then The first address for obtaining and changing first package indexes as the first image.Indexed according to first image to produce symbol Two address minimum effective section of second addressing method is closed, uses to utilize representing two address second gauge outfit First package is packaged, wherein being to utilize second ground according to the package routing of second addressing method work Higher effectively section rather than the minimum effective section of location, and the minimum effectively section is included to obtain described first The main key assignments of address.In the presence of the existing index identical index with first image in the first database, described in removal First gauge outfit of first package;Exist when not indexed in first database with first image index identical When, the record of first package and first image index is established in first database, and retain described first First gauge outfit of package.Transmit first package.
Preferably, first addressing method is network communication protocol fourth edition or UDP, and described Second addressing method network communication protocol sixth version.
Preferably, wherein the minimum effectively section of second address forms the address field in second gauge outfit Interface identification field multiple least significant bits.
Preferably, wherein first package by the network communication device connecting network communication protocol the 6th The port of version network is to be transmitted.
Preferably, methods described also includes:Address is performed to first address exchange operation and meet described the to produce The first of one addressing system turns to address, wherein the arrangement position of the source address and destination address in first address, Exchanged in the first steering address.Address is turned to according to described first to produce the first relative indexing.Receiving tool When having the first follow-up package of first relative indexing, turn to ground according to first relative indexing to recover described first Location, wherein the first steering address forms the 3rd address for meeting first addressing method, wherein the described first relative rope Draw the four address minimum effective section for forming and meeting second addressing method, and the 4th table of the first follow-up package Head represents the 4th address.The described first follow-up package is sealed using the 3rd gauge outfit for representing the first steering address Dress.Remove the 4th gauge outfit of the described first follow-up package.Transmit the described first follow-up package.
Preferably, wherein the first follow-up package by the network communication device connecting network communication protocol The port of sixth version network is to be received.
Preferably, methods described also includes:By the network communication device connecting network communication protocol the 4th The port of version network is to transmit the described first follow-up package.
The embodiment of the present invention provides a kind of network system for reducing network address gauge outfit, including first network communicator. The first network communicator obtain from source device to the communication of destination device in the first package, wherein from the source device To the destination device the communication by the first network with the first addressing method and with the second addressing method the Two networks, and the method for reducing network address gauge outfit is performed, methods described includes:
If first package has to represent the first gauge outfit of the first address, and first address meets described the One addressing method, then the first address for obtaining and changing first package index as the first image.Reflected according to described first Picture index meets two address minimum effective section of second addressing method to produce, and uses to utilize representing described second Second gauge outfit of address is packaged to first package, wherein being according to the package routing of second addressing method work Using two address higher effectively section rather than minimum effective section, and the minimum effectively section is included and used To obtain the main key assignments of first address.Deposited when existing in the first database with first image index identical index When, remove first gauge outfit of first package;When in first database not with first image index In the presence of identical index, the record of first package and first image index is established in first database, And retain first gauge outfit of first package.Transmit first package.
Preferably, first addressing method is network communication protocol fourth edition or UDP, and described Second addressing method network communication protocol sixth version.
Preferably, wherein the minimum effectively section of second address forms the address field in second gauge outfit Interface identification field multiple least significant bits.
Preferably, methods described also includes:Address is performed to first address exchange operation and meet described the to produce The first of one addressing system turns to address, wherein the arrangement position of the source address and destination address in first address, Exchanged in the first steering address.Address is turned to according to described first to produce the first relative indexing.Receiving tool When having the first follow-up package of first relative indexing, turn to ground according to first relative indexing to recover described first Location, wherein the first steering address forms the 3rd address for meeting first addressing method, wherein the described first relative rope Draw the four address minimum effective section for forming and meeting second addressing method, and the 4th table of the first follow-up package Head represents the 4th address.The described first follow-up package is sealed using the 3rd gauge outfit for representing the first steering address Dress.Remove the 4th gauge outfit of the described first follow-up package.Transmit the described first follow-up package.
Preferably, described network system also includes:Second network communication device performs the recovery side of network address gauge outfit Method, the restored method include:By the use of the described the two address minimum effectively section as the main key, described in record The corresponding relation of first address and the minimum effectively section is in a database.
Preferably, the restored method includes:If first gauge outfit of first package has removed, described is utilized The two address minimum effectively section finds first address in the database as the main key.Using institute The first address is stated to recover first gauge outfit of first package.
The system of above-mentioned reduction network address gauge outfit, device and method can reduce network address gauge outfit, and increase package is held Carry the efficiency of live data.
By description combination accompanying drawing detailed to embodiment below, can easily understand the content and this The plurality of advantages of invention.
Brief description of the drawings
Fig. 1 systems show the network communication device Organization Chart of the reduction network address gauge outfit of the embodiment of the present invention.
Fig. 2 systems show the network system schematic diagram of the reduction network address gauge outfit of the embodiment of the present invention.
Fig. 3 systems show the step flow chart of the method for the reduction network address gauge outfit of the embodiment of the present invention.
Fig. 4 systems show the network package of the embodiment of the present invention and the schematic diagram of gauge outfit.
Fig. 5 systems show the network package of the embodiment of the present invention and the schematic diagram of gauge outfit.
Fig. 6 systems show the step flow of the restored method of the network communication protocol fourth edition address gauge outfit of the embodiment of the present invention Figure.
Fig. 7 systems show the network package of the embodiment of the present invention and the schematic diagram of gauge outfit.
Fig. 8 systems show the network package of the embodiment of the present invention and the schematic diagram of gauge outfit.
Main element symbol description
Network communication device 100,100A, 100B
Port 101,101A, 101B, 102,102A, 102B
Processor 151
Main storage 152
Nonvolatile memory 153
Communication unit 156
Modular converter 160
Address exchanges operation 161
Database 165,166
Network gateway device 200A, 200B
NTU 220A, 220B
IPv4 networks 202A, 202B
IPv6 networks 206
Package 300,300B, 300C
Effectively carrying data 301
IPv4 gauge outfits 310
First turns to address 310A
IPv4 gauge outfits 310B, 310D
Source IP v4 addresses 311
Purpose IPv4 address 312,320B
Image index 320
First relative indexing 320A
IPv6 gauge outfits 330,330B
Source IP v6 addresses 331
Purpose IPv6 addresses 332
Universe routing prefix 3311
Subnet identification code 3312
Interface identifies field 3313
Universe routing prefix 3321
Subnet identification code 3322
Interface identifies field 3323
Record 410,430
Corresponding relation 420
Embodiment
In order to allow the present invention feature and feature can become apparent, preferred embodiment cited below particularly, and coordinate institute's accompanying drawing Formula Fig. 1 to Fig. 8, do detailed explanation.Description of the invention provides different embodiments to illustrate different embodiments of the present invention Technical characteristic.Wherein, the configuration system of each component in embodiment is purposes of discussion, is not intended to limit the present invention.And implement The part of reference numerals repeats in example, is the relevance being not meant as between different embodiments for the purpose of simplifying the description.
The present invention reduces the system of network address gauge outfit, device and method embodiment party is described as follows:
Disclosed herein reduction network address gauge outfit system and network equipment can with implementation into an independent table apparatus, Or it is integrated in a variety of network gateway devices or NTU.The network gateway device includes bridger (bridge), router (router), the network switch (switch) or Wireless network connection equipment (access point).Institute State NTU such as set top box, mobile phone, tablet personal computer (tablet personal computer), above-knee Type computer (laptop computer), multimedia player, digital camera, personal digital assistant (personal Digital assistant, abbreviation PDA), guider or mobile Internet access device (mobile internet device, MID)。
Reference picture 1, processor 151 are the central processing unit of network communication device 100, can be by integrated circuit (Integrated Circuit, abbreviation IC) is formed, and to processing data and performs computer program.Network communication device 100 Assembly connecting mode as shown in figure 1, serial or parallel bus or radio communication channel can be used to form.
Communication unit 156 establishes communication channel, makes network communication device 100 long-range to be connected to by the communication channel And near-end main frame, and carry out network service with package with the long-range and near-end main frame.For example, communication unit 156 passes through Port 102 is with connecting wan network and distance host, and by port 101 to connect LAN and near-end main frame.
The communication unit 156 can connect internet or institute by wired connection to establish wired network communication channel State remote server.The communication unit 156 includes the component software and nextport hardware component NextPort established needed for wired network communication channel. The component software includes the program code that electronic calculator can perform.The nextport hardware component NextPort includes circuit, IC and network connection Port.
In addition, communication unit 156 can establish radio communication channel, make mobile device, such as NTU, pass through The radio communication channel is to be connected to network communication device 100 and exchange data.The communication unit 156 can include day Line, fundamental frequency (base band) and radio frequency (radio frequency, abbreviation RF) chipset are carrying out WLAN (wireless local area network, abbreviation wireless LAN) communication, infrared communication and/or cellular communications System communicates, such as broadband Code Division Multiple Access (Wideband Code Division Multiple Access, abbreviation W- ) and high-speed downstream packet access (High Speed Downlink Packet Access, abbreviation HSDPA) CDMA.By described The radio communication channel of foundation, the network communication device 100 can make mobile device as the access point of WLAN Internet (Internet) can be connected by described access point.
The processor 151 can be made up of the IC of single encapsulation, or more identical functions of connection or difference in functionality Encapsulation IC and form.For example, processor 151 can only include central processing unit (Central Processing Unit, abbreviation CPU), or CPU, digital signal processor (digital signal processor, abbreviation DSP) and logical Believe the combination of the control chip of controller (such as communication unit 156).The communication controler can include Ethernet (EthernetTM), cellular type communications system communication, infrared ray, bluetooth (BluetoothTM) or WLAN communication control Device processed.CPU can be single arithmetic core or the CPU of multioperation core.Described communication controler is controlling network service The communication of each component in device 100, or the communication of network communication device 100 and external device (ED), and can support in directly Access (Direct Memory Access).
Nonvolatile memory 153 stores the operating system and application program performed by processor 151.The processor 151 From the load operating program of Nonvolatile memory 153 and Data Data to main storage 152.The main storage 152 can be DRAM (Random Access Memory, abbreviation RAM), such as static random access memory (Static RAM, abbreviation SRAM) or DRAM (Dynamic RAM, abbreviation DRAM).The Nonvolatile memory 153 can be with It is that electronics can be removed and can plan read-only storage (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM) or flash memory (flash memory), such as anti-or (NOR) flash memory or anti-and (NAND) flash memory.
Fig. 2 display present invention reduces the embodiment schematic diagram of the system of network address gauge outfit.Network communication device 100A And two examples that 100B is network communication device 100.The network communication device 100A passes through port 102A connection IPv6 nets Network 206, and connect by the IPv6 networks 206 the port 102B of the network communication device 100B.
The network communication device 100A passes through the network gateway device 200A in port 101A connection IPv4 networks 202A. The network gateway device 200A connection NTUs 220A.The network communication device 100B is connected by port 101B Network gateway device 200B in IPv4 networks 202B.The network gateway device 200B connection NTUs 220B.Institute State network communication device 100 and IPv4 networks are connected by port 101, and IPv6 networks are connected by port 102.The port 101A and 101B is the example of the port 101.The port 102A and 102B is the example of the port 102
Reference picture 3, the network communication device 100 perform the method for reducing network address gauge outfit when transmitting package.With The lower example by using the network communication device 100A as the network communication device 100 explains.The following steps are by described The processor 151 of network communication device performs.The processor 151 obtain from source device to the communication of destination device in first During package 300, differentiate whether 4over6 functions start (step S2).The source device can be the network communication device 100 The device that itself or the network communication device 100 are connected.In Fig. 2 network communication device 100A examples, network service Processor 151 in device 100A can obtain first package 300 from port 101A.First package 300 can be The package sent from the network gateway device 200A or described NTUs 220A, and it is sent to network gateway device 200B or described NTUs 220B.Therefore the communication with first package 300 will be by seeking with IPv4 The first network of location method and the second network with IPv6 addressing methods.
The 4over6 functions are that the function that channel passes through by IPv4 package is established in IPv6 networks.If 4over6 work( Can be not actuated, then terminate the flow of methods described.If 4over6 functions have been turned on, step S3 is performed.The processor 151 exists Effective carrying data (payload) and the processing (step S3) of gauge outfit of the package are performed in step S3.For example, it is described , in step s3 will be from the phone when connecting telephone set if function of the network communication device 100 with voip gateway device The audio that machine receives is changed to produce real time transport control protocol (Real-time Transport Protocol, RTP) package As effective carrying data, and produce the IPv4 gauge outfits of the RTP packages.
If as shown in figure 4, first package 300 has to represent to meet the IPv4 gauge outfits of IPv4 the first address 310, before first package 300 is delivered into IPv6 networks 206, the processor 151 obtains first package 300 simultaneously Using modular converter 160 320 (step S8) are indexed to change the first address of first package 300 as image.Described One address includes the source IP v4 addresses 311 and purpose IPv4 addresses 312 of first package 300.For example, the image rope Draw the binary number that 320 be 32.The embodiment of modular converter 160 includes hash (hash) function to by first envelope First address conversion of bag 300 turns into an image and indexes 320.Although in this embodiment with above-mentioned first package 300 IPv4 gauge outfits 310 index 320 by above-mentioned modular converter 160 to produce image, but can also use in other embodiments UDP (User Datagram Protocol, UDP) gauge outfit of above-mentioned first package 300 passes through above-mentioned modulus of conversion Block 160 indexes 320 to produce image.
Reference picture 5, the processor 151 meet the second of IPv6 addressing methods according to image index 320 to produce Minimum effective section of address.In Fig. 5, the processor 151 is sealed using IPv6 gauge outfits 330 to first package 300 Dress.The IPv6 gauge outfits 330 include source IP v6 addresses 331 and purpose IPv6 addresses 332.Before IPv6 address includes universe routing Sew (global routing prefix), subnet identification code (subnet identification) and interface identification field (interface identification).Therefore, the source IP v6 addresses 331 include universe routing prefix 3311, subnet is known Other code 3312 and interface identify field 3313, and the purpose IPv6 addresses 332 include universe routing prefix 3321, subnet identifies Code 3322 and interface identification field 3323.Interface identification field 3313 and 3323 be respectively the source IP v6 addresses 331 and Minimum effective section of the purpose IPv6 addresses 332.The image index 320 may be constructed the interface identification field 3313 Or 3323.
Package routing work in IPv6 addressing methods is the higher effectively section rather than described minimum using IPv6 addresses Effective section.Therefore image index 320 is inserted in the interface identification field 3313 or 3323, can not influenceed described Routing of first package 300 in IPv6 networks.
After the image index 320 is produced, whether the processor 151 checks to have in database 165 reflects with described As index 320 identicals index has (step S10).If it is present in image index 320 identicals index described In database 165, then it represents that first package 300 is between the source IP v4 addresses 311 and the purpose IPv4 addresses 312 Between communication first package, the processor 151 needs to establish first package 300 in the database 165 With the record 410 of image index 320.Also, the processor 151 produces first envelope with image index 320 The IPv6 gauge outfits of bag 300, and to retain the IPv4 gauge outfits 310 of first package 300, make reception described first The network communication device (such as network communication device 100B) of package 300 can record address in the IPv4 gauge outfits 310 with Corresponding relation (such as corresponding relation 420) (step S14) between the image index 320.
It is present in the database 165 (such as recording 410) if having and indexing 320 identicals index with the image, It is not the communication between the source IP v4 addresses 311 and the purpose IPv4 addresses 312 to represent first package 300 First package, the processor 151 need not establish first package 300 and the image in the database 165 The record of index 320.Also, the processor 151 produces the described of first package 300 with image index 320 IPv6 gauge outfits, the IPv4 gauge outfits 310 of first package 300 are removed, make the network service of reception first package 300 Device (such as network communication device 100B) can index 320 according to the image and (such as corresponding be closed from the corresponding relation of record Be 420) in obtain address in the IPv4 gauge outfits 310 again, and recover the IPv4 gauge outfits of first package 300 310 (step S12).The IPv6 gauge outfits in step S12 and S14 are produced according to the mode such as Fig. 4 and Fig. 5, the IPv6 The minimum effectively section of address field includes the institute to obtain in the IPv4 gauge outfits 310 in database 165 and 166 in gauge outfit State the main key assignments of the first address.
The processor 151 transmits first package to IPv6 networks by port 102.In this embodiment, institute The processor 151 for stating network communication device 100A transmits first package 300 to IPv6 network (steps by port 102A S16)。
Reference picture 6, the network communication device 100 are performed when receiving package in the method for reducing network address gauge outfit Gauge outfit restores flow.The example using the network communication device 100B as the network communication device 100 is explained below. The following steps are performed by the processor 151 of the network communication device.
When the network communication device 100B receives first package 300, the IPv6 gauge outfits of the first package 300 are captured Image index (such as image index 320) (step S20) in 330, and discriminate whether that success is obtained in IPv6 gauge outfits 330 Image index (step S22).
In the example in figure 2, if obtaining the first image index 322 in IPv6 gauge outfits 330, the network service not successfully Device 100B checks whether first package 300 has the IPv4 gauge outfits 310 (step S30).If first package 300 With the IPv4 gauge outfits 310, the network communication device 100B is first package 300 according to the IPv4 gauge outfits 310 Routing (routing), and make described by the port 101B to transmit first package 300 to IPv4 network 202B One package 300 is sent to its destination device (step S36).If first package 300 is without the IPv4 gauge outfits 310, described Network communication device 100B send Internet control Message Protocol (Internet Control Message Protocol, ICMP) package is to return wrong (step S32).
If success obtains the first image index 322 in IPv6 gauge outfits 330, the network communication device 100B checks data Whether in storehouse 166 there is (step S24) in existing indexed with the image 320 identicals of index.If do not indexed with the image 320 identicals index is present in the database 166, then it represents that first package 300 is between the source IP v4 addresses First package of the communication between 311 and the purpose IPv4 addresses 312, the network communication device 100B are needed described The record for associating first package 300 and image index 320 is established in database 166.Also, the network service dress Put 100B and discriminate whether that success obtains the IPv4 gauge outfits 310 (step S26) of first package 300.If failed obtain The IPv4 gauge outfits 310 of first package 300, the network communication device 100B send ICMP packages to return mistake (step S32).If success obtains the IPv4 gauge outfits 310 of first package 300, the network communication device 100B according to The IPv4 gauge outfits 310 are to record the corresponding relation between address in the IPv4 gauge outfits 310 and image index 320 (such as corresponding relation 420) (step S28).The network communication device 100B is described first according to the IPv4 gauge outfits 310 The routing of package 300 (routing), and by it is described by port 101B to transmit first package 300 to IPv4 networks 202B, first package 300 is set to be sent to its destination device (step S36).
It is present in if having and indexing 320 identicals index with the image in the database 166, then it represents that first envelope Wrap 300 first package for not being the communication between the source IP v4 addresses 311 and the purpose IPv4 addresses 312, institute First package 300 and image index 320 need not be established in the database 166 by stating network communication device 100B Record.Also, the processor 151 obtains first package according to image index 320 from the database 166 300 IPv4 addresses (step S34), i.e., described source IP v4 addresses 311 and purpose IPv4 addresses 312, and using the IPv4 Location is to recover the IPv4 gauge outfits 310 (step S38) of first package 300.The network communication device 100B is according to institute It is the routing of the first package 300 (routing) to state IPv4 gauge outfits 310, and by the port 101B to transmit described first Package 300 makes first package 300 be sent to its destination device (step S36) to IPv4 network 202B.The IPv4 networks 202B is the routing of the first package 300 according to the IPv4 gauge outfits of first package 300.
Although being illustrated in the embodiment of fig. 6 with the IPv4 gauge outfits 310 of above-mentioned first package 300 and address, but It can also be substituted in other embodiment with UDP (UDP) gauge outfit of above-mentioned first package 300.
Reference picture 7, if the network communication device 100B receives from port 101B, from the purpose of first package 300 During the second package 300B of IPv4 addresses 312 to source IP v4 addresses 311, described can be handled according to Fig. 3 methods described Two package 300B, and the IPv4 gauge outfits 310B of the second package 300B is inputted into modular converter 160 to produce second envelope 300B image index 320B is wrapped, to form the IPv6 gauge outfits 330B of second package interface identification field.The network Communicator 100B is according to Fig. 3 methods described to handle the second package 300B to produce package 300C.Due to compared to First package 300, the purpose IPv4 addresses 312 and the source in the IPv4 gauge outfits 310B of the second package 300B IPv4 addresses 311 have exchanged, so the image index 320B is different from the image rope caused by the modular converter 160 Draw 320.The network communication device 100A, which is difficult to index 320B according to the image, obtains first package 300 and described the Two package 300B IPv4 addresses.For network communication device 100A described in this problem can produce image index 320 when according to The first relative indexing 320A is produced according to following manner.
Reference picture 4, the network communication device 100A is to the IPv4 in the IPv4 gauge outfits 310 of first package 300 Location performs address exchange operation 161 to produce the first steering address 310A such as the IPv4 gauge outfits 310B, wherein described Location exchange in operation the arrangement position of the source address and destination address that exchange in the IPv4 gauge outfits 310 of first package 300 with Produce described first and turn to address 310A.
Described first steering address 310A is inputted the modular converter 160 to produce the by the network communication device 100A One relative indexing 320A.Because the first steering address 310A is same as the IPv4 gauge outfits 310B, the described first relative rope Draw 320A and be same as image index 320B.
Reference picture 8, the network communication device 100A receive with and the first relative indexing 320A identicals During the second package 300C of the image index 320B, the first relative indexing 320A is found according to its IPv6 gauge outfit Record 430 in the database 165, address 310A is turned to recover described first according to the record 430, wherein described the One steering address 310A, which is formed, meets IPv4 gauge outfit 310D, and recovers the IPv4 gauge outfits 310D of the second package 300C to represent Described first turns to address 310A.That is, the network communication device 100A is utilized and is represented that described first turns to address 310A's IPv4 gauge outfits 310D is packaged to the second package 300C, to produce the second package 300D.The network communication device 100A removes the IPv6 gauge outfits of the second package 300D.The network communication device 100A is described to transmit by port 101A Second package 300D to IPv4 networks 202A.
In a word, the package routing work in IPv6 addressing methods is the higher effectively section rather than described using IPv6 addresses Minimum effective section.Therefore the interface that image index is inserted in IPv6 gauge outfits is identified into field, can not influences to seal Wrap the routing in IPv6 networks.The minimum effectively section of address field is included in database obtaining in the IPv6 gauge outfits The main key assignments of IPv4 addresses in the IPv4 gauge outfits.Can be with using the minimum effectively section in address field in IPv6 gauge outfits The IPv4 gauge outfits of the package are reduced, therefore may choose whether to remove IPv4 gauge outfits when sending the package.

Claims (20)

1. a kind of method for reducing network address gauge outfit, is implemented in network communication device, it is characterised in that under methods described includes Row step:
The first package in obtaining from source device to the communication of destination device, wherein from the source device to the destination device It is described to communicate for by the first network with the first addressing method and the second network with the second addressing method;
If first package has to represent the first gauge outfit of the first address, and first address meets described first and sought Location method, then the first address for obtaining and changing first package index as the first image;
Indexed according to first image and meet two address minimum effective section of second addressing method to produce, by With using representing that two address second gauge outfit is packaged to first package, wherein according to the second addressing side The package routing work of method is to utilize two address higher effectively section rather than minimum effective section, and described Minimum effectively section is included to obtain the main key assignments of first address;
In the presence of the existing index identical index with first image in the first database, the institute of first package is removed State the first gauge outfit;
In the presence of not indexed in first database with first image index identical, in first database It is middle to establish the record of first package and first image index, and retain first gauge outfit of first package; And
Transmit first package.
2. the method for reduction network address gauge outfit as claimed in claim 1, it is characterised in that first addressing method is net Network communication protocol fourth edition or UDP, and second addressing method are network communication protocol sixth version.
3. the method for reductions network address gauge outfit as claimed in claim 2, it is characterised in that described the it is two address described in most Low effectively section forms multiple least significant bits of the interface identification field of the address field in second gauge outfit.
4. the method for reduction network address gauge outfit as claimed in claim 1, it is characterised in that first package passes through described Network communication device connecting the port of network communication protocol sixth version network to be transmitted.
5. the method for reduction network address gauge outfit as claimed in claim 1, it is characterised in that also include:
To first address perform address exchange operation with produce meet first addressing system first turn to address, its In the arrangement position of source address in first address and destination address, exchanged in the described first steering address;
Address is turned to according to described first to produce the first relative indexing;
When receiving the first follow-up package with first relative indexing, according to first relative indexing to recover The first steering address is stated, wherein the first steering address forms the 3rd address for meeting first addressing method, and it is described 4th gauge outfit of the first follow-up package represents the 4th address for meeting second addressing method;
The described first follow-up package is packaged using the 3rd gauge outfit for representing the first steering address;
Remove the 4th gauge outfit of the described first follow-up package;And
Transmit the described first follow-up package.
6. the method for reduction network address gauge outfit as claimed in claim 5, it is characterised in that the first follow-up package passes through The network communication device connecting the port of network communication protocol sixth version network to be received.
7. the method for reduction network address gauge outfit as claimed in claim 5, it is characterised in that also include:
By the network communication device connecting the port of network communication protocol fourth edition network to transmit described first Follow-up package.
A kind of 8. network communication device for reducing network address gauge outfit, it is characterised in that including:
Communication unit, the first package in obtaining from source device to the communication of destination device, wherein from the source device to described The communication of destination device is used to pass through the first network with the first addressing method and second with the second addressing method Network;And
First conversion equipment, if having for first package to represent the first gauge outfit of the first address, and described first Address meets first addressing method, then the first address for obtaining and changing first package indexes as the first image;
Second packaging system, meet the second address of second addressing method for being indexed according to first image to produce Minimum effective section, use using representing that two address second gauge outfit is packaged to first package, wherein According to the package routing of second addressing method work be using the described the two address higher effectively section rather than it is described most Low effective section, and the minimum effectively section is included to obtain the main key assignments of first address;
The network communication device is additionally operable to first image index identical index exist when existing in the first database When, first gauge outfit of removal first package;When in first database not with first image index phase In the presence of same index, the record of first package and first image index is established in first database, and Retain first gauge outfit of first package;And
3rd conveyer, for transmitting first package.
9. the network communication device of reduction network address gauge outfit as claimed in claim 8, it is characterised in that first addressing Method is network communication protocol fourth edition or UDP, and the second addressing method network communication protocol the 6th Version.
10. the network communication device of reduction network address gauge outfit as claimed in claim 9, it is characterised in that second ground The minimum effectively section of location forms the multiple minimum effective of the interface identification field of the address field in second gauge outfit Position.
11. the network communication device of reduction network address gauge outfit as claimed in claim 8, it is characterised in that first envelope Bag is by the network communication device connecting the port of network communication protocol sixth version network to be transmitted.
12. the network communication device of reduction network address gauge outfit as claimed in claim 8, it is characterised in that the reduction net The network communication device of network address gauge outfit also includes:
5th device for interchanging, meet first addressing system for performing address to first address and exchanging to operate to produce First turn to address, wherein the arrangement position of the source address and destination address in first address, at described first turn Exchanged into address;
6th generation device, for producing the first relative indexing according to the described first steering address;
7th recovery device, for when receiving the first follow-up package with first relative indexing, according to described One relative indexing turns to address to recover described first, wherein the first steering address forms and meets first addressing method The 3rd address, and the 4th gauge outfit of the first follow-up package represents to meet the 4th address of second addressing method;
8th packaging system, for being carried out using the 3rd gauge outfit for representing the first steering address to the described first follow-up package Encapsulation;
9th removes device, for removing the 4th gauge outfit of the described first follow-up package;And
Tenth conveyer, for transmitting the described first follow-up package.
13. the network communication device of reduction network address gauge outfit as claimed in claim 12, it is characterised in that after described first Continuous package is by the network communication device connecting the port of network communication protocol sixth version network to be received.
14. the network communication device of reduction network address gauge outfit as claimed in claim 12, it is characterised in that the described tenth passes Device is sent by the network communication device to connect the port of network communication protocol fourth edition network to transmit described One follow-up package.
A kind of 15. network system for reducing network address gauge outfit, it is characterised in that including:
First network communicator, the first package in obtaining from source device to the communication of destination device, wherein being filled from the source Put to the communication of the destination device and be used for by the first network with the first addressing method and with the second addressing side Second network of method, the first network communicator include:
First conversion equipment, if having for first package to represent the first gauge outfit of the first address, and described first Address meets first addressing method, then the first address for obtaining and changing first package indexes as the first image;
Second packaging system, meet the second address of second addressing method for being indexed according to first image to produce Minimum effective section, use using representing that two address second gauge outfit is packaged to first package, wherein According to the package routing of second addressing method work be using the described the two address higher effectively section rather than it is described most Low effective section, and the minimum effectively section is included to obtain the main key assignments of first address;
The first network communicator is additionally operable to index with first image index identical when existing in the first database In the presence of, first gauge outfit of removal first package;When in first database not with the first image rope In the presence of drawing identical index, the note of first package and first image index is established in first database Record, and retain first gauge outfit of first package;And
3rd conveyer, for transmitting first package.
16. network system as claimed in claim 15, it is characterised in that first addressing method is network communication protocol the Four editions or UDP, and the second addressing method network communication protocol sixth version.
17. network system as claimed in claim 16, it is characterised in that the two address minimum effectively section structure Interface into the address field in second gauge outfit identifies multiple least significant bits of field.
18. network system as claimed in claim 15, it is characterised in that the first network communicator also includes:
5th device for interchanging, meet first addressing system for performing address to first address and exchanging to operate to produce First turn to address, wherein the arrangement position of the source address and destination address in first address, at described first turn Exchanged into address;
6th generation device, for producing the first relative indexing according to the described first steering address;
7th recovery device, for when receiving the first follow-up package with first relative indexing, according to described One relative indexing turns to address to recover described first, wherein the first steering address forms and meets first addressing method The 3rd address, and the 4th gauge outfit of the first follow-up package represents to meet the 4th address of second addressing method;
8th packaging system, for being carried out using the 3rd gauge outfit for representing the first steering address to the described first follow-up package Encapsulation;
9th removes device, for removing the 4th gauge outfit of the described first follow-up package;And
Tenth conveyer, for transmitting the described first follow-up package.
19. network system as claimed in claim 15, it is characterised in that also include:
Second network communication device, by the use of the two address minimum effectively section as the main key, record institute The first address is stated with the corresponding relation of the minimum effectively section in the second database.
20. network system as claimed in claim 19, it is characterised in that second network communication device includes:
First finds device, if first gauge outfit for first package has removed, utilizes the two address institute Minimum effectively section is stated as the main key, first address is found in second database;And
Second recovery device, for recovering first gauge outfit of first package using first address.
CN201210301622.9A 2012-08-22 2012-08-22 Reduce system, the device and method of network address gauge outfit Active CN103634415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210301622.9A CN103634415B (en) 2012-08-22 2012-08-22 Reduce system, the device and method of network address gauge outfit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210301622.9A CN103634415B (en) 2012-08-22 2012-08-22 Reduce system, the device and method of network address gauge outfit

Publications (2)

Publication Number Publication Date
CN103634415A CN103634415A (en) 2014-03-12
CN103634415B true CN103634415B (en) 2018-01-12

Family

ID=50215031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210301622.9A Active CN103634415B (en) 2012-08-22 2012-08-22 Reduce system, the device and method of network address gauge outfit

Country Status (1)

Country Link
CN (1) CN103634415B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483457B (en) * 2017-08-28 2019-08-09 常熟理工学院 A kind of multimedia data communication method based on Internet of Things
CN107547173B (en) * 2017-08-28 2020-03-24 常熟理工学院 Cloud-based internet of things multimedia data communication method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1717911A (en) * 2002-11-29 2006-01-04 新加坡国立大学 Method and apparatus for communicating on a communication network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8406232B2 (en) * 2010-06-17 2013-03-26 Microsoft Corporation 4to6 network stack for IPv4 applications

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1717911A (en) * 2002-11-29 2006-01-04 新加坡国立大学 Method and apparatus for communicating on a communication network

Also Published As

Publication number Publication date
CN103634415A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
US20070060147A1 (en) Apparatus for transmitting data packets between wireless sensor networks over internet, wireless sensor network domain name server, and data packet transmission method using the same
WO2016192686A1 (en) Data packet forwarding
US9172775B2 (en) Network communication system, device, and method for reducing a network addressing header
CN101247308A (en) Tunnel packet processing method for implementing IPv6 traversing IPv4 based on network processor
EP3389310A1 (en) Method for establishing routing table, electronic device and network
CN101998679A (en) Transmission bearing relaying method, device and communication system
CN110313160B (en) Method and device for avoiding packet segmentation
CN102438331B (en) A kind of mobile terminal is by the method and system of surfing Internet with cell phone
CN109936492A (en) A kind of methods, devices and systems by tunnel transmission message
CN102201996B (en) Method and equipment for forwarding message in network address translation (NAT) environment
CN103634415B (en) Reduce system, the device and method of network address gauge outfit
CN107846715A (en) Access point switching method and device of the Internet of Things based on transmission rate
CN107733930A (en) For forwarding Internet protocol in multiple WAN network gateways(IP)The method and system of packet
CN110061888A (en) Network protocol type judgment method, device, computer equipment and storage medium
CN101557386A (en) Method and device for sending data and method and device for receiving data
CN106953849B (en) Data message matching method and device based on IPv6 address
CN104348821B (en) Manage the method, apparatus and system of IPv4/IPv6 business
CN109756498B (en) NAT ALG conversion method and system of TCP protocol on communication equipment
CN105493563A (en) Data packet header encapsulation method, data packet header decapsulation method, apparatus and device
CN104363176A (en) Message control method and equipment
US8107475B1 (en) Method and procedure for increasing IPv4 address space
JP4670866B2 (en) Translator
CN104871497A (en) Flow table processing method and apparatus
WO2024027271A1 (en) Application traffic sensing method and system
JP3900157B2 (en) Translator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180226

Address after: Shanghai City, Songjiang Export Processing Zone South Road No. 1925

Patentee after: Ambit Microsystems (Shanghai) Co., Ltd.

Address before: 201613 Shanghai City, Songjiang District Songjiang Export Processing Zone South Road No. 1925

Co-patentee before: Hon Hai Precision Industry Co., Ltd.

Patentee before: Ambit Microsystems (Shanghai) Co., Ltd.

TR01 Transfer of patent right