WO2019015368A1 - 一种待机方法、装置及遥控器 - Google Patents

一种待机方法、装置及遥控器 Download PDF

Info

Publication number
WO2019015368A1
WO2019015368A1 PCT/CN2018/083763 CN2018083763W WO2019015368A1 WO 2019015368 A1 WO2019015368 A1 WO 2019015368A1 CN 2018083763 W CN2018083763 W CN 2018083763W WO 2019015368 A1 WO2019015368 A1 WO 2019015368A1
Authority
WO
WIPO (PCT)
Prior art keywords
standby
processing unit
system processing
remote control
sleep state
Prior art date
Application number
PCT/CN2018/083763
Other languages
English (en)
French (fr)
Inventor
程昌南
Original Assignee
深圳市道通智能航空技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市道通智能航空技术有限公司 filed Critical 深圳市道通智能航空技术有限公司
Publication of WO2019015368A1 publication Critical patent/WO2019015368A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] 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/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • H04W52/0235Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal where the received signal is a power saving command
    • 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

Definitions

  • the present invention relates to the field of remote control technologies, and in particular, to a standby method, device, and remote controller.
  • Unmanned aerial vehicles are referred to as "unmanned aerial vehicles” and are mainly unmanned aircraft operated by radio remote control equipment and self-provided program control devices.
  • UAVs have a wide range of applications in aerial photography, agriculture, plant protection, micro-self-timer, express delivery, disaster relief, observation of wildlife, surveillance of infectious diseases, mapping, news reporting, power inspection, disaster relief, film and television shooting, manufacturing romance, etc. .
  • the inventors have found that the following problems exist in the prior art: at present, in order to improve the performance of the remote control of the drone, most of the smart operating systems are added to the remote controller through the intelligent operating system and the remote controller.
  • the basic remote control function is combined to enhance or expand the performance and functions of the entire remote control.
  • the intelligent operating system has a relatively large power requirement for the remote control, thereby causing poor battery life of the remote control, and how to improve the remote control. Endurance has become an urgent problem to be solved.
  • an embodiment of the present invention provides a standby method, a device, and a remote controller, which can reduce the standby current of the remote controller and reduce the standby power consumption of the remote controller.
  • an embodiment of the present invention provides a standby method, which is applied to a remote controller, the remote controller includes a system processing unit, and the method includes: receiving a standby instruction; and shutting down the system according to the standby instruction.
  • a display screen in the first peripheral of the unit or all of the first peripherals of the system processing unit are turned off and the system processing unit is brought into a standby state.
  • the standby state includes a normal sleep state and a deep sleep state.
  • the method further includes: acquiring a standby level of the system processing unit, wherein the standby level includes a normal standby level and a deep standby level; if the standby level is a normal standby level, turning off the system processing unit a display screen in the first peripheral device and causing the system processing unit to enter a normal sleep state; if the standby level is a deep standby level, turning off all first peripherals of the system processing unit, and causing the system The processing unit enters a deep sleep state.
  • shutting down all the first peripherals of the system processing unit includes: bringing the first peripheral into a sleep state, or turning off the power of the first peripheral.
  • an embodiment of the present invention further provides a standby method, which is applied to a remote controller, where the remote controller includes a system processing unit and a remote control unit, wherein the method includes: receiving a standby instruction, according to the The standby command causes the system processing unit and the remote control unit to enter a standby state.
  • the standby state includes a normal sleep state and a deep sleep state.
  • the method further includes: acquiring a standby level of the system processing unit, wherein the standby level includes a normal standby level and a deep standby level; if the standby level is a normal standby level, turning off the system processing unit a display screen in the first peripheral device and causing the system processing unit to enter a normal sleep state; if the standby level is a deep standby level, turning off all first peripherals of the system processing unit, and causing the system The processing unit enters a deep sleep state.
  • the bringing the remote control unit into a standby state comprises: closing a second peripheral of the remote control unit, and bringing the remote control unit into a sleep state.
  • the method further includes: receiving a wake-up instruction; waking up the remote control unit according to the wake-up instruction; waking up the system processing unit if the total sleep duration of the remote control unit in a sleep state is greater than or equal to a preset shutdown time length, and Sending a shutdown command to the system processing unit, so that the system processing unit and the remote control unit perform a shutdown process; if the total sleep duration of the remote control unit in a sleep state is less than a preset shutdown duration, causing the remote control unit to re-enter sleep State, waiting for wake up
  • an embodiment of the present invention further provides a standby device, which is applied to a remote controller, the remote controller includes a system processing unit, and the device includes: a receiving module, configured to receive a standby instruction, and a standby module, configured to: And according to the standby instruction, turning off a display screen in the first peripheral of the system processing unit or turning off all first peripherals of the system processing unit, and causing the system processing unit to enter a standby state.
  • the standby state includes a normal sleep state and a deep sleep state.
  • the standby device further includes an acquiring module, wherein the acquiring module is configured to acquire a standby level, wherein the standby level includes a normal standby level and a deep standby level; and the standby module is specifically configured to: if the standby Level is a normal standby level, the display screen in the first peripheral of the system processing unit is turned off, and the system processing unit is put into a normal sleep state; if the standby level is a deep standby level, the system processing unit is turned off All of the first peripherals and cause the system processing unit to enter a deep sleep state.
  • the acquiring module is configured to acquire a standby level, wherein the standby level includes a normal standby level and a deep standby level
  • the standby module is specifically configured to: if the standby Level is a normal standby level, the display screen in the first peripheral of the system processing unit is turned off, and the system processing unit is put into a normal sleep state; if the standby level is a deep standby level, the system processing unit is turned
  • shutting down all the first peripherals of the system processing unit includes: bringing the first peripheral into a sleep state, or turning off the power of the first peripheral.
  • an embodiment of the present invention further provides a standby device, which is applied to a remote controller, the remote controller includes a system processing unit and a remote control unit, and the standby device includes: a receiving module, configured to receive a standby command; And a module, configured to enable the system processing unit and the remote control unit to enter a standby state according to the standby instruction.
  • the standby state includes a normal sleep state and a deep sleep state.
  • the standby device further includes: an acquiring module, configured to acquire a standby level of the system processing unit, where the standby level includes a normal standby level and a deep standby level; if the standby level is a normal standby level, Turning off a display screen in the first peripheral of the system processing unit, and causing the system processing unit to enter a normal sleep state; if the standby level is a deep standby level, turning off all first peripherals of the system processing unit, And causing the system processing unit to enter a deep sleep state.
  • an acquiring module configured to acquire a standby level of the system processing unit, where the standby level includes a normal standby level and a deep standby level
  • the standby level is a normal standby level, Turning off a display screen in the first peripheral of the system processing unit, and causing the system processing unit to enter a normal sleep state
  • the standby level is a deep standby level, turning off all first peripherals of the system processing unit, And causing the system processing unit to enter a
  • the bringing the remote control unit into the standby state comprises: closing the second peripheral of the remote control unit, and bringing the remote control unit into a sleep state.
  • the standby device further includes:
  • a second receiving module configured to receive a wake-up command
  • a wake-up module for waking up the remote control unit
  • a shutdown module configured to wake up the system processing unit if the total sleep duration of the remote control unit is in a sleep state is greater than or equal to a preset shutdown time, and send a shutdown instruction to the system processing unit to cause the system processing unit And performing the shutdown process, and causing the remote control unit to perform a shutdown process; if the total sleep duration of the remote control unit in the sleep state is less than the preset shutdown duration, the remote control unit is re-entered into the sleep state, waiting for the wakeup.
  • an embodiment of the present invention further provides a remote controller including a first peripheral device; a system processor connected to the first peripheral device; a memory connected to the system processor, the memory storage There are instructions executable by the system processor that are executed by the system processor to enable the system processor to perform the methods described above.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer executable instructions when the computer executable instructions are The system processor executes to cause the system processor to perform the method as described above.
  • an embodiment of the present invention further provides a remote controller including a system processor, a microprocessor, a memory, and a system processor and a microprocessor, wherein the memory is stored by the system.
  • the processor enters a standby state, and is operative to enable the microprocessor to perform the step of receiving the standby command to cause the microprocessor to enter a standby state in accordance with the standby command.
  • system processor further performs the steps of: acquiring a standby level of the system processing unit, wherein the standby level includes a normal standby level and a deep standby level; if the standby level is a normal standby level, shutting down the a display screen in the first peripheral of the system processor, and causing the system processor to enter a normal sleep state; if the standby level is a deep standby level, all first peripherals of the system processor are turned off, and The system processor is brought into a deep sleep state.
  • microprocessor performs the steps of turning off the second peripheral of the microprocessor and putting the microprocessor into a sleep state.
  • the microprocessor further performs the steps of: receiving a wake-up instruction; waking up the microprocessor according to the wake-up instruction; if the total sleep duration of the microprocessor in the sleep state is greater than or equal to a preset shutdown duration, the wake-up a system processor, and sending a shutdown command to the system processor to cause the system processor to cause the microprocessor to perform a shutdown process; if the microprocessor is in a sleep state, the total sleep duration is less than a preset shutdown The duration causes the microprocessor to go back to sleep and wait for wake-up.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium, wherein the non-transitory computer-readable storage medium stores computer-executable instructions when the computer
  • the executable instructions are executed by the system processor and the microprocessor such that the system processor performs the steps of: receiving a standby instruction, causing the system processor to enter a standby state according to the standby instruction, and, to cause the micro
  • the processor is operative to: receive the standby command, and cause the microprocessor to enter a standby state according to the standby instruction.
  • the beneficial effects of the embodiment of the present invention are: different from the prior art, when receiving the standby instruction, the embodiment of the present invention causes the power consumption unit, the system processing unit, and the remote control unit in the remote controller to enter the standby state, and the phase Compared with the way that the remote control device enters the standby mode only when one of the system processing unit and the remote control unit is in standby mode, the standby current of the remote controller of the embodiment of the invention is smaller, which reduces the standby power consumption of the remote controller, and is advantageous for extending the battery of the remote controller. Life time.
  • Figure 1 is a schematic view of a first embodiment of a remote controller of the present invention
  • FIG. 2 is a flow chart of realizing automatic shutdown of a remote controller in the embodiment of the remote controller of the present invention
  • Figure 3 is a schematic view showing a first embodiment of the standby device of the present invention.
  • Figure 4 is a schematic view showing a second embodiment of the standby device of the present invention.
  • Figure 5 is a schematic view showing a second embodiment of the remote controller of the present invention.
  • Figure 6 is a schematic view showing a third embodiment of the remote controller of the present invention.
  • Figure 7 is a flow chart showing a first embodiment of the method for standby according to the present invention.
  • Figure 8 is a flow chart showing a second embodiment of the method for standby according to the present invention.
  • Figure 9 is a flow chart showing a third embodiment of the standby method of the present invention.
  • Fig. 10 is a flow chart showing the execution of standby according to different standby levels in the third embodiment of the standby method of the present invention.
  • Figure 11 is a flow chart showing a fourth embodiment of the standby method of the present invention.
  • FIG. 1 is a schematic diagram of a first embodiment of a remote controller according to the present invention.
  • the remote controller 20 includes a system processing unit 21, a remote control unit 22, and a power supply unit 23.
  • the power supply unit 23 includes a battery 231 and a power management unit 232.
  • the battery 231 is responsible for providing power.
  • the power management unit 232 is responsible for distributing power to components in the remote controller 20 and performing power distribution management.
  • the power management unit 232 It can be a power management chip, such as PN8024R chip, PN8024A chip, MP2307DN chip, and so on.
  • the system processing unit 21 includes a system processor 212 and a first peripheral device 211 attached to the system processor 212.
  • the remote control unit 22 includes a microprocessor 221 and a second peripheral device 222 attached to the microprocessor 221.
  • the system processing unit 21 is configured to run a smart operating system, such as: Linux, Android, or IOS.
  • the remote control unit 22 is configured to implement a basic remote control function, and the system processing unit 21 and the remote control unit 22 are communicatively connected, and the two work in coordination to enhance the remote controller. Features and performance.
  • the first peripheral device 211 refers to an external device controlled by the system processor 212 except the remote control unit 22, for example, a fuel gauge, a GPS, a magnetometer, a USB BOOST, and a USB.
  • second peripheral 222 refers to an external device controlled by microprocessor 221 in addition to system processor 212, including on-chip peripherals and off-chip peripherals
  • a joystick, a button, an LED indicator, a vibration motor, a data transmission module, an image module, etc. since the image module is controlled by the system processor 212 to be controlled by the microprocessor 221, the image module can be returned Within the scope of the first peripheral 211 of the system processor 212, it can also fall within the scope of the second peripheral 222 of the microprocessor 221.
  • the system processing unit 21 and the remote control unit 22 In order to increase the battery life of the remote controller 20, when the remote controller 20 is triggered to stand by, that is, when the system processing unit 21 and the remote control unit 22 receive the standby command, the system processing unit 21 and the remote control unit 22 enter the standby state according to the standby command. After the system processing unit 21 and the remote control unit 22 enter standby, the system processing unit 21 and the remote control unit 22 only need a small operating current, and the power consumption of the battery 231 is relatively small, compared to only the system processing unit 21 and the remote control unit 22 In one mode of entering the standby mode, the standby current of the remote controller 20 in the standby mode of the embodiment of the present invention is smaller, the standby current of the remote controller is reduced overall, and the power consumption of the remote controller during standby is reduced.
  • system processing unit 21 and the remote control unit 22 are in standby, not only the system processor 212 of the system processing unit 21 but also the microprocessor 221 of the remote control unit 22 are put into the standby state, and the two are corresponding to each other. It is also possible to perform a corresponding shutdown process to minimize the standby current of the remote control. Specifically, the system processing unit 21 stands by and the remote control unit 22 executes the standby flow as follows:
  • the system processor 212 suspends the currently running process, the system processor 212 turns off the display screen in the first peripheral device 211 of the system processing unit 21 or turns off all of the first peripheral devices 211, and the system processing unit 21 enters a standby state.
  • the system processing unit 21 enters a standby state, so that the system processing unit 21 turns off the power-consuming peripherals as much as possible in the standby state to reduce the standby current as much as possible.
  • the system processing unit 21 saves current by entering standby, instead of directly shutting down, which is advantageous for quickly recovering the system processing unit 21, solving the problem that the system processing unit 21 is turned on slowly, and the user experience is better.
  • the above standby state includes a normal sleep state and a deep sleep state.
  • the system processor 212 turns off all the first peripheral devices 211 in at least two ways: 1.
  • the first peripheral device 211 is put into a sleep state, and the power of the first peripheral device 211 is turned off.
  • the first way to turn off the first peripheral device is to facilitate quick recovery of the system processing unit 21, but the first peripheral device 211 still needs a small current to maintain its startup state when sleeping, and therefore, the power saving effect is not as good as the first Two ways of directly turning off the power of the first peripheral device 211.
  • the first peripheral device 211 is powered off or enters a sleep state, and can be configured to be configurable, and the user configures itself according to actual conditions, or starts according to each first peripheral device 211.
  • the speed of the first peripheral device 211 that is fast to start is set to turn off the power, and the first peripheral device 211 that is slow to start is set to sleep to balance the demand between the system processing unit 21 for reducing power consumption and fast recovery.
  • the GPIO General Purpose Input Output
  • the system processor 212 sends a shutdown enable signal to the first power control terminal 233 to stop the power management unit 231 from supplying power to the first peripheral device 211, thereby turning off the power of the first peripheral device 211.
  • the system processor 212 can also cause the power management unit 232 to resume powering the first peripheral device 211 by transmitting a turn-on enable signal to the first power control terminal 233.
  • the system processor 212 can also control the power of the first peripheral device 211 by other means, and details are not described herein again.
  • the standby level may include a normal standby level and a deep standby level, which will be described below as an example.
  • the system processor 212 is further configured to: when the standby mode is triggered, acquire the standby level, and when the standby level is the deep standby level, turn off all the first peripheral devices 211 of the system processing unit 21, and the system processing unit 21 enters the deep sleep. State; when the standby level is only the normal standby level, the display device in the first peripheral device 211 of the system processing unit 21 is turned off, and the system processing unit 21 enters the normal sleep state. At deep standby, all of the first peripherals 211 are turned off, and the system processing unit 21 enters a deep sleep state, and the system processing unit 21 has a standby current that is at a minimum, but the overall wake-up time of the system processing unit 21 is greater than the wake-up duration of the normal standby.
  • the standby level can also be pre-arranged and associated with the trigger mode of triggering standby.
  • Different trigger modes represent different standby levels. For example, press the Power button of the remote control to trigger the deep standby level, and press the volume + and volume simultaneously. - The key triggers the normal standby level.
  • the remote controller it is also possible to extend the battery life of the remote controller by setting a trigger mode for triggering the standby of the remote controller, for example, when the remote controller is not operated for a long time, the standby is triggered. Or, when the battery power reaches a low battery threshold, the standby is triggered. While the detection triggers the remote controller to stand by, the receiving standby command can be performed by any one of the remote control unit and the system processing unit, and the party receiving the standby command sends a standby command to the other party so that both parties receive the standby command.
  • the number of system processors 212 may be one or more. If there are multiple system processors 212, at the normal standby level, only one of the system processing units 21 may be in a normal working state to monitor important. The work task, other system processors are in a stopped state to save power; at the deep standby level, all system processors 212 are in a stopped state to maximize power savings.
  • the remote control unit 22 enters the standby state including: the microprocessor 221 is configured to turn off the second peripheral device 222 and enter a sleep state.
  • the second peripheral device 222 is turned off, so that the remote control unit 22 turns off the power-consuming peripheral device in the standby state, and reduces the standby current of the remote control unit 22.
  • the microprocessor 221 is also set to wake up the input of the entire remote controller, the second peripheral that triggers the input wake-up will not be turned off.
  • the GPIO General Purpose Input Output
  • the microprocessor 221 controls the power of the second peripheral device 222 through the second current control terminal.
  • the remote controller 20 Although the overall standby current of the remote controller 20 is relatively small in the standby state of the remote control unit 22 and the system processing unit 21, the remote controller 20 still consumes power. If the remote controller 20 is in the standby state for a long time, the remote controller 20 will also The battery is fully drained. In order to avoid the situation where the remote controller 20 is running out of battery 232, the remote controller 20 also performs total standby duration detection, and performs shutdown processing when the total standby duration is greater than or equal to the preset shutdown duration. It can be understood that in other embodiments, the shutdown process can also be performed when the battery power reaches a low battery threshold.
  • FIG. 2 in order to detect the total standby duration as an example, a flowchart for realizing automatic shutdown of the remote controller. As shown, it includes:
  • Step 301 Configure an RTC (real time clock) real-time clock as a wake-up source of the microprocessor 221.
  • Step 302 Calibrate the real time clock and start the real time clock
  • Step 303 The microprocessor 221 enters a sleep state.
  • the real-time clock After the real-time clock is configured as the wake-up source of the microprocessor, the real-time clock periodically outputs a wake-up instruction to the microprocessor 221, and the microprocessor 221 is woken up by the wake-up instruction.
  • the microprocessor can receive the wake-up of the real-time clock in addition to the real-time clock wake-up command. If the microprocessor 221 has two wake-up sources, the microprocessor 221 The wakeup source judgment is also required when waking up, and different operations are performed according to different wakeup sources. Further, the input wake-up can be generated by pressing a physical button on the remote control, and the physical button that generates the wake-up of the input can be set to be configurable.
  • Step 304 The microprocessor 221 receives the wake-up instruction, and after being woken up, determines whether the wake-up source of the wake-up microprocessor 221 is a real-time clock or an input wake-up. If it is a real-time clock, it proceeds to step 305, otherwise, proceeds to step 310.
  • Step 305 determining whether the total sleep duration of the microprocessor 221 in the sleep state is greater than or equal to the preset shutdown duration, and if so, proceeding to step 306, otherwise returning to step 303;
  • Step 306 wake up the system processor 212
  • Step 307 After waking up the system processor 212, sending a shutdown instruction to the system processor 212 to cause the system processor 212 to perform shutdown processing on the system processing unit 21;
  • system processor 212 Since the system processor 212 cannot receive other instructions than the wake-up command when the system processor 212 is in the sleep state, it is even more incapable of performing operations on other instructions than the wake-up instruction. Therefore, when the system processor 212 is in the sleep state, The shutdown process of the processing unit cannot be performed, and the system processor 212 needs to be awake first, and then the shutdown command is sent to the system processor 212.
  • the system processor 212 since the system processor 212 is required to wake up for a certain period of time, when the system processor 212 is in the process of waking up, the system processor 212 cannot receive the shutdown command. Therefore, after the microprocessor 221 sends the wake-up command to the system processor 212, The shutdown command is sent delayed, wherein the delay time of the microprocessor 221 delaying the sending of the shutdown command matches the length of time required for the system processor 212 to wake up.
  • the system processor 212 can return an acknowledgment command to the microprocessor 221, and the microprocessor 221 determines that the system processor 212 has been woken up based on the acknowledgment command. After that, send the shutdown command again.
  • Step 308 Execute canceling the real-time clock as a cancel operation of the wake-up source of the microprocessor, and restore the real-time clock to the state before the standby;
  • Step 309 Perform shutdown processing on the remote control unit, and control the power management unit to turn off the total power, and the remote controller is turned off.
  • the total standby duration detection is performed by waking up the microprocessor 221, thereby performing the total standby duration detection with the lowest power consumption, which is advantageous for reducing Standby power consumption of the remote control.
  • the microprocessor 221 is preferably a low power microcontroller.
  • Step 310 Wake up the system processor 221, restore the system processing unit 21;
  • Step 311 Perform cancellation of the wake-up source of the microprocessor to cancel the real-time clock, and restore the real-time clock to the state before the standby;
  • the real-time clock is only used as the wake-up source of the microprocessor when the remote controller is in the standby state.
  • the real-time clock needs to be canceled as the wake-up source of the microprocessor, and before returning to standby. State to avoid affecting the use of the real-time clock by other components of the remote control.
  • Step 312 Resume the second peripheral device 222 and transfer to normal operation
  • the power consumption unit, the system processing unit 21 and the remote control unit 22 in the remote controller are all put into a standby state, compared to the system processing unit 21 and the remote control when the remote controller is in standby.
  • the standby current of the remote controller of the embodiment of the invention is smaller, which reduces the standby power consumption of the remote controller, and is advantageous for extending the battery life of the remote controller.
  • FIG. 3 is a schematic diagram of a first embodiment of a standby device according to the present invention.
  • the standby device 40 is applied to the above-described remote controller, and the standby device 40 includes a receiving module 401 and a standby module 402.
  • the receiving module 401 is configured to receive a standby instruction.
  • the standby module 402 turns off the display screen in the first peripheral of the system processing unit or turns off all the first peripherals of the system processing unit according to the standby instruction, and causes the system processing unit to enter the standby state.
  • the system processing unit enters the standby state mainly refers to the system processor in the system processing unit enters a standby state.
  • the standby state includes a normal sleep state and a deep sleep state.
  • the system processing unit When all the first peripherals in the system processing unit in the remote controller are turned off, the system processing unit enters a standby state, so that the system processing unit turns off the power-consuming peripherals as much as possible in the standby state, and reduces the system processor as much as possible. Standby current to minimize the standby current of the remote control.
  • the first peripheral device is a component in the system processing unit, wherein the first peripheral device can be a fuel gauge, a GPS, a magnetometer, a USB BOOST, a USB hub, an audio player, a Bluetooth communicator, and a WIFI communication module. and many more.
  • the manner in which all of the first peripherals of the system processing unit are turned off includes two modes of bringing the first peripheral into a sleep state and turning off the power of the first peripheral.
  • the GPIO of the system processor is connected to the first power control terminal of the power management unit for controlling the power of the first peripheral, and the power of the first peripheral is turned off mainly by The power control terminal sends a shutdown enable signal to turn off the power of the first peripheral.
  • the standby level includes the normal standby level and the deep standby level as an example.
  • the system processing unit further includes an acquisition module 403.
  • the obtaining module 403 is configured to acquire a standby level.
  • the standby module 402 is specifically configured to close the display screen in the first peripheral of the system processing unit if the standby level is the normal standby level, and cause the system processing unit to enter the normal sleep state, or close if the standby level is the deep standby level.
  • the system processes all of the first peripherals of the unit and causes the system processing unit to enter a deep sleep state.
  • system processing unit in this embodiment is the same as the system processing unit in the embodiment of the remote controller.
  • system processing unit in this embodiment reference may be made to the remote controller embodiment. Repeat them one by one.
  • the standby module when the receiving module receives the standby instruction, the standby module turns off the display screen in the first peripheral of the system processing unit or turns off all the first peripherals of the system processing unit according to the standby instruction, and makes the system The processing unit enters a standby state including a normal sleep state and a deep sleep state, so that the system processing unit turns off the power-consuming peripherals as much as possible in the standby state, and reduces the standby current of the system processing unit.
  • FIG. 4 is a schematic diagram of a second embodiment of the standby device of the present invention.
  • the standby device is applied to the above-described remote controller, and the standby device includes a first receiving module 501 and a standby module 502.
  • the first receiving module 501 is configured to receive a standby command
  • the standby module 502 causes the system processing unit and the remote control unit to enter a standby state according to the standby instruction.
  • the power consumption units in the remote controller can all enter the standby state, and only one of the system processing unit and the remote control unit enters standby mode when the remote controller is in standby.
  • the remote control of the remote controller of the invention has smaller standby current, reduces the standby power consumption of the remote controller, and is beneficial to prolonging the battery life of the remote controller.
  • the standby device further includes an acquisition module 503.
  • the obtaining module 503 is configured to acquire a standby level of the system processing unit, where the standby level includes a normal standby level and a deep standby level.
  • the standby module 502 is specifically configured to: enter the standby state of the system processing unit: if the standby level is a normal standby level, turn off the display screen in the first peripheral of the system processing unit, and cause the system processing unit to enter the normal sleep state, or if The standby level is the deep standby level, which shuts down all first peripherals of the system processing unit and puts the system processing unit into a deep sleep state.
  • bringing the remote control unit into the standby state comprises: turning off the second peripheral of the remote control unit, and bringing the remote control unit into a sleep state, by turning off the power consumption peripherals in the remote control unit, and bringing the remote control unit into a sleep state, thereby reducing the standby of the remote control unit.
  • Current extend the battery life of the remote control.
  • the remote control unit is also provided with input wake-up, in the standby state, the peripheral device that triggers the input of the remote control unit to wake up cannot be turned off, and needs to be in a normal working state.
  • the device further includes a second receiving module 504.
  • the second receiving module 504 is configured to receive a wake-up instruction.
  • the wake-up module 505 is configured to wake up the microprocessor according to the wake-up instruction
  • the shutdown module 506 is configured to: if the total sleep duration of the remote control unit in the sleep state is greater than or equal to the preset shutdown duration, wake up the system processing unit, and send a shutdown command to the system processing unit.
  • the remote control unit So that the system processing unit performs the shutdown process, and the remote control unit also performs the shutdown process, or if the total sleep time of the remote control unit in the sleep state is less than the preset shutdown time, the remote control unit is re-entered into the sleep state, waiting for the wake-up.
  • the main purpose of the remote control unit being awakened is to perform total standby duration detection.
  • the remote unit wake-up source detection is also required, and the remote control unit performs different operations according to different wake-up sources, for example, configuring the real-time clock and the input wake-up as the wake-up source of the remote control unit. After the remote control unit is woken up, and it is determined that the wakeup source is a real time clock, the total standby duration detection is entered, and if the input wakes up, the entire remote controller is woken up.
  • remote controller in the embodiment is the same as the remote controller in the remote controller embodiment.
  • remote controller embodiment for other structures and functions of the remote controller, reference may be made to the remote controller embodiment, and details are not described herein again.
  • the standby module 502 when the first receiving module 501 receives the standby instruction, causes the remote control unit and the system processing unit to enter a standby state according to the standby instruction, and causes the remote control processing unit and the remote control unit to enter the standby state.
  • the standby current of the remote controller of the embodiment of the invention is smaller than the manner in which only one of the system processing unit and the remote control unit enters standby when the remote controller is in standby. Reduces the standby power consumption of the remote control, which is beneficial to extend the battery life of the remote control.
  • FIG. 5 is a schematic diagram of a first embodiment of a remote controller according to the present invention.
  • the remote controller 60 includes a system processor 601, a first peripheral device 602, and a memory 603, wherein the system processor 601 and the first peripheral device 602 and The memories 603 can be connected by a bus or other means.
  • the memory 603 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the standby method in the embodiment of the present invention.
  • Module for example, receiving module 401, acquisition module 403, standby module 402 shown in FIG. 3.
  • the system processor 601 executes various functional applications and data processing of the remote controller by executing non-volatile software programs, instructions, and modules stored in the memory 603, that is, implementing the standby method in the above-described method embodiments.
  • the one or more modules are stored in the memory 603, and when executed by the one or more system processors 601, perform the steps in the first embodiment of the following standby method, for example, performing the above described diagram
  • the memory 603 in the above embodiment may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; and the storage data area may be stored according to the use of the standby device. Data, etc. Further, the memory 603 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the memory 603 can optionally include a memory remotely located relative to the system processor 601 that can be connected to the standby device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Embodiments of the present application provide a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more system processors, eg, executing The method steps 801 to 802 in FIG. 7 described above, the method step 801 to the method 804 in FIG. 8, and the functions of the receiving module 401, the obtaining module 403, and the standby module 402 shown in FIG.
  • the embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware.
  • One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the computer program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • FIG. 6 is a schematic diagram of a first embodiment of a remote controller according to the present invention.
  • the remote controller 70 includes a system processor 701, a first peripheral device 702, a second peripheral device 703, a microprocessor 704, and a memory 705.
  • the system processor 701 and the first peripheral device 702 and the memory 705 can be connected by a first bus or other manner, and the microprocessor 704 and the second peripheral device 703 and the memory 703 can pass through the second bus or other manners. Connection, when the first bus and the second bus can be one bus, or can be independent buses.
  • the memory 603 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the standby method in the embodiment of the present invention.
  • Module for example, first receiving module 501, acquisition module 503, standby module 502 shown in FIG. 4.
  • the system processor 701 and the microprocessor 704 perform various functional applications and data processing of the remote controller by executing non-volatile software programs, instructions, and modules stored in the memory 705, that is, implementing the standby method in the above method embodiment .
  • the one or more modules are stored in the memory 705, and when executed by the system processor 701 and the microprocessor 705, perform the steps in the first embodiment of the following standby method, for example, performing the above described Method 901 to method 902 in FIG. 9, method step 901 to method step 906 in FIG. 11, first receiving module 501, obtaining module 502, standby module 502, and second receiving module 504 shown in FIG.
  • Embodiments of the present application provide a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more system processors, eg, executing Method 901 to method 902 in FIG. 9 described above, method step 901 to method 906 in FIG. 11, first receiving module 501, obtaining module 502, standby module 502, and second receiving shown in FIG.
  • the memory 705 in the above embodiment may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; and the storage data area may be stored according to the use of the standby device. Data, etc. Further, the memory 705 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 705 can optionally include memory remotely located relative to system processor 701 and microprocessor 704, which can be connected to the standby device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware.
  • One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the computer program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • FIG. 7 is a flowchart of a first embodiment of a standby method according to the present invention.
  • the method for standby is applied to the remote controller, and the method includes:
  • Step 801 Receive a standby instruction.
  • the standby command is used to instruct the remote controller to enter standby mode, and the manner of triggering the standby command is not specifically limited, and may be initiated by the remote controller actively, for example, when the remote controller is not operated for a long time, the standby device is actively triggered, or may be passively triggered. For example, the user presses the power button of the remote control to trigger the standby command.
  • Step 802 Turn off the display screen in the first peripheral of the system processing unit or turn off all the first peripherals of the system processing unit according to the standby instruction, and bring the system processing unit into a standby state.
  • the standby state includes normal sleep. State and deep sleep state.
  • the first peripheral enters a sleep state, which is beneficial for quickly recovering the system processing unit, but the first peripheral still needs a small current to maintain its normal operation when sleeping, and therefore, the power saving effect is not as good as directly closing the first peripheral.
  • the first peripheral device when the system processing unit enters the standby state, the first peripheral device also turns off the power or goes to sleep, and can be set to be configurable, and the user configures itself according to actual conditions. In deep sleep, turning off all of the first peripherals of the system processing unit allows the system processing unit to turn off the power-consuming peripherals as much as possible in the standby state to minimize the standby current of the remote control.
  • FIG. 8 is a flowchart of the second embodiment of the standby method of the present invention.
  • the method further includes:
  • Step 803 Acquire a standby level of the system processing unit, where the standby level includes a normal standby level and a deep standby level.
  • Step 804 If the standby level is the normal standby level, turn off the display screen in the first peripheral of the system processing unit, and bring the system processing unit into the normal sleep state;
  • the standby level can be generated simultaneously when the standby command is triggered, and is predefined. For example, when the remote controller is working normally, press Power to trigger the deep standby, and press and hold the volume + button to trigger the normal standby.
  • Step 802 is specifically: if the standby level is the deep standby level, all first peripherals of the system processing unit are turned off, and the system processing unit is brought into a deep sleep state.
  • the standby instruction upon receiving the standby instruction, according to the standby instruction, turning off the display screen in the first peripheral of the system processing unit or turning off all the first peripherals of the system processing unit, and causing the system processing unit to enter including ordinary
  • the standby state such as the sleep state and the deep sleep state, enables the system processing unit to turn off the power-consuming peripherals as much as possible in the standby state, and reduce the standby current of the system processing unit.
  • FIG. 9 is a flowchart of a third embodiment of a standby method according to the present invention. The method is applied to the remote controller, and the method includes:
  • Step 901 Receive a standby instruction.
  • the standby command is used to indicate that the remote controller enters a standby state, wherein the standby command can be received by one of the system processing units, and the method of receiving the standby command sends the standby command to the other party so that both parties receive the standby command.
  • Step 902 According to the standby instruction, the system processing unit and the remote control unit are all put into a standby state.
  • the power consumption unit, the system processing unit and the remote control unit in the remote controller are all put into a standby state, and only one of the system processing unit and the remote control unit enters standby mode when the remote controller is in standby mode.
  • the remote controller of the embodiment of the invention has a smaller standby current, which reduces the standby power consumption of the remote controller, and is advantageous for extending the battery life of the remote controller.
  • a plurality of standby levels can also be set for the system processing unit, and the remote controller enters different standby levels according to different standby requirements.
  • the method for the unit at the system to enter the standby state includes:
  • Step 9031 Acquire a standby level
  • Step 9032 determining whether the standby level is a deep standby level or a normal standby level, and if it is a deep standby level, proceeding to step 9033, otherwise proceeding to step 9034,
  • Step 9033 Turn off the display device in the first peripheral device, and cause the system processing unit to enter a normal sleep state.
  • Step 9034 Turn off all first peripherals of the system processing unit and cause the system processing unit to enter a deep sleep state.
  • the remote controller can enter different standby levels according to different standby requirements.
  • the level of the standby level can be bound in advance to the trigger mode of the standby device that triggers the remote controller.
  • the user does not trigger the normal standby when the remote controller is not used for a long time, or press and hold the POWER button to trigger the deep standby, and press the volume + button at the same time.
  • the volume-key triggers normal standby and so on.
  • the system processing unit enter standby to save energy, rather than directly shutting down, it is beneficial to quickly restore the system processing unit, solve the problem that the system processing unit is turned on slowly, and can well balance the system processing unit in power saving and quick start. The demand between the two.
  • the first peripheral enters a sleep state, which is beneficial for quickly recovering the system processing unit, but the first peripheral still needs a small current to maintain its normal operation when sleeping, and therefore, the power saving effect is not as good as directly closing the first peripheral.
  • bringing the remote control unit into a standby state includes: turning off the second peripheral of the remote control unit, and putting the remote control unit into a sleep state. By turning off the second peripheral of the remote control unit, it is beneficial to reduce the standby current of the remote control unit.
  • FIG. 11 is a fourth embodiment of the standby method of the present invention.
  • the difference between this embodiment and the standby method is that the method includes:
  • Step 903 Receive a wake-up instruction
  • Step 904 Wake up the remote control unit according to the wakeup instruction
  • Step 905 determining whether the total sleep duration of the remote control unit in the sleep state is greater than or equal to the preset shutdown duration, and if yes, proceeding to step 9096; otherwise, causing the micro remote control unit to enter the sleep state again;
  • Step 909 wake up the system processing unit in the remote controller, and send a shutdown instruction to the system processor, so that the system processor performs a shutdown process, and causes the microprocessor to perform a shutdown process;
  • the remote controller can also automatically turn off the file to avoid the battery running out of standby.
  • the wake-up command can be generated by the real-time clock of the remote controller.
  • the real-time clock When the real-time clock generates a wake-up command, when the remote controller is turned off or completely awake, the real-time clock needs to be unconfigured as the wake-up source of the microprocessor to avoid Production conflicts.
  • the microprocessor can also receive wake-up of the input of the entire remote controller. For example, when the remote controller is in the standby state, press the Power trigger input to wake up, and the input wake-up is directly input to Microprocessor GPIO port. If the remote control unit has multiple wake-up modes, the wake-up source judgment is also required when the remote control unit wakes up, and different operations are performed according to different wake-up sources.
  • the power consumption unit, the system processing unit and the remote control unit in the remote controller are all put into a standby state, compared to only the system processing unit and the remote control unit when the remote controller is in standby mode.
  • the standby current of the remote controller of the embodiment of the invention is smaller, which reduces the standby power consumption of the remote controller, and is advantageous for extending the battery life of the remote controller.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Selective Calling Equipment (AREA)
  • Power Sources (AREA)

Abstract

一种待机方法、装置及遥控器,遥控器(20)包括系统处理单元(21)和遥控单元(22),其中,系统处理单元(21)和遥控单元(22)通信连接,当接收到待机指令时,使该系统处理单元21和遥控单元22均进入待机状态。通过该方式能够降低遥控器的待机电流,降低遥控器的待机功耗。

Description

一种待机方法、装置及遥控器
申请要求于2017年7月18日申请的、申请号为201710586705.X、申请名称为“一种待机方法、装置及遥控器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及遥控技术领域,特别是涉及一种待机的方法、装置及遥控器。
背景技术
无人飞行器简称“无人机”,主要是利用无线电遥控设备和自备的程序控制装置操纵的不载人飞机。无人机在航拍、农业、植保、微型自拍、快递运输、灾难救援、观察野生动物、监控传染病、测绘、新闻报道、电力巡检、救灾、影视拍摄、制造浪漫等等领域具有广泛的应用。
在实现本申请过程中,发明人发现现有技术中存在如下问题:目前,为了提升无人机遥控器的性能,大多是都在遥控器中加入智能操作系统,通过智能操作系统与遥控器原有基础遥控功能相结合,来提升或扩展了整个遥控器的性能和功能,但是,智能操作系统对遥控器电量需求比较大,由此造成遥控器的电池续航能力较差,如何提高遥控器的续航能力成为迫切需要解决的问题。
发明内容
为解决以上技术问题,本发明实施例提供一种待机方法、装置及遥控器,其能够降低遥控器的待机电流,以及降低遥控器的待机功耗。
为解决上述技术问题,本发明实施例提供一种待机方法,应用于遥控器,所述遥控器包括系统处理单元,所述方法包括:接收待机指令; 根据所述待机指令,关闭所述系统处理单元的第一外设中的显示屏或关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入待机状态。
进一步地,所述待机状态包括普通休眠状态和深度休眠状态。
进一步地,所述方法还包括:获取所述系统处理单元的待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;如果所述待机级别为普通待机级别,关闭所述系统处理单元的第一外设中的显示屏,并且使所述系统处理单元进入普通休眠状态;如果所述待机级别为深度待机级别,关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入深度休眠状态。
进一步地,所述关闭所述系统处理单元的所有第一外设,包括:使所述第一外设进入休眠状态,或者,关闭所述第一外设的电源。
为解决上述技术问题,本发明实施例还提供一种待机方法,应用于遥控器,所述遥控器包括系统处理单元及遥控单元,其特征在于,所述方法包括:接收待机指令,根据所述待机指令,使所述系统处理单元及遥控单元均进入待机状态。
进一步地,所述待机状态包括普通休眠状态和深度休眠状态。
进一步地,所述方法还包括:获取所述系统处理单元的待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;如果所述待机级别为普通待机级别,关闭所述系统处理单元的第一外设中的显示屏,并且使所述系统处理单元进入普通休眠状态;如果所述待机级别为深度待机级别,关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入深度休眠状态。
进一步地,所述使所述遥控单元进入待机状态,包括:关闭所述遥控单元的第二外设,并且使所述遥控单元进入休眠状态。
进一步地,所述方法还包括:接收唤醒指令;根据所述唤醒指令唤醒遥控单元;如果所述遥控单元处于休眠状态的总休眠时长大于或者等于预设关机时长,唤醒所述系统处理单元,并向所述系统处理单元发送关机指令,以使所述系统处理单元及遥控单元执行关机处理;如 果所述遥控单元处于休眠状态的总休眠时长小于预设关机时长,使所述遥控单元重新进入休眠状态,等待唤醒
为解决上述技术问题,本发明实施例还提供一种待机装置,应用于遥控器,所述遥控器包括系统处理单元,所述装置包括:接收模块,用于接收待机指令,待机模块,用于根据所述待机指令,关闭所述系统处理单元的第一外设中的显示屏或关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入待机状态。
进一步地,所述待机状态包括普通休眠状态和深度休眠状态。
进一步地,所述待机装置还包括获取模块;所述获取模块,用于获取待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;所述待机模块具体用于:如果所述待机级别为普通待机级别,关闭所述系统处理单元的第一外设中的显示屏,并且使所述系统处理单元进入普通休眠状态;如果所述待机级别为深度待机级别,关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入深度休眠状态。
进一步地,所述关闭所述系统处理单元的所有第一外设包括:使所述第一外设进入休眠状态,或者,关闭所述第一外设的电源。
为解决上述技术问题,本发明实施例还提供一种待机装置,应用于遥控器,所述遥控器包括系统处理单元及遥控单元,所述待机装置包括:接收模块,用于接收待机指令;待机模块,用于根据所述待机指令,使所述系统处理单元及遥控单元均进入待机状态。
进一步地,所述待机状态包括普通休眠状态和深度休眠状态。
进一步地,所述待机装置还包括:获取模块,用于获取所述系统处理单元的待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;如果所述待机级别为普通待机级别,关闭所述系统处理单元的第一外设中的显示屏,并且使所述系统处理单元进入普通休眠状态;如果所述待机级别为深度待机级别,关闭所述系统处理单元所有第一外设,并且使所述系统处理单元进入深度休眠状态。
进一步地,所述使遥控单元进入待机状态包括:关闭所述遥控单元 的第二外设,并使所述遥控单元进入休眠状态。
进一步地,,待机装置,还包括:
第二接收模块,用于接收唤醒指令,
唤醒模块,用于唤醒所述遥控单元,
关机模块,用于如果所述遥控单元处于休眠状态的总休眠时长大于或者等于预设关机时长,唤醒所述系统处理单元,并且向所述系统处理单元发送关机指令,以使所述系统处理单元执行关处理,以及使所述遥控单元执行关机处理;如果所述遥控单元处于休眠状态的总休眠时长小于预设关机时长,使所述遥控单元重新进入休眠状态,等待唤醒。
为解决上述技术问题,本发明实施例还提供一种遥控器,包括第一外设;系统处理器,与所述第一外设连接;存储器,与所述系统处理器连接,所述存储器存储有可被所述系统处理器执行的指令,所述指令被所述系统处理器执行,以使所述系统处理器能够执行如上所述的方法。
为解决上述技术问题,本发明实施例还提供一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被系统处理器执行时,以使所述系统处理器执行如上所述的方法。
为解决上述技术问题,本发明实施例还提供一种遥控器,包括系统处理器;微处理器;存储器,与所述系统处理器及微处理器连接,所述存储器存储有可被所述系统处理器及微处理器执行的指令,所述指令被所述系统处理器及微处理器执行,以使所述系统处理器执行以下步骤:接收待机指令,根据所述待机指令,使所述系统处理器进入待机状态,以及,以使所述微处理器能够执行以下步骤:接收所述待机指令,根据所述待机指令,使所述微处理器进入待机状态。
进一步地,所述系统处理器还执行以下步骤:获取所述系统处理单元的待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;如果所述待机级别为普通待机级别,关闭所述系统处理器的第一外设中的显示屏,并且使所述系统处理器进入普通休眠状态;如果所述待机级别为深度待机级别,才关闭所述系统处理器所有第一外设,并且使所述 系统处理器进入深度休眠状态。
进一步地,所述微处理器执行以下步骤:关闭所述微处理器的第二外设,并使所述微处理器进入休眠状态。
进一步地,所述微处理器还执行以下步骤:接收唤醒指令;根据所述唤醒指令唤醒微处理器;如果所述微处理器处于休眠状态的总休眠时长大于或者等于预设关机时长,唤醒所述系统处理器,并向所述系统处理器发送关机指令,以使所述系统处理器,以及使微处理器执行关机处理;如果所述微处理器处于休眠状态的总休眠时长小于预设关机时长,使所述微处理器重新进入休眠状态,等待唤醒。
为解决上述技术问题,本发明实施例还提供一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被系统处理器和微处理器执行时,以使所述系统处理器执行以下步骤:接收待机指令,根据所述待机指令,使系统处理器进入待机状态,以及,以使所述微处理器能够执行以下步骤:接收所述待机指令,根据所述待机指令,使微处理器进入待机状态。
本发明实施例的有益效果是:区别于现有技术的情况,本发明实施例当接收到待机指令时,使遥控器中耗电单元,系统处理单元和遥控单元,均进入待机状态,并且相比于遥控器在待机时只有系统处理单元和遥控单元中之一进入待机的方式,本发明实施例遥控器的待机电流更小,降低了遥控器的待机功耗,有利于延长遥控器的电池续航时间。
附图说明
一个或多个实施方式通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施方式的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是本发明遥控器第一实施例的示意图;
图2是本发明遥控器实施例中实现遥控器自动关机的流程图;
图3是本发明待机装置第一实施例的示意图;
图4是本发明待机装置第二实施例的示意图;
图5是本发明遥控器第二实施例的示意图;
图6是本发明遥控器第三实施例的示意图;
图7是本发明待机的方法第一实施例的流程图;
图8是本发明待机的方法第二实施例的流程图;
图9是本发明待机的方法第三实施例的流程图;
图10是本发明待机的方法第三实施例中根据不同待机级别执行待机的流程图。
图11是本发明待机的方法第四实施例的流程图。
具体实施例
下面结合附图和实施例进行本发明进行详细说明。
请参阅图1,为本发明遥控器第一实施例的示意图。遥控器20包括系统处理单元21、遥控单元22和电源单元23。电源单元23包括电池231和电源管理单元232,电池231负责提供电源,电源管理单元232负责向遥控器20中的部件分配电源,并且进行配电管理,在本发明实施例中,电源管理单元232可以为电源管理芯片,例如:PN8024R芯片、PN8024A芯片、MP2307DN芯片等等。系统处理单元21包括系统处理器212和附属于系统处理器212的第一外设211,遥控单元22包括微处理器221和附属于微处理器221的第二外设222。系统处理单元21用于运行智能操作系统,例如:Linux、Android或者IOS等,遥控单元22用于实现基础遥控功能,系统处理单元21和遥控单元22通信连接,并且两者协调工作,提升遥控器的功能和性能。
需要说明的是:在本发明实施例中,第一外设211是指除遥控单元22之外的受系统处理器212控制的外部设备,例如:电量计、GPS、磁力计、USB BOOST、USB集线器、音频播放器、蓝牙通信器、WIFI通信模块等等,第二外设222是指除系统处理器212之外受微处理器221控制的外部设备,其包括片内外设和片外外设,例如:摇杆、按键、LED 指示灯、振动电机、数传模块和图像模块等等,由于图像模块既受系统处理器212控制,以受微处理器221控制,因此,图像模块既可以归入系统处理器212的第一外设211范围内,也可以归入微处理器221的第二外设222范围内。
为了提高遥控器20的电池续航能力,当触发遥控器20待机时,即系统处理单元21和遥控单元22接收到待机指令时,系统处理单元21和遥控单元22根据待机指令进入待机状态。系统处理单元21和遥控单元22进入待机后,系统处理单元21和遥控单元22只需要较小工作电流即可,对电池231的电量消耗比较少,相比于只有系统处理单元21和遥控单元22中一个进入待机的方式,本发明实施例遥控器20处于待机的待机电流更小,整体降低遥控器的待机电流,降低遥控器在待机时的功耗。
进一步地,当系统处理单元21和遥控单元22在待机时,不仅仅将系统处理单元21的系统处理器212,以及,遥控单元22的微处理器221调入待机状态,两者所对应的外设也可以进行相应的关闭处理,以最大限度地减小遥控器的待机电流。具体地,系统处理单元21待机和遥控单元22执行待机流程如下:
一、系统处理单元21待机
系统处理器212挂起当前正在运行的进程,系统处理器212关闭系统处理单元21的第一外设211中的显示屏或关闭所有第一外设211,并且系统处理单元21进入待机状态。其中,当关闭所有第一外设211时,系统处理单元21进入待机状态,实现系统处理单元21在待机状态下尽可能关闭耗电的外设,以尽可能地降低待机电流。系统处理单元21通过进入待机以节省电流,而不是直接关闭,有利于快速恢复系统处理单元21,解决系统处理单元21整机开机慢的问题,用户体验更好。
具体地,上述待机状态包括普通休眠状态和深度休眠状态。
其中,系统处理器212关闭所有第一外设211包括至少两种方式:一、使第一外设211进入休眠状态,2、关闭第一外设211的电源。而第一种关闭第一外设的方式,有利于快速恢复系统处理单元21,但是第 一外设211在休眠时仍然需要较小电流以维持其处于启动状态,因此,其省电效果不如第二种直接关闭第一外设211的电源的方式。当然,在系统处理单元21处于待机状态下,第一外设211是关闭电源还是进入休眠状态,可以设置成可配置的,用户根据实际情况自行配置,又或者,根据各个第一外设211启动的快慢,将启动快的第一外设211设置成关闭电源,将启动慢的第一外设211设置成休眠,以平衡系统处理单元21在降低功耗与快速恢复两者之间的需求。
而为了方便系统处理器212关闭第一外设211的电源,系统处理器212的GPIO(General Purpose Input Output,通用输入/输出)与电源管理单元231中用于控制第一外设211的电源的第一电源控制端233连接,系统处理器212通过向第一电源控制端233发送关闭使能信号,以使电源管理单元231停止向第一外设211供电,实现关闭第一外设211的电源,系统处理器212也可以通过向第一电源控制端233发送接通使能信号,以使电源管理单元232恢复向第一外设211供电。当然,在其它替代实施例中,系统处理器212也可以通过其它方式控制第一外设211的电源,此处不再一一赘述。
进一步地,系统处理器在待机时,也可以设置多个待机级别,在不同的待机级别,系统处理单元所执行的待机方式也不一样,其唤醒所需要的时长也不一样,在一种实现方式中,待机级别可包括普通待机级别和深度待机级别,以下以此为例进行说明。
系统处理器212具体还用于:在触发待机时,获取待机级别,在待机级别是深度待机级别时,才关闭系统处理单元21的所有第一外设211,并且系统处理单元21才进入深度休眠状态;在待机级别仅是普通待机级别时,关闭系统处理单元21的第一外设211中的显示装置,并且系统处理单元21进入普通休眠状态。在深度待机时,关闭所有第一外设211,并且系统处理单元21进入深度休眠状态,系统处理单元21待机电流达到最小,但是系统处理单元21的整体唤醒时长大于普通待机的唤醒时长。当然,待机级别也可以预先好,并且与触发待机的触发方式相关联,不同触发方式代表不同的待机级别,例如:下按遥控器的Power 键,触发深度待机级别,同时下按音量+和音量-键,触发普通待机级别。
当然,也可以通过设置触发遥控器待机的触发方式来达到延长遥控器的电池续航的目的,例如:当遥控器长时间没有被操作,触发待机。又或者,当电池电量达到一个低电量的阈值时,触发待机。而检测触发遥控器待机,接收待机指令可以由遥控单元和系统处理单元中任一个进行,并且接收待机指令的一方发送待机指令至另一方,以使双方都接收待机指令。
系统处理器212的数量可以为一个或者多个,若系统处理器212为多个,则在普通待机级别时,可以仅让系统处理单元21中的一个系统处理器处于正常工作状态,以监控重要的工作任务,其他系统处理器处于停止状态,以节省电源;在深度待机级别时,所有系统处理器212均处于停止状态,以最大限度节省电源。
二、遥控单元22待机
遥控单元22进入待机状态包括:微处理器221用于关闭第二外设222,并且进入休眠状态。而关闭第二外设222,实现遥控单元22在待机状态下关闭耗电的外设,降低遥控单元22的待机电流。当然,若微处理器221还设置唤醒整个遥控器的输入唤醒时,则触发输入唤醒的第二外设不会关闭。
为了方便关闭第二外设,微处理器221的GPIO(General Purpose Input Output,通用输入/输出)与电源管理单元231中用于控制第二外设222的电源的第二电源控制端(图未示)连接,微处理器221通过第二电流控制端控制第二外设222的电源。
虽然遥控单元22和系统处理单元21在待机的状态下,遥控器20的整体待机电流比较小,但遥控器20仍然耗电,若遥控器20长时间处于待机的状态,遥控器20还会把电池的电量消耗完毕。为了避免出现遥控器20待机耗尽电池232的电量的情况,遥控器20还进行总待机时长检测,并且在总待机时长大于或等于预设关机时长时进行关机处理。可以理解,在其他实施例中,还可以在电池电量达到一个低电量的阈值时进行关机处理。
具体地,请参阅图2,以检测总待机时长为例,为实现遥控器自动关机的流程图。如图所示,包括:
步骤301:将RTC(real time clock)实时时钟配置为微处理器221的唤醒源;
步骤302:校准实时时钟,并且启动实时时钟;
步骤303:微处理器221进入休眠状态;
在将实时时钟配置为微处理器的唤醒源之后,实时时钟定期向微处理器221输出唤醒指令,微处理器221被唤醒指令唤醒。当然,在其它替代实施例中,微处理器除了可以接收实时时钟唤醒指令之外,也可以接收唤醒整个遥控器的输入唤醒,若微处理器221具有两个唤醒源时,则微处理器221在被唤醒时还需要进行唤醒源判断,并根据不同的唤醒源执行不同操作。进一步的,输入唤醒可以通过下按遥控器上的物理按键产生的,并且该产生输入唤醒的物理按键可以设置成可配置的。
步骤304:微处理器221接收唤醒指令,并且被唤醒之后,判断唤醒微处理器221的唤醒源是实时时钟还是输入唤醒,若是实时时钟,则进入步骤305,否则,进入步骤310
步骤305:判断微处理器221处于休眠状态的总休眠时长是否大于或者等于预设关机时长,若是,则进入步骤306,否则返回步骤303;
步骤306:唤醒系统处理器212;
步骤307:在唤醒系统处理器212之后,向系统处理器212发送关机指令,以使系统处理器212执行对系统处理单元21的关机处理;
由于当系统处理器212处于休眠状态下,系统处理器212无法接收除唤醒指令以外的其它指令,更无法执行对唤醒指令以外的其它指令的操作,因此,在系统处理器212处于休眠状态时,无法执行对系处理单元的关机处理,需要先唤醒系统处理器212,再向系统处理器212发送关机指令。
另外,由于唤醒系统处理器212需要一定时间,当系统处理器212处于唤醒的过程中,系统处理器212也无法接收关机指令,因此,微处理器221在向系统处理器212发送唤醒指令之后,延时发送关机指令, 其中,微处理器221延时发送关机指令的延时时长与系统处理器212唤醒所需要的时长相匹配。当然,在其它替代实施例中,系统处理器212在被唤醒之后,可以使系统处理器212向微处理器221返回一个确认指令,则微处理器221根据确认指令确定系统处理器212已经被唤醒后,再发送关机指令。
步骤308:执行取消实时时钟为微处理器的唤醒源的取消操作,并且恢复实时时钟至待机前的状态;
步骤309:执行对遥控单元的关机处理,并且控制电源管理单元关闭总电源,遥控器关机。
由于微处理器221运行所需要的电流远小于系统处理器212运行所需要的电流,因此,通过唤醒微处理器221进行总待机时长检测,实现以最低功耗执行总待机时长检测,有利于降低遥控器的待机功耗。在本实施例中,微处理器221优选为低功耗单片机。
步骤310:唤醒系统处理器221,恢复系统处理单元21;
在恢复系统处理单元21时,会把先前挂起的进程恢复,也会把所关闭的所有第一外设211恢复。另外,由于系统处理单元21是通过微处理器进行唤醒时,因此,当遥控器处于深度待机时,系统处理单元21的所有第一外设211均关闭,可以不维护有唤醒系统处理单元21的外设。
步骤311:执行取消实时时钟为微处理器的唤醒源的取消操作,并且恢复实时时钟至待机前的状态;
需要说明的是:实时时钟只是在遥控器处于待机状态下配置为微处理器的唤醒源使用,当遥控器恢复正常或者关机,实时时钟需要取消作为微处理器的唤醒源,并且恢复至待机之前的状态,以避免影响遥控器其它部件使用实时时钟。
步骤312:恢复第二外设222,转入正常工作;
在本发明实施例中,当接收待机指令时,使遥控器中耗电单元,系统处理单元21和遥控单元22,均进入待机状态,相比于在遥控器待机时只有系统处理单元21和遥控单元22中之一进入待机的方式,本发明 实施例的遥控器的待机电流更小,降低了遥控器的待机功耗,有利于延长遥控器的电池续航时间。
请参阅图3,图3是本发明待机装置第一实施例的示意图。待机装置40应用于上述的遥控器,待机装置40包括接收模块401和待机模块402。
接收模块401用于接收待机指令。待机模块402根据待机指令,关闭系统处理单元的第一外设中的显示屏或关闭系统处理单元的所有第一外设,并使系统处理单元进入待机状态。其中,系统处理单元进入待机状态主要是指系统处理单元中的系统处理器进入待机状态。具体地,待机状态包括普通休眠状态和深度休眠状态。
当通过关闭遥控器中系统处理单元中的所有第一外设时,系统处理单元进入待机状态,实现系统处理单元在待机状态下尽可能关闭耗电的外设,并且尽可能地降低系统处理器的待机电流,以尽可能地降低遥控器的待机电流。在本实施例中,第一外设为系统处理单元中部件,其中,第一外设可以为电量计、GPS、磁力计、USB BOOST、USB集线器、音频播放器、蓝牙通信器、WIFI通信模块等等。
关闭系统处理单元的所有第一外设的方式包括使第一外设进入休眠状态和关闭第一外设的电源两种方式。为了方便控制第一外设的电源,系统处理器的GPIO与电源管理单元中用于控制第一外设的电源的第一电源控制端连接,关闭第一外设的电源主要是通过向第一电源控制端发送关闭使能信号,实现关闭第一外设的电源。
另外,系统处理单元在待机时,也可以设置多个待机级别,在不同的待机级别,系统处理单元所执行的待机方式也不一样,并且系统处理单元在不同的待机级别时其唤醒所需要的时长也不一样,从而丰富遥控器的待机选择,如下以待机级别包括普通待机级别和深度待机级别为例进行说明,具体的,系统处理单元还包括获取模块403。
获取模块403用于获取待机级别。待机模块402具体用于如果待机级别为普通待机级别,关闭系统处理单元的第一外设中的显示屏,并且使系统处理单元进入普通休眠状态,或者,如果待机级别为深度待机 级别,才关闭系统处理单元的所有第一外设,并且使系统处理单元进入深度休眠状态。
需要说明的是:本实施例中的系统处理单元为遥控器实施例中的系统处理单元是相同的,对于本实施中的系统处理单元的其它结构和功能可参阅遥控器实施例,此处不再一一赘述。
在本发明实施例中,在接收模块接收到待机指令时,待机模块根据待机指令,关闭系统处理单元的第一外设中的显示屏或关闭系统处理单元的所有第一外设,并且使系统处理单元进入包括普通休眠状态和深度休眠状态在内的待机状态,实现系统处理单元在待机状态下尽可能关闭耗电的外设,并且降低系统处理单元的待机电流。
请参阅图4,图4是本发明待机装置第二实施例的示意图。待机装置应用于上述的遥控器,待机装置包括第一接收模块501和待机模块502。第一接收模块501用于接收待机指令,待机模块502根据待机指令,使系统处理单元和遥控单元均进入待机状态。
通过使遥控器处理单元和遥控单元均进入待机状态,可以使得遥控器中耗电单元均进入待机状态,相比于遥控器在待机时只有系统处理单元和遥控单元中之一进入待机的方式,本发明遥控器的待机电流更小,降低了遥控器的待机功耗,有利于延长遥控器电池的续航时间。
进一步的,系统处理单元在待机时,也可以设置多个待机级别,以丰富遥控器的待机选择,具体的,待机装置还包括获取模块503。获取模块503,用于获取系统处理单元的待机级别,待机级别包括普通待机级别和深度待机级别。待机模块502具体用于使系统处理单元进入待机状态包括:如果待机级别为普通待机级别,关闭系统处理单元的第一外设中的显示屏,并且使系统处理单元进入普通休眠状态,或者,如果待机级别为深度待机级别,才关闭系统处理单元所有第一外设,并且使系统处理单元进入深度休眠状态。
另外,使遥控单元进入待机状态包括:关闭遥控单元的第二外设,并使遥控单元进入休眠状态,通过关闭遥控单元中耗电外设,并且使遥控单元进入休眠状态,以降低遥控单元待机电流,延长遥控器电池 续航时间。需要说明的是:当遥控单元还设置有输入唤醒时,则在待机状态下,触发遥控单元的输入唤醒的外设不能关闭,还需要处于正常工作状态。
为了避免遥控器在长时间待机造成电池电量耗尽,还可以检测遥控器的待机时长,并在待机时长超过预设关机时长时,进行关机处理,具体的,装置还包括第二接收模块504,唤醒模块505和关机模块506。第二接收模块504用于接收唤醒指令。唤醒模块505用于根据唤醒指令唤醒微处理器,关机模块506用于:如果遥控单元处于休眠状态的总休眠时长大于或者等于预设关机时长,唤醒系统处理单元,并向系统处理单元发送关机指令,以使系统处理单元执行关机处理,并且使遥控单元也执行关机处理,或者,如果遥控单元处于休眠状态的总休眠时长小于预设关机时长,使遥控单元重新进入休眠状态,等待唤醒。
需要说明的是:在本发明实施例中,遥控单元被唤醒的主要目的是进行总待机时长检测,当然,在其它替代实施例中,遥控单元也直接被整体唤醒时,当遥控单元具有上述两种唤醒目的时,则在遥控单元被唤醒时,还需要进行遥控单元唤醒源检测,遥控单元根据不同的唤醒源执行不同操作,例如:将实时时钟和输入唤醒均配置为遥控单元的唤醒源,当遥控单元被唤醒之后,并且判断到唤醒源为实时时钟,则进入总待机时长检测,若为输入唤醒,则唤醒整个遥控器。
需要说明的是:本实施例中的遥控器为上述遥控器实施例中的遥控器相同,对于遥控器的其它结构和功能可以参阅图遥控器实施例,此处不再一一赘述。
在本发明实施例中,当第一接收模块501接收到待机指令时,待机模块502根据待机指令,使遥控单元和系统处理单元进入待机状态,通过使遥控器处理单元和遥控单元均进入待机状态,以可使得遥控器中耗电单元均进入待机状态,相比于遥控器在待机时只有系统处理单元和遥控单元中之一进入待机的方式,本发明实施例遥控器的待机电流更小,降低了遥控器的待机功耗,有利于延长遥控器的电池续航时间。
请参阅图5,图5是本发明遥控器第一实施例的示意图,遥控器60 包括系统处理器601、第一外设602和存储器603,其中,系统处理器601与第一外设602和存储器603之间均可以通过总线或者其他方式连接。
存储器603作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的待机方法对应的程序指令/模块(例如,附图3所示的接收模块401、获取模块403、待机模块402)。系统处理器601通过运行存储在存储器603中的非易失性软件程序、指令以及模块,从而执行遥控器的各种功能应用以及数据处理,即实现上述方法实施例中待机方法。
所述一个或者多个模块存储在所述存储器603中,当被所述一个或者多个系统处理器601执行时,执行下述待机方法第一实施例中的步骤,例如,执行以上描述的图7中的方法步骤801至方法步骤802,图8中的方法步骤801至方法步骤804,附图3所示的接收模块401、获取模块403、待机模块402的功能。
其中,上述实施例中的存储器603可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据待机装置的使用所创建的数据等。此外,存储器603可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器603可选包括相对于系统处理器601远程设置的存储器,这些远程存储器可以通过网络连接至待机装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
本申请实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个系统处理器执行,例如:执行以上描述的图7中的方法步骤801至方法骤802,图8中的方法步骤801至方法骤804,附图3所示的接收模块401、获取模块403、待机模块402的功能。
通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬 件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
请参阅图6,图6是本发明遥控器第一实施例的示意图,遥控器70包括系统处理器701、第一外设702、第二外设703、微处理器704和存储器705,其中,系统处理器701与第一外设702和存储器705之间均可以通过第一总线或者其他方式连接,微处理器704与第二外设703和存储器703之间均可以通过第二总线或者其他方式连接,当第一总线和第二总线可以为一根总线,也可以为相互独立的总线。
存储器603作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的待机方法对应的程序指令/模块(例如,附图4所示的第一接收模块501、获取模块503、待机模块502)。系统处理器701和微处理器704通过运行存储在存储器705中的非易失性软件程序、指令以及模块,从而执行遥控器的各种功能应用以及数据处理,即实现上述方法实施例中待机方法。
所述一个或者多个模块存储在所述存储器705中,当被所述系统处理器701和微处理器705执行时,执行下述待机方法第一实施例中的步骤,例如,执行以上描述的图9中的方法步骤901至方法步骤902,图11中的方法步骤901至方法步骤906,附图4所示的第一接收模块501、获取模块502、待机模块502、第二接收模块504、唤醒模块505、关机模块506的功能。
本申请实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个系统处理器执行,例如:执行以上描述的图9中的方法步骤901至方法骤902,图11中的方法步骤901至方法骤906,附图4所示的第 一接收模块501、获取模块502、待机模块502、第二接收模块504、唤醒模块505、关机模块506的功能。
其中,上述实施例中的存储器705可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据待机装置的使用所创建的数据等。此外,存储器705可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器705可选包括相对于系统处理器701和微处理器704远程设置的存储器,这些远程存储器可以通过网络连接至待机装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
本发明又提供待机的方法实施例。请参阅图7,图7是本发明待机方法第一实施例的流程图,该待机的方法,应用于上述遥控器中,方法包括:
步骤801:接收待机指令;
待机指令用于指示遥控器进入待机,而触发待机指令的方式不作具体限定,可以遥控器主动发起的,例如:当遥控器长时间没有被操作时,主动触发待机,也可以是被动触发的,例如:用户下按遥控器的Power键触发待机指令。
步骤802:根据待机指令,关闭系统处理单元的第一外设中的显示屏或关闭系统处理单元的所有第一外设,并且使系统处理单元进入待机 状态,具体地,该待机状态包括普通休眠状态和深度休眠状态。
关闭系统处理单元的所有第一外设的方式也包括两种,分别为使第一外设进入休眠或者关闭第一外设的电源。而第一外设进入休眠状态,有利于快速恢复系统处理单元,但是第一外设在休眠时仍然需要较小电流以维持其正常工作,因此,其省电效果不如直接关闭第一外设。当然,在系统处理单元进入待机状态时,第一外设还关闭电源还是进入休眠,可以设置成可配置的,用户根据实际情况自行配置。在深度休眠时,关闭系统处理单元的所有第一外设,可以使得系统处理单元在待机状态下尽可能关闭耗电的外设,以尽可能地降低遥控器的待机电流。
进一步的,系统处理单元在待机时,也可以设置有多个待机级别,根据遥控器不同的需求,控制系统处理单元进入不同待机级别,以丰富遥控器的待机选择,如图8所示,图8为本发明待机方法第二实施例的流程图,本实施例与待机方机第一实施例不同之处在于,方法还包括:
步骤803:获取系统处理单元的待机级别,待机级别包括普通待机级别和深度待机级别。
步骤804:如果待机级别为普通待机级别,关闭系统处理单元的第一外设中的显示屏,并且使系统处理单元进入普通休眠状态;
待机级别可以在触发待机指令时同时产生的,并且预先定义好的,例如:在遥控器正常工作时,下按Power触发深度待机,长按音量+键触发普通待机。
步骤802具体为:如果待机级别为深度待机级别,关闭系统处理单元的所有第一外设,并且使系统处理单元进入深度休眠状态。
系统处理单元在深度待机时,其待机电流较小,但是唤醒时长较长,在普通待机时,其待机电流较大,但是唤醒时长较短,用户可以根据不同需求,触发系统处理单元不同的待机方式。
在本发明实施例中,在接收到待机指令,根据待机指令,关闭系统处理单元的第一外设中的显示屏或关闭系统处理单元的所有第一外设,并且使系统处理单元进入包括普通休眠状态和深度休眠状态在内的待机状态,实现系统处理单元在待机状态下尽可能关闭耗电的外设,并且 降低系统处理单元的待机电流。
请参阅图9,图9是本发明待机方法第三实施例的流程图,该方法应用于上述的遥控器,方法包括:
步骤901:接收待机指令;
待机指令用于指遥控器进入待机状态,其中,待机指令可以系统处理单元中一方先接收到,而接收到待机指令的方法会将待机指令发送至另一方,以使双方均接收到待机指令。
步骤902:根据待机指令,使系统处理单元及遥控单元均进入待机状态。
当遥控器触发待机时,使遥控器中耗电单元,系统处理单元和遥控单元,均进入待机状态,相比于在遥控器待机时只有系统处理单元和遥控单元中之一进入待机的方式,本发明实施例中的遥控器的待机电流更小,降低了遥控器的待机功耗,有利于延长遥控器的电池续航时间。
为了丰富遥控器的待机需求,还可以为系统处理单元设置多个待机级别,遥控器根据不同的待机需求进入不同待机级别,则如图10所示,使系统处单元进入待机状态方法包括:
步骤9031:获取待机级别;
步骤9032:判断待机级别是深度待机级别还是普通待机级别,若是深度待机级别,则进入步骤9033,否则进入步骤9034,
步骤9033:关闭第一外设中的显示装置,并且使系统处理单元进入普通休眠状态。
步骤9034:关闭系统处理单元所有第一外设,并且使系统处理单元进入深度休眠状态。
通过设置系统处理单元具有多个待机级别,遥控器可以根据不同的待机需求进入不同待机级别。当然,待级级别可以预先与触发遥控器的待机的触发方式绑定好,例如:用户长时间没有使遥控器时触发普通待机,又或者,长按POWER键触发深度待机,同时按音量+键和音量-键触发普通待机等等。另外,通过使系统处理单元进入待机进行节能,而不是直接关闭,有利于快速恢复系统处理单元,解决系统处理单元整机开 机慢的问题,可以很好地平衡系统处理单元在省电与快速启动两者之间的需求。
而关闭系统处理单元的所有第一外设的方式也包括两种,分别为使第一外设进入休眠或者关闭第一外设的电源。而第一外设进入休眠状态,有利于快速恢复系统处理单元,但是第一外设在休眠时仍然需要较小电流以维持其正常工作,因此,其省电效果不如直接关闭第一外设。而使遥控单元进入待机状态,包括:关闭遥控单元的第二外设,并使遥控单元进入休眠状态。通过关闭遥控单元的第二外设,有利于降低遥控单元的待机电流。
请参阅图11,图11是本发明待机方法第四实施例,本实施例与待机方法第三实施例的不同之处在于,方法包括:
步骤903:接收唤醒指令;
步骤904:根据唤醒指令唤醒遥控单元;
步骤905:判断遥控单元处于休眠状态的总休眠时长是否大于或者等于预设关机时长,若是,则进入步骤9096,否则使微遥控单元重新进入休眠状态;
步骤909:唤醒遥控器中的系统处理单元,并且向系统处理器发送关机指令,以使系统处理器执行关机处理,以及使微处理器执行关机处理;
当遥控器长时间处于待机的状态时,遥控器还可以进行自动关闭,档以以避免待机耗尽电池的电量。
需要说明的是:唤醒指令可以由遥控器的实时时钟产生的,当实时时钟产出唤醒指令时,在遥控器关机或者完全唤醒时,还需要取消配置实时时钟为微处理器的唤醒源,避免生产冲突。当然,微处理器除了可以接收实时时钟产生的唤醒指令之外,也可以接收唤醒整个遥控器的输入唤醒,例如:在遥控器处于待机状态下,下按Power触发输入唤醒,输入唤醒直接输入至微处理器GPIO端口。若遥控单元有多种唤醒方式时,则遥控单元唤醒时,还需要进行唤醒源判断,并且根据不同唤醒源执行不同操作。
在本发明实施例中,当接收待机指令时,使遥控器中耗电单元,系统处理单元和遥控单元,均进入待机状态,相比于在遥控器待机时只有系统处理单元和遥控单元中之一进入待机的方式,本发明实施例的遥控器的待机电流更小,降低了遥控器的待机功耗,有利于延长遥控器的电池续航时间。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (25)

  1. 一种待机方法,应用于遥控器,所述遥控器包括系统处理单元,其特征在于,所述方法包括:
    接收待机指令;
    根据所述待机指令,关闭所述系统处理单元的第一外设中的显示屏或关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入待机状态。
  2. 根据权利要求1所述的方法,其特征在于,所述待机状态包括普通休眠状态和深度休眠状态。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    获取所述系统处理单元的待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;
    如果所述待机级别为普通待机级别,关闭所述系统处理单元的第一外设中的显示屏,并且使所述系统处理单元进入普通休眠状态;
    如果所述待机级别为深度待机级别,关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入深度休眠状态。
  4. 根据权利要求1至3中任一所述的方法,其特征在于,所述关闭所述系统处理单元的所有第一外设,包括:
    使所述第一外设进入休眠状态,或者,
    关闭所述第一外设的电源。
  5. 一种待机方法,应用于遥控器,所述遥控器包括系统处理单元及遥控单元,其特征在于,所述方法包括:
    接收待机指令,
    根据所述待机指令,使所述系统处理单元及遥控单元均进入待机状态。
  6. 根据权利要求5所述的方法,其特征在于,所述待机状态包括普通休眠状态和深度休眠状态。
  7. 根据权利要求5或6所述的方法,其特征在于,所述方法还包括:
    获取所述系统处理单元的待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;
    如果所述待机级别为普通待机级别,关闭所述系统处理单元的第一外设中的显示屏,并且使所述系统处理单元进入普通休眠状态;
    如果所述待机级别为深度待机级别,关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入深度休眠状态。
  8. 根据权利要求5至7中任一所述的方法,其特征在于,使所述遥控单元进入待机状态,包括:
    关闭所述遥控单元的第二外设,并且使所述遥控单元进入休眠状态。
  9. 根据权利要求5至8中任一所述的方法,其特征在于,所述方法还包括:
    接收唤醒指令;
    根据所述唤醒指令唤醒遥控单元;
    如果所述遥控单元处于休眠状态的总休眠时长大于或者等于预设关机时长,唤醒所述系统处理单元,并向所述系统处理单元发送关机指令,以使所述系统处理单元及遥控单元执行关机处理;
    如果所述遥控单元处于休眠状态的总休眠时长小于预设关机时长,使所述遥控单元重新进入休眠状态,等待唤醒。
  10. 一种待机装置,应用于遥控器,所述遥控器包括系统处理单元,所述装置包括:
    接收模块,用于接收待机指令,
    待机模块,用于根据所述待机指令,关闭所述系统处理单元的第一外设中的显示屏或关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入待机状态。
  11. 根据权利要求10所述的待机装置,其特征在于,所述待机状态包括普通休眠状态和深度休眠状态。
  12. 根据权利要求10或11所述的待机装置,其特征在于,所述待机装置还包括获取模块;
    所述获取模块,用于获取待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;
    所述待机模块具体用于:
    如果所述待机级别为普通待机级别,关闭所述系统处理单元的第一外设中的显示屏,并且使所述系统处理单元进入普通休眠状态;
    如果所述待机级别为深度待机级别,关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入深度休眠状态。
  13. 根据权利要求10至12中任一所述的待机装置,其特征在于,所述关闭所述系统处理单元的所有第一外设包括:
    使所述第一外设进入休眠状态,或者,
    关闭所述第一外设的电源。
  14. 一种待机装置,应用于遥控器,所述遥控器包括系统处理单元及遥控单元,其特征在于,所述待机装置包括:
    第一接收模块,用于接收待机指令;
    待机模块,用于根据所述待机指令,使所述系统处理单元及遥控单 元均进入待机状态。
  15. 根据权利要求14所述的待机装置,其特征在于,所述待机状态包括普通休眠状态和深度休眠状态。
  16. 根据权利要求14或15所述的待机装置,其特征在于,所述待机装置还包括:
    获取模块,用于获取所述系统处理单元的待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;
    如果所述待机级别为普通待机级别,关闭所述系统处理单元的第一外设中的显示屏,并且使所述系统处理单元进入普通休眠状态;
    如果所述待机级别为深度待机级别,关闭所述系统处理单元的所有第一外设,并且使所述系统处理单元进入深度休眠状态。
  17. 根据权利要求14至16中任一所述的待机装置,其特征在于,所述使遥控单元进入待机状态包括:
    关闭所述遥控单元的第二外设,并使所述遥控单元进入休眠状态。
  18. 根据权利要求14至17中任一所述的待机装置,其特征在于,还包括:
    第二接收模块,用于接收唤醒指令,
    唤醒模块,用于唤醒所述遥控单元,
    关机模块,用于如果所述遥控单元处于休眠状态的总休眠时长大于或者等于预设关机时长,唤醒所述系统处理单元,并且向所述系统处理单元发送关机指令,以使所述系统处理单元执行关处理,以及使所述遥控单元执行关机处理;
    如果所述遥控单元处于休眠状态的总休眠时长小于预设关机时长,使所述遥控单元重新进入休眠状态,等待唤醒。
  19. 一种遥控器,其特征在于,包括:
    第一外设;
    系统处理器,与所述第一外设连接;
    存储器,与所述系统处理器连接,所述存储器存储有可被所述系统处理器执行的指令,所述指令被所述系统处理器执行,以使所述系统处理器能够执行如权利要求1-4任一所述的方法。
  20. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被系统处理器执行时,以使所述系统处理器执行如权利要求1-4任一所述的方法。
  21. 一种遥控器,其特征在于,包括:
    系统处理器;
    微处理器;
    存储器,与所述系统处理器及微处理器连接,所述存储器存储有可被所述系统处理器及微处理器执行的指令,所述指令被所述系统处理器及微处理器执行,以使所述系统处理器执行以下步骤:接收待机指令,根据所述待机指令,使所述系统处理器进入待机状态,
    以及,
    以使所述微处理器能够执行以下步骤:
    接收所述待机指令,根据所述待机指令,使所述微处理器进入待机状态。
  22. 根据权利要求21所述的遥控器,其特征在于,所述系统处理器还执行以下步骤:
    获取所述系统处理单元的待机级别,其中,所述待机级别包括普通待机级别和深度待机级别;
    如果所述待机级别为普通待机级别,关闭所述系统处理器的第一外设中的显示屏,并且使所述系统处理器进入普通休眠状态;
    如果所述待机级别为深度待机级别,才关闭所述系统处理器所有第一外设,并且使所述系统处理器进入深度休眠状态。
  23. 根据权利要求21或22所述的遥控器,其特征在于,所述微处理器执行以下步骤:
    关闭所述微处理器的第二外设,并使所述微处理器进入休眠状态。
  24. 根据权利要求21至23中任一所述的遥控器,其特征在于,所述微处理器还执行以下步骤:
    接收唤醒指令;
    根据所述唤醒指令唤醒微处理器;
    如果所述微处理器处于休眠状态的总休眠时长大于或者等于预设关机时长,唤醒所述系统处理器,并向所述系统处理器发送关机指令,以使所述系统处理器,以及使微处理器执行关机处理;
    如果所述微处理器处于休眠状态的总休眠时长小于预设关机时长,使所述微处理器重新进入休眠状态,等待唤醒。
  25. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被系统处理器和微处理器执行时,以使所述系统处理器执行以下步骤:接收待机指令,根据所述待机指令,使系统处理器进入待机状态,
    以及,
    以使所述微处理器能够执行以下步骤:
    接收所述待机指令,根据所述待机指令,使微处理器进入待机状态。
PCT/CN2018/083763 2017-07-18 2018-04-19 一种待机方法、装置及遥控器 WO2019015368A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710586705.X 2017-07-18
CN201710586705.XA CN109272724A (zh) 2017-07-18 2017-07-18 一种待机方法、装置及遥控器

Publications (1)

Publication Number Publication Date
WO2019015368A1 true WO2019015368A1 (zh) 2019-01-24

Family

ID=65015812

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/083763 WO2019015368A1 (zh) 2017-07-18 2018-04-19 一种待机方法、装置及遥控器

Country Status (2)

Country Link
CN (1) CN109272724A (zh)
WO (1) WO2019015368A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673640B (zh) * 2019-10-21 2022-02-08 深圳市道通智能航空技术股份有限公司 一种无人机控制方法、装置、设备和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011013735A (ja) * 2009-06-30 2011-01-20 Panasonic Corp 情報処理装置、及び情報処理装置の制御方法
CN102523402A (zh) * 2011-12-29 2012-06-27 深圳Tcl新技术有限公司 智能电视遥控器的省电方法及智能电视遥控器
CN202758480U (zh) * 2012-08-17 2013-02-27 深圳市开立科技有限公司 一种省电的遥控器
CN103621100A (zh) * 2011-06-17 2014-03-05 索尼公司 电子装置、电子装置的控制方法和程序
CN104503608A (zh) * 2007-07-09 2015-04-08 索尼株式会社 电子设备及其控制方法
CN104658231A (zh) * 2015-03-18 2015-05-27 飞狐信息技术(天津)有限公司 一种遥控器的状态切换方法和装置
CN106652420A (zh) * 2017-02-06 2017-05-10 广东美的制冷设备有限公司 遥控器

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242607A (zh) * 2008-03-14 2008-08-13 上海闻泰电子科技有限公司 一种双cpu架构智能手机及其通信控制方法
CN101753924B (zh) * 2008-11-28 2013-01-02 康佳集团股份有限公司 一种电视机的待机控制方法
CN101478607A (zh) * 2009-01-20 2009-07-08 深圳华为通信技术有限公司 一种基于双处理器的移动终端的电源管理装置及方法
CN201957245U (zh) * 2010-11-24 2011-08-31 上海华勤通讯技术有限公司 具有休眠状态控制功能的移动终端
CN104950771B (zh) * 2015-06-26 2018-06-01 哈瓦国际航空技术(深圳)有限公司 一种无人机手持地面站控制系统
CN106102147A (zh) * 2016-06-12 2016-11-09 努比亚技术有限公司 一种实现双处理器用户设备低功耗的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503608A (zh) * 2007-07-09 2015-04-08 索尼株式会社 电子设备及其控制方法
JP2011013735A (ja) * 2009-06-30 2011-01-20 Panasonic Corp 情報処理装置、及び情報処理装置の制御方法
CN103621100A (zh) * 2011-06-17 2014-03-05 索尼公司 电子装置、电子装置的控制方法和程序
CN102523402A (zh) * 2011-12-29 2012-06-27 深圳Tcl新技术有限公司 智能电视遥控器的省电方法及智能电视遥控器
CN202758480U (zh) * 2012-08-17 2013-02-27 深圳市开立科技有限公司 一种省电的遥控器
CN104658231A (zh) * 2015-03-18 2015-05-27 飞狐信息技术(天津)有限公司 一种遥控器的状态切换方法和装置
CN106652420A (zh) * 2017-02-06 2017-05-10 广东美的制冷设备有限公司 遥控器

Also Published As

Publication number Publication date
CN109272724A (zh) 2019-01-25

Similar Documents

Publication Publication Date Title
KR101811969B1 (ko) 전자 기기, 전자 기기의 웨이크 업 방법 및 장치
US10592254B2 (en) Technologies for fast low-power startup of a computing device
US9489213B2 (en) Shutdown method, startup method, and communication terminal
TWI494857B (zh) 喚醒事件管理方法、喚醒事件管理裝置以及喚醒事件管理電腦程式產品
CN105354044B (zh) 一种应用唤醒方法及装置
US9554187B2 (en) Smart television system and turn-on and turn-off method thereof
EP3623776A2 (en) Dynamic power consumption management and wake-up method and application system therefor
US20130219203A1 (en) Control device, control method, computer program product, and electronic device
WO2013123863A1 (zh) 一种休眠方法、唤醒方法和移动终端设备
CN104977979B (zh) 时钟源切换方法和系统
CN103345415A (zh) 管理定时器的终端节能方法和装置
US10394307B2 (en) Information processing apparatus, information processing method, and program
CA3107731C (en) Method and apparatus for mission critical standby of a portable communication device
CN110360721B (zh) 一种空调的功耗控制方法、装置、存储介质及空调
WO2016095353A1 (zh) 终端功耗的控制方法及装置、终端
WO2014032473A1 (zh) 机顶盒待机方法、机顶盒待机控制装置和机顶盒
CN105490902A (zh) 智能家居系统、无线信息采集设备控制方法及装置
WO2019015368A1 (zh) 一种待机方法、装置及遥控器
WO2014176893A1 (zh) 移动终端的关机方法及装置
CN104102503A (zh) 在预定时间自动启动的计算机及其方法
US9915996B2 (en) Method of controlling processor, information processing apparatus, and non-transitory computer-readable storage medium
CN106814840A (zh) 用于处理器的低电力状态保持模式
CN106598193A (zh) 一种功耗控制方法及装置
CN106484074B (zh) 非易失性存储装置、方法、计算机系统及待机或休眠实现方法
CN108844198B (zh) 一种空调运行模式的控制方法及空调

Legal Events

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

Ref document number: 18834594

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18834594

Country of ref document: EP

Kind code of ref document: A1