WO2021218354A1 - Interaction method, system, and apparatus under device low power consumption state - Google Patents

Interaction method, system, and apparatus under device low power consumption state Download PDF

Info

Publication number
WO2021218354A1
WO2021218354A1 PCT/CN2021/078615 CN2021078615W WO2021218354A1 WO 2021218354 A1 WO2021218354 A1 WO 2021218354A1 CN 2021078615 W CN2021078615 W CN 2021078615W WO 2021218354 A1 WO2021218354 A1 WO 2021218354A1
Authority
WO
WIPO (PCT)
Prior art keywords
instruction
iot device
setting
preset time
iot
Prior art date
Application number
PCT/CN2021/078615
Other languages
French (fr)
Chinese (zh)
Inventor
丁万超
赵永俊
时斌
Original Assignee
青岛海尔空调电子有限公司
海尔智家股份有限公司
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 青岛海尔空调电子有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔空调电子有限公司
Publication of WO2021218354A1 publication Critical patent/WO2021218354A1/en

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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/28Discontinuous transmission [DTX]; Discontinuous reception [DRX]
    • 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 present invention provides a device low-power consumption interaction method, system, and apparatus. The method comprises: receive, from a remote control terminal, an instruction of repowering on an NB-IOT device so as to repower on, wherein the NB-IOT device enters a DRX mode from a low power consumption mode and performs timekeeping in the DRX mode for a preset period of time; within the preset period of time, the NB-IOT device determines whether a setting instruction from the remote control terminal is received so as to determine whether to modify a setting; after waiting that the NB-IOT device is in the DRX mode for the preset period of time, the NB-IOT device enters the low power consumption mode. By making the NB-IOT device be switched from a power saving mode to an idle state by means of remote control, it is ensured that interaction can be completely performed, the duration of an idle state high-power consumption mode merely is N minutes after being powered on, and the influence of the duration on the whole power consumption may be ignored, thereby ensuring the realization of low power consumption interaction.

Description

一种设备低功耗状态下的交互方法、系统及装置Interactive method, system and device under low power consumption state of equipment 技术领域Technical field
本说明书交互技术领域,尤其涉及一种设备低功耗状态下的交互方法、系统及装置。The field of interactive technology in this specification, in particular, relates to an interactive method, system, and device in a low power consumption state of a device.
背景技术Background technique
现有技术中,设备采用窄带物联网(Narrow Band Internet of Things)即NB-IOT模组进行通信时,为增加待机时长采用PSM模式,由于采用PSM模式的设备大部分时间处于低功耗的休眠状态,不接收下行数据,无法通过远程终端对其进行设定。为此,需要一种新的设备低功耗状态下的交互方案,既能减少设备功率消耗又能在需要时正常交互。In the prior art, when the device uses the Narrow Band Internet of Things (Narrow Band Internet of Things), that is, the NB-IOT module for communication, the PSM mode is used to increase the standby time. Because the device using the PSM mode is mostly in low-power sleep mode Status. Downlink data is not received and cannot be set via the remote terminal. For this reason, a new interaction scheme under the low power consumption state of the device is needed, which can reduce the power consumption of the device and can interact normally when needed.
发明内容Summary of the invention
为了克服上述缺陷,提出了本发明,以解决或至少部分地解决使用NB-IoT的设备如何在保证较低功耗下还能接收指令进行交互的技术问题。本发明为解决上述技术问题提供了一种设备低功耗状态下的交互方法、系统及装置。In order to overcome the above shortcomings, the present invention is proposed to solve or at least partially solve the technical problem of how devices using NB-IoT can still receive instructions for interaction while ensuring low power consumption. The present invention provides an interactive method, system and device in a low power consumption state of equipment to solve the above technical problems.
第一方面,提供一种设备低功耗交互方法,接收来自远程控制端对NB-IOT设备重新上电的指令而重新上电,并且,所述NB-IOT设备从低功耗模式进入DRX模式并计时在所述DRX模式持续一预设时间;所述NB-IOT设备在所述预设时间内,确定是否接收到来自远程控制端的设定指令以确定是否进行修改设定;等待所述NB-IOT设备的所述DRX模式持续了所述预设时间后,所述NB-IOT设备进入低功耗模式。In the first aspect, a device low-power interaction method is provided, which receives an instruction from a remote control terminal to power-on the NB-IOT device again and powers it on again, and the NB-IOT device enters the DRX mode from the low power consumption mode And timing in the DRX mode for a preset time; the NB-IOT device determines whether to receive a setting instruction from the remote control terminal within the preset time to determine whether to modify the setting; wait for the NB -After the DRX mode of the IOT device continues for the preset time, the NB-IOT device enters a low power consumption mode.
其中,所述“接收来自远程控制端对NB-IOT设备重新上电的指令而重新上电,并且,所述NB-IOT设备从低功耗模式进入DRX模式并计时在所述DRX模式持续一预设时间”具体包括:所述NB-IOT设备在接收到所述重新上电的指令之前维持在PSM模式的休眠状态下运行;所述NB-IOT设备接收到所述重新上电的指令则手动上电;所述NB-IOT设备上电后,从PSM模式的休眠状态转换为DRX模式,并且,开始该DRX模式下的计时,持续所述DRX模式的时间长度为所述预设时间;和/或,其中,所述“所述NB-IOT设备在所述预设时间内,确定是否接收到来自远程控制端的设定指令以确定是否进行修改设定”具体包括:在所述预设时间内,所述远程控制端对所述NB-IOT设备进行设定,并定时发送设定所述NB-IOT设备的下行指令到所述NB-IOT设备;在所述预定时间内,所述NB-IOT设备等待接收所述下行指令;如果接收到所述下行指令则根据所述下行指令完成对应的NB-IOT设备的修改设定,并发送设定完成结果的返回指令到远程控制端;如果未接收到所述下行指令则不进行设定也不发送返回指令;其中所述返回指令为上行指令;和/或,其中,所述“等待所述NB-IOT设备的所述DRX模式持续了所述预设时间后,所述NB-IOT设备进入低功耗模式”,具体包括:等待所述NB-IOT设备在所述DRX模式下持续了所述预设时间后,不论是否进行了修改设定以及是否发送返回指令,将所述NB-IOT设备重新进入PSM模式下的休眠状态。Wherein, the “receives the instruction from the remote control terminal to re-power on the NB-IOT device and power it on again, and the NB-IOT device enters the DRX mode from the low power consumption mode and counts the DRX mode for a period of time. The “preset time” specifically includes: the NB-IOT device maintains operation in the sleep state of the PSM mode before receiving the power-on instruction; the NB-IOT device receives the power-on instruction Manually power on; after the NB-IOT device is powered on, it switches from the sleep state of the PSM mode to the DRX mode, and starts timing in the DRX mode, and the duration of the DRX mode is the preset time; And/or, wherein, the “determining whether the NB-IOT device receives a setting instruction from the remote control terminal within the preset time to determine whether to modify the setting” specifically includes: Within a period of time, the remote control terminal sets the NB-IOT device, and periodically sends a downlink instruction for setting the NB-IOT device to the NB-IOT device; within the predetermined time, the The NB-IOT device waits to receive the downlink instruction; if the downlink instruction is received, it completes the modification setting of the corresponding NB-IOT device according to the downlink instruction, and sends a return instruction of the setting completion result to the remote control terminal; If the downlink instruction is not received, neither setting nor sending a return instruction; wherein the return instruction is an uplink instruction; and/or, wherein the "waiting for the DRX mode of the NB-IOT device to continue After the preset time, the NB-IOT device enters the low power consumption mode", which specifically includes: waiting for the NB-IOT device to continue in the DRX mode for the preset time, regardless of whether the Modify the settings and whether to send a return instruction to re-enter the NB-IOT device into the sleep state in the PSM mode.
其中,还包括:所述下行指令包括:远程控制端将修改设定的指令发送到应用服务器,应用服务器经运营商核心网络发送到基站,由基站经NB-IOT网络将所述指令作为下行指令下发送达NB-IOT设备;所述上行指令包括:NB-IOT设备将 返回指令经NB-IOT网络上传至基站,由基站经所述基站经运营商核心网传输至应用服务器,由应用服务器将数据推送到远程控制终端。Wherein, it also includes: the downlink instruction includes: the remote control terminal sends an instruction to modify the settings to the application server, the application server sends to the base station via the operator's core network, and the base station uses the instruction as the downlink instruction via the NB-IOT network Send to the NB-IOT device; the uplink instruction includes: the NB-IOT device uploads the return instruction to the base station via the NB-IOT network, and the base station transmits to the application server via the base station via the operator’s core network, and the application server transfers The data is pushed to the remote control terminal.
第二方面,提供一种设备低功耗交互方法,提示对NB-IOT设备重新上电进行修改设定并开始计时一预设时间;在所述预设时间内,定时重发所述修改设定的指令给所述NB-IOT设备;确定是否在所述预设时间内接收到来自所述NB-IoT设备的根据所述修改设定的指令执行设定完成的返回指令;其中,如果确定接收到所述返回指令且所述指令指示为成功,则提示修改设定成功;如果等待持续所述预设时间达到后,确定接收到所述返回指令且所述指令指示为失败或者未接收到返回指令,则提示修改设定失败。In a second aspect, a device low-power interaction method is provided, which prompts the NB-IOT device to be re-powered on to modify settings and start timing for a preset time; within the preset time, the modified settings are retransmitted regularly To the NB-IOT device; determine whether the NB-IoT device receives a return instruction from the NB-IoT device according to the modified setting instruction within the preset time; wherein, if it is determined If the return instruction is received and the instruction indicates that the instruction is successful, it will be prompted to modify the settings successfully; if the waiting continues for the preset time to reach, it is determined that the return instruction is received and the instruction indicates that the instruction is failed or not received Return the command, it will prompt to modify the setting failure.
其中,还包括:提示对所述NB-IOT设备重新上电之前,所述NB-IOT设备维持在PSM模式的休眠状态下运行;所述计时一预设时间,为对应所述NB-IOT设备重新上电之后进入DRX模式后,在所述DRX模式下持续的一预设时间长度;所述“定时重发所述修改设定的指令给所述NB-IOT设备”具体还包括:将所述修改设定通过下行指令定时重发给所述NB-IOT设备执行对应所述修改设定的指令的修改设定;所述“确定是否在所述预设时间内接收到来自所述NB-IoT设备的根据所述修改设定的指令执行设定完成的返回指令;其中,如果确定接收到所述返回指令且所述指令指示为成功,则提示修改设定成功;如果等待持续所述预设时间达到后,确定接收到所述返回指令且所述指令指示为失败或者未接收到返回指令,则提示修改设定失败”具体还包括:在所述预设时间内,等待接收来自所述NB-IOT设备的表示执行设定完成而返回的上行指令;如果确定接收到返回的上行指令并且所述上行指令指示为设定成功,则提示修改设定已经成功;如果到达所述预设时间后,确定接收到返回的上行指令并且所述上行指令指示为设定失败或者未接收到返回的上行指令,则提示修改设定已经失败,并提示用户选择是否重新提示对所述NB-IOT设备重新手动上电从PSM模式的休眠状态切换为DRX模式以再次执行修改设定;如果是则重新手动对所述NB-IOT上电;其中,所述下行指令包括:远程控制端将修改设定的指令发送到应用服务器,应用服务器经运营商核心网络发送到基站,由基站经NB-IOT网络将所述指令作为下行指令下发送达NB-IOT设备;其中,所述上行指令包括:NB-IOT设备将返回指令经NB-IOT网络上传至基站,由基站经所述基站经运营商核心网传输至应用服务器,由应用服务器将数据推送到远程控制终端。Wherein, it further includes: prompting that the NB-IOT device maintains operation in the sleep state of the PSM mode before powering on the NB-IOT device; the counting a preset time is corresponding to the NB-IOT device After entering the DRX mode after power-on again, the duration of the DRX mode for a preset period of time; the “regularly resending the instruction to modify the settings to the NB-IOT device” specifically includes: The modified setting is periodically retransmitted to the NB-IOT device through a downlink instruction to execute the modified setting corresponding to the instruction to modify the setting; The IoT device executes the return instruction of the setting completion according to the instruction to modify the setting; wherein, if it is determined that the return instruction is received and the instruction indicates success, then it prompts that the modification setting is successful; if the waiting continues for the preset After the time has elapsed, it is determined that the return instruction is received and the instruction indicates that the return instruction is failed or the return instruction is not received, then prompting that the modification of the setting fails" specifically includes: within the preset time, waiting for the receipt from the The NB-IOT device indicates that the execution of the setting is completed and the return of the uplink command is completed; if it is determined that the returned uplink command is received and the uplink command indicates that the setting is successful, it prompts that the modification setting has been successful; if the preset time is reached Then, it is determined that the returned uplink command is received and the uplink command indicates that the setting has failed or the returned uplink command has not been received, then it is prompted to modify the setting has failed, and the user is prompted to choose whether to re-prompt the NB-IOT device Re-power on manually and switch from the sleep state of PSM mode to DRX mode to execute the modification setting again; if yes, manually power on the NB-IOT again; wherein, the downlink instruction includes: the remote control terminal will modify the setting The command sent to the application server, the application server sent to the base station via the operator's core network, the base station sends the command as a downlink command to the NB-IOT device via the NB-IOT network; wherein, the uplink command includes: NB- The IOT device uploads the return instruction to the base station via the NB-IOT network, and the base station transmits the base station to the application server via the operator's core network, and the application server pushes the data to the remote control terminal.
第三方面,提供一种设备低功耗交互系统,包括:远程控制端,通过网络连接NB-IOT设备,所述远程控制端执行如前述设备低功耗状态下的交互方法;和/或,所述NB-IOT设备执行如前述设备低功耗状态下的交互方法;和/或,其中,所述远程控制端包括一种或多种能够通过网络发送下行指令的服务器或终端设备,所述NB-IOT设备为设置在网络中能与远程控制端进行交互并通过网络发送上行指令的便携式温湿度计。In a third aspect, a device low-power interaction system is provided, including: a remote control terminal connected to an NB-IOT device through a network, the remote control terminal executing the interaction method in the aforementioned device low-power state; and/or, The NB-IOT device executes the interaction method under the low power consumption state of the aforementioned device; and/or, wherein the remote control terminal includes one or more servers or terminal devices capable of sending downlink instructions through the network, and NB-IOT equipment is a portable thermometer and hygrometer that can interact with the remote control terminal and send uplink instructions through the network.
第四方面,提供一种设备低功耗交互系统,包括:NB-IOT设备端,包括:第一接收模块,用于接收来自远程控制端对NB-IOT设备重新上电的指令而重新上电,并且,所述NB-IOT设备从低功耗模式进入DRX模式并计时在所述DRX模式持续一预设时间;第一判断模块,用于所述NB-IOT设备在所述预设时间内,确定是否接收到来自远程控制端的设定指令以确定是否进行修改设定;第一功耗模块,用于等待所述NB-IOT设备的所述DRX模式持续了所述预设时间后,所述NB-IOT设备进入低功耗模式。和/或,远程控制端,包括:提示模块,用于提示对NB-IoT设备重新上电进行修改设定并开始计时一预设时间;发送模块,用于在所述预设时间内,定时重发所述修改设定的指令给所述NB-IOT设备;确定模块,用于确定是否在所述预设时间内接收到来自所述NB-IoT设备的根据所述修改设定的指令执行设 定完成的返回指令;其中,如果确定接收到所述返回指令且所述指令指示为成功,则提示修改设定成功;如果等待持续所述预设时间达到后,确定接收到所述返回指令且所述指令指示为失败或者未接收到返回指令,则提示修改设定失败。In a fourth aspect, a device low-power interaction system is provided, including: the NB-IOT device side, including: a first receiving module, configured to receive an instruction from the remote control terminal to re-power on the NB-IOT device and re-power on And, the NB-IOT device enters the DRX mode from the low power consumption mode and keeps in the DRX mode for a preset time; the first judgment module is used for the NB-IOT device within the preset time To determine whether a setting instruction from the remote control terminal is received to determine whether to modify the setting; the first power consumption module is configured to wait for the DRX mode of the NB-IOT device to continue for the preset time, so The NB-IOT device enters a low power consumption mode. And/or, the remote control terminal includes: a prompt module, used to prompt the NB-IoT device to be re-powered on to modify settings and start timing for a preset time; a sending module, used to time the NB-IoT device within the preset time Retransmit the instruction to modify the settings to the NB-IOT device; a determining module is used to determine whether the instruction execution according to the modified settings is received from the NB-IoT device within the preset time A return instruction for setting completion; wherein, if it is determined that the return instruction is received and the instruction indicates success, then it is prompted that the modification setting is successful; if the waiting continues for the preset time, it is determined that the return instruction is received And if the instruction indicates that it fails or the return instruction is not received, it is prompted to modify the setting failure.
其中,所述NB-IOT设备端,还包括:所述第一接收模块,具体还包括:所述NB-IOT设备在接收到所述重新上电的指令之前维持在PSM模式的休眠状态下运行;所述NB-IOT设备接收到所述重新上电的指令则手动上电;所述NB-IOT设备上电后,从PSM模式的休眠状态转换为DRX模式,并且,开始该DRX模式下的计时,持续所述DRX模式的时间长度为所述预设时间;所述第一判断模块,具体还包括:在所述预设时间内,所述远程控制端对所述NB-IOT设备进行设定,并定时发送设定所述NB-IOT设备的下行指令到所述NB-IOT设备;在所述预定时间内,所述NB-IOT设备等待接收所述下行指令;如果接收到所述下行指令则根据所述下行指令完成对应的NB-IOT设备的修改设定,并发送设定完成结果的返回指令到远程控制端;如果未接收到所述下行指令则不进行设定也不发送返回指令;其中所述返回指令为上行指令;所述第一功耗模块,具体还包括:等待所述NB-IOT设备在所述DRX模式下持续了所述预设时间后,不论是否进行了修改设定以及是否发送返回指令,将所述NB-IOT设备重新进入PSM模式下的休眠状态;和/或,所述远程控制端,还包括:所述提示模块,具体还包括:提示对所述NB-IOT设备重新上电之前,所述NB-IOT设备维持在PSM模式的休眠状态下运行;所述计时一预设时间,为对应所述NB-IOT设备重新上电之后进入DRX模式后,在所述DRX模式下持续的一预设时间长度;所述发送模块,具体还包括:将所述修改设定通过下行指令定时重发给所述NB-IOT设备执行对应所述修改设定的指令的修改设定;所述确定模块,具体还包括:在所述预设时间内,等待接收来自所述NB-IOT设备的表示执行设定完成而返回的上行指令;如果确定接收到返回的上行指令并且所述上行指令指示为设定成功,则提示修改设定已经成功;如果到达所述预设时间后,确定接收到返回的上行指令并且所述上行指令指示为设定失败或者始终未接收到返回的上行指令,则提示修改设定已经失败,并提示用户选择是否重新提示对所述NB-IOT设备重新手动上电从PSM模式的休眠状态切换为DRX模式以再次执行修改设定;如果是则重新手动对所述NB-IOT上电。Wherein, the NB-IOT device side further includes: the first receiving module, and specifically further includes: the NB-IOT device maintains operation in a sleep state in PSM mode before receiving the power-on instruction The NB-IOT device receives the power-on instruction and then manually powers on; after the NB-IOT device is powered on, it switches from the sleep state of the PSM mode to the DRX mode, and starts the DRX mode Timing, the length of time that the DRX mode lasts is the preset time; the first judging module specifically further includes: within the preset time, the remote control terminal configures the NB-IOT device The NB-IOT device is set to send a downlink instruction to the NB-IOT device at a fixed time; within the predetermined time, the NB-IOT device waits to receive the downlink instruction; if the downlink instruction is received The command completes the modification setting of the corresponding NB-IOT device according to the downlink command, and sends a return command of the setting completion result to the remote control terminal; if the downlink command is not received, neither setting nor sending a return Instruction; wherein the return instruction is an uplink instruction; the first power consumption module specifically includes: waiting for the NB-IOT device to continue in the DRX mode for the preset time, regardless of whether it has been modified Setting and whether to send a return instruction to re-enter the NB-IOT device into the sleep state in the PSM mode; and/or, the remote control terminal further includes: the prompt module, specifically, further includes: prompting to the Before the NB-IOT device is powered on again, the NB-IOT device is kept running in the dormant state of the PSM mode; the timing is a preset time, which corresponds to the DRX mode after the NB-IOT device is powered on again, A preset length of time lasting in the DRX mode; the sending module specifically further includes: periodically retransmitting the modified setting to the NB-IOT device through a downlink command to execute the corresponding modified setting The modification setting of the instruction; the determining module, specifically, further includes: waiting to receive an uplink instruction from the NB-IOT device indicating that the setting is completed and the return is executed within the preset time; if it is determined that the return is received Uplink command and the uplink command indicates that the setting is successful, then it is prompted that the modification setting has been successful; if the preset time is reached, it is determined that the returned uplink command is received and the uplink command indicates that the setting has failed or has not been Upon receiving the returned uplink instruction, it is prompted that the modification setting has failed, and the user is prompted to choose whether to re-prompt the manual power-on of the NB-IOT device again to switch from the sleep state of the PSM mode to the DRX mode to execute the modification setting again; If so, manually power on the NB-IOT again.
第五方面,提供一种计算机可读介质,包括:存储有多条程序代码,所述程序代码适于由处理器加载并运行以执行前述的方法。In a fifth aspect, a computer-readable medium is provided, including: multiple pieces of program codes are stored, and the program codes are adapted to be loaded and run by a processor to execute the aforementioned method.
第六方面,提供一种控制装置,包括处理器和存储装置,包括:所述存储装置适于存储多条程序代码,所述程序代码适于由处理器加载并运行以执行前述的方法。In a sixth aspect, a control device is provided, including a processor and a storage device, including: the storage device is adapted to store multiple pieces of program code, and the program code is adapted to be loaded and run by the processor to execute the aforementioned method.
本发明上述一个或多个技术方案,至少具有如下一种或多种有益效果:The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:
本发明的技术方案:在远程控制端需要对NB-IoT设备重新上电进行设定控制时,通过使该NB-IoT设备从PSM模式的休眠状态进入到DRX模式并计时在所述DRX模式持续一预设时间,若在该预设时间内,实时收到来自远程控制端的设定该设备的下行指令并完成修改设定而返回完成的上行指令,实现了远程交互控制和用户对设定反馈情况的及时了解(对实时设定指令的实时反馈),一旦达到预设时间后,设备回到低功耗模式如PSM模式的休眠状态。从而只需要在远程控制需要交互时进入DRX模式实时交互准确接收下行指令,而仅持续一个预定时间即可回到长时间的低功耗模式,不会增加设备交互过程中出现过多的功率消耗,同时又保证了正常的交互控制,用户能够实时确认下行指令的执行反馈情况。The technical solution of the present invention: when the remote control terminal needs to re-power on the NB-IoT device for setting control, by making the NB-IoT device enter the DRX mode from the dormant state of the PSM mode, and time to continue in the DRX mode A preset time. If within the preset time, the downlink command to set the device is received from the remote control terminal in real time and the modification is completed to return to the completed uplink command, which realizes remote interactive control and user feedback on the setting Real-time understanding of the situation (real-time feedback to real-time setting instructions), once the preset time is reached, the device returns to a low-power consumption mode such as the sleep state of PSM mode. Therefore, you only need to enter the DRX mode when the remote control needs to interact with each other and accurately receive the downlink commands in real time, and only last a predetermined time to return to the long-term low power consumption mode, without increasing excessive power consumption during device interaction. At the same time, normal interactive control is ensured, and users can confirm the execution feedback of downlink commands in real time.
进一步,通过远程控制端配合手动操作触发设备进入DRX模式处于高功耗的空闲状态,远程控制端同步发送下行指令,且在预定时间内能够定时重发下 行指令、同时还能完成上行指令的判断,预定时间到后自动进入PSM模式,同时保证设备的低功耗和可实时设定(交互控制),并且,该过程即通过重新上电后切换进入其他模式,而预设时间到时即可切换回到PSM模式进而进入休眠状态,保证设备长期处于PSM模式,保证了持续的低功耗。这样,既能实现实时完整的交互、实时远程控制和反馈,又能保证设备长期的低功耗。Furthermore, the remote control terminal cooperates with manual operation to trigger the device to enter the DRX mode and is in a high-power idle state. The remote control terminal synchronously sends downlink commands, and can periodically resend downlink commands within a predetermined time, and can also complete the judgment of uplink commands. , Automatically enter the PSM mode after the scheduled time, while ensuring the low power consumption of the device and real-time setting (interactive control), and the process is to switch to other modes after power-on again, and the preset time is up Switch back to the PSM mode and enter the sleep state to ensure that the device stays in the PSM mode for a long time, ensuring continuous low power consumption. In this way, real-time complete interaction, real-time remote control and feedback can be realized, and long-term low power consumption of the equipment can be ensured.
附图说明Description of the drawings
下面参照附图来描述本发明的具体实施方式,附图中:The specific embodiments of the present invention are described below with reference to the accompanying drawings, in which:
图1为使用NB-IOT通信的设备与远程控制端通过本发明的设备低功耗交互方案的应用场景的一实施例的示意图。FIG. 1 is a schematic diagram of an embodiment of an application scenario of a device using NB-IOT communication and a remote control terminal through the device low power consumption interaction solution of the present invention.
图2为本发明的设备低功耗交互方法的交互过程的一实施例的示意图。FIG. 2 is a schematic diagram of an embodiment of the interaction process of the device low-power interaction method of the present invention.
图3为本发明的设备低功耗交互方法的设备端的一实施例的主要流程图。FIG. 3 is a main flowchart of an embodiment of the device side of the device low-power interaction method of the present invention.
图4为本发明的设备低功耗交互方法的远程控制端的一实施例的主要流程图。FIG. 4 is a main flowchart of an embodiment of the remote control terminal of the device low-power interaction method of the present invention.
图5为本发明的设备低功耗交互系统的一实施例的结构框图。Fig. 5 is a structural block diagram of an embodiment of the device low power consumption interactive system of the present invention.
图6为本发明的使用NB-IOT通信的设备在采用不连续接收DRX模式和省电PSM模式的不同工作状态下耗流情况的示意图。Fig. 6 is a schematic diagram of the current consumption of the device using NB-IOT communication according to the present invention in different working states in which the discontinuous reception DRX mode and the power saving PSM mode are adopted.
具体实施方式Detailed ways
为了便于理解发明,下文将结合说明书附图和实施例对本发明作更全面、细致地描述,但本领域技术人员应当理解的是,这些实施方式仅仅用于解释本发明的技术原理,并非旨在限制本发明的保护范围。In order to facilitate the understanding of the invention, the invention will be described in detail below in conjunction with the accompanying drawings and embodiments of the specification. However, those skilled in the art should understand that these embodiments are only used to explain the technical principles of the invention and are not intended to Limit the protection scope of the present invention.
在本发明的描述中,“模块”、“处理器”可以包括硬件、软件或者两者的组合。一个模块可以包括硬件电路,各种合适的感应器,通信端口,存储器,也可以包括软件部分,比如程序代码,也可以是软件和硬件的组合。处理器可以是中央处理器、微处理器、图像处理器、数字信号处理器或者其他任何合适的处理器。处理器具有数据和/或信号处理功能。处理器可以以软件方式实现、硬件方式实现或者二者结合方式实现。非暂时性的计算机可读存储介质包括任何合适的可存储程序代码的介质,比如磁碟、硬盘、光碟、闪存、只读存储器、随机存取存储器等等。术语“A和/或B”表示所有可能的A与B的组合,比如只是A、只是B或者A和B。术语“至少一个A或B”或者“A和B中的至少一个”含义与“A和/或B”类似,可以包括只是A、只是B或者A和B。单数形式的术语“一个”、“这个”也可以包含复数形式。In the description of the present invention, "module" and "processor" may include hardware, software, or a combination of both. A module can include hardware circuits, various suitable sensors, communication ports, and memory, and can also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and/or signal processing functions. The processor can be implemented in software, hardware, or a combination of the two. The non-transitory computer-readable storage medium includes 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 so on. The term "A and/or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one of A or B" or "at least one of A and B" has a meaning similar to "A and/or B" and may include only A, only B, or A and B. The terms "a" and "this" in the singular form may also include the plural form.
现有技术中的使用NB-IOT模组进行通信的设备,为了降低功耗保持在省电模式PSM的休眠状态,无法接收发送数据/信号/指令等,无法实现远程交互,而PSM的连接状态和空闲状态能接收发送数据/信号/指令等,但在PSM模式的状态变化下,接收发送数据完整性不能保证,且持续保持该这两种状态功耗高。由此,提供了本发明的设备低功耗交互方案。下面结合图1所示应用场景的一个实施例来描述一下本发明的方案实现方式。由于NB-IOT构建于蜂窝网络,只消耗大约180kHz的带宽,可直接部署于GSM网络、UMTS网络或LTE网络,以降低部署成本、实现平滑升级,在使用NB-IOT进行通信可以有效地与基站实现数据交互。其中,使用NB-IOT模组进行通信的便携式设备,该便携式设备可以是自身具备电池部件或能充电的电池部件的可以随身携带的电子设备,并且,其还具备NB-IOT模组与基站进行通信,向基站发送上行指令(或者说上行数据/信号等)。该便携式设备进一步可以包括智能的湿 温度计等,具体地,比如:可以作为室内湿度温度的检测设备,其还可以通过网络连接服务器而实现与空调等家电设备的联动,并且其具备NB-IOT模组与基站进行通信。在本实施例中,该基站通过运营商核心网连接到互联网的应用服务器,而该应用服务器可以连接远程控制终端,例如:各种移动终端或非移动终端:手机、pad、笔记本电脑、PC机等等。这些远程控制终端可以与应用服务器交互,发送控制指令(控制数据/信号等)通过互联网传送到应用服务器,再由应用服务器经运营商核心网发送到基站,基站该控制指令/数据/信号作为下行指令通过NB-IOT模组送达给便携式设备。便携式设备在采用NB-IOT模组进行通信时,即NB-IOT设备,支持三种工作模式:省电模式PSM(Power Saving Mode)、不连续接收模式DRX(Discontinuous Reception),扩展不连续接收模式eDRX(Extended DRX);其中,NB-IOT设备使用最为省电的PSM模式,在省电模式PSM下有三种工作状态:连接状态、空闲状态、休眠状态;连接状态和空闲状态下可以接收下行数据,但功耗高;休眠状态下不接收下行数据,但功耗最低。如图6所示NB-IOT设备不同模式下的不同功率消耗对比,为增加待机时长NB-IOT设备在PSM模式下,由于大部分时间处于休眠状态,导致设备不接收下行数据,无法通过远程控制端对其进行设定即无法交互;而若为保证能够接收发送完整数据/信号/指令即正常交互,即采用DRX模式可以保证下行指令的成功率,但因为DRX模式处于空闲状态,其功耗(几百微安)远高于休眠状态(微安级别),这样就导致功耗增加,降低了待机时长,因而采用DRX模式即在DRX模式下,NB-IOT模组不会进入休眠状态,但是功耗明显高于采用PSM模式时的功耗。例如,某NB-IOT设备连接状态的耗流167mA,空闲状态的耗流0.4mA,休眠状态的耗流3μA,连接状态维持100ms,空闲状态维持3s,休眠周期为1小时,那么采用PSM,设备的每年耗电量为:[(167*0.1+0.4*3+0.003*3596.9)/3600]*24*365≈69.8mAh;而采用DRX模式,那么设备的每年耗电量为:[(167*0.1+0.4*3599.9)/3600]*24*365≈3544.5mAh。由此可见,设备采用DRX模式的功耗远远高于采用PSM模式的功耗。In the prior art, devices that use NB-IOT modules for communication are kept in the dormant state of the power-saving mode PSM in order to reduce power consumption, cannot receive and send data/signals/commands, etc., and cannot achieve remote interaction, while the connection state of the PSM And the idle state can receive and send data/signals/commands, etc., but under the status change of the PSM mode, the integrity of the received and sent data cannot be guaranteed, and the two states continue to maintain high power consumption. Thus, the device low-power-consumption interaction solution of the present invention is provided. The implementation of the solution of the present invention will be described below in conjunction with an embodiment of the application scenario shown in FIG. 1. Because NB-IOT is built on a cellular network and only consumes about 180kHz of bandwidth, it can be directly deployed on a GSM network, a UMTS network or an LTE network to reduce deployment costs and achieve smooth upgrades. When using NB-IOT for communication, it can effectively communicate with the base station. Realize data interaction. Among them, a portable device that uses an NB-IOT module to communicate. The portable device can be an electronic device that has its own battery component or a rechargeable battery component that can be carried around, and it also has an NB-IOT module to communicate with the base station. Communication, sending uplink instructions (or uplink data/signals, etc.) to the base station. The portable device may further include a smart humidity thermometer, etc., specifically, for example, it can be used as an indoor humidity and temperature detection device, it can also be connected to a server through a network to achieve linkage with home appliances such as air conditioners, and it has an NB-IOT module. The group communicates with the base station. In this embodiment, the base station is connected to the application server of the Internet through the operator's core network, and the application server can be connected to remote control terminals, such as various mobile terminals or non-mobile terminals: mobile phones, pads, laptops, PCs and many more. These remote control terminals can interact with the application server, send control instructions (control data/signals, etc.) to the application server via the Internet, and then the application server sends the control instructions/data/signals to the base station via the operator’s core network. The base station serves as the downlink The instructions are delivered to the portable device through the NB-IOT module. When portable devices use NB-IOT modules for communication, that is, NB-IOT devices, they support three working modes: power saving mode PSM (Power Saving Mode), discontinuous reception mode DRX (Discontinuous Reception), and extended discontinuous reception mode eDRX (Extended DRX); Among them, NB-IOT devices use the most power-saving PSM mode. There are three working states in the power-saving mode PSM: connected state, idle state, sleep state; connected state and idle state can receive downlink data , But the power consumption is high; the downlink data is not received in the sleep state, but the power consumption is the lowest. As shown in Figure 6, the comparison of different power consumption of NB-IOT equipment in different modes, in order to increase the standby time, NB-IOT equipment in PSM mode, because most of the time is in the dormant state, the device does not receive downlink data and cannot be controlled remotely. If the terminal is set to it, it cannot interact; and if it is to ensure that it can receive and send complete data/signals/commands, that is, normal interaction, that is, the DRX mode can ensure the success rate of the downlink commands, but because the DRX mode is in an idle state, its power consumption (Hundreds of microamperes) is much higher than the sleep state (microampere level), which will increase the power consumption and reduce the standby time. Therefore, the DRX mode is used, that is, in the DRX mode, the NB-IOT module will not enter the sleep state. But the power consumption is significantly higher than the power consumption when using the PSM mode. For example, a certain NB-IOT device consumes 167mA in the connected state, 0.4mA in the idle state, 3μA in the sleep state, the connected state is maintained for 100ms, the idle state is maintained for 3s, and the sleep period is 1 hour, then PSM is used. The annual power consumption of the device is: [(167*0.1+0.4*3+0.003*3596.9)/3600]*24*365≈69.8mAh; while in DRX mode, the annual power consumption of the device is: [(167* 0.1+0.4*3599.9)/3600]*24*365≈3544.5mAh. It can be seen that the power consumption of the device in DRX mode is much higher than that in PSM mode.
本发明的方案,如图1的应用场景的一个示例中,便携式设备使用NB-IoT通信过程例如:上行:便携式设备通过NB-IOT模组将数据上报到基站,通过运营商核心网传输到应用服务器,应用服务器将数据推送到远程控制终端。下行:用户在远程控制终端上操作,数据通过网络发送到应用服务器,经运营商核心网和基站,通过NB-IOT模组将数据送达便携式设备。The solution of the present invention, as an example of the application scenario shown in Figure 1, the portable device uses the NB-IoT communication process, for example: Uplink: the portable device reports data to the base station through the NB-IOT module, and transmits it to the application through the operator’s core network Server, the application server pushes data to the remote control terminal. Downlink: The user operates on the remote control terminal, and the data is sent to the application server through the network, and the data is sent to the portable device through the NB-IOT module through the operator's core network and base station.
进一步,在本发明的方案中,远程控制终端与NB-IOT设备进行交互的过程:Further, in the solution of the present invention, the process of the interaction between the remote control terminal and the NB-IOT device:
用户需要对便携式设备进行设置/设定/修改设定时,通过手动触发使便携式设备从PSM模式的休眠状态切换到DRX模式,DRX模式持续一预先设定好的时间长度,例如N分钟,在预设时间内,用户完成设定指令的下发即发送下行指令,在该预设时间内用户可以立刻收到便携式设备收到和执行完成设定的反馈,这样,用户可以由此确定下行指令是否执行,并且,在预定时间到后,设备从DRX模式转为PSM模式,又保证了设备长期处于低功耗状态。When the user needs to set/set/modify the settings of the portable device, manually trigger the portable device to switch from the sleep state of the PSM mode to the DRX mode. The DRX mode lasts for a preset length of time, such as N minutes. Within the preset time, the user sends the downlink instruction after completing the issuance of the setting instruction. Within the preset time, the user can immediately receive the feedback that the portable device has received and executed the setting, so that the user can determine the downlink instruction. Whether to execute or not, and after the scheduled time expires, the device will switch from DRX mode to PSM mode, which ensures that the device remains in a low power consumption state for a long time.
更具体地,结合图2所示本发明的设备低功耗交互方法的交互过程的一实施例的示意图作进一步描述。More specifically, it is further described with reference to the schematic diagram of an embodiment of the interaction process of the device low-power interaction method of the present invention shown in FIG. 2.
用户要通过远程控制端对便携式设备进行重新设定例如修改等。下面以手机和温湿度计为例进行描述。The user needs to reset the portable device such as modification through the remote control terminal. The following is an example of a mobile phone and a thermometer and hygrometer.
手机中安装了对应的能与温湿度计交互或者对其进行设定的应用软件APP。点击该APP,选择要修改设定的温湿度计,在手机上显示提示“设备需要重新上电”,表明该温湿度计处于PSM的休眠状态,因而如果要对其做控制需要重新上电。用户可以在温湿度计一端,通过手动进行上电该温湿度计,另外也可以通过其 他方式上电,这里不再一一列举。发送提示信息后(上电温湿度计后),手机这边同时开始计时持续N分钟,在手机屏幕上还可以显示提示“在N分钟内完成设定”,用户在此N分钟的预设时间内,可以例如在APP的控制菜单中进行修改设定等选择或者填写、并根据设定向温湿度计发送下行指令,指示其按照修改设定执行设定,用户通过远程控制设定后可以是在持续的N分钟内定时发送该下行指令。而手动上电后,具有NB-IOT通信模组的温湿度计,从原来的PSM下的休眠状态进入到DRX模式,并计时可以持续该DRX模式N分钟。下行指令经互联网传送到应用服务器,经运营商核心网络到达基站并基于NB-IOT下达到具有NB-IOT通信功能的温湿度计。温湿度计收到该下行指令后完成修改设定,并实时反馈已经完成修改设定的返回指令作为上行指令,上报到基站,再经运营商核心网络传输到应用服务器,再通过互联网推送实时反馈的该下行指令给手机。由此,用户能够根据反馈的上行指令判断是否成功完成远程交互控制,如果是,则手机显示提示“设定成功”,否则,N分钟持续时间结束则手机提示“设定失败”,并可以提示用户“请重新设定”等。而温湿度计一端,不论是否收到下行指令、或者是否执行完成修改设定(修改设定完成或者修改设定无法完成等)并上报对应的上行指令(完成修改或无法完成修改),只要在DRX模式下持续了N分钟,则自动转换为PSM下的休眠状态以降低功耗,除非下一次重新上电修改设定的交互情况出现。温湿度计正常运行。重新上电,简称上电,包括:通过物理操作给设备复位退出PSM模式,或者通过其它类似的方式来使得设备退出PSM模式。由此,可以通过针对NB-IOT设备低功耗状态下的交互,减少因下行指令需求导致的功耗增加,实时确定下行指令是否执行。这样,通过本发明提供的改进的远程修改设定方案的例子,假设在每月设定一次的频率下,每年耗电量<69.8mAh+0.4*180/3600*12=72.2mAh,远低于使用DRX模式的3544.5mAh;本发明的改进方案,在整个N分钟设定时间内,远程控制端通过上行指令判断设备是否完成修改,超过N分钟,设备退出DRX模式,同时远程控制端停止发送下行指令并提示失败,因此远程控制端可以实时判断即实时交互是否成功,并且不增加过多的功耗。The corresponding application software APP that can interact with the thermometer and hygrometer or set it is installed in the mobile phone. Click on the APP, select the thermometer and hygrometer to modify the settings, and display the prompt "The device needs to be powered on again" on the mobile phone, indicating that the thermometer and hygrometer are in the dormant state of the PSM, so if you want to control it, you need to power it on again. The user can manually power on the thermometer and hygrometer at the end of the thermometer and hygrometer. In addition, it can also be powered on by other methods, which will not be listed here. After sending the prompt message (after powering on the thermometer and hygrometer), the mobile phone will start timing for N minutes at the same time, and the prompt "setting will be completed within N minutes" can also be displayed on the mobile phone screen, and the user is here for the preset time of N minutes For example, you can select or fill in the settings such as modifying settings in the control menu of the APP, and send down instructions to the thermometer and hygrometer according to the settings, instructing it to execute the settings according to the modified settings, and the user can set it through the remote control. Send the downlink command regularly within the last N minutes. After manually powering on, the thermometer and hygrometer with NB-IOT communication module enters the DRX mode from the original sleep state under the PSM, and the timer can last for N minutes in the DRX mode. Downlink instructions are transmitted to the application server via the Internet, reach the base station via the operator's core network, and reach a thermohygrometer with NB-IOT communication function based on NB-IOT. The thermometer and hygrometer complete the modification setting after receiving the downlink instruction, and feedback in real time the return instruction that has completed the modification setting as an uplink instruction, which is reported to the base station, and then transmitted to the application server via the operator's core network, and then pushes real-time feedback via the Internet The downlink command to the mobile phone. As a result, the user can judge whether the remote interactive control is successfully completed according to the feedback uplink command. If it is, the mobile phone displays a prompt "setting successful", otherwise, the mobile phone prompts "setting failed" when the duration of N minutes is over, and can prompt User "please reset" etc. At the end of the thermometer and hygrometer, regardless of whether it receives a downlink command or executes the modification setting (modification setting is completed or the modification setting cannot be completed, etc.) and reports the corresponding uplink command (modification is completed or the modification cannot be completed), as long as the If it lasts for N minutes in DRX mode, it will automatically switch to the sleep state under PSM to reduce power consumption, unless there is an interactive situation that changes the settings when the power is turned on again next time. The thermometer and hygrometer are operating normally. Power-on again, referred to as power-on, includes: resetting the device to exit the PSM mode through a physical operation, or exiting the PSM mode through other similar methods. Therefore, it is possible to reduce the increase in power consumption caused by the demand of the downlink instruction through the interaction in the low power consumption state of the NB-IOT device, and to determine whether the downlink instruction is executed in real time. In this way, through the example of the improved remote modification setting solution provided by the present invention, assuming that the annual power consumption is less than 69.8mAh+0.4*180/3600*12=72.2mAh at a frequency set once a month, which is much lower than Use the DRX mode of 3544.5mAh; the improved solution of the present invention, in the entire N minutes set time, the remote control terminal judges whether the device has completed the modification through the uplink command, and after N minutes, the device exits the DRX mode, and the remote control terminal stops sending downlink at the same time Instruction and prompt failure, so the remote control terminal can judge in real time whether the real-time interaction is successful, and does not increase excessive power consumption.
下面通过图3所示的本发明设备低功耗交互方法的便携式设备端的一实施例的主要流程图,对本发明的方案进行描述。The following describes the solution of the present invention through the main flow chart of an embodiment of the portable device end of the device low-power interaction method of the present invention shown in FIG. 3.
步骤S310,接收来自远程控制端对NB-IOT设备重新上电的指令而重新上电,并且,所述NB-IOT设备从低功耗模式进入DRX模式并计时在所述DRX模式持续一预设时间。具体地,所述NB-IOT设备在接收到所述重新上电的指令之前维持在PSM模式的休眠状态下运行;所述NB-IOT设备接收到所述重新上电的指令则手动上电;所述NB-IOT设备上电后,从PSM模式的休眠状态转换为DRX模式,并且,开始该DRX模式下的计时,持续所述DRX模式的时间长度为所述预设时间。一个实施方式中,远程控制端为用户可以操作的与网络连接的各种终端设备。用户需要对网络连接的远端的具有NB-IOT通信功能的便携式设备(NB-IOT设备)例如温湿度计进行控制、进行交互时,可以通过操作该远程控制端上的APP等进行设置(修改温湿度计的设定等)。远程控制端可以给用户提示,便携式设备需要重新上电。而便携式设备一端,可以通过手动等方式重新给便携式设备上电,上电后便携式设备具有NB-IOT通信功能,该NB-IOT模组可以从原来的省电模式PSM下的休眠状态,转换到DRX模式,并开始计时该DRX能够持续N分钟(即一个预先设定的时间:“预设时间”)。在该持续N分钟内,等待接收下行指令,以便根据下行指令的修改设定的指示进行重新设定或修改设定等并在完成修改设定后返回设定好或未设定好的返回指令例如上报上行指令。其中,不连续接收DRX模式本身即为高功耗状态,但其能保证数据、指令、信号等收发的即时性和完整性。Step S310: Re-power on the NB-IOT device by receiving an instruction from the remote control terminal to re-power on the NB-IOT device, and the NB-IOT device enters the DRX mode from the low power consumption mode and keeps the DRX mode in the DRX mode for a preset time. time. Specifically, the NB-IOT device maintains operation in a sleep state in the PSM mode before receiving the power-on instruction; the NB-IOT device is manually powered on after receiving the power-on instruction; After the NB-IOT device is powered on, it switches from the sleep state of the PSM mode to the DRX mode, and starts timing in the DRX mode, and the duration of the DRX mode is the preset time. In one embodiment, the remote control terminal is various terminal devices that can be operated by the user and connected to the network. When the user needs to control and interact with a portable device (NB-IOT device) with NB-IOT communication function at the remote end of the network connection, such as a thermometer and hygrometer, he can set (modify) by operating the APP on the remote control terminal. Setting of temperature and humidity meter, etc.). The remote control terminal can prompt the user that the portable device needs to be powered on again. On the portable device side, the portable device can be manually powered on again. After power-on, the portable device has the NB-IOT communication function. The NB-IOT module can switch from the sleep state under the original power saving mode PSM to DRX mode, and start timing. The DRX can last for N minutes (that is, a preset time: "preset time"). Within the last N minutes, wait to receive the downlink command, so as to reset or modify the setting according to the instructions of the modification setting of the downlink command, and return to the set or unset return command after the modification is completed. For example, report uplink instructions. Among them, the discontinuous reception DRX mode itself is a high power consumption state, but it can ensure the immediacy and completeness of data, instructions, signals, etc. receiving and sending.
步骤S320,所述NB-IOT设备在所述预设时间内,确定是否接收到来自远程控制端的设定指令以确定是否进行修改设定。具体地,在所述预设时间内,所述远程控制端对所述NB-IOT设备进行设定,并定时发送设定所述NB-IOT设备的下行指令到所述NB-IOT设备;在所述预定时间内,所述NB-IOT设备等待接收所述下行指令;如果接收到所述下行指令则根据所述下行指令完成对应的NB-IOT设备的修改设定,并发送设定完成结果的返回指令到远程控制端;如果未接收到所述下行指令则不进行设定也不发送返回指令;其中所述返回指令为上行指令。进一步,所述下行指令包括:远程控制端将修改设定的指令发送到应用服务器,应用服务器经运营商核心网络发送到基站,由基站经NB-IOT网络将所述指令作为下行指令下发送达NB-IOT设备;进一步,所述上行指令包括:NB-IOT设备将返回指令经NB-IOT网络上传至基站,由基站经所述基站经运营商核心网传输至应用服务器,由应用服务器将数据推送到远程控制终端。一个实施方式中,在预设时间比如N分钟(例:3分钟)内,如果远程控制端比如终端设备(手机等),在提示重新上电该NB-IOT设备比如温湿度计后,计时预设时间N分钟,提示用户在N分钟内完成对该设备(温湿度计)的设定等,而用户通过远程控制用的该手机等终端设备,开始在持续的N分钟内进行温湿度计的各种功能等设置的修改或设定,并在持续的N分钟内定时发送下行指令即设定指令,传送给温湿度计。下行指令可以定时发送例如每n秒发一次,持续预设时间即N分钟。而便携式设备NB-IOT如温湿度计等,可以在计时持续的N分钟内等待接收该设定指令(下行指令),一旦接收到就执行该指令所指示的修改或设定操作,执行完成即可向用户反馈实时执行设定操作的结果的返回指令。这里,用户的设定完成,则马上发送设定指令到温湿度计,完成设定反馈回来是很快的,即实时命令实时反馈,这样双方交互类似直接对设备进行修改或设定。返回指令上报到基站,作为上行指令返回到远程控制端。由远程控制端根据该上行指令中的执行完成结果来确定是完成了设定还是未完成设定。In step S320, the NB-IOT device determines whether to receive a setting instruction from the remote control terminal within the preset time to determine whether to modify the setting. Specifically, within the preset time, the remote control terminal sets the NB-IOT device, and periodically sends a downlink instruction for setting the NB-IOT device to the NB-IOT device; Within the predetermined time, the NB-IOT device is waiting to receive the downlink instruction; if the downlink instruction is received, the modification setting of the corresponding NB-IOT device is completed according to the downlink instruction, and the setting completion result is sent The return instruction is sent to the remote control terminal; if the downlink instruction is not received, no setting is made and no return instruction is sent; wherein the return instruction is an uplink instruction. Further, the downlink instruction includes: the remote control terminal sends an instruction to modify the settings to the application server, the application server sends to the base station via the operator's core network, and the base station sends the instruction as a downlink instruction via the NB-IOT network. NB-IOT device; further, the uplink instruction includes: the NB-IOT device uploads the return instruction to the base station via the NB-IOT network, and the base station transmits the data via the base station to the application server via the operator’s core network. Push to the remote control terminal. In one embodiment, within a preset time, such as N minutes (e.g., 3 minutes), if the remote control terminal such as a terminal device (mobile phone, etc.) is prompted to re-power on the NB-IOT device such as a thermometer and hygrometer, the timer will be preset Set a time of N minutes to prompt the user to complete the setting of the device (thermometer and hygrometer) within N minutes, and the user uses the mobile phone and other terminal devices for remote control to start the thermometer and hygrometer within N minutes. Modification or setting of various functions and other settings, and sending the downlink command, that is, the setting command, to the thermometer and hygrometer at regular intervals within N minutes. Downlink commands can be sent regularly, for example, once every n seconds, and last for a preset time, that is, N minutes. The portable device NB-IOT, such as a thermometer and hygrometer, can wait to receive the setting command (downlink command) within N minutes of timing. Once received, it will execute the modification or setting operation indicated by the command, and the execution will be complete. The return instruction of the result of real-time execution of the setting operation can be fed back to the user. Here, when the user's setting is completed, the setting instruction is sent to the thermometer and hygrometer immediately, and the feedback of the completion of the setting is very fast, that is, real-time command and real-time feedback, so that the interaction between the two parties is similar to directly modifying or setting the device. The return command is reported to the base station and returned to the remote control terminal as an uplink command. The remote control terminal determines whether the setting is completed or not completed according to the execution completion result in the uplink command.
步骤S330,等待所述NB-IOT设备的所述DRX模式持续了所述预设时间后,所述NB-IOT设备进入低功耗模式。具体地,等待所述NB-IOT设备在所述DRX模式下持续了所述预设时间后,不论是否进行了修改设定以及是否发送返回指令,将所述NB-IOT设备重新进入PSM模式下的休眠状态。也就是重新回到设备长期保持的省电PSM模式的低功耗状态。一个实施方式中,具有NB-IOT功能的便携式设备例如温湿度计,在处于DRX模式持续了N分钟后,不论该设备是否收到了下行指令执行了修改设定、不论该设备执行修改设定的完成结果是否成功、以及不论该设备是否上报了上行指令作为对远程控制端(手机等)的设定指令的反馈,一旦到达持续的N分钟例如3分钟,该便携式设备都会从DRX模式转换回到PSM下的休眠状态,设备正常运行工作,等待下一次重新上电、设置等。Step S330: After waiting for the DRX mode of the NB-IOT device to continue for the preset time, 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, regardless of whether the modification setting is made and whether a return instruction is sent, the NB-IOT device is reentered into the PSM mode Hibernation. That is, return to the low power consumption state of the power saving PSM mode that the device has maintained for a long time. In one embodiment, a portable device with NB-IOT function, such as a thermometer and hygrometer, after being in the DRX mode for N minutes, regardless of whether the device has received a downlink instruction to modify the settings, regardless of whether the device executes the modified settings Whether the completion result is successful, and whether the device has reported an uplink command as a feedback to the setting command of the remote control terminal (mobile phone, etc.), once it reaches the continuous N minutes, such as 3 minutes, the portable device will switch back from DRX mode In the sleep state under PSM, the device is running normally, waiting for the next power-on, setting, etc.
对应地,下面通过图4所示的本发明设备低功耗交互方法的远程控制端的一实施例的主要流程图,对本发明的方案继续进行描述。Correspondingly, the following describes the solution of the present invention through the main flow chart of an embodiment of the remote control terminal of the device low-power interaction method of the present invention shown in FIG. 4.
步骤S410,提示对NB-IoT设备重新上电进行修改设定并开始计时一预设时间。具体地,提示对所述NB-IoT设备重新上电之前,所述NB-IoT设备维持在PSM模式的休眠状态下运行;所述计时一预设时间,为对应所述NB-IoT设备重新上电之后进入DRX模式后,在所述DRX模式下持续的一预设时间长度。一个实施方式中,远程控制端为用户可以操作的与网络连接的各种终端设备。用户需要对网络连接的远端的具有NB-IOT通信功能的便携式设备(NB-IOT设备)例如温湿度计进行控制、进行交互时,可以通过操作该远程控制端上的APP等进行设置(修改温湿度计的设定等)。远程控制端可以给用户提示,便携式设备需要重新上电。而便携式设备一端,可以通过手动等方式重新给便携式设备上电,上电后便携式设备具有 NB-IOT通信功能,该NB-IOT模组可以从原来的省电模式PSM下的休眠状态,转换到DRX模式,并开始计时该DRX能够持续N分钟(即一个预先设定的时间:“预设时间”)。在该持续N分钟内,等待接收下行指令,以便根据下行指令的修改设定的指示进行重新设定或修改设定等并在完成修改设定后返回设定好或未设定好的返回指令例如上报上行指令。其中,不连续接收DRX模式本身即为高功耗状态,但其能保证数据、指令、信号等收发的即时性和完整性。进一步,在预设时间比如N分钟(例:3分钟)内,如果远程控制端比如终端设备(手机等),在提示重新上电该NB-IOT设备比如温湿度计后,计时预设时间N分钟,提示用户在N分钟内完成对该设备(温湿度计)的设定等。In step S410, it is prompted to re-power on the NB-IoT device to modify settings and start counting for a preset time. Specifically, before prompting to power on the NB-IoT device again, the NB-IoT device maintains operation in the sleep state of the PSM mode; the counting a preset time is for the corresponding NB-IoT device to restart After entering the DRX mode after power-on, the DRX mode lasts for a preset time length. In one embodiment, the remote control terminal is various terminal devices that can be operated by the user and connected to the network. When the user needs to control and interact with a portable device (NB-IOT device) with NB-IOT communication function at the remote end of the network connection, such as a thermometer and hygrometer, he can set (modify) by operating the APP on the remote control terminal. Setting of temperature and humidity meter, etc.). The remote control terminal can prompt the user that the portable device needs to be powered on again. On the portable device side, the portable device can be manually powered on again. After power-on, the portable device has the NB-IOT communication function. The NB-IOT module can switch from the sleep state under the original power saving mode PSM to DRX mode, and start timing. The DRX can last for N minutes (that is, a preset time: "preset time"). Within the last N minutes, wait to receive the downlink command, so as to reset or modify the setting according to the instructions of the modification setting of the downlink command, and return to the set or unset return command after the modification is completed. For example, report uplink instructions. Among them, the discontinuous reception DRX mode itself is a high power consumption state, but it can ensure the immediacy and completeness of data, instructions, signals, etc. receiving and sending. Furthermore, within a preset time such as N minutes (e.g. 3 minutes), if the remote control terminal such as a terminal device (mobile phone, etc.) is prompted to re-power on the NB-IOT device such as a thermometer and hygrometer, the preset time is counted as N Minutes, prompt the user to complete the setting of the device (thermometer and hygrometer) within N minutes.
步骤S420,定时发送所述修改设定的指令给所述NB-IoT设备。具体地,将所述修改设定通过下行指令定时发送给所述NB-IoT设备执行对应所述修改设定的指令的修改设定。并且,在持续的预设时间内,持续定时的周期重发所述下行指令直到后面持续的预设时间达到判断是否收到上行指令并且该指令指示设定成功。一个实施方式中,用户通过远程控制用的该手机等终端设备,开始在持续的N分钟内进行温湿度计的各种功能等设置的修改或设定,并在持续的N分钟内定时发送下行指令即设定指令,传送给温湿度计。下行指令可以定时发送例如每n秒发一次,持续预设时间即N分钟。而便携式设备NB-IOT如温湿度计等,可以在计时持续的N分钟内等待接收该设定指令(下行指令),一旦接收到就执行该指令所指示的修改或设定操作,执行完成即可向用户反馈实时执行设定操作的结果的返回指令。这里,用户的设定完成,则马上发送设定指令到温湿度计,完成设定反馈回来是很快的,即实时命令实时反馈,这样双方交互类似直接对设备进行修改或设定。返回指令上报到基站,作为上行指令返回到远程控制端。由远程控制端根据该上行指令中的执行完成结果来确定是完成了设定还是未完成设定。执行完成结果,可以是按照下行指令的指示成功修改或设定,也可能由于各种原因修改或设定失败等。Step S420: Send the instruction to modify the settings to the NB-IoT device at regular intervals. Specifically, the modified setting is periodically sent to the NB-IoT device through a downlink instruction to execute the modified setting corresponding to the instruction to modify the setting. In addition, within a continuous preset time, the downlink instruction is retransmitted in a continuous timing cycle until the subsequent continuous preset time reaches to determine whether an uplink instruction is received and the instruction indicates that the setting is successful. In one embodiment, the user starts to modify or set various functions and settings of the thermometer and hygrometer within a continuous period of N minutes through the mobile phone and other terminal devices used for remote control, and sends the downlink periodically within the continuous period of N minutes. The command is the setting command and sent to the thermometer and hygrometer. Downlink commands can be sent regularly, for example, once every n seconds, and last for a preset time, that is, N minutes. The portable device NB-IOT, such as a thermometer and hygrometer, can wait to receive the setting command (downlink command) within N minutes of timing. Once received, it will execute the modification or setting operation indicated by the command, and the execution will be complete. The return instruction of the result of real-time execution of the setting operation can be fed back to the user. Here, when the user's setting is completed, the setting instruction is sent to the thermometer and hygrometer immediately, and the feedback of the completion of the setting is very fast, that is, real-time command and real-time feedback, so that the interaction between the two parties is similar to directly modifying or setting the device. The return command is reported to the base station and returned to the remote control terminal as an uplink command. The remote control terminal determines whether the setting is completed or not completed according to the execution completion result in the uplink command. The result of the execution completion may be the successful modification or setting according to the instructions of the downstream command, or the modification or setting failure due to various reasons.
步骤S430,确定是否在所述预设时间内接收到来自所述NB-IoT设备的根据所述修改设定的指令执行设定完成的返回指令;其中,如果确定接收到所述返回指令且所述指令指示为成功,则提示修改设定成功;如果所述预设时间已经到达,确定接收到所述返回指令且所述指令指示为失败或者所述预设时间已经到达后未接收到返回指令,则提示修改设定失败。具体地,在所述预设时间内,等待接收来自所述NB-IoT设备的表示执行设定完成而返回的上行指令(该返回指令是对用户通过远程控制端执行修改或设定操作的指令的反馈)。如果在该预设时间内确定接收到返回的上行指令并且所述上行指令指示为成功,则提示修改设定已经成功。而如果在该预设时间达到后,确定接收到返回的上行指令但所述上行指令指示为失败、或者是始终未接收到返回的上行指令,则提示修改设定已经失败,并提示用户选择是否重新提示对所述NB-IoT设备重新手动上电从PSM模式的休眠状态切换为DRX模式以再次执行修改设定;如果是则重新手动对所述NB-IoT上电,重新执行上述远程控制交互过程。其中,所述下行指令包括:远程控制端将修改设定的指令发送到应用服务器,应用服务器经运营商核心网络发送到基站,由基站经NB-IoT网络将所述指令作为下行指令下发送达NB-IoT设备;所述上行指令包括:NB-IoT设备将返回指令经NB-IoT网络上传至基站,由基站经所述基站经运营商核心网传输至应用服务器,由应用服务器将数据推送到远程控制终端。一个实施方式中,具有NB-IOT功能的便携式设备例如温湿度计,在处于DRX模式持续了N分钟后,不论该设备是否收到了下行指令执行了修改设定、不论该设备执行修改设定的完成结果是否成功、以及不论该设备是否上报了上行指令作为对远程控制端(手机等)的设定指令的反馈,一旦到达持续的N分钟例如3分钟,该便携式设备(温湿度计等)都会从DRX模式 转换回到PSM下的休眠状态,等待下一次重新上电、设置等。相应地,远程控制端(手机等)的用户也在持续的N分钟内等待该便携式设备的反馈,如果手机等一端接收到上报的上行指令,并且该指令解析出来为修改或设定成功,则完成了该交互过程,可以显示提示信息给用户例如“设定成功”等。而如果手机等一端在持续的N分钟内虽然接收到了该上行指令,但是解析出来为因各种原因导致的修改或设定失败,一直在定时重发设定操作的下行指令持续了N分钟即到达N分钟后还是失败,则该交互过程结束同时可以显示提示信息给用户例如“设定失败”。而如果在持续的N分钟内,完全没有收到该下行指令,即没有获得任何针对用户设定的反馈,也表明本次交互失败,可以显示提示信息给用户“设定失败”。进一步,在设定失败的情况下,等持续的N分钟已经达到后,还可以显示提示用户的信息,提示用户是否要重新上电该便携式设备,让其从省电模式PSM的休眠状态转换到DRX模式下再次进行交互以便重新对该设备进行设定操作。即重新执行所述流程。Step S430: Determine whether a return instruction of the NB-IoT device according to the modified setting instruction is received within the preset time; wherein, if it is determined that the return instruction is received and all If the instruction indicates success, it prompts that the modification setting is successful; if the preset time has arrived, it is determined that the return instruction has been received and the instruction indicates a failure or the return instruction has not been received after the preset time has elapsed , It prompts failed to modify the settings. Specifically, within the preset time, waiting to receive an uplink instruction from the NB-IoT device indicating that the execution setting is completed and the return is completed (the return instruction is an instruction for the user to perform a modification or setting operation through the remote control terminal feedback of). If it is determined within the preset time that the returned uplink command is received and the uplink command indicates success, then it is prompted that the modification setting has been successful. However, if after the preset time is reached, it is determined that the return uplink command is received but the uplink command indicates that it failed, or the return uplink command has not been received, then it is prompted to modify the setting has failed, and the user is prompted to choose whether Re-prompt to manually power on the NB-IoT device again and switch from the sleep state of PSM mode to DRX mode to execute the modified settings again; if yes, manually power on the NB-IoT again, and re-execute the above remote control interaction process. Wherein, the downlink instruction includes: the remote control terminal sends an instruction to modify the settings to the application server, the application server sends to the base station via the operator's core network, and the base station sends the instruction as a downlink instruction via the NB-IoT network. NB-IoT device; the uplink instruction includes: the NB-IoT device uploads the return instruction to the base station via the NB-IoT network, and the base station transmits the data to the application server via the base station via the operator’s core network, and the application server pushes the data to Remote control terminal. In one embodiment, a portable device with NB-IOT function, such as a thermometer and hygrometer, after being in the DRX mode for N minutes, regardless of whether the device has received a downlink instruction to modify the settings, regardless of whether the device executes the modified settings Whether the completion result is successful, and whether the device has reported an uplink command as a feedback to the setting command of the remote control terminal (mobile phone, etc.), once it reaches the lasting N minutes, such as 3 minutes, the portable device (thermometer, etc.) Switch from the DRX mode to the sleep state under PSM, and wait for the next power-on, setting, etc. Correspondingly, the user of the remote control terminal (mobile phone, etc.) also waits for the feedback of the portable device within N minutes. If the mobile phone or other terminal receives the reported uplink instruction, and the instruction resolves to be modified or set successfully, then After completing the interactive process, a prompt message can be displayed to the user, such as "setting successful". And if the mobile phone and other end received the uplink command within N minutes, but it is resolved that the modification or setting failed due to various reasons, and the downlink command of the setting operation has been retransmitted regularly for N minutes. If it still fails after N minutes, the interactive process ends and a prompt message can be displayed to the user, such as "setting failed". However, if the downlink instruction is not received at all within the last N minutes, that is, no feedback for the user setting is obtained, it also indicates that this interaction has failed, and a prompt message can be displayed to the user "setting failed". Furthermore, in the case of a setting failure, after the duration of N minutes has been reached, a message prompting the user can also be displayed, prompting the user whether to re-power on the portable device, so that it will switch from the sleep state of the power saving mode PSM to Interact again in DRX mode to re-set the device. That is, re-execute the process.
本发明的设备低功耗交互系统的一个实施例中,包括:远程控制端,通过网络连接NB-IoT设备,所述远程控制端执行前述设备低功耗交互方法的一实施例中步骤S410至步骤S430的处理。进一步,所述NB-IoT设备执行前述设备低功耗交互方法的一个实施例中步骤S310至步骤S330的处理。进一步,所述远程控制端包括一种或多种能够通过网络发送下行指令的服务器或终端设备,所述NB-IoT设备为设置在网络中能与远程控制端进行交互并通过网络发送上行指令的便携式温湿度计。An embodiment of the device low-power interaction system of the present invention includes: a remote control terminal, which is connected to the NB-IoT device through a network, and the remote control terminal executes steps S410 to S410 in an embodiment of the aforementioned device low-power interaction method. The processing of step S430. Further, the NB-IoT device executes the processing from step S310 to step S330 in an embodiment of the aforementioned device low-power interaction method. Further, the remote control terminal includes one or more servers or terminal devices that can send downlink instructions through the network, and the NB-IoT device is set in the network that can interact with the remote control terminal and send uplink instructions through the network. Portable thermometer and hygrometer.
下面再通过图5所示的本发明设备低功耗交互系统的一实施例的结构框图,对本发明的方案继续进行描述。The following will continue to describe the solution of the present invention through the structural block diagram of an embodiment of the low power consumption interaction system of the present invention shown in FIG. 5.
该实施例的设备低功耗交互系统,包括:NB-IoT设备端的第一接收模块、第一判断模块、第一功耗模块。第一接收模块,用于接收来自远程控制端对NB-IOT设备重新上电的指令而重新上电,并且,所述NB-IOT设备从低功耗模式进入DRX模式并计时在所述DRX模式持续一预设时间。具体地,所述NB-IOT设备在接收到所述重新上电的指令之前维持在PSM模式的休眠状态下运行;所述NB-IOT设备接收到所述重新上电的指令则手动上电;所述NB-IOT设备上电后,从PSM模式的休眠状态转换为DRX模式,并且,开始该DRX模式下的计时,持续所述DRX模式的时间长度为所述预设时间。一个实施方式中,远程控制端为用户可以操作的与网络连接的各种终端设备。用户需要对网络连接的远端的具有NB-IOT通信功能的便携式设备(NB-IOT设备)例如温湿度计进行控制、进行交互时,可以通过操作该远程控制端上的APP等进行设置(修改温湿度计的设定等)。远程控制端可以给用户提示,便携式设备需要重新上电。而便携式设备一端,可以通过手动等方式重新给便携式设备上电,上电后便携式设备具有NB-IOT通信功能,该NB-IOT模组可以从原来的省电模式PSM下的休眠状态,转换到DRX模式,并开始计时该DRX能够持续N分钟(即一个预先设定的时间:“预设时间”)。在该持续N分钟内,等待接收下行指令,以便根据下行指令的修改设定的指示进行重新设定或修改设定等并在完成修改设定后返回设定好或未设定好的返回指令例如上报上行指令。其中,不连续接收DRX模式本身即为高功耗状态,但其能保证数据、指令、信号等收发的即时性和完整性。The device low power consumption interaction system of this embodiment includes: a first receiving module, a first judgment module, and a first power consumption module on the NB-IoT device side. The first receiving module is configured to receive an instruction from the remote control terminal to re-power on the NB-IOT device and re-power on, and the NB-IOT device enters the DRX mode from the low power consumption mode and is timed in the DRX mode Lasts for a preset time. Specifically, the NB-IOT device maintains operation in a sleep state in the PSM mode before receiving the power-on instruction; the NB-IOT device is manually powered on after receiving the power-on instruction; After the NB-IOT device is powered on, it switches from the sleep state of the PSM mode to the DRX mode, and starts timing in the DRX mode, and the duration of the DRX mode is the preset time. In one embodiment, the remote control terminal is various terminal devices that can be operated by the user and connected to the network. When the user needs to control and interact with a portable device (NB-IOT device) with NB-IOT communication function at the remote end of the network connection, such as a thermometer and hygrometer, he can set (modify) by operating the APP on the remote control terminal. Setting of temperature and humidity meter, etc.). The remote control terminal can prompt the user that the portable device needs to be powered on again. On the portable device side, the portable device can be manually powered on again. After power-on, the portable device has the NB-IOT communication function. The NB-IOT module can switch from the sleep state under the original power saving mode PSM to DRX mode, and start timing. The DRX can last for N minutes (that is, a preset time: "preset time"). Within the last N minutes, wait to receive the downlink command, so as to reset or modify the setting according to the instructions of the modification setting of the downlink command, and return to the set or unset return command after the modification is completed. For example, report uplink instructions. Among them, the discontinuous reception DRX mode itself is a high power consumption state, but it can ensure the immediacy and completeness of data, instructions, signals, etc. receiving and sending.
第一判断模块,用于所述NB-IOT设备在所述预设时间内,确定是否接收到来自远程控制端的设定指令以确定是否进行修改设定。具体地,在所述预设时间内,所述远程控制端对所述NB-IOT设备进行设定,并定时发送设定所述NB-IOT设备的下行指令到所述NB-IOT设备;在所述预定时间内,所述NB-IOT设备等待接收所述下行指令;如果接收到所述下行指令则根据所述下行指令完成对应的NB-IOT 设备的修改设定,并发送设定完成结果的返回指令到远程控制端;如果未接收到所述下行指令则不进行设定也不发送返回指令;其中所述返回指令为上行指令。进一步,所述下行指令包括:远程控制端将修改设定的指令发送到应用服务器,应用服务器经运营商核心网络发送到基站,由基站经NB-IOT网络将所述指令作为下行指令下发送达NB-IOT设备;进一步,所述上行指令包括:NB-IOT设备将返回指令经NB-IOT网络上传至基站,由基站经所述基站经运营商核心网传输至应用服务器,由应用服务器将数据推送到远程控制终端。一个实施方式中,在预设时间比如N分钟(例:3分钟)内,如果远程控制端比如终端设备(手机等),在提示重新上电该NB-IOT设备比如温湿度计后,计时预设时间N分钟,提示用户在N分钟内完成对该设备(温湿度计)的设定等,而用户通过远程控制用的该手机等终端设备,开始在持续的N分钟内进行温湿度计的各种功能等设置的修改或设定,并在持续的N分钟内定时发送下行指令即设定指令,传送给温湿度计。下行指令可以定时发送例如每n秒发一次,持续预设时间即N分钟。而便携式设备NB-IOT如温湿度计等,可以在计时持续的N分钟内等待接收该设定指令(下行指令),一旦接收到就执行该指令所指示的修改或设定操作,执行完成即可向用户反馈实时执行设定操作的结果的返回指令。这里,用户的设定完成,则马上发送设定指令到温湿度计,完成设定反馈回来是很快的,即实时命令实时反馈,这样双方交互类似直接对设备进行修改或设定。返回指令上报到基站,作为上行指令返回到远程控制端。由远程控制端根据该上行指令中的执行完成结果来确定是完成了设定还是未完成设定。The first judgment module is configured to determine whether the NB-IOT device receives a setting instruction from the remote control terminal within the preset time to determine whether to modify the setting. Specifically, within the preset time, the remote control terminal sets the NB-IOT device, and periodically sends a downlink instruction for setting the NB-IOT device to the NB-IOT device; Within the predetermined time, the NB-IOT device is waiting to receive the downlink instruction; if the downlink instruction is received, the modification setting of the corresponding NB-IOT device is completed according to the downlink instruction, and the setting completion result is sent The return instruction is sent to the remote control terminal; if the downlink instruction is not received, no setting is made and no return instruction is sent; wherein the return instruction is an uplink instruction. Further, the downlink instruction includes: the remote control terminal sends an instruction to modify the settings to the application server, the application server sends to the base station via the operator's core network, and the base station sends the instruction as a downlink instruction via the NB-IOT network. NB-IOT device; further, the uplink instruction includes: the NB-IOT device uploads the return instruction to the base station via the NB-IOT network, and the base station transmits the data via the base station to the application server via the operator’s core network. Push to the remote control terminal. In one embodiment, within a preset time, such as N minutes (e.g., 3 minutes), if the remote control terminal such as a terminal device (mobile phone, etc.) is prompted to re-power on the NB-IOT device such as a thermometer and hygrometer, the timer will be preset Set a time of N minutes to prompt the user to complete the setting of the device (thermometer and hygrometer) within N minutes, and the user uses the mobile phone and other terminal devices for remote control to start the thermometer and hygrometer within N minutes. Modification or setting of various functions and other settings, and sending the downlink command, that is, the setting command, to the thermometer and hygrometer at regular intervals within N minutes. Downlink commands can be sent regularly, for example, once every n seconds, and last for a preset time, that is, N minutes. The portable device NB-IOT, such as a thermometer and hygrometer, can wait to receive the setting command (downlink command) within N minutes of timing. Once received, it will execute the modification or setting operation indicated by the command, and the execution will be complete. The return instruction of the result of real-time execution of the setting operation can be fed back to the user. Here, when the user's setting is completed, the setting instruction is sent to the thermometer and hygrometer immediately, and the feedback of the completion of the setting is very fast, that is, real-time command and real-time feedback, so that the interaction between the two parties is similar to directly modifying or setting the device. The return command is reported to the base station and returned to the remote control terminal as an uplink command. The remote control terminal determines whether the setting is completed or not completed according to the execution completion result in the uplink command.
第一功耗模块,用于等待所述NB-IOT设备的所述DRX模式持续了所述预设时间后,所述NB-IOT设备进入低功耗模式。具体地,等待所述NB-IOT设备在所述DRX模式下持续了所述预设时间后,不论是否进行了修改设定以及是否发送返回指令,将所述NB-IOT设备重新进入PSM模式下的休眠状态。也就是重新回到设备长期保持的省电PSM模式的低功耗状态。一个实施方式中,具有NB-IOT功能的便携式设备例如温湿度计,在处于DRX模式持续了N分钟后,不论该设备是否收到了下行指令执行了修改设定、不论该设备执行修改设定的完成结果是否成功、以及不论该设备是否上报了上行指令作为对远程控制端(手机等)的设定指令的反馈,一旦到达持续的N分钟例如3分钟,该便携式设备都会从DRX模式转换回到PSM下的休眠状态,正常工作,等待下一次重新上电、设置等。The first power consumption module is configured to wait for the NB-IOT device to enter the low power consumption mode after the DRX mode of the NB-IOT device continues for the preset time. Specifically, after waiting for the NB-IOT device to continue in the DRX mode for the preset time, regardless of whether the modification setting is made and whether a return instruction is sent, the NB-IOT device is reentered into the PSM mode Hibernation. That is, return to the low power consumption state of the power saving PSM mode that the device has maintained for a long time. In one embodiment, a portable device with NB-IOT function, such as a thermometer and hygrometer, after being in the DRX mode for N minutes, regardless of whether the device has received a downlink instruction to modify the settings, regardless of whether the device executes the modified settings Whether the completion result is successful, and whether the device has reported an uplink command as a feedback to the setting command of the remote control terminal (mobile phone, etc.), once it reaches the continuous N minutes, such as 3 minutes, the portable device will switch back from DRX mode Sleep state under PSM, normal work, waiting for the next power-on, setting, etc.
进一步,一个实施例中,所述设备低功耗交互系统还包括:远程控制端的提示模块、发送模块、确定模块。提示模块,用于提示对NB-IoT设备重新上电进行修改设定并开始计时一预设时间。具体地,提示对所述NB-IoT设备重新上电之前,所述NB-IoT设备维持在PSM模式的休眠状态下运行;所述计时一预设时间,为对应所述NB-IoT设备重新上电之后进入DRX模式后,在所述DRX模式下持续的一预设时间长度。一个实施方式中,远程控制端为用户可以操作的与网络连接的各种终端设备。用户需要对网络连接的远端的具有NB-IOT通信功能的便携式设备(NB-IOT设备)例如温湿度计进行控制、进行交互时,可以通过操作该远程控制端上的APP等进行设置(修改温湿度计的设定等)。远程控制端可以给用户提示,便携式设备需要重新上电。而便携式设备一端,可以通过手动等方式重新给便携式设备上电,上电后便携式设备具有NB-IOT通信功能,该NB-IOT模组可以从原来的省电模式PSM下的休眠状态,转换到DRX模式,并开始计时该DRX能够持续N分钟(即一个预先设定的时间:“预设时间”)。在该持续N分钟内,等待接收下行指令,以便根据下行指令的修改设定的指示进行重新设定或修改设定等并在完成修改设定后返回设定好或未设定好的返回指令例如上报上行指令。其中,不连续接收DRX模式本身即为高功耗状态,但其能保证数据、指令、信号等收发的即时性和完整性。进 一步,在预设时间比如N分钟(例:3分钟)内,如果远程控制端比如终端设备(手机等),在提示重新上电该NB-IOT设备比如温湿度计后,计时预设时间N分钟,提示用户在N分钟内完成对该设备(温湿度计)的设定等。Further, in an embodiment, the device low power consumption interactive system further includes: a prompt module, a sending module, and a determining module of the remote control terminal. The reminder module is used to remind the NB-IoT device to re-power on to modify the settings and start counting for a preset time. Specifically, before prompting to power on the NB-IoT device again, the NB-IoT device maintains operation in the sleep state of the PSM mode; the counting a preset time is for the corresponding NB-IoT device to restart After entering the DRX mode after power-on, the DRX mode lasts for a preset time length. In one embodiment, the remote control terminal is various terminal devices that can be operated by the user and connected to the network. When the user needs to control and interact with a portable device (NB-IOT device) with NB-IOT communication function at the remote end of the network connection, such as a thermometer and hygrometer, he can set (modify) by operating the APP on the remote control terminal. Setting of temperature and humidity meter, etc.). The remote control terminal can prompt the user that the portable device needs to be powered on again. On the portable device side, the portable device can be manually powered on again. After power-on, the portable device has the NB-IOT communication function. The NB-IOT module can switch from the sleep state under the original power saving mode PSM to DRX mode, and start timing. The DRX can last for N minutes (that is, a preset time: "preset time"). Within the last N minutes, wait to receive the downlink command, so as to reset or modify the setting according to the instructions of the modification setting of the downlink command, and return to the set or unset return command after the modification is completed. For example, report uplink instructions. Among them, the discontinuous reception DRX mode itself is a high power consumption state, but it can ensure the immediacy and completeness of data, instructions, signals, etc. receiving and sending. Furthermore, within a preset time such as N minutes (e.g. 3 minutes), if the remote control terminal such as a terminal device (mobile phone, etc.) is prompted to re-power on the NB-IOT device such as a thermometer and hygrometer, the preset time is counted as N Minutes, prompt the user to complete the setting of the device (thermometer and hygrometer) within N minutes.
发送模块,用于定时发送所述修改设定的指令给所述NB-IoT设备。具体地,将所述修改设定通过下行指令定时发送给所述NB-IoT设备执行对应所述修改设定的指令的修改设定。并且,在持续的预设时间内,持续定时的周期重发所述下行指令直到后面持续的预设时间达到判断是否收到上行指令并且该指令指示设定成功。一个实施方式中,用户通过远程控制用的该手机等终端设备,开始在持续的N分钟内进行温湿度计的各种功能等设置的修改或设定,并在持续的N分钟内定时发送下行指令即设定指令,传送给温湿度计。下行指令可以定时发送例如每n秒发一次,持续预设时间即N分钟。而便携式设备NB-IOT如温湿度计等,可以在计时持续的N分钟内等待接收该设定指令(下行指令),一旦接收到就执行该指令所指示的修改或设定操作,执行完成即可向用户反馈实时执行设定操作的结果的返回指令。这里,用户的设定完成,则马上发送设定指令到温湿度计,完成设定反馈回来是很快的,即实时命令实时反馈,这样双方交互类似直接对设备进行修改或设定。返回指令上报到基站,作为上行指令返回到远程控制端。由远程控制端根据该上行指令中的执行完成结果来确定是完成了设定还是未完成设定。执行完成结果,可以是按照下行指令的指示成功修改或设定,也可能由于各种原因修改或设定失败等。The sending module is configured to send the instruction to modify the setting to the NB-IoT device at regular intervals. Specifically, the modified setting is periodically sent to the NB-IoT device through a downlink instruction to execute the modified setting corresponding to the instruction to modify the setting. In addition, within a continuous preset time, the downlink instruction is retransmitted in a continuous timing cycle until the subsequent continuous preset time reaches to determine whether an uplink instruction is received and the instruction indicates that the setting is successful. In one embodiment, the user starts to modify or set various functions and settings of the thermometer and hygrometer within a continuous period of N minutes through the mobile phone and other terminal devices used for remote control, and sends the downlink periodically within the continuous period of N minutes. The command is the setting command and sent to the thermometer and hygrometer. Downlink commands can be sent regularly, for example, once every n seconds, and last for a preset time, that is, N minutes. The portable device NB-IOT, such as a thermometer and hygrometer, can wait to receive the setting command (downlink command) within N minutes of timing. Once received, it will execute the modification or setting operation indicated by the command, and the execution will be complete. The return instruction of the result of real-time execution of the setting operation can be fed back to the user. Here, when the user's setting is completed, the setting instruction is sent to the thermometer and hygrometer immediately, and the feedback of the completion of the setting is very fast, that is, real-time command and real-time feedback, so that the interaction between the two parties is similar to directly modifying or setting the device. The return command is reported to the base station and returned to the remote control terminal as an uplink command. The remote control terminal determines whether the setting is completed or not completed according to the execution completion result in the uplink command. The result of the execution completion may be the successful modification or setting according to the instructions of the downstream command, or the modification or setting failure due to various reasons.
确定模块,用于确定是否在所述预设时间内接收到来自所述NB-IoT设备的根据所述修改设定的指令执行设定完成的返回指令;其中,如果确定接收到所述返回指令且所述指令指示为成功,则提示修改设定成功;如果所述预设时间已经到达,确定接收到所述返回指令且所述指令指示为失败或者所述预设时间已经到达后未接收到返回指令,则提示修改设定失败。具体地,在所述预设时间内,等待接收来自所述NB-IoT设备的表示执行设定完成而返回的上行指令(该返回指令是对用户通过远程控制端执行修改或设定操作的指令的反馈)。如果在该预设时间内确定接收到返回的上行指令并且所述上行指令指示为成功,则提示修改设定已经成功。而如果在该预设时间到达后,确定接收到返回的上行指令、但所述上行指令指示为失败,或者是所述预设时间已经到达后始终未接收到返回的上行指令,则提示修改设定已经失败,并提示用户选择是否重新提示对所述NB-IoT设备重新手动上电从PSM模式的休眠状态切换为DRX模式以再次执行修改设定;如果是则重新手动对所述NB-IoT上电,重新执行上述远程控制交互过程。其中,所述下行指令包括:远程控制端将修改设定的指令发送到应用服务器,应用服务器经运营商核心网络发送到基站,由基站经NB-IoT网络将所述指令作为下行指令下发送达NB-IoT设备;所述上行指令包括:NB-IoT设备将返回指令经NB-IoT网络上传至基站,由基站经所述基站经运营商核心网传输至应用服务器,由应用服务器将数据推送到远程控制终端。一个实施方式中,具有NB-IOT功能的便携式设备例如温湿度计,在处于DRX模式持续了N分钟后,不论该设备是否收到了下行指令执行了修改设定、不论该设备执行修改设定的完成结果是否成功、以及不论该设备是否上报了上行指令作为对远程控制端(手机等)的设定指令的反馈,一旦到达持续的N分钟例如3分钟,该便携式设备(温湿度计等)都会从DRX模式转换回到PSM下的休眠状态,等待下一次重新上电、设置等。相应地,远程控制端(手机等)的用户也在持续的N分钟内等待该便携式设备的反馈,如果手机等一端接收到上报的上行指令,并且该指令解析出来为修改或设定成功,则完成了该交互过程,可以显示提示信息给用户例如“设定成功”等。而如果手机等一端在持续的N分钟内虽然接收到了该上行指令,但是解析出来为因各种原因导致的修改或设定失败,一直在定时重发设定操作的下行指 令持续了N分钟即到达N分钟后还是失败,则该交互过程结束同时可以显示提示信息给用户例如“设定失败”。而如果在持续的N分钟内,完全没有收到该下行指令,即没有获得任何针对用户设定的反馈,也表明本次交互失败,可以显示提示信息给用户“设定失败”。进一步,在设定失败的情况下,等持续的N分钟已经达到后,还可以显示提示用户的信息,提示用户是否要重新上电该便携式设备,让其从省电模式PSM的休眠状态转换到DRX模式下再次进行交互以便重新对该设备进行设定操作。即重新执行所述流程。The determining module is configured to determine whether a return instruction of the NB-IoT device is received from the NB-IoT device according to the instruction to modify the setting within the preset time; wherein, if it is determined that the return instruction is received And if the instruction indicates success, it prompts that the modification setting is successful; if the preset time has arrived, it is determined that the return instruction is received and the instruction indicates a failure or the preset time has not been received after the time has elapsed. Return the command, it will prompt to modify the setting failure. Specifically, within the preset time, waiting to receive an uplink instruction from the NB-IoT device indicating that the execution setting is completed and the return is completed (the return instruction is an instruction for the user to perform a modification or setting operation through the remote control terminal feedback of). If it is determined within the preset time that the returned uplink command is received and the uplink command indicates success, then it is prompted that the modification setting has been successful. However, if after the preset time is reached, it is determined that a return uplink command is received, but the uplink command indicates a failure, or the return uplink command has not been received after the preset time has elapsed, then it is prompted to modify the settings. It has failed, and the user is prompted to choose whether to re-prompt the manual power-on of the NB-IoT device to switch from the sleep state of the PSM mode to the DRX mode to perform the modification settings again; if so, manually re-apply the NB-IoT device Power on and re-execute the above-mentioned remote control interaction process. Wherein, the downlink instruction includes: the remote control terminal sends an instruction to modify the settings to the application server, the application server sends to the base station via the operator's core network, and the base station sends the instruction as a downlink instruction via the NB-IoT network. NB-IoT device; the uplink instruction includes: the NB-IoT device uploads the return instruction to the base station via the NB-IoT network, and the base station transmits the data to the application server via the base station via the operator’s core network, and the application server pushes the data to Remote control terminal. In one embodiment, a portable device with NB-IOT function, such as a thermometer and hygrometer, after being in the DRX mode for N minutes, regardless of whether the device has received a downlink instruction to modify the settings, regardless of whether the device executes the modified settings Whether the completion result is successful, and whether the device has reported an uplink command as a feedback to the setting command of the remote control terminal (mobile phone, etc.), once it reaches the lasting N minutes, such as 3 minutes, the portable device (thermometer, etc.) Switch from the DRX mode to the sleep state under PSM, and wait for the next power-on, setting, etc. Correspondingly, the user of the remote control terminal (mobile phone, etc.) also waits for the feedback of the portable device within N minutes. If the mobile phone or other terminal receives the reported uplink instruction, and the instruction resolves to be modified or set successfully, then After completing the interactive process, a prompt message can be displayed to the user, such as "setting successful". And if the mobile phone and other end received the uplink command within N minutes, but it is resolved that the modification or setting failed due to various reasons, and the downlink command of the setting operation has been retransmitted regularly for N minutes. If it still fails after N minutes, the interactive process ends and a prompt message can be displayed to the user, such as "setting failed". However, if the downlink instruction is not received at all within the last N minutes, that is, no feedback for the user setting is obtained, it also indicates that this interaction has failed, and a prompt message can be displayed to the user "setting failed". Furthermore, in the case of a setting failure, after the duration of N minutes has been reached, a message prompting the user can also be displayed, prompting the user whether to re-power on the portable device, so that it will switch from the sleep state of the power saving mode PSM to Interact again in DRX mode to re-set the device. That is, re-execute the process.
本发明的方案的一个实施例中,所述NB-IOT设备接收到下行指令后,持续保持“不连续接收DRX模式的高功耗状态”N分钟,并且相比PSM模式,只在首次上电时N分钟内处于DRX模式、属于空闲状态,其他时间段则一直按照PSM模式运行,这样,相比全部使用PSM模式运行,只是增加了N分钟内的空闲状态,相对于整个使用周期计算,只是增加了N分钟空闲状态的功耗,而且此部分功耗增加很低,可忽略不计,保证了待机时长不会有明显减少。在整个N分钟设定时间内,远程控制端可实时判断通过上行指令判断设备是否完成设定,实际上从整体功耗来看,采用针对NB-IOT设备低功耗状态下的交互方法,不仅解决了NB-IOT设备下行数据不接收的问题,实现针对NB-IOT设备低功耗状态下的交互,只是增加了N分钟的空闲态的功耗,这部分增加的功耗很低,可忽略不计,保证了待机时长不会有明显的减少。In an embodiment of the solution of the present invention, after receiving the downlink instruction, the NB-IOT device continues to maintain the "discontinuous reception DRX mode high power consumption state" for N minutes, and compared to the PSM mode, it is only powered on for the first time It is in the DRX mode and idle state for N minutes, and it always runs in PSM mode for other time periods. In this way, compared to running in PSM mode, it only increases the idle state for N minutes. Compared to the entire service cycle calculation, it is only Increase the power consumption of the idle state for N minutes, and this part of the power consumption increase is very low, can be ignored, it is guaranteed that the standby time will not be significantly reduced. In the entire N minute setting time, the remote control terminal can judge in real time whether the device has completed the setting through the uplink command. In fact, from the overall power consumption point of view, the interactive method for the low power consumption of the NB-IOT device is adopted, not only It solves the problem that NB-IOT equipment does not receive downlink data, and realizes the interaction of NB-IOT equipment under low power consumption state, but only increases the power consumption of N minutes of idle state. This part of the increased power consumption is very low and can be ignored Not counting, it is guaranteed that the standby time will not be significantly reduced.
进一步,本发明的一种计算机可读介质的一个实施例中,该存储介质存储有多条程序代码,所述程序代码适于由处理器加载并运行以执行前述方法的各个步骤。Further, in an embodiment of a computer-readable medium of the present invention, the storage medium stores multiple pieces of program codes, and the program codes are adapted to be loaded and run by a processor to execute each step of the foregoing method.
进一步,本发明的一种控制装置的一个实施例中,包括处理器和存储装置,具体地,所述存储装置适于存储多条程序代码,所述程序代码适于由处理器加载并运行以执行前述方法的各个步骤。Further, an embodiment of a control device of the present invention includes a processor and a storage device. Specifically, the storage device is adapted to store multiple pieces of program code, and the program code is adapted to be loaded by the processor and run to Perform each step of the aforementioned method.
需要说明的是上述例子只是为说明本发明的方案实施情况的一个结合参数的例子,为说明本发明的方案实现过程而非实际的实施参数,其中各个参数的设置和系数的设定,可以根据实际应用时进行对应的调整和设置。It should be noted that the above example is only an example of combining parameters to illustrate the implementation of the solution of the present invention, and to illustrate the implementation process of the solution of the present invention rather than the actual implementation parameters. The setting of various parameters and the setting of coefficients can be based on Make corresponding adjustments and settings during actual application.
需要指出的是,尽管上述实施例中将各个步骤按照特定的先后顺序进行了描述,但是本领域技术人员可以理解,为了实现本发明的效果,不同的步骤之间并非必须按照这样的顺序执行,其可以同时(并行)执行或以其他顺序执行,这些变化都在本发明的保护范围之内。It should be pointed out that although the various steps are described in a specific sequence in the above embodiments, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be executed in this order. They can be executed simultaneously (parallel) or in other sequences, and these changes are all within the protection scope of the present invention.
进一步,应该理解的是,由于各个模块的设定仅仅是为了说明本发明的系统的功能单元,这些模块对应的物理器件可以是处理器本身,或者处理器中软件的一部分,硬件的一部分,或者软件和硬件结合的一部分。因此,图中的各个模块的数量仅仅是示意性的。Furthermore, it should be understood that, since the setting of each module is only to illustrate the functional units of the system of the present invention, the physical devices corresponding to these modules may be the processor itself, or part of the software in the processor, part of the hardware, or Part of the combination of software and hardware. Therefore, the number of modules in the figure is only schematic.
本领域技术人员能够理解的是,可以对系统中的各个模块进行适应性地拆分或合并。对具体模块的这种拆分或合并并不会导致技术方案偏离本发明的原理,因此,拆分或合并之后的技术方案都将落入本发明的保护范围内。Those skilled in the art can understand that each module in the system can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention. Therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.
至此,已经结合附图所示的一个实施方式描述了本发明的技术方案,但是,本领域技术人员容易理解的是,本发明的保护范围显然不局限于这些具体实施方式。在不偏离本发明的原理的前提下,本领域技术人员可以对相关技术特征作出等同的更改或替换,这些更改或替换之后的技术方案都将落入本发明的保护范围之内。So far, the technical solution of the present invention has been described in conjunction with an embodiment shown in the drawings, but it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims (10)

  1. 一种设备低功耗交互方法,其特征在于:A device low-power interaction method, which is characterized by:
    接收来自远程控制端对NB-IOT设备重新上电的指令而重新上电,并且,所述NB-IOT设备从低功耗模式进入DRX模式并计时在所述DRX模式持续一预设时间;Re-power on the NB-IOT device by receiving an instruction from the remote control terminal to re-power on the NB-IOT device, and the NB-IOT device enters the DRX mode from the low power consumption mode and counts in the DRX mode for a preset time;
    所述NB-IOT设备在所述预设时间内,确定是否接收到来自远程控制端的设定指令以确定是否进行修改设定;The NB-IOT device determines whether to receive a setting instruction from the remote control terminal within the preset time to determine whether to modify the setting;
    等待所述NB-IOT设备的所述DRX模式持续了所述预设时间后,所述NB-IOT设备进入低功耗模式。After waiting for the DRX mode of the NB-IOT device to continue for the preset time, the NB-IOT device enters a low power consumption mode.
  2. 如权利要求1所述的方法,The method of claim 1,
    其中,所述“接收来自远程控制端对NB-IOT设备重新上电的指令而重新上电,并且,所述NB-IOT设备从低功耗模式进入DRX模式并计时在所述DRX模式持续一预设时间”具体包括:Wherein, the “receives the instruction from the remote control terminal to re-power on the NB-IOT device and power it on again, and the NB-IOT device enters the DRX mode from the low power consumption mode and counts the DRX mode for a period of time. "Preset time" specifically includes:
    所述NB-IOT设备在接收到所述重新上电的指令之前维持在PSM模式的休眠状态下运行;The NB-IOT device maintains operation in a sleep state in the PSM mode before receiving the power-on instruction;
    所述NB-IOT设备接收到所述重新上电的指令则手动上电;The NB-IOT device is manually powered on after receiving the power-on instruction;
    所述NB-IOT设备上电后,从PSM模式的休眠状态转换为DRX模式,并且,开始该DRX模式下的计时,持续所述DRX模式的时间长度为所述预设时间;After the NB-IOT device is powered on, it switches from the sleep state of the PSM mode to the DRX mode, and starts timing in the DRX mode, and the duration of the DRX mode is the preset time;
    和/或,and / or,
    其中,所述“所述NB-IOT设备在所述预设时间内,确定是否接收到来自远程控制端的设定指令以确定是否进行修改设定”具体包括:Wherein, the “determining whether the NB-IOT device receives a setting instruction from the remote control terminal within the preset time to determine whether to modify the setting” specifically includes:
    在所述预设时间内,所述远程控制端对所述NB-IOT设备进行设定,并定时发送设定所述NB-IOT设备的下行指令到所述NB-IOT设备;Within the preset time, the remote control terminal sets the NB-IOT device, and periodically sends a downlink instruction for setting the NB-IOT device to the NB-IOT device;
    在所述预定时间内,所述NB-IOT设备等待接收所述下行指令;Within the predetermined time, the NB-IOT device waits to receive the downlink instruction;
    如果接收到所述下行指令则根据所述下行指令完成对应的NB-IOT设备的修改设定,并发送设定完成结果的返回指令到远程控制端;If the downlink instruction is received, complete the modification setting of the corresponding NB-IOT device according to the downlink instruction, and send a return instruction of the setting completion result to the remote control terminal;
    如果未接收到所述下行指令则不进行设定也不发送返回指令;If the downlink command is not received, no setting is made and no return command is sent;
    其中所述返回指令为上行指令;The return instruction is an uplink instruction;
    和/或,and / or,
    其中,所述“等待所述NB-IOT设备的所述DRX模式持续了所述预设时间后,所述NB-IOT设备进入低功耗模式”,具体包括:Wherein, the "waiting for the DRX mode of the NB-IOT device for the preset time, the NB-IOT device enters the low power consumption mode" specifically includes:
    等待所述NB-IOT设备在所述DRX模式下持续了所述预设时间后,不论是否进行了修改设定以及是否发送返回指令,将所述NB-IOT设备重新进入PSM模式下的休眠状态。After waiting for the NB-IOT device to continue in the DRX mode for the preset time, regardless of whether the modification setting is made and whether a return instruction is sent, the NB-IOT device is re-entered into the sleep state in the PSM mode .
  3. 如权利要求2所述的方法,其中,还包括:The method of claim 2, further comprising:
    其中,所述下行指令包括:远程控制端将修改设定的指令发送到应用服务器,应用服务器经运营商核心网络发送到基站,由基站经NB-IOT网络将所述指令作为下行指令下发送达NB-IOT设备;Wherein, the downlink instruction includes: the remote control terminal sends an instruction to modify the settings to the application server, the application server sends to the base station via the operator's core network, and the base station sends the instruction as a downlink instruction via the NB-IOT network. NB-IOT equipment;
    其中,所述上行指令包括:NB-IOT设备将返回指令经NB-IOT网络上传至基站,由基站经所述基站经运营商核心网传输至应用服务器,由应用服务器将数据推送到远程控制终端。Wherein, the uplink instruction includes: the NB-IOT device uploads the return instruction to the base station via the NB-IOT network, the base station transmits the data to the application server via the base station via the operator core network, and the application server pushes the data to the remote control terminal .
  4. 一种设备低功耗交互方法,其特征在于:A device low-power interaction method, which is characterized by:
    提示对NB-IOT设备重新上电进行修改设定并开始计时一预设时间;Prompt to modify the settings of the NB-IOT device after power-on again and start counting for a preset time;
    在所述预设时间内,定时重发所述修改设定的指令给所述NB-IOT设备;Within the preset time, periodically retransmit the command to modify the setting to the NB-IOT device;
    确定是否在所述预设时间内接收到来自所述NB-IoT设备的根据所述修改设定的指令执行设定完成的返回指令;其中,如果确定接收到所述返回指令且所述指令指示为成功,则提示修改设定成功;如果等待持续所述预设时间达到后,确定接收到所述返回指令且所述指令指示为失败或者未接收到返回指令,则提示修改设定失败。It is determined whether a return instruction of completion of the setting is executed according to the instruction to modify the setting is received from the NB-IoT device within the preset time; wherein, if it is determined that the return instruction is received and the instruction indicates If it is successful, it prompts that the modification setting is successful; if it is determined that the return instruction is received after waiting for the preset time and the instruction indicates a failure or the return instruction is not received, then it prompts that the modification setting fails.
  5. 如权利要求4所述的方法,其中,还包括:The method of claim 4, further comprising:
    提示对所述NB-IOT设备重新上电之前,所述NB-IOT设备维持在PSM模式的休眠状态下运行;Before prompting to power on the NB-IOT device again, the NB-IOT device maintains operation in the sleep state of the PSM mode;
    所述计时一预设时间,为对应所述NB-IOT设备重新上电之后进入DRX模式后,在所述DRX模式下持续的一预设时间长度;The counting a preset time corresponds to a preset length of time that the NB-IOT device continues in the DRX mode after it enters the DRX mode after it is powered on again;
    所述“定时重发所述修改设定的指令给所述NB-IOT设备”具体还包括:The "regularly resending the instruction to modify the settings to the NB-IOT device" specifically further includes:
    将所述修改设定通过下行指令定时重发给所述NB-IOT设备执行对应所述修改设定的指令的修改设定;Periodically resending the modified setting to the NB-IOT device through a downlink command to execute the modified setting corresponding to the command to modify the setting;
    所述“确定是否在所述预设时间内接收到来自所述NB-IoT设备的根据所述修改设定的指令执行设定完成的返回指令;其中,如果确定接收到所述返回指令且所述指令指示为成功,则提示修改设定成功;如果等待持续所述预设时间达到后,确定接收到所述返回指令且所述指令指示为失败或者未接收到返回指令,则提示修改设定失败”具体还包括:The "determine whether a return instruction of the NB-IoT device is received within the preset time according to the modified setting instruction to execute the set completion; wherein, if it is determined that the return instruction is received and the return instruction is If the instruction indicates success, then it prompts that the modification setting is successful; if the wait continues for the preset time to reach, it is determined that the return instruction is received and the instruction indicates a failure or the return instruction is not received, then it is prompted to modify the setting Specifically, "failure" also includes:
    在所述预设时间内,等待接收来自所述NB-IOT设备的表示执行设定完成而返回的上行指令;Within the preset time, waiting to receive an uplink command from the NB-IOT device indicating that the execution setting is completed and returning;
    如果确定接收到返回的上行指令并且所述上行指令指示为设定成功,则提示修改设定已经成功;If it is determined that the returned uplink command is received and the uplink command indicates that the setting is successful, then it is prompted that the setting has been modified successfully;
    如果到达所述预设时间后,确定接收到返回的上行指令并且所述上行指令指示为设定失败或者未接收到返回的上行指令,则提示修改设定已经失败,并提示用户选择是否重新提示对所述NB-IOT设备重新手动上电从PSM模式的休眠状态切换为DRX模式以再次执行修改设定;如果是则重新手动对所述NB-IOT上电;If after the preset time is reached, it is determined that the return uplink command is received and the uplink command indicates that the setting has failed or the return uplink command has not been received, then it is prompted to modify the setting has failed, and the user is prompted to choose whether to prompt again Manually power on the NB-IOT device again and switch from the sleep state of the PSM mode to the DRX mode to execute the modification setting again; if so, manually power on the NB-IOT again;
    其中,所述下行指令包括:远程控制端将修改设定的指令发送到应用服务器,应用服务器经运营商核心网络发送到基站,由基站经NB-IOT网络将所述指令作为下行指令下发送达NB-IOT设备;Wherein, the downlink instruction includes: the remote control terminal sends an instruction to modify the settings to the application server, the application server sends to the base station via the operator's core network, and the base station sends the instruction as a downlink instruction via the NB-IOT network. NB-IOT equipment;
    其中,所述上行指令包括:NB-IOT设备将返回指令经NB-IOT网络上传至基站,由基站经所述基站经运营商核心网传输至应用服务器,由应用服务器将数据推送到远程控制终端。Wherein, the uplink instruction includes: the NB-IOT device uploads the return instruction to the base station via the NB-IOT network, the base station transmits the data to the application server via the base station via the operator core network, and the application server pushes the data to the remote control terminal .
  6. 一种设备低功耗交互系统,其特征在于,包括:A device low-power-consumption interactive system, which is characterized in that it includes:
    远程控制端,通过网络连接NB-IOT设备,The remote control terminal is connected to the NB-IOT device through the network,
    所述远程控制端执行如权利要求4或5任一所述设备低功耗状态下的交互方法;The remote control terminal executes the interaction method in the low power consumption state of the device according to any one of claims 4 or 5;
    和/或,and / or,
    所述NB-IOT设备执行如权利要求1至3任一所述设备低功耗状态下的交互方法;The NB-IOT device executes the interaction method in the low power consumption state of the device according to any one of claims 1 to 3;
    和/或,and / or,
    其中,所述远程控制端包括一种或多种能够通过网络发送下行指令的服务器或终端设备,所述NB-IOT设备为设置在网络中能与远程控制端进行交互并通过网络发送上行指令的便携式温湿度计。Wherein, the remote control terminal includes one or more servers or terminal devices that can send downlink instructions through the network, and the NB-IOT device is set in the network that can interact with the remote control terminal and send uplink instructions through the network. Portable thermometer and hygrometer.
  7. 一种设备低功耗交互系统,其特征在于,包括:A device low-power-consumption interactive system, which is characterized in that it includes:
    NB-IOT设备端,包括:NB-IOT equipment terminal, including:
    第一接收模块,用于接收来自远程控制端对NB-IOT设备重新上电的指令而重新上电,并且,所述NB-IOT设备从低功耗模式进入DRX模式并计时在所述DRX模式持续一预设时间;The first receiving module is configured to receive an instruction from the remote control terminal to re-power on the NB-IOT device and re-power on, and the NB-IOT device enters the DRX mode from the low power consumption mode and is timed in the DRX mode For a preset time;
    第一判断模块,用于所述NB-IOT设备在所述预设时间内,确定是否接收到来自远程控制端的设定指令以确定是否进行修改设定;The first judgment module is configured to determine whether the NB-IOT device receives a setting instruction from the remote control terminal within the preset time to determine whether to modify the setting;
    第一功耗模块,用于等待所述NB-IOT设备的所述DRX模式持续了所述预设时间后,所述NB-IOT设备进入低功耗模式。The first power consumption module is configured to wait for the NB-IOT device to enter the low power consumption mode after the DRX mode of the NB-IOT device continues for the preset time.
    和/或,and / or,
    远程控制端,包括:Remote control terminal, including:
    提示模块,用于提示对NB-IoT设备重新上电进行修改设定并开始计时一预设时间;The reminder module is used to remind the NB-IoT device to re-power on to modify the settings and start timing for a preset time;
    发送模块,用于在所述预设时间内,定时重发所述修改设定的指令给所述NB-IOT设备;A sending module, configured to periodically re-send the setting modification instruction to the NB-IOT device within the preset time;
    确定模块,用于确定是否在所述预设时间内接收到来自所述NB-IoT设备的根据所述修改设定的指令执行设定完成的返回指令;其中,如果确定接收到所述返回指令且所述指令指示为成功,则提示修改设定成功;如果等待持续所述预设时间达到后,确定接收到所述返回指令且所述指令指示为失败或者未接收到返回指令,则提示修改设定失败。The determining module is configured to determine whether a return instruction of the NB-IoT device is received from the NB-IoT device according to the instruction to modify the setting within the preset time; wherein, if it is determined that the return instruction is received And the instruction indicates success, then it prompts that the modification setting is successful; if it is determined that the return instruction is received after waiting for the preset time, and the instruction indicates that the return instruction is failed or the return instruction is not received, then the modification is prompted Setting failed.
  8. 如权利要求7所述的系统,其中,The system of claim 7, wherein:
    所述NB-IOT设备端,还包括:The NB-IOT device terminal further includes:
    所述第一接收模块,具体还包括:所述NB-IOT设备在接收到所述重新上电的指令之前维持在PSM模式的休眠状态下运行;所述NB-IOT设备接收到所述重新上电的指令则手动上电;所述NB-IOT设备上电后,从PSM模式的休眠状态转换为DRX模式,并且,开始该DRX模式下的计时,持续所述DRX模式的时间长度为所述预设时间;The first receiving module specifically further includes: the NB-IOT device maintains operation in a sleep state in the PSM mode before receiving the power-on instruction; the NB-IOT device receives the power-on again The power-on instruction is manually powered on; after the NB-IOT device is powered on, it switches from the sleep state of the PSM mode to the DRX mode, and starts the timing in the DRX mode, and the duration of the DRX mode is the Preset time
    所述第一判断模块,具体还包括:在所述预设时间内,所述远程控制端对所述NB-IOT设备进行设定,并定时发送设定所述NB-IOT设备的下行指令到所述NB-IOT设备;在所述预定时间内,所述NB-IOT设备等待接收所述下行指令;如果接收到所述下行指令则根据所述下行指令完成对应的NB-IOT设备的修改设定,并发送设定完成结果的返回指令到远程控制端;如果未接收到所述下行指令则不进行设定也不发送返回指令;其中所述返回指令为上行指令;The first judgment module specifically further includes: within the preset time, the remote control terminal sets the NB-IOT device, and periodically sends a downlink instruction for setting the NB-IOT device to The NB-IOT device; within the predetermined time, the NB-IOT device is waiting to receive the downlink instruction; if the downlink instruction is received, the modification of the corresponding NB-IOT device is completed according to the downlink instruction Setting, and sending a return instruction of the setting completion result to the remote control terminal; if the downlink instruction is not received, neither setting nor sending a return instruction; wherein the return instruction is an uplink instruction;
    所述第一功耗模块,具体还包括:等待所述NB-IOT设备在所述DRX模式下持续了所述预设时间后,不论是否进行了修改设定以及是否发送返回指令,将所述NB-IOT设备重新进入PSM模式下的休眠状态;The first power consumption module specifically further includes: after waiting for the NB-IOT device to continue in the DRX mode for the preset time, regardless of whether the modification setting is made and the return instruction is sent, the The NB-IOT device re-enters the sleep state in PSM mode;
    和/或,and / or,
    所述远程控制端,还包括:The remote control terminal further includes:
    所述提示模块,具体还包括:提示对所述NB-IOT设备重新上电之前,所述NB-IOT设备维持在PSM模式的休眠状态下运行;所述计时一预设时间,为对应所述NB-IOT设备重新上电之后进入DRX模式后,在所述DRX模式下持续的一预设时间长度;The prompting module specifically further includes: prompting that the NB-IOT device is kept running in a sleep state in the PSM mode before the NB-IOT device is powered on again; and the timing of a preset time corresponds to the After the NB-IOT device enters the DRX mode after it is powered on again, it lasts for a preset length of time in the DRX mode;
    所述发送模块,具体还包括:将所述修改设定通过下行指令定时重发给所述NB-IOT设备执行对应所述修改设定的指令的修改设定;The sending module specifically further includes: periodically resending the modified setting to the NB-IOT device via a downlink command to execute the modified setting corresponding to the command to modify the setting;
    所述确定模块,具体还包括:在所述预设时间内,等待接收来自所述NB-IOT设备的表示执行设定完成而返回的上行指令;如果确定接收到返回的上行指令并且所述上行指令指示为设定成功,则提示修改设定已经成功;如果到达所述预设时间后, 确定接收到返回的上行指令并且所述上行指令指示为设定失败或者始终未接收到返回的上行指令,则提示修改设定已经失败,并提示用户选择是否重新提示对所述NB-IOT设备重新手动上电从PSM模式的休眠状态切换为DRX模式以再次执行修改设定;如果是则重新手动对所述NB-IOT上电。The determining module further specifically includes: waiting to receive an uplink command from the NB-IOT device indicating that the setting is completed and returning within the preset time; if it is determined that the returned uplink command is received and the uplink If the instruction indicates that the setting is successful, it is prompted that the modification setting has been successful; if the preset time is reached, it is determined that the return uplink instruction is received and the uplink instruction indicates that the setting has failed or the return uplink instruction has not been received. , It prompts that the modification setting has failed, and the user is prompted to choose whether to re-prompt the manual power-on of the NB-IOT device again to switch from the sleep state of the PSM mode to the DRX mode to execute the modification setting again; The NB-IOT is powered on.
  9. 一种计算机可读介质,其特征在于,包括:存储有多条程序代码,所述程序代码适于由处理器加载并运行以执行权利要求1至5任一项所述的方法。A computer readable medium, comprising: storing a plurality of program codes, the program codes being adapted to be loaded and run by a processor to execute the method according to any one of claims 1 to 5.
  10. 一种控制装置,包括处理器和存储装置,其特征在于,包括:所述存储装置适于存储多条程序代码,所述程序代码适于由处理器加载并运行以执行权利要求1至5任一项所述的方法。A control device, comprising a processor and a storage device, characterized in that it comprises: the storage device is adapted to store multiple pieces of program code, and the program code is adapted to be loaded and run by the processor to execute any of claims 1 to 5 The method described in one item.
PCT/CN2021/078615 2020-04-29 2021-03-02 Interaction method, system, and apparatus under device low power consumption state WO2021218354A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010358091.1 2020-04-29
CN202010358091.1A CN113573389A (en) 2020-04-29 2020-04-29 Interaction method, system and device in low-power-consumption state of equipment

Publications (1)

Publication Number Publication Date
WO2021218354A1 true WO2021218354A1 (en) 2021-11-04

Family

ID=78158556

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078615 WO2021218354A1 (en) 2020-04-29 2021-03-02 Interaction method, system, and apparatus under device low power consumption state

Country Status (2)

Country Link
CN (1) CN113573389A (en)
WO (1) WO2021218354A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102996B (en) * 2022-06-15 2023-08-11 浙江小遛信息科技有限公司 Control method and device for shared electric bicycle and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107421060A (en) * 2017-06-29 2017-12-01 青岛海尔空调器有限总公司 Air conditioner communication means and air conditioner based on NB IoT networks
WO2018205697A1 (en) * 2017-05-12 2018-11-15 中兴通讯股份有限公司 Method and device for monitoring paging message, terminal, and storage medium
CN109121188A (en) * 2017-06-26 2019-01-01 中国电信股份有限公司 Internet-of-things terminal, system and the awakening method for internet-of-things terminal
CN109257233A (en) * 2018-11-06 2019-01-22 上海庆科信息技术有限公司 A kind of configuration method of node node equipment in communication system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11497078B2 (en) * 2016-02-12 2022-11-08 Nokia Technologies Oy Apparatus and method for DRX mechanisms for single HARQ process operation in NB-IoT
CN107959966B (en) * 2017-12-05 2021-07-16 青岛海信移动通信技术股份有限公司 Method and device for reducing power consumption of positioning type cellular Internet of things terminal and terminal equipment
CN110691430B (en) * 2018-07-06 2021-09-21 展讯通信(上海)有限公司 Awakening method and device of Internet of things terminal, storage medium and base station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018205697A1 (en) * 2017-05-12 2018-11-15 中兴通讯股份有限公司 Method and device for monitoring paging message, terminal, and storage medium
CN109121188A (en) * 2017-06-26 2019-01-01 中国电信股份有限公司 Internet-of-things terminal, system and the awakening method for internet-of-things terminal
CN107421060A (en) * 2017-06-29 2017-12-01 青岛海尔空调器有限总公司 Air conditioner communication means and air conditioner based on NB IoT networks
CN109257233A (en) * 2018-11-06 2019-01-22 上海庆科信息技术有限公司 A kind of configuration method of node node equipment in communication system

Also Published As

Publication number Publication date
CN113573389A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
US10912035B2 (en) Power management via coordination and selective operation of timer-related tasks
CN107809793B (en) Awakening control method and device of intelligent terminal
CN104601203B (en) A kind of low-power consumption bluetooth equipment dynamically adjusts the method and device of Connecting quantity
TWI556596B (en) Bluetooth low energy beacon device and advertising methodology
CN108632930B (en) Network searching control method and device and mobile terminal
KR20140063363A (en) Monitoring and managing processor activity in power save mode of portable electronic device and portable electronic device supporting the same
US20100042856A1 (en) Power saving method of portable internet device and portable internet device thereof, and instant messaging system using the same
KR101561490B1 (en) Method for reducing power consumption in portable terminal
EP2728948A1 (en) Method, device, terminal, computer program and storage medium for adjusting wake-up period of terminal
KR101691482B1 (en) Portable Device For Adaptive Data Communication Control And Method thereof
US10051448B2 (en) Wireless communication device and processor for changing connection interval between devices in short range wireless communication
US20160112955A1 (en) Communication protocol between access point and wireless station
WO2015077961A1 (en) Method for sending heartbeat message and mobile terminal
CN108712740B (en) Bluetooth low-power connection method and device
US20170289075A1 (en) Method and Device for Managing Instant Communication Application Program, and Mobile Terminal thereof
WO2020237703A1 (en) Communication mode switching method and device, storage medium, processor, and system
WO2021218354A1 (en) Interaction method, system, and apparatus under device low power consumption state
CN110337070A (en) A kind of LORA data communications method based on TDMA
CN110475321B (en) Power-saving optimization method and device for wireless local area network (AP)
CN104468483B (en) Data transmission method and system, control device and node apparatus
KR20160121876A (en) Changing method from sleep mode to awake mode in wifi system
KR102349265B1 (en) Apparatus and method for controlling communication time duration in wireless communication system
CN111417179B (en) Dual-chip 4G Internet of things communication method and system based on embedded low power consumption
US8218467B2 (en) Method and apparatus for optimizing idle mode stand-by time in a multicast system
US20230362998A1 (en) Method and apparatus for receiving voice packet, terminal, medium, and computer program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21797828

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21797828

Country of ref document: EP

Kind code of ref document: A1