CN110012530B - Controller, control method and device thereof, storage medium and electric appliance - Google Patents

Controller, control method and device thereof, storage medium and electric appliance Download PDF

Info

Publication number
CN110012530B
CN110012530B CN201910262114.6A CN201910262114A CN110012530B CN 110012530 B CN110012530 B CN 110012530B CN 201910262114 A CN201910262114 A CN 201910262114A CN 110012530 B CN110012530 B CN 110012530B
Authority
CN
China
Prior art keywords
controller
state
currently
detecting whether
static state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910262114.6A
Other languages
Chinese (zh)
Other versions
CN110012530A (en
Inventor
林晟杰
谭泽汉
廖昌海
叶盛世
吴健文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910262114.6A priority Critical patent/CN110012530B/en
Publication of CN110012530A publication Critical patent/CN110012530A/en
Application granted granted Critical
Publication of CN110012530B publication Critical patent/CN110012530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C15/00Surveying instruments or accessories not provided for in groups G01C1/00 - G01C13/00
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a controller and a control method, a control device, a storage medium and an electric appliance thereof, wherein the method comprises the following steps: detecting whether the controller is in a static state currently; if the controller is detected to be in a static state, judging whether the time of the controller in the static state exceeds a preset time threshold value; and if the time of the controller in the static state exceeds the preset time threshold, enabling the controller to enter a dormant state. According to the scheme provided by the invention, when a user does not use the controller for a certain time, the controller automatically enters the dormant state, so that the energy consumption of the controller is reduced, and the cruising ability of the controller is improved.

Description

Controller, control method and device thereof, storage medium and electric appliance
Technical Field
The invention relates to the field of control, in particular to a controller, a control method and device thereof, a storage medium and an electric appliance.
Background
The magic cube controller is an intelligent controller, generally in a hexahedral shape, each surface corresponds to one operation mode, and the electric appliance can be controlled in one step by controlling the top of each surface. Under the existing technical scheme, the function integration of the remote controller of the electric appliance is realized, and the control mode of the remote controller to the electric appliance is redefined.
In the process of using the magic cube controller, if the electric appliance can be controlled at any time, the magic cube controller must be always in a standby state so as to be convenient for a user to use at any time, so that the energy consumption of the magic cube controller is large, and even the cruising ability of a common remote controller cannot be achieved.
Disclosure of Invention
The main objective of the present invention is to overcome the above-mentioned drawbacks of the prior art, and to provide a controller, a control method and device thereof, a storage medium, and an electrical appliance, so as to solve the problem that the controller in the prior art needs to be always in a standby state for a user to use at any time, which results in large energy consumption.
One aspect of the present invention provides a control method for a controller, including: detecting whether the controller is in a static state currently; if the controller is detected to be in a static state, judging whether the time of the controller in the static state exceeds a preset time threshold value; and if the time of the controller in the static state exceeds the preset time threshold, enabling the controller to enter a dormant state.
Optionally, the method further comprises: before detecting whether the controller is in a static state at present, detecting whether the controller and a user terminal are in a connection state; and under the condition that the controller is not connected with the user terminal, detecting whether the controller is in a static state currently.
Optionally, after causing the controller to enter the sleep state, the method further includes: detecting whether the controller is in a motion state currently; and if the controller is detected to be in the motion state, enabling the controller to exit the sleep state.
Optionally, before detecting whether the controller is currently in a motion state, the method further includes: detecting the state of a preset function of the controller; and under the condition that the preset function is in a preset state, detecting whether the controller is in a motion state currently.
Optionally, detecting whether the controller is currently in a static state includes: detecting whether the controller is in a static state currently or not through a gyroscope and/or an accelerometer which are arranged in the controller; and/or, detecting whether the controller is currently in a motion state, including: and detecting whether the controller is in a motion state currently or not through a gyroscope and/or an accelerometer built in the controller.
Optionally, the controller includes: a polyhedral controller; the connection mode of the controller and the user terminal comprises the following steps: bluetooth connection and/or WiFi connection.
Another aspect of the present invention provides a control apparatus of a controller, including: the first detection unit is used for detecting whether the controller is in a static state at present; the judging unit is used for judging whether the time of the controller in the static state exceeds a preset time threshold value or not if the first detecting unit detects that the controller is in the static state; and the control unit is used for enabling the controller to enter a dormant state if the judging unit judges that the time of the controller in the static state exceeds the preset time threshold.
Optionally, the method further comprises: the second detection unit is used for detecting whether the controller and the user terminal are in a connection state before the first detection unit detects whether the controller is in a static state currently; the first detection unit detects whether the controller is in a static state currently or not under the condition that the second detection unit detects that the controller is not connected with the user terminal.
Optionally, the first detecting unit is further configured to: after the control unit enables the controller to enter a dormant state, detecting whether the controller is in a motion state currently; the control unit is further configured to: and if the first detection unit detects that the controller is in a motion state, enabling the controller to exit the sleep state.
Optionally, the method further comprises: the third detection unit is used for detecting the state of the preset function of the controller before the first detection unit detects whether the controller is in the motion state currently; the first detection unit is further configured to: and under the condition that the third detection unit detects that the preset function is in a preset state, detecting whether the controller is in a motion state currently.
Optionally, the detecting, by the first detecting unit, whether the controller is currently in a static state includes: detecting whether the controller is in a static state currently or not through a gyroscope and/or an accelerometer which are arranged in the controller; and/or, the first detection unit detects whether the controller is currently in a motion state, and includes: and detecting whether the controller is in a motion state currently or not through a gyroscope and/or an accelerometer built in the controller.
Optionally, the controller includes: a polyhedral controller; the connection mode of the controller and the user terminal comprises the following steps: bluetooth connection and/or WiFi connection.
A further aspect of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the methods described above.
A further aspect of the invention provides a controller comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the program.
In a further aspect, the invention provides a controller comprising a control device of any one of the controllers described above.
In a further aspect, the invention provides an electrical appliance comprising a controller as described in any of the preceding.
According to the technical scheme of the invention, whether the controller is in a static state at present is detected; if the controller is in the static state, judging whether the time of the controller in the static state exceeds a preset time threshold, if the time of the controller in the static state exceeds the preset time threshold, enabling the controller to enter a dormant state, and enabling the controller to automatically enter the dormant state when a user does not use the controller for a certain time, so that the energy consumption of the controller is reduced, and the cruising ability of the controller is improved; furthermore, after the controller enters the sleep state, if the controller is detected to be in the motion state, the controller is awakened to exit the sleep state, so that the controller only needs to be in the motion state when a user needs to awaken the controller, and the operation is simple and humanized for the user; furthermore, the controller can be awakened by enabling the controller to be in a preset motion state, so that misoperation of a user is avoided; furthermore, the awakening function of the controller can be locked by opening the preset function, so that misoperation caused by the fact that children greed playing is avoided.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a method diagram illustrating an embodiment of a method for controlling a controller according to the present invention;
FIG. 2 is a method diagram of another embodiment of a method for controlling a controller provided by the present invention;
FIG. 3 is a flowchart illustrating an embodiment of determining whether to enter a sleep state for a controller according to the present invention;
FIG. 4 is a method diagram of a further embodiment of a method of controlling a controller provided by the present invention;
FIG. 5 is a method diagram of a further embodiment of a method of controlling a controller provided by the present invention;
FIG. 6 is a flowchart illustrating an embodiment of determining whether to exit the sleep state after the controller enters the sleep state;
FIG. 7 is a schematic structural diagram of an embodiment of a control device of the controller provided by the present invention;
FIG. 8 is a schematic structural diagram of another embodiment of a control device of the controller provided by the present invention;
fig. 9 is a schematic structural diagram of a control device of a controller according to still another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic method diagram of an embodiment of a control method of a controller according to the present invention. The controller may particularly be a polyhedral controller, for example, a hexahedral controller, for example, a magic cube controller.
As shown in fig. 1, according to an embodiment of the present invention, the control method of the controller includes at least step S110, step S120, and step S130.
Step S110, detecting whether the controller is currently in a static state.
In one specific embodiment, whether the controller is in a static state currently is detected through a gyroscope and/or an accelerometer built in the controller. For example, whether the controller is currently in a stationary state is detected by a six-axis sensor. Specifically, whether the controller is currently in a motion state may be detected, and if the controller is not currently in the motion state, the controller may be regarded as being in a stationary state. The motion state may specifically include at least one of displacement, rotation, and flipping. For example, displacement vector data of the controller is detected through a six-axis sensor, so that whether the controller generates displacement, rotation or overturning is calculated through a preset algorithm, and if the controller does not generate displacement, rotation or overturning, the controller is determined to be in a static state; or detecting whether the acceleration of the controller is zero through an accelerometer, determining whether the controller is in a static state, if the acceleration of the controller detected by the accelerometer is zero, determining that the controller is in the static state, and if the acceleration of the controller detected by the accelerometer is not zero, determining that the controller is in a motion state.
Step S120, if it is detected that the controller is in a static state, determining whether the time that the controller is in the static state exceeds a preset time threshold.
The time when the controller is in the static state, i.e. the time interval between the current time and the time when the controller was last in the motion state. That is, it is determined whether the interval between the current time and the time when the controller was last in the motion state exceeds the preset time threshold.
Step S130, if the time of the controller in the static state exceeds the preset time threshold, the controller enters a sleep state.
Specifically, if it is determined that the interval between the current time and the time when the controller was in the motion state last time exceeds the preset time threshold, it indicates that the time when the controller has exceeded the preset time threshold has not been used, and the controller may enter the sleep state. In a specific embodiment, a gyroscope and/or an accelerometer built in the controller are/is made to be in a first preset operation mode, and/or a communication module of the controller is made to be in a second preset operation mode. The first preset operating mode may specifically be that the gyroscope and/or the accelerometer only identify whether the controller is in a preset motion state, for example, only identify whether the controller is in a face-flip and/or rotation state, so as to reduce energy consumption of the gyroscope and/or the accelerometer; the second preset operating mode may specifically be a preset low power consumption mode of the communication module, where the low power consumption mode is, for example, to receive only a signal and not to send the signal, and the received power of the received signal is reduced to a preset power value.
According to the embodiment of the invention, when a user does not use the controller for a certain time, the controller can automatically enter the dormant state, so that the energy consumption of the controller is reduced, and the cruising ability of the controller is improved.
Fig. 2 is a schematic method diagram of another embodiment of a control method of a controller provided by the present invention. As shown in fig. 2, based on the above embodiments, according to another embodiment of the present invention, the control method of the controller further includes step S100.
Step S100, detecting whether the controller and the user terminal are in a connection state.
Specifically, in the case that it is detected that the controller is not connected to the user terminal, step S110 is executed, i.e. it is detected whether the controller is currently in a static state. The user terminal may specifically be a user terminal bound to the controller, and the connection may specifically be a wireless connection, where the connection mode includes, for example, a bluetooth connection and/or a WiFi connection. After the controller is connected to the user terminal, a control mode of the controller may be configured through the user terminal (e.g., a client APP installed in the user terminal), for example, a user may configure a control mode for each side of the controller through the user terminal, or set a corresponding control command when the controller is in different motion states (different operation actions are performed), for example, when an electrical appliance controlled by the controller is an air conditioner, the corresponding control command when the controller rotates while maintaining a predetermined face upward is set to be a temperature increase or decrease (e.g., a temperature increase corresponding to clockwise rotation and a temperature decrease corresponding to counterclockwise rotation), or the corresponding control command when the predetermined face of the controller or any face-up turn is set to be a switching of an operation mode, where the operation mode of the air conditioner includes, for example, a cooling mode, and a cooling mode, A heating mode and/or a dehumidification mode. The user terminal may specifically be a mobile terminal, such as a mobile phone.
When the controller is in a connection state with the user terminal, the controller does not enter a sleep state if the configuration of the control mode required to be performed by the user terminal on the operation of the controller is currently described. When the controller and the user terminal are not in a connected state, executing the control logic of the steps S110 to S130, that is, detecting whether the controller is currently in a static state, and determining whether to enable the controller to enter a sleep state according to whether the time of the controller in the static state exceeds a preset time threshold.
According to the embodiment of the invention, when the user uses the user terminal to configure the controller, whether the controller enters the dormant state or not is not judged, and further, the user can be prevented from entering the dormant state by mistake when the user configures the controller.
Fig. 3 is a flowchart illustrating an embodiment of determining whether to enable the controller to enter the sleep state, where fig. 3 is a flowchart illustrating an implementation of determining whether to enable the controller to enter the sleep state according to an embodiment of the present invention. As shown in fig. 3, it is first determined whether bluetooth communication between a controller and a bound user terminal is connected, if so, the controller returns to continuously determine without sleeping, if not, it continues to determine whether a time from the last action (last motion state) of the controller exceeds a preset time threshold, and if so, performs wake-up configuration on a six-axis sensor, where the wake-up configuration may be specifically a preset motion state configured to enable the controller to exit from a sleep state (i.e., wake-up), and the preset motion state includes, for example, face flipping and/or rotation, that is, when the six-axis sensor detects that the controller is executed with the face flipping and/or rotation, the controller is woken up to enable the controller to exit from the sleep state, and the wake-up configuration may be configured in advance and stored; after the six-axis sensor is awakened and configured, the six-axis sensor enters a dormant state, and the controller Bluetooth communication module enters the dormant state.
Fig. 4 is a method schematic diagram of a control method of a controller according to another embodiment of the present invention. As shown in fig. 4, according to another embodiment of the present invention, based on any of the above embodiments, the control method of the controller further includes step S150 and step S160.
Step S150, detecting whether the controller is currently in a motion state.
Step S160, if it is detected that the controller is in the motion state, the controller is caused to exit the sleep state.
Specifically, after the controller is put into a sleep state (step S130), whether the controller is currently in a motion state is detected, and if the controller is detected to be currently in the motion state, the controller is put out of the sleep state even though a gyroscope and/or an accelerometer built in the controller and/or a communication module of the controller are in a normal operation mode. In one specific embodiment, whether the controller is in the motion state currently is detected through a gyroscope and/or an accelerometer built in the controller. For example, whether the controller is currently in motion is detected by a six-axis sensor. The motion state may specifically include at least one of displacement, rotation, and flipping, i.e., the operation performed by the controller. Preferably, whether the controller is currently in a preset motion state is detected, and when the controller is currently in the preset motion state, the controller is made to exit from the sleep state. The preset motion state includes, for example, a face turning operation and/or a rotation operation, that is, when it is detected that the controller is subjected to a face turning operation or a rotation operation, the controller is woken up to exit the sleep state. When the controller is detected to be in the preset motion state currently, the operation purpose of the user can be identified according to the identified preset motion state, for example, when the controller is detected to be executed with a face turning operation, the upward face of the controller is identified to determine the operation purpose of the user, or when the controller is detected to be executed with a rotating operation, the clockwise rotation or the counterclockwise rotation is identified to determine the operation purpose of the user.
According to the embodiment of the invention, after the controller enters the dormant state, when the user needs to wake up the controller, the controller is only required to be in the motion state, so that the operation is simple for the user and the user is more humanized; further, awakening the controller can be awakened by enabling the controller to be in a preset motion state, namely, a user awakens the controller by carrying out preset operation actions on the controller, so that misoperation of the user can be avoided.
Fig. 5 is a schematic method diagram of a control method of a controller according to still another embodiment of the present invention. As shown in fig. 5, based on the above embodiments, the method may further include step S140.
Step S140, detecting a state of a preset function of the controller.
In one embodiment, before detecting whether the controller is currently in the motion state, the state of the preset function of the controller is detected, and if the preset function is in the preset state, the controller is detected whether the controller is currently in the motion state (step S150). The preset function may be, for example, a child lock function, and the preset state includes, for example, an off state. For example, in the case where the child lock function is turned on (i.e., the child lock is locked), the sleep state is continuously maintained, and in the case where the child lock function is turned off, it is detected whether the controller is currently in the motion state. Through setting up child lock, avoid children to right the controller carries out the maloperation.
According to the embodiment of the invention, the awakening function of the controller can be locked by starting the preset function, so that misoperation caused by the greedy playing of children is avoided.
Fig. 6 is a flowchart illustrating an embodiment of determining whether to exit from the sleep state after the controller enters the sleep state, where fig. 6 is a flowchart illustrating a specific implementation of determining whether to exit from the sleep state after the controller enters the sleep state. As shown in fig. 6, it is first determined whether the child lock flag is set, that is, whether the child lock function is turned on, and if the child lock flag is set (that is, the child lock function is turned on), the sleep state is saved; if the child lock flag is not set, then whether the controller is operated by face turning upwards is judged, if yes, the face is upwards identified, and therefore the operation purpose is identified, if the controller is not operated by face turning upwards, whether the controller is operated by rotation is judged, if yes, the controller is rotated clockwise or anticlockwise and upwards identified, and therefore the operation purpose is identified according to the clockwise rotation or anticlockwise rotation and upwards.
Fig. 7 is a schematic structural diagram of an embodiment of a control device of the controller provided by the present invention. As shown in fig. 7, the control device 100 of the controller includes: a first detection unit 110, a judgment unit 120 and a control unit 130.
The first detection unit 110 is used for detecting whether the controller is currently in a static state; the judging unit 120 is configured to, if the first detecting unit detects that the controller is in a static state, judge whether a time that the controller is in the static state exceeds a preset time threshold; the control unit 130 is configured to, if the determining unit determines that the time that the controller is in the static state exceeds the preset time threshold, enable the controller to enter a sleep state.
The first detection unit 110 detects whether the controller is currently in a stationary state. In one specific embodiment, whether the controller is in a static state currently is detected through a gyroscope and/or an accelerometer built in the controller. For example, whether the controller is currently in a stationary state is detected by a six-axis sensor. Specifically, whether the controller is currently in a motion state may be detected, and if the controller is not currently in the motion state, the controller may be regarded as being in a stationary state. The motion state may specifically include at least one of displacement, rotation, and flipping. For example, displacement vector data of the controller is detected through a six-axis sensor, so that whether the controller generates displacement, rotation or overturning is calculated through a preset algorithm, and if the controller does not generate displacement, rotation or overturning, the controller is determined to be in a static state; or detecting whether the acceleration of the controller is zero through an accelerometer, determining whether the controller is in a static state, if the acceleration of the controller detected by the accelerometer is zero, determining that the controller is in the static state, and if the acceleration of the controller detected by the accelerometer is not zero, determining that the controller is in a motion state.
If the first detecting unit 110 detects that the controller is in a static state, the determining unit 120 determines whether the time that the controller is in the static state exceeds a preset time threshold. The time when the controller is in the static state, i.e. the time interval between the current time and the time when the controller was last in the motion state. That is, it is determined whether the interval between the current time and the time when the controller was last in the motion state exceeds the preset time threshold.
If the determining unit 120 determines that the time that the controller is in the static state exceeds the preset time threshold, the controlling unit 130 makes the controller enter the sleep state. Specifically, if the determining unit 120 determines that the interval between the current time and the time when the controller was in the motion state last time exceeds the preset time threshold, which indicates that the controller has not been used for the time exceeding the preset time threshold, the control unit 130 may enable the controller to enter the sleep state. In a specific embodiment, a gyroscope and/or an accelerometer built in the controller are/is made to be in a first preset operation mode, and/or a communication module of the controller is made to be in a second preset operation mode. The first preset operating mode may specifically be that the gyroscope and/or the accelerometer only identify whether the controller is in a preset motion state, for example, only identify whether the controller is in a face-flip and/or rotation state, so as to reduce energy consumption of the gyroscope and/or the accelerometer; the second preset operating mode may specifically be a preset low power consumption mode of the communication module, where the low power consumption mode is, for example, to receive only a signal and not to send the signal, and the received power of the received signal is reduced to a preset power value.
Fig. 8 is a schematic structural diagram of another embodiment of the control device of the controller provided by the present invention. As shown in fig. 8, based on the above-mentioned embodiment, the control device 100 of the controller further includes a second detection unit 102.
A second detecting unit 102, configured to detect whether the controller and the user terminal are in a connected state before the first detecting unit 110 detects whether the controller is in a static state currently. Accordingly, the first detecting unit 110 detects whether the controller is currently in a static state when the second detecting unit 102 detects that the controller is not connected to the user terminal.
The user terminal may specifically be a user terminal bound to the controller, and the connection may specifically be a wireless connection, where the connection mode includes, for example, a bluetooth connection and/or a WiFi connection. After the controller is connected to the user terminal, a control mode of the controller may be configured through the user terminal (e.g., a client APP installed in the user terminal), for example, a user may configure a control mode for each side of the controller through the user terminal, or set a corresponding control command when the controller is in different motion states (different operation actions are performed), for example, when an electrical appliance controlled by the controller is an air conditioner, the corresponding control command when the controller rotates while maintaining a predetermined face upward is set to be a temperature increase or decrease (e.g., a temperature increase corresponding to clockwise rotation and a temperature decrease corresponding to counterclockwise rotation), or the corresponding control command when the predetermined face of the controller or any face-up turn is set to be a switching of an operation mode, where the operation mode of the air conditioner includes, for example, a cooling mode, and a cooling mode, A heating mode and/or a dehumidification mode. The user terminal may specifically be a mobile terminal, such as a mobile phone.
When the second detecting unit 102 detects that the controller and the user terminal are in a connected state, it indicates that configuration of a control mode that needs to be performed on the operation of the controller by the user terminal is currently performed, and then the controller does not enter a sleep state. When the second detecting unit 102 detects that the controller and the user terminal are not in a connected state, the first detecting unit 110 detects whether the controller is in a static state currently, and if the first detecting unit 110 detects that the controller is in the static state, the control unit 130 controls whether the controller enters a sleep state according to whether the time that the controller is in the static state exceeds a preset time threshold.
Optionally, based on any one of the above embodiments, according to another embodiment of the present invention, the first detecting unit 110 is further configured to detect whether the controller is currently in a motion state after the controller is put into the sleep state by the control unit 130; the control unit 130 is further configured to exit the controller from the sleep state if the first detection unit 110 detects that the controller is in the motion state.
Specifically, after the control unit 130 makes the controller enter the sleep state, the first detection unit 110 detects whether the controller is currently in the motion state, and if the first detection unit 110 detects that the controller is currently in the motion state, the control unit 130 makes the controller exit the sleep state, even if the gyroscope and/or the accelerometer built in the controller and/or the communication module of the controller are in the normal operation mode. In a specific embodiment, the first detection unit 110 detects whether the controller is currently in a motion state through a gyroscope and/or an accelerometer built in the controller. For example, whether the controller is currently in motion is detected by a six-axis sensor. The motion state may specifically include at least one of displacement, rotation, and flipping, i.e., the operation performed by the controller. Preferably, whether the controller is currently in a preset motion state is detected, and when the controller is currently in the preset motion state, the controller is made to exit from the sleep state. The preset motion state includes, for example, a face turning operation and/or a rotation operation, that is, when it is detected that the controller is subjected to a face turning operation or a rotation operation, the controller is woken up to exit the sleep state. When the controller is detected to be in the preset motion state currently, the operation purpose of the user can be identified according to the identified preset motion state, for example, when the controller is detected to be executed with a face turning operation, the upward face of the controller is identified to determine the operation purpose of the user, or when the controller is detected to be executed with a rotating operation, the clockwise rotation or the counterclockwise rotation is identified to determine the operation purpose of the user.
Fig. 9 is a schematic structural diagram of a control device of a controller according to still another embodiment of the present invention. As shown in fig. 9, based on the above-described embodiment, the control device 100 of the controller further includes a third detection unit 140.
The third detecting unit 140 is configured to detect a state of a preset function of the controller before the first detecting unit 110 detects whether the controller is currently in a motion state; the first detecting unit 110 is further configured to detect whether the controller is currently in a motion state or not when the third detecting unit detects that the preset function is in a preset state.
In one embodiment, the third detecting unit 140 detects the state of the preset function of the controller before the first detecting unit 110 detects whether the controller is currently in the motion state, and the first detecting unit 110 detects whether the controller is currently in the motion state only when the third detecting unit 140 detects that the preset function is in the preset state. The preset function may be, for example, a child lock function, and the preset state includes, for example, an off state. For example, in the case where the child lock function is turned on (i.e., the child lock is locked), the sleep state is continuously maintained, and in the case where the child lock function is turned off, it is detected whether the controller is currently in the motion state. Through setting up child lock, avoid children to right the controller carries out the maloperation.
The invention also provides a storage medium corresponding to the control method of the controller, on which a computer program is stored, which program, when executed by a processor, carries out the steps of any of the methods described above.
The invention also provides a controller corresponding to the control method of the controller, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of any one of the methods.
The invention also provides a controller corresponding to the control device of the controller, which comprises the control device of any one of the controllers.
The invention also provides an electric appliance corresponding to the control device of the controller, which comprises any one of the controllers.
Therefore, the scheme provided by the invention detects whether the controller is in a static state at present; if the controller is in the static state, judging whether the time of the controller in the static state exceeds a preset time threshold, if the time of the controller in the static state exceeds the preset time threshold, enabling the controller to enter a dormant state, and enabling the controller to automatically enter the dormant state when a user does not use the controller for a certain time, so that the energy consumption of the controller is reduced, and the cruising ability of the controller is improved; furthermore, after the controller enters the sleep state, if the controller is detected to be in the motion state, the controller is awakened to exit the sleep state, so that the controller only needs to be in the motion state when a user needs to awaken the controller, and the operation is simple and humanized for the user; furthermore, the controller can be awakened by enabling the controller to be in a preset motion state, so that misoperation of a user is avoided; furthermore, the awakening function of the controller can be locked by opening the preset function, so that misoperation caused by the fact that children greed playing is avoided.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (8)

1. A control method of a controller, comprising:
detecting whether the controller is in a static state currently;
if the controller is detected to be in a static state, judging whether the time of the controller in the static state exceeds a preset time threshold value;
if the time of the controller in the static state exceeds the preset time threshold, enabling the controller to enter a dormant state;
after causing the controller to enter a sleep state, further comprising:
detecting whether the controller is in a motion state currently;
if the controller is detected to be in a motion state, enabling the controller to exit the sleep state;
before detecting whether the controller is currently in a motion state, the method further comprises the following steps:
detecting a state of a child lock function of the controller;
under the condition that the child lock function is in a closed state, detecting whether the controller is in a motion state currently;
before detecting whether the controller is in a static state at present, detecting whether the controller and a user terminal are in a connection state;
and under the condition that the controller is not connected with the user terminal, detecting whether the controller is in a static state currently.
2. The method of claim 1,
detecting whether the controller is currently in a static state, including: detecting whether the controller is in a static state currently or not through a gyroscope and/or an accelerometer which are arranged in the controller;
and/or the presence of a gas in the gas,
detecting whether the controller is currently in a motion state, including:
and detecting whether the controller is in a motion state currently or not through a gyroscope and/or an accelerometer built in the controller.
3. A control apparatus of a controller, characterized by comprising:
the first detection unit is used for detecting whether the controller is in a static state at present;
the judging unit is used for judging whether the time of the controller in the static state exceeds a preset time threshold value or not if the first detecting unit detects that the controller is in the static state;
the control unit is used for enabling the controller to enter a dormant state if the judging unit judges that the time of the controller in the static state exceeds the preset time threshold;
the first detection unit is further configured to: after the control unit enables the controller to enter a dormant state, detecting whether the controller is in a motion state currently;
the control unit is further configured to: if the first detection unit detects that the controller is in a motion state, enabling the controller to exit the sleep state;
the third detection unit is used for detecting the state of the child lock function of the controller before the first detection unit detects whether the controller is in the motion state currently;
the first detection unit is further configured to: under the condition that the third detection unit detects that the child lock function is in a closed state, detecting whether the controller is in a motion state currently;
the second detection unit is used for detecting whether the controller and the user terminal are in a connection state before the first detection unit detects whether the controller is in a static state currently;
the first detection unit detects whether the controller is in a static state currently or not under the condition that the second detection unit detects that the controller is not connected with the user terminal.
4. The apparatus of claim 3,
the first detecting unit, which detects whether the controller is currently in a static state, includes: detecting whether the controller is in a static state currently or not through a gyroscope and/or an accelerometer which are arranged in the controller;
and/or the presence of a gas in the gas,
the first detection unit detects whether the controller is currently in a motion state, and includes:
and detecting whether the controller is in a motion state currently or not through a gyroscope and/or an accelerometer built in the controller.
5. A storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of claims 1-2.
6. A controller comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor implementing the steps of the method of any of claims 1-2 when executing the program.
7. A controller comprising the control device of the controller according to any one of claims 3 to 4.
8. An electrical appliance comprising a controller as claimed in claim 6 or 7.
CN201910262114.6A 2019-04-02 2019-04-02 Controller, control method and device thereof, storage medium and electric appliance Active CN110012530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910262114.6A CN110012530B (en) 2019-04-02 2019-04-02 Controller, control method and device thereof, storage medium and electric appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910262114.6A CN110012530B (en) 2019-04-02 2019-04-02 Controller, control method and device thereof, storage medium and electric appliance

Publications (2)

Publication Number Publication Date
CN110012530A CN110012530A (en) 2019-07-12
CN110012530B true CN110012530B (en) 2021-06-25

Family

ID=67169473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910262114.6A Active CN110012530B (en) 2019-04-02 2019-04-02 Controller, control method and device thereof, storage medium and electric appliance

Country Status (1)

Country Link
CN (1) CN110012530B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109945411B (en) 2019-03-25 2020-05-26 珠海格力电器股份有限公司 Control method and device of controller, storage medium and controller
CN112445139A (en) * 2019-08-30 2021-03-05 珠海格力电器股份有限公司 Intelligent magic cube controller
CN112612231A (en) * 2020-12-16 2021-04-06 珠海格力电器股份有限公司 Scene switching method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7639923B2 (en) * 2002-09-25 2009-12-29 Panasonic Corporation Reproduction device, optical disc, recording medium, program, and reproduction method
CN103902015A (en) * 2014-04-08 2014-07-02 苏州本控电子科技有限公司 Handheld remote controller with power saving function and power saving method thereof
CN103944616A (en) * 2014-03-14 2014-07-23 宇龙计算机通信科技(深圳)有限公司 Remote control method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100164745A1 (en) * 2008-12-29 2010-07-01 Microsoft Corporation Remote control device with multiple active surfaces
CN103500018A (en) * 2013-09-30 2014-01-08 乐视致新电子科技(天津)有限公司 Remote control and electricity saving method thereof
CN103699189A (en) * 2013-12-27 2014-04-02 中国华录集团有限公司 Intelligent remote control unit
CN104132430B (en) * 2014-08-18 2017-08-08 珠海格力电器股份有限公司 Control method, device and air-conditioning remote control
CN104390313A (en) * 2014-11-21 2015-03-04 珠海格力电器股份有限公司 Device control method and system and air condition controller
CN105828187A (en) * 2016-03-10 2016-08-03 乐视致新电子科技(天津)有限公司 Intelligent playing limiting method and device, intelligent terminal and playing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7639923B2 (en) * 2002-09-25 2009-12-29 Panasonic Corporation Reproduction device, optical disc, recording medium, program, and reproduction method
CN103944616A (en) * 2014-03-14 2014-07-23 宇龙计算机通信科技(深圳)有限公司 Remote control method and device
CN103902015A (en) * 2014-04-08 2014-07-02 苏州本控电子科技有限公司 Handheld remote controller with power saving function and power saving method thereof

Also Published As

Publication number Publication date
CN110012530A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110012530B (en) Controller, control method and device thereof, storage medium and electric appliance
TWI553554B (en) Adaptive sensing for early booting of devices
EP2703945B1 (en) An apparatus and method for waking up a processor
JP6014248B2 (en) Alarm realizing method in power-off state, mobile terminal, program, and recording medium
CN109945411B (en) Control method and device of controller, storage medium and controller
EP3190771B1 (en) Method and device for managing instant communication application program, and mobile terminal thereof
CN107911919B (en) Control device and method of remote controller, storage medium, remote controller and equipment
CN106765937B (en) Air conditioner and sleep control method thereof
WO2014032473A1 (en) Standby method for set top box, standby control device for set top box, and set top box
CN111965991A (en) Authority adjusting method and device of intelligent control switch, intelligent control switch and storage medium
CN105744604B (en) WIFI module power consumption control device and method based on android system
CN108302705A (en) A kind of air conditioning control method, device, storage medium and air-conditioning
CN112781188A (en) Air conditioner control method and device, storage medium and controller
CN105202725A (en) Control method for enabling air-conditioner to automatically enter sleep mode, system for enabling air-conditioner to automatically enter sleep mode and air-conditioner
CN111854116A (en) Control method and device of controller, storage medium and controller
CN106094765A (en) A kind of intelligent domestic system
CN110943350A (en) WIFI smart jack, based on WIFI smart jack's computer watchdog system
CN111007732A (en) Air conditioner vision wake-up-free identification method and system based on scale change and intelligent home
JPH04194538A (en) Air conditioner control method
WO2018010363A1 (en) Screen display control method and mobile terminal
CN110686372A (en) Air conditioner control method and device and air conditioner
CN114838485A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN112594879A (en) Air conditioner, humidification control method and device in sleep mode of air conditioner and storage medium
CN110457072A (en) Anti- locking system hangs dead method, apparatus, equipment and computer-readable medium
CN111128163A (en) Controller of voice electric appliance, control method and device thereof 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
GR01 Patent grant
GR01 Patent grant