CN116847440A - Equipment dormancy control method, terminal equipment and storage medium - Google Patents

Equipment dormancy control method, terminal equipment and storage medium Download PDF

Info

Publication number
CN116847440A
CN116847440A CN202310684431.3A CN202310684431A CN116847440A CN 116847440 A CN116847440 A CN 116847440A CN 202310684431 A CN202310684431 A CN 202310684431A CN 116847440 A CN116847440 A CN 116847440A
Authority
CN
China
Prior art keywords
connection
equipment
platform
instruction
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310684431.3A
Other languages
Chinese (zh)
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.)
Hangzhou Huacheng Software Technology Co Ltd
Original Assignee
Hangzhou Huacheng Software 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 Hangzhou Huacheng Software Technology Co Ltd filed Critical Hangzhou Huacheng Software Technology Co Ltd
Priority to CN202310684431.3A priority Critical patent/CN116847440A/en
Publication of CN116847440A publication Critical patent/CN116847440A/en
Pending legal-status Critical Current

Links

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/0235Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a power saving command
    • 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/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/38TPC being performed in particular situations
    • H04W52/44TPC being performed in particular situations in connection with interruption of transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/54Signalisation aspects of the TPC commands, e.g. frame structure

Landscapes

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

Abstract

The application relates to the technical field of the Internet of things, in particular to a device dormancy control method, terminal equipment and a computer-readable storage medium. The equipment dormancy control method provided by the application comprises the steps of acquiring an equipment dormancy instruction when equipment and a platform are kept in first connection; based on the equipment dormancy instruction, establishing a second connection with the platform and disconnecting the first connection; the first connection is used for transmitting a service instruction to the equipment by the platform, the second connection is used for transmitting a wake-up instruction to the equipment by the platform, and the power consumption of the equipment when the equipment keeps the first connection is larger than that of the equipment when the equipment keeps the second connection. By the method, the equipment can be remotely subjected to sleep control, so that the energy consumption of the equipment in standby is effectively reduced, and the usability of the equipment is improved.

Description

Equipment dormancy control method, terminal equipment and storage medium
Technical Field
The present application relates to the field of internet of things, and in particular, to a device sleep control method, a terminal device, and a computer-readable storage medium.
Background
The internet of things device brings many convenience to life, but when the internet of things device is not needed, in order to be started at any time, connection with a network is usually needed to be maintained, and a circuit of the device also needs to maintain the same power-on state as that of the device during working, so that unnecessary resource consumption is caused.
Whereas a typical device is typically designed with a sleep function, such as a switch, based on the device's locality in standby situations where it is not needed. However, the dormancy function is not suitable for the internet of things equipment, because the work of the internet of things equipment is remotely controlled based on the cloud in many cases, the dormancy function configured locally on the equipment is difficult to meet the requirement of dormancy work of the remote control equipment, the problem of energy consumption of the internet of things equipment in standby can not be effectively solved, and the universality of the internet of things equipment is affected.
Disclosure of Invention
In order to solve the above problems, a main object of the present application is to provide a device sleep control method, a terminal device, and a computer-readable storage medium, which effectively reduce energy consumption of an internet of things device in a standby state.
The application provides a device dormancy control method, which comprises the steps of obtaining a device dormancy instruction when a device and a platform are kept in first connection; based on the equipment dormancy instruction, establishing a second connection with the platform and disconnecting the first connection; the first connection is used for transmitting a service instruction to the equipment by the platform, the second connection is used for transmitting a wake-up instruction to the equipment by the platform, and the power consumption of the equipment when the equipment keeps the first connection is larger than that of the equipment when the equipment keeps the second connection.
The application provides a terminal device, which comprises a processor and a memory; the memory is connected to the processor for storing a computer program that can be run on the processor, wherein the processor is configured to implement the method according to any one of the above-mentioned technical solutions when the computer program is executed.
The present application provides a computer-readable storage medium storing a computer program for implementing a method according to any one of the above-mentioned aspects when executed in a computer processor.
Because the dormancy and the awakening of the equipment cannot be effectively controlled remotely at present, unnecessary resource loss is easy to generate in the standby of the equipment of the internet of things. Compared with the prior art, the method and the device have the advantages that the second connection with lower power consumption is established between the device and the platform through the control of the device when the device receives the dormancy instruction through the first connection, so that only the second connection with low power consumption is maintained between the platform and the device, the first connection with high power consumption is disconnected, the device can enter the dormancy state with lower power consumption when the device does not need to receive the service instruction, the power consumption of the device in dormancy is effectively reduced through remote control, and the usability of the device is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Wherein:
fig. 1 is a flowchart of an embodiment of a sleep control method of a device according to the present application.
Fig. 2 is a flow chart of another embodiment of the sleep control method of the device of the present application.
Fig. 3 is a schematic flow chart of the method for controlling sleep of a device according to the present application, in which the second connection is established and the first connection is disconnected.
Fig. 4 is a schematic flow chart of the sleep control method for a device according to the present application for establishing a first connection and disconnecting a second connection.
Fig. 5 is a schematic circuit diagram of an embodiment of the terminal device of the present application.
Fig. 6 is a schematic diagram of an interactive flow chart of an embodiment of a sleep control method of the device according to the present application.
Fig. 7 is a schematic diagram of a system in an embodiment of a sleep control method of a device according to the present application.
Fig. 8 is a schematic block diagram of a circuit configuration of an embodiment of a computer-readable storage medium of the present application.
Detailed Description
In order that the above objects, features and advantages of the application will be readily understood, a more particular description of the application will be rendered by reference to the appended drawings. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "first," "second," and the like in this disclosure are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "include," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
If the technical scheme of the application relates to personal information, the product applying the technical scheme of the application clearly informs the personal information processing rule before processing the personal information and obtains the autonomous agreement of the individual. If the technical scheme of the application relates to sensitive personal information, the product applying the technical scheme of the application obtains individual consent before processing the sensitive personal information, and simultaneously meets the requirement of 'explicit consent'. For example, a clear and remarkable mark is set at a personal information acquisition device such as a camera to inform that the personal information acquisition range is entered, personal information is acquired, and if the personal voluntarily enters the acquisition range, the personal information is considered as consent to be acquired; or on the device for processing the personal information, under the condition that obvious identification/information is utilized to inform the personal information processing rule, personal authorization is obtained by popup information or a personal information peer-to-peer mode of requesting the person to upload the personal information; the personal information processing rule may include information such as a personal information processor, a personal information processing purpose, a processing method, and a type of personal information to be processed.
With the development of network technology, great convenience is brought to people due to the fact that a large number of Internet of things devices appear, and various Internet of things devices bring convenience to aspects of production and life. People can conveniently and remotely control the Internet of things equipment to meet various business requirements by utilizing various networks, and when business processing is not needed, the Internet of things equipment can stand by to receive business instructions of users at any time.
However, because the device needs to be connected with the network to receive the command, the device of the internet of things in standby cannot temporarily enter a power saving mode through means of disconnection, shutdown, dormancy and the like to reduce energy consumption, so that unnecessary energy waste is caused. And moreover, the service life of the Internet of things equipment is also influenced by always keeping the working state, and the use cost of the Internet of things equipment is increased, so that adverse effects are brought to the development and popularization of the Internet of things equipment.
However, the existing technologies for temporarily reducing the energy consumption of the device, such as device dormancy and shutdown, are generally based on the local operation of the device, such as setting a switch on the device body, and setting a program for automatically entering a dormancy state at regular time for the device; however, the former or the latter cannot well establish connection with the network, so that the requirement of switching the remote control device between the sleep state and the working state is difficult to be satisfied, the problem of energy consumption of the internet of things device in standby can not be effectively solved, and the universality of the internet of things device is affected.
Fig. 1 is a flowchart of an embodiment of a sleep control method of a device according to the present application. It should be noted that, if there are substantially the same results, the present embodiment is not limited to the flow sequence shown in fig. 1. As shown in fig. 1, the present embodiment includes:
s100: and acquiring a device dormancy instruction when the device and the platform keep the first connection.
The device dormancy control method can be operated in a device system of a server side, a device side and/or a client side. Wherein the client may be an application running in an end user device such as a cell phone, computer. In this embodiment, the device side is used as an execution main body for running the device sleep control method of the present application, and the device sleep control method running in the device may be a device side program running on an intelligent device such as an intelligent monitoring terminal.
The data transmission among the client, the device and the server can be completed by means of Ethernet (Ethernet), WLAN (wireless local area network) or a radio frequency transceiver unit and the like. The process of obtaining the device sleep instruction may be automated by the device, for example: the device automatically receives a device hibernation instruction from the platform using a first connection maintained with the platform.
While the device maintains the first connection with the platform, the device obtains a device hibernation instruction from the platform over the first connection. The first connection can also be used for transmitting service instructions from the platform to the device and transmitting processing results of the device on service tasks from the device to the platform, so that the device can complete services in the platform.
S200: based on the device hibernation instruction, a second connection is established with the platform and the first connection is disconnected.
Based on the equipment dormancy instruction, the equipment establishes a second connection with the platform and disconnects the first connection, so that the equipment exits the working state capable of processing the service and enters a dormancy state corresponding to the equipment dormancy instruction. The second connection may be used to transmit a device wake-up instruction from the platform to the device, thereby informing the device to re-enter the operational state.
The power consumption of the equipment in the dormant state is smaller than that of the equipment in the working state when the equipment is in first connection with the platform and is larger than that of the equipment in the second connection with the platform, so that the purpose of effectively reducing the power consumption of the equipment in the standby state is achieved.
According to the method provided by the embodiment, the equipment dormancy instruction can be remotely sent to the equipment through the platform, the equipment is controlled to use the second connection with lower power consumption in the dormancy state, and meanwhile, the equipment can also receive the equipment wakeup instruction through the second connection, so that the remote control equipment can be switched between the working state and the dormancy state, the equipment can enter the dormancy state with lower power consumption when the equipment does not need to receive the service instruction, the power consumption of the equipment in dormancy is effectively reduced through remote control, and the usability of the equipment is improved.
Optionally, after the device establishes the second connection with the platform in step S200, the device may further send a login message including the first identifier to the platform based on the second connection to perform a login operation. The first identifier may be a low power consumption connection identifier. The first identifier is used for informing that a second connection maintained between the platform and the device is a low-power connection, namely, the device is in a dormant state with lower power consumption.
Optionally, before the device obtains the device sleep instruction from the platform by using the first connection in step S100, the device needs to complete the service task issued by the platform through the first connection, and the time required for the device to maintain the first connection with the platform needs to exceed the preset time.
Optionally, in response to the device having completed the service task and the device remaining in the first connection with the platform for more than a preset time, the server of the platform may automatically send a device sleep instruction to the device through the first connection.
Optionally, the user may also actively send a device sleep instruction and/or a device wake instruction to the device using a client connected to the platform, thereby artificially controlling the device to switch between the working state and the sleep state. For example: and the user sends a device dormancy instruction aiming at the device to the platform by using the mobile phone, and the platform sends the device dormancy instruction to the device through a first connection between the platform and the device.
Further, after receiving the login message sent by the device through the second connection, the platform may send a reminder to the client that the device has entered the sleep state in response to the login message.
Optionally, the first connection and the second connection may use the same protocol to communicate, so that the device and the platform only need to configure codes corresponding to the protocol on modules that are connected to each other, thereby implementing code multiplexing on different systems when maintaining different connections, and helping to reduce code complexity.
Fig. 2 is a flow chart of another embodiment of the sleep control method of the device of the present application. It should be noted that, if there are substantially the same results, the present embodiment is not limited to the flow sequence shown in fig. 2. As shown in fig. 2, the present embodiment includes:
s300: and when the equipment and the platform are in second connection, acquiring an equipment wake-up instruction.
And when the equipment and the platform are kept in second connection, the equipment can acquire an equipment awakening instruction from a server side of the platform through the second connection.
Alternatively, the device wake up instruction may be automatically issued by the platform according to a preset condition, e.g. in response to the time exceeding a sleep time threshold, the platform automatically sends the device wake up instruction to the device over the second connection. The device wake-up instruction may also be actively issued by the platform, e.g., the platform obtains a message that the service task is completed with the specified device, according to which the platform actively generates the device wake-up instruction corresponding to the specified device and sends it through a second connection with the specified device.
S400: in response to the device wake up instruction, a first connection is established with the platform and a second connection is disconnected.
And responding to the equipment receiving an equipment wake-up instruction sent by the server through the second connection, the equipment establishes a first connection with the platform and disconnects the second connection which is currently maintained.
Optionally, to further subdivide the functionality of the device and reduce the power consumption of the sleep state, a first connection may be established by a controller and platform of the device and a second connection may be established by a single chip microcomputer equipped with the device and platform. The controller may be configured to establish a first connection and be capable of controlling the device to perform a business task according to the business instructions. The singlechip is used for establishing a second connection and can communicate with the controller through a 2-wire serial port or SPI (serial peripheral interface), so that the controller is informed of establishing a first connection with the platform in response to a received equipment wake-up instruction.
Optionally, a Linux operating system may be running in the controller, and a low-power operating system such as Freertos, RTthread or UcosII may be running on the singlechip. The first connection and the second connection may be an mqtt connection, an http connection, a webSocket connection, or the like.
Fig. 3 is a schematic flow chart of the method for controlling sleep of a device according to the present application, in which the second connection is established and the first connection is disconnected. It should be noted that, if there are substantially the same results, the present embodiment is not limited to the flow sequence shown in fig. 3. As shown in fig. 3, the present embodiment includes:
s201: the controller sends a first message to the singlechip.
And the controller of the equipment responds to the equipment dormancy instruction received through the first connection and sends a first message for establishing the second connection with the platform to the singlechip.
S202: and responding to the first message, and establishing a second connection between the singlechip and the platform.
And responding to the first message, and establishing a second connection with the platform, which has lower power consumption than the first connection, by the singlechip based on the same protocol as the first connection.
S203: and responding to the success of the second connection establishment, and sending a second message for disconnecting the first connection to the controller by the singlechip.
And responding to the success of the second connection establishment, and sending a second message for disconnecting the first connection to the controller by the singlechip.
S204: in response to the second message, the controller disconnects the first connection.
In response to the second message, the controller disconnects the first connection, thereby causing the device to enter a sleep state of low power consumption.
Alternatively, the first message and the second message may be sent to each other by the controller and the singlechip through a serial port or SPI connecting the two.
Optionally, after the controller disconnects the first connection with the platform, in order to further reduce power consumption, the controller may disconnect the power supply, so that only the singlechip is powered on when the device is in a sleep state, and the controller responds to a message sent by the singlechip to be powered on when the first connection needs to be established, thereby achieving the effect of better reducing power consumption.
Fig. 4 is a schematic flow chart of the sleep control method for a device according to the present application for establishing a first connection and disconnecting a second connection. It should be noted that, if there are substantially the same results, the present embodiment is not limited to the flow sequence shown in fig. 4. As shown in fig. 4, the present embodiment includes:
s401: the singlechip sends a third message to the controller.
And the singlechip of the equipment responds to receiving an equipment awakening instruction sent by the second connection and sends a third message for establishing the first connection with the platform to the controller.
Optionally, the singlechip may detect the device locally, so that when the device detects other special conditions such as an alarm, the device responds to the special conditions in time and sends a third message for establishing the first connection to the controller.
S402: in response to the third message, the controller establishes a first connection with the platform.
And responding to a third message sent by the singlechip, and re-electrifying the controller and establishing a first connection with the platform.
Optionally, after the controller establishes the first connection with the platform, the controller may send a login message to the platform through the first connection, where the login message may include a second identifier that is different from the first identifier, and the second identifier may be a high-power connection identifier. The second identifier is used for informing that the first connection maintained between the platform and the device is a high-power-consumption connection, namely the device is in a working state with higher power consumption currently.
Optionally, the login message sent by the controller may not include the first identifier and the second identifier, so as to distinguish the login message from the login message including the first identifier sent by the singlechip. In response to the first identifier and the second identifier not being included in the current login message, the platform may be informed that the first connection maintained between the platform and the device is not a low-power connection, that is, the device is currently in a higher-power-consumption working state.
Optionally, after receiving the login message sent by the device through the second connection, the platform may send, in response to the login message, a reminder to the client running in the end user device used by the user or other clients connected to the platform that the device has entered an operating state.
S403: and responding to the success of the first connection establishment, and sending a fourth message for disconnecting the second connection to the singlechip by the controller.
And responding to the successful establishment of the first connection between the controller and the platform, and sending a fourth message for disconnecting the second connection to the singlechip by the controller.
S404: and responding to the fourth message, and disconnecting the second connection by the singlechip.
And responding to the fourth message, and disconnecting the singlechip from the second connection with the platform, so that the equipment enters a working state capable of executing the service task.
Fig. 6 is a schematic diagram of an interactive flow chart of an embodiment of a sleep control method of the device according to the present application. It should be noted that, if there are substantially the same results, the present embodiment is not limited to the flow sequence shown in fig. 6. As shown in fig. 6, the present embodiment includes a loop flow in which the device switches between the sleep state and the operating state. The controller of the equipment receives a third message sent by the singlechip through a serial port or SPI, and establishes a first connection with the platform in response to the third message. After the first connection is established, the controller sends a fourth message to the singlechip to inform the singlechip to disconnect the second connection with the platform, so that the equipment is switched to a working state and only maintains the first connection with the platform. After the first connection is established, the device is switched to a working state, and can receive the service task issued by the platform through the first connection and process the service task.
When the equipment is in a working state, the platform responds to the equipment wake-up instruction sent by a user through the terminal user equipment (such as a mobile phone) to judge whether the equipment can enter the dormant state currently, and responds to the equipment which completes the processing of the service task and the working time of the equipment exceeds the preset time, the platform sends the equipment dormant instruction to the equipment through the first connection, otherwise, the equipment dormant instruction is not sent and judges whether the equipment can enter the dormant state currently again.
Optionally, when the platform does not receive the device dormancy instruction sent by the user, the platform may automatically send the device dormancy instruction to the device through the first connection in response to the device having completed processing the service task and the device working time exceeding a preset time.
After receiving a device dormancy instruction sent by a platform through a first connection, a controller of the device responds to the instruction, and sends a first message to the singlechip, and responds to the first message, and the singlechip establishes a second connection with the platform. After the second connection is established, the singlechip sends a second message to the controller so as to inform the controller of disconnecting the first connection with the platform, so that the equipment is switched to a dormant state, and an equipment awakening instruction sent by the platform can be received through the second connection. The singlechip can receive a device wake-up instruction sent by the platform through the second connection, and respond to the device wake-up instruction, and the singlechip can send a third message for establishing the first connection to the controller. The singlechip can also detect the equipment locally, so that when the equipment detects other special conditions such as alarm and the like, the special conditions are responded in time, and a third message for establishing the first connection is sent to the controller.
Fig. 7 is a schematic diagram of a system in an embodiment of a sleep control method of a device according to the present application. It should be noted that the present embodiment is not limited to the structure shown in fig. 7 if the same results are substantially achieved. As shown in fig. 7, the system in which the device is located in this embodiment may include a device 2, a platform 3, and an end user device 4.
The end user device 4 is provided with a client used by a user, the client can be an application program or the like running in a mobile phone or a computer, and the user can send a service task, a service instruction or a device wake-up instruction to the platform 3 through the end user device 4, so that the device 2 is remotely managed through the platform 3. The end user device 4 may also receive events reported by the device 2 pushed by the platform, so as to obtain feedback from the device 2 while remotely managing the device 2.
Optionally, the platform 3 comprises two modules, a signaling service 31 and an event service 32. The signaling service 31 is configured to receive the messages sent from the device 2 and the end user device 4 and send the messages to the device 2 and the end user device 4, for example, receive the service task processing result uploaded by the device 2, and for example, receive the device wake-up instruction sent by the end user device 4 and forward the device wake-up instruction to the device 2. The event service 32 is configured to receive an event reported by the device 2 to the platform 3, and can push the event to the end user device 4.
The device 2 is configured to receive a service instruction and process a service task issued by the platform 3, and further report a local event of the device to an event service 32 of the platform 3, and switch between a sleep state and a working state in response to a device wake-up instruction and a device sleep instruction sent by the platform 3.
Fig. 5 is a schematic circuit diagram of an embodiment of the terminal device of the present application. It should be noted that the present embodiment is not limited to the structure shown in fig. 6 if the same effect is substantially achieved. As shown in fig. 6, the terminal device 1 of the present embodiment includes: a processor 11 and a memory 12.
The processor 11 is connected to the memory 12, and is configured to execute program instructions stored in the memory 12 to perform sleep control on the device according to the method of any embodiment of the present application; the memory 12 stores a program file product for implementing the device sleep control method according to any of the embodiments of the present application, and includes several instructions/computer programs for causing a terminal device 1 (which may be a personal computer, a server, or a network device, etc.) or a processor 11 (processor) to execute all or part of the steps of the method according to the embodiments of the present application. Whereas the aforementioned memory 12 comprises: various media such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, and electronic devices such as a computer, a mobile phone, a notebook computer, a tablet computer, and a camera having the above-described storage media.
In the embodiments provided in the present application, it should be understood that the disclosed electronic device and the interactive processing method may be implemented in other manners. For example, the above-described embodiments of the electronic device are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Fig. 8 is a schematic block diagram of a circuit configuration of an embodiment of a computer-readable storage medium of the present application. It should be noted that the present embodiment is not limited to the structure shown in fig. 8 if the same results are substantially achieved. As shown in fig. 8, the above-described method, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer-readable storage medium 400. Based on such understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product or all or part of the technical solution, which is stored in a storage medium, and includes several instructions/computer programs to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, and electronic devices such as a computer, a mobile phone, a notebook computer, a tablet computer, and a camera having the above-described storage media.
The description of the execution of the program data in the computer-readable storage medium may be described with reference to the above embodiments of the sleep control method of the device of the present application, which is not repeated herein.
The foregoing description is only illustrative of the present application and is not intended to limit the scope of the application, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present application.

Claims (11)

1. A device sleep control method, comprising:
acquiring a device dormancy instruction when the device and the platform keep first connection;
establishing a second connection with a platform based on the equipment dormancy instruction, and disconnecting the first connection;
the first connection is used for transmitting a service instruction, the second connection is used for transmitting a device wake-up instruction, and the power consumption of the device when the device keeps the first connection is larger than that when the device keeps the second connection.
2. The method of claim 1, wherein the device sleep control method further comprises:
acquiring the equipment wake-up instruction when the equipment and the platform keep the second connection;
and responding to the equipment awakening instruction, establishing the first connection with a platform, and disconnecting the second connection.
3. The method according to claim 2, characterized by comprising:
the first connection is established by the controller of the device and the platform, and the second connection is established by the singlechip of the device and the platform.
4. A method according to claim 3, wherein the establishing a second connection with a platform and disconnecting the first connection comprises:
the controller sends a first message to the singlechip;
responding to the first message, and establishing the second connection between the singlechip and the platform;
responding to the success of the second connection establishment, the singlechip sends a second message for disconnecting the first connection to the controller;
in response to the second message, the controller disconnects the first connection.
5. A method according to claim 3, wherein the establishing the first connection with a platform and disconnecting the second connection comprises:
the singlechip sends a third message to the controller;
in response to the third message, the controller establishes the first connection with the platform;
responding to the success of the first connection establishment, the controller sends a fourth message for disconnecting the second connection to the singlechip;
and responding to the fourth message, and disconnecting the second connection by the singlechip.
6. The method of claim 5, wherein after said disconnecting said first connection, further comprising:
the power supply of the controller is disconnected;
after the singlechip sends the third message to the controller, the equipment dormancy control method further comprises the following steps:
the power supply of the controller is connected.
7. The method of claim 1, wherein the establishing a second connection with the platform further comprises:
and sending a first identification to the platform, wherein the first identification is used for the platform to identify that the connection maintained by the current equipment is the second connection.
8. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the acquiring the equipment dormancy instruction comprises the following steps:
and responding to the equipment processing to complete the service task, and acquiring the equipment dormancy instruction when the time for which the equipment and the platform are kept in first connection exceeds the preset time.
9. The method according to any one of claims 1 to 8, comprising:
the first connection and the second connection use the same protocol.
10. A terminal device, comprising:
a processor;
a memory coupled to the processor for storing a computer program executable on the processor;
wherein the processor, when executing the computer program, implements the method of any of claims 1 to 9.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1 to 9.
CN202310684431.3A 2023-06-09 2023-06-09 Equipment dormancy control method, terminal equipment and storage medium Pending CN116847440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310684431.3A CN116847440A (en) 2023-06-09 2023-06-09 Equipment dormancy control method, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310684431.3A CN116847440A (en) 2023-06-09 2023-06-09 Equipment dormancy control method, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116847440A true CN116847440A (en) 2023-10-03

Family

ID=88168083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310684431.3A Pending CN116847440A (en) 2023-06-09 2023-06-09 Equipment dormancy control method, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116847440A (en)

Similar Documents

Publication Publication Date Title
EP3629633B1 (en) Low-power activation of accessory in sleep state
CN106879038B (en) working state switching method and device
EP2988219B1 (en) Power saving management method and device for intelligent terminal
CN110557263B (en) Standby control method, system, terminal equipment and relay equipment
JP2000261372A (en) Method and equipment for information communication
JPH07183896A (en) Electric power management system for radio network
CN106412845B (en) Dormancy method and device of wireless fidelity Wi-Fi equipment
CN110602771B (en) Power consumption control method and device and vehicle networking terminal
CN110691430B (en) Awakening method and device of Internet of things terminal, storage medium and base station
US9954787B2 (en) Intelligent terminal power-saving management method and apparatus
CN102681649B (en) Device and method for prolonging battery endurance abilities of all kinds of intelligent equipment
WO2017166541A1 (en) User device and method for waking from hibernation, and computer storage medium
KR20110055094A (en) Apparatus and method for reducing power consumption in portable terminal
CN110691399B (en) Internet of things terminal, awakening method and device thereof and storage medium
CN112398661B (en) Equipment dormancy processing method and device, ioT equipment and storage medium
WO2024046049A1 (en) Communication method and apparatus, storage medium and terminal device
CN116847440A (en) Equipment dormancy control method, terminal equipment and storage medium
WO2023098055A1 (en) Low-power-consumption mode starting method and apparatus, storage medium, and electronic apparatus
CN103345170B (en) Imaging device and method for controlling power supply thereof, power supply Rouser and control system
CN215867831U (en) Dormancy awakening device and NAS storage system
CN112867107A (en) Wireless fidelity (WIFI) chip control method and related equipment thereof
CN115529654A (en) Method, apparatus, storage medium, and relay device for standby communication
CN114070884A (en) Remote management method, remote management equipment, module and readable storage medium
CN107135467B (en) Duplex mode BLE application system and method
CN110913377B (en) Method and system for switching working state of serial port, Bluetooth tracking device and 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