Detailed Description
For the purpose of facilitating understanding of the present invention, the present invention will be described more fully and in detail below with reference to the accompanying drawings and examples, but it will be understood by those skilled in the art that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of the present invention.
In the description of the present invention, a "module" or "processor" may include hardware, software, or a combination of both. A module may comprise hardware circuitry, various suitable sensors, communication ports, memory, may comprise software components such as program code, or may be a combination of software and hardware. The processor may be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. The processor has data and/or signal processing functionality. The processor may be implemented in software, hardware, or a combination thereof. Non-transitory computer readable storage media include any suitable medium that can store program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random-access memory, and the like. The term "a and/or B" denotes all possible combinations of a and B, such as a alone, B alone or a and B. The term "at least one A or B" or "at least one of A and B" means similar to "A and/or B" and may include only A, only B, or both A and B. The singular forms "a", "an" and "the" may include the plural forms as well.
In the prior art, in order to reduce power consumption, an apparatus using an NB-IOT module for communication is maintained in a sleep state of a power saving PSM, cannot receive transmission data/signals/commands, and cannot implement remote interaction, and a connection state and an idle state of the PSM can receive transmission data/signals/commands, and the like, but under a state change of the PSM, integrity of reception and transmission data cannot be guaranteed, and the two states are continuously maintained to have high power consumption.
Thus, the low-power consumption interaction scheme of the device is provided. The implementation of the solution of the present invention is described below in conjunction with one embodiment of the application scenario shown in fig. 1.
Because the NB-IOT is constructed in the cellular network, only the bandwidth of about 180kHz is consumed, the NB-IOT can be directly deployed in a GSM network, a UMTS network or an LTE network so as to reduce the deployment cost and realize smooth upgrade, and the NB-IOT can be used for communication to effectively realize data interaction with a base station.
The portable device using the NB-IOT module for communication may be a portable electronic device having a battery unit or a rechargeable battery unit, and further includes the NB-IOT module for communication with the base station and transmitting an uplink command (or uplink data/signal, etc.) to the base station. The portable device may further comprise an intelligent moisture thermometer or the like, such as in particular: the intelligent indoor temperature and humidity detection device can be used as detection equipment for indoor humidity and temperature, can be linked with household appliances such as an air conditioner and the like through a network connection server, and is provided with an NB-IOT module for communicating with a base station.
In this embodiment, the base station is connected to an application server of the internet through an operator core network, and the application server may be connected to a remote control terminal, for example: various mobile or non-mobile terminals: cell phones, pads, laptops, PCs, etc. The remote control terminals can interact with the application server, send control instructions (control data/signals and the like) to the application server through the Internet, then the control instructions/data/signals are sent to the base station by the application server through the operator core network, and the control instructions/data/signals of the base station are sent to the portable equipment as downlink instructions through the NB-IOT module.
When the portable equipment adopts the NB-IOT module to communicate, namely the NB-IOT equipment supports three working modes: power Saving mode psm, (power Saving mode), discontinuous reception mode drx, (discontinuous reception), extended discontinuous reception mode edrx (extended drx); the NB-IOT device uses the most power-saving PSM mode, and has three operating states in the power-saving PSM: a connected state, an idle state, a dormant state; the downlink data can be received in a connection state and an idle state, but the power consumption is high; and in the dormant state, the downlink data is not received, but the power consumption is the lowest. As shown in fig. 6, for the comparison of different power consumption of the NB-IOT device in different modes, in order to increase the standby time length, the NB-IOT device is in a dormant state for most of the time in the PSM mode, so that the device does not receive downlink data, and cannot set the NB-IOT device through the remote control, that is, cannot interact with the NB-IOT device; if the DRX mode is in the idle state, the power consumption (hundreds of microamps) of the DRX mode is much higher than the sleep state (microampere level), which leads to power consumption increase and reduces the standby duration, so that the NB-IOT module does not enter the sleep state when the DRX mode is adopted, i.e., the NB-IOT module does not enter the sleep state, but the power consumption is significantly higher than the power consumption when the PSM mode is adopted.
For example, if a NB-IOT device consumes 167mA for connection, 0.4mA for idle, 3 μ a for sleep, 100ms for connection, 3s for idle, and 1 hour for sleep, then the power consumption of the device per year using PSM is: [ (167 × 0.1+0.4 × 3+0.003 × 3596.9)/3600] × 24 × 365 ≈ 69.8 mAh; with DRX mode, the annual power consumption of the device is: [ (167 × 0.1+0.4 × 3599.9)/3600] × 24 × 365 ≈ 3544.5 mAh. It follows that the power consumption of the device in DRX mode is much higher than in PSM mode.
The inventive solution, as in one example of the application scenario of fig. 1, the portable device uses NB-IoT communication procedures such as:
ascending: the portable equipment reports the data to the base station through the NB-IOT module, the data are transmitted to the application server through the operator core network, and the application server pushes the data to the remote control terminal.
Descending: the user operates on the remote control terminal, the data is sent to the application server through the network, and the data is sent to the portable equipment through the NB-IOT module through the operator core network and the base station.
Further, in the scheme of the present invention, the process of the interaction between the remote control terminal and the NB-IOT device is as follows:
when a user needs to set/modify the portable equipment, the portable equipment is switched from a dormant state of a PSM mode to a DRX mode through manual triggering, the DRX mode lasts for a preset time length, for example, N minutes, the user sends a downlink instruction after finishing sending a set instruction within the preset time, and the user can immediately receive feedback that the portable equipment receives and finishes setting execution within the preset time, so that the user can determine whether the downlink instruction is executed or not, and the equipment is switched from the DRX mode to the PSM mode after the preset time is up, and the equipment is ensured to be in a low power consumption state for a long time.
More specifically, the interaction process of the low-power-consumption interaction method of the device of the present invention shown in fig. 2 is further described with reference to a schematic diagram of an embodiment of the interaction process.
The user needs to reset, e.g., modify, the portable device through the remote control. The following description will be made by taking a mobile phone and a temperature and humidity meter as examples.
The mobile phone is provided with corresponding application software APP which can interact with the hygrothermograph or set the hygrothermograph. Clicking the APP, selecting the thermo-hygrometer to be modified, and displaying a prompt on the mobile phone, wherein the prompt indicates that the thermo-hygrometer needs to be powered up again, so that the thermo-hygrometer needs to be powered up again if the thermo-hygrometer needs to be controlled. The user can be at hygrothermograph one end, through the manual power-on this hygrothermograph that carries out, in addition also can be through other modes power-on, and this no longer lists one by one. After the prompt information is sent (after the hygrothermograph is powered on), timing is started at the same time on the mobile phone for N minutes, a prompt of 'setting is completed in N minutes' can be displayed on a screen of the mobile phone, a user can select or fill in a modification setting and the like in a control menu of an APP (application) within the preset time of the N minutes, and sends a downlink instruction to the hygrothermograph according to the setting to indicate the hygrothermograph to execute the setting according to the modification setting, and the user can send the downlink instruction within the continuous N minutes after the user sets the setting through remote control. After the power is manually powered on, the hygrothermograph with the NB-IOT communication module enters a DRX mode from the original dormant state under the PSM, and the DRX mode can be continued for N minutes. The downlink instruction is transmitted to the application server through the internet, reaches the base station through the core network of the operator, and reaches the hygrothermograph with the NB-IOT communication function based on the NB-IOT. The hygrothermograph finishes the modification setting after receiving the downlink instruction, feeds back a return instruction which finishes the modification setting in real time as an uplink instruction, reports the uplink instruction to the base station, transmits the uplink instruction to the application server through the operator core network, and pushes the downlink instruction which is fed back in real time to the mobile phone through the internet. Therefore, the user can judge whether the remote interactive control is successfully completed or not according to the fed-back uplink instruction, if so, the mobile phone displays and prompts that the setting is successful, otherwise, if the duration of N minutes is over, the mobile phone prompts that the setting is failed, and can prompt the user to prompt that the setting is required to be reset, and the like.
And no matter whether a downlink instruction is received or not, or whether modification setting is completed (modification setting is completed or modification setting cannot be completed or the like) is executed and a corresponding uplink instruction (modification is completed or modification cannot be completed) is reported, as long as the DRX mode lasts for N minutes, the power consumption is reduced by automatically converting to the dormant state under the PSM unless the interaction condition of modifying the setting by electrifying again next time occurs. The thermo-hygrometer normally operates.
And re-electrifying, namely electrifying for short, comprising the following steps: the PSM mode may be exited by a physical operation resetting the device, or by other similar means causing the device to exit the PSM mode.
Therefore, through interaction in a low-power-consumption state of the NB-IOT device, power consumption increase caused by downlink instruction requirements is reduced, and whether the downlink instruction is executed or not is determined in real time. Thus, by way of example of the improved remote modification setting scheme provided by the present invention, assume that at a frequency set once per month, the power consumption is < 69.8mAh +0.4 180/3600 mAh 12-72.2 mAh per year, which is much lower than 3544.5mAh using DRX mode; according to the improved scheme of the invention, within the whole set time of N minutes, the remote control end judges whether the equipment completes modification or not through the uplink instruction, and if the time exceeds N minutes, the equipment exits the DRX mode, and meanwhile, the remote control end stops sending the downlink instruction and prompts failure, so that the remote control end can judge whether real-time interaction is successful or not in real time and does not increase excessive power consumption.
The following describes the scheme of the present invention through a main flowchart of an embodiment of the portable device side of the low power consumption interaction method of the device of the present invention shown in fig. 3.
Step S310, receiving an instruction from a remote control end to power up the NB-IOT device again, and entering the DRX mode from the low power consumption mode by the NB-IOT device and keeping the DRX mode for a preset time.
Specifically, the NB-IOT device remains operating in a sleep state in PSM mode until receiving the instruction to re-power on; the NB-IOT equipment receives the instruction of powering on again and then powers on manually; and after the NB-IOT equipment is powered on, the dormant state of the PSM mode is converted into a DRX mode, the timing in the DRX mode is started, and the time length of the DRX mode is the preset time.
In one embodiment, the remote control terminal is various terminal devices connected with a network and capable of being operated by a user. When a user needs to control and interact with a remote portable device (NB-IOT device) with an NB-IOT communication function, such as a hygrothermograph, connected to a network, the user can perform settings (e.g., modify settings of the hygrothermograph) by operating an APP on the remote control. The remote control terminal can prompt the user that the portable device needs to be powered on again. And one end of the portable equipment can be powered on again in a manual mode and the like, the portable equipment has an NB-IOT communication function after being powered on, the NB-IOT module can be switched to a DRX mode from a dormant state under the original power saving mode PSM, and the DRX can be kept for N minutes (namely a preset time: 'preset time'). And waiting for receiving the downlink instruction within the N minutes, so as to reset or modify the setting according to the modification setting indication of the downlink instruction, and returning the set or unset return instruction after completing the modification setting, such as reporting the uplink instruction. The discontinuous reception DRX mode is a high power consumption state, but can ensure the timeliness and integrity of data, commands, signals, and the like.
In step S320, the NB-IOT device determines whether to receive a setting instruction from the remote control to determine whether to modify the setting within the preset time.
Specifically, in the preset time, the remote control end sets the NB-IOT device, and sends a downlink instruction for setting the NB-IOT device to the NB-IOT device at regular time; within the preset time, the NB-IOT equipment waits for receiving the downlink instruction; if the downlink instruction is received, finishing modification setting of the corresponding NB-IOT equipment according to the downlink instruction, and sending a return instruction of a setting completion result to a remote control end; if the downlink instruction is not received, setting is not carried out and a return instruction is not sent; wherein the return instruction is an up instruction. Further, the downlink instruction includes: the remote control end sends a command for modifying the setting to an application server, the application server sends the command to the base station through an operator core network, and the base station sends the command to NB-IOT equipment as a downlink command through an NB-IOT network; further, the uplink instruction includes: and the NB-IOT equipment uploads the return instruction to the base station through the NB-IOT network, the base station transmits the return instruction to the application server through the base station and the operator core network, and the application server pushes the data to the remote control terminal.
In one embodiment, if the remote control end such as a terminal device (e.g., a mobile phone) is configured to perform a preset time of N minutes (e.g., 3 minutes), after prompting to power up the NB-IOT device such as a thermo-hygrometer again, the user is prompted to complete setting of the device (e.g., the thermo-hygrometer) within N minutes, and the user starts to perform modification or setting of various functions of the thermo-hygrometer within N minutes through the terminal device such as the mobile phone for remote control, and sends a downlink command, i.e., a setting command to the thermo-hygrometer within N minutes. The downlink command may be sent periodically, for example, once every N seconds, for a preset time, i.e., N minutes. And the portable device NB-IOT, such as a hygrothermograph and the like, can wait for receiving the setting instruction (downlink instruction) within N minutes of the timing duration, and once the setting instruction is received, the modification or setting operation indicated by the setting instruction is executed, and the execution of the setting instruction can feed back a return instruction of the result of executing the setting operation in real time to the user. Here, when the setting of the user is completed, the setting instruction is immediately sent to the hygrothermograph, and the setting feedback is quickly completed, namely the real-time command real-time feedback is realized, so that the interaction between the two parties is similar to the direct modification or setting of the equipment. And the return instruction is reported to the base station and returned to the remote control end as an uplink instruction. The remote control end determines whether the setting is completed or not according to the execution completion result in the uplink instruction.
Step S330, after waiting for the DRX mode of the NB-IOT equipment to last for the preset time, the NB-IOT equipment enters a low power consumption mode.
Specifically, after waiting for the NB-IOT device to continue in the DRX mode for the preset time, the NB-IOT device re-enters the sleep state in the PSM mode regardless of whether modification setting is performed and whether a return instruction is sent. I.e., to return to the low power state of the power save PSM mode that the device has been in for a long period of time.
In one embodiment, after the portable device with NB-IOT function, such as a hygrothermograph, is in the DRX mode for N minutes, regardless of whether the device receives a downlink command to perform modification setting, regardless of whether the device completes the modification setting, and regardless of whether the device reports an uplink command as feedback of a setting command to a remote control (such as a mobile phone), once N minutes, such as 3 minutes, have been reached, the portable device may switch back to the sleep state in the PSM from the DRX mode, and the device operates normally, and waits for next power-up, setting, and the like.
Correspondingly, the following mainly describes the scheme of the present invention through a main flowchart of an embodiment of the remote control end of the low power consumption interaction method of the device of the present invention shown in fig. 4.
Step S410, prompting to modify and set the NB-IoT device to power up again and starting to time for a preset time.
Specifically, prior to prompting to power back on the NB-IoT device, the NB-IoT device remains operating in a dormant state in PSM mode; the preset time is a preset time length which lasts in a DRX mode after the NB-IoT equipment enters the DRX mode after being powered on again.
In one embodiment, the remote control terminal is various terminal devices connected with a network and capable of being operated by a user. When a user needs to control and interact with a remote portable device (NB-IOT device) with an NB-IOT communication function, such as a hygrothermograph, connected to a network, the user can perform settings (e.g., modify settings of the hygrothermograph) by operating an APP on the remote control. The remote control terminal can prompt the user that the portable device needs to be powered on again. And one end of the portable equipment can be powered on again in a manual mode and the like, the portable equipment has an NB-IOT communication function after being powered on, the NB-IOT module can be switched to a DRX mode from a dormant state under the original power saving mode PSM, and the DRX can be kept for N minutes (namely a preset time: 'preset time'). And waiting for receiving the downlink instruction within the N minutes, so as to reset or modify the setting according to the modification setting indication of the downlink instruction, and returning the set or unset return instruction after completing the modification setting, such as reporting the uplink instruction. The discontinuous reception DRX mode is a high power consumption state, but can ensure the timeliness and integrity of data, commands, signals, and the like. Further, within a preset time such as N minutes (e.g., 3 minutes), if the remote control terminal such as a terminal device (e.g., a mobile phone, etc.), after prompting to power up the NB-IOT device such as a thermo-hygrometer again, the remote control terminal counts the preset time for N minutes, prompts the user to complete setting of the device (e.g., the thermo-hygrometer) within N minutes, and so on.
And step S420, periodically sending the instruction for modifying the setting to the NB-IoT equipment.
Specifically, the modified setting is sent to the NB-IoT device through a downlink instruction timing to execute the modified setting corresponding to the instruction of the modified setting. And within the continuous preset time, retransmitting the downlink instruction continuously in a timed period until the subsequent continuous preset time reaches the preset time for judging whether the uplink instruction is received or not and the instruction indicates that the setting is successful.
In one embodiment, the user starts to modify or set the settings of various functions and the like of the thermo-hygrometer in N continuous minutes by using the terminal device such as the mobile phone for remote control, and periodically transmits a downlink command, i.e., a setting command, to the thermo-hygrometer in N continuous minutes. The downlink command may be sent periodically, for example, once every N seconds, for a preset time, i.e., N minutes. And the portable device NB-IOT, such as a hygrothermograph and the like, can wait for receiving the setting instruction (downlink instruction) within N minutes of the timing duration, and once the setting instruction is received, the modification or setting operation indicated by the setting instruction is executed, and the execution of the setting instruction can feed back a return instruction of the result of executing the setting operation in real time to the user. Here, when the setting of the user is completed, the setting instruction is immediately sent to the hygrothermograph, and the setting feedback is quickly completed, namely the real-time command real-time feedback is realized, so that the interaction between the two parties is similar to the direct modification or setting of the equipment. And the return instruction is reported to the base station and returned to the remote control end as an uplink instruction. The remote control end determines whether the setting is completed or not according to the execution completion result in the uplink instruction. The execution completion result may be successfully modified or set according to the instruction of the downlink instruction, or may be modified or set to fail for various reasons.
Step S430, determining whether a return instruction of setting completion is received from the NB-IoT device according to the instruction for modifying the setting within the preset time; if the return instruction is determined to be received and the instruction indication is successful, prompting that the setting is modified successfully; and if the preset time is reached, determining that the return instruction is received and the instruction indication is failed or the return instruction is not received after the preset time is reached, prompting that the setting is failed to be modified.
Specifically, within the preset time, waiting for receiving an uplink instruction (the return instruction is feedback to an instruction of a user to perform a modification or setting operation through a remote control) from the NB-IoT device, wherein the uplink instruction represents that the execution of the setting is completed and returns. And if the returned uplink instruction is determined to be received within the preset time and the uplink instruction indicates success, prompting that the setting is successfully modified. If the returned uplink instruction is determined to be received but the uplink instruction indication fails or the returned uplink instruction is not received all the time after the preset time is reached, prompting that the modification setting has failed, and prompting a user to select whether to prompt the NB-IoT equipment to be manually powered on again to switch from the dormant state of the PSM mode to the DRX mode again so as to execute the modification setting again; and if so, manually powering on the NB-IoT again, and re-executing the remote control interaction process.
Wherein the downlink instruction comprises: the remote control end sends a command for modifying the setting to an application server, the application server sends the command to a base station through an operator core network, and the base station sends the command to NB-IoT equipment as a downlink command through an NB-IoT network; the uplink instruction comprises: and the NB-IoT equipment uploads the return instruction to the base station through the NB-IoT network, the base station transmits the return instruction to the application server through the base station and the operator core network, and the application server pushes the data to the remote control terminal.
In one embodiment, after the portable device with NB-IOT function, such as a hygrothermograph, is in the DRX mode for N minutes, whether the device receives a downlink command to perform modification setting, whether the device completes the modification setting successfully, and whether the device reports an uplink command as feedback of a setting command to the remote control (such as a mobile phone), once N minutes, such as 3 minutes, have elapsed, the portable device (such as the hygrothermograph) will transition from the DRX mode back to the sleep state in the PSM, and wait for the next power-up, setting, and the like. Correspondingly, the user of the remote control end (such as a mobile phone) also waits for the feedback of the portable device within the continuous N minutes, if the mobile phone and the like receive the reported uplink instruction and the instruction is analyzed to be successfully modified or set, the interaction process is completed, and prompt information such as 'successfully set' can be displayed to the user. If one end of the mobile phone or the like receives the uplink instruction within the continuous N minutes, but analyzes that modification or setting fails due to various reasons, and if the downlink instruction of the setting operation is retransmitted at regular time and continues for N minutes, namely the downlink instruction fails after reaching N minutes, the interactive process is ended and a prompt message can be displayed to the user, such as 'setting failure'. If the downlink instruction is not received within N minutes, namely no feedback set by the user is obtained, the interaction fails, and prompt information can be displayed to the user to indicate that the setting fails.
Further, in case of setting failure, after the N minutes has been reached, a message prompting the user to determine whether to power up the portable device again may be displayed, so that the portable device may be switched from the sleep state of the power saving mode PSM to the DRX mode for interaction again, so as to perform setting operation on the portable device again. I.e. the flow is re-executed.
In one embodiment of the low-power interactive system of the device of the present invention, the system comprises: and a remote control end connected to the NB-IoT device through a network, wherein the remote control end performs the processing from step S410 to step S430 in an embodiment of the aforementioned device low power consumption interaction method. Further, the NB-IoT device performs the processing of step S310 to step S330 in one embodiment of the aforementioned device low power interaction method. Further, the remote control end comprises one or more servers or terminal devices capable of sending downlink instructions through a network, and the NB-IoT device is a portable hygrothermograph which is arranged in the network, can interact with the remote control end and sends uplink instructions through the network.
Next, the scheme of the present invention is described by using the structural block diagram of an embodiment of the low power consumption interactive system of the device of the present invention shown in fig. 5.
The device low power consumption interactive system of this embodiment includes: the device comprises a first receiving module, a first judging module and a first power consumption module of an NB-IoT device end.
The first receiving module is used for receiving an instruction of re-powering on the NB-IOT device from a remote control end to re-power on the NB-IOT device, and the NB-IOT device enters a DRX mode from a low power consumption mode and keeps a preset time in the DRX mode.
Specifically, the NB-IOT device remains operating in a sleep state in PSM mode until receiving the instruction to re-power on; the NB-IOT equipment receives the instruction of powering on again and then powers on manually; and after the NB-IOT equipment is powered on, the dormant state of the PSM mode is converted into a DRX mode, the timing in the DRX mode is started, and the time length of the DRX mode is the preset time.
In one embodiment, the remote control terminal is various terminal devices connected with a network and capable of being operated by a user. When a user needs to control and interact with a remote portable device (NB-IOT device) with an NB-IOT communication function, such as a hygrothermograph, connected to a network, the user can perform settings (e.g., modify settings of the hygrothermograph) by operating an APP on the remote control. The remote control terminal can prompt the user that the portable device needs to be powered on again. And one end of the portable equipment can be powered on again in a manual mode and the like, the portable equipment has an NB-IOT communication function after being powered on, the NB-IOT module can be switched to a DRX mode from a dormant state under the original power saving mode PSM, and the DRX can be kept for N minutes (namely a preset time: 'preset time'). And waiting for receiving the downlink instruction within the N minutes, so as to reset or modify the setting according to the modification setting indication of the downlink instruction, and returning the set or unset return instruction after completing the modification setting, such as reporting the uplink instruction. The discontinuous reception DRX mode is a high power consumption state, but can ensure the timeliness and integrity of data, commands, signals, and the like.
And the first judgment module is used for determining whether a setting instruction from a remote control end is received or not within the preset time so as to determine whether to modify the setting or not by the NB-IOT equipment.
Specifically, in the preset time, the remote control end sets the NB-IOT device, and sends a downlink instruction for setting the NB-IOT device to the NB-IOT device at regular time; within the preset time, the NB-IOT equipment waits for receiving the downlink instruction; if the downlink instruction is received, finishing modification setting of the corresponding NB-IOT equipment according to the downlink instruction, and sending a return instruction of a setting completion result to a remote control end; if the downlink instruction is not received, setting is not carried out and a return instruction is not sent; wherein the return instruction is an up instruction. Further, the downlink instruction includes: the remote control end sends a command for modifying the setting to an application server, the application server sends the command to the base station through an operator core network, and the base station sends the command to NB-IOT equipment as a downlink command through an NB-IOT network; further, the uplink instruction includes: and the NB-IOT equipment uploads the return instruction to the base station through the NB-IOT network, the base station transmits the return instruction to the application server through the base station and the operator core network, and the application server pushes the data to the remote control terminal.
In one embodiment, if the remote control end such as a terminal device (e.g., a mobile phone) is configured to perform a preset time of N minutes (e.g., 3 minutes), after prompting to power up the NB-IOT device such as a thermo-hygrometer again, the user is prompted to complete setting of the device (e.g., the thermo-hygrometer) within N minutes, and the user starts to perform modification or setting of various functions of the thermo-hygrometer within N minutes through the terminal device such as the mobile phone for remote control, and sends a downlink command, i.e., a setting command to the thermo-hygrometer within N minutes. The downlink command may be sent periodically, for example, once every N seconds, for a preset time, i.e., N minutes. And the portable device NB-IOT, such as a hygrothermograph and the like, can wait for receiving the setting instruction (downlink instruction) within N minutes of the timing duration, and once the setting instruction is received, the modification or setting operation indicated by the setting instruction is executed, and the execution of the setting instruction can feed back a return instruction of the result of executing the setting operation in real time to the user. Here, when the setting of the user is completed, the setting instruction is immediately sent to the hygrothermograph, and the setting feedback is quickly completed, namely the real-time command real-time feedback is realized, so that the interaction between the two parties is similar to the direct modification or setting of the equipment. And the return instruction is reported to the base station and returned to the remote control end as an uplink instruction. The remote control end determines whether the setting is completed or not according to the execution completion result in the uplink instruction.
A first power consumption module, configured to wait for the DRX mode of the NB-IOT device to continue for the preset time before the NB-IOT device enters a low power consumption mode.
Specifically, after waiting for the NB-IOT device to continue in the DRX mode for the preset time, the NB-IOT device re-enters the sleep state in the PSM mode regardless of whether modification setting is performed and whether a return instruction is sent. I.e., to return to the low power state of the power save PSM mode that the device has been in for a long period of time.
In one embodiment, after the portable device with NB-IOT function, such as a hygrothermograph, is in the DRX mode for N minutes, regardless of whether the device receives a downlink command to perform modification setting, regardless of whether the device completes the modification setting, and regardless of whether the device reports an uplink command as feedback of a setting command to a remote control (such as a mobile phone), once N minutes, such as 3 minutes, have been reached, the portable device may transition from the DRX mode back to the sleep state in the PSM, operate normally, and wait for the next power-up, setting, and the like.
Further, in an embodiment, the device low-power consumption interactive system further includes: the device comprises a prompt module, a sending module and a determining module of a remote control end.
And the prompting module is used for prompting the NB-IoT equipment to be powered on again to modify and set and start to time for a preset time.
Specifically, prior to prompting to power back on the NB-IoT device, the NB-IoT device remains operating in a dormant state in PSM mode; the preset time is a preset time length which lasts in a DRX mode after the NB-IoT equipment enters the DRX mode after being powered on again.
In one embodiment, the remote control terminal is various terminal devices connected with a network and capable of being operated by a user. When a user needs to control and interact with a remote portable device (NB-IOT device) with an NB-IOT communication function, such as a hygrothermograph, connected to a network, the user can perform settings (e.g., modify settings of the hygrothermograph) by operating an APP on the remote control. The remote control terminal can prompt the user that the portable device needs to be powered on again. And one end of the portable equipment can be powered on again in a manual mode and the like, the portable equipment has an NB-IOT communication function after being powered on, the NB-IOT module can be switched to a DRX mode from a dormant state under the original power saving mode PSM, and the DRX can be kept for N minutes (namely a preset time: 'preset time'). And waiting for receiving the downlink instruction within the N minutes, so as to reset or modify the setting according to the modification setting indication of the downlink instruction, and returning the set or unset return instruction after completing the modification setting, such as reporting the uplink instruction. The discontinuous reception DRX mode is a high power consumption state, but can ensure the timeliness and integrity of data, commands, signals, and the like. Further, within a preset time such as N minutes (e.g., 3 minutes), if the remote control terminal such as a terminal device (e.g., a mobile phone, etc.), after prompting to power up the NB-IOT device such as a thermo-hygrometer again, the remote control terminal counts the preset time for N minutes, prompts the user to complete setting of the device (e.g., the thermo-hygrometer) within N minutes, and so on.
A sending module, configured to send the instruction for modifying the setting to the NB-IoT device at regular time.
Specifically, the modified setting is sent to the NB-IoT device through a downlink instruction timing to execute the modified setting corresponding to the instruction of the modified setting. And within the continuous preset time, retransmitting the downlink instruction continuously in a timed period until the subsequent continuous preset time reaches the preset time for judging whether the uplink instruction is received or not and the instruction indicates that the setting is successful.
In one embodiment, the user starts to modify or set the settings of various functions and the like of the thermo-hygrometer in N continuous minutes by using the terminal device such as the mobile phone for remote control, and periodically transmits a downlink command, i.e., a setting command, to the thermo-hygrometer in N continuous minutes. The downlink command may be sent periodically, for example, once every N seconds, for a preset time, i.e., N minutes. And the portable device NB-IOT, such as a hygrothermograph and the like, can wait for receiving the setting instruction (downlink instruction) within N minutes of the timing duration, and once the setting instruction is received, the modification or setting operation indicated by the setting instruction is executed, and the execution of the setting instruction can feed back a return instruction of the result of executing the setting operation in real time to the user. Here, when the setting of the user is completed, the setting instruction is immediately sent to the hygrothermograph, and the setting feedback is quickly completed, namely the real-time command real-time feedback is realized, so that the interaction between the two parties is similar to the direct modification or setting of the equipment. And the return instruction is reported to the base station and returned to the remote control end as an uplink instruction. The remote control end determines whether the setting is completed or not according to the execution completion result in the uplink instruction. The execution completion result may be successfully modified or set according to the instruction of the downlink instruction, or may be modified or set to fail for various reasons.
A determining module, configured to determine whether a return instruction of setting completion executed according to the instruction of modifying the setting is received from the NB-IoT device within the preset time; if the return instruction is determined to be received and the instruction indication is successful, prompting that the setting is modified successfully; and if the preset time is reached, determining that the return instruction is received and the instruction indication is failed or the return instruction is not received after the preset time is reached, prompting that the setting is failed to be modified.
Specifically, within the preset time, waiting for receiving an uplink instruction (the return instruction is feedback to an instruction of a user to perform a modification or setting operation through a remote control) from the NB-IoT device, wherein the uplink instruction represents that the execution of the setting is completed and returns. And if the returned uplink instruction is determined to be received within the preset time and the uplink instruction indicates success, prompting that the setting is successfully modified. If the returned uplink instruction is determined to be received but the uplink instruction indication fails after the preset time is reached, or the returned uplink instruction is not received all the time after the preset time is reached, prompting that the modification setting has failed, and prompting a user to select whether to prompt the NB-IoT equipment to be manually powered on again to switch from the dormant state of the PSM mode to the DRX mode so as to execute the modification setting again; and if so, manually powering on the NB-IoT again, and re-executing the remote control interaction process.
Wherein the downlink instruction comprises: the remote control end sends a command for modifying the setting to an application server, the application server sends the command to a base station through an operator core network, and the base station sends the command to NB-IoT equipment as a downlink command through an NB-IoT network; the uplink instruction comprises: and the NB-IoT equipment uploads the return instruction to the base station through the NB-IoT network, the base station transmits the return instruction to the application server through the base station and the operator core network, and the application server pushes the data to the remote control terminal.
In one embodiment, after the portable device with NB-IOT function, such as a hygrothermograph, is in the DRX mode for N minutes, whether the device receives a downlink command to perform modification setting, whether the device completes the modification setting successfully, and whether the device reports an uplink command as feedback of a setting command to the remote control (such as a mobile phone), once N minutes, such as 3 minutes, have elapsed, the portable device (such as the hygrothermograph) will transition from the DRX mode back to the sleep state in the PSM, and wait for the next power-up, setting, and the like. Correspondingly, the user of the remote control end (such as a mobile phone) also waits for the feedback of the portable device within the continuous N minutes, if the mobile phone and the like receive the reported uplink instruction and the instruction is analyzed to be successfully modified or set, the interaction process is completed, and prompt information such as 'successfully set' can be displayed to the user. If one end of the mobile phone or the like receives the uplink instruction within the continuous N minutes, but analyzes that modification or setting fails due to various reasons, and if the downlink instruction of the setting operation is retransmitted at regular time and continues for N minutes, namely the downlink instruction fails after reaching N minutes, the interactive process is ended and a prompt message can be displayed to the user, such as 'setting failure'. If the downlink instruction is not received within N minutes, namely no feedback set by the user is obtained, the interaction fails, and prompt information can be displayed to the user to indicate that the setting fails.
Further, in case of setting failure, after the N minutes has been reached, a message prompting the user to determine whether to power up the portable device again may be displayed, so that the portable device may be switched from the sleep state of the power saving mode PSM to the DRX mode for interaction again, so as to perform setting operation on the portable device again. I.e. the flow is re-executed.
In an embodiment of the present invention, after receiving the downlink command, the NB-IOT device continuously maintains the "high power consumption state of discontinuous reception DRX mode" for N minutes, and is in DRX mode only within N minutes when first powered on and belongs to an idle state, and operates in PSM mode for other time periods, compared to the PSM mode, only the idle state within N minutes is increased, and compared to the entire PSM mode operation, only the power consumption of the N minute idle state is increased, and the power consumption of this part is increased very low and negligible, and it is ensured that the standby duration is not significantly reduced. In the whole setting time of N minutes, the remote control end can judge whether the equipment is set through the uplink instruction in real time, and actually, from the view of overall power consumption, the interaction method aiming at the NB-IOT equipment in the low power consumption state is adopted, so that the problem that downlink data of the NB-IOT equipment is not received is solved, the interaction aiming at the NB-IOT equipment in the low power consumption state is realized, only the power consumption of an idle state of N minutes is increased, the increased power consumption is very low and can be ignored, and the standby time is ensured not to be obviously reduced.
Further, in an embodiment of a computer readable medium of the present invention, the storage medium stores a plurality of program codes adapted to be loaded and executed by a processor to perform the steps of the aforementioned method.
Further, an embodiment of a control device of the invention comprises a processor and a storage device, in particular, the storage device is adapted to store a plurality of program codes adapted to be loaded and run by the processor to perform the respective steps of the aforementioned method.
It should be noted that the above example is only an example of a combination parameter for explaining implementation of the embodiment of the present invention, and is to explain implementation processes of the embodiment of the present invention rather than actual implementation parameters, where settings of various parameters and settings of coefficients may be adjusted and set correspondingly according to actual applications.
It should be noted that, although the foregoing embodiments describe each step in a specific sequence, those skilled in the art will understand that, in order to achieve the effect of the present invention, different steps do not necessarily need to be executed in such a sequence, and they may be executed simultaneously (in parallel) or in other sequences, and these changes are all within the protection scope of the present invention.
Further, it should be understood that, since the modules are only configured to illustrate the functional units of the system of the present invention, the corresponding physical devices of the modules may be the processor itself, or a part of software, a part of hardware, or a part of a combination of software and hardware in the processor. Thus, the number of individual modules in the figures is merely illustrative.
Those skilled in the art will appreciate that the various modules in the system may be adaptively split or combined. Such splitting or combining of specific modules does not cause the technical solutions to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or combining will fall within the protection scope of the present invention.
So far, the technical solution of the present invention has been described with reference to one embodiment shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.