CN110381572A - A kind of node communication method and electronic equipment - Google Patents
A kind of node communication method and electronic equipment Download PDFInfo
- Publication number
- CN110381572A CN110381572A CN201910580986.7A CN201910580986A CN110381572A CN 110381572 A CN110381572 A CN 110381572A CN 201910580986 A CN201910580986 A CN 201910580986A CN 110381572 A CN110381572 A CN 110381572A
- Authority
- CN
- China
- Prior art keywords
- node
- wake
- instruction
- communication
- leaf
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The present embodiments relate to communication means technical field more particularly to a kind of node communication method and electronic equipments.The node communication method includes: by obtaining communication instruction, and the communication instruction is packaged with wake up instruction and communication data, and the wake up instruction is used for wake up target leaf node;Broadcast the wake up instruction waking up period whole leaf nodes into the leaf node group so that the target leaves node listen to/dormancy period in period of listening to wake-up states entered according to the wake up instruction and return to wake-up confirmation instruction;Confirmed according to the wake-up and instructed, Xiang Suoshu target leaves node sends the communication data.The embodiment of the present invention is executed by the way that wake actions and data transfer activity are placed routing node, and the routing node is the father node of target leaves node, and then is capable of the time of contracting waking up nodes consumption, reduces node power consumption, and improve delay problem.
Description
Technical field
The present embodiments relate to communication means technical field more particularly to a kind of node communication method and electronic equipments.
Background technique
Low-power consumption leaf node in wireless self-networking, most times could will reduce function in a dormant state
Consumption, to support battery to continue a journey for a long time.If there is node will initiate to communicate, it is necessary to implement to wake up to destination node, just can be carried out
Efficient communication.When accurate timing when transmitting is depended in conventional method using periodically " listening to, suspend mode " mechanism, and can be brought
Prolong problem, i.e., it, may in a dormant state cannot be real due to this node when other nodes need to send data to the node
When respond the request of other nodes, to increase communication delay, if increasing wakeup frequency and duration, section can be improved
Point power consumption, shortens battery life.
Summary of the invention
One purpose of the embodiment of the present invention is to provide a kind of node communication method and electronics that can improve communication delay
Equipment.
In a first aspect, being applied to father node the embodiment of the invention provides a kind of node communication method, the father node is used
It is communicated in any leaf node in leaf node group, which comprises
Communication instruction is obtained, the communication instruction is packaged with wake up instruction and communication data, and the wake up instruction is for calling out
Eye-catching mark leaf node;
The wake up instruction is broadcasted waking up period whole leaf nodes into the leaf node group, so that the target
Leaf node listen to/sleep period in listen to the period according to the wake up instruction enter wake-up states and return wake-up confirmation
Instruction;
Confirmed according to the wake-up and instructed, Xiang Suoshu target leaves node sends the communication data.
Optionally, in the father node and the leaf node group between any leaf node all configured with wake up channel with
Data channel, the wake-up channel are used for transmission wake up instruction, and the data channel is used for transmission communication data.
Optionally, by modifying the mac-layer protocol of any leaf node in the father node and the leaf node group, with
Former transmission channel is divided into the wake-up channel and the data channel.
Optionally,
The leaf node whole into the leaf node group broadcasts the wake up instruction, comprising:
According to the communication instruction, the wake-up channel is switched to;
By the wake-up channel, into the leaf node group, whole leaf nodes broadcast the wake up instruction.
Optionally, the father node is also used to be communicated according to modified mac-layer protocol with edge router;
Then, the acquisition communication instruction, comprising:
Obtain the primary data of edge router;
According to modified mac-layer protocol, communication instruction is extracted from the primary data.
Optionally, after confirming that instruction, Xiang Suoshu target leaves node send the communication data according to the wake-up,
The method also includes:
Receive the data validation instruction that the target leaves node is sent;
It is instructed according to the data validation, the confirmation instruction of Xiang Suoshu edge router node.
Optionally, the wake up instruction includes the node address or preset full wake-up number of at least one leaf node
According to, wherein the full data that wake up are used to wake up all leaf nodes in the leaf node group.
Optionally, each leaf node is all configured with the detection duration formed by listening to duration and sleep time;
The target leaves node is returned according to the wake up instruction wakes up confirmation instruction, comprising:
When the target leaves node detects the wake up instruction in the duration of listening to, the return of Xiang Suoshu father node is called out
Confirmation of waking up instructs.
Optionally, the target leaves node is returned to the father node wakes up confirmation instruction, comprising:
The target leaves node judges whether the wake up instruction matches default wake up instruction, if so, saving to the father
Point, which returns, wakes up confirmation instruction, if it is not, abandoning the wake-up confirmation instruction.
Optionally, the wake-up period for waking up the period listens to the listening periods of period and stopping for sleep period greater than described in
The summation of dormancy period volume.
Second aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising:
At least one processor;And
Memory, the memory are connect at least one described processor communication, wherein the memory is stored with can
The instruction executed by least one described processor, described instruction executed by least one described processor so that it is described at least
One processor is able to carry out node communication method above-mentioned.
The third aspect, the embodiment of the present invention provide a kind of storage medium, and the storage medium is stored with executable instruction, institute
When stating executable instruction and being executed by processor, the processor is made to execute node communication method as described above.
Fourth aspect, the embodiment of the invention also provides a kind of program product, the machine program product includes being stored in
Program on storage media, described program include program instruction, when described program instruction is executed by processor, make the processor
Execute node communication method as described above.
In embodiments of the present invention, the node communication method includes: by obtaining communication instruction, the communication instruction envelope
Equipped with wake up instruction and communication data, the wake up instruction is used for wake up target leaf node;It is complete into the leaf node group
Portion's leaf node broadcasts the wake up instruction, refers to so that the target leaves node returns to wake-up confirmation according to the wake up instruction
It enables;Confirmed according to the wake-up and instructed, Xiang Suoshu target leaves node sends the communication data.The embodiment of the present invention pass through by
Wake actions and data transfer activity are placed routing node and are executed, and the routing node is the father node of target leaves node, into
And wakeup time can be shortened, node power consumption is reduced, and improve response speed, so as to improve delay problem.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the application environment schematic diagram of node communication method of the present invention;
Fig. 2 is the flow chart of one embodiment of node communication method of the present invention;
Fig. 3 is the flow chart of one embodiment of node communication method of the present invention;
Fig. 4 is the flow chart of one embodiment of node communication method of the present invention;
Fig. 5 is the flow chart of one embodiment of node communication method of the present invention;
Fig. 6 is the flow chart of one embodiment of node communication method of the present invention;
The hardware structural diagram of Fig. 7 electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Node communication method provided in an embodiment of the present invention is suitable for attached application scenarios shown in FIG. 1.It is attached shown in FIG. 1
Application scenarios are the network structure of wireless self-networking, and the network structure of the wireless self-networking includes server 10, edge routing
Device 20, routing node 30 and leaf node 40.Wherein, the server 10 is connect with the edge router 20, the side
Edge router 20 is connect with the routing node 30, and the routing node 30 is connect with the leaf node 40.
Wherein, the quantity of the routing node 30 is not restricted by, and particular number is defined according to actual needs.It lifts a
Example, when the actual range in 40 location of leaf node and 20 location of edge router farther out when, then need it is multiple according to
The routing node of secondary connection carries out communications, so that the edge router 20 and the leaf node 40 realize communication link
It connects, and when the actual range in 40 location of leaf node and 20 location of edge router is closer, the routing
Node 40 can also be that zero namely the edge router 20 are directly communicatively coupled with the leaf node 40.
Based on this, the embodiment of the present application provides a kind of node communication method and electronic equipment.
Wherein, the node communication method applied to father node that the application applies example offer is a kind of node that can improve time delay
Communication means, specifically: the described method includes: obtaining communication instruction, the communication instruction is packaged with wake up instruction and communication number
According to the wake up instruction is used for wake up target leaf node;It is called out described in whole leaf node broadcast into the leaf node group
It wakes up and instructs, so that the target leaves node is returned according to the wake up instruction wakes up confirmation instruction;Confirmed according to the wake-up
Instruction, Xiang Suoshu target leaves node send the communication data.The embodiment of the present invention is by transmitting wake actions and data
Movement is placed routing node and is executed, and the routing node is the father node of target leaves node, and then can shorten communication distance,
So as to improve delay problem.
Wherein, electronic equipment provided by the embodiments of the present application is able to carry out node communication party provided by the embodiments of the present application
Method.Specifically: at least one processor;And memory, the memory are connect at least one described processor communication,
Wherein, the memory be stored with can by least one described processor execute instruction, described instruction by it is described at least one
Processor executes, so that at least one described processor is able to carry out node communication method above-mentioned.By by wake actions with
Data transfer activity is placed routing node and is executed, and the routing node is the father node of target leaves node, and then can shorten
Communication distance, so as to improve delay problem.
It should be noted that node communication method provided by the embodiments of the present application can also further be extended to other conjunctions
In suitable application environment, and it is not limited to application environment shown in Fig. 1.
Fig. 2 is node communication method schematic diagram provided in an embodiment of the present invention, which is applied to shown in Fig. 1
Wireless self-networking network structure, the communication means specifically includes:
S210: the communication request that the transmission of server 10 is communicated with target leaves node to edge router 20;
Wherein, the server 10 first inquires the corresponding edge router of target leaves, and corresponding communication data is sent out
It send to the edge router 20, to drive the edge router 20 to carry out respective action, to realize and the target leaves
Node 40 is communicated.For example, the data information that server 10 receives other terminals or server is sent, the number
It is believed that breath for communicating the server 10 with target leaves node, then the server 10 is sent and target leaves section
The communication request of point communication is to edge router 20 corresponding with the target leaves node, so that edge routing 20 carries out
Respective action, to be communicated with target leaves node foundation.
S220: edge router 20 sends communication instruction to routing node 30;
Wherein, the edge router 20 leading in communicate with target leaves node of getting that the server 10 sends
After letter request, communication instruction is sent to the corresponding routing node 30 of target leaves node 40, the communication instruction includes waking up to refer to
It enables and communication data, the wake up instruction is used to that the target leaves node 40 to be driven to carry out wake actions, the communication data
For the communication data of the target leaves node to be sent to of server 10.
It should be noted that the leaf node 40 be when not communicated in a dormant state with listen to shape
The alternate state of state, the state of listening to refer to listen to whether have state existing for wake-up data, further, the leaf section
Point 40 is by battery-driven, and making the purpose of the leaf node 40 in a dormant state is the electricity in order to reduce the battery
Amount consumption, while avoiding the waste of resource.And when the leaf node 40 in a dormant state when, need to the leaf node 40
It carries out wake actions and is just able to achieve communication, the wake up instruction is for waking up the leaf node.
S230: routing node 30 sends wake up instruction to leaf node 30;
Wherein, the routing node 30 extracts institute after getting the communication instruction that the edge router 20 is sent
The wake up instruction in communication instruction is stated, and the wake up instruction is broadcasted to leaf node group, so that the target leaves node
40 carry out wake actions.
Further, the routing node 30 extracts wake up instruction in the pass-through command according to preset agreement
With data command.
S240: target leaves node 40, which is sent, wakes up confirmation instruction to the routing node 30;
Wherein, it after the target leaves node 40 listens to the wake up instruction that the routing node 30 is sent, carries out
Wake actions, meanwhile, it sends and wakes up confirmation instruction to the routing node 30, target leaves section is confirmed with the routing node 30
Point has been in wake-up states.
Further, in dormant state, periodically listen to is all leaf nodes in the leaf node group
The no presence for having wake up instruction judges whether the wake up instruction is sharp after leaf node listens to the wake up instruction
The wake up instruction of the dormant state of work itself is kept if so, carrying out wake actions if it is not, then abandoning wake up instruction
Dormant state listens to state.
S250: the routing node 30 sends communication data to the target leaves node;
Wherein, the routing node 30 sends communication data to the mesh after receiving the wake-up confirmation instruction
Leaf node is marked, so that the target leaves node receives the communication data, to realize server and target leaves section
The data transmission of point.
S260: the leaf node 40 sends data validation and instructs to the routing node;
Wherein, after target leaves node 40 receives the communication data that the routing node 30 is sent, it is true that data are sent
Instruction is recognized to the routing node 30, to notify the routing node 30 to be properly received communication data.
S270: routing node 30 sends data validation and instructs to edge router;
Wherein, the routing node 30 instructs the confirmation after receiving the confirmation instruction of the transmission of leaf node 40
It is forwarded to the edge router 20, to inform that the 20 target leaves node of edge router is properly received communication data.
S280: edge router 40 sends data validation and instructs to server;
Wherein, after the transmission confirmation instruction that 40 routing node 30 of edge router is sent, the confirmation is instructed
It is forwarded to the server 10, to inform that the server target leaves node is properly received communication data.
In embodiments of the present invention, it is executed by the way that wake actions and data transfer activity are placed routing node, and the road
It is the father node of target leaves node by node, and then is capable of the time of contracting waking up nodes consumption, reduces node power consumption, thus
Improve delay problem.
Fig. 3 is node communication scheme provided in an embodiment of the present invention, and the node communications applications are in leaf section shown in FIG. 1
The father node of point, the father node with any leaf node in leaf node group for communicating, which comprises
S310: obtaining communication instruction, and the communication instruction is packaged with wake up instruction and communication data, and the wake up instruction is used
In wake up target leaf node;
Wherein, the father node, which refers to, connect (other i.e. intermediate no communications with the target leaves node direct communication
Transmission device) equipment, the father node can be routing node, can also be edge router, for example, when the target leaf
Child node 40 is connect with 30 direct communication of routing node, then the routing node is father node, but the target leaves section
Point 40 is connect with 20 direct communication of edge router, then the edge router 20 is father node.The present embodiment is with Fig. 1 institute
The application scenarios shown carry out parsing explanation, i.e. father node is routing node.
Further, the acquisition communication instruction is concretely: obtaining primary data, the routing from edge router 20
Node 30 parses the communication instruction according to preset protocol from the primary data.It is described according to preset protocol, from described
The communication instruction is parsed in primary data can are as follows: presets position letter of the communication instruction in the primary data
Breath, according to the location information of preparatory agreement, extracts the communication and refers to when the routing node 30 gets the primary data
It enables.
Specifically, refering to attached drawing 5, the father node is also used to logical according to modified mac-layer protocol and edge router
Letter;
Wherein, the MAC protocol between the father node and edge router is modified in advance, so that the father node being capable of root
The extraction of data command is carried out according to modified mac-layer protocol, further are as follows:
S510: the primary data of edge router is obtained;
Wherein, the primary data is one section of longer data frame, is packaged with communication instruction in the data frame.
S520: according to modified mac-layer protocol, communication instruction is extracted from the primary data.
It should be noted that when the father node receives the primary data, according to the MAC protocol modified in advance,
It then would know that location information of the communication instruction in the data frame, and according to location information, extract the communication instruction.
Wherein, the communication data is packaged with wake up instruction and communication data, and the wake up instruction is used for wake up target leaf
Child node, the communication data are the data information of target leaves node to be sent to.It should be noted that the leaf node
Group include at least one leaf node, at least one leaf node with routing node 30 communicate to connect, when it is described at least one
It is working condition alternate with state of listening in a dormant state when leaf node is not on communications status.The suspend mode shape
The state signal that refers to dormant state alternate with state of listening to is alternate with the signal for state of listening to, for example, the structure of communication data
It listens to signal waveform-dormant state signal waveform-of state for the signal waveform-of dormant state and listens to the signal wave of state
Shape ..., and so on.
S320: entering and wake up period whole leaf nodes broadcast wake up instruction into the leaf node group, so that
The target leaves node listen to/dormancy period in period of listening to wake-up states entered according to the wake up instruction and return
Wake up confirmation instruction;
Wherein, the father node refers to configured with period, the wake-up period is waken up for sending the wake up instruction extremely
The period of the leaf node group, when the father node needs to send the wake up instruction according to the communication instruction, into
Enter the wake-up and enter to wake up the period, whole leaf nodes broadcast the wake up instruction in Xiang Suoshu leaf node group, it is described to
Whole leaf nodes broadcast wake up instruction, which refers to for the wake up instruction to be sent to, in the leaf node group presets
Communication channel in, so that leaf nodes whole in the leaf node group are listened to.Wherein, the leaf node is preset with
Listen to/working hour of sleep period format, wherein described to listen to the period and refer to that the leaf node is in and listen to state, institute
It states sleep period and refers to the leaf node in a dormant state.When the target leaves node listen to the period listen to it is described
When wake up instruction, wake actions are carried out, to enter to wake-up states.When other nodes in addition to target leaves node listen to institute
When stating wake up instruction, without wake actions.
In addition, returning when the target leaves node listens to the wake up instruction and waking up confirmation instruction to the road
By node, to inform that the routing node wakes up successfully.
Specifically, each leaf node is all configured with the detection duration formed by listening to duration and sleep time;
The target leaves node is returned according to the wake up instruction wakes up confirmation instruction, comprising:
When the target leaves node detects the wake up instruction in the duration of listening to, the return of Xiang Suoshu father node is called out
Confirmation of waking up instructs.
Wherein, each leaf node is all configured with is had by listening to the detection duration that duration and sleep time form
Body can are as follows: detection duration includes at least one detection cycle, at least one described detection cycle is by listening to duration and sleep time
It is alternate to form.For example, the structure of at least one detection cycle is to listen to duration-sleep time.
Wherein, the leaf node is listening to duration in the working condition listened to, when target leaves node is when listening to
When length listens to the wake up instruction, Xiang Suoshu father node, which returns, wakes up confirmation instruction.
Specifically, the target leaves node is returned to the father node wakes up confirmation instruction, comprising:
The target leaves node judges whether the wake up instruction matches default wake up instruction, if so, saving to the father
Point, which returns, wakes up confirmation instruction, if it is not, abandoning the wake-up confirmation instruction.
Wherein, at least one described leaf node is each equipped with default wake up instruction, at least one described leaf node
When getting the wake up instruction, the wake up instruction is matched with default wake up instruction, judges whether to match, if so,
It is then returned to the father node and wakes up confirmation instruction, if it is not, abandoning the wake-up confirmation instruction.
Further, the wake-up duration of the wake up instruction be greater than the detection duration so that wake up instruction broadcast to
When waking up channel, all leaf nodes can listen to the wake up instruction.
Specifically, in the father node and the leaf node group between any leaf node all configured with wake up channel with
Data channel, the wake-up channel are used for transmission wake up instruction, and the data channel is used for transmission communication data.
Wherein, the father node whole leaf nodes into the leaf node group broadcast the wake up instruction, and can be will
The wake up instruction is broadcasted to the wake-up channel, whole leaf nodes according to predeterminated frequency listen in the wake-up channel whether
There are wake up instructions, if so, the wake up instruction for waking up oneself is judged whether it is, if so, carrying out wake actions.Divide the wake-up
Channel and data channel, can be avoided because channel it is crowded due to caused by time delay, also improve the success rate of wake-up.
Specifically, refering to attached drawing 4, the leaf nodes whole into the leaf node group broadcast the wake up instruction,
Include:
S410: according to the communication instruction, the wake-up channel is switched to;
Wherein, when the routing node gets the communication instruction, it is immediately switched to pre-set wake-up channel,
To carry out corresponding wake actions.
S420: by the wake-up channel, into the leaf node group, whole leaf nodes broadcast the wake up instruction.
It is wherein, described that by the wake-up channel, into the leaf node group, whole leaf node broadcast wake-ups refer to
Order refers to that the wake up instruction is sent to the wake-up channel by routing node 30, for leaves whole in the leaf node group
Node is listened to.
Specifically, the wake up instruction includes the node address or preset full wake-up number of at least one leaf node
According to, wherein the full data that wake up are used to wake up all leaf nodes in the leaf node group.
Wherein, the wake up instruction can be used for waking up a target leaves node, it can also be used to wake up at least two targets
Node can also wake up all leaf nodes in leaf node group simultaneously.When wake up instruction is for waking up a target leaves
When node, the wake up instruction is the node address of this leaf node, when the wake up instruction is for waking up at least two
When destination node, the wake up instruction is at least two node address, and at least two node address and described at least two
A target leaves node is corresponding.
S230: confirming according to the wake-up and instruct, and Xiang Suoshu target leaves node sends the communication data.
Specifically, described to confirm instruction according to the wake-up, Xiang Suoshu target leaves node sends the communication data, packet
It includes:
When confirming instruction according to the wake-up, the data channel is switched to;
By the data channel to the target leaves node-node transmission communication data.
Wherein, after the routing node 30 receives the wake-up confirmation instruction, Xiang Suoshu target leaves node 40
Send corresponding communication data.When the target leaves node is at least two, each target leaves node corresponding one
At least two communication datas are then sent to corresponding target leaves node by a communication data one by one.For example, target leaves node
Including first object leaf node and the second target leaves node, corresponding first communication data of first object leaf node, second
Target leaves node corresponds to the second communication data, when the wake-up that routing node receives the first object leaf node return is true
When recognizing instruction, the first communication data is sent to the first object leaf node, when routing node receives second target
When the wake-up that leaf node returns confirms instruction, the second communication data is sent to the second target leaves node.
Specifically, refering to attached drawing 6, the father node is also used to communicate with edge router, confirms according to the wake-up
Instruction, after Xiang Suoshu target leaves node sends the communication data, the method also includes:
S610: the data validation instruction that the target leaves node is sent is received;
Wherein, it after the leaf node receives the communication data, sends the data validation and instructs to described
Routing node 30 is completed with proving that leaf node receives the communication data, receives the target leaves section in routing node 30
When the data validation instruction that point is sent, then the routing node 30 confirms that the leaf node receives communication data and completes.
S620: instructing according to the data validation, the confirmation instruction of Xiang Suoshu edge router node.
Wherein, after the routing node 30 receives data validation instruction, Xiang Suoshu edge router 20 is sent out
Node confirmation instruction is sent, i.e., data validation instruction is forwarded to edge router 20, to inform that leaf node 40 successfully connects
Receive communication data.
The embodiment of the present invention also provides a kind of node communication method, which is applied to leaf shown in FIG. 1
Node, which comprises
Receive the wake up instruction that father node is sent;
Wherein, the leaf node calls out the wake up instruction and preset reference when receiving the wake up instruction
Awake instruction is matched, to judge whether to wake actions.
If waking up successfully, sends and wake up confirmation instruction to father node;
Wherein, when the leaf node is after waking up successfully, generation wakes up confirmation instruction, and wake-up confirmation is referred to
Order is back to the father node, to inform that father node wakes up successfully.
Receive the communication data that father node is sent;
Wherein, after father node receives the wake-up confirmation instruction of target leaves node transmission, communication instruction is sent extremely
The target leaves node.
After receiving communication data and completing, sends data validation and instruct to father node.
Wherein, it after the leaf node, which receives communication data, to be completed, sends data validation and instructs to the father node,
To feed back the signal of this data receiver completion, so that father node carries out further feedback action.
In embodiments of the present invention, the node communication method includes: by obtaining communication instruction, the communication instruction envelope
Equipped with wake up instruction and communication data, the wake up instruction is used for wake up target leaf node;It is complete into the leaf node group
Portion's leaf node broadcasts the wake up instruction, refers to so that the target leaves node returns to wake-up confirmation according to the wake up instruction
It enables;Confirmed according to the wake-up and instructed, Xiang Suoshu target leaves node sends the communication data.The embodiment of the present invention pass through by
Wake actions and data transfer activity are placed routing node and are executed, and the routing node is the father node of target leaves node, into
And it is capable of the time of waking up nodes consumption, node power consumption is reduced, so as to improve delay problem.
Fig. 7 is the hardware structural diagram of electronic equipment provided in an embodiment of the present invention, as shown in fig. 7, a kind of electronics is set
Standby 700, the electronic equipment 700 includes: at least one 71 device of processing;And
Memory 72, the memory 72 are communicated to connect at least one described processor 71, wherein the memory 72
It is stored with the instruction that can be executed by least one described processor 71, described instruction is executed by least one described processor 71,
So that at least one described processor 71 is able to carry out node communication method as the aforementioned.
Memory 72 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, such as the corresponding program of node communication method in the embodiment of the present invention
Instruction/module.Non-volatile software program, instruction and the module that processor 71 is stored in memory 72 by operation, from
And the various function application and data processing of execute server, that is, realize the node communication method of above method embodiment.
Memory 72 may include storing program area and storage data area, wherein storing program area can storage program area,
Application program required at least one function;Storage data area, which can be stored, uses created data according to detection device
Deng.In addition, memory 72 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, memory 72
Optional includes the memory remotely located relative to processor 11, these remote memories can be filled by network connection to detection
It sets.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 72, when by one or more of processors 71
When execution, the node communication method in above-mentioned any means embodiment is executed, for example, executing the method in Fig. 3 described above
Method and step S510-S520, Fig. 6 in method and step S410 to step S420 in step S310 to step S330, Fig. 4, Fig. 5
In method and step S610-S620.
Method provided by the embodiment of the present invention can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present invention.
The embodiment of the invention provides a kind of non-volatile computer readable storage medium storing program for executing, the computer-readable storage mediums
Matter is stored with computer executable instructions, which is executed by one or more processors, such as in Fig. 7
One processor 71 may make said one or multiple processors that the node communication party in above-mentioned any means embodiment can be performed
Method, for example, the method and step S310 to step S330 in Fig. 3 described above is executed, the method and step S410 in Fig. 4 to step
The method and step S610-S620 in method and step S510-S520, Fig. 6 in S420, Fig. 5.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those of ordinary skill in the art can be understood that each embodiment
The mode of general hardware platform can be added to realize by software, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can
With understand all or part of the process realized in above-described embodiment method be can be instructed by computer program it is relevant hard
Part is completed, and the program can be stored in a computer-readable storage medium, the program is when being executed, it may include as above
State the process of the embodiment of each method.Wherein, the storage medium can be magnetic disk, CD, read-only memory (Read-
Only Memory, ROM) or random access memory (RandomAccessMemory, RAM) etc..
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this
It under the thinking of invention, can also be combined between the technical characteristic in above embodiments or different embodiment, step can be with
It is realized with random order, and there are many other variations of different aspect present invention as described above, for simplicity, they do not have
Have and is provided in details;Although the present invention is described in detail referring to the foregoing embodiments, the ordinary skill people of this field
Member is it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part of skill
Art feature is equivalently replaced;And these are modified or replaceed, each reality of the present invention that it does not separate the essence of the corresponding technical solution
Apply the range of a technical solution.
Claims (10)
1. a kind of node communication method, applied to the father node of wireless self-organization network, the father node is used for and leaf node
Any leaf node communication in group, which is characterized in that the described method includes:
Communication instruction is obtained, the communication instruction is packaged with wake up instruction and communication data, and the wake up instruction is for waking up mesh
Mark leaf node;
The wake up instruction is broadcasted waking up period whole leaf nodes into the leaf node group, so that the target leaves
Node listen to/sleep period in listen to the period according to the wake up instruction enter wake-up states and return wake-up confirmation refer to
It enables;
Confirmed according to the wake-up and instructed, Xiang Suoshu target leaves node sends the communication data.
2. the method according to claim 1, wherein any leaf in the father node and the leaf node group
Wake up instruction, the data channel all are used for transmission configured with wake-up channel and data channel, the wake-up channel between node
It is used for transmission communication data.
3. according to the method described in claim 2, it is characterized in that, the leaf node whole into the leaf node group is wide
Broadcast the wake up instruction, comprising:
According to the communication instruction, the wake-up channel is switched to;
By the wake-up channel, into the leaf node group, whole leaf nodes broadcast the wake up instruction.
4. according to the method described in claim 2, it is characterized in that, described confirm instruction, Xiang Suoshu target according to the wake-up
Leaf node sends the communication data, comprising:
When confirming instruction according to the wake-up, the data channel is switched to;
By the data channel to the target leaves node-node transmission communication data.
5. according to the method described in claim 4, it is characterized in that, the father node is also used to be assisted according to modified MAC layer
View is communicated with edge router;
Then, the acquisition communication instruction, comprising:
Obtain the primary data of edge router;
According to modified mac-layer protocol, communication instruction is extracted from the primary data.
6. according to the method described in claim 5, it is characterized in that, being instructed being confirmed according to the wake-up, Xiang Suoshu target leaf
After child node sends the communication data, the method also includes:
Receive the data validation instruction that the target leaves node is sent;
It is instructed according to the data validation, the confirmation instruction of Xiang Suoshu edge router node.
7. method according to claim 1-6, which is characterized in that the wake up instruction includes at least one leaf
The node address of node or preset full wake-up data, wherein the full wake-up data are for waking up the leaf node group
In all leaf nodes.
8. being waken up the method according to claim 1, wherein the target leaves node is returned to the father node
Confirmation instruction, comprising:
The target leaves node judges whether the wake up instruction matches default wake up instruction, if so, returning to the father node
It returns and wakes up confirmation instruction, if it is not, abandoning the wake-up confirmation instruction.
9. the method according to claim 1, wherein when the wake-up period for waking up the period is greater than described listen to
The summation of the dormancy period volume of the listening periods and sleep period of section.
10. a kind of electronic equipment characterized by comprising
At least one processor;And
Memory, the memory are connect at least one described processor communication, wherein the memory is stored with can be by institute
State the instruction of at least one processor execution, described instruction executed by least one described processor so that it is described at least one
Processor is able to carry out the described in any item node communication methods of claim 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910580986.7A CN110381572A (en) | 2019-06-29 | 2019-06-29 | A kind of node communication method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910580986.7A CN110381572A (en) | 2019-06-29 | 2019-06-29 | A kind of node communication method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110381572A true CN110381572A (en) | 2019-10-25 |
Family
ID=68251306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910580986.7A Pending CN110381572A (en) | 2019-06-29 | 2019-06-29 | A kind of node communication method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110381572A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113993194A (en) * | 2020-12-06 | 2022-01-28 | 技象科技(浙江)有限公司 | Method, device, equipment and storage medium for networking according to wake-up time |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102892193A (en) * | 2012-09-20 | 2013-01-23 | 华为技术有限公司 | Method and equipment for transmitting data |
CN102938928A (en) * | 2012-11-12 | 2013-02-20 | 华为技术有限公司 | Node control method, network controller and network system |
CN103686949A (en) * | 2012-08-31 | 2014-03-26 | 华为技术有限公司 | Data message processing method and device as well as communication network system |
CN104105089A (en) * | 2013-04-01 | 2014-10-15 | 中兴通讯股份有限公司 | Data transmission method, device and system |
CN106253943A (en) * | 2016-08-12 | 2016-12-21 | 长江水利委员会长江科学院 | Sensor acquisition device based on LoRa technology, network system and communication means |
CN108449786A (en) * | 2018-03-23 | 2018-08-24 | 深圳市华奥通通信技术有限公司 | A kind of signal transmit-receive method and system of multi-time-windows |
CN108513345A (en) * | 2018-03-28 | 2018-09-07 | 深圳市华奥通通信技术有限公司 | A kind of two-way waking method and system |
CN109275181A (en) * | 2018-11-08 | 2019-01-25 | 深圳市银河风云网络系统股份有限公司 | Data transmission method and communication system |
CN109348529A (en) * | 2018-09-27 | 2019-02-15 | 深圳市欧瑞博科技有限公司 | A kind of wireless communication method, terminal and computer readable storage medium |
-
2019
- 2019-06-29 CN CN201910580986.7A patent/CN110381572A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686949A (en) * | 2012-08-31 | 2014-03-26 | 华为技术有限公司 | Data message processing method and device as well as communication network system |
CN102892193A (en) * | 2012-09-20 | 2013-01-23 | 华为技术有限公司 | Method and equipment for transmitting data |
US20150195780A1 (en) * | 2012-09-20 | 2015-07-09 | Huawei Technologies Co., Ltd. | Data Transmission Method and Device |
CN102938928A (en) * | 2012-11-12 | 2013-02-20 | 华为技术有限公司 | Node control method, network controller and network system |
CN104105089A (en) * | 2013-04-01 | 2014-10-15 | 中兴通讯股份有限公司 | Data transmission method, device and system |
CN106253943A (en) * | 2016-08-12 | 2016-12-21 | 长江水利委员会长江科学院 | Sensor acquisition device based on LoRa technology, network system and communication means |
CN108449786A (en) * | 2018-03-23 | 2018-08-24 | 深圳市华奥通通信技术有限公司 | A kind of signal transmit-receive method and system of multi-time-windows |
CN108513345A (en) * | 2018-03-28 | 2018-09-07 | 深圳市华奥通通信技术有限公司 | A kind of two-way waking method and system |
CN109348529A (en) * | 2018-09-27 | 2019-02-15 | 深圳市欧瑞博科技有限公司 | A kind of wireless communication method, terminal and computer readable storage medium |
CN109275181A (en) * | 2018-11-08 | 2019-01-25 | 深圳市银河风云网络系统股份有限公司 | Data transmission method and communication system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113993194A (en) * | 2020-12-06 | 2022-01-28 | 技象科技(浙江)有限公司 | Method, device, equipment and storage medium for networking according to wake-up time |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1898900B (en) | Supporter, client and corresponding method for power saving in a wireless local area network | |
EP2887746B1 (en) | Data transmission method and device | |
US8611268B1 (en) | Access point power save mechanism for wireless communication systems | |
CN103200653A (en) | Method and device for discontinuous reception | |
CN100405260C (en) | Reduction of idle power expense in networked battery power supply apparatus | |
CN101557408B (en) | Wireless sensor network active mode resting dispatching method | |
EP3402256B1 (en) | Communication method and apparatus for wireless local area network | |
WO2018076749A1 (en) | Wake-up method and device | |
US9235983B2 (en) | Apparatus and methods for group-based reactive service discovery | |
CN102487541A (en) | UE power saving method and system thereof | |
CN104322137B (en) | The suspend mode of wireless connection is initiated earlier | |
CN103906207A (en) | Wireless sensor network data transmission method based on self-adaptation required awakening technology | |
Tselishchev et al. | Experiences and lessons from implementing a wireless sensor network mac protocol in the castalia simulator | |
CN108156651B (en) | Switching control method and system between radio silent state and transmission state | |
CN102932884B (en) | A kind of method and system for realizing DRX | |
CN102769842A (en) | Low-data volume service optimization method for long term evolution (LTE) network and network side equipment | |
CN107295615A (en) | A kind of method of wake on wireless equipment | |
WO2017118179A1 (en) | Paging processing method and device, and paging system | |
WO2016191718A1 (en) | Proxy advertisements in a neighbor aware network | |
CN103582087A (en) | Discontinuously-received parameter configuration method and data transmitting method and device | |
KR20070048584A (en) | Power-saving method for mobile terminal in wireless local area network | |
CN103635881A (en) | Method and terminal for managing application | |
CN107041170B (en) | Data sending method, device and terminal | |
CN104969631B (en) | Electricity saving method, user equipment and base station | |
WO2018137457A1 (en) | Paging optimization method and apparatus |
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 |
Application publication date: 20191025 |
|
RJ01 | Rejection of invention patent application after publication |