CN110351827A - A kind of wireless self-networking method and system based on Sub-GHz - Google Patents

A kind of wireless self-networking method and system based on Sub-GHz Download PDF

Info

Publication number
CN110351827A
CN110351827A CN201910696920.4A CN201910696920A CN110351827A CN 110351827 A CN110351827 A CN 110351827A CN 201910696920 A CN201910696920 A CN 201910696920A CN 110351827 A CN110351827 A CN 110351827A
Authority
CN
China
Prior art keywords
data
node
network
request
thread
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
CN201910696920.4A
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.)
Shenzhen Small Shark Intelligent Technology Co Ltd
Original Assignee
Shenzhen Small Shark Intelligent 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 Shenzhen Small Shark Intelligent Technology Co Ltd filed Critical Shenzhen Small Shark Intelligent Technology Co Ltd
Priority to CN201910696920.4A priority Critical patent/CN110351827A/en
Publication of CN110351827A publication Critical patent/CN110351827A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The wireless self-networking method and system based on Sub-GHz that the invention discloses a kind of, by realizing that data double-way communicates from generator terminal automatic network-building with multiple by host side, host side will carry out channel estimating to all channels when powering on, select optimum communications channel, and wireless parameter is set on this channel, when host side opens pairing channel, host side can announce nodal information to place channel.If also opening matching function at this time from generator terminal or relay node, it is scanned and monitors one by one from generator terminal or relaying by whole working channels to system, record effective access-in point information, and the information such as PANID, PASSWD for comparing the host client information, pass through distributed computing and Asynchronous Frequency-variable mechanics of communication, combine the multiple access access mechanism of TDMA and FDMA, provide high bandwidth, low delay, the attributes of network of large capacity, local area network and wide area network are gathered, the isomery problem of Sensor Network and transmission network realizes the smooth extension of network coverage.

Description

A kind of wireless self-networking method and system based on Sub-GHz
Technical field
The present invention relates to wireless communication technology field more particularly to a kind of wireless self-networking method based on Sub-GHz and System.
Background technique
In recent years with the fast development of smart phone and Intelligent hardware, it has been realized that following equipment is in addition to electricity Except source, entire communication and link will be wireless penetration, and the shape of these equipment is different, and function is different, power supply power supply Mode is different, receives or the object of control is also different, the content of transmission is even more multifarious.These a large amount of equipment are agreed Surely it needs a strong protocol stack to organize they are orderly, allows data with optimal path, minimum power consumption, It is correctly reliably transmitted on specified intended recipient node, and will not mutually generate interference each other.
The most notable protocol stack in the field is exactly ZigBee technology at present, and the application scenarios most started are exactly to be positioned at intelligence Energy household field, which has had already appeared more than 10 years, from the point of view of current development level, the technology either commercial operation It is upper or in technology realization be less successfully, it is this it is unsuccessful be to have deep technical factor, embody below Several aspects:
(1) the common working band of ZigBee is in 2.4GHz, and there is no problem in the villa of external wood structure, but It is in the reinforced concrete construction substance environment of China, communication effect is simultaneously bad, has seriously affected user experience.
(2) ZigBee is quasi- by the calibration of committee system and is promoted, this committee be by TI, NXP, The companies such as Freescale, ATMEL, STMicro support that the target of these companies is sale chip, they have determined whole behind The big frame of a protocol stack, for target market it is very wide in range but be not accurate to the level of product, user makes With when still need to carry out the optimization of some depth, this requires personnel that protocol stack is optimized need it is deep Understanding protocol stack inner working principle, make modification even for certain characteristics, but the ZigBee committee in order to ensure Compatibility not only sets up the mechanism of a compatibility certification, but also real by the ZigBee technology of the chips manufacturers such as TI publication Now to be provided with binary lib file, not only by protocol stack be limited to particular vendors particular radio-frequency chip and specific place It manages on device platform, that is to say, that the channel for understanding realization mechanism and secondary transformation in depth is blocked in the dust.
(3) ZigBee technology, which lacks, is installing, debugging, dilatation, diagnosis, the spy of some system levels of safeguard etc. Examine, cause it is not handy, user also dare not large-scale use, which only emphasizes self-healing, but does not tell user that there is transported Row is out of joint, is resulted in during installation in this way and product after a period of time using there is a problem, all cannot method to being made User one specific instruction, this just looks like to have taken away the signal strength indicator of an iPhone iPhone equally, this Sample user does not know what state present network is in completely.
(4) ZigBee is only defined merely as sensor network, so being not carried out independent transport layer, ZigBee assumes user Transmission is all small-sized message.In view of the packet loss of cable network is 10^-9 power to 10^-12 power, and wireless network Packet loss in 10^-3 power or so, so packet loss rises quickly in the ZigBee-network of multi-hop, in fact many users All reflect the multi-hop of ZigBee-network and unstable, uses experience and bad.
(5) other the problem of such as channel quantity it is few, WiFi, bluetooth, microwave oven interference etc. other problems all seriously make The about usage experience of ZigBee technology.
The external big factory of chip walks on two legs mostly at present, has both released the ZigBee chip of 2.4GHz, has released simultaneously The radio frequency chip technology of Sub-1GHz.Although ZigBee technology is yet perfect in development, do not jump out 2.4GHz's always Platform, the technical system of entire protocol stack also there is no big change, has begun in user interface layer and abandons profile Thinking, turn to the IPv6 technology of more standard open.
ZigBee technology is also possible as a kind of low rate, inexpensive Sensor Network in the application of some fields, still Applying is having the occasion of higher transmission (transmission network feature) characteristic requirements to be just denied from the conceptual level, specific as follows:
(1) penetrability and diffraction performance are poor, and the gain of PA and LNA are all difficult to be made high, and noise coefficient is big, for user The digital noise of circuit board is very sensitive, and stability is bad, and product noise immunity is poor, not sturdy.
(2) voice is transmitted, the large datas message such as picture and video clip is helpless
(3) voice, GPS, the diversification data type mixed transport ability such as picture are poor
(4) data block of tens K bytes is transmitted under multi-hop model almost without availability
(5) adaptive adjustment capability is poor when network topology structure occurs fast-changing, lacks enough learning abilities
Domestic producer also has many producers in ad hoc network of the research and development based on 433MHz, but most producers are to do Engineering project, especially electricity meter-reading are main target Market Design protocol stack.This kind of protocol stacks is substantially a kind of wide Domain net above has very big limitation in application, and versatility is very poor, can only mend as ZigBee technology one in terms of particular market It fills.
These protocol stacks nearly all have a common problem, are exactly only to be only positioned at wide area network, using time slot extension Mode defines the access time slot of each node, and communication efficiency is very low, even if the network of only several nodes, acquires a number According to being also required to several minutes.
Summary of the invention
The technical problem to be solved in the present invention is that combining TDMA by distributed computing and Asynchronous Frequency-variable mechanics of communication With the multiple access access mechanism of FDMA, high bandwidth, low delay are provided, the attributes of network of large capacity has gathered local area network and wide area The isomery problem of net, Sensor Network and transmission network realizes the smooth extension of network coverage.
For this purpose, the invention discloses a kind of wireless self-networking method and system based on Sub-GHz, including by host side with Automatically networking is constructed between multiple equipment node realizes data double-way communication;
Host side:
S1: power-up initializing;Host side will carry out channel estimating to all channels when powering on, and select optimum communications channel, And wireless parameter is set on this channel, it starts to work;
S2: it carries out Distributed Cooperation and executes networked beacons scheduling thread, backstage register flow path, Message processing thread, network State processing thread, other threads;
From generator terminal;
S01: power-up initializing initializes radio frequency parameter, scans working channel position where all channels find main website;
S02: node searches for all channels one by one and records the master information in respective channel;And determine work letter Road, data frequency, according to estimation link budget obtain result do dynamic gain adjustment, start to work;
S03: whether systems inspection has local data communication request, has calling father node if, examines after father node response Look into the Network Synchronization time, if the Network Synchronization time arrives with main website synchronization time, continue data communication if after time synchronization, The data received are pressed into receiving queue, wait asynchronous process;
It further says, the networked beacons scheduling thread periodically sends scheduling beacon for system into channel, public Cloth Master station access information, entire beacon include that information has main website channel information, PANID, node ID etc., provide connecing for network registration Enter ability.
It further says, the register flow path of the backstage register flow path is as follows: starting to register background thread, judge whether to swash Hot line journey, if then judging whether to receive Node registry request, if not then judging whether waiting is overtime, sends out if waiting time-out Invalid access points information is sent, and stops entering after thread flow and judges whether to activate thread, if receiving Node registry request then The legitimacy of contrast verification PANID, PASSWD etc., judgement verifies whether to pass through, if sending invalid access points information without if, and Enter after stopping thread flow and judge whether to activate thread, if sending response message by verifying, processing queue is requested simultaneously to set It sets and registers thread as state of activation, update routing table, memory node information stops thread flow, judges whether to activate thread, weight Multiple above step.
It further says, the processing thread of the Message processing thread is as follows: starting Message processing, check long-range forwarding number It according to queue, judges whether there is teledata and needs to forward, if so, then extracting destination node global path, obtain next node Address, judge forward-path whether in pond is locally registered, if it is not, then delete message, notice source node routing is invalid, looks into Local data forwarding queue is ask, if so, forwarding data packets, inquire local data forwarding queue, judge whether there is local number According to forwarding, if checking long-range forwarding data queue without if, if it is not, judging whether to receive request, if so, forwarding is local Data message judges whether to communicate successfully, if success, judges whether to receive request, if unsuccessful, and abnormality processing, judgement Request whether is received, if receiving, carries out processing registration request, the calibration of processing uplink, processing down link calibration, processing Data legend request, judges whether global routing table update, if so, updating routing table.
It further says, further includes more than one relay node, each relay node and slave node are entered with main website Wireless data communication is carried out after net registration.
It further says, the register flow path of the relay node is as follows: starting to relay, be powered on and initialized, judge whether to infuse Volume networks, if so, judging whether there is data after checking teledata forwarding queue and needing to forward, if not having, checks link letter Inquiry request is ceased, if so, then forwarding data packets, judge whether communication succeeds, if not having, enters abnormality processing, judges net Whether network is abnormal, if so, judging whether login network access, if not having, after checking link information query request, judges whether there is Link information inquiry request inquires link information if not having, if so, then initiating request to main website or father node, inquires link Information sends scheduling beacon, judges whether to receive request event, if it is not, teledata forwarding queue is then checked, if so, thing Part classification of type, facility registration, into register flow path, data link calibration, data calibration processing, data forwarding, into data Forwarding process, judges whether network is synchronized to clock, if it is not, then check teledata forwarding queue, if so, synchronised clock, Then check teledata forwarding queue.
It further says, the relay node sends network scheduling beacon, mention to other nodes after having succeeded in registration Local data is sent to arbitrary node in network for the access capability of network registration, is received arbitrary node in network and is sent to this section The data of point, serve as the relay node of other nodes, forward the data message of other nodes.
Further say, it is described when sending data to host side from generator terminal or relay node, directly initiated to host side Request is sent, host side enters data receiver process after receiving request.
Further say, the relay node periodically into channel send network scheduling beacon, to other nodes provide into The access capability of net registration then provides data forwarding task if there is data need to forward for it.
The beneficial effects of the present invention are:
The wireless self-networking method and system based on Sub-GHz that the invention discloses a kind of, by by host side with it is multiple Data double-way communication is realized from generator terminal automatic network-building, will be carried out channel estimating to all channels when host side powers on, and be selected best Communication channel, and wireless parameter is arranged on this channel is started to work, and when host side opens pairing channel, host side can be to Place channel announces nodal information.From generator terminal, perhaps if relay node also opens matching function from generator terminal or relaying at this time Whole working channels to system are scanned and are monitored one by one, effective access-in point information is recorded, and compare the host side The information such as PANID, PASSWD of information send pairing request if comparison is consistent and carry out respective request to the host side.It is main By the way that present networks then are added in the node after verifying, otherwise refusal is added generator terminal, and feeds back unpaired message.If by pairing, It then may be implemented to be data communication between host side from generator terminal or relay node.Host side is periodically announced into working channel Host client information, information include node device address, panid, nodal clock information, after receiving the information from generator terminal or relaying May be implemented to network, clock such as synchronizes at the work, when host side has data to need to be sent to device node, host side can be enabled TDMA mechanism sends scheduling beacon, while sending request to specified node or broadcast data, receives scheduling signals simultaneously from generator terminal And to host side response ready for receiving when receiving data receiver request, and enter data receiver process, is needed from generator terminal or relaying When sending data to host side, directly initiate to send request to host side, host side enters data receiver stream after receiving request Journey, relaying can periodically send network scheduling beacon into channel, provide the access capability of network registration to other nodes, if there is Data, which need to forward, then provides data forwarding task for it, to realize more massive networking, while relaying itself can picture The function of communicating with other nodes is equally realized from generator terminal, achievees the purpose that improve power system capacity.By distributed computing and different Ddc communication technology is walked, the multiple access access mechanism of TDMA and FDMA is combined, provides high bandwidth, low delay, the group of large capacity Net characteristic, has gathered local area network and wide area network, and the isomery problem of Sensor Network and transmission network realizes the smooth of network coverage Extend.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment combination attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiment party of the invention Formula without creative efforts, can also be obtained according to these attached drawings it for those skilled in the art His attached drawing.
Fig. 1 is a kind of work of platform register flow path in wireless self-networking method and system based on Sub-GHz in the present invention Flow chart;
Fig. 2 is a kind of work of Message processing thread in wireless self-networking method and system based on Sub-GHz in the present invention Make flow chart;
Fig. 3 is a kind of registration flow of relay node in wireless self-networking method and system based on Sub-GHz in the present invention The work flow diagram of journey;
Fig. 4 is system process flow diagram in the wireless self-networking method and system based on Sub-GHz a kind of in the present invention Flow chart.
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described implementation Example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It please refers to shown in Fig. 1, present embodiments provides a kind of wireless self-networking method and system based on Sub-GHz, wrap It includes and realizes that data double-way communicates by constructing networking between host side and multiple equipment node automatically;
Host side:
S1: power-up initializing;Host side will carry out channel estimating to all channels when powering on, and select optimum communications channel, And wireless parameter is set on this channel, it starts to work;
S2: it carries out Distributed Cooperation and executes networked beacons scheduling thread, backstage register flow path, Message processing thread, network State processing thread, other threads;
From generator terminal;
S01: power-up initializing initializes radio frequency parameter, scans working channel position where all channels find main website;
S02: node searches for all channels one by one and records the master information in respective channel;And determine work letter Road, data frequency, according to estimation link budget obtain result do dynamic gain adjustment, start to work;
S03: whether systems inspection has local data communication request, has calling father node if, examines after father node response Look into the Network Synchronization time, if the Network Synchronization time arrives with main website synchronization time, continue data communication if after time synchronization, The data received are pressed into receiving queue, wait asynchronous process.
It, will be to all when host side powers on by realizing that data double-way communicates from generator terminal automatic network-building with multiple by host side Channel carries out channel estimating, selects optimum communications channel, and wireless parameter is arranged on this channel, starts to work, works as host side When opening pairing channel, host side can announce nodal information to place channel.If also opened at this time from generator terminal or relay node Matching function is opened, is scanned and monitors one by one from generator terminal or relaying by whole working channels to system, record is effective Access-in point information, and the information such as PANID, PASSWD for comparing the host client information send pairing request if comparison is consistent Respective request is carried out to the host side.By the way that present networks then are added in the node after verifying, otherwise refusal is added host side, and anti- Present unpaired message.If may be implemented to be data communication between host side if from generator terminal or relay node by pairing.It is main Generator terminal periodically announces host client information into working channel, and information includes node device address, panid, nodal clock information, from The work such as networking may be implemented after receiving the information in generator terminal or relaying, clock synchronizes, when host side has data needs to be sent to When device node, host side can enable TDMA mechanism and send scheduling beacon, while ask to specified node or broadcast data transmission It asks, receive scheduling signals from generator terminal and is connect when receiving data receiver request to host side response ready for receiving, and into data Process is received, when needing to send data to host side from generator terminal or relaying, directly initiates to send request to host side, host side is received After to request enter data receiver process, relaying can periodically into channel send network scheduling beacon, to other nodes provide into The access capability for netting registration then provides data forwarding task if there is data need to forward for it, to realize more massive Networking, while relaying itself can realize the function of communicating with other nodes as from generator terminal.
Shown in Figure 1, the register flow path of backstage register flow path is as follows: starting to register background thread, judges whether to activate Thread, if then judging whether to receive Node registry request, if not then judging whether waiting is overtime, sends if waiting time-out Invalid access points information, and stop entering after thread flow and judge whether to activate thread, if it is then right to receive Node registry request Than the legitimacy of verifying PANID, PASSWD etc., judgement verifies whether to pass through, and if sending invalid access points information without if, and stops Only enter after thread flow and judge whether to activate thread, if sending response message by verifying, request processing queue is simultaneously arranged Thread is registered as state of activation, updates routing table, memory node information stops thread flow, judges whether to activate thread, repeat Above step.The whether enabled registering functional of detection system, it is enabled if not function is then continued waiting for.It is main if function is enabled Registration beacon will be sent to channel by standing, and indicate that this main website allows facility registration.Main website has constantly detected whether in this process Slave station request access or registion time time-out.Registion time time-out determines that (this time is also that slave station networks by the main website number of channel The maximum search time), it is assumed that time-out time T, number of channel N register and are divided into t1 between beacon transmission time, relay number K.So T=N*t1*k, (N >=1, t1 >=6ms, K >=1), according to nyquist sampling law, at least 2 times of sampling period is only ratio It is safer, therefore T=2* (N*t1*k), for system robust and stability, what we additionally doubled on this basis Time, that is, T=3* (N*t1*k), if slave node request registration, execute verifying node legitimacy match PANID and Other information includes data check information.Refuse to register if authentication failed, otherwise, send response message to it is corresponding from It stands, which is put into request processing queue, and it is state of activation that location registration process thread, which is arranged,.Complete the section After the registration message of point, then backstage location registration process thread is set as hanging up.Update global routing queue's table, and by the slave station Node is stored in EEPROM.This thread establishes teledata queue, and to need the data of wireless forwarding and local data to pass through upper The data queue of position machine or other interactions.Thread checks forwarding data queue status in real time, when remotely forwarding data queue has System goes the global path (global path that each node is recorded when networking) for extracting node when data need to forward, and mentions simultaneously A several dot addresses to be treated are removed, inquiry needs the back end forwarded whether (all in pond is locally registered Slave station succeed in registration Shi Junhui be recorded in be locally registered in pond), if forward the data, otherwise delete the invalid packet, Notify source node routing invalid simultaneously, whether the queue of real-time query local data there are data to need to forward, should if necessary to forwarding Message, while being handled and being sent as a result, whether real time inspection has request event, including registered events, uplink and downlink according to communication condition Data link calibration, data transfer request etc. decide whether to update global routing table according to global routing table update mark.
Shown in Figure 2, the processing thread of Message processing thread is as follows: starting Message processing, checks long-range forwarding data Queue judges whether there is teledata and needs to forward, if so, then extracting destination node global path, obtains next node Address judges forward-path whether in pond is locally registered, if it is not, then deleting message, notice source node routing is invalid, inquiry Local data forwarding queue, if so, forwarding data packets, inquire local data forwarding queue, judge whether there is local data Forwarding, if checking long-range forwarding data queue without if, if it is not, judging whether to receive request, if so, forwarding local number According to message, judge whether to communicate successfully, if success, judges whether to receive request, if unsuccessful, abnormality processing, judgement is It is no to receive request, if receiving, processing registration request, the calibration of processing uplink, processing down link calibration are carried out, number is handled It reportedly requests, judges whether global routing table update, if so, updating routing table.
It specifically, further include more than one relay node, each relay node and slave node network with main website Wireless data communication is carried out after registration.
Shown in Figure 3, the register flow path of relay node is as follows: start to relay, be powered on and initialized, judge whether to register into Net, if not having, checks that link information is looked into if so, judging whether there is data after checking teledata forwarding queue and needing to forward Request is ask, if so, then forwarding data packets, judge whether communication succeeds, if not having, enters abnormality processing, judges that network is No exception, if not having, after checking link information query request, judges whether there is link if so, judging whether login network access Information inquiring request inquires link information if not having, if so, then initiating request, inquiry link letter to main website or father node Breath sends scheduling beacon, judges whether to receive request event, if it is not, teledata forwarding queue is then checked, if so, event Classification of type, facility registration, into register flow path, data link calibration, data calibration processing, data forwarding, into data turn Process is sent out, judges whether network is synchronized to clock, if it is not, then check teledata forwarding queue, if so, synchronised clock, then Check teledata forwarding queue.
All relayings are just able to achieve wireless data communication function after must carrying out network registration with main website, and relaying is being registered After function, for sending network scheduling beacon, local data is sent to net to the access capability that other nodes provide network registration Arbitrary node in network receives the data that arbitrary node in network is sent to this node, serves as the relay node of other nodes, forward The data message of other nodes.
When sending data to host side from generator terminal or relay node, directly initiate to send request, host side to host side Enter data receiver process after receiving request.
Relay node periodically sends network scheduling beacon into channel, provides the access energy of network registration to other nodes Power then provides data forwarding task if there is data need to forward for it.
All slave stations are just able to achieve wireless data communication function, network registration stream after must carrying out network registration with main website Journey are as follows: 1. node systems initialization.2. node searches for all channels one by one and records the letter of the access point in respective channel It ceases (i.e. master information).3. repeating step 1 after search if without effective access point, optimal access point is otherwise selected (having multiple access points), and budget is carried out to the link of the node, if link budget not enough if return and reselect other and connect Ingress, if link budget enough if uplink parameter is calibrated, down data links parametric calibration, calibrate successfully After extract local routing table, this process if any failure can all delete the node and return reselects other access points.4. entering System opens one to code counter simultaneously when network registration process, and system default is 255 heart beat cycles to code operation, cancels The period of operation is 16 heart beat cycles, 4-5 TDMA time slot size (specific time size factor evidence of one of heart beat cycle Rate is related).4. thinking that main website sends registration request, main website can judge whether this node is legal according to registration rule, if legal Network registration can then be ratified and return to registration information to slave station, reply is had successfully received and then enter normal node process.
Whether systems inspection as shown in Figure 4 has local data communication request, there is calling father node, father node response if Check the Network Synchronization time afterwards, if the Network Synchronization time arrives with main website synchronization time, continue data if after time synchronization The data received are pressed into receiving queue, wait asynchronous process by communication.
When there is data to need to send, data can also be pressed into and send processing queue by system, and each data have data crc Data check, while carrying out AES128 and being encrypted, waiting system asynchronous process.
Data processing threads send data in processing, and system carries out hand shaking in the form of TCP, after having negotiated Carry out data communication, it is ensured that data are completely sent.
What has been described above is only an embodiment of the present invention, and the common sense such as well known specific structure and characteristic are not made herein in scheme Excessive description.It, without departing from the structure of the invention, can be with it should be pointed out that for those skilled in the art Make several modifications and improvements.These also should be considered as protection scope of the present invention, these all will not influence what the present invention was implemented Effect and patent practicability.The scope of protection required by this application should be based on the content of the claims, in specification The records such as specific embodiment can be used for explaining the content of claim.

Claims (9)

1. a kind of wireless self-networking method and system based on Sub-GHz, which is characterized in that including by host side and multiple equipment Automatically networking is constructed between node realizes data double-way communication;
Host side:
S1: power-up initializing;Host side will carry out channel estimating to all channels when powering on, and select optimum communications channel, and Wireless parameter is set on this channel, is started to work;
S2: it carries out Distributed Cooperation and executes networked beacons scheduling thread, backstage register flow path, Message processing thread, network state Handle thread, other threads;
From generator terminal;
S01: power-up initializing initializes radio frequency parameter, scans working channel position where all channels find main website;
S02: node searches for all channels one by one and records the master information in respective channel;And determining working channel, Data frequency, according to estimation link budget obtain result do dynamic gain adjustment, start to work;
S03: whether systems inspection has local data communication request, has calling father node if, checks net after father node response Network synchronization time, if the Network Synchronization time arrives with main website synchronization time, continue data communication if after time synchronization, will receive The data indentation receiving queue arrived, waits asynchronous process.
2. a kind of wireless self-networking method and system based on Sub-GHz as described in claim 1, which is characterized in that described Networked beacons scheduling thread periodically sends scheduling beacon for system into channel, announces Master station access information, entire beacon There are main website channel information, PANID, node ID etc. comprising information, the access capability of network registration is provided.
3. a kind of wireless self-networking method and system based on Sub-GHz as described in claim 1, which is characterized in that described The register flow path of backstage register flow path is as follows: starting to register background thread, judges whether to activate thread, if then judging whether to receive It is requested to Node registry, if not then judging whether waiting is overtime, sends invalid access points information if waiting time-out, and stop Enter after thread flow and judge whether to activate thread, if receiving Node registry request then contrast verification PANID, PASSWD etc. Legitimacy, judgement verifies whether to pass through, if sending invalid access points information without if, and stop entering judgement after thread flow be No activation thread, if sending response message by verifying, request, which handles queue and is arranged, registers thread as state of activation, more New routing table, memory node information stop thread flow, judge whether to activate thread, repeat above step.
4. a kind of wireless self-networking method and system based on Sub-GHz as described in claim 1, which is characterized in that described The processing thread of Message processing thread is as follows: starting Message processing, checks long-range forwarding data queue, judge whether there is long-range number According to needing to forward, if so, then extracting destination node global path, next address of node is obtained, whether judges forward-path In pond is locally registered, if it is not, then deleting message, notice source node routing is invalid, inquires local data forwarding queue, if It is, then forwarding data packets to inquire local data forwarding queue, judges whether there is local data forwarding, it is remote if being checked without if Journey forwards data queue, if it is not, then judging whether to receive request, if so, forwarding local data message, judges whether to communicate Success, if success, judges whether to receive request, if unsuccessful, abnormality processing judges whether to receive request, if receiving, Processing registration request, the calibration of processing uplink, processing down link calibration are carried out, processing data legend request judges whether Global routing table update, if so, updating routing table.
5. a kind of wireless self-networking method and system based on Sub-GHz as described in claim 1, which is characterized in that also wrap Progress wireless data is logical after including more than one relay node, each relay node and slave node and main website progress network registration Letter.
6. a kind of wireless self-networking method and system based on Sub-GHz as claimed in claim 5, which is characterized in that described The register flow path of relay node is as follows: starting to relay, is powered on and initialized, judges whether login network access, if so, checking long-range number It after forwarding queue, judges whether there is data and needs to forward, if not having, link information inquiry request is checked, if so, then forwarding number According to message, judge whether communication succeeds, if not having, enter abnormality processing, whether abnormal judge network, if so, judgement is No login network access after checking link information query request, judges whether there is link information inquiry request if not having, if not having, Link information is then inquired, if so, then initiating request to main website or father node, inquires link information, sends scheduling beacon, judgement is No to receive request event, if it is not, then checking teledata forwarding queue, if so, event type is classified, facility registration enters Register flow path, data link calibration, data calibration processing, data forwarding judge whether network synchronizes into data forwarding process To clock, if it is not, teledata forwarding queue is then checked, if so, synchronised clock, then check teledata forwarding queue.
7. a kind of wireless self-networking method and system based on Sub-GHz as claimed in claim 6, which is characterized in that described Relay node sends network scheduling beacon after having succeeded in registration, and the access capability for providing network registration to other nodes is sent out It send local data to arbitrary node in network, receives the data that arbitrary node in network is sent to this node, serve as other nodes Relay node, forward the data message of other nodes.
8. a kind of wireless self-networking method and system based on Sub-GHz as claimed in claim 7, which is characterized in that described When sending data to host side from generator terminal or relay node, directly initiate to send request to host side, host side receives request Enter data receiver process afterwards.
9. a kind of wireless self-networking method and system based on Sub-GHz as claimed in claim 8, which is characterized in that described Relay node periodically sends network scheduling beacon into channel, provides the access capability of network registration to other nodes, if there is Data need to forward, then provide data forwarding task for it.
CN201910696920.4A 2019-07-30 2019-07-30 A kind of wireless self-networking method and system based on Sub-GHz Pending CN110351827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910696920.4A CN110351827A (en) 2019-07-30 2019-07-30 A kind of wireless self-networking method and system based on Sub-GHz

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910696920.4A CN110351827A (en) 2019-07-30 2019-07-30 A kind of wireless self-networking method and system based on Sub-GHz

Publications (1)

Publication Number Publication Date
CN110351827A true CN110351827A (en) 2019-10-18

Family

ID=68180274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910696920.4A Pending CN110351827A (en) 2019-07-30 2019-07-30 A kind of wireless self-networking method and system based on Sub-GHz

Country Status (1)

Country Link
CN (1) CN110351827A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025406A (en) * 2021-11-04 2022-02-08 杭州老板电器股份有限公司 Communication method and device of smoke exhaust system and smoke exhaust system
CN114423060A (en) * 2021-12-02 2022-04-29 深圳市欧标实业发展有限公司 Networking initialization method of single-frequency transfer digital wireless communication system
CN115174664A (en) * 2022-05-31 2022-10-11 宁波三星智能电气有限公司 Registration method of ammeter
CN117793898A (en) * 2023-01-11 2024-03-29 南京新向远微电子有限公司 Sub-1Ghz low-power consumption networking communication method based on time signaling

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001069948A1 (en) * 2000-03-10 2001-09-20 Motorola, Inc. Multiple tree hierarchical communication system and method
KR20130068604A (en) * 2011-12-15 2013-06-26 한국전자통신연구원 Apparatus and method for controlling maritime heterogeneous wireless communication networks
CN103428899A (en) * 2013-07-18 2013-12-04 珠海中慧微电子有限公司 Micropower wireless network ad-hoc networking method based on multi-channel frequency hopping
CN104661282A (en) * 2014-12-09 2015-05-27 中国华戎控股有限公司 Ad-hoc network access, data transmission and construction method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001069948A1 (en) * 2000-03-10 2001-09-20 Motorola, Inc. Multiple tree hierarchical communication system and method
KR20130068604A (en) * 2011-12-15 2013-06-26 한국전자통신연구원 Apparatus and method for controlling maritime heterogeneous wireless communication networks
CN103428899A (en) * 2013-07-18 2013-12-04 珠海中慧微电子有限公司 Micropower wireless network ad-hoc networking method based on multi-channel frequency hopping
CN104661282A (en) * 2014-12-09 2015-05-27 中国华戎控股有限公司 Ad-hoc network access, data transmission and construction method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025406A (en) * 2021-11-04 2022-02-08 杭州老板电器股份有限公司 Communication method and device of smoke exhaust system and smoke exhaust system
CN114025406B (en) * 2021-11-04 2024-02-02 杭州老板电器股份有限公司 Communication method and device of smoke exhaust system and smoke exhaust system
CN114423060A (en) * 2021-12-02 2022-04-29 深圳市欧标实业发展有限公司 Networking initialization method of single-frequency transfer digital wireless communication system
CN115174664A (en) * 2022-05-31 2022-10-11 宁波三星智能电气有限公司 Registration method of ammeter
CN115174664B (en) * 2022-05-31 2023-09-01 宁波三星智能电气有限公司 Registration method of ammeter
CN117793898A (en) * 2023-01-11 2024-03-29 南京新向远微电子有限公司 Sub-1Ghz low-power consumption networking communication method based on time signaling
CN117793898B (en) * 2023-01-11 2024-04-30 南京新向远微电子有限公司 Sub-1Ghz low-power consumption networking communication method based on time signaling

Similar Documents

Publication Publication Date Title
CN110351827A (en) A kind of wireless self-networking method and system based on Sub-GHz
Gnawali et al. Collection tree protocol
US20200107402A1 (en) Interworking lpwan end nodes in mobile operator network
US20150245351A1 (en) Communicating data over a mesh network
CN107005443A (en) Relaying residential gateway between terminal installation and server
JP6637198B2 (en) Technology for assigning short addresses to network devices
Di Marco et al. Performance evaluation of the data transfer modes in Bluetooth 5
WO2017004353A1 (en) Distributed reactive resource and schedule management in time slotted channel hopping networks
CN105827488A (en) MESH network system applicable to smart home, networking method and communication method
WO2015193849A1 (en) Internet of things
JP7147897B2 (en) Wireless sensor system and communication control method
CN102857354A (en) Method, device and system for reporting alarm information
CN110050456A (en) Relaying in LPWAN communication system
Ashraf et al. Device discovery and configuration scheme for Internet of Things
RU2733212C2 (en) Method for load control on data concentration gateway for wireless communication network
US8274359B2 (en) Wireless connectivity for sensors
Lan Experimental study of thread mesh network for wireless building automation systems
CN109561482A (en) A kind of data capture method, data acquisition facility and intelligent terminal
KR20100056364A (en) Method for data transfer based on wireless sensor network
Bharathi et al. An improved link stability based on swift exploring packet ratio using expected time matrix in wireless sensor network
US20240349180A1 (en) Method and system for communicating in a communication network comprising nodes provided with radio and plc communication means and nodes provided with solely radio communication means
TWI848633B (en) Expansion terminal device, hub device, communication system, communication method and storage medium
CN115086446B (en) Data transmission method, system, device, equipment and computer readable storage medium
Cassaniti A Multi-Hop 6LoWPAN Wireless Sensor Network for Waste Management Optimization
CN105933924B (en) A kind of presence detection method, device and the terminal of information exchange software

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191018