CN108156651B - Switching control method and system between radio silent state and transmission state - Google Patents

Switching control method and system between radio silent state and transmission state Download PDF

Info

Publication number
CN108156651B
CN108156651B CN201711417277.4A CN201711417277A CN108156651B CN 108156651 B CN108156651 B CN 108156651B CN 201711417277 A CN201711417277 A CN 201711417277A CN 108156651 B CN108156651 B CN 108156651B
Authority
CN
China
Prior art keywords
state
message
environment information
received
preset
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
CN201711417277.4A
Other languages
Chinese (zh)
Other versions
CN108156651A (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.)
Beijing Runke General Technology Co Ltd
Original Assignee
Beijing Runke General Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Runke General Technology Co Ltd filed Critical Beijing Runke General Technology Co Ltd
Priority to CN201711417277.4A priority Critical patent/CN108156651B/en
Publication of CN108156651A publication Critical patent/CN108156651A/en
Application granted granted Critical
Publication of CN108156651B publication Critical patent/CN108156651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • 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/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • 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

The invention discloses a switching control method and a system between a radio silent state and a sending state, wherein the silent state comprises a dormant state and a wireless receiving state, a sub-node is in the wireless receiving state at intervals of a preset dormant time period, a main node sends an awakening message to the sub-node when receiving an environment information acquisition instruction sent by a user, when the sub-node is in the wireless receiving state and receives the awakening message sent by the main node in the preset wireless receiving time period, the sub-node is switched to the sending state, the awakening reply information is fed back to the main node, and whether the environment information acquisition message sent by the main node is received in the preset environment information acquisition waiting time period or not is judged; and if the environment information collecting message is received, collecting surrounding environment information, sending the collected environment information to the main node, and switching to a dormant state. The invention can realize the switching control between the radio silent state and the sending state without carrying out wired communication.

Description

Switching control method and system between radio silent state and transmission state
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and a system for controlling switching between a radio silent state and a radio transmission state.
Background
The wireless communication technology relates to multiple disciplines and is widely applied, and is a popular research field with highly concentrated knowledge. In a wireless network, a sub-node and a main node are provided, the main node is usually connected with an upper computer, and wireless communication is carried out between the sub-node and the main node. In some special application fields, during wireless communication, the sub-nodes must keep a radio silent state, i.e. only receive wireless signals and not transmit wireless signals, so as to prevent others from monitoring their wireless signals.
In the prior art, when a child node needs to perform radio silence, the child node needs to enter a silence state by using a wired signal, and when the child node needs to perform wireless communication, the child node needs to restart the wireless communication by using the wired signal. However, in some circumstances where the environment is complex, the child nodes can only communicate wirelessly and not wiredly, in which case radio silence cannot be achieved using existing techniques.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for controlling switching between a radio silent state and a transmission state, which can realize switching between the radio silent state and the transmission state without wired communication.
In order to achieve the above purpose, the invention provides the following specific technical scheme:
a switching control method between a radio silent state and a transmission state, applied to a child node, the silent state comprising a sleep state and a wireless reception state, the child node being in the wireless reception state every preset sleep period, the child node being in the sleep state for the preset sleep period, the method comprising:
when the child node is in a wireless receiving state, judging whether a wake-up message sent by a main node is received in a preset wireless receiving time period, wherein the time length of the child node in the wireless receiving state is the preset wireless receiving time period;
if the awakening message is not received, directly switching to a dormant state;
if the wake-up message is received, switching to a sending state, feeding back wake-up reply information to the main node, and judging whether an environment information acquisition message sent by the main node is received within a preset environment information acquisition waiting time period;
if the environment information collecting message is received, collecting surrounding environment information, sending the collected environment information to the main node, and switching to a dormant state;
and if the environment information collecting message is not received, directly switching to a dormant state.
Preferably, when the child node is in a wireless receiving state, the determining whether the wake-up packet sent by the host node is received within a preset wireless receiving time period includes:
when the child node is in a wireless receiving state, starting a wireless receiving time timer, wherein the timing duration of the wireless receiving time timer is the preset wireless receiving time period;
judging whether a wake-up message sent by a main node is received in real time within the preset wireless receiving time period;
if yes, closing the wireless receiving time timer, and judging that the awakening message sent by the main node is received;
if not, judging whether the wireless receiving time timer is timed to end or not;
if the timing is over, judging that the awakening message sent by the main node is not received;
and if the timing is not finished, returning to execute the step of judging whether the awakening message sent by the main node is received in real time in the preset wireless receiving time period.
Preferably, the determining whether the collected environment information packet sent by the host node is received within a preset time period of waiting for the collected environment information packet includes:
starting a time timer for waiting for collecting the environmental information message, wherein the timing duration of the time timer for waiting for collecting the environmental information message is the preset time period for waiting for collecting the environmental information message;
judging whether the collected environment information message sent by the main node is received or not in real time within the preset time period of waiting for collecting the environment information message;
if yes, judging that an environment information collecting message sent by the main node is received;
if not, judging whether the time timer for waiting to acquire the environmental information message is timed to end or not;
if the timing is finished, judging that the environment information collecting message sent by the main node is not received;
if the timing is not finished, returning to execute the time period of waiting for collecting the environmental information message to judge whether the collected environmental information message sent by the main node is received or not in real time.
Preferably, the method further comprises:
and when the child node is powered on, the child node enters a dormant state.
A switching control method between a radio silent state and a transmission state, applied to a primary node, the method comprising:
when receiving an environment information acquisition instruction sent by a user, sending a wake-up message to a child node, so that the child node is switched from a silent state to a sending state when receiving the wake-up message;
judging whether awakening reply information fed back by the child node is received within a preset awakening time period;
if yes, sending an environment information collecting message to the child node, and sending the environment information to the user after receiving the environment information fed back by the child node;
if not, starting a wakeup message sending interval timer, and when the wakeup message sending interval timer finishes timing, returning to execute the wakeup message sent by the user when receiving the environmental information acquisition instruction, and sending the wakeup message to the child node, wherein the timing duration of the wakeup message sending interval timer is a preset wakeup message sending interval time period.
Preferably, the determining whether the wakeup reply information fed back by the child node is received within a preset wakeup time period includes:
starting a wake-up time timer, wherein the timing time of the wake-up time timer is the preset wake-up time period;
judging whether awakening reply information fed back by the child node is received or not in real time within the preset awakening time period;
if yes, judging that awakening reply information fed back by the child node is received;
if not, judging whether the awakening time length timer is timed to end or not;
if the timing is finished, judging that the awakening reply information fed back by the child node is not received;
and if the timing is not finished, returning to execute the awakening reply information which is fed back by the child node and is judged whether to be received or not in real time within the preset awakening time period.
A switching control apparatus between a radio silent state and a transmission state, applied to a child node, the silent state comprising a sleep state and a wireless reception state, the child node being in the wireless reception state every preset sleep period, the child node being in the sleep state for the preset sleep period, the apparatus comprising:
a first judging unit, configured to judge whether a wake-up packet sent by a host node is received within a preset wireless receiving time period when the child node is in a wireless receiving state, where a time period during which the child node is in the wireless receiving state is the preset wireless receiving time period; if not, triggering the switching unit, and if so, triggering a second judgment unit;
the switching unit is used for directly switching to a dormant state;
the second judging unit is configured to switch to a sending state, feed back wakeup reply information to the master node, and judge whether an environment information acquisition message sent by the master node is received within a preset time period for waiting for an environment information acquisition message; if yes, triggering an acquisition unit, and if not, triggering the switching unit;
and the trigger acquisition unit is used for acquiring surrounding environment information and switching the acquired environment information to a dormant state after sending the acquired environment information to the main node.
A switching control device between a radio silent state and a transmission state, applied to a primary node, the device comprising:
the first sending unit is used for sending a wake-up message to the child node when receiving an environment information acquisition instruction sent by a user, so that the child node is switched from a silent state to a sending state when receiving the wake-up message;
a third judging unit, configured to judge whether wake-up reply information fed back by the child node is received within a preset wake-up time period; if yes, triggering a second sending unit, and if not, triggering and starting a timer unit;
the second sending unit is used for sending an acquired environment information message to the child node and sending the environment information to the user after receiving the environment information fed back by the child node;
the starting timer unit is used for starting a wakeup message sending interval timer and triggering the first sending unit when the wakeup message sending interval timer is timed to be finished.
A system for controlling switching between a radio mute state and a transmit state, comprising:
a master node and at least one child node;
the main node is used for sending an awakening message to the child node when receiving an environment information acquisition instruction sent by a user, so that the child node is switched from a silent state to a sending state when receiving the awakening message, wherein the silent state comprises a dormant state and a wireless receiving state; judging whether awakening reply information fed back by the child node is received within a preset awakening time period; if yes, sending an environment information collecting message to the child node, and sending the environment information to the user after receiving the environment information fed back by the child node; if not, starting a wakeup message sending interval timer, and when the wakeup message sending interval timer finishes timing, returning to execute the step of sending a wakeup message to the child node when receiving an environment information acquisition instruction sent by a user, wherein the timing duration of the wakeup message sending interval timer is a preset wakeup message sending interval time period;
the child node is used for judging whether a wake-up message sent by the main node is received within a preset wireless receiving time period when the child node is in a wireless receiving state; if the awakening message is not received, directly switching to a dormant state; if the wake-up message is received, switching to a sending state, feeding back wake-up reply information to the main node, and judging whether an environment information acquisition message sent by the main node is received within a preset environment information acquisition waiting time period; if the environment information collecting message is received, collecting surrounding environment information, sending the collected environment information to the main node, and switching to a dormant state; and if the environment information collecting message is not received, directly switching to a dormant state.
Preferably, the preset wireless receiving time period is at least 2 times of the preset wakeup message sending interval time period.
Preferably, the preset wake-up time period is at least a sum of the preset sleep time period and the preset wireless receiving time period.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a switching control method and a system between a radio silent state and a sending state, wherein the silent state comprises a dormant state and a wireless receiving state, a sub-node is in the wireless receiving state at intervals of a preset dormant time period, the sub-node is in the dormant state at the preset dormant time period, a main node sends a wake-up message to the sub-node when receiving an environment information acquisition instruction sent by a user, and whether the wake-up message sent by the main node is received within the preset wireless receiving time period is judged when the sub-node is in the wireless receiving state; if the wake-up message is not received, directly switching to a dormant state; if receiving the awakening message, switching to a sending state, feeding back awakening reply information to the main node, and judging whether the environment information acquisition message sent by the main node is received within a preset time period for waiting for the environment information acquisition message; if receiving an environment information collecting message, collecting surrounding environment information, sending the collected environment information to a main node and then switching to a dormant state; and if the environment information collecting message is not received, directly switching to a dormant state. The main node and the sub-nodes only need to carry out wireless communication, the switching control between the radio silent state and the sending state can be realized without carrying out wired communication, and the main node can also carry out communication with the sub-nodes at any time when the main node needs to carry out wireless communication with the sub-nodes. When the child node is powered by the battery, the child node is in a silent state when communication is not needed, so that the power consumption of the battery is reduced, and the low-power-consumption operation of the child node is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for controlling switching between a radio silent state and a transmission state according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for controlling switching between a radio silent state and a transmission state according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for controlling switching between a radio silent state and a transmission state according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a switching control device between a radio silent state and a transmission state according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus for controlling switching between a radio silent state and a transmission state according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a system for controlling switching between a radio silent state and a radio transmission state according to an embodiment of the present invention;
fig. 7 is a diagram illustrating a relationship between a master node preset wakeup message transmission interval time period T5 and a child node preset wireless reception time period T2 according to the embodiment of the present invention;
fig. 8 is a diagram illustrating a relationship between a preset wake-up period T4 of the master node and a preset sleep period T1 of the child node according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for controlling switching between a radio silent state and a transmission state according to an embodiment of the present invention, where the method is applied to a child node, the child node is in a wireless receiving state every other preset sleep period, and the child node is in a sleep state in the preset sleep period, and the method includes:
it should be noted that the radio silent state of the child node includes a sleep state and a wireless receiving state, and after the child node is powered on, the child node enters the sleep state and is in the wireless receiving state every preset sleep time period.
It will be appreciated that if the child node is not in the transmit state, the child node is in the silence state.
S101: when the child node is in a wireless receiving state, judging whether a wake-up message sent by a main node is received in a preset wireless receiving time period, if not, executing S102, and if not, executing S103;
the method comprises the steps that a sub-node enters a dormant state after being electrified, the time length of the sub-node in the dormant state is the preset dormant time period, the sub-node enters a wireless receiving state after the preset dormant time period is ended, and the time length of the sub-node in the wireless receiving state is the preset wireless receiving time period.
S102: directly switching to a dormant state;
s103: switching to a sending state, and feeding back awakening reply information to the main node;
s104: judging whether an environment information acquisition message sent by the main node is received within a preset time period for waiting for the environment information acquisition message, if so, executing S105, and if not, executing S102;
s105: and collecting surrounding environment information, sending the collected environment information to the main node, and switching to a dormant state.
It should be noted that the child node is in a wireless receiving state after feeding back the wakeup reply information to the host node, and switches to a transmitting state until the surrounding environment information is collected, and switches to a sleeping state after sending the collected environment information to the host node.
The embodiment discloses a switching control method between a radio silent state and a sending state, wherein the silent state comprises a dormant state and a wireless receiving state, a sub-node is in the wireless receiving state every a preset dormant time period, the sub-node is in the dormant state in the preset dormant time period, a main node sends a wake-up message to the sub-node when receiving an environment information acquisition instruction sent by a user, and whether the wake-up message sent by the main node is received in the preset wireless receiving time period is judged when the sub-node is in the wireless receiving state; if the wake-up message is not received, directly switching to a dormant state; if receiving the awakening message, switching to a sending state, feeding back awakening reply information to the main node, and judging whether the environment information acquisition message sent by the main node is received within a preset time period for waiting for the environment information acquisition message; if receiving an environment information collecting message, collecting surrounding environment information, sending the collected environment information to a main node and then switching to a dormant state; and if the environment information collecting message is not received, directly switching to a dormant state. The main node and the sub-nodes only need to carry out wireless communication, the switching control between the radio silent state and the sending state can be realized without carrying out wired communication, and the main node can also carry out communication with the sub-nodes at any time when the main node needs to carry out wireless communication with the sub-nodes. When the child node is powered by the battery, the child node is in a silent state when communication is not needed, so that the power consumption of the battery is reduced, and the low-power-consumption operation of the child node is ensured.
On the basis of the switching control method between the radio mute state and the transmit state disclosed in the above embodiments,
referring to fig. 2, fig. 2 is a flowchart of another method for controlling switching between a radio silent state and a radio silent state according to an embodiment of the present invention, which includes the following steps:
s201: when the child node is in a wireless receiving state, starting a wireless receiving time timer, wherein the timing duration of the wireless receiving time timer is a preset wireless receiving time period;
s202: judging whether a wake-up message sent by a main node is received in real time within the preset wireless receiving time period, if so, executing S203, and if not, executing S204;
s203: closing the wireless receiving time timer and feeding back awakening reply information to the main node;
s205: starting a time timer for waiting for collecting the environmental information message, wherein the timing duration of the time timer for waiting for collecting the environmental information message is a preset time period for waiting for collecting the environmental information message;
s206: judging whether the collected environment information message sent by the main node is received or not in real time within the preset time period of waiting for collecting the environment information message, if so, executing S207, and if not, executing S208;
s207: collecting surrounding environment information, sending the collected environment information to the main node, and switching to a dormant state;
s208: judging whether the time timer for waiting to acquire the environmental information message is timed to end or not, if so, executing S209, otherwise, returning to executing S206;
s209: directly switching to a dormant state;
s204: and judging whether the wireless receiving time timer is timed to be ended or not, if so, executing S209, otherwise, returning to the step of executing S202.
The method for controlling the switching between the radio silent state and the transmission state disclosed in this embodiment accurately counts the corresponding time periods by different timers.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for controlling switching between a radio silent state and a transmission state according to the present embodiment, where the method is applied to a primary node, and the method includes:
s301: when receiving an environment information acquisition instruction sent by a user, sending a wake-up message to a child node, so that the child node is switched from a silent state to a sending state when receiving the wake-up message;
s302: judging whether awakening reply information fed back by the child node is received within a preset awakening time period, if so, executing S303, and if not, executing S304;
specifically, a wake-up time timer is started, and the timing time of the wake-up time timer is a preset wake-up time period;
judging whether awakening reply information fed back by the child node is received or not in real time within the preset awakening time period;
if yes, judging that awakening reply information fed back by the child node is received;
if not, judging whether the awakening time length timer is timed to end or not;
if the timing is finished, judging that the awakening reply information fed back by the child node is not received;
and if the timing is not finished, returning to execute the awakening reply information which is fed back by the child node and is judged whether to be received or not in real time within the preset awakening time period.
S303: sending an acquired environment information message to the child node, and sending the environment information to the user after receiving the environment information fed back by the child node;
s304: starting a wakeup message sending interval timer;
s305: and judging whether the timing of the wakeup message sending interval timer is finished, if so, returning to execute S301, and if not, continuing to execute S305, wherein the timing duration of the wakeup message sending interval timer is a preset wakeup message sending interval time period.
That is, when the timing of the wakeup packet transmission interval timer is not finished, whether the wakeup packet transmission interval timer is finished or not is continuously judged.
In the method for controlling switching between the radio silent state and the transmission state disclosed in this embodiment, the master node realizes the control of switching between the radio silent state and the transmission state, and the master node and the child node only need to perform wireless communication and can realize the control of switching between the radio silent state and the transmission state without performing wired communication.
Referring to fig. 4, the present embodiment correspondingly discloses a switching control apparatus applied to a radio silent state and a transmission state of a child node, which specifically includes:
a first determining unit 401, configured to determine, when the child node is in a wireless receiving state, whether a wake-up packet sent by a host node is received within a preset wireless receiving time period, where a time length of the child node in the wireless receiving state is the preset wireless receiving time period, if not, trigger the switching unit 402, and if not, trigger a second determining unit 403;
the switching unit 402 is configured to directly switch to a sleep state;
the second determining unit 403 is configured to switch to a sending state, feed back wakeup reply information to the host node, and determine whether an environment information acquisition message sent by the host node is received within a preset time period for waiting for an environment information acquisition message, if yes, trigger the acquiring unit 404, and if not, trigger the switching unit 402;
the acquisition unit 404 is configured to acquire surrounding environment information, and trigger the switching unit 402 after transmitting the acquired environment information to the master node.
In the switching control device between the radio silent state and the transmission state disclosed in this embodiment, the child node is in a wireless receiving state every a preset sleep time period, the child node is in the sleep state in the preset sleep time period, the main node sends a wake-up message to the child node when receiving an environment information acquisition instruction sent by a user, and when the child node is in the wireless receiving state, whether the wake-up message sent by the main node is received in the preset wireless receiving time period is judged; if the wake-up message is not received, directly switching to a dormant state; if receiving the awakening message, switching to a sending state, feeding back awakening reply information to the main node, and judging whether the environment information acquisition message sent by the main node is received within a preset time period for waiting for the environment information acquisition message; if receiving an environment information collecting message, collecting surrounding environment information, sending the collected environment information to a main node and then switching to a dormant state; and if the environment information collecting message is not received, directly switching to a dormant state. The main node and the sub-nodes only need to carry out wireless communication, the switching control between the radio silent state and the sending state can be realized without carrying out wired communication, and the main node can also carry out communication with the sub-nodes at any time when the main node needs to carry out wireless communication with the sub-nodes. When the child node is powered by the battery, the child node is in a silent state when communication is not needed, so that the power consumption of the battery is reduced, and the low-power-consumption operation of the child node is ensured.
Referring to fig. 5, the present embodiment correspondingly discloses a switching control device applied to a master node between a radio silent state and a transmission state, which specifically includes:
a first sending unit 501, configured to send a wake-up packet to a child node when receiving an environment information acquisition instruction sent by a user, so that the child node switches from a silent state to a sending state when receiving the wake-up packet;
a third determining unit 502, configured to determine whether a wakeup reply message fed back by the child node is received within a preset wakeup time period, if yes, trigger the second sending unit 503, and if not, trigger the start timer unit 504;
the second sending unit 503 is configured to send a message for collecting environment information to the child node, and send the environment information to the user after receiving the environment information fed back by the child node;
the start timer unit 504 is configured to start a wakeup packet transmission interval timer, and trigger the first sending unit 501 when the wakeup packet transmission interval timer is timed out.
In the switching control device between the radio silent state and the transmission state disclosed in this embodiment, the switching control between the radio silent state and the transmission state is realized at the master node, wireless communication is only required between the master node and the child node, the switching control between the radio silent state and the transmission state can be realized without performing wired communication, and the master node can also communicate with the child node at any time when wireless communication with the child node is required.
Based on the above embodiments, disclosed a switching control device applied between the radio silent state and the transmission state of the child node and a switching control device applied between the radio silent state and the transmission state of the master node, please refer to fig. 6, this embodiment discloses a switching control system between the radio silent state and the transmission state, which can be used for zigbee and other wireless technologies, the system includes: the main node 601 and at least one of the sub-nodes 602, 601 and 602 are wirelessly connected.
The main node 601 is configured to send a wake-up packet to a child node when receiving an environment information acquisition instruction sent by a user, so that the child node is switched from a silent state to a sending state when receiving the wake-up packet, where the silent state includes a sleep state and a wireless receiving state; judging whether awakening reply information fed back by the child node is received within a preset awakening time period; if yes, sending an environment information collecting message to the child node, and sending the environment information to the user after receiving the environment information fed back by the child node; if not, starting a wakeup message sending interval timer, and when the wakeup message sending interval timer finishes timing, returning to execute the step of sending a wakeup message to the child node when receiving an environment information acquisition instruction sent by a user, wherein the timing duration of the wakeup message sending interval timer is a preset wakeup message sending interval time period;
the child node 602 is configured to determine whether a wake-up packet sent by a host node is received within a preset wireless receiving time period when the child node is in a wireless receiving state; if the awakening message is not received, directly switching to a dormant state; if the wake-up message is received, switching to a sending state, feeding back wake-up reply information to the main node, and judging whether an environment information acquisition message sent by the main node is received within a preset environment information acquisition waiting time period; if the environment information collecting message is received, collecting surrounding environment information, sending the collected environment information to the main node, and switching to a dormant state; and if the environment information collecting message is not received, directly switching to a dormant state.
The preset wake-up message transmission interval time period T5 may be 3ms to 10ms, and in this embodiment, T5 is 3ms for example. There are two situations in the relationship between the master node preset wakeup message transmission interval time period T5 and the child node preset wireless reception time period T2, as shown in fig. 7:
the first condition is as follows: at the moment before the main node starts to send the wake-up message, the sub-node is in a wireless receiving state, at this time, the sub-node can receive the wake-up message only in a preset wireless receiving time period T2 of 3ms (namely 3ms of a preset wake-up message sending interval time period T5, the sub-node can receive the wake-up message sent by the main node after keeping the wireless receiving state for 3 ms), and in this case, the preset wireless receiving time period T2 is at least 3ms (T2 is more than or equal to T5);
case two: at the moment after the wake-up message is completely sent, the child node is in a wireless receiving state, and at this moment, the child node misses the current wake-up message and can only wait for receiving the next frame of wake-up message. In this case, the preset wireless receiving time period T2 should be not less than 6ms (i.e. greater than or equal to 2 times T5) for the child node to receive the complete wake-up packet;
from the above analysis, it can be seen that: the preset wireless receiving time period is at least 2 times of the preset awakening message sending interval time period, so that the child node can be ensured to correctly receive a frame of awakening message in the preset wireless receiving time period. Preferably, the preset wireless reception period T2 of the child node is set to 10 ms.
The preset sleep time period T1 of the child node is 5 seconds, and then the preset wake-up time period T4 must be greater than 5 seconds (i.e., T4 needs to be greater than T1), so that it can be ensured that the child node is still sending the wake-up packet in the preset wireless receiving time period. Fig. 8 shows a relationship between the main node preset wake-up time period T4 and the child node preset sleep time period:
the first condition is as follows: at the moment before the child node starts to enter the sleep state, the main node sends a wake-up message, and at the moment, the main node can ensure that the child node receives the wake-up message as long as continuously sending the wake-up message for T1+10ms (namely T1+ T2);
case two: at the later time when the child node starts to enter the sleep state, the main node sends a wake-up message, and at this time, the main node also needs to continuously send the wake-up message T1+10ms (namely T1+ T2) to ensure that the child node receives the wake-up message;
from the above analysis, it can be seen that: when the preset sleep time period T1 of the child node is 5 seconds, the preset wake-up time period T4 of the master node is at least T1+10ms (T1+ T2), that is, the preset wake-up time period is at least the sum of the preset sleep time period and the preset wireless receiving time period, so that it can be ensured that the child node can correctly receive a frame of wake-up packet.
In the system for controlling switching between the radio silent state and the transmission state disclosed in this embodiment, the master node and the child node only need to perform wireless communication, and can realize the control of switching between the radio silent state and the transmission state without performing wired communication. When the child node is powered by the battery, the child node is in a silent state when communication is not needed, and low-power-consumption operation of the child node is guaranteed.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A handover control method between a radio silent state and a transmission state, applied to a child node, the silent state comprising a sleep state and a wireless reception state, the child node being in the wireless reception state every preset sleep period, the child node being in the sleep state for the preset sleep period, the method comprising:
when the child node is in a wireless receiving state, judging whether a wake-up message sent by a main node is received in a preset wireless receiving time period, wherein the time length of the child node in the wireless receiving state is the preset wireless receiving time period;
if the awakening message is not received, directly switching to a dormant state;
if the wake-up message is received, switching to a sending state, feeding back wake-up reply information to the main node, and judging whether an environment information acquisition message sent by the main node is received within a preset environment information acquisition waiting time period;
if the environment information collecting message is received, collecting surrounding environment information, sending the collected environment information to the main node, and switching to a dormant state;
if the collected environment information message is not received, directly switching to a dormant state;
the judging whether the collected environment information message sent by the main node is received in the preset time period waiting for collecting the environment information message includes:
starting a time timer for waiting for collecting the environmental information message, wherein the timing duration of the time timer for waiting for collecting the environmental information message is the preset time period for waiting for collecting the environmental information message;
judging whether the collected environment information message sent by the main node is received or not in real time within the preset time period of waiting for collecting the environment information message;
if yes, judging that an environment information collecting message sent by the main node is received;
if not, judging whether the time timer for waiting to acquire the environmental information message is timed to end or not;
if the timing is finished, judging that the environment information collecting message sent by the main node is not received;
if the timing is not finished, returning to execute the time period of waiting for collecting the environmental information message to judge whether the collected environmental information message sent by the main node is received or not in real time.
2. The method of claim 1, wherein when the child node is in a wireless receiving state, determining whether a wake-up packet sent by a host node is received within a preset wireless receiving time period comprises:
when the child node is in a wireless receiving state, starting a wireless receiving time timer, wherein the timing duration of the wireless receiving time timer is the preset wireless receiving time period;
judging whether a wake-up message sent by a main node is received in real time within the preset wireless receiving time period;
if yes, closing the wireless receiving time timer, and judging that the awakening message sent by the main node is received;
if not, judging whether the wireless receiving time timer is timed to end or not;
if the timing is over, judging that the awakening message sent by the main node is not received;
and if the timing is not finished, returning to execute the step of judging whether the awakening message sent by the main node is received in real time in the preset wireless receiving time period.
3. The method of claim 1, further comprising:
and when the child node is powered on, the child node enters a dormant state.
4. A method for controlling switching between a radio silent state and a transmission state, applied to a primary node, the method comprising:
when receiving an environment information acquisition instruction sent by a user, sending a wake-up message to a child node, so that the child node is switched from a silent state to a sending state when receiving the wake-up message;
judging whether awakening reply information fed back by the child node is received within a preset awakening time period;
if yes, sending an environment information collecting message to the child node, and sending the environment information to the user after receiving the environment information fed back by the child node;
if not, starting a wakeup message sending interval timer, and when the wakeup message sending interval timer finishes timing, returning to execute the step of sending a wakeup message to the child node when receiving an environment information acquisition instruction sent by a user, wherein the timing duration of the wakeup message sending interval timer is a preset wakeup message sending interval time period;
the judging whether the awakening reply information fed back by the child node is received in a preset awakening time period includes:
starting a wake-up time timer, wherein the timing time of the wake-up time timer is the preset wake-up time period;
judging whether awakening reply information fed back by the child node is received or not in real time within the preset awakening time period;
if yes, judging that awakening reply information fed back by the child node is received;
if not, judging whether the awakening time length timer is timed to end or not;
if the timing is finished, judging that the awakening reply information fed back by the child node is not received;
and if the timing is not finished, returning to execute the awakening reply information which is fed back by the child node and is judged whether to be received or not in real time within the preset awakening time period.
5. A system for controlling switching between a radio mute state and a transmit state, comprising: a master node and at least one child node;
the main node is used for sending an awakening message to the child node when receiving an environment information acquisition instruction sent by a user, so that the child node is switched from a silent state to a sending state when receiving the awakening message, wherein the silent state comprises a dormant state and a wireless receiving state; judging whether awakening reply information fed back by the child node is received within a preset awakening time period; if yes, sending an environment information collecting message to the child node, and sending the environment information to the user after receiving the environment information fed back by the child node; if not, starting a wakeup message sending interval timer, and when the wakeup message sending interval timer finishes timing, returning to execute the step of sending a wakeup message to the child node when receiving an environment information acquisition instruction sent by a user, wherein the timing duration of the wakeup message sending interval timer is a preset wakeup message sending interval time period;
the child node is used for judging whether a wake-up message sent by the main node is received within a preset wireless receiving time period when the child node is in a wireless receiving state; if the awakening message is not received, directly switching to a dormant state; if the wake-up message is received, switching to a sending state, feeding back wake-up reply information to the main node, and judging whether an environment information acquisition message sent by the main node is received within a preset environment information acquisition waiting time period; if the environment information collecting message is received, collecting surrounding environment information, sending the collected environment information to the main node, and switching to a dormant state; and if the environment information collecting message is not received, directly switching to a dormant state.
6. The system according to claim 5, wherein the predetermined wireless reception time period is at least 2 times the predetermined wakeup packet transmission interval time period.
7. The system according to claim 5, wherein the preset wake-up period is at least a sum of the preset sleep period and the preset wireless receiving period.
CN201711417277.4A 2017-12-25 2017-12-25 Switching control method and system between radio silent state and transmission state Active CN108156651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711417277.4A CN108156651B (en) 2017-12-25 2017-12-25 Switching control method and system between radio silent state and transmission state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711417277.4A CN108156651B (en) 2017-12-25 2017-12-25 Switching control method and system between radio silent state and transmission state

Publications (2)

Publication Number Publication Date
CN108156651A CN108156651A (en) 2018-06-12
CN108156651B true CN108156651B (en) 2021-07-23

Family

ID=62465664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711417277.4A Active CN108156651B (en) 2017-12-25 2017-12-25 Switching control method and system between radio silent state and transmission state

Country Status (1)

Country Link
CN (1) CN108156651B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108933719B (en) * 2018-06-21 2021-06-04 北京车和家信息技术有限公司 Vehicle-mounted CAN network management method, vehicle-mounted CAN network and vehicle
CN111007781A (en) * 2019-12-27 2020-04-14 北京润科通用技术有限公司 Control method and system of environment monitoring device
CN112738870A (en) * 2020-12-23 2021-04-30 陕西烽火电子股份有限公司 Handheld device intermittent working method based on multi-cycle capture
CN113992555A (en) * 2021-10-27 2022-01-28 奇瑞商用车(安徽)有限公司 Automatic testing method and system for main node network
CN114371775A (en) * 2022-01-06 2022-04-19 北京京东乾石科技有限公司 Dormancy control method and device, information acquisition system and cabinet

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104302010A (en) * 2014-04-08 2015-01-21 河南科技大学 MAC protocol communication method and device for synchronous wireless sensor network
CN106358276A (en) * 2016-10-27 2017-01-25 珠海市杰理科技股份有限公司 Communication method based on ID packet

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8024013B2 (en) * 2008-07-09 2011-09-20 Sony Ericsson Mobile Communications Ab Regulating power duty cycle of an RF transmitter/receiver responsive to distance moved
EP2879434A1 (en) * 2013-11-28 2015-06-03 NTT Docomo, Inc. Macro-cell assisted small cell discovery and resource activation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104302010A (en) * 2014-04-08 2015-01-21 河南科技大学 MAC protocol communication method and device for synchronous wireless sensor network
CN106358276A (en) * 2016-10-27 2017-01-25 珠海市杰理科技股份有限公司 Communication method based on ID packet

Also Published As

Publication number Publication date
CN108156651A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
CN108156651B (en) Switching control method and system between radio silent state and transmission state
US8611268B1 (en) Access point power save mechanism for wireless communication systems
CN110913462B (en) Channel monitoring and energy-saving signal processing device, terminal and network side equipment
KR101102349B1 (en) Method and Apparatus for Controlling Sleep Mode in Wireless Communication Networks
CN109413721B (en) Configuration and detection method of wake-up signal detection time, network equipment and terminal
EP2887746A1 (en) Data transmission method and device
CN107295615B (en) Method for waking up wireless equipment
WO2013102389A1 (en) Discontinuous reception method and device
CN102833831A (en) Network card device, routing device, system and method for realizing dynamic dormancy and wakeup
RU2015107042A (en) SYSTEMS AND METHODS FOR BLOCKING OVER SIGNAL TRANSMISSION IN TRANSMITTER MESSAGES
EP3860229A1 (en) Terminal state transition method, network device and terminal
CN110691430B (en) Awakening method and device of Internet of things terminal, storage medium and base station
US10375756B2 (en) Method of controlling operation of a communication device, transceiver operating accordingly, and computer program
CN108781430A (en) A kind of paging method and relevant device based on unlicensed spectrum
CN111436098A (en) Communication method and device
CN110691399B (en) Internet of things terminal, awakening method and device thereof and storage medium
CN110896558A (en) Working mode switching method, terminal and network equipment
CN108966326B (en) Wireless access point control method and related equipment and system
WO2016115739A1 (en) Power saving method and device for user equipment
CN109743140B (en) Communication control method and device based on low-power-consumption wide area network
WO2022028551A1 (en) Communication method and apparatus, and computer-readable storage medium
CN112333766A (en) Wireless communication method, system, terminal communication equipment and electronic equipment
CN105228176B (en) A kind of sensing node operational mode switching method of lightweight wireless sensor network
JP2013078009A (en) Radio communication device, program, and radio communication system
CN105792389A (en) Scanning method and system for use in coexistence of dual modes and single channel

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
GR01 Patent grant
GR01 Patent grant