CN105246137B - A kind of micropower wireless network data transmission method and system - Google Patents

A kind of micropower wireless network data transmission method and system Download PDF

Info

Publication number
CN105246137B
CN105246137B CN201510562682.XA CN201510562682A CN105246137B CN 105246137 B CN105246137 B CN 105246137B CN 201510562682 A CN201510562682 A CN 201510562682A CN 105246137 B CN105246137 B CN 105246137B
Authority
CN
China
Prior art keywords
node
wake
relay
inter
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510562682.XA
Other languages
Chinese (zh)
Other versions
CN105246137A (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.)
Zhejiang Chint Instrument and Meter Co Ltd
Original Assignee
Zhejiang Chint Instrument and Meter 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 Zhejiang Chint Instrument and Meter Co Ltd filed Critical Zhejiang Chint Instrument and Meter Co Ltd
Priority to CN201510562682.XA priority Critical patent/CN105246137B/en
Publication of CN105246137A publication Critical patent/CN105246137A/en
Application granted granted Critical
Publication of CN105246137B publication Critical patent/CN105246137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0219Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave where the power saving management affects multiple terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

A kind of micropower wireless network data transmission method and system.The method includes:Receive the wake-up association for carrying out the slave node forwarding in routing rank that autonomous node is sent or upper;Judge whether current routing rank in the wake-up association is less than and route total series, according in wake-up association data and above-mentioned judging result come all other from node in network described in synchronized wake-up;Receive the meter reading data frame for carrying out the slave node forwarding in routing rank that autonomous node is sent or upper;Judge whether to address oneself from node MAC addr data according to the target in meter reading data frame;When being addressing oneself, then response meter reading data frame is sent in slave node of second given time into host node or upper routing rank according to the data in meter reading data frame.The method of the present invention carries out networking without timing wake-up gas meter, flow meter, and the radio network path that sends out without host node cycle safeguards data maintenance network, can carry out meter reading at any time, has no the limitation of meter reading time window.

Description

A kind of micropower wireless network data transmission method and system
Technical field
The present invention relates to a kind of wireless network data transmission fields.Relate in particular to a kind of micropower wireless meter reading method And the slave node using this method.
Background technology
As the universal and gas company of the technologies such as technology of Internet of things and big data analysis is to the use destiny evidence of user The requirement of real-time in compression ring border, a large amount of Automatic meter reading system is used to come into being with characteristic, scene.
Currently, Automatic meter reading system usually communicates micropower functions of wireless by main website of gas company service system, long-range GPRS Middle device, local micropower wireless collection device, local micropower wireless repeater and local micropower Wireless IC card gas meter, flow meter composition.
Gas meter, flow meter is responsible for metering and pre-payment control and wirelessly offer destiny evidence and site environment are believed by micropower Breath, the forwarding that can also execute micropower wireless data;Repeater realizes that the forwarding of micropower wireless data, extended wireless data The distance of transmission simultaneously can solve the problems, such as that transmission power is big and consumes energy big when gas meter, flow meter micro-power wireless communication;Collector is realized The combustion gas data acquisition of one micropower wireless network, multiple collectors acquire the combustion gas number of respective micropower wireless network According to making that each micropower wireless network will not expand far distance and the quantity that can make whole system that can acquire gas meter, flow meter is big Increase;All micropowers are wireless in the combustion gas data acquisition network that concentrator management one is made of multiple micropower wireless networks Collector, and online and the real-time information exchange of main website of gas company service system realization by the real-time GPRS of public network.Described Micropower wireless network refers to by a host node and multiple wireless communication networks formed from node, and each equipment specifies a net Network ID, wherein the collecting device as above-mentioned collector or concentrator can be used as host node, and gas meter, flow meter and repeater can be made For from node.
Existing wireless meter reading method mostly uses the wireless network protocol based on ad hoc network such as zigbee, by host node and From the auto-negotiation multihop network between node, or by specified circuit by concentrator-collector/repeater/gas meter, flow meter-acquisition Device/repeater/gas meter, flow meter-gas meter, flow meter multistage transmission mode realizes the data transmission between concentrator and gas meter, flow meter.It is existing The network-building method of technology needs gas meter, flow meter timing wake-up, for safeguarding newest network structure, needs specified meter reading time window, Collecting device periodically sends out data to determine the optimal path of each equipment in micropower wireless network.Such operation pair Accuracy and power consumption of gas meter, flow meter clock etc. are proposed higher requirement, and a more complicated process is needed between gas meter, flow meter Can just calculate it is optimal turn originator, be unfavorable for the power consumption and cost reduction of system.
Invention content
For this purpose, technical problem to be solved by the present invention lies in need periodically actively to wake up and acquire in the prior art Equipment needs actively initiate path detection and cause the problem that system power dissipation is higher, of high cost.For this purpose, the present invention proposes a kind of micro- work( Rate wireless network data transmission method, the micropower wireless network include a host node and multiple from node, the method Including:
Receive the wake-up association for carrying out the slave node forwarding in routing rank that autonomous node is sent or upper;
Judge whether the current routing rank in the wake-up association is less than and route total series, wherein the current routing rank It indicates to receive the routing rank where the slave node of the wake-up frame data;
When the current routing rank in wake-up association, which is less than, route total series, calculated from reception according to the data in wake-up association The first duration T1 at the time of starting to forward wake-up association is played at the time of to wake-up association and from being played at the time of having forwarded wake-up association All the second duration T2 from the node synchronized wake-up moment;
Wake-up association is forwarded after so that this is waited for since at the time of receiving wake-up association first duration T1 from node, immediately It and enters wake-up states after continuing waiting for second duration T2.
Preferably, the data transmission method further includes:
When the current routing rank in wake-up association, which is equal to, route total series, calculated from reception according to the data in wake-up association All third duration T3 from the node synchronized wake-up moment are played at the time of to wake-up association;
Enter wake-up states after so that this is waited for third duration T3 from the time of receiving wake-up association from node.
Preferably, the data transmission method further includes after all synchronized wake-ups from node:
Receive the meter reading data frame for carrying out the slave node forwarding in routing rank that autonomous node is sent or upper;
Judge whether to address oneself from node MAC addr data according to the target in meter reading data frame;
When being addressing oneself, then according to the data in meter reading data frame in given time to host node or a upper route level Slave node in not sends response meter reading data frame;
When not being addressing oneself, then judge whether the current routing rank in meter reading data frame is less than target and route rank Judge, if it is less, turning being played at the time of receiving meter reading data frame according to the data calculating in meter reading data frame The 4th duration T4 at the time of meter reading data frame is sent out, this is made to wait for the 4th duration T4 from receiving meter reading data frame from node After start that meter reading data frame, target routing rank is forwarded to indicate the transmission target of the meter reading data frame where node It route rank.
Preferably, the data transmission method, according to the data in meter reading data frame given time to host node or It is upper one routing rank in slave node send response meter reading data frame the step of include:
It is calculated according to the data in meter reading data frame from playing the given time at the time of receiving meter reading data frame 5th duration T5;
Make this from node the 5th duration T5 is waited for from the time of receiving meter reading data frame after to host node or upper one The slave node routeing in rank sends response meter reading data frame.
The present invention also proposes that a kind of micropower wireless network data Transmission system, the micropower wireless network include one Host node and multiple described from node, including:
First receiving unit, for receiving calling out for the slave node forwarding in routing rank that carry out autonomous node transmission or upper Awake frame;
First judging unit route total series for judging whether the current routing rank in the wake-up association is less than, Described in currently route rank and indicate to receive routing rank where the slave node of the wake-up frame data;
First computing unit is used for when the current routing rank in wake-up association is less than and route total series, according to wake-up association In data calculate played at the time of receiving wake-up association the first duration T1 at the time of forward wake-up association and from forwarding All the second duration T2 from the node synchronized wake-up moment are played at the time of complete wake-up association;
First wakeup unit, for being opened after making this wait for first duration T1 from the time of receiving wake-up association from node Begin forwarding wake-up association, and wake-up states are and then entered after continuing waiting for second duration T2.
Preferably, the micropower wireless network data Transmission system further includes:
Second computing unit is used for when the current routing rank in wake-up association is equal to and route total series, according to wake-up association In data calculate from playing all third duration T3 from the node synchronized wake-up moment at the time of receiving wake-up association;
Second wakeup unit, for making this wait for third duration T3 laggard from the time of receiving wake-up association from node Enter wake-up states.
Preferably, the micropower wireless network data Transmission system further includes:
Second receiving unit, for receiving copying for the slave node forwarding in routing rank that carry out autonomous node transmission or upper Table data frame;
Second judgment unit, for judging whether to address from node MAC addr data according to the target in meter reading data frame Oneself;
First response unit, for when being addressing oneself, according to the data in meter reading data frame in given time to master Slave node in node or upper routing rank sends response meter reading data frame;
Second response unit, for whether when not being addressing oneself, judging the current routing rank in meter reading data frame Judge less than target routing rank, if it is less, needing to forward the meter reading data frame, at this point, according in meter reading data frame Data calculate played at the time of receiving meter reading data frame forward meter reading data frame at the time of the 4th duration T4, make Meter reading data frame, the target routing were forwarded should being waited for after the 4th duration T4 since receiving meter reading data frame from node Rank indicates the transmission target of the meter reading data frame from the routing rank where node.
Preferably, the micropower wireless network data Transmission system, first response unit include:
Third computing unit, for being calculated from the time of receiving meter reading data frame according to the data in meter reading data frame To the 5th duration T5 of the given time, the 5th duration T5 should be waited for from the time of receiving meter reading data frame from node The slave node into host node or upper routing rank sends response meter reading data frame afterwards.
The above technical solution of the present invention has the following advantages over the prior art:
1, micropower wireless network data transmission method of the present invention micropower wireless network therein includes one A host node and multiple from node, this method is sent by host node (such as can be collector equipment (collector/concentrator)) Wake-up association is initiated to wake up instruction, which forwards step by step in network, finally make it is all from node (such as can be combustion gas Table or relay equipment) it all receives wake-up association and then is unified in time point collective's wake-up, to realize that the data of the whole network are copied Reading is ready.This method carries out networking without timing wake-up from node, and wireless network road is sent out without host node cycle Diameter safeguards data maintenance network, only when needing to carry out meter reading, just sends out wake-up instruction by host node, this method makes meter reading It can be carried out in any time, have no the limitation of meter reading time window.
2, in the method applied in the present invention, it will be divided into from node and need the slave node for forwarding wake-up association and need not turn The slave node for sending out wake-up association, different waiting times is accurately calculated according to different situations, to accurately realize same Time point, collective woke up, and realized that the data reading system of the whole network carries out sufficient preparation to be follow-up.
3, in the method applied in the present invention, it is all from node be unified in one time point collective wake up and then it is secondary Meter reading data frame is sent by host node and initiates meter reading instruction, in the meter reading data frame comprising want the target of meter reading from node MAC Address data judge whether according to the MAC Address data to address oneself from node, and then determine according to whether addressing oneself It response meter reading data frame to be sent, the forwarding meter reading data frame such as is to continue with surely or does not forward meter reading data frame.The present invention is adopted In method, initiate to wake up by unique host node in network (such as can be collector equipment (collector/concentrator)) And meter reading instruction, all realized from node (such as can be gas meter, flow meter and relay equipment) receives to wake up and data in Home Network The function of response and data forwarding.The method applied in the present invention carries out networking without timing wake-up gas meter, flow meter, is not necessarily to host node Periodically sending out radio network path safeguards data maintenance network.Only when needing to carry out meter reading, just sent out by host node Instruction is waken up, it is all to be unified in time point collective's wake-up in turn from node, and data forwarding can be carried out, finally realize the whole network Data reading system.The method of the present invention allows meter reading to be carried out in any time, has no the limitation of meter reading time window.
4, in the method applied in the present invention, from node according to the target in meter reading data frame from node MAC addr data Judge whether to address oneself, when being addressing oneself, then be made it possible to according to the data calculating stand-by period in meter reading data frame Response meter reading data frame is sent in slave node of the given time into host node or upper routing rank;When be not addressing oneself When, further determine whether to need to forward, if necessary to forward, then according in meter reading data frame data calculate etc. it is to be forwarded Time accurately controls the time to realize, the data reading system of whole network is made orderly efficiently to carry out.
Description of the drawings
In order to make the content of the present invention more clearly understood, it below according to specific embodiments of the present invention and combines Attached drawing, the present invention is described in further detail, wherein
Fig. 1 is a kind of structural schematic diagram of micropower wireless network of the present invention;
Fig. 2 is the flow chart for the micropower wireless network data transmission method that one embodiment of the invention is provided;
Fig. 3 is the micropower wireless network data transmission method that a preferred embodiment of one embodiment of the invention is provided Partial process view;
Fig. 4 is the structure diagram for the micropower wireless network data Transmission system that another embodiment of the present invention is provided;
Fig. 5 is the micropower wireless network data transmission system that a preferred embodiment of another embodiment of the present invention is provided The structure diagram of system;
Fig. 6 is the micropower wireless network data transmission that another preferred embodiment of another embodiment of the present invention is provided The part-structure block diagram of system;
Fig. 7 is the structure diagram of the first response unit in another embodiment of the present invention.
Specific implementation mode
Fig. 1 shows a kind of structural schematic diagram of micropower wireless network, as shown in Figure 1, the wireless network includes one Host node and multiple from node, wherein host node is responsible for sending initial data, each from Node distribution in 1-3 grade route Grade routing is made of the slave node of multiple same levels, and specifically, the 1st grade in Fig. 1 routing includes 6 from node, the 2nd grade Routing includes 4 from node, and 3rd level routing includes 4 from node.In order to realize that data pass in micropower wireless network Defeated, the present embodiment provides a kind of micropower wireless network data transmission methods, referring to Fig. 2, the wireless network data transmission side Method includes the following steps:
S1:Receive the wake-up association for carrying out the slave node forwarding in routing rank that autonomous node is sent or upper.First, one A micropower wireless network, in the micropower wireless network being e.g. made of collector, concentrator, repeater and gas meter, flow meter by It acquires (collector/concentrator) equipment and starts a meter reading, a meter reading realizes in two stages, respectively awakening phase and copies The table stage.Be awakening phase in the first stage, because in network respectively from node usually in a dormant state, the receipts of data can not be carried out Hair, collecting device need to send wake-up association (short data frame), make all from node at the appointed time unified wake-up in network.
The format of wake-up association can be as shown in table 1, sends remaining time length including at least wake-up association, network identity, prolongs When grade, total timeslot number, current routing rank and the total series of routing.Wherein, the wake-up association transmission remaining time length refers to This wake-up association sends the time span terminated apart from this wake-up association, is the remaining time mark of current awake frame transmission process Know;The network identity shows the mark of work at present network;Total timeslot number refers to same routing level network from node Forward data total time space-number (can be divided into wake-up association forwards total timeslot number and data frame to forward total two values of timeslot number, this Two values are carried by wake-up association and data frame respectively, and the two numerical value can be different, but are given tacit consent to when host node transmission identical), Can exterior arrangement, by taking the wireless network architecture of Fig. 1 as an example, due to every level-one routing slave number of nodes be up to 6, so together One routing level network is 6 from the total time space-number of node for data forwarding, i.e., total timeslot number is 6, and total timeslot number is by leading Node carries when sending wake-up association and data frame, this in wake-up association and data frame can't be changed when forwarding from node Content;The delay grade refers to same routing level network from node, and forwarding data frame is played from the data frame moment is received At the time of stop, the timeslot number being spaced between this, i.e., which time slot in total timeslot number, be delayed grade<Total timeslot number, if when total Gap number is 6, and n0, n1, n2, n3, n4, n5 time interval number can be randomly assigned to same routing rank by delay grade by system It is each in network to be obtained from node;The total series of routing refers to total series of data forwarding, extraneous can be configured, the road in Fig. 1 It it is 3 grades by total series;The current routing rank refers to the slave node institute for indicating to receive the wake-up association or data frame data Routing rank, if such as it is 2 grades of -0# to receive the slave node of the wake-up association, the current routing rank is 2 grades, several When according to forwarding, need that the current routing rank in the frame that receives is carried out adding one to handle to be forwarded again.
Table 1 wakes up a kind of specific example of frame format
S2:Judge whether the current routing rank in the wake-up association is less than and route total series, wherein the current routing Rank indicates to receive the routing rank where the slave node of the wake-up frame data, when the current routing rank in wake-up association is less than When routeing total series, S3 is entered step, when the current routing rank in wake-up association, which is equal to, route total series, enters step S5.
S3:At the time of wake-up association being forwarded being played at the time of receiving wake-up association according to the data calculating in wake-up association The first duration T1 and from playing all the second duration T2 from the node synchronized wake-up moment at the time of having forwarded wake-up association.When calling out When current routing rank in awake frame is less than routing total series, then need to forward the wake-up association, that is to say, that when in wake-up association Current routing rank be less than and route total series, illustrate that data are also not transferred to afterbody routing, receive current data Need to forward data to again from node it is each from node in next stage routing, until level-one is route data transmission to the end.
S4:Wake-up association is forwarded after so that this is waited for since at the time of receiving wake-up association first duration T1 from node, And then enter wake-up states after continuing waiting for second duration T2.
S5:When the current routing rank in wake-up association be equal to route total series when, according in wake-up association data calculate from All third duration T3 from the node synchronized wake-up moment are played at the time of receiving wake-up association.
S6:Enter wake-up states after so that this is waited for third duration T3 from the time of receiving wake-up association from node.
In the following, the principle that wake-up association transmits in the wireless network is introduced first, and then to the calculating of above-mentioned duration T1, T2 Journey explains:
In order to evade the collision and interference on Radio Link, repeating process, which has been limited in given time slot, to carry out, from And ensure in any one spatial dimension at any one time point, only there are one carry out data from node to send operation.
By taking the wireless network in Fig. 1 as an example, for host node, total time slot is set in the wake-up frame data sent Number, it is assumed that total timeslot number is 6, then the 1st route level has 6 time slots, all data received can be at 6 of the 1st route level Duplication forwarding is carried out in time slot, it, next can be if 1-0#~1-5# has received data simultaneously from node in 0 time slot Data forwarding transmission is carried out in 1-6 time slot successively.
For the 2nd grade of routing, it can be subsequently received the 2nd grade of routing in time slot 1-6 and forwarded from node 1-0#~1-5# Wake-up association, if routing rank where the slave node of the wake-up association received is equal to the expected routing rank of the wake-up association, It will not be forwarded again, otherwise, then it is forwarded operation.Since the forwarding time slot of the 1st grade of routing is known in the 2nd grade of routing Number is 6, will not generate conflict with the 1st grade of routing when in order to ensure to send, the forwarding of the 2nd grade of routing must be on the 1st grade of road Node by being possible to receive forwarding data is completed after its forwarding task, that is to say, that 1-6 time slots must be hidden, So first of the 2nd grade of routing forwards frame since time slot 7, until 12, totally 6 forwarding time slots, carry out data transmission.
It, can be in time slot 7-12 since 3rd level routing is minimum data route level for 3rd level routing It is subsequently received the forwarding wake-up association that the 2nd grade of routing is sent from node 2-0#~2-3#, if the slave node institute of the wake-up association received Routing rank be equal to the expected routing rank of the wake-up association, then will not be forwarded again.If there is more route levels, Then and so on.
If currently routeing rank from node is equal to expected routing rank, then it represents that this frame arrives at the destination.Network is from section After point receives the wake-up association that destination is this node, according to the information that wake-up association carries, the time is calculated so as to when unified Between be in full speed running state.
According to the analysis of above-mentioned wake-up association repeating process principle:
(1) certain stops from nodes X from the time of receiving wake-up association to the at the time of of forwarding wake-up association is started, among this Stand-by period, length T1 included two parts:
First, the other all node for data forwarding time spans of upper level route level, the time span is equal to (total time slot Number-delay grade -1) × primary the time span for waking up frame data of often forwarding+wake-up association transmission remaining time+per primary network station The data retention error compensation time, since it is desired that all nodes forwarding of upper level routing is waited for wake up frame end, this level-one road From node could to next stage route node send wake-up association.For example, total timeslot number is 5, that delay grade may It is some (remming to 5, be to be certainly less than 5) in 0,1,2,3,4.In this case, the data received when a certain node/ In wake-up association total timeslot number be 5, delay grade be 4, then it represents that be upper level node in the last one time slot issued Data, and this data has been received and (because data are sent out, and has been received, so subtracting 1), and such 5-4-1 is Zero, indicate that the node of upper level has all sent data.In addition, about to " the often forwarding primary time for waking up frame data is long Degree " is explained as follows:Wake-up association can persistently be forwarded whithin a period of time by receiving the slave node of data, this persistently send when Between be exactly the primary time span for waking up frame data of often forwarding.For example, a waking up nodes frame is 2 seconds a length of when sending, but one 4 bytes of wake-up association, which are sent completely, only needs 1 millisecond, can send 2000 wake-up associations in 2 seconds in this way.For another example, it is assumed that total Timeslot number is 5, and it is 2 seconds × 5=10 seconds that the node in the routing of this level-one, which forwards the total time of wake-up association, in this way, 0,2,4,6, 8 seconds these time points had node that can forward wake-up association.
Second, should be from nodes X in the time span of this routing rank forwarding number evidence, this part-time length, which is equal to, to be delayed Grade × primary the time span for waking up frame data of often forwarding, because the node with level-one routing may have several, it is impossible to These nodes while transmission data (wireless data of same frequency range can be caused to interfere in this way).So within the scope of total timeslot number, It sends at times, delay grade is exactly the meaning of which time slot within the scope of total timeslot number, and is randomly generated according to each node.
Therefore, the first duration T1 is obtained according to following formula:
T1=nrelay-inter×twakeup+(nrelay-inter-max-nrelay-inter-1)×twakeup+twakeup-left+tmakeup
Wherein, nrelay-inter-maxIndicate that total timeslot number, i.e., same routing level network are all from the total of node for data forwarding Time interval number;nrelay-interIndicate delay grade, i.e., same routing level network is from node from receiving the data frame moment Which stop at the time of to forwarding data frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e. this time span for sending wake-up association;twakeup-leftExpression is called out Frame of waking up sends remaining time, i.e. this wake-up association sends the time terminated apart from this wake-up association;tmakeupIndicate a route level network The data retention error compensation time.
(2) certain stops from nodes X from the time of having forwarded wake-up association at the time of into wake-up states, among this etc. Wait for that time span T2 includes two parts:
First, residue routing rank data forwarding time span, this part-time length, which is equal to, (it is current to route total series- It route rank -1) × (the total timeslot number × primary time span for waking up frame data+each stage network data of often forwarding is detained error Compensate the time).Assuming that " currently routeing rank " is 2 in the wake-up association that node receives, " routeing total series " is 6, then also has below 3,4,5,6 grades of routing, the other node of these route levels all need forwarding data (being required for spending the time per level-one naturally), and certainly 2 grades of other nodes of route level of body currently only receive data, and do not start to forward, in this way itself 2 grades of other section of route level Point is also required to that the time is spent to be forwarded.Wherein, 3,4,5 grades of routing rank forwarding numbers are known as residue according to the time of required cost Rank data forwarding time;
Second, should be from nodes X in the time span of this routing rank forwarding number evidence, this part-time length is equal to (total Timeslot number-delay grade -1) × primary the time span for waking up frame data of often forwarding+each stage network data delay error compensation Time.
Therefore, the second duration T2 is obtained according to following formula:
T2=(rexp-rcurr-1)×(nrelay-inter-max×twakeup+tmakeup)+(nrelay-inter-max-nrelay-inter-1) ×twakeup+twakeup-left+tmakeup
Wherein, rexpIt indicates to route total series, i.e. total series of data forwarding;rcurrIt indicates current routing rank, that is, receives To the routing rank where the slave node of the wake-up frame data;nrelay-inter-maxIndicate total timeslot number, i.e., same routing rank net All total time space-numbers from node for data forwarding of network;nrelay-interIndicate delay grade, i.e., same routing level network from Node from receive the data frame moment play forwarding data frame at the time of stop, the timeslot number being spaced between this, i.e., in total timeslot number Which time slot, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e., this sends wake-up association Time span;twakeup-leftIndicate that wake-up association sends remaining time length, i.e. this wake-up association terminates apart from the transmission of this wake-up association Time span;tmakeupIndicate that a routing stage network data is detained the error compensation time.
Referring to Fig. 2, in step S5, it is route total series when the current routing rank in wake-up association is equal to, illustrates at this time to call out Awake frame data have passed to afterbody route network, no longer need to, toward next stage routing forwarding data, only need to wait in this way All node for data forwarding of upper routing rank terminate, and the difference with the meter reading data frame forwarding being subsequently noted is exactly to call out here Frame of waking up sends remaining time length twakeup-left, because wake-up association transmission duration is longer, need to additionally there is a remaining time.Specifically It says, each node is low power consuming devices, and before being waken up in a dormant state, the node under dormant state can be spaced node Such as wake up within 5 seconds 20 milliseconds, data only could be received in this 20 milliseconds of interior nodes, so in this case, the hair of wake-up association It send duration to reach 5.02 seconds, can just be received by node.And the meter reading data frame being subsequently noted is just without such case, because When transmission data frame, node has all been waken up, and any moment can receive data.
According to above-mentioned principle it is found that when need not forward wake up frame data when, should from nodes X from receive wake-up association when It carves, stops at the time of into wake-up states, this intermediate stand-by period T3 is made of two parts time:
First, upper level route all node data sending time length of rank, this part-time length is equal to (total time slot Number-delay grade -1) × often forwarding primary the time span for waking up frame data+each stage network data is when being detained error compensation Between, since it is desired that all nodes forwarding of upper level routing is waited for wake up frame end, the node of this level-one routing could be to next The node of grade routing sends wake-up association.
Second, wake-up association sends remaining time length, i.e. it is long to send the time terminated apart from this wake-up association for this wake-up association Degree.
Therefore, the third duration T3 is obtained according to following formula:
T3=(nrelay-inter-max-nrelay-inter-1)×twakeup+tmakeup+twakeup-left
Wherein, nrelay-inter-maxIndicate that total timeslot number, i.e., same routing level network are all from the total of node for data forwarding Time interval number;nrelay-interIndicate delay grade, i.e., same routing level network is from node from receiving the data frame moment Which stop at the time of to forwarding data frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e. this time span for sending wake-up association;twakeup-leftExpression is called out Frame of waking up sends remaining time length, i.e. this wake-up association sends the time span terminated apart from this wake-up association;tmakeupIt indicates all the way The error compensation time is detained by stage network data.Micropower wireless network data transmission method used by the present embodiment, wherein Micropower wireless network include a host node and multiple from node, this method (such as can be that collector is set by host node Standby (collector/concentrator)) it sends wake-up association and initiates to wake up instruction, which forwards step by step in network, finally makes institute Wake-up association is all received from node (such as can be gas meter, flow meter and relay equipment) and then is unified in a time point collective It wakes up, to realize that the data reading system of the whole network is ready.This method carries out networking without timing wake-up from node, is not necessarily to host node It periodically sends out radio network path and safeguards that data maintenance network is just sent out by host node only when needing to carry out meter reading Wake up instruction.Meter reading in the present embodiment can be carried out in any time, the limitation of meter reading time window be had no, without periodically calling out Gas meter, flow meter of waking up carries out networking, and radio network path is periodically sent out without collecting device and safeguards data maintenance network, therefore, is The power consumption and cost of system all greatly reduce.
In the method applied in the present invention, it will be divided into from node and need the slave node for forwarding wake-up association and need not forward The slave node of wake-up association, different waiting times is accurately calculated according to different situations, to accurately realize when same Jian Dian collectives wake up, and realize that the data reading system of the whole network carries out sufficient preparation to be follow-up.
As a preferred implementation manner, referring to Fig. 3, further include after all synchronized wake-ups from node:
S7:Receive the meter reading data frame for carrying out the slave node forwarding in routing rank that autonomous node is sent or upper.Because Each node has all been in wake-up states in network, and host node is such as collecting device according to the nodal information of configuration (MAC Address) It carries out sending meter reading data frame meter reading one by one;Network judges whether after node receives meter reading data frame according to mac address information Oneself is addressed, oneself just determines whether to need the processing for carrying out data forwarding if not addressing, therefore, as from node, Its meter reading data frame received is likely to be host node transmission, it is also possible to what the slave node in upper routing rank forwarded, Be also likely to be same level-one route level not in slave node forward.Delay grade is included at least in meter reading data frame as shown in table 2 With these information of routing rank.Further include that the meter reading agreement of some other such as encapsulation or data transmission add in meter reading data frame The information such as close are not unfolded to repeat herein.
A kind of specific example of 2 meter reading data frame format of table
S8:Judge whether to address oneself from node MAC addr data according to the target in meter reading data frame;When be addressing from Oneself when, then enter step S81;When not being addressing oneself, then S82 is entered step.Target in the frame according to meter reading data Judge whether to address from node MAC addr data oneself be by the target in the meter reading data frame from node MAC addr with from Oneself MAC Address is compared, and is considered to address oneself if consistent, not thinks to be addressing oneself if inconsistent.
S81:Slave node according to the data in meter reading data frame in given time into host node or upper routing rank Send response meter reading data frame.Step S81 further comprises:
S811:It is calculated from when playing described specified at the time of receiving meter reading data frame according to the data in meter reading data frame The 5th duration T5 carved.
S812:Make this from node the 5th duration T5 is waited for from the time of receiving meter reading data frame after to host node or Slave node in upper routing rank sends response meter reading data frame.That is, response meter reading data frame will wait until meter reading number It is forwarded in entire wireless network according to frame and terminates to send, therefore, certain is from nodes X from the time of receiving meter reading data frame It rises, stops at the time of sending response meter reading data frame to the slave node into host node or upper routing rank, this intermediate waiting Time span T5 includes two parts:
First, the residue routing rank data forwarding time, this part-time, which is equal to, (to be route total series-and currently route rank- 1) × (total timeslot number × when time span+each stage network data of a meter reading data frame often being forwarded to be detained error compensation Between), the time span of a meter reading data frame that often forwards is, for example, 500 milliseconds;
Second, itself routing rank data forwarding time, this part-time is equal to (total timeslot number-delay grade -1) × every Time span+each stage network data of a meter reading data frame is forwarded to be detained the error compensation time, because in same primary network station Interior, (not being addressing itself) each node is required for forwarding;But it cannot be forwarded in synchronization.Such as total timeslot number is 5, Indicate that these nodes can respectively forward in 5 timeslices, such as 0,1,2,3,4 moment.One node is in 2 moment forwarding numbers According to rear, after also needing to wait for (5-2-1) a time, this data, which just forwards in this primary network station, to be terminated.
Therefore, the 5th duration T5 is obtained according to following formula:
T5=(rexp-rcurr-1)×(nrelay-inter-max×trelay-inter+tmakeup)+(nrelay-inter-max- nrelay-inter-1)×trelay-inter+tmakeup
Wherein, rexpIt indicates to route total series, i.e. total series of data forwarding;rcurrIt indicates current routing rank, that is, indicates Receive the routing rank where the slave node of the data frame data;nrelay-inter-maxIndicate total timeslot number, i.e., same route level All total time space-numbers from node for data forwarding of other network;nrelay-interIndicate delay grade, i.e., same routing rank net Network from node from receive the data frame moment play forwarding data frame at the time of stop, the timeslot number being spaced between this, i.e., total time slot Which time slot in number, this value are less than total timeslot number;trelay-interIndicate the time span of an often meter reading data frame of forwarding, tmakeupIndicate that a routing stage network data is detained the error compensation time.
S82:Judge whether the current routing rank in meter reading data frame is less than target and route rank, the target route level Do not indicate the transmission target of the meter reading data frame from the routing rank where node.If the current routing in meter reading data frame Rank is equal to target and route rank, then need not forward the meter reading data frame;If the current route level in meter reading data frame Not little Yu target route rank, then need to forward the meter reading data frame to next stage routing from node.
When needing to forward meter reading data frame, calculated according to the data in meter reading data frame from receiving meter reading data frame Moment plays the 4th duration T4 at the time of starting to forward meter reading data frame, should be waited for from receiving meter reading data frame from node Start to forward meter reading data frame after 4th duration T4.Therefore, certain is arrived from nodes X from the time of receiving meter reading data frame Start to stop at the time of forwarding meter reading data frame, this intermediate stand-by period T4 is made of two parts time:
The first, upper one route rank from node for data forwarding time span.A upper routing all of rank will from node Data are forwarded, each from node for data forwarding there are an interval time, to wait until that upper level route level is other all from section Point forwarding end of data, itself this level-one route level special talent can start to forward data.Assuming that total timeslot number is 5, then the node is received To the delay grade of data frame be likely to be a value in 0,1,2,3,4 (i.e. 5 moment in total, the data received may It is the data issued at 0,1,2,3,4 moment).In this way wait for it is upper one routing rank all nodes forwarding completion, waiting when Between be to be calculated according to (the total timeslot number-delay grade -1) in data frame.That is, this part-time is equal to (total timeslot number-delay Grade -1) × forward time span+each stage network data of meter reading data frame to be detained the error compensation time;
Second, from the time span in this routing rank forwarding number evidence.Itself this level-one route level it is other it is all from The time forwards data, n to node in certain intervalsrelay-interIt indicates delay grade, is the random value each generated from node, because The time of this itself forwarding data is the time span of delay grade × forwarding meter reading data frame.
Therefore, the 4th duration T4 is obtained according to following formula:
T4=(nrelay-inter-max-nrelay-inter-1)×trelay-inter+tmakeup+nrelay-inter×trelay-inter
Wherein, nrelay-inter-maxIndicate that total timeslot number, i.e., same routing level network are all from the total of node for data forwarding Time interval number;nrelay-interIndicate delay grade, i.e., same routing level network is from node from receiving the data frame moment Stop at the time of to forwarding data frame, the timeslot number being spaced between this, i.e., which time slot in total timeslot number, delay grade according to Equipment firmware beat number when receiving wireless data generates, and modification data frame delay grade is the value when forwarding, this value is less than Total timeslot number;trelay-interIndicate that the time span of an often meter reading data frame of forwarding, i.e., same routing rank network node turn Send out the time span of data frame;tmakeupIndicate that a routing stage network data is detained the error compensation time.
In method used by present embodiment, it is all from node be unified in one time point collective wake up and then It is secondary meter reading data frame is sent by host node to initiate meter reading instruction, in the meter reading data frame comprising want the target of meter reading from node MAC Address data judge whether according to the MAC Address data to address oneself from node, and then determine according to whether addressing oneself It response meter reading data frame to be sent, the forwarding meter reading data frame such as is to continue with surely or does not forward meter reading data frame.Present embodiment In used method, initiated by unique host node in network (such as can be collector equipment (collector/concentrator)) Wake up and meter reading instruction, in Home Network it is all realized from node (such as can be gas meter, flow meter and relay equipment) receive to wake up and The function of data answering and data forwarding.Method used by present embodiment carries out networking, nothing without timing wake-up gas meter, flow meter The radio network path that sends out of host node cycle is needed to safeguard data maintenance network.Only when needing to carry out meter reading, just by leading Node sends out wake-up instruction, all to be unified in time point collective's wake-up in turn from node, and can carry out data forwarding, finally Realize the data reading system of the whole network.The method of the present invention allows meter reading to be carried out in any time, has no meter reading time window Limitation.
In method used by present embodiment, from node according to the target in meter reading data frame from node MAC addr number It is judged that whether addressing oneself, when being addressing oneself, then made it possible to according to the data calculating stand-by period in meter reading data frame It is enough to send response meter reading data frame in slave node of the given time into host node or upper routing rank;When be not addressing oneself When, further determine whether to need to forward, if necessary to forward, then according in meter reading data frame data calculate etc. it is to be forwarded Time accurately controls the time to realize, the data reading system of whole network is made orderly efficiently to carry out.
As another embodiment, referring to FIG. 4, the present embodiment provides a kind of micropower wireless network data transmission systems System, the micropower wireless network include a host node and multiple described from node, including:
First receiving unit (1), for receiving the slave node forwarding in routing rank that carry out autonomous node transmission or upper Wake-up association;
First judging unit (2) route total series for judging whether the current routing rank in the wake-up association is less than, The wherein described current routing rank indicates to receive the routing rank where the slave node of the wake-up frame data;
First computing unit (3) is used for when the current routing rank in wake-up association is less than and route total series, according to wake-up Data in frame are calculated played at the time of receiving wake-up association forward the first duration T1 at the time of wake-up association and from turning All the second duration T2 from the node synchronized wake-up moment are played at the time of distributing wake-up association;
First wakeup unit (4), for making this wait for first duration T1 from the time of receiving wake-up association from node After start forward wake-up association, and then after continuing waiting for second duration T2 enter wake-up states.
As a preferred embodiment, referring to Fig. 5, the micropower wireless network data Transmission system further includes:
Second computing unit (5) is used for when the current routing rank in wake-up association is equal to and route total series, according to wake-up Data in frame are calculated from playing all third duration T3 from the node synchronized wake-up moment at the time of receiving wake-up association;
Second wakeup unit (6), for making this wait for third duration T3 from the time of receiving wake-up association from node Enter wake-up states afterwards.
As another preferred embodiment, referring to Fig. 6, the micropower wireless network data Transmission system further includes:
Second receiving unit (7), for receiving the slave node forwarding in routing rank that carry out autonomous node transmission or upper Meter reading data frame;
Second judgment unit (8), for judging whether to seek from node MAC addr data according to the target in meter reading data frame Location oneself;
First response unit (81), for when be addressing oneself when, according to the data in meter reading data frame in given time Slave node into host node or upper routing rank sends response meter reading data frame;
Second response unit (82), for when not being addressing oneself, judging the current routing rank in meter reading data frame Whether it is less than target routing rank to judge, if it is less, needing to forward the meter reading data frame, at this point, according to meter reading data Since the data calculating in frame forward the 4th duration at the time of meter reading data frame being played receive meter reading data frame at the time of Since T4 forward meter reading data frame so that this is waited for after the 4th duration T4 receiving meter reading data frame from node;If waited In, then need not forward the meter reading data frame, the target routing rank indicate the transmission target of the meter reading data frame from Routing rank where node.
Preferably, referring to Fig. 7, first response unit (81) further comprises:
Third computing unit (811), for being calculated according to the data in meter reading data frame from receiving meter reading data frame Moment plays the 5th duration T5 of the given time;
First response subelement (812), for make this wait for from the time of receiving meter reading data frame from node this Slave node after five duration T5 into host node or upper routing rank sends response meter reading data frame.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or It changes still within the protection scope of the invention.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.

Claims (8)

1. a kind of micropower wireless network data transmission method, the micropower wireless network include a host node and it is multiple from Node, which is characterized in that the method includes:
Receive the wake-up association for carrying out the slave node forwarding in routing rank that autonomous node is sent or upper;
Judge whether the current routing rank in the wake-up association is less than and route total series, wherein the current routing rank indicates Receive the routing rank where the slave node of the wake-up frame data;
When the current routing rank in wake-up association, which is less than, route total series, is calculated from receiving and called out according to the data in wake-up association Wake up frame at the time of play the first duration T1 and all from being played at the time of having forwarded wake-up association at the time of starting to forward wake-up association From the second duration T2 at node synchronized wake-up moment;
Wherein, the first duration T1 is calculated according to following formula:
T1=nrelay-inter×twakeup+(nrelay-inter-max-nrelay-inter-1)×twakeup+twakeup-left+tmakeup
In formula, nrelay-inter-maxIndicate total timeslot number, i.e., same routing level network all total times from node for data forwarding Space-number;nrelay-interIndicate delay grade, i.e., same routing level network plays turn from node from receiving the data frame moment Which stop at the time of sending out data frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e. this time span for sending wake-up association;twakeup-leftExpression is called out Frame of waking up sends remaining time, i.e. this wake-up association sends the time terminated apart from this wake-up association;tmakeupIndicate a route level network The data retention error compensation time;
The second duration T2 is calculated according to following formula:
T2=(rexp-rcurr-1)×(nrelay-inter-max×twakeup+tmakeup)+(nrelay-inter-max-nrelay-inter-1)× twakeup+twakeup-left+tmakeup
In formula, rexpIt indicates to route total series, i.e. total series of data forwarding;rcurrIt indicates current routing rank, that is, receives this Wake up the routing rank where the slave node of frame data;nrelay-inter-maxIndicate total timeslot number, i.e. same routing level network institute There is the total time space-number from node for data forwarding;
nrelay-interIndicate that delay grade, i.e., same routing level network play forwarding number from node from the data frame moment is received Which stop at the time of according to frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e. this time span for sending wake-up association;twakeup-leftExpression is called out Frame of waking up sends remaining time length, i.e. this wake-up association sends the time span terminated apart from this wake-up association;tmakeupIt indicates all the way The error compensation time is detained by stage network data;
Wake-up association is forwarded after so that this is waited for since at the time of receiving wake-up association first duration T1 from node, is and then existed Enter wake-up states after continuing waiting for second duration T2.
2. data transmission method according to claim 1, which is characterized in that further include:
When the current routing rank in wake-up association, which is equal to, route total series, is calculated from receiving and called out according to the data in wake-up association All third duration T3 from the node synchronized wake-up moment are played at the time of awake frame;
Wherein, third duration T3 is calculated according to following formula:
T3=(nrelay-inter-max-nrelay-inter-1)×twakeup+tmakeup+twakeup-left
In formula, nrelay-inter-maxIndicate total timeslot number, i.e., same routing level network all total times from node for data forwarding Space-number;nrelay-interIndicate delay grade, i.e., same routing level network plays turn from node from receiving the data frame moment Which stop at the time of sending out data frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e. this time span for sending wake-up association;twakeup-leftExpression is called out Frame of waking up sends remaining time length, i.e. this wake-up association sends the time span terminated apart from this wake-up association;tmakeupIt indicates all the way The error compensation time is detained by stage network data;
Enter wake-up states after so that this is waited for third duration T3 from the time of receiving wake-up association from node.
3. data transmission method according to claim 1 or 2, which is characterized in that after all synchronized wake-ups from node Further include:
Receive the meter reading data frame for carrying out the slave node forwarding in routing rank that autonomous node is sent or upper;
Judge whether to address oneself from node MAC addr data according to the target in meter reading data frame;
When being addressing oneself, then it is route in rank to host node or upper one in given time according to the data in meter reading data frame Slave node send response meter reading data frame;
When not being addressing oneself, then judge whether the current routing rank in meter reading data frame is less than target routing rank and sentences It is disconnected, if it is less, being forwarded being played at the time of receiving meter reading data frame according to the data calculating in meter reading data frame The 4th duration T4 at the time of meter reading data frame makes this after node waits for the 4th duration T4 from receiving meter reading data frame Start to forward meter reading data frame, target routing rank indicates the transmission target of the meter reading data frame from the road where node By rank;
The 4th duration T4 is calculated according to following formula:
T4=(nrelay-inter-max-nrelay-inter-1)×trelay-inter+tmakeup+nrelay-inter×trelay-inter
In formula, nrelay-inter-maxIndicate total timeslot number, i.e., same routing level network all total times from node for data forwarding Space-number;nrelay-interIndicate delay grade, i.e., same routing level network plays turn from node from receiving the data frame moment Which stop at the time of sending out data frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, delay grade is according to reception Equipment firmware beat number when to wireless data generates, and modification data frame delay grade is the value when forwarding, when this value is less than total Gap number;
trelay-interIndicate the time span of an often meter reading data frame of forwarding, i.e., same routing rank target node data The time span of frame;tmakeupIndicate that a routing stage network data is detained the error compensation time.
4. data transmission method according to claim 3, which is characterized in that according to the data in meter reading data frame specified Moment to host node or it is upper one routing rank in slave node send response meter reading data frame the step of include:
It is calculated according to the data in meter reading data frame from playing the 5th of the given time at the time of receiving meter reading data frame Duration T5;
The 5th duration T5 is calculated according to following formula:
T5=(rexp-rcurr-1)×(nrelay-inter-max×trelay-inter+tmakeup)+(nrelay-inter-max-nrelay-inter-1) ×trelay-inter+tmakeup
In formula, rexpIt indicates to route total series, i.e. total series of data forwarding;rcurrIt indicates current routing rank, that is, indicates to receive To the routing rank where the slave node of the data frame data;nrelay-inter-maxIndicate total timeslot number, i.e., same routing rank net All total time space-numbers from node for data forwarding of network;nrelay-interIndicate delay grade, i.e., same routing level network from Node from receive the data frame moment play forwarding data frame at the time of stop, the timeslot number being spaced between this, i.e., in total timeslot number Which time slot, this value be less than total timeslot number;trelay-interIndicate the time span of an often meter reading data frame of forwarding, tmakeupIndicate that a routing stage network data is detained the error compensation time;
Make this from node the 5th duration T5 is waited for from the time of receiving meter reading data frame after to host node or it is upper one routing Slave node in rank sends response meter reading data frame.
5. a kind of micropower wireless network data Transmission system, the micropower wireless network include a host node and it is multiple from Node, which is characterized in that including:
First receiving unit, the wake-up for receiving the slave node forwarding in routing rank that carry out autonomous node transmission or upper Frame;
First judging unit route total series, wherein institute for judging whether the current routing rank in the wake-up association is less than Current routing rank is stated to indicate to receive the routing rank where the slave node of the wake-up frame data;
First computing unit is used for when the current routing rank in wake-up association is less than and route total series, according in wake-up association Data calculate played at the time of receiving wake-up association forward wake-up association at the time of the first duration T1 and called out from having forwarded All the second duration T2 from the node synchronized wake-up moment are played at the time of awake frame;
Wherein, the first duration T1 is calculated according to following formula:
T1=nrelay-inter×twakeup+(nrelay-inter-max-nrelay-inter-1)×twakeup+twakeup-left+tmakeup
In formula, nrelay-inter-maxIndicate total timeslot number, i.e., same routing level network all total times from node for data forwarding Space-number;nrelay-interIndicate delay grade, i.e., same routing level network plays turn from node from receiving the data frame moment Which stop at the time of sending out data frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e. this time span for sending wake-up association;twakeup-leftExpression is called out Frame of waking up sends remaining time, i.e. this wake-up association sends the time terminated apart from this wake-up association;tmakeupIndicate a route level network The data retention error compensation time;
The second duration T2 is calculated according to following formula:
T2=(rexp-rcurr-1)×(nrelay-inter-max×twakeup+tmakeup)+(nrelay-inter-max-nrelay-inter-1)× twakeup+twakeup-left+tmakeup
In formula, rexpIt indicates to route total series, i.e. total series of data forwarding;rcurrIt indicates current routing rank, that is, receives this Wake up the routing rank where the slave node of frame data;nrelay-inter-maxIndicate total timeslot number, i.e. same routing level network institute There is the total time space-number from node for data forwarding;
nrelay-interIndicate that delay grade, i.e., same routing level network play forwarding number from node from the data frame moment is received Which stop at the time of according to frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e. this time span for sending wake-up association;twakeup-leftExpression is called out Frame of waking up sends remaining time length, i.e. this wake-up association sends the time span terminated apart from this wake-up association;tmakeupIt indicates all the way The error compensation time is detained by stage network data;
First wakeup unit, for turning after making this wait for since at the time of receiving wake-up association from node first duration T1 Wake-up association is sent out, wake-up states are and then entered after continuing waiting for second duration T2.
6. micropower wireless network data Transmission system according to claim 5, which is characterized in that further include:
Second computing unit is used for when the current routing rank in wake-up association is equal to and route total series, according in wake-up association Data are calculated from playing all third duration T3 from the node synchronized wake-up moment at the time of receiving wake-up association;
Wherein, third duration T3 is calculated according to following formula:
T3=(nrelay-inter-max-nrelay-inter-1)×twakeup+tmakeup+twakeup-left
In formula, nrelay-inter-maxIndicate total timeslot number, i.e., same routing level network all total times from node for data forwarding Space-number;nrelay-interIndicate delay grade, i.e., same routing level network plays turn from node from receiving the data frame moment Which stop at the time of sending out data frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, nrelay-inter< nrelay-inter-max;twakeupIndicate that wake-up association sends duration, i.e. this time span for sending wake-up association;twakeup-leftExpression is called out Frame of waking up sends remaining time length, i.e. this wake-up association sends the time span terminated apart from this wake-up association;tmakeupIt indicates all the way The error compensation time is detained by stage network data;
Second wakeup unit is called out for entering after so that this is waited for from the time of receiving wake-up association from node third duration T3 The state of waking up.
7. micropower wireless network data Transmission system according to claim 5 or 6, which is characterized in that further include:
Second receiving unit, the meter reading number for receiving the slave node forwarding in routing rank that carry out autonomous node transmission or upper According to frame;
Second judgment unit, for judging whether to address oneself from node MAC addr data according to the target in meter reading data frame;
First response unit, for when being addressing oneself, according to the data in meter reading data frame in given time to host node Or the slave node in upper routing rank sends response meter reading data frame;
Second response unit, for when not being addressing oneself, judging whether the current routing rank in meter reading data frame is less than Target route rank and judges, if it is less, needing to forward the meter reading data frame, at this point, according to the number in meter reading data frame According to calculate played at the time of receiving meter reading data frame forward meter reading data frame at the time of the 4th duration T4, make this from Since node forward meter reading data frame, the target to route rank being waited for receiving meter reading data frame after the 4th duration T4 Indicate the transmission target of the meter reading data frame from the routing rank where node;
The 4th duration T4 is calculated according to following formula:
T4=(nrelay-inter-max-nrelay-inter-1)×trelay-inter+tmakeup+nrelay-inter×trelay-inter
In formula, nrelay-inter-maxIndicate total timeslot number, i.e., same routing level network all total times from node for data forwarding Space-number;nrelay-interIndicate delay grade, i.e., same routing level network plays turn from node from receiving the data frame moment Which stop at the time of sending out data frame, the timeslot number being spaced between this, i.e., time slot in total timeslot number, delay grade is according to reception Equipment firmware beat number when to wireless data generates, and modification data frame delay grade is the value when forwarding, when this value is less than total Gap number;
trelay-interIndicate the time span of an often meter reading data frame of forwarding, i.e., same routing rank target node data The time span of frame;tmakeupIndicate that a routing stage network data is detained the error compensation time.
8. micropower wireless network data Transmission system according to claim 7, which is characterized in that the first response list Member includes:
Third computing unit, for being calculated according to the data in meter reading data frame from playing institute at the time of receiving meter reading data frame The 5th duration T5 of given time is stated, the 5th duration T5 should be waited for backward from the time of receiving meter reading data frame from node Slave node in host node or upper routing rank sends response meter reading data frame;
The 5th duration T5 is calculated according to following formula:
T5=(rexp-rcurr-1)×(nrelay-inter-max×trelay-inter+tmakeup)+(nrelay-inter-max-nrelay-inter-1) ×trelay-inter+tmakeup
In formula, rexpIt indicates to route total series, i.e. total series of data forwarding;rcurrIt indicates current routing rank, that is, indicates to receive To the routing rank where the slave node of the data frame data;nrelay-inter-maxIndicate total timeslot number, i.e., same routing rank net All total time space-numbers from node for data forwarding of network;nrelay-interIndicate delay grade, i.e., same routing level network from Node from receive the data frame moment play forwarding data frame at the time of stop, the timeslot number being spaced between this, i.e., in total timeslot number Which time slot, this value be less than total timeslot number;trelay-interIndicate the time span of an often meter reading data frame of forwarding, tmakeupIndicate that a routing stage network data is detained the error compensation time.
CN201510562682.XA 2015-09-07 2015-09-07 A kind of micropower wireless network data transmission method and system Active CN105246137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510562682.XA CN105246137B (en) 2015-09-07 2015-09-07 A kind of micropower wireless network data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510562682.XA CN105246137B (en) 2015-09-07 2015-09-07 A kind of micropower wireless network data transmission method and system

Publications (2)

Publication Number Publication Date
CN105246137A CN105246137A (en) 2016-01-13
CN105246137B true CN105246137B (en) 2018-08-28

Family

ID=55043555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510562682.XA Active CN105246137B (en) 2015-09-07 2015-09-07 A kind of micropower wireless network data transmission method and system

Country Status (1)

Country Link
CN (1) CN105246137B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528886B (en) * 2016-01-29 2018-08-03 国网山东省电力公司荣成市供电公司 A kind of safety long-distance radio meter register charge system
CN105957319B (en) * 2016-04-27 2019-01-29 深圳三富通讯有限公司 Micropower wireless meter reading method
CN106060871B (en) * 2016-08-04 2019-09-13 南京林洋电力科技有限公司 A kind of low-power consumption micropower wireless networking and data forwarding method
CN109257829B (en) * 2018-09-05 2021-08-24 深圳市艾森智能技术有限公司 Synchronous service implementing method for LPWA network
CN111683398A (en) * 2020-06-04 2020-09-18 杭州明特科技有限公司 Low-power-consumption electric energy meter reading method and electric energy meter

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1545069A1 (en) * 2003-12-19 2005-06-22 Sony International (Europe) GmbH Remote polling and control system
CN101742544A (en) * 2009-11-26 2010-06-16 上海大学 Energy-saving MAC and routing cross-layer method for linear monitoring network
CN102223734A (en) * 2011-06-14 2011-10-19 广州从兴电子开发有限公司 Wireless communication network and communication method of same
CN102905354A (en) * 2012-09-06 2013-01-30 东南大学 Synchronization method for low-power-consumption wireless meter reading system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1545069A1 (en) * 2003-12-19 2005-06-22 Sony International (Europe) GmbH Remote polling and control system
CN101742544A (en) * 2009-11-26 2010-06-16 上海大学 Energy-saving MAC and routing cross-layer method for linear monitoring network
CN102223734A (en) * 2011-06-14 2011-10-19 广州从兴电子开发有限公司 Wireless communication network and communication method of same
CN102905354A (en) * 2012-09-06 2013-01-30 东南大学 Synchronization method for low-power-consumption wireless meter reading system

Also Published As

Publication number Publication date
CN105246137A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN105246137B (en) A kind of micropower wireless network data transmission method and system
CN104219744B (en) BLE distribution of net system and method
Yang et al. Modeling and performance analysis for duty-cycled MAC protocols with applications to S-MAC and X-MAC
CN101646233B (en) Wireless sensor data highly efficient collecting method based on clustering
CN105611621B (en) A kind of master-slave synchronisation method suitable for multi-hop wireless sensor network
CN101321127B (en) Determined communication scheduling method of industrial wireless network
JP6594365B2 (en) Wireless communication apparatus and wireless communication system
CN106900042B (en) Sensor node of tree-type sensor network ad hoc network
CN101557637A (en) Method for realizing cross-layer wireless sensor network medium access control protocol
JP6223625B1 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
US9699726B2 (en) Data-transmitting/receiving method for effectively suppressing power consumption
CN106888491B (en) Wireless sensor network on-demand quick awakening method based on constructive interference
CN101990269A (en) Data transfer method, network node and system
Enzinger Energy-efficient communication in wireless sensor networks
CN103024822A (en) Device and method for node synergy
Mozumdar et al. An Efficient Data Aggregation Algorithm for Cluster-based Sensor Network.
CN108494654A (en) A kind of intelligent energy information collection management method and system
Avril et al. Clustering and communications scheduling in WSNs using mixed integer linear programming
Xiao et al. An analytical model for IEEE 802.15. 4 with sleep mode based on time-varying queue
JP5975509B2 (en) Wireless communication system, wireless communication method, wireless communication device, wireless communication device control method, and wireless communication device control program
CN104813716A (en) Method for transmitting and receiving data
CN102917467B (en) Asynchronous reservation channel access method of wireless sensor network
KR101046991B1 (en) How to Improve Time Synchronization Performance of Superframe Structure
CN106034347B (en) A kind of wireless telecommunications management method and device
KR101000795B1 (en) Address-based Wireless Sensor Network and Synchronization Method Thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Zhengtai Instrument Measurement Industrial Park, No.1 Liangce Road, Beibaixiang Town, Leqing City, Wenzhou City, Zhejiang Province, 325603

Patentee after: ZHEJIANG CHINT INSTRUMENT & METER Co.,Ltd.

Address before: 325603 Wenzhou Daqiao Industrial Park, Yueqing City, Wenzhou City, Zhejiang Province

Patentee before: ZHEJIANG CHINT INSTRUMENT & METER Co.,Ltd.

CP02 Change in the address of a patent holder