CN112114887A - Controlled device, method for waking up controlled device and storage medium - Google Patents

Controlled device, method for waking up controlled device and storage medium Download PDF

Info

Publication number
CN112114887A
CN112114887A CN202011019511.XA CN202011019511A CN112114887A CN 112114887 A CN112114887 A CN 112114887A CN 202011019511 A CN202011019511 A CN 202011019511A CN 112114887 A CN112114887 A CN 112114887A
Authority
CN
China
Prior art keywords
controlled device
control instruction
wake
instruction
controlled
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
CN202011019511.XA
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011019511.XA priority Critical patent/CN112114887A/en
Publication of CN112114887A publication Critical patent/CN112114887A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present disclosure relates to a controlled device, a method of waking up the controlled device, and a storage medium, the controlled device including: the instruction determining module and the central processing unit; the command determining module is used for responding to a received control command sent by a main control device when the controlled device is in a dormant state, determining whether the control command is a target control command, generating a wake-up signal and sending the wake-up signal to the central processing unit when the control command is the target control command, and waking up the central processing unit so that the central processing unit wakes up the controlled device. The problem of controlled equipment by master control equipment mistake awaken up is solved, controlled equipment's consumption has been reduced effectively, and the user demand of laminating promotes and uses experience.

Description

Controlled device, method for waking up controlled device and storage medium
Technical Field
The present disclosure relates to the field of information technology, and in particular, to a controlled device, a method for waking up the controlled device, and a storage medium.
Background
At present, many products can be controlled by remote control equipment matched with the products, and other functions such as startup and shutdown are realized.
In the related art, when the power on/off function is implemented, each time the remote control device sends any control instruction to the controlled device, the controlled device generates a wake-up signal to wake up the central processing unit in the controlled device, and after the central processing unit is woken up, the received control instruction is identified. The controlled device will frequently wake up the central processing unit under the action of the false wake-up signals, which results in the increase of the overall power consumption of the controlled device.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a controlled device, a method of waking up the controlled device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, a controlled device is provided, which includes an instruction determining module and a central processing unit; the command determining module is used for responding to a received control command sent by a main control device when the controlled device is in a dormant state, determining whether the control command is a target control command, generating a wake-up signal and sending the wake-up signal to the central processing unit when the control command is the target control command, and waking up the central processing unit so as to enable the central processing unit to wake up the controlled device;
the master control device is used for controlling the controlled device.
Optionally, the instruction determining module is further configured to call and execute a preset setting function when the controlled device is in the dormant state, so as to set the target control instruction through the setting function.
Optionally, the instruction determining module is further configured to call and execute a preset recovery function after the controlled device is awakened, so as to enable, through the recovery function, a function of generating the wake-up signal based on any control instruction.
Optionally, the instruction determining module is further configured to ignore the control instruction if the control instruction is not the target control instruction.
Optionally, the instruction determining module is further configured to monitor a target control instruction triggered by a target function key of the master control device when the controlled device is in a dormant state, so that the instruction determining module generates a wake-up signal when monitoring the target control instruction and sends the wake-up signal to the central processing unit to wake up the central processing unit.
Optionally, the controlled device is a bluetooth terminal device, and the instruction determining module receives the control instruction through bluetooth broadcast.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for waking up a controlled device, which is applied to the controlled device, the method including:
under the condition that the controlled device is in a dormant state, responding to a received control instruction sent by a main control device, and determining whether the control instruction is a target control instruction, wherein the main control device is used for controlling the controlled device;
generating a wake-up signal under the condition that the control instruction is the target control instruction;
and awakening the controlled equipment according to the awakening signal.
Optionally, in a case that the controlled device is in the hibernation state, in response to receiving a control instruction sent by the master control device, before determining whether the control instruction is a target control instruction, the method further includes:
and under the condition that the controlled equipment is in a dormant state, calling and executing a preset setting function so as to set the target control instruction through the setting function.
Optionally, after the controlled device is woken up, the method further includes:
and calling and executing a preset recovery function so as to enable the function of generating the wake-up signal based on any control instruction through the recovery function.
Optionally, the method further comprises:
and in the case that the control instruction is not the target control instruction, ignoring the control instruction.
Optionally, the method further comprises:
and under the condition that the controlled equipment is in a dormant state, monitoring a target control instruction triggered by a target function key of the main control equipment so as to generate a wake-up signal when the target control instruction is monitored, so as to wake up the controlled equipment.
Optionally, the method further comprises:
and receiving the control instruction through Bluetooth broadcasting.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of waking up a controlled device provided by the second aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: under the state that controlled equipment is in dormancy, respond to the control command that receives master control equipment and send, confirm whether control command is target control command, and control command is under the condition of target control command, just generate the wakening signal to waken up controlled equipment, solved controlled equipment by master control equipment mistake wakening up's problem, reduced controlled equipment's consumption effectively, laminating user's demand promotes and uses experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of waking up a controlled device according to an exemplary embodiment.
FIG. 2 is another flow chart illustrating a method of waking up a controlled device according to an example embodiment.
FIG. 3 is another flow chart illustrating a method of waking up a controlled device according to an example embodiment.
FIG. 4 is a block diagram illustrating a controlled device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
As mentioned in the background art, there may be a false wake-up condition in the central processing unit of the controlled device, which results in an increase in the overall power consumption of the controlled device. For example, for a controlled device and a master device currently provided with a bluetooth chip, since the bluetooth chip does not have a function of identifying and filtering a bluetooth broadcast packet, when the controlled device enters an STR (Suspend to RAM) state, any function key of the master device, such as a bluetooth remote controller, is pressed, the bluetooth broadcast packet is sent. At this time, the bluetooth chip of the controlled device receives the bluetooth broadcast packet sent by the paired main control device, and generates a wake-up signal, which is sent to the controlled device to wake up the central processing unit of the controlled device. The central processing unit reads the instruction in the Bluetooth broadcast packet received by the Bluetooth chip and judges whether the instruction is a starting instruction. If the command is not the starting command, the central processing unit enters the STR state again. If the command is a power-on command, the central controller exits the STR state and wakes up other devices (for example, display screens of the controlled devices) of other controlled devices to start working.
If the command is not a starting command, the central processing unit is awakened to work for many times. For example, when a user presses other keys (non-on/off keys) of the bluetooth remote controller, the bluetooth broadcast packets are also sent, but the commands in the bluetooth broadcast packets are invalid and are not power-on commands. Under the condition, the central processing unit can be woken up by mistake for a plurality of times, thereby causing the increase of the power consumption of the whole machine.
Fig. 1 is a flowchart illustrating a method of waking up a controlled device according to an exemplary embodiment. As shown in fig. 1, the method for waking up the controlled device is applied to the controlled device, and includes the following steps.
In step S11, in the case that the controlled device is in the hibernation state, in response to receiving the control instruction sent by the master device, it is determined whether the control instruction is the target control instruction.
In step S12, if the control command is the target control command, a wake-up signal is generated.
In step S13, the controlled device is woken up according to the wake-up signal.
In the present disclosure, a method for waking up a controlled device is applied to a controlled device, for example, an instruction determining module applied to the controlled device, where, when the controlled device is in a dormant state, the instruction determining module of the controlled device determines a received control instruction, and generates a wake-up signal again when the control instruction is a target control instruction, so as to wake up the controlled device, and a wake-up signal is not generated for a control instruction other than the target control instruction, filter an invalid control instruction, avoid the situation that the controlled device generates a wake-up signal due to receiving the invalid control instruction, and wake up the controlled device, thereby effectively reducing the overall power consumption of the controlled device.
It should be noted that the wake-up signal first wakes up the central processing unit in the controlled device, and then the central processing unit wakes up other components of the controlled device, so as to wake up the whole controlled device. Other components are for example a display screen of the controlled device.
In the present disclosure, the controlled device may be, for example, a television, an air conditioner, a smart speaker, or other smart devices. The present disclosure is not limited thereto. The master device is a remote control device for controlling the controlled device, for example, by infrared or bluetooth. The type of the remote control equipment is not limited in the disclosure, and the on/off of the controlled equipment can be controlled.
In the present disclosure, the controlled device is in the sleep state, that is, the STR (Suspend to RAM) state. Before the controlled device enters the STR state, the working data is stored in the memory. In this state, the power supply still supplies power to the most necessary devices such as the memory to ensure that data is not lost, while other devices are in an off state (e.g., a central processing unit, a display screen of the controlled device in the present disclosure) to reduce the power consumption of the whole device. Once the controlled device receives the target wake-up instruction, the device in the off state is woken up.
It should be noted that, when implementing the method, a communication connection needs to be established between the master device and the controlled device, and the communication connection may be, for example, a bluetooth connection, a WiFi connection, or the like. The present disclosure is not limited thereto.
In the present disclosure, the instruction determining module is a module that can receive a signal transmitted by the master device. For example, it may be a wireless module, a bluetooth module, etc. The present disclosure is not limited thereto. In the present disclosure, the target control instruction represents a control instruction that can wake up a central processor of the controlled device.
In one embodiment, fig. 2 is another flowchart illustrating a method for waking up a controlled device according to an exemplary embodiment. As shown in fig. 2, the method further comprises the steps of:
in step S10, in the case where the controlled device is in the hibernation state, a preset setting function is called and executed to set the target control instruction by the setting function.
In step S11, in the case that the controlled device is in the hibernation state, in response to receiving the control instruction sent by the master device, it is determined whether the control instruction is the target control instruction.
In step S12, if the control command is the target control command, a wake-up signal is generated.
In step S13, the controlled device is woken up according to the wake-up signal.
In the disclosure, in order to achieve the purpose of filtering invalid control instructions when the controlled device is in the dormant state, a preset setting function is called and executed to set a target control instruction when the controlled device is in the dormant state. Wherein the setting function can be set manually.
In one embodiment, fig. 3 is another flowchart illustrating a method of waking up a controlled device according to an example embodiment. As shown in fig. 3, the method further comprises the steps of:
in step S11, in the case that the controlled device is in the hibernation state, in response to receiving the control instruction sent by the master device, it is determined whether the control instruction is the target control instruction.
In step S12, if the control command is the target control command, a wake-up signal is generated.
In step S13, the controlled device is woken up according to the wake-up signal.
In step S14, a preset recovery function is called and executed to enable the function of generating a wake-up signal based on any control instruction by the recovery function.
In the present disclosure, in order for the controlled device to be normally controlled by the controlled device in the non-sleep state, that is, in the case where the controlled device is in the non-sleep state, the controlled device needs to respond to all control instructions. Therefore, after the controlled device is woken up, the instruction determining module of the controlled device needs to enable the function of generating the wake-up signal based on any control instruction by using the resume function, so as to ensure that the controlled device can be normally controlled by the main control device in the non-sleep state. Wherein the recovery function is set manually.
In one embodiment, both the recovery function and the set function may be set within a function library. Under the condition that the controlled equipment is in different states (a dormant state or a non-dormant state), the instruction determining module of the controlled equipment calls the corresponding function.
In one embodiment, the method further comprises: in the case where the control instruction is not the target control instruction, the control instruction is ignored, that is, an operation of generating the wake-up signal in response to the control instruction is not made.
In one embodiment, the method further comprises: and under the condition that the controlled equipment is in a dormant state, monitoring a target control instruction triggered by a target function key of the main control equipment so as to generate a wake-up signal when the target control instruction is monitored, so as to wake up the controlled equipment.
In this disclosure, the controlled device may monitor a target control instruction triggered by a target function key of the master control device when the controlled device is in a dormant state. And generating a wake-up signal to wake up the controlled device under the condition of monitoring the target control instruction. Under the condition, when the controlled device is in a dormant state, the main control device does not generate the target control instruction even if other keys except the target function key are triggered, so that the controlled device reduces the number of invalid control instructions, and the controlled device does not generate invalid wake-up signals, thereby avoiding the problem that a central processing unit of the controlled device is mistakenly awakened by the main control device, and effectively reducing the overall power consumption of the controlled device.
Specifically, in a possible implementation manner, in order to implement that only the target function key can be triggered to generate the control instruction (i.e., the target control instruction) when the controlled device is in the dormant state, the main control device controls other function keys of the main control device except the target function key to be in the disabled state when determining that the controlled device is in the dormant state, and correspondingly, the target function key is in the enabled state. The functional key marked as the disabled state is not triggered to generate a control instruction, and conversely, the functional key marked as the enabled state generates the control instruction when triggered.
It is understood that the target function key may be a physical function key or a virtual function key. The present disclosure is not limited thereto. When the target function key can be an entity function key, the detection that the target function key is pressed indicates that the target function key is triggered. When the target function key can be a virtual function key, it is detected that the target function key is touched, that is, the target function key is triggered.
It will be appreciated that the target function key may be, for example, a function key that characterizes an on-off function, such as a Power (Power) key.
In the present disclosure, the master device does not respond to the operation of the function key marked as the disabled state. The response is that when the pressing operation of the function key is detected, the main control device sends a control instruction corresponding to the function key to the controlled device. Correspondingly, the function key which needs to respond needs to be marked as the enabling state. Therefore, when the target function key marked as the enabling state is pressed, the main control device sends a target control instruction to the controlled device.
In an embodiment, after the master control device sends a target control instruction to the controlled device, the controlled device is woken up, and under the condition that the controlled device is in a woken-up state, the master control device controls all function keys in the master control device to be in an enabled state, so that the master control device normally controls the controlled device
In the present disclosure, in order to be normally controlled by the master control device after the controlled device is powered on, other functions are implemented. After the master control device sends a target control instruction to the controlled device, the master control device controls all the function keys to be in an enabling state so as to ensure that the master control device can make a corresponding response under the condition that any function key is pressed down, and sends a corresponding control instruction to the controlled device, so that the controlled device is controlled, and the problem that the function key of the master control device is not responded when the controlled device is started is solved.
In one embodiment, the master control device determines that the controlled device is in the dormant state in response to receiving a signal, which is fed back by the controlled device and used for representing that the controlled device is in the dormant state, so as to inform the controlled device that the controlled device is in the dormant state, and instruct the master control device to control other function keys except the target function key to be in an disabled state.
In a possible embodiment, the controlled device may be a device provided with a bluetooth module, such as a bluetooth remote control device, and correspondingly, the master device may also be a device provided with a bluetooth module. In this case, the method further includes: and the controlled equipment receives the control instruction through Bluetooth broadcasting.
Bluetooth is a wireless technology standard that enables short-range data exchange between fixed devices, mobile devices, and building personal area networks. In the disclosure, the controlled device receives the target control instruction through the bluetooth broadcast function of the bluetooth module carried by the controlled device.
It should be noted that the bluetooth of the controlled device serves as an instruction determining module of the controlled device.
The following description is given of an implementation of the method for waking up a controlled device based on that the master device and the controlled device are devices with bluetooth modules:
when the function key of the master device is pressed, the bluetooth module (e.g., a bluetooth chip) of the master device may generate a bluetooth broadcast packet, where the bluetooth broadcast packet includes information such as a target device identifier and a control instruction. The method comprises the steps that a Bluetooth module of a main control device broadcasts and sends a Bluetooth broadcast packet through a Bluetooth broadcast function, a controlled device receives a control instruction in the Bluetooth broadcast packet through a self instruction determining module (for example, a Bluetooth receiving chip) of the controlled device, whether the control instruction is a target control instruction is determined, the instruction determining module generates a wake-up signal and wakes up a central processing unit of the controlled device according to the signal under the condition that the control instruction is the target control instruction, and then the central processing unit wakes up the controlled device, for example, a display screen of the controlled device.
Wherein the target device identification is the identification of the device that can only receive the bluetooth broadcast packet (i.e. the controlled device in the present disclosure).
In one embodiment, the controlled device can also generate a wake-up signal to wake up the controlled device when monitoring a target control instruction triggered by a target function key of the main control device. Further, when the master control device is a device with a bluetooth module, the target control instruction corresponding to the target function key may be sent via bluetooth.
The following description is given of an implementation of the method for waking up a controlled device based on that the master device and the controlled device are devices with bluetooth modules:
when the target function key of the master control device is pressed, the bluetooth module of the master control device may generate a bluetooth broadcast packet, where the bluetooth broadcast packet includes information such as a target device identifier and a target control instruction. The master control device broadcasts and sends the bluetooth broadcast packet through a bluetooth broadcast function carried by the master control device, so as to ensure that the controlled device can receive a target control instruction in the bluetooth broadcast packet, the controlled device generates a wake-up signal when receiving the target control instruction, and the purpose of waking up the controlled device according to the signal, for example, waking up a display screen of the controlled device.
Wherein the target device identification is the identification of the device that can only receive the bluetooth broadcast packet (i.e. the controlled device in the present disclosure).
The present disclosure also provides a controlled device, comprising: the instruction determining module and the central processing unit;
the command determining module is used for responding to a received control command sent by a main control device when the controlled device is in a dormant state, determining whether the control command is a target control command, generating a wake-up signal and sending the wake-up signal to the central processing unit when the control command is the target control command, and waking up the central processing unit so as to enable the central processing unit to wake up the controlled device;
the master control device is used for controlling the controlled device.
Optionally, the instruction determining module is further configured to call and execute a preset setting function when the controlled device is in the dormant state, so as to set the target control instruction through the setting function.
Optionally, the instruction determining module is further configured to call and execute a preset recovery function after the controlled device is awakened, so as to enable, through the recovery function, a function of generating the wake-up signal based on any control instruction.
Optionally, the instruction determining module is further configured to ignore the control instruction if the control instruction is not the target control instruction.
Optionally, the instruction determining module is further configured to monitor a target control instruction triggered by a target function key of the master control device when the controlled device is in a dormant state, so that the instruction determining module generates a wake-up signal when monitoring the target control instruction and sends the wake-up signal to the central processing unit to wake up the central processing unit.
Optionally, the controlled device is a bluetooth terminal device, and the instruction determining module receives the control instruction through bluetooth broadcast.
With regard to the instruction determination module and the central processing unit included in the controlled device in the above embodiments, the specific manner in which the instruction determination module and the central processing unit perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
Fig. 4 is a block diagram illustrating a controlled device 400 according to an example embodiment. For example, the controlled device 400 may be a television, a smart speaker, or the like. Referring to fig. 4, the controlled device 400 may include one or more of the following components: a central processor 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a communication component 414, and an instruction determination module 416.
The instruction determination module 416 is used to complete all or part of the steps of the method for waking up the controlled device. For example, it may be an instruction determination module, which may be, for example, a bluetooth receiving chip.
The central processor 402 generally controls the overall operation of the controlled device 400, such as operations associated with powering on and off.
The memory 404 is configured to store various types of data to support the operation of the device 400 being controlled. Examples of such data include instructions for any application or method operating on controlled device 400. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 406 provides power to various components of the controlled device 400. Power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for controlled device 400.
The multimedia component 408 includes a screen that provides an output interface between the controlled device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). The screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a speaker for outputting audio signals.
The input/output interface 412 provides an interface between the central processor 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The communication component 414 is configured to facilitate communication between the controlled device 400 and other devices (e.g., a master device) in a wired or wireless manner. The controlled device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 414 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 414 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the controlled device 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described method of waking up the controlled device.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 404, including instructions executable by the instruction determination module 416 of the controlled device 400 to perform the above-described method of waking up the controlled device is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable controlled device, the computer program having code portions for performing the above-mentioned method of waking up the controlled device when executed by the programmable controlled device.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method provided in the present disclosure for applying to an instruction determination module of a controlled device to wake up the controlled device.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A controlled device, comprising: the instruction determining module and the central processing unit;
the command determining module is used for responding to a received control command sent by a main control device when the controlled device is in a dormant state, determining whether the control command is a target control command, generating a wake-up signal and sending the wake-up signal to the central processing unit when the control command is the target control command, and waking up the central processing unit so as to enable the central processing unit to wake up the controlled device;
the master control device is used for controlling the controlled device.
2. The controlled device according to claim 1, wherein the instruction determining module is further configured to call and execute a preset setting function to set the target control instruction through the setting function when the controlled device is in a sleep state.
3. The controlled device of claim 1, wherein the instruction determination module is further configured to call and execute a preset recovery function after the controlled device is woken up, so as to enable a function of generating the wake-up signal based on any control instruction by the recovery function.
4. The controlled device of any one of claims 1-3, wherein the instruction determination module is further configured to ignore the control instruction if the control instruction is not the target control instruction.
5. The controlled device according to any one of claims 1 to 3, wherein the instruction determining module is further configured to monitor a target control instruction triggered by a target function key of the main control device when the controlled device is in the sleep state, so that the instruction determining module generates a wake-up signal and sends the wake-up signal to the central processing unit when the target control instruction is monitored, so as to wake up the central processing unit.
6. The controlled device according to any one of claims 1 to 3, wherein the controlled device is a Bluetooth terminal device, and the command determining module receives the control command through Bluetooth broadcasting.
7. A method for waking up a controlled device, which is applied to the controlled device, the method comprises:
under the condition that the controlled device is in a dormant state, responding to a received control instruction sent by a main control device, and determining whether the control instruction is a target control instruction, wherein the main control device is used for controlling the controlled device;
generating a wake-up signal under the condition that the control instruction is the target control instruction;
and awakening the controlled equipment according to the awakening signal.
8. The method according to claim 7, wherein in a case that the controlled device is in the hibernation state, in response to receiving a control instruction sent by a master device, before determining whether the control instruction is a target control instruction, the method further includes:
and under the condition that the controlled equipment is in a dormant state, calling and executing a preset setting function so as to set the target control instruction through the setting function.
9. The method of claim 7, wherein after the controlled device is woken up, the method further comprises:
and calling and executing a preset recovery function so as to enable the function of generating the wake-up signal based on any control instruction through the recovery function.
10. The method according to any one of claims 7-9, further comprising:
and in the case that the control instruction is not the target control instruction, ignoring the control instruction.
11. The method according to any one of claims 7-9, further comprising:
and under the condition that the controlled equipment is in a dormant state, monitoring a target control instruction triggered by a target function key of the main control equipment so as to generate a wake-up signal when the target control instruction is monitored, so as to wake up the controlled equipment.
12. The method according to any one of claims 7-9, further comprising:
and receiving the control instruction through Bluetooth broadcasting.
13. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method of waking a controlled device according to any one of claims 7-12.
CN202011019511.XA 2020-09-24 2020-09-24 Controlled device, method for waking up controlled device and storage medium Pending CN112114887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011019511.XA CN112114887A (en) 2020-09-24 2020-09-24 Controlled device, method for waking up controlled device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011019511.XA CN112114887A (en) 2020-09-24 2020-09-24 Controlled device, method for waking up controlled device and storage medium

Publications (1)

Publication Number Publication Date
CN112114887A true CN112114887A (en) 2020-12-22

Family

ID=73800617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011019511.XA Pending CN112114887A (en) 2020-09-24 2020-09-24 Controlled device, method for waking up controlled device and storage medium

Country Status (1)

Country Link
CN (1) CN112114887A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113450798A (en) * 2021-06-29 2021-09-28 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus
CN114385252A (en) * 2021-12-21 2022-04-22 深圳Tcl新技术有限公司 Device control method, device, storage medium and electronic device
CN114466435A (en) * 2021-12-31 2022-05-10 广州极飞科技股份有限公司 Communication control method, slave computer and master-slave computer system
CN115278075A (en) * 2022-07-26 2022-11-01 浙江大华技术股份有限公司 Device control method, information processing method and device control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150006936A1 (en) * 2013-06-29 2015-01-01 Kyocera Document Solutions Inc. Communication device for processing target data quickly
CN106448678A (en) * 2012-05-29 2017-02-22 三星电子株式会社 Method and apparatus for executing voice command in electronic device
US20170060599A1 (en) * 2015-08-28 2017-03-02 Xiaomi Inc. Method and apparatus for awakening electronic device
CN107919124A (en) * 2017-12-22 2018-04-17 北京小米移动软件有限公司 Equipment awakening method and device
CN110010125A (en) * 2017-12-29 2019-07-12 深圳市优必选科技有限公司 A kind of control method of intelligent robot, device, terminal device and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106448678A (en) * 2012-05-29 2017-02-22 三星电子株式会社 Method and apparatus for executing voice command in electronic device
US20150006936A1 (en) * 2013-06-29 2015-01-01 Kyocera Document Solutions Inc. Communication device for processing target data quickly
US20170060599A1 (en) * 2015-08-28 2017-03-02 Xiaomi Inc. Method and apparatus for awakening electronic device
CN107919124A (en) * 2017-12-22 2018-04-17 北京小米移动软件有限公司 Equipment awakening method and device
CN110010125A (en) * 2017-12-29 2019-07-12 深圳市优必选科技有限公司 A kind of control method of intelligent robot, device, terminal device and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱诚;左辉;: "利用KMDF驱动程序实现USB设备的功耗控制", 计算机应用与软件, no. 12, 15 December 2012 (2012-12-15) *
李伟;沈绪榜;: "一种面向嵌入式处理器的昏睡子块唤醒方法", 计算机测量与控制, no. 02, 25 February 2015 (2015-02-25) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113450798A (en) * 2021-06-29 2021-09-28 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus
CN114385252A (en) * 2021-12-21 2022-04-22 深圳Tcl新技术有限公司 Device control method, device, storage medium and electronic device
CN114466435A (en) * 2021-12-31 2022-05-10 广州极飞科技股份有限公司 Communication control method, slave computer and master-slave computer system
CN114466435B (en) * 2021-12-31 2023-11-21 广州极飞科技股份有限公司 Communication control method, slave and master-slave system
CN115278075A (en) * 2022-07-26 2022-11-01 浙江大华技术股份有限公司 Device control method, information processing method and device control system

Similar Documents

Publication Publication Date Title
CN112114887A (en) Controlled device, method for waking up controlled device and storage medium
EP3136794B1 (en) Electronic equipment, method and device for waking up electronic equipment
EP3113549B1 (en) Method and device for waking up mcu chip
CN108966322B (en) Data transmission method, base station and terminal
US9430024B2 (en) Ultra low power apparatus and method to wake up a main processor
KR101920020B1 (en) Status Change Control Method and Electronic Device supporting the same
US20160378512A1 (en) Circuit, method, and device for waking up master mcu
EP3112979B1 (en) Method and device for waking up mcu
CN106959857B (en) Application control method and device of electronic equipment
WO2022206584A1 (en) Electronic device, display control method, display control apparatus and readable storage medium
EP3567502A1 (en) Startup processing method and apparatus for terminal device, and terminal device
CN112153214A (en) Terminal state control method and terminal
CN107734374B (en) Energy-saving method and device for remote controller and storage medium
CN115220557A (en) Power-on system, power-on method, readable storage medium and electronic device
CN112637937B (en) Energy-saving signal receiving method, energy-saving signal sending method and related equipment
CN110300447B (en) Control method and device
CN109688393B (en) Screen projection control method and first electronic device
CN107203377B (en) Mobile terminal and awakening method thereof
CN111818621A (en) Bluetooth device awakening method, device and system and electronic device
WO2018090735A1 (en) Method and apparatus for switching channels in smart interaction tablet
CN108681467B (en) System awakening method and terminal
CN106341733A (en) Smart TV power control method and apparatus
CN105188112A (en) Method and device for controlling dormant state
WO2023142764A1 (en) Wake-up method and apparatus for operating system, electronic device, and storage medium
US20210208556A1 (en) Method and device for processing data, 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