CN112398661B - Equipment dormancy processing method and device, ioT equipment and storage medium - Google Patents

Equipment dormancy processing method and device, ioT equipment and storage medium Download PDF

Info

Publication number
CN112398661B
CN112398661B CN201910755237.3A CN201910755237A CN112398661B CN 112398661 B CN112398661 B CN 112398661B CN 201910755237 A CN201910755237 A CN 201910755237A CN 112398661 B CN112398661 B CN 112398661B
Authority
CN
China
Prior art keywords
protocol
cloud server
iot device
iot
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910755237.3A
Other languages
Chinese (zh)
Other versions
CN112398661A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ninebot Beijing Technology Co Ltd
Original Assignee
Ninebot Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ninebot Beijing Technology Co Ltd filed Critical Ninebot Beijing Technology Co Ltd
Priority to CN201910755237.3A priority Critical patent/CN112398661B/en
Publication of CN112398661A publication Critical patent/CN112398661A/en
Application granted granted Critical
Publication of CN112398661B publication Critical patent/CN112398661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols
    • 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/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a device dormancy processing method, a device dormancy processing device, an IoT device, a storage medium and an electronic device, wherein the method comprises the following steps: the method comprises the steps of obtaining a sleep instruction issued by a cloud server through a first protocol channel, wherein the sleep instruction is used for indicating an IoT (Internet of things) device in a working state to enter a sleep state, and a first protocol connection and a second protocol connection are established between the IoT device in the working state and the cloud server; under the trigger of the dormancy instruction, controlling the IoT device in the working state to enter the dormancy state, and disconnecting the first protocol connection between the IoT device and the cloud server. By the method and the device, the problem that the sleep of the IoT equipment cannot be effectively controlled in the related art is solved.

Description

Equipment dormancy processing method and device, ioT equipment and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a device dormancy processing method and apparatus, an IoT device, a storage medium, and an electronic apparatus.
Background
The Internet of Things IoT (Internet of Things) device needs to be kept in a standby state when not used for a long time so as to be available at any time, but if the software and hardware in the standby state still keep the same state as that in working, the system will consume a lot of unnecessary resources.
In addition, the conventional dormancy control mode is basically realized based on local control, and the autonomous dormancy wakeup of the device based on local control cannot be applied to the IoT device, because the control of the IoT device is based on the cloud in many cases, the local dormancy wakeup will cause the device to have a relatively uncontrollable state, cannot meet the remote control requirement of the IoT device, and cannot meet the reliability of the device. A sleep wake-up of the remote control device is required.
In view of the problem in the related art that the IoT device sleep cannot be effectively controlled, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a device dormancy processing method and device, an IoT device, a storage medium and an electronic device, which are used for at least solving the problem that the dormancy of the IoT device cannot be effectively controlled in the related technology.
According to an embodiment of the present invention, there is provided a device hibernation processing method including: the method comprises the steps that a dormancy instruction issued by a cloud server through a first protocol channel is obtained, wherein the dormancy instruction is used for indicating an IoT device in a working state to enter a dormant state, and a first protocol connection and a second protocol connection are established between the IoT device in the working state and the cloud server; under the trigger of the dormancy instruction, controlling the IoT device in the working state to enter the dormancy state, and disconnecting the first protocol connection between the IoT device and the cloud server.
According to another embodiment of the present invention, there is also provided an apparatus hibernation processing apparatus including: the system comprises an acquisition module, a first protocol channel and a second protocol channel, wherein the acquisition module is used for acquiring a sleep instruction issued by a cloud server through the first protocol channel, the sleep instruction is used for indicating an IoT (Internet of things) device in a working state to enter a sleep state, and a first protocol connection and a second protocol connection are established between the IoT device in the working state and the cloud server; and the processing module is used for controlling the IoT equipment in the working state to enter the dormant state and disconnecting the first protocol connection between the IoT equipment and the cloud server under the trigger of the dormant instruction.
According to another embodiment of the present invention, there is also provided an internet of things IoT device, including the apparatus described above.
According to a further embodiment of the present invention, a storage medium is also provided, in which a computer program is stored, wherein the computer program is arranged to perform the steps of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in the above method embodiments.
According to the invention, the cloud server controls the IoT equipment to sleep, so that the controllability of the IoT equipment is ensured, in addition, unnecessary resource consumption can be reduced by controlling the IoT equipment to enter a sleep state, the available time of the equipment is prolonged, and the problem that the sleep of the IoT equipment cannot be effectively controlled in the related technology is effectively solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal of a device hibernation processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a device hibernation handling method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a connection between an IoT device and a cloud server according to an embodiment of the present invention;
fig. 4 is an IoT device sleep wake command execution flow diagram in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of state transitions according to an embodiment of the present invention;
fig. 6 is a block diagram of a configuration of a device hibernation processing apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the present application may be executed in a mobile terminal, a computer terminal or a similar computing device. Taking the example of running on a computer terminal, fig. 1 is a hardware structure block diagram of a computer terminal of an apparatus dormancy processing method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal 10 may include one or more processors 102 and a memory 104 for storing data, wherein only one processor 102 is shown in fig. 1, the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, and optionally, the computer terminal may further include a transmission device 106 for communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the device hibernation processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a device hibernation processing method is provided, and fig. 2 is a flowchart of a device hibernation processing method according to an embodiment of the present invention, where as shown in fig. 2, the flowchart includes the following steps:
step S202, a sleep instruction issued by a cloud server through a first protocol channel is obtained, wherein the sleep instruction is used for indicating an IoT device in a working state to enter a sleep state, and a first protocol connection and a second protocol connection are established between the IoT device in the working state and the cloud server;
step S204, under the trigger of the sleep instruction, controlling the IoT device in the working state to enter the sleep state, and disconnecting the first protocol connection between the IoT device and the cloud server.
Among them, the IoT devices, such as a scooter, a robot, etc., performing the above operations may be mentioned. In the above embodiments, the first protocol channel is established based on the first protocol connection, and likewise, the subsequent second protocol channel is established based on the second protocol connection. The types of the first and second protocols may be varied, which may include existing and subsequently emerging protocols for enabling a connection between an IoT device and a server. For example, the first protocol may include a Message Queue Telemetry Transport (MQTT) protocol, and the second protocol may include a transmission control protocol/internet protocol (TCP/IP), but the above examples are merely illustrative and are not limited to the specific protocols. Therefore, the MQTT protocol channel may be generated after the MQTT protocol connection is established, and in addition, the TCP/IP protocol channel in the later-described embodiment is generated after the TCP/IP protocol connection is established. And will not be described in detail later. In this embodiment, when the IoT device needs to sleep, the cloud sends a sleep instruction to the IoT device through the MQTT protocol channel, and the IoT device receives the sleep instruction and then executes a series of sleep operations, for example, closing the device application layer application, closing the sensor, closing the hardware device, and the like. In the sleep state, the IoT device can be connected and communicated with the cloud server through the TCP/IP protocol channel, a set of heartbeats can be maintained between the IoT device and the cloud server for state detection and management of the IoT device, wherein when the heartbeat is detected to be abnormal, the IoT device is proved to be abnormal, and at the moment, corresponding processing measures can be taken because the heartbeat is detectable. The specific treatment means will be specifically described later.
In the above embodiment, the cloud server controls the IoT device to sleep, so that controllability of the IoT device is ensured, and in addition, unnecessary resource consumption can be reduced by controlling the IoT device to enter a sleep state, so that the available time of the device is prolonged, and the problem that the IoT device cannot be effectively controlled to sleep in the related art is effectively solved.
In an optional embodiment, before obtaining the sleep command issued by the cloud server through the first protocol channel, the method further includes: establishing the MQTT protocol connection and the TCP/IP protocol connection between the IoT device and the cloud server when the IoT device is determined to be powered on. In this embodiment, when the IoT device is powered on, an MQTT protocol connection and a TCP/IP long connection are established with the cloud server, and a heartbeat is reported through the MQTT protocol, so that the cloud server can maintain the state of the device through the two connection states. Therefore, when the IoT device is in a normal working state, two connection message channels are maintained between the IoT device and the cloud server, namely, an MQTT protocol channel established based on an MQTT protocol connection and a TCP/IP protocol channel established based on a TCP/IP protocol connection. The connection between the IoT device and the cloud server can be seen in fig. 3.
In an optional embodiment, after establishing the MQTT protocol connection and the TCP/IP connection between the IoT device and the cloud server, the method further comprises: and transmitting the service data between the IoT equipment and the cloud server through the MQTT protocol channel. In this embodiment, the MQTT protocol channel is mainly used for issuing an instruction of a cloud server and transmitting information when the IoT device is in normal use; the TCP/IP protocol channel is mainly used for issuing instructions and transmitting information of the cloud server under the condition that the IoT equipment is in a dormant state. In this embodiment, because the MQTT protocol is a protocol of a higher layer, the transmission of information through the MQTT protocol channel can make the encapsulation of information more complete, thereby simplifying the information processing time limit.
In an optional embodiment, after the traffic data transmission between the IoT device and the cloud server is performed through the MQTT protocol channel, the method further includes: and when the MQTT protocol channel is determined to be abnormal, transmitting the service data between the IoT equipment and the cloud server through the TCP/IP protocol channel. In this embodiment, the TCP/IP protocol channel may actually be used as a backup of the MQTT protocol channel, and when the MQTT protocol channel is abnormal, the TCP/IP protocol channel may be continuously used for data transmission, so as to ensure normal execution of a service, and further improve reliability of the device. In addition, the TCP/IP protocol channel and the MQTT protocol channel can also mutually check, namely, whether the other side is abnormal is mutually checked, and the reliability of the equipment is further improved.
In an optional embodiment, after controlling the IoT device in the working state to enter a dormant state and disconnecting the first protocol connection between the IoT device and the cloud server, the method further includes: acquiring a wake-up instruction issued by the cloud server through a second protocol channel, wherein the wake-up instruction is used for indicating the IoT equipment in a dormant state to enter a wake-up state; under the triggering of the wake-up instruction, controlling the IoT device in the dormant state to enter the wake-up state, and establishing the first protocol connection between the IoT device and the cloud server. In this embodiment, the first protocol may be an MQTT protocol, the second protocol may be a TCP/IP protocol, and when the IoT device needs to be woken up to work normally, the cloud server may send a wake-up instruction to the IoT device through the TCP/IP protocol channel, and when the IoT device receives the wake-up instruction, the IoT device is powered on, and all application layer applications are started, so as to recover the use of the MQTT protocol channel, that is, reestablish an MQTT connection between the IoT device and the cloud server. The IoT device dormancy wakeup command execution flow may refer to fig. 4. Furthermore, if the wake-up fails, a corresponding exception handling measure may be taken, and in this embodiment, the exception handling measure includes, but is not limited to, at least one of the following ways:
the first method is as follows: and recovering the service logic on the IoT equipment and configuring the recovered service logic to other IoT equipment, namely reallocating the tasks to be executed on the IoT equipment to other normally-operating IoT equipment.
The second method comprises the following steps: after determining that the IoT device is faulty, an alarm process is performed, for example, an alarm prompt is sent to the monitoring terminal by the cloud server to prompt relevant personnel to perform manual maintenance on the IoT device.
An online state transition diagram of the IoT device is also provided in the embodiment of the present invention, and fig. 5 shows specific processes of establishing and interrupting each connection when the IoT device transitions among a normal operating state, an offline state, and a dormant state. The method comprises the following switching processes:
the first process is as follows: when the IoT device is switched from the normal working state to the sleep state, the sleep instruction sent by the cloud server is received, and the MQTT protocol connection is disconnected between the IoT device and the cloud server and the TCP/IP protocol connection is kept.
And a second process: when the IoT device is switched from the sleep state to the normal working state, the IoT device receives a wake-up instruction sent by the cloud server, and the IoT device and the cloud server are reconnected to the MQTT protocol connection, and the normal heartbeat of the IoT device is maintained.
And a third process: when the IoT device is switched from the sleep state to the offline state, a communication channel between the IoT device and the cloud server is disconnected, and the heartbeat of the IoT device is lost.
And (4) a fourth process: when the IoT device is switched from the offline state to the dormant state, the TCP/IP connection between the IoT device and the cloud server is recovered, and the report of the heartbeat of the device on a TCP/IP channel is kept.
And a fifth process: when the IoT device is switched from the offline state to the normal working state, the MQTT protocol connection and the TCP/IP protocol connection between the IoT device and the cloud server are restored, and the normal heartbeat of the IoT device is maintained.
And a sixth process: when the IoT device is switched from the normal operating state to the offline state, the communication channel between the IoT device and the cloud server is disconnected, and the heartbeat of the IoT device is lost.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium, such as a ROM/RAM, a magnetic disk, or an optical disk, and includes instructions for enabling a terminal device, such as a mobile phone, a computer, a server, or a network device, to execute the method according to the embodiments of the present invention.
In this embodiment, a device hibernation processing apparatus is further provided, and the apparatus hibernation processing apparatus is used to implement the foregoing embodiments and preferred embodiments, and has already been described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of a device hibernation processing apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus including:
an obtaining module 62, configured to obtain a sleep instruction issued by a cloud server through a first protocol channel, where the sleep instruction is used to instruct an internet of things IoT device in a working state to enter a sleep state, and a first protocol connection and a second protocol connection are established between the IoT device in the working state and the cloud server; a processing module 64, configured to control the IoT device in the working state to enter the dormant state and disconnect the first protocol connection between the IoT device and the cloud server under the trigger of the dormant instruction.
In an optional embodiment, the first protocol comprises a message queue telemetry transport, MQTT, protocol, and the second protocol comprises a transmission control protocol/internet protocol, TCP/IP, wherein the apparatus further comprises: the establishing module is used for establishing the MQTT protocol connection and the TCP/IP connection between the IoT equipment and the cloud server when the IoT equipment is determined to be started before a sleep instruction issued by the cloud server through a message queue telemetering transmission MQTT protocol channel is obtained.
In an optional embodiment, the apparatus is further configured to, after the MQTT protocol connection and the TCP/IP protocol connection between the IoT device and the cloud server are established, perform traffic data transmission between the IoT device and the cloud server through the MQTT protocol channel.
In an optional embodiment, the apparatus is further configured to, after performing service data transmission between the IoT device and the cloud server through the MQTT protocol channel, perform service data transmission between the IoT device and the cloud server through the TCP/IP protocol channel when it is determined that the MQTT protocol channel is abnormal.
In an optional embodiment, the apparatus is further configured to, after controlling the IoT device in the working state to enter a sleep state and disconnecting the MQTT protocol connection between the IoT device and the cloud server, obtain a wake-up instruction issued by the cloud server through a second protocol channel, where the wake-up instruction is used to instruct the IoT device in the sleep state to enter a wake-up state; under the trigger of the wake-up instruction, controlling the IoT device in the dormant state to enter the wake-up state, and establishing the first protocol connection between the IoT device and the cloud server.
In an embodiment of the present invention, an internet of things IoT device is further provided, where the IoT device includes any one of the apparatuses described above.
It should be noted that the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are located in different processors in any combination.
An embodiment of the present invention further provides a storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps in any of the method embodiments described above when executed.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
Through the embodiment, the sleep awakening of the remote control IoT equipment based on the cloud server can be realized, the problem of unnecessary resource consumption in the standby state of the equipment is solved, the available time of the equipment is prolonged, and the method and the device are particularly suitable for movable IoT equipment. In addition, instructions for controlling dormancy and awakening of the IoT equipment are issued through the cloud, the cloud can sense the state of the IoT equipment in real time, the detection, management and control of the state of the IoT equipment are guaranteed, the IoT equipment can be remotely sensed in time when problems occur, and the reliability of the equipment is improved.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims (8)

1. A device dormancy processing method is characterized by comprising the following steps:
the method comprises the steps that a dormancy instruction issued by a cloud server through a first protocol channel is obtained, wherein the dormancy instruction is used for indicating an IoT device in a working state to enter a dormant state, and a first protocol connection and a second protocol connection are established between the IoT device in the working state and the cloud server;
under the trigger of the dormancy instruction, controlling the IoT device in the working state to enter the dormancy state, and disconnecting the first protocol connection between the IoT device and the cloud server;
wherein after the IoT device enters the dormant state, the IoT device connects and communicates with the cloud server through the second protocol;
the first protocol comprises a message queue telemetry transmission MQTT protocol, the second protocol comprises a transmission control protocol/internet protocol TCP/IP, and before a sleep instruction sent by a cloud server through a first protocol channel is acquired, the method further comprises the following steps: establishing the MQTT protocol connection and the TCP/IP protocol connection between the IoT device and the cloud server when the IoT device is determined to be powered on.
2. The method of claim 1, wherein after establishing the MQTT protocol connection and the TCP/IP protocol connection between the IoT device and the cloud server, the method further comprises:
and transmitting the service data between the IoT equipment and the cloud server through the MQTT protocol channel.
3. The method of claim 2, wherein after the traffic data transmission between the IoT device and the cloud server is performed through the MQTT protocol channel, the method further comprises:
and when the MQTT protocol channel is determined to be abnormal, transmitting the service data between the IoT equipment and the cloud server through the TCP/IP protocol channel.
4. The method of claim 1, wherein after controlling the IoT device in the active state to enter a sleep state and disconnecting the first protocol connection between the IoT device and the cloud server, the method further comprises:
acquiring a wake-up instruction issued by the cloud server through a second protocol channel, wherein the wake-up instruction is used for indicating the IoT equipment in a dormant state to enter a wake-up state;
under the triggering of the wake-up instruction, controlling the IoT device in the dormant state to enter the wake-up state, and establishing the first protocol connection between the IoT device and the cloud server.
5. An apparatus sleep processing apparatus, comprising:
the system comprises an acquisition module, a first protocol channel and a second protocol channel, wherein the acquisition module is used for acquiring a dormancy instruction issued by a cloud server through the first protocol channel, the dormancy instruction is used for indicating an IoT (Internet of things) device in a working state to enter a dormant state, and a first protocol connection and a second protocol connection are established between the IoT device in the working state and the cloud server;
the processing module is used for controlling the IoT equipment in the working state to enter the dormant state and disconnecting the first protocol connection between the IoT equipment and the cloud server under the triggering of the dormant instruction;
wherein the IoT device connects and communicates with the cloud server via the second protocol after entering the dormant state;
wherein the first protocol comprises a Message Queue Telemetry Transport (MQTT) protocol and the second protocol comprises a transmission control protocol/internet protocol (TCP/IP), and wherein the apparatus further comprises: the establishing module is used for establishing the MQTT protocol connection and the TCP/IP protocol connection between the IoT equipment and the cloud server when the IoT equipment is determined to be started before a sleep instruction issued by the cloud server through a first protocol channel is obtained.
6. An internet of things (IoT) device, comprising the apparatus of claim 5.
7. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 4 when executed.
8. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.
CN201910755237.3A 2019-08-15 2019-08-15 Equipment dormancy processing method and device, ioT equipment and storage medium Active CN112398661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910755237.3A CN112398661B (en) 2019-08-15 2019-08-15 Equipment dormancy processing method and device, ioT equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910755237.3A CN112398661B (en) 2019-08-15 2019-08-15 Equipment dormancy processing method and device, ioT equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112398661A CN112398661A (en) 2021-02-23
CN112398661B true CN112398661B (en) 2022-12-13

Family

ID=74601726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910755237.3A Active CN112398661B (en) 2019-08-15 2019-08-15 Equipment dormancy processing method and device, ioT equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112398661B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752332B (en) * 2021-03-09 2024-03-08 华畅科技(大连)股份有限公司 Sleep control method of Internet of things system based on NB-IoT communication protocol stack
CN115086385A (en) * 2022-05-12 2022-09-20 阿里巴巴达摩院(杭州)科技有限公司 Vehicle-cloud data interaction method and device and computer-readable storage medium
CN115442877B (en) * 2022-07-27 2023-09-05 云南保利天同水下装备科技有限公司 Method, device, processing equipment and storage medium for controlling power consumption

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101243644A (en) * 2005-08-23 2008-08-13 苹果公司 Method and apparatus for waking up a sleeping system
CN107481372A (en) * 2017-08-16 2017-12-15 广州甩手电子商务有限公司 Dual redundant Intelligent storage device, dual redundant Internet of Things storage system and its implementation
CN107580198A (en) * 2017-08-23 2018-01-12 深圳市高斯贝尔家居智能电子有限公司 A kind of low power consumption remote wakes up web camera and video monitoring system
CN107608318A (en) * 2017-09-14 2018-01-19 柒贰零(北京)健康科技有限公司 A kind of intelligent home control system based on NB IOT
CN108495024A (en) * 2018-02-08 2018-09-04 杭州如道科技有限公司 A kind of long distance wireless high-definition network camera
CN108810086A (en) * 2018-04-27 2018-11-13 电子科技大学中山学院 Intelligent equipment communication platform based on MQTT message protocol
CN109088723A (en) * 2018-10-26 2018-12-25 四川长虹电器股份有限公司 A kind of long-range control method based on MQTT agreement
CN109624775A (en) * 2018-12-27 2019-04-16 浙江大学 A kind of charging pile system based on NBIoT Internet of Things
CN110022369A (en) * 2019-04-11 2019-07-16 上海拉扎斯信息科技有限公司 Message treatment method, device, electronic equipment and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101243644A (en) * 2005-08-23 2008-08-13 苹果公司 Method and apparatus for waking up a sleeping system
CN107481372A (en) * 2017-08-16 2017-12-15 广州甩手电子商务有限公司 Dual redundant Intelligent storage device, dual redundant Internet of Things storage system and its implementation
CN107580198A (en) * 2017-08-23 2018-01-12 深圳市高斯贝尔家居智能电子有限公司 A kind of low power consumption remote wakes up web camera and video monitoring system
CN107608318A (en) * 2017-09-14 2018-01-19 柒贰零(北京)健康科技有限公司 A kind of intelligent home control system based on NB IOT
CN108495024A (en) * 2018-02-08 2018-09-04 杭州如道科技有限公司 A kind of long distance wireless high-definition network camera
CN108810086A (en) * 2018-04-27 2018-11-13 电子科技大学中山学院 Intelligent equipment communication platform based on MQTT message protocol
CN109088723A (en) * 2018-10-26 2018-12-25 四川长虹电器股份有限公司 A kind of long-range control method based on MQTT agreement
CN109624775A (en) * 2018-12-27 2019-04-16 浙江大学 A kind of charging pile system based on NBIoT Internet of Things
CN110022369A (en) * 2019-04-11 2019-07-16 上海拉扎斯信息科技有限公司 Message treatment method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112398661A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN112398661B (en) Equipment dormancy processing method and device, ioT equipment and storage medium
CN105872391A (en) Control method, control device and control system for IP (Internet Protocol) Camera
CN110557263B (en) Standby control method, system, terminal equipment and relay equipment
CN106253943A (en) Sensor acquisition device based on LoRa technology, network system and communication means
EP3190771B1 (en) Method and device for managing instant communication application program, and mobile terminal thereof
CN108551668B (en) Information transmission method, device, equipment and storage medium
CN109982417A (en) Sensor control method, sensor control, sensor and storage medium
CN109286965A (en) Suspend mode processing method, network element entity and the storage medium of distributed base station
CN112422684B (en) Target message processing method and device, storage medium and electronic device
CN108777862B (en) Bluetooth transmission method, Bluetooth controller and Bluetooth device
CN105607583A (en) Monitoring unit, monitoring device and first monitoring unit in power system
CN101867958A (en) Method and system for managing wireless sensing network terminal
CN106550438A (en) Limit method and system, the mobile device of periodic wakeup
CN103825764A (en) Data collecting instrument monitoring system based on cloud calculation and method for enhancing communication stability of data collecting instrument monitoring system based on cloud calculation
CN107508916B (en) Server link management method for intelligent robot
CN108289030B (en) Base station fault identification processing method and device
CN106411574B (en) Management control method and device
CN101489246A (en) Energy saving method for devices, energy saving device and system
CN104796973B (en) Radio reception device control method and radio reception device
CN114286431B (en) Method and device for starting low-power mode, storage medium and electronic device
CN115529654A (en) Method, apparatus, storage medium, and relay device for standby communication
CN105049477A (en) Method and device for maintaining long connection
US20220180731A1 (en) System and method for improving network connection reliability of iot tracking and emergency response devices
CN103634821A (en) Dynamic monitoring method for multi-channel wireless network communication equipment links
CN112888050B (en) Equipment energy saving method and device and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant