CN103250381B - IPv6 address management method and execution gateway thereof - Google Patents

IPv6 address management method and execution gateway thereof Download PDF

Info

Publication number
CN103250381B
CN103250381B CN201180050921.3A CN201180050921A CN103250381B CN 103250381 B CN103250381 B CN 103250381B CN 201180050921 A CN201180050921 A CN 201180050921A CN 103250381 B CN103250381 B CN 103250381B
Authority
CN
China
Prior art keywords
address
bag
ipv6 address
compression
ipv6
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201180050921.3A
Other languages
Chinese (zh)
Other versions
CN103250381A (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.)
NEO LAB CONVERGENCE Inc
Original Assignee
NEO LAB CONVERGENCE Inc
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
Priority claimed from KR1020100103305A external-priority patent/KR20120061099A/en
Application filed by NEO LAB CONVERGENCE Inc filed Critical NEO LAB CONVERGENCE Inc
Publication of CN103250381A publication Critical patent/CN103250381A/en
Application granted granted Critical
Publication of CN103250381B publication Critical patent/CN103250381B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Provide a kind of management method for IPv6 address used in a gateway.The method include receiving comprise IPv6 address bag, from the described IPv6 address extraction MAC Address of described bag, produce compression address by predefined bit sequence is inserted described MAC Address and described compression address and described IPv6 address stored in the mapping table.

Description

IPv6 address management method and execution gateway thereof
Technical field
It relates to IPv6 address management method and execution gateway thereof.
Background technology
Wireless Personal Network (WPAN) wirelessly realizes territory net (PAN).As Representational WPAN, it is known that have wireless sense network (WSN).WSN is as Ubiquitous Network Basis be a kind of core technology, and at such as environmental monitoring, medical system, remote information The various fields such as reason, home network and logistics system have a wide range of applications.Purple honeybee (Zigbee) (it is the one being applied to WSN based on IEEE802.15.4MAC/PHY standard Standard technique) standard on definition upper strata including Internet, purple honeybee is designed to keep The low-power consumption of IEEE802.15.4 and low rate feature.
Purple beekeeping equipment has Internet based on non-IP, it is impossible to direct and IP network interworking. ZigBee protocol method is poor efficiency because in order to IP network communication, packet must by certain Collecting device is collected and again processes in application layer.If the sensor node tool in terminal Have IP address, then this sensor node can independently accessed and the natural and widest IP network of structure Network is integrated.It is to say, direct man-to-man communication sets in the collection being not at intermediate point It is possibly realized in the case of standby or trunking.As being used for allowing WPAN and extranets cross winding Interworking is with the technology by utilizing IPv6 to interact with one another, it is known that have low-power wireless territory net On IPv6(6LoWPAN), its standardization is studied by 6LoWPAN working group.
Fig. 1 shows the general of the network wherein applying 6LoWPAN according to prior art Read figure.
It is connected to external IP network 20 by gateway 30 with reference to Fig. 1, WPAN10.This Outward, IP communication and is present at the main frame being present in IP network 20 based on Internet Protocol Complete between equipment on WPAN10.It is to say, applying the network of 6LoWPAN On, if IPv6 address is apprised of, then can external host and internal WPAN10 node it Between directly transmit and receive packet, it is not necessary to perform the converted of communication protocol (such as purple honeybee) Journey.
In order to realize such network, the node of WPAN10 has IPv6 address.In order to Produce the IPv6 address of node, have employed a kind of use and extend unique identifier (EUI)-64 Method.The IPv6 address produced by EUI-64 is globally unique and can be at WPAN10 and IP Mobile support is provided between network 20.
But, WPAN10(wherein PHY/MAC layer is defined by IEEE802.15.4) Use small package.The information unit used in view of the PHY/MAC in WPAN10 is Large Copacity (size), IPv6/TCP or IPv6/UDP head and application data should be indicated on 80 Within byte.Therefore, in order to store data as much as possible in single bag, IPv6 packet header needs To be compressed.
Summary of the invention
[the problem to be solved in the present invention]
In view of foregoing problems, present disclose provides a kind of for reducing at WPAN and IP network The IPv6 address management method of the expense of the header in communication between network, additionally providing execution should The gateway of IPv6 address management method.
[method solving problem]
According to the first aspect of illustrated embodiment, the invention provides one in a gateway The management method for IPv6 address used.The method includes receiving and comprises IPv6 address Bag;From the described IPv6 address extraction MAC Address of described bag;By by predefined position Sequence is inserted described MAC Address and is produced compression address;And by described compression address and institute State IPv6 address to store in the mapping table.
According to the second aspect of illustrated embodiment, the invention provides one in a gateway The management method for IPv6 address used.The method includes receiving from node comprising IPv6 ground The bag of location;The compression address of described IPv6 address is retrieved from the mapping table prestored;And will The bag comprising described compression address is sent to described node, and wherein said compression address is by from institute State IPv6 address extraction MAC Address and predefined bit sequence is inserted described MAC ground Location and produce.
According to the third aspect of illustrated embodiment, the invention provides one in a gateway The management method for IPv6 address used.The method includes receiving from primary nodal point comprising The bag of IPv6 address;The compression address of described IPv6 address is retrieved from the mapping table prestored; The described IPv6 address in described bag is replaced with described compression address;And described compression will be comprised The described bag of address is sent to secondary nodal point, and wherein said compression address is by from described IPv6 ground Location is extracted MAC Address and predefined bit sequence is inserted described MAC Address and produces.
According to the fourth aspect of illustrated embodiment, the invention provides one in a gateway The management method for IPv6 address used.The method includes receiving from primary nodal point comprising The bag of the compression address of IPv6 address;Described compression address is retrieved from the mapping table prestored Unpressed described IPv6 address;The institute in described bag is replaced with described unpressed IPv6 address State compression address;And the described bag comprising described unpressed IPv6 address is sent to second Node, wherein said compression address is by from described IPv6 address extraction MAC Address and by pre- The bit sequence first defined inserts described MAC Address and produces.
The 5th aspect according to illustrated embodiment, the invention provides a kind of gateway, should Gateway includes that the bag being configured to receive the bag comprising IPv6 address receives unit;Be configured to from The described IPv6 address extraction MAC Address of described bag by predefined bit sequence is inserted Enter described MAC Address and produce the compression address-generation unit of compression address;And storage institute State IPv6 address and the mapping database of described compression address.
The 6th aspect according to illustrated embodiment, the invention provides a kind of gateway, should Gateway includes that the bag being configured to receive the bag comprising IPv6 address from node receives unit;Joined Put the address search unit of the compression address retrieving described IPv6 address;It is configured to comprise The bag of described compression address is sent to the bag transmitting element of described node;And store described IPv6 Address and the mapping database of described compression address, wherein said compression address is by from described IPv6 address extraction MAC Address and by predefined bit sequence insert described MAC Address and Produce.
The 7th aspect according to illustrated embodiment, the invention provides a kind of gateway, should Gateway includes that the bag being configured to receive the bag comprising IPv6 address from primary nodal point receives unit; It is configured to retrieve the address search unit of the compression address of described IPv6 address;It is configured to use The bag converting unit of the described IPv6 address in described bag is replaced in described compression address;It is configured to The described bag comprising described compression address is sent to the bag transmitting element of secondary nodal point;And deposit Storing up described IPv6 address and the mapping database of described compression address, wherein said compression address leads to Cross from described IPv6 address extraction MAC Address and predefined bit sequence inserted described MAC Address and produce.
According to the eighth aspect of illustrated embodiment, the invention provides a kind of gateway, should Gateway includes the bag being configured to receive the bag of the compression address comprising IPv6 address from primary nodal point Receive unit;It is configured to retrieve the ground of the unpressed described IPv6 address of described compression address Location retrieval unit;Be configured to described unpressed IPv6 address replace in described bag described The bag converting unit of compression address;It is configured to the institute by comprising described unpressed IPv6 address State bag and be sent to the bag transmitting element of secondary nodal point;And store described IPv6 address and described pressure The mapping database of contracting address, wherein said compression address is by from described IPv6 address extraction Predefined bit sequence is also inserted described MAC Address and produces by MAC Address.
[effect of the present invention]
According to this illustrated embodiment, substitute 128 IPv6 ground with 64 compression addresses It is feasible that location communicates.Accordingly, expense can be reduced.
According to this illustrated embodiment, the compression address of IPv6 address and IPv6 address can It is stored in mapping table.Therefore, use identical address bag transmission can need not any separately Carry out in the case of outer compression process.
According to this illustrated embodiment, by header-compression process, WPAN communication can Carry out in the case of IPv6 address field in not including IPv6 head.
Accompanying drawing explanation
Fig. 1 is the concept of the network wherein applying 6LoWPAN according to prior art Figure.
Fig. 2 is that the illustrated embodiment compressed IP v6 address for according to the disclosure is described The flow chart of method.
Fig. 3 is the block diagram of the gateway illustrating the illustrated embodiment according to the disclosure.
Fig. 4 be the illustrated embodiment according to the disclosure is shown comprise IPv6 address The structure chart of bag.
Fig. 5 is to produce IPv6 address for the illustrated embodiment described according to the disclosure The chart of process of compression address.
Fig. 6 is the chart of the mapping table illustrating the illustrated embodiment according to the disclosure.
Fig. 7 is to describe to change IPv6 address for the illustrated embodiment according to the disclosure The flow chart of method.
Fig. 8 is the block diagram of the gateway illustrating the illustrated embodiment according to the disclosure.
Fig. 9 is the mistake that the illustrated embodiment described according to the disclosure changes IPv6 address The chart of journey.
Figure 10 is to utilize IPv6 ground for explanation according to the illustrated embodiment of the disclosure The figure of the communication means of the conversion of location.
Figure 11 is the block diagram of the gateway illustrating the illustrated embodiment according to the disclosure.
Figure 12 is to illustrate that utilizing of the illustrated embodiment according to the disclosure compresses address The figure of the communication means of conversion.
Figure 13 is the block diagram of the gateway illustrating the illustrated embodiment according to the disclosure.
Detailed description of the invention
The illustrated embodiment describing the disclosure hereinafter with reference to accompanying drawing in detail makes the present invention Design can easily be implemented by those skilled in the art.However, it should be appreciated that, these public affairs Open and be not limited to these illustrated embodiment, and can realize with multiple alternate manner. In the accompanying drawings, some part being not directly relevant to this specification is omitted to improve the clear of accompanying drawing Clear degree, and throughout, similar reference number represents similar parts.
Passing through in full, term " is connected to " or " being coupled to " is used for showing that an element arrives The connection of another element or coupling and include two kinds of situations: one is that an element " is directly connected Connect or be coupled to " another element, two is an element via another element by " electronically It is connected or coupled to " another element.Additionally, the term used in the present invention " includes " Or " comprising " and/or " include or comprise " means except described parts, step, operation And/or outside element, however not excluded that one or more other parts, step, operation, and/or element Existence or interpolation.
Fig. 2 is the flow process describing the IPv6 address compression method according to illustrated embodiment Figure.Fig. 3 is the block diagram illustrating the gateway according to illustrated embodiment.Fig. 4 is diagram basis The structure chart of the bag comprising IPv6 address of illustrated embodiment.Fig. 5 is to describe according to explanation Property embodiment produce the chart of process of compression address of IPv6 address.Fig. 6 shows basis The mapping table of illustrated embodiment.
IPv6 address compression method can be used in gateway 100.Gateway 100 can be located at net Junction point between network is to provide the interoperability between network.Gateway 100 can provide compression and The function of restoring data bag.Specifically, press according to the IPv6 address of this illustrated embodiment Compression method can be used in the gateway 100 of connection WPAN and IP network.
The concrete of IPv6 address compression method that will be described in Fig. 2 with reference to Fig. 3-6 walks Suddenly.As shown in Figure 3, IPv6 address compression method can be by connecting WPAN and IP network Gateway 100 completes.
First, comprise IPv6 address is coated reception (S100).Bag is the transmission list of data Unit, data are divided to be prone on network transmit.Bag not only includes data message but also includes Address information, sequence information, error message, etc..Bag can have standardized format, specifically Depend on the agreement of network.
For example, bag can be received by the bag reception unit 110 from IP network 20.? In this embodiment, the bag received can be IPv6 bag 160 as shown in Figure 4.IPv6 bag 160 can be inserted in the payload 154 of mac frame 150 and include IPv6 170 and IPv6 clean Lotus 179.Include for IPv6 170: the VER(version of 4) 171, it represents internet protocol The version of view;The TC(traffic classes of 8) 172, it represents COS;The FL of 20 (stream label) 173, it is for identifying the stream of IPv6 bag;The PL(payload length of 16) 174, it represents the length of IPv6 payload;Next packet header of the NH(of 8) 175, it is used for Instruction extension header;The HL(jumping figure of 8 limits) 176, its TTL(being similar to IPv4 is raw Deposit the time);The IPv6 source address 177 of 128;And the IPv6 destination address of 128 178.This bag includes two IPv6 addresses, i.e. IPv6 source address 177 and IPv6 destination address 178。
Bag can be received unit 110 by the bag from WPAN10 and receive.In this embodiment In, the bag received can be the IPv6 bag 180 of compression as shown in Figure 4.By compression IPv6 bag 160, the IPv6 bag 180 of compression can be generated.In view of using IEEE 802.15.4 the information list used as the PHY/MAC in the WPAN10 of PHY/MAC The heap(ed) capacity of unit, IPv6/TCP or IPv6/UDP head and application data should be indicated on 80 Within byte.In order to solve this problem, 6LoWPAN working group have been proposed for a kind of for The method of the 170 of compressed IP v6 bag 160.As reference, RFC4944(its be The standard document of 6LoWPAN) describe IPv6 bag 160 170 compression.
The IPv6 bag 180 of compression includes: the IPv6 of 8 assigns (dispatch) 181, It represents head type;Universal compressed 182;And IPv6 payload 185.Universal compressed 182 Including: the HC1 coding 183 of 8, it represents the information of compression;And uncompressed 184. In this embodiment, IPv6 address can be included in the part of universal compressed 182, but It is not limited to this.Such as, during IPv6 address can be included in IPv6 payload 185.
Meanwhile, table 1 below provides the typical pattern that IPv6 assigns 181.
Table 1
Type Head type Remarks
00 xxxxxx NALP Non-LoWPAN frame
01 000001 IPv6 Uncompressed IPv6 address
01 000010 LoWPAN_HC1 LoWPAN_HC1 compressed IP v6
··· Reserved Retain at present
01 010000 LoWPAN_BC0 LoWPAN_BC0 broadcasts
··· Reserved Retain at present
01 111111 ESC With extra assignment byte
The bag comprising IPv6 address according to this illustrated embodiment can have pre-defined IPv6 assignment value 181 to carry out IPv6 address compression.Such as, predefined IPv6 Assignment value 181 can be, but not limited to be " 01010001 ".Predefined IPv6 assignment value 181 It can be any value retained at present in table 1.
Then, from IPv6 address extraction MAC Address (S110).
As shown in Figure 5, IPv6 address 200 includes 64 network IDs 201 and 64 Interface ID202.High 64 of IPv6 address 200 represent network ID 201, each by distributing to The prefix of network determines.It is said that in general, if producing global address, high 64 are set by network Standby (such as, router) automatically generates.Low 64 of IPv6 address 200 represent interface ID 202, and control (MAC) address composition with the 48 of each equipment media interviews.Each set Standby unique 64 ID produce by utilizing extension unique identifier (EUI)-64 format approach Raw.High 64 network IDs 201 produced as described above and low 64 interface ID202 are each other In conjunction with, in order to produce unique 128 IPv6 addresses 200 of each equipment.
Meanwhile, when utilizing EUI-64 format approach to produce interface ID202, interface ID 202 include 16 between the company ID203 by high 24 and the Extended ID 205 of low 24 The label (0xFFFE) 204 that bit is constituted.Company ID203 is the manufacturing company representing equipment Value, IEEE distribute.Extended ID 205 represents the sequence of the equipment using this MAC Address Number.
As shown in Figure 5, MAC Address 210 includes 24 company ID211 and 24 Extended ID 212.MAC Address 210 can extract from IPv6 address 200 and produce.Such as, MAC Address 210 can produce as follows: extracts interface ID from IPv6 address 200 202, extract company ID203 and Extended ID 205 from interface ID202, carry then in conjunction with these Take thing.But, the method producing MAC Address 210 is not limited thereto.For example, may be used MAC Address is produced by removing network ID 201 and label 204 from IPv6 address 200 210。
Then, by predefined bit sequence insertion MAC Address is produced compressively Location (S120).
As shown in Figure 5, compression address 220 includes 24 company ID221, determines in advance The bit sequence 222 and 24 Bits Expanding ID222 of justice.The compression address of IPv6 address 200 can be passed through Predefined bit sequence 222 is inserted MAC Address 210 produce.Such as, can pass through will Predefined bit sequence 222 is inserted into company ID211 and the Extended ID of MAC Address 210 Compression address 220 is produced between 212.Predefined bit sequence 222 can be arbitrary 16 Place value, such as 0x,FEF,E(1,111 1,110 1,111 1110).Produced IPv6 address 200 Compression address 220 have 64, be equivalent to the half size of 128 IPv6 addresses 200.
In this illustrated embodiment, 0xFEFE is described as predefined bit sequence One embodiment of 222.But, predefined bit sequence 222 is not limited thereto, and can There to be other value.
By extracting MAC Address 210 from IPv6 address 200 and by predefined position sequence Row 222 insert the step of MAC Address 210 generation compression address 220 can be by the pressure of gateway 100 Contracting address-generation unit 120 performs.
Then, IPv6 address and compression address are stored in mapping table (S130).
As shown in Figure 6, the mapping table 250 in mapping database 130 includes IPv6 ground Location 200 and compression address 220.IPv6 address 200 and corresponding compression address 220 can quilts It is stored in mapping table 250.Although the data of mapping table 250 are shown as according with hexadecimal Number limit, but they actually with binary number store.
When predefined bit sequence be " 0xFEFE (1,111 1,110 1,111 1110) " and When IPv6 address 200 is " FE00::00A0:37FF:FE27:0020 ", pass through MAC Address Extraction and the insertion of predefined bit sequence, corresponding compression address 220 can be “00A0:37FE:FE27:0020”.Symbol in IPv6 address 200 ":: " refer to omit continuously 0." FE00::00A0:37FF:FE27:0020 " and " 00A0:37FE:FE27:0020 " It is stored in mapping table 250 in the way of in correspondence with each other.
As shown in Figure 3, all data in mapping table 250 can be stored in mapping data In storehouse 130.Mapping database 130 can be that the hardware of mapping table 250 realizes.
IPv6 address management method according to this illustrated embodiment relates to 128 64 compression addresses 220 are also stored by IPv6 address 200 boil down to 64 compression address 220 In mapping table 250.The IPv6 address 200 being stored in mapping table 250 by utilization and pressure Contracting address 220, can carry out the conversion of IPv6 address 200.This is described more fully below converted Journey.
Fig. 7 is to describe for the IPv6 address of the illustrated embodiment according to the disclosure The flow chart of conversion method.Fig. 8 is the block diagram illustrating the gateway according to illustrated embodiment, Fig. 9 is the figure of the process that the illustrated embodiment conversion IPv6 address according to the disclosure is described Table.
Conversion method for IPv6 includes: receive the bag comprising IPv6 address;From mapping The compression address of this IPv6 address of table search and transmission comprise the bag of this compression address.Concrete and Speech, the compression address according to the illustrated embodiment of the disclosure can be by from IPv6 address extraction MAC Address being inserted by predefined bit sequence produces in this MAC Address.By carrying For 64 compression addresses corresponding to 128 IPv6 addresses, the address value of available relatively low capacity Complete network service.
The concrete steps of the IPv6 address conversion method according to Fig. 7 will be entered with reference to Fig. 8 and 9 Row describes in detail.Here, each step according to the IPv6 address conversion method of Fig. 8 can be by scheming Gateway 300 shown in 9 performs.
First, comprise IPv6 address is coated reception (S200).
With reference to Fig. 8 and 9, the bag of gateway 300 receives unit 310 reception and comprises IPv6 address Bag, such as, from the inquiry request bag 350 of node 60.Node 60 can be WPAN Node.In this embodiment, owing to sending inquiry request bag 350 from WPAN node, so It can have compressed IP v6 bag form.Compressed IP v6 bag form is described with reference to Fig. 4. IPv6 address can be included in the universal compressed head of inquiry request bag 350, but is not limited to This.Such as, during IPv6 address can be included in IPv6 payload.Inquiry request bag 350 can have Predefined IPv6 assignment value is to carry out the conversion of IPv6 address.Such as, predefined IPv6 assignment value can be, but not limited to be " 01010001 ".Predefined IPv6 assignment value can To be other value retained at present any.
In order to transfer data to the IP network node of outside, WPAN node can will include The bag of the IP network node address of destination node is sent to gateway 300.Destination address is 128 IPv6 address, and can be such as " FE00::00A0:37FF:FE27:0020 ".
In this illustrated embodiment, node 60 is described as WPAN node, but also It is not only restricted to this.Node 30 can be the different type network meeting IEEE802.15.4 standard On node, or can be IP network node.It is the situation of IP network node at node 60 Under, this IP network node can will comprise the bag of the purpose WPAN address of node of IPv6 form It is sent to gateway 300 to transfer data to WPAN node.
In this illustrated embodiment, inquiry request bag 350 is described as comprising IPv6 The embodiment of the bag of address, but the bag comprising IPv6 address is not limited to this.It is to say, Any bag comprising IPv6 address can be used.In this illustrated embodiment, destination address It is described as the embodiment of IPv6 address, but IPv6 address is not limited to this.It is to say, IPv6 address can be source address or any other type of address.Additionally, in this illustrative reality Execute in mode, include an IPv6 address, but the quantity of the IPv6 address being included in this bag It is not limited to this.This bag can include more than one IPv6 address.
Then, from the compression address of predefined mapping table retrieval IPv6 address (S210).
Mapping table 370 in mapping database 330 store at least one IPv6 address and Compression address.Owing to IPv6 address is stored in mapping table together with corresponding compression address In 370, so the address search unit 320 of gateway 300 can be retrieved and be received corresponding to being included in Bag in the compression address of IPv6 address.As it has been described above, the compression address of IPv6 address is permissible By extracting MAC Address from IPv6 address and predefined bit sequence being inserted MAC Address and produce.Owing to mapping table 370 and IPv6 already discussed above compresses address, therefore Omit detailed description thereof herein.
As shown in Figure 8, all data in mapping table 370 can be stored in mapping data In storehouse 330.Mapping database 330 can be that the hardware of mapping table 370 realizes.
If predefined bit sequence be " 0xFEFE (1,111 1,110 1,111 1110) " and The IPv6 address being included in received bag is " FE00::00A0:37FF;FE27:0020 ", Then compression address is " 00A0:37FE:FE27:0020 ".The address search unit 320 of gateway 300 " 00A0:37FE:FE27:0020 " is retrieved from mapping table 370.
Then, comprise this compression address is coated transmission (S220).
With reference to Fig. 8 and 9, the bag transmitting element 340 of gateway 300 will comprise compression address Bag (such as, inquiry response bag 360) is sent to node 60.Inquiry response bag 360 is sent To node 60 can be with to send the node 60 of bag that comprise IPv6 address identical.If node 60 is WPAN node, and the inquiry response bag 360 of node 60 to be sent to can have compression IPv6 bag form.Compressed IP v6 bag form is described in earlier in respect of figures 4.Real at this Executing in example, compression address can be included in a part for the universal compressed head of inquiry response bag 360 In, but it is not limited to this.Compression address can be included in IPv6 payload.Inquiry response bag 360 are the respond packet to inquiry request bag 350 and can have predefined IPv6 assignment value, This IPv6 assignment value represents that this bag is the respond packet to inquiry request bag 350.Such as, fixed in advance The IPv6 assignment value of justice can be " 01010010 ", but is not limited to this.This pre-defines IPv6 assignment value can be other value retained at present any.
As shown in Figure 9, inquiry response bag 360 includes retrieving from mapping table 370 Compression address " 00A0:37FE:FE27:0020 ".This compression address is included in inquiry request bag In IPv6 address " FE00::00A0:37FF;FE27:0020 " compressed format.
Figure 10 shows that the IPv6 address that utilizes of the illustrated embodiment according to the disclosure turns The communication means changed.Figure 11 is the block diagram illustrating the gateway according to illustrated embodiment.
The communication means utilizing IPv6 address to change includes: receives from primary nodal point and comprises The bag of IPv6 address;The compression address of this IPv6 address is retrieved from the mapping table prestored;With The compression address retrieved is replaced IPv6 address and the bag comprising this compression address is sent to the Two nodes.Specifically, as it has been described above, lead to according to the compression address of this illustrated embodiment Cross from IPv6 address extraction MAC Address and predefined bit sequence is inserted MAC Address And produce.By providing 64 compression addresses corresponding to 128 IPv6 addresses, can use relatively The address value of low capacity completes network service.
When data are sent to IPv6 address, (its compression address is stored in mapping table In) time, it is not necessary to for the additional compression process of this IPv6 address.
The concrete steps of the communication means according to Figure 10 will be described in detail with reference to Figure 11. Each step of communication means according to Figure 10 can be held by the gateway 400 shown in Figure 11 OK.
First, the bag (S300) comprising IPv6 address is received from primary nodal point.
With reference to Figure 11, the bag of gateway 400 receives unit 410 and receives bag from primary nodal point 70 460.The bag 460 received comprises IPv6 address, this IPv6 address include destination address d1 and Source address s1.Primary nodal point 70 can be IP network node.In this embodiment, bag 460 Can have IPv6 bag form.IPv6 bag form is described with reference to Fig. 4.Destination address d1 After in the head that source address s1 is comprised in IPv6 bag, it is sent to gateway 400.Real at this Executing in example, primary nodal point 70 can be included in an ip network, and gateway 400 can be by this IP network Network and WPAN connect.
In this illustrated embodiment, although comprise destination address d1 and source address s1 Bag 460 is described as comprising the embodiment of the bag of IPv6 address, but this illustrated embodiment is also It is not only restricted to this.The bag of any IPv6 of comprising address can be used.Additionally, in this illustrative reality Executing in mode, bag 460 includes two IPv6 addresses, but is not limited to this.Such as, bag The 460 IPv6 addresses that can include or more than two.In this illustrated embodiment, Although destination address d1 and source address s1 are described as including the enforcement of information in the header Example, but this illustrated embodiment is not limited to this.Such as, destination address d1 and seedbed Location s1 can be included in the payload of bag.
Then, the compression address of this IPv6 address is retrieved from mapping table.
Mapping table in mapping database 440 stores at least one IPv6 address and this IPv6 The compression address of address.Owing to IPv6 address is stored in together with corresponding compression address In mapping table, received so the address search unit 420 of gateway 400 can be retrieved to be included in The compression address of the IPv6 address in bag.As it has been described above, the compression address of IPv6 address by from IPv6 address is extracted MAC Address and predefined bit sequence is inserted MAC Address and produces Raw.Due to the compression address of mapping table already discussed above and IPv6, to omit right the most herein Their detailed description.
As shown in Figure 11, all data in mapping table can be stored in mapping database In 440.Mapping database 440 can be that the hardware of mapping table realizes.
With reference to Figure 11, the bag 460 owing to being received includes two IPv6 address purposes Address d1 and source address s1, so address search unit 420 retrieval corresponds respectively to this two ground Two compression addresses of location d1 and s1.
Then, IPv6 address (S320) is replaced with compression address.
The bag converting unit 430 of the gateway 400 compression address retrieved from mapping table is replaced Change to be included in and received the IPv6 address in the bag 460 that unit 410 receives by bag.
With reference to Figure 11, two IPv6 address (that is, the destination addresses being included in 460 D1 and source address s1) can respectively with the compression address cd1 retrieved from mapping table and compressively Location cs1 replaces.
In this illustrated embodiment, employ term and " replace ".But term " replaces Change " it is not limited to replace the address part of bag 460 and simultaneously retention frame or field portions.? This, term " is replaced " the IPv6 address that the meaning is bag 460 and is removed and the pressure of this IPv6 address Contracting address is newly included in independent of the conversion of described frame or field portions.
Then, the bag comprising compression address is sent to secondary nodal point (S330).
Bag converting unit 430 output comprises the bag 470 of the compression address of IPv6 address.Bag Compression address cd1 and the bag 470 of the compression address cs1 of source address containing destination address are sent by bag Unit is sent to secondary nodal point 75.Secondary nodal point 75 can be such as WPAN node.
The communication means of the illustrated embodiment according to the disclosure transmits bag 470, wraps 470 IPv6 address replaced by the compression address of this IPv6 address.Therefore, this bag passes through gateway Communication (such as, the communication in the network belonging to secondary nodal point 75) after 400 may utilize Better simply compression address conveniently realizes.
According to the communication means of this illustrated embodiment, by conversion IPv6 address and pressure Contracting packet header, it is possible to achieve communication in WPAN and without including IPv6 address at IPv6 head Field.
Figure 12 shows that utilizing of the illustrated embodiment according to the disclosure compresses address The communication means of conversion.Figure 13 is the block diagram illustrating the gateway according to illustrated embodiment.
The communication means utilizing the conversion of compression address relates to: receives from primary nodal point and comprises The bag of the compression address of IPv6 address;Prestoring not of this compression address is retrieved from mapping table Compressed IP v6 address;Compression address is replaced with the IPv6 address retrieved;And will be comprised this The bag of IPv6 address is sent to secondary nodal point.Specifically, as it has been described above, according to the disclosure The compression address of illustrated embodiment is by from IPv6 address extraction MAC Address will in advance The bit sequence of definition inserts MAC Address and produces.By using 64 in the communications compressively Location rather than 128 IPv6 addresses, the expense that bag transmits can be reduced.
The concrete steps of the communication means according to Figure 12 will be described in detail with reference to Figure 13. Each step of communication means according to Figure 12 can be held by the gateway 500 shown in Figure 13 OK.
First, the bag of the compression address comprising IPv6 address is received from primary nodal point (S400).
With reference to Figure 13, the bag of gateway 500 receives unit 510 and receives bag from primary nodal point 80 560.The bag 560 received comprises the compression address of IPv6 address.This compression address includes pressure The destination address cd2 of contracting and source address cs2 of compression.Primary nodal point 80 can be WPAN joint Point.After the destination address cd2 of compression and source address cs2 of compression are comprised in this bag, quilt It is sent to gateway 500.This WPAN and IP network can be connected by gateway 500.
In this illustrated embodiment, comprise destination address cd2 and the source of compression of compression Address cs2 is coated the embodiment being described as wrapping 560.But, this illustrated embodiment is also Being not only restricted to this, bag 560 can be any bag comprising compression address.Additionally, in this explanation Property embodiment in, although bag 560 is described as including two compression addresses, but this is illustrative Embodiment is not limited to this.Bag 560 can include that one or more than two are compressively Location.
Then, the uncompressed IPv6 address corresponding to this compression address is retrieved from mapping table (S410).
Mapping table in mapping database 540 stores at least one IPv6 address and corresponds to The compression address of this IPv6 address.Due to IPv6 address together with corresponding compression address by Store in the mapping table, so the address search unit 520 of gateway 500 can be retrieved and be included in institute The uncompressed IPv6 address of the compression address in the bag 560 received.The compression address of IPv6 address By extracting MAC Address from IPv6 address and predefined bit sequence being inserted MAC Address and produce, as mentioned above.Due to mapping table already discussed above and IPv6 compressively Location, omits detailed description thereof the most herein.
As shown in Figure 13, all data in mapping table can be stored in mapping database In 540.Mapping database 540 can be that the hardware of mapping table realizes.
With reference to Figure 13, the compression address owing to being included in received bag includes two pressures The destination address cd2 of contracting address compression and source address cs2 of compression, so address search list Unit 420 retrieval corresponds respectively to two IPv6 addresses of these two compression addresses.
Then, compression address (S420) is replaced with uncompressed IPv6 address.
Bag converting unit 430 is replaced with the address retrieved by address search unit 520 and is comprised Compression address in bag 560.
With reference to Figure 13, these two be included in 560 compress address (that is, compression Destination address cd2 and source address cs2 of compression) the available destination address retrieved from mapping table D2 and source address s2 are replaced.
In this illustrated embodiment, employ term and " replace ".Term " is replaced " It is not limited to replace the address part of bag 560 and simultaneously retention frame or field portions.Here, Term " replace " meaning be bag 560 IPv6 address be removed and this IPv6 address compressively Location is newly included in independent of the conversion of described frame or field portions.
Then, the bag comprising this IPv6 address is sent to secondary nodal point (S430).
Bag converting unit 530 output comprises (that is, destination address d2 and seedbed, IPv6 address Location s2) bag.The bag 570 comprising IPv6 address is sent to second section by bag transmitting element 550 Point.Secondary nodal point can be the node of such as IP network.
In the communication means according to the illustrated embodiment of the disclosure, bag 570 is passed Sending, in bag 570, compression address is replaced by IPv6 address.Therefore, this is coated and is sent to net Close communication (such as, the leading in the network belonging to primary nodal point 80 at node before 500 Letter) available better simply compression address carries out.
Additionally, in view of the compression address of IPv6 address is stored in mapping table, so work as Comprise when being coated reception of this IPv6 address, will not be with any other IPv6 address compression mistake Journey.
Node 80 can be implemented as being able to access that the sensor node of network, computer or shifting Dynamic terminal.Sensor node includes all types of to utilize sensor collection information and sending The equipment of collected information.Computer may include but be not limited to desktop computer, notebook computer and Analog equipped with web browser.Mobile terminal refers to have portability and ambulant nothing Line communication equipment and all types of hand-held radio communication equipment can be included, such as PCS( People's communication system), GSM(global system for mobile communications), PDC(personal digital cellular system System), PHS(personal handyphone system), PDA(personal digital assistant), IMT(international Mobile communication)-2000, CDMA(CDMA)-2000, W-CDMA(W-code division many Location)-2000 and Wibro(wireless broadband networks) terminal.
According to each shown in Fig. 3,8,9,11 and 13 of embodiment of the present disclosure Parts can be software or hardware component, such as field programmable gate array (FPGA) or special Integrated circuit (ASIC).These parts are configured to carry out certain function.
But, described parts are not limited to software or hardware, and each parts can be stored in In addressable storage medium or one or more processor can be configured to implement.
Therefore, described parts can include such as software, OO software, class, appoint Business, process, function, attribute, program, subprogram, program code segments, driver, solid Part, microcode, circuit, data, data base, data structure, form, array, variable, etc. Deng.
These parts and its function can be combined with each other or be divided into extra parts.
The foregoing description of illustrated embodiment is to provide for the purpose of illustration, and this area skill Art personnel are it is understood that may be made that various changes and modifications and do not change this illustrative reality Execute technology design and the substitutive characteristics of mode.It will therefore be apparent that illustrative above embodiment party Formula is the most all illustrative, and is not limiting as the disclosure.Such as, it is described as The all parts of single type can be implemented in a distributed fashion.Similarly, it is described as It is that distributed parts can be implemented in combination.
The scope of present inventive concept limited by claim below and equivalent way thereof rather than Limited by the detailed description of illustrated embodiment.It should be appreciated that by described claim And the connotation of equivalent way and scope and all of amendment mode conceived and embodiment all quilts It is included in the scope of present inventive concept.

Claims (8)

1. the management method for IPv6 address used in a gateway, described method bag Include:
Receive and comprise the bag of IPv6 address, wherein said IPv6 address include network ID and Interface ID, described interface ID include company ID, label and Extended ID;
Come from institute by removing described network ID and described label from described IPv6 address The IPv6 address stating bag produces MAC Address;By predefined bit sequence is inserted Compression is produced between described company ID and the described Extended ID of described MAC Address Address;And
Described compression address and described IPv6 address are stored in the mapping table,
Wherein said bag is received from Wireless Personal Network node, and described predefined position Sequence is 0xFEFE (1111111011111110).
2. the management method for IPv6 address used in a gateway, described method bag Include:
Receive the bag comprising IPv6 address from node, wherein said IPv6 address includes net Network ID and interface ID, described interface ID include company ID, label and Extended ID;
The compression address of described IPv6 address is retrieved from the mapping table prestored;And
The bag comprising described compression address is sent to described node,
Wherein said compression address is by removing described network ID from described IPv6 address It is inserted into described in described IPv6 address with described label and by predefined bit sequence Produce between company ID and described Extended ID,
And described bag is received from Wireless Personal Network node,
And described predefined bit sequence is 0xFEFE (1111111011111110)。
3. the management method for IPv6 address used in a gateway, described method bag Include:
Receive the bag comprising IPv6 address from primary nodal point, wherein said IPv6 address is wrapped Including network ID and interface ID, described interface ID includes company ID, label and extension ID;
The compression address of described IPv6 address is retrieved from the mapping table prestored;
The described IPv6 address in described bag is replaced with described compression address;And
The described bag comprising described compression address is sent to secondary nodal point,
Wherein said compression address is by removing described network ID from described IPv6 address It is inserted into described in described IPv6 address with described label and by predefined bit sequence Produce between company ID and described Extended ID, and described secondary nodal point is wireless Territory net node,
And described predefined bit sequence is 0xFEFE (1111111011111110)。
4. the management method for IPv6 address used in a gateway, described method bag Include:
The bag of the compression address comprising IPv6 address is received from primary nodal point;
The unpressed described IPv6 of described compression address is retrieved from the mapping table prestored Address, wherein said unpressed IPv6 address includes network ID and interface ID, described Interface ID includes company ID, label and Extended ID;
The described compression address in described bag is replaced with described unpressed IPv6 address; And
The described bag comprising described unpressed IPv6 address is sent to secondary nodal point,
Wherein said compression address is by removing institute from described unpressed IPv6 address State network ID and described label and predefined bit sequence is inserted into described company ID And produce between described Extended ID, and described primary nodal point is Wireless Personal Network joint Point,
And described predefined bit sequence is 0xFEFE (1111111011111110)。
5. a gateway, comprising:
The bag being configured to receive the bag comprising IPv6 address receives unit, wherein said IPv6 address includes that network ID and interface ID, described interface ID include company ID, mark Sign and Extended ID;
It is configured to by described IPv6 address removes described network ID and described label Come from the described IPv6 address extraction MAC Address of described bag and by by predefined Bit sequence is inserted between described company ID and the described Extended ID of described MAC Address Produce the compression address-generation unit of compression address;And
Store described IPv6 address and the mapping database of described compression address,
Wherein said bag receives unit and receives described bag from Wireless Personal Network node,
And described predefined bit sequence is 0xFEFE (1111111011111110)。
6. a gateway, comprising:
The bag being configured to receive the bag comprising IPv6 address from node receives unit, its Described in IPv6 address include that network ID and interface ID, described interface ID include company ID, label and Extended ID;
It is configured to retrieve the address search unit of the compression address of described IPv6 address;
The bag being configured to be sent to the bag comprising described compression address described node sends Unit;And
Store described IPv6 address and the mapping database of described compression address,
Wherein said compression address is by removing described network ID from described IPv6 address It is inserted into described in described IPv6 address with described label and by predefined bit sequence Produce between company ID and described Extended ID,
Further, described bag receives unit and receives described bag from Wireless Personal Network node,
And described predefined bit sequence is 0xFEFE (1111111011111110)。
7. a gateway, comprising:
The bag being configured to receive the bag comprising IPv6 address from primary nodal point receives single Unit, wherein said IPv6 address includes network ID and interface ID, described interface ID bag Include company ID, label and Extended ID;
It is configured to retrieve the address search unit of the compression address of described IPv6 address;
It is configured to the described IPv6 address in the described bag of described compression address replacement Bag converting unit;
It is configured to be sent to the described bag comprising described compression address the bag of secondary nodal point Transmitting element;And
Store described IPv6 address and the mapping database of described compression address,
Wherein said compression address by remove from described IPv6 address described network ID and Predefined bit sequence is also inserted into the described public affairs of described IPv6 address by described label Produce between department ID and described Extended ID,
And described secondary nodal point is Wireless Personal Network node,
And described predefined bit sequence is 0xFEFE (1111111011111110)。
8. a gateway, comprising:
It is configured to receive the bag of the compression address comprising IPv6 address from primary nodal point Bag receives unit;
It is configured to retrieve the ground of the unpressed described IPv6 address of described compression address Location retrieval unit, wherein said unpressed IPv6 address includes network ID and interface ID, described interface ID include company ID, label and Extended ID;
It is configured to replace the described pressure in described bag with described unpressed IPv6 address The bag converting unit of contracting address;
It is configured to the described bag comprising described unpressed IPv6 address is sent to The bag transmitting element of two nodes;And
Store described IPv6 address and the mapping database of described compression address,
Wherein said compression address is described by removing from described unpressed IPv6 address Network ID and described label and predefined bit sequence is inserted into described company ID and Produce between described Extended ID, and described primary nodal point is Wireless Personal Network joint Point,
And described predefined bit sequence is 0xFEFE (1111111011111110)。
CN201180050921.3A 2010-10-22 2011-10-20 IPv6 address management method and execution gateway thereof Expired - Fee Related CN103250381B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
KR1020100103305A KR20120061099A (en) 2010-10-22 2010-10-22 IPv6 ADDRESS MANAGEMENT METHOD AND GATEWAY PERFORMING THE SAME
KR10-2010-0103305 2010-10-22
PCT/KR2011/007830 WO2012053836A2 (en) 2010-10-22 2011-10-20 Ipv6 address management method and gateway performing same

Publications (2)

Publication Number Publication Date
CN103250381A CN103250381A (en) 2013-08-14
CN103250381B true CN103250381B (en) 2016-12-14

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100105086A (en) * 2009-03-20 2010-09-29 삼성전자주식회사 Method for compressing the header of an ip packet and a node in a network based on multiple addresses therefor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100105086A (en) * 2009-03-20 2010-09-29 삼성전자주식회사 Method for compressing the header of an ip packet and a node in a network based on multiple addresses therefor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"无状态地址配置协议中EUI-64接口标识符的改进";梅登华 等;《微计算机信息》;20081125;第24卷(第33期);第201-203页 *

Similar Documents

Publication Publication Date Title
US9173129B2 (en) IPV6 address management method and gateway performing the same
Kushalnagar et al. IPv6 over low-power wireless personal area networks (6LoWPANs): overview, assumptions, problem statement, and goals
CN100589441C (en) IP packet compression method for terminal-to-terminal link transmission
CN100469038C (en) ISATAP router for tunneling packets and method thereof
US20130215810A1 (en) Method and device for transmitting an ipv6 over low power wireless personal area network data packet
CN102025608A (en) Communication method, data message forwarding method in communication process as well as communication nodes
CN102724170A (en) IPv6lowpan-based internet of things gateway supporting UGCCNet
CN102238059B (en) Data message processing method and system and access service node
CN102739809A (en) DNS64 database, server, system and IPv4/IPv6 communication method
CN104038507A (en) Protocol conversion wireless gateway with content as center and communication method thereof
CN109526030A (en) Processing method, device and the equipment of message
KR100870655B1 (en) Gateway and method for transforming a packet using the same
CN107332752A (en) Long chain wireless sensing network system based on 6LoWPAN and attaching method thereof
CN102469174A (en) Data packet header processing method and network gateway for sensor network
KR100854681B1 (en) Gateway and method of interoperating between internet protocol-ubiquitous sensor network and simple network management protocol network
CN102025604A (en) Carrying network and data transmission method
CN103250381B (en) IPv6 address management method and execution gateway thereof
CN104205729A (en) Method, device, and system for configuring device in network
CN105450789A (en) Compression of internet protocol version 6 addresses in wireless sensor networks
CN112866429B (en) Multi-protocol industrial Internet of things fusion gateway and communication method thereof
CN107370841B (en) Method for high-efficiency address resolution on multi-hop wireless network
Piccolo et al. On the IP support in IEEE 802.15. 4 LR-WPANs: self-configuring solutions for real application scenarios
Kim et al. Address internetworking between WSNs and internet supporting web services
CN100561964C (en) The machinery of consultation of IP header-compressed in a kind of WLAN (wireless local area network)
CN102694773A (en) Method for IPv6 wireless sensor network to access to present network

Legal Events

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

Effective date of registration: 20190412

Address after: Sejong City

Patentee after: Koryo University Shizong Industry University Cooperative Force

Address before: Seoul, South Kerean

Patentee before: INTELLECTUAL DISCOVERY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161214