CN104618393A - Low-frequency wireless Mesh ad hoc network transmitting method - Google Patents

Low-frequency wireless Mesh ad hoc network transmitting method Download PDF

Info

Publication number
CN104618393A
CN104618393A CN201510088095.1A CN201510088095A CN104618393A CN 104618393 A CN104618393 A CN 104618393A CN 201510088095 A CN201510088095 A CN 201510088095A CN 104618393 A CN104618393 A CN 104618393A
Authority
CN
China
Prior art keywords
message
layer
sent
ipv6
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510088095.1A
Other languages
Chinese (zh)
Inventor
戴诗旭
林加煌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Technology Co., Ltd.
Original Assignee
XIAMEN WINER TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XIAMEN WINER TECHNOLOGY Co Ltd filed Critical XIAMEN WINER TECHNOLOGY Co Ltd
Priority to CN201510088095.1A priority Critical patent/CN104618393A/en
Publication of CN104618393A publication Critical patent/CN104618393A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a low-frequency wireless Mesh ad hoc network transmitting method. Used hardware of the low-frequency wireless Mesh ad hoc network transmitting method comprises an interface module, a single chip microcomputer and a wireless transceiver module; the interface module and the wireless transceiver module are connected with the single chip microcomputer. The low-frequency wireless Mesh ad hoc network transmitting method comprises a data transmitting process and a data receiving process during Mesh ad hoc network transmission. The low-frequency wireless Mesh ad hoc network transmitting method has the advantages of being far in communication distance, strong in penetrability and good in universality and expansibility due to the fact that Mesh networking communication is performed through the IPv6 protocol and the 6LoWPAN technology.

Description

A kind of low-frequency wireless Mesh MANET transmission method
Technical field
The present invention relates to a kind of low-frequency wireless Mesh MANET transmission method.
Background technology
It is ZigBee technology more widely that wireless self-networking uses, and is mainly used in apart from short, low in energy consumption and carry out transfer of data between the various electronic equipments that transmission rate is not high.ZigBee is the technology of framework in 802.15.4 standard, can be operated in 2.4GHz, in 868MHz, 915MHz tri-frequency ranges.And more the radio communication of low-frequency range generally all uses proprietary protocol to carry out networking, such as, what current Sub 1GHz number biography product generally adopted is exactly proprietary protocol networking, and so-called Sub 1GHz, namely lower than the radio communication below 1GHz frequency range.But proprietary protocol networking has following shortcoming: versatility and autgmentability poor, and be difficult to realize Mesh MANET.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of low-frequency wireless Mesh MANET transmission method, to improve versatility and autgmentability.
The present invention is achieved in that a kind of low-frequency wireless Mesh MANET transmission method, and the hardware that the method uses comprises interface module, single-chip microcomputer and wireless transceiver module, and described interface module and wireless transceiver module are all connected with described single-chip microcomputer; Described method comprises data transmission procedure and DRP data reception process:
Described data transmission procedure comprises:
Step 11, utilize described interface module that external data message is sent to the application layer software of described single-chip microcomputer;
Step 12, application layer software carry out the encapsulation of udp protocol header to data message, and the UDP message of encapsulation is sent to network layer;
Step 13, use IPv6 agreement to carry out header encapsulation in network layer, and use RPL Routing Protocol to select the next hop address of route, and IPv6 message is sent to network adaptation layer;
Step 14, use 6LoWPAN agreement to process IPv6 message in network adaptation layer, when processing, first using IPHC compression algorithm to compress ipv6 header, then IPv6 message being sent to MAC layer;
Step 15, use the carrier sense multiple access protocol (CSMA/CA) of band conflict avoidance in MAC layer, and add IEEE802.15.4 Frame to header, after having added, just application data message is sent to physical layer;
Application data message sends by step 16, the frequency configured according to described wireless transceiver module in physical layer;
Described DRP data reception process comprises:
Step 21, the frequency reception data configured according to described wireless transceiver module in physical layer, and MAC layer will be sent to according to message by receiving driver;
Step 22, to resolve in MAC layer and to verify IEEE802.15.4 data frame head, and the data message after verification is sent to network adaptation layer;
Step 23, use 6LoWPAN agreement to carry out dissection process to data message in network adaptation layer, when processing, using IPHC compression algorithm to reduce to ipv6 header, and the IPv6 message of reduction is sent to network layer;
Step 24, resolve ipv6 header in network layer, and the IPv6 message parsed is sent to the application layer software of single-chip microcomputer or is forwarded to the next hop address of route;
Step 25, application layer software, after receiving IPv6 message, just parse application data message according to udp protocol, and application data message is forwarded to interface module.
Further, described step 13 is specially: use IPv6 agreement to carry out header encapsulation in network layer, and use RPL Routing Protocol to select the next hop address of route, if target ip address is in the list of downstream routing table, then select the next hop address of this route, otherwise just use default upstream routing address as the next hop address of route, afterwards IPv6 message is sent to network adaptation layer;
Described step 14 is specially: use 6LoWPAN agreement to process IPv6 message in network adaptation layer, when processing, IPHC compression algorithm is first used to compress ipv6 header, and judge whether to need burst according to IPv6 message size, if, then burst is carried out to IPv6 message, and the IPv6 message after burst is sent to MAC layer, otherwise with regard to direct, IPv6 message is sent to MAC layer;
Described step 16 is specially: sent by application data message at the frequency usage wireless transceiver module of physical layer according to configuration, when transmission address is unicast address, wait acknowledge bag is needed after being then sent completely, if and receive correct response packet, then show that message sends successfully, if do not receive correct response packet, then need the application data message that retransfers; When transmission address is broadcast address, then without the need to wait acknowledge after being sent completely.
Further, described step 22 is specially: resolve in MAC layer and verify IEEE802.15.4 data frame head, when verifying, first judge whether the target MAC (Media Access Control) address of data message is clean culture and for local mac address, if, then send response packet checking target MAC (Media Access Control) address, and data message is sent to network adaptation layer; Otherwise whether the target MAC (Media Access Control) address just directly judging data message is the machine MAC Address or broadcast MAC address, if so, then data message is sent to network adaptation layer, if not, then abandons data message and process ends;
Described step 23 is specially: using 6LoWPAN agreement to carry out dissection process to data message in network adaptation layer, when processing, first judging whether data message is fragmented, and if so, then receives and is combined by all bursts, if not, then not needing to combine; Then use IPHC compression algorithm to reduce to ipv6 header, and the IPv6 message after reduction is sent to network layer;
Described step 24 is specially: resolve ipv6 header in network layer, if the packet parsed is the machine or broadcast data packet, then and direct application layer software IPv6 message being sent to single-chip microcomputer; Otherwise just use RPL Routing Protocol search the next hop address of route and forward IPv6 message.
Further, described wireless transceiver module is Sub 1GHz rf receiver and transmitter.
Further, described single-chip microcomputer is also connected with power module, indicating lamp module, clock module, watchdog module and power amplifier module.
Tool of the present invention has the following advantages: adopt IPv6 agreement and 6LoWPAN technology to carry out Mesh group-net communication, not only have the advantages such as communication distance is far away, penetrability is strong, and versatility, autgmentability are all fabulous.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is hardware configuration schematic diagram of the present invention.
Fig. 2 is the flow chart of data transmission procedure of the present invention.
Fig. 3 is the flow chart of DRP data reception process of the present invention.
Embodiment
Refer to shown in Fig. 1, a kind of low-frequency wireless Mesh MANET transmission method, the hardware that described method uses comprises interface module, single-chip microcomputer, wireless transceiver module, power module, indicating lamp module, clock module, watchdog module and power amplifier module, and described interface module, wireless transceiver module, power module, indicating lamp module, clock module, watchdog module and power amplifier module are all connected with described single-chip microcomputer; Wherein, described single-chip microcomputer is transplanted and has Contiki embedded OS, described interface module is used for data access and uses, this interface module comprises the serial ports such as RS232/RS485/RS422/TTL and Ethernet interface, described power module is used for providing power supply for described single-chip microcomputer, described indicating lamp module is used to indicate the operating state of described single-chip microcomputer, and described watchdog module is for monitoring the running status of described single-chip microcomputer, and described power amplifier module is used for the amplification of power.
Described method comprises data transmission procedure and DRP data reception process:
Please refer to shown in Fig. 2, described data transmission procedure comprises:
Step 11, utilize described interface module that external data message is sent to the application layer software of described single-chip microcomputer;
Step 12, application layer software carry out the encapsulation of udp protocol header to data message, and the UDP message of encapsulation is sent to network layer;
Step 13, IPv6 agreement is used to carry out header encapsulation in network layer, and use RPL Routing Protocol to select the next hop address of route, if target ip address is in the list of downstream routing table, then select the next hop address of this route, otherwise just use default upstream routing address as the next hop address of route, afterwards IPv6 message is sent to network adaptation layer;
Step 14,6LoWPAN agreement is used to process IPv6 message in network adaptation layer, when processing, IPHC compression algorithm is first used to compress ipv6 header, and judge whether to need burst according to IPv6 message size, if, then burst is carried out to IPv6 message, and the IPv6 message after burst is sent to MAC layer, otherwise with regard to direct, IPv6 message is sent to MAC layer;
Step 15, MAC layer use band conflict avoidance carrier sense multiple access protocol (CSMA/CA), to ensure that transmission medium transmits data in order, efficiently, and add IEEE802.15.4 Frame to header, after having added, just application data message is sent to physical layer;
Step 16, physical layer according to configuration frequency usage Sub 1GHz rf receiver and transmitter application data message is sent, when transmission address is unicast address, wait acknowledge bag is needed after being then sent completely, if and receive correct response packet, then show that message sends successfully, if do not receive correct response packet, then need the application data message that retransfers; When transmission address is broadcast address, then without the need to wait acknowledge after being sent completely.
Refer to shown in Fig. 3, described DRP data reception process comprises:
Step 21, the frequency reception data configured according to described wireless transceiver module in physical layer, and by receiving to drive, data message is sent to MAC layer;
Step 22, to resolve in MAC layer and to verify IEEE802.15.4 data frame head, when verifying, first judge whether the target MAC (Media Access Control) address of data message is clean culture and for local mac address, if, then send response packet checking target MAC (Media Access Control) address, and data message is sent to network adaptation layer; Otherwise whether the target MAC (Media Access Control) address just directly judging data message is the machine MAC Address or broadcast MAC address, if so, then data message is sent to network adaptation layer, if not, then abandons data message and process ends;
Step 23, using 6LoWPAN agreement to carry out dissection process to data message in network adaptation layer, when processing, first judging whether data message is fragmented, if so, then reception being combined by all bursts, if not, then does not need to combine; Then use IPHC compression algorithm to reduce to ipv6 header, and the IPv6 message after reduction is sent to network layer;
Step 24, network layer resolve ipv6 header, if the packet parsed is the machine or broadcast data packet, then direct application layer software IPv6 message being sent to single-chip microcomputer; Otherwise just use RPL Routing Protocol search the next hop address of route and forward IPv6 message;
Step 25, application layer software, after receiving message, just parse application data message according to udp protocol, and application data message is forwarded to interface module, are forwarded to external equipment to facilitate application datagrams literary composition the most at last.
In summary, the present invention adopts IPv6 agreement and 6LoWPAN technology to carry out Mesh group-net communication, not only has the advantages such as communication distance is far away, penetrability is strong, and versatility, autgmentability are all fabulous.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.

Claims (5)

1. a low-frequency wireless Mesh MANET transmission method, it is characterized in that: the hardware that the method uses comprises interface module, single-chip microcomputer and wireless transceiver module, described interface module and wireless transceiver module are all connected with described single-chip microcomputer; Described method comprises data transmission procedure and DRP data reception process:
Described data transmission procedure comprises:
Step 11, utilize described interface module that external data message is sent to the application layer software of described single-chip microcomputer;
Step 12, application layer software carry out the encapsulation of udp protocol header to data message, and the UDP message of encapsulation is sent to network layer;
Step 13, use IPv6 agreement to carry out header encapsulation in network layer, and use RPL Routing Protocol to select the next hop address of route, and IPv6 message is sent to network adaptation layer;
Step 14, use 6LoWPAN agreement to process IPv6 message in network adaptation layer, when processing, first using IPHC compression algorithm to compress ipv6 header, then IPv6 message being sent to MAC layer;
Step 15, use the carrier sense multiple access protocol (CSMA/CA) of band conflict avoidance in MAC layer, and add IEEE802.15.4 Frame to header, after having added, just application data message is sent to physical layer;
Application data message sends by step 16, the frequency configured according to described wireless transceiver module in physical layer;
Described DRP data reception process comprises:
Step 21, the frequency reception data configured according to described wireless transceiver module in physical layer, and MAC layer will be sent to according to message by receiving driver;
Step 22, to resolve in MAC layer and to verify IEEE802.15.4 data frame head, and the data message after verification is sent to network adaptation layer;
Step 23, use 6LoWPAN agreement to carry out dissection process to data message in network adaptation layer, when processing, using IPHC compression algorithm to reduce to ipv6 header, and the IPv6 message of reduction is sent to network layer;
Step 24, resolve ipv6 header in network layer, and the IPv6 message parsed is sent to the application layer software of single-chip microcomputer or is forwarded to the next hop address of route;
Step 25, application layer software, after receiving IPv6 message, just parse application data message according to udp protocol, and application data message is forwarded to interface module.
2. a kind of low-frequency wireless Mesh MANET transmission method according to claim 1, is characterized in that:
Described step 13 is specially: use IPv6 agreement to carry out header encapsulation in network layer, and use RPL Routing Protocol to select the next hop address of route, if target ip address is in the list of downstream routing table, then select the next hop address of this route, otherwise just use default upstream routing address as the next hop address of route, afterwards IPv6 message is sent to network adaptation layer;
Described step 14 is specially: use 6LoWPAN agreement to process IPv6 message in network adaptation layer, when processing, IPHC compression algorithm is first used to compress ipv6 header, and judge whether to need burst according to IPv6 message size, if, then burst is carried out to IPv6 message, and the IPv6 message after burst is sent to MAC layer, otherwise with regard to direct, IPv6 message is sent to MAC layer;
Described step 16 is specially: sent by application data message at the frequency usage wireless transceiver module of physical layer according to configuration, when transmission address is unicast address, wait acknowledge bag is needed after being then sent completely, if and receive correct response packet, then show that message sends successfully, if do not receive correct response packet, then need the application data message that retransfers; When transmission address is broadcast address, then without the need to wait acknowledge after being sent completely.
3. a kind of low-frequency wireless Mesh MANET transmission method according to claim 1, is characterized in that:
Described step 22 is specially: resolve in MAC layer and verify IEEE802.15.4 data frame head, when verifying, first judge whether the target MAC (Media Access Control) address of data message is clean culture and for local mac address, if, then send response packet checking target MAC (Media Access Control) address, and data message is sent to network adaptation layer; Otherwise whether the target MAC (Media Access Control) address just directly judging data message is the machine MAC Address or broadcast MAC address, if so, then data message is sent to network adaptation layer, if not, then abandons data message and process ends;
Described step 23 is specially: using 6LoWPAN agreement to carry out dissection process to data message in network adaptation layer, when processing, first judging whether data message is fragmented, and if so, then receives and is combined by all bursts, if not, then not needing to combine; Then use IPHC compression algorithm to reduce to ipv6 header, and the IPv6 message after reduction is sent to network layer;
Described step 24 is specially: resolve ipv6 header in network layer, if the packet parsed is the machine or broadcast data packet, then and direct application layer software IPv6 message being sent to single-chip microcomputer; Otherwise just use RPL Routing Protocol search the next hop address of route and forward IPv6 message.
4. a kind of low-frequency wireless Mesh MANET transmission method according to claim 1 and 2, is characterized in that: described wireless transceiver module is Sub 1GHz rf receiver and transmitter.
5. a kind of low-frequency wireless Mesh MANET transmission method according to claim 1, is characterized in that: described single-chip microcomputer is also connected with power module, indicating lamp module, clock module, watchdog module and power amplifier module.
CN201510088095.1A 2015-02-26 2015-02-26 Low-frequency wireless Mesh ad hoc network transmitting method Pending CN104618393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510088095.1A CN104618393A (en) 2015-02-26 2015-02-26 Low-frequency wireless Mesh ad hoc network transmitting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510088095.1A CN104618393A (en) 2015-02-26 2015-02-26 Low-frequency wireless Mesh ad hoc network transmitting method

Publications (1)

Publication Number Publication Date
CN104618393A true CN104618393A (en) 2015-05-13

Family

ID=53152668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510088095.1A Pending CN104618393A (en) 2015-02-26 2015-02-26 Low-frequency wireless Mesh ad hoc network transmitting method

Country Status (1)

Country Link
CN (1) CN104618393A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704726A (en) * 2016-03-11 2016-06-22 重庆新源创实业股份有限公司 Multi-band fusion-based power distribution and utilization telephonic communication wireless Ad-Hoc network method and system
CN106604265A (en) * 2016-11-23 2017-04-26 深圳市光迹科技有限公司 Wireless communication protocol establishing method and wireless communication system suitable for intelligent illumination
CN108632777A (en) * 2018-04-23 2018-10-09 天地(常州)自动化股份有限公司 Mining wireless node carries out Point-to-Point Data Transmission method in MESH network
CN108848531A (en) * 2018-06-04 2018-11-20 河南科技大学 A kind of communication means of IPv6 network and ZigBee-network
CN110572488A (en) * 2019-08-30 2019-12-13 天津大学 Method for applying IPv6 to IEEE802.15.4 standard Internet of things

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854361A (en) * 2010-05-21 2010-10-06 南京邮电大学 Next-generation internet protocol header compression method based on internet of things
CN103441939A (en) * 2013-09-13 2013-12-11 重庆邮电大学 Multifunctional boundary router based on IPv6 wireless sensor network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854361A (en) * 2010-05-21 2010-10-06 南京邮电大学 Next-generation internet protocol header compression method based on internet of things
CN103441939A (en) * 2013-09-13 2013-12-11 重庆邮电大学 Multifunctional boundary router based on IPv6 wireless sensor network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704726A (en) * 2016-03-11 2016-06-22 重庆新源创实业股份有限公司 Multi-band fusion-based power distribution and utilization telephonic communication wireless Ad-Hoc network method and system
CN105704726B (en) * 2016-03-11 2019-07-23 重庆新源创实业股份有限公司 Adapted telecommunication wireless self-networking method and system based on multi-band fusion
CN106604265A (en) * 2016-11-23 2017-04-26 深圳市光迹科技有限公司 Wireless communication protocol establishing method and wireless communication system suitable for intelligent illumination
CN108632777A (en) * 2018-04-23 2018-10-09 天地(常州)自动化股份有限公司 Mining wireless node carries out Point-to-Point Data Transmission method in MESH network
CN108848531A (en) * 2018-06-04 2018-11-20 河南科技大学 A kind of communication means of IPv6 network and ZigBee-network
CN110572488A (en) * 2019-08-30 2019-12-13 天津大学 Method for applying IPv6 to IEEE802.15.4 standard Internet of things

Similar Documents

Publication Publication Date Title
US9807794B2 (en) Systems, methods and devices for dynamically setting response indication deferral in wireless networks
JP6396456B2 (en) Multiband management of wireless relay networks
JP6100149B2 (en) System and method for parallel communication with legacy WLAN receivers
CN104618393A (en) Low-frequency wireless Mesh ad hoc network transmitting method
JP6488206B2 (en) Wireless communication apparatus and wireless communication method
US20170054500A1 (en) Visible Light Communications VLC Related Device and Method
JP6878224B2 (en) Wireless communication device and wireless communication method
US9247558B2 (en) System and method for reducing interference between collocated transceivers in a wireless network device
US9420600B2 (en) Dynamic aggregation for coexistence between wireless transceivers of a host device
JP2017028552A (en) Integrated circuit for wireless communication, wireless terminal and wireless communication method
JP2006203893A5 (en)
CN103391603A (en) Low power consumption transmission method for large data information in wireless sensor network
RU2014102180A (en) ENERGY SAVING METHOD AND STATION DEVICE
JP2012114966A (en) Wireless internet connection repeater without signal interference
US10182399B1 (en) Receive operation mode reporting and subsequent frame transmission based on transitions between power management modes
KR20140037239A (en) Filtering group-addressed frames in wi-fi devices
KR20080027562A (en) Data transmission method indicating data pending in zigbee network
CN105578523B (en) The 802.11 self-organizing network energy efficiency priority methods based on cooperative MAC protocol
WO2020088477A1 (en) Communication method and device
US20090175255A1 (en) Wireless terminal and base station devices for multi-hop communication
US20150063319A1 (en) Systems, methods, and apparatus for preventing multiple re-association attempts
JP2017022479A (en) Integrated circuit for radio communication
JP2017022478A (en) Integrated circuit for radio communication
JP2019037008A (en) Wireless communication apparatus and wireless communication method
WO2015131762A1 (en) Data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170425

Address after: Siming District of Xiamen City, Fujian province 361000 Luling Road, room 4 No. 10E

Applicant after: Xiamen Technology Co., Ltd.

Address before: Siming District of Xiamen City, Fujian province 361012 Luling Road, room 4 No. 10E

Applicant before: XIAMEN WINER TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170713

Address after: Siming District of Xiamen City, Fujian province 361000 Luling Road, room 4 No. 10E

Applicant after: Xiamen Technology Co., Ltd.

Address before: Siming District of Xiamen City, Fujian province 361012 Luling Road, room 4 No. 10E

Applicant before: XIAMEN WINER TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150513

WD01 Invention patent application deemed withdrawn after publication