CN114116029B - Control method, device, equipment and medium for waking up low power consumption of infrared receiver - Google Patents

Control method, device, equipment and medium for waking up low power consumption of infrared receiver Download PDF

Info

Publication number
CN114116029B
CN114116029B CN202111353649.8A CN202111353649A CN114116029B CN 114116029 B CN114116029 B CN 114116029B CN 202111353649 A CN202111353649 A CN 202111353649A CN 114116029 B CN114116029 B CN 114116029B
Authority
CN
China
Prior art keywords
wake
sleep
power consumption
signal
sleep mode
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
CN202111353649.8A
Other languages
Chinese (zh)
Other versions
CN114116029A (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 CN202111353649.8A priority Critical patent/CN114116029B/en
Publication of CN114116029A publication Critical patent/CN114116029A/en
Application granted granted Critical
Publication of CN114116029B publication Critical patent/CN114116029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a control method, a device, equipment and a medium for waking up low power consumption of an infrared receiver, wherein the method comprises the following steps: the method comprises the steps of configuring low-power consumption parameters of a system, controlling the system to enter a sleep mode according to the low-power consumption parameters, triggering a wake-up interrupt program after receiving a wake-up signal, judging whether the system has entered the sleep mode according to the enter sleep mark, and directly exiting the wake-up interrupt program if the system is judged not to enter the sleep mode according to the enter sleep mark. According to the control method, device, equipment and medium for waking up the infrared receiver with low power consumption, provided by the invention, the problems of false waking up and logic abnormality caused by external interference signals are effectively avoided through a software algorithm under the condition that external devices are not added by adding the sleep entering mark.

Description

Control method, device, equipment and medium for waking up low power consumption of infrared receiver
Technical Field
The invention belongs to the technical field of infrared control, and particularly relates to a method, a device, equipment and a medium for controlling wake-up low power consumption of an infrared receiver.
Background
In the design of electrical products, in order to reduce power consumption, many electrical products are added with software functions entering low power consumption so as to meet energy efficiency requirements. At present, various wake-up modes after low power consumption are entered, and conventional methods comprise timer wake-up, external interrupt wake-up and the like. The infrared receiver is easy to be interfered by external signals, such as sunlight, LED light, a mobile phone, other devices with infrared emission and the like. When an interference signal is input, a system identification error is caused, so that a low-power-consumption function is awakened by mistake, and the product does not operate according to normal logic.
Fig. 1 schematically shows a timing sequence flow chart of an electrical product entering a low-power-consumption program in the prior art, and enters a sleep mode after a system receives a low-power-consumption trigger signal, wherein the configuration of the low-power-consumption parameters of the system comprises the steps of closing a total interrupt, closing a watchdog, closing an ADC (analog to digital converter) and a timer, configuring an IO (input/output) port, reducing the power consumption of the port, enabling to wake up the low-power-consumption external interrupt and opening the total interrupt, and entering the sleep mode after the configuration of the low-power-consumption parameters is completed.
Since the wake-up signal will enter at any stage in the program, the wake-up interrupt program will be triggered when the wake-up signal enters between switching on the total interrupt and entering sleep mode in the low power consumption parameters of the configuration system described above. Fig. 2 schematically shows a timing flow chart of an electrical product entering a wake-up interrupt routine in the prior art. After the wake-up interrupt program is entered, the reconfiguration low power consumption parameters comprise clearing the air break flag bit, restoring the low power consumption register configuration, starting a watchdog, prohibiting the wake-up of the low power consumption external interrupt, restoring the ADC and timer setting, restoring the IO port configuration, and configuring the normal port function.
After the wake-up interrupt program is finished, the system returns to the step after the main program executes the total interrupt, namely, the system directly enters the sleep mode. However, the parameter for prohibiting the wake-up of the low-power external interrupt is set in the wake-up interrupt program, so that the wake-up signal cannot enter, and the system cannot be waken up any more.
Disclosure of Invention
In order to solve the technical problems mentioned in the background art, the invention provides a control method, a device, equipment and a medium for waking up an infrared receiver with low power consumption, which can effectively avoid the problems of false waking up and logic abnormality caused by external interference signals through a software algorithm under the condition of not adding external devices by adding a sleep mark.
In order to achieve the above purpose, the specific technical scheme of the method, the device, the equipment and the medium for controlling the wake-up of the infrared receiver with low power consumption of the invention is as follows:
a control method for waking up low power consumption of an infrared receiver comprises the following steps:
Configuring low-power consumption parameters of a system, and controlling the system to enter a sleep mode according to the low-power consumption parameters, wherein the low-power consumption parameters comprise a sleep entering mark;
triggering a wake-up interrupt program after receiving a wake-up signal;
judging whether the system enters a sleep mode according to the sleep entering mark;
and if the system is judged not to enter the sleep mode according to the sleep entering mark, directly exiting the wake-up interrupt program.
Further, if the system is judged to have entered the sleep mode according to the entering sleep flag, the low power consumption parameters of the system are reconfigured to enable the system to exit the sleep mode.
Further, if the system is judged to have entered the sleep mode according to the entered sleep flag, decoding the wake-up signal;
if the wake-up signal decoding is unsuccessful, the wake-up signal is judged to be an interference signal, and the wake-up interrupt program is directly exited.
Further, if the wake-up signal is successfully decoded, the wake-up signal is judged to be a normal signal, and the low-power consumption parameter of the system is reconfigured to enable the system to exit from the sleep mode.
Further, the low power consumption parameter further includes: register parameters, total interrupt switches, watchdog switches, ADC and timer switches, configuration of IO ports.
An infrared receiver wake-up low power consumption control device, comprising:
the configuration unit is used for configuring low-power consumption parameters of the system and controlling the system to enter a sleep mode according to the low-power consumption parameters, wherein the low-power consumption parameters comprise a sleep entering mark;
the triggering unit is used for triggering the wake-up interrupt program after receiving the wake-up signal;
The judging unit judges whether the system enters a sleep mode according to the sleep entering mark;
and the control unit directly exits the wake-up interrupt program if the system is judged not to enter the sleep mode according to the sleep entering mark.
Further, the configuration unit is further configured to reconfigure the low power consumption parameter of the system to make the system exit from the sleep mode if the system has entered the sleep mode according to the entry sleep flag determination.
Further, the apparatus further comprises a decoding unit,
The decoding unit is used for decoding the wake-up signal if the system is judged to have entered the sleep mode according to the entered sleep flag;
the judging unit is further used for judging whether the wake-up signal is successfully decoded;
The control unit is further configured to determine that the wake-up signal is an interference signal if the wake-up signal is not successfully decoded, and directly exit the wake-up interrupt procedure;
And the configuration unit is also used for judging the wake-up signal to be a normal signal if the wake-up signal is successfully decoded, and reconfiguring low-power consumption parameters of the system to enable the system to exit the sleep mode.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method as described above when the program is executed.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method as described above.
The control method, the device, the equipment and the medium for waking up the infrared receiver with low power consumption have the following advantages:
Firstly, the control method, the device, the equipment and the medium for waking up the infrared receiver with low power consumption effectively avoid the problems of false waking up and logic abnormality caused by external interference signals through a software algorithm under the condition of not adding external devices by adding the sleep entering mark.
Secondly, the control method, the device, the equipment and the medium for waking up the infrared receiver with low power consumption can effectively distinguish correct signals and interference signals by adding the infrared decoding program, and when the wake-up signal is judged to be the interference signal, the wake-up operation is not executed, thereby effectively avoiding the operation of frequently entering dormancy and waking up and further reducing the power consumption.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. In the drawings:
FIG. 1 is a timing flow chart of an electrical product entering a low power program in the prior art;
FIG. 2 is a timing chart of the prior art for an electrical product to enter a wake-up interrupt routine;
FIG. 3 is a flowchart of a method for controlling an infrared receiver to wake up low power consumption according to an embodiment of the present invention;
FIG. 4 is a timing chart of an embodiment of a wake-up interrupt procedure;
Fig. 5 is a schematic structural diagram of a control device for waking up low power consumption of an infrared receiver according to the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise 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. In addition, the technical features of the different embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order different than that herein.
Fig. 3 is a flowchart of a control method for waking up low power consumption of an infrared receiver according to an embodiment of the present invention, the method includes the following steps:
S1, configuring low-power-consumption parameters of a system, and controlling the system to enter a sleep mode according to the low-power-consumption parameters, wherein the low-power-consumption parameters comprise a sleep entering mark;
it should be noted that the low power consumption parameters in the prior art generally include register parameters, switches for total interrupt, switches for watchdog, ADC and timer switches, and configurations of IO ports. In the embodiment of the invention, the low-power consumption parameters of the configuration system comprise register configuration before entering dormancy, total interruption closing, watchdog closing, ADC and timer closing, IO port configuration, port power consumption reduction, low-power consumption external interruption enabling awakening, total interruption opening, and the system enters a dormancy mode after the low-power consumption parameter configuration is completed.
It should be noted that, the low power consumption parameter of the configuration system further includes setting the sleep entering flag after the system enters the sleep mode, so as to solve the problem of abnormal logic of the system caused by the wake-up signal entering between the general interrupt and the sleep entering mode in the prior art.
S2, triggering a wake-up interrupt program after receiving a wake-up signal;
in the embodiment of the invention, before entering the sleep mode, the external interrupt with low power consumption is enabled when the low power consumption parameter of the system is configured, and at the moment, if a wake-up signal enters, the sleep mode is interrupted, and a wake-up interrupt program is entered, so that the aim of waking up the system is fulfilled.
It should be noted that, the wake-up signal includes, but is not limited to, an infrared signal, where the infrared signal further includes a normal wake-up signal sent by the system and an interference signal sent by sunlight, LED light, a mobile phone, and other devices with infrared emission, and the interference signal can trigger a wake-up interrupt program, where the normal signal and the interference signal are collectively referred to as a wake-up signal.
S3, judging whether the system enters a sleep mode according to the sleep entering mark;
In the embodiment of the invention, the sleep-entering flag is specifically set in a sleep-entering flag register. It should be noted that the set enter sleep flag register and the conventional sleep flag register of the present invention are not identical. The conventional sleep flag register generally occurs before the system enters sleep, so that the problem of system logic abnormality existing in the background technology cannot be avoided.
Further, when executing the wake-up interrupt program, it is known whether the system has actually entered the sleep mode by determining whether the enter sleep flag register is set.
S41, if the system is judged not to enter the sleep mode according to the sleep entering mark, the wake-up interrupt program is directly exited.
In the embodiment of the invention, if the sleep entry flag register is not set, the wake-up signal is proved to trigger the wake-up interrupt program between the start-up interrupt in the sleep mode entry program and the sleep mode entry, so that the system does not need to reset the low-power consumption parameter to exit the sleep mode and directly exit the interrupt program.
S42, if the system is judged to enter the sleep mode according to the sleep entering mark, the low power consumption parameters of the system are reconfigured, and the system is made to exit the sleep mode.
Specifically, if the wake-up interrupt program is entered, it is determined that the enter sleep register is set, and it is verified that the system has entered sleep mode, then the wake-up interrupt program needs to be continuously executed, and the low power consumption parameter of the system is reset, so that the system exits from sleep mode.
Further, the reconfiguration low power consumption parameter includes clearing an air break flag bit, restoring a low power consumption register configuration, opening a watchdog, prohibiting an external interrupt of waking up the low power consumption, restoring ADC and timer settings, restoring IO port configuration, and configuring normal port functions, so that the system exits from the sleep mode.
It should be noted that, after determining that the sleep-in register has been set, the method further includes resetting the sleep-in flag register and resetting the sleep-in flag before performing subsequent reconfiguration of the low power consumption parameter.
Furthermore, since the external interference signal may occur at any time, when the interference signal occurs after the sleep entry flag bit is set, the above embodiment cannot effectively avoid misjudgment caused by the interference signal, so on the basis of the above embodiment, an infrared decoding program is added to the wake-up interrupt program, and only if decoding is successful, it is possible to determine that the infrared signal is a real wake-up signal, thereby executing a corresponding wake-up interrupt program.
Specifically, if the system is judged to have entered the sleep mode according to the entered sleep flag, the wake-up signal is decoded, if the wake-up signal is not successfully decoded, the wake-up signal is judged to be an interference signal, the wake-up interrupt program is directly exited, if the wake-up signal is successfully decoded, the wake-up signal is judged to be a normal signal, and the low power consumption parameters of the system are reconfigured, so that the system exits the sleep mode.
Further, the embodiment of the invention decodes the wake-up signal into a software decoding method, specifically, demodulates and converts the received infrared remote control pulse signal into a pulse sequence, decodes the received pulse sequence through a preset decoding program, if the characteristic value extracted after decoding is matched with the characteristic value of the system, the decoding is proved to be successful, and if the characteristic value extracted after decoding is not matched with the characteristic value of the system, the decoding is proved to be failed.
Further, to more clearly describe the workflow of setting the enter sleep flag and decoding the wake-up signal in the present invention, fig. 4 schematically illustrates a timing flowchart of an enter wake-up interrupt procedure according to an embodiment of the present invention, as shown in fig. 4, after the wake-up signal triggers the wake-up interrupt procedure, the method includes the following steps:
S31, judging whether an external interrupt bit with low power consumption is established or not:
If the external interrupt bit with low power consumption is satisfied, step S32 is executed;
if the external interrupt bit with low power consumption is not established, the wake-up signal is waited again.
S32, clearing an external interrupt flag bit with low power consumption;
S33, judging whether a sleep entering mark is established:
if the enter sleep flag is true, execute step S34;
If the enter sleep flag is not satisfied, the interrupt is directly exited.
S34, resetting to enter a sleep flag bit;
s35, decoding the wake-up signal;
S36, judging whether decoding is successful:
if the wake-up signal is successfully decoded, executing step S37;
if the wake-up signal is not successfully decoded, the interrupt is directly exited.
S37, reconfiguring low-power consumption parameters, including restoring low-power consumption register configuration, opening a watchdog, restoring ADC and timer settings, restoring IO port configuration, and prohibiting external interrupt of low-power consumption.
In the above embodiment, the setting of the sleep-in flag and the decoding of the wake-up signal may occur separately or in combination. The specific one can see the response time to the wake-up operation required by the system.
By adding the wake-up signal decoding program, the correct signal and the interference signal can be effectively distinguished, when the wake-up signal is judged to be the interference signal, wake-up operation is not executed, the operations of frequently entering dormancy and waking up are effectively avoided, and the power consumption is further reduced.
Fig. 5 schematically illustrates a control device for waking up low power consumption by an infrared receiver according to an embodiment of the present invention, and referring to fig. 5, the control device for waking up low power consumption by an infrared receiver according to an embodiment of the present invention specifically includes a configuration unit 401, a trigger unit 402, a judging unit 403, and a control unit 404, where:
A configuration unit 401, configured to configure low power consumption parameters of a system, and control the system to enter a sleep mode according to the low power consumption parameters, where the low power consumption parameters include a sleep entry flag;
a triggering unit 402, configured to trigger a wake-up interrupt procedure after receiving a wake-up signal;
A judging unit 403 for judging whether the system has entered the sleep mode according to the entry sleep flag;
And the control unit 404 directly exits the wake-up interrupt program if the system is judged not to enter the sleep mode according to the sleep entering mark.
Further, the configuration unit 401 is further configured to reconfigure the low power consumption parameter of the system to make the system exit from the sleep mode if it is determined that the system has entered the sleep mode according to the entering sleep flag.
Specifically, if the wake-up interrupt program is entered, it is determined that the enter sleep register is set, and it is verified that the system has entered sleep mode, then the wake-up interrupt program needs to be continuously executed, and the low power consumption parameter of the system is reset, so that the system exits from sleep mode.
Further, the reconfiguration low power consumption parameter includes clearing an air break flag bit, restoring a low power consumption register configuration, opening a watchdog, prohibiting an external interrupt of waking up the low power consumption, restoring ADC and timer settings, restoring IO port configuration, and configuring normal port functions, so that the system exits from the sleep mode.
It should be noted that after determining that the sleep-in register has been set, the method further includes resetting the sleep-in flag register before performing subsequent reconfiguration of the low power consumption parameter.
Further, the apparatus further comprises a decoding unit,
The decoding unit is used for decoding the wake-up signal if the system is judged to have entered the sleep mode according to the entered sleep flag;
Further, the decoding of the wake-up signal is specifically a software decoding method, specifically, the received infrared remote control pulse signal is demodulated and converted into a pulse sequence, the received pulse sequence is decoded through a preset decoding program, if the characteristic value extracted after decoding is matched with the characteristic value of the system, the decoding is proved to be successful, and if the characteristic value extracted after decoding is not matched with the characteristic value of the system, the decoding is proved to be failed.
The judging unit 403 is further configured to judge whether decoding of the wake-up signal is successful;
the control unit 404 is further configured to determine that the wake-up signal is an interference signal if the wake-up signal is not successfully decoded, and directly exit the wake-up interrupt procedure.
The configuration unit 401 is further configured to determine that the wake-up signal is a normal signal if the wake-up signal is successfully decoded, reconfigure low power consumption parameters of the system, and enable the system to exit from the sleep mode.
According to the control method, device, equipment and medium for waking up the infrared receiver with low power consumption, provided by the invention, the problems of false waking up and logic abnormality caused by external interference signals are effectively avoided through a software algorithm under the condition that external devices are not added by adding the sleep entering mark.
Furthermore, an embodiment of the present invention provides a computer readable storage medium having a computer program stored thereon, where the computer program is configured to execute the steps of the control method for waking up an infrared receiver in the above embodiment when running.
In this embodiment, the module/unit integrated with the low-power consumption control device of the infrared receiver may be stored in a computer readable storage medium if implemented as a software functional unit and sold or used as a separate product. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
According to another aspect of the embodiment of the present invention, there is also provided a control device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps in the embodiment of the control method for waking up each infrared receiver with low power consumption, for example, S1 to S42 shown in fig. 3. Or the processor executes the computer program to realize the functions of the modules/units in the embodiment of the control device for waking up low power consumption by the infrared receiver, for example, the configuration unit 401, the triggering unit 402, the judging unit 403 and the control unit 404 shown in fig. 5.
The Processor may be a central processing unit (Central Processing Unit, CPU), other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor, etc., where the processor is a control center of the low power consumption control system awakened by the infrared receiver, and various interfaces and lines are used to connect various parts of the entire low power consumption control system awakened by the infrared receiver.
Those skilled in the art will appreciate that while some embodiments herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The control method for waking up the infrared receiver with low power consumption is characterized by comprising the following steps:
Configuring low-power consumption parameters of a system, and controlling the system to enter a sleep mode according to the low-power consumption parameters, wherein the low-power consumption parameters comprise a sleep entering mark; the sleep-entering mark is specifically a sleep-entering mark register, and the sleep-entering mark register is set after the system enters sleep;
triggering a wake-up interrupt program after receiving a wake-up signal;
judging whether the system enters a sleep mode according to the sleep entering mark;
and if the system is judged not to enter the sleep mode according to the sleep entering mark, directly exiting the wake-up interrupt program.
2. The method according to claim 1, wherein the method further comprises:
And if the system is judged to have entered the sleep mode according to the entering sleep flag, reconfiguring low power consumption parameters of the system to enable the system to exit the sleep mode.
3. The method according to claim 1, wherein the method further comprises:
if the system is judged to have entered the sleep mode according to the entering sleep flag, decoding the wake-up signal;
if the wake-up signal decoding is unsuccessful, the wake-up signal is judged to be an interference signal, and the wake-up interrupt program is directly exited.
4. A method according to claim 3, characterized in that the method further comprises:
If the wake-up signal is successfully decoded, judging that the wake-up signal is a normal signal, and reconfiguring low-power consumption parameters of the system to enable the system to exit from the sleep mode.
5. The method of any of claims 1-4, wherein the low power consumption parameter further comprises: register parameters, total interrupt switches, watchdog switches, ADC and timer switches, configuration of IO ports.
6. An infrared receiver wake-up low power consumption control device, comprising:
The configuration unit is used for configuring low-power consumption parameters of the system and controlling the system to enter a sleep mode according to the low-power consumption parameters, wherein the low-power consumption parameters comprise a sleep entering mark; the sleep-entering mark is specifically a sleep-entering mark register, and the sleep-entering mark register is set after the system enters sleep;
the triggering unit is used for triggering the wake-up interrupt program after receiving the wake-up signal;
The judging unit judges whether the system enters a sleep mode according to the sleep entering mark;
and the control unit directly exits the wake-up interrupt program if the system is judged not to enter the sleep mode according to the sleep entering mark.
7. The apparatus of claim 6, wherein the configuration unit is further configured to reconfigure a low power consumption parameter of the system to cause the system to exit the sleep mode if it is determined that the system has entered the sleep mode based on the enter sleep flag.
8. The apparatus of claim 6, further comprising a decoding unit,
The decoding unit is used for decoding the wake-up signal if the system is judged to have entered the sleep mode according to the entered sleep flag;
the judging unit is further used for judging whether the wake-up signal decoding is successful or not;
The control unit is further configured to determine that the wake-up signal is an interference signal if the wake-up signal is not successfully decoded, and directly exit the wake-up interrupt procedure;
And the configuration unit is also used for judging the wake-up signal to be a normal signal if the wake-up signal is successfully decoded, and reconfiguring low-power consumption parameters of the system to enable the system to exit the sleep mode.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any of claims 1-5 when the program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-5.
CN202111353649.8A 2021-11-16 2021-11-16 Control method, device, equipment and medium for waking up low power consumption of infrared receiver Active CN114116029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111353649.8A CN114116029B (en) 2021-11-16 2021-11-16 Control method, device, equipment and medium for waking up low power consumption of infrared receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111353649.8A CN114116029B (en) 2021-11-16 2021-11-16 Control method, device, equipment and medium for waking up low power consumption of infrared receiver

Publications (2)

Publication Number Publication Date
CN114116029A CN114116029A (en) 2022-03-01
CN114116029B true CN114116029B (en) 2024-06-07

Family

ID=80395661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111353649.8A Active CN114116029B (en) 2021-11-16 2021-11-16 Control method, device, equipment and medium for waking up low power consumption of infrared receiver

Country Status (1)

Country Link
CN (1) CN114116029B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941049A (en) * 2022-11-21 2023-04-07 深圳市华旭科技开发有限公司 Infrared communication method, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6209088B1 (en) * 1998-09-21 2001-03-27 Microsoft Corporation Computer hibernation implemented by a computer operating system
CN111402570A (en) * 2020-02-11 2020-07-10 广州创知科技有限公司 Infrared remote control signal receiving method, receiving system, receiving device and storage medium
CN112346789A (en) * 2020-11-06 2021-02-09 中国电子信息产业集团有限公司 Dual-system sleeping and awakening method, device, equipment and storage medium
CN112947738A (en) * 2019-12-10 2021-06-11 珠海全志科技股份有限公司 Intelligent terminal power supply system and intelligent terminal standby and wake-up method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6209088B1 (en) * 1998-09-21 2001-03-27 Microsoft Corporation Computer hibernation implemented by a computer operating system
CN112947738A (en) * 2019-12-10 2021-06-11 珠海全志科技股份有限公司 Intelligent terminal power supply system and intelligent terminal standby and wake-up method
CN111402570A (en) * 2020-02-11 2020-07-10 广州创知科技有限公司 Infrared remote control signal receiving method, receiving system, receiving device and storage medium
CN112346789A (en) * 2020-11-06 2021-02-09 中国电子信息产业集团有限公司 Dual-system sleeping and awakening method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114116029A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
EP2506114B1 (en) Method and device for intelligent terminal reset
CN110554762A (en) Method and terminal for controlling application program
CN104516296A (en) Wakeup method for microcontroller system based on peripheral module and peripheral module
CN114116029B (en) Control method, device, equipment and medium for waking up low power consumption of infrared receiver
CN109362124B (en) Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment
CN111124511A (en) Wake-up chip and wake-up system
CN109067416A (en) A kind of method and Intelligent hardware for realizing SIM card hot plug and starting
CN104143969A (en) Sleep mode circuit and method for making circuit be in sleep mode
CN111103963A (en) Fingerprint module starting method and device, storage medium and terminal
CN102833830A (en) Mobile intelligent terminal and method for awakening same
US8412919B2 (en) Method for controlling multi-port network interface card
CN105744474B (en) Method and terminal for controlling state change of mobile data network of terminal equipment
CN115481070A (en) PCIE equipment scanning method, device and medium
CN113869477B (en) RFID (radio frequency identification) tag chip and chip power consumption control method
CN109582505B (en) BIOS option default value recovery system, method and device
CN111376245B (en) Steering engine control method and system and robot
US20200363834A1 (en) Pulse Counting Apparatus Operating at Low Power and Operation Method Thereof
CN109996319B (en) Beacon signal processing device
WO2018098901A1 (en) Processing method and device for terminal service
US11533055B2 (en) Ultra-low power adaptively reconfigurable system
CN116825013A (en) Control device, control method and related equipment of display screen
CN107526603B (en) Application awakening method and device
CN109871245A (en) Starting state switching method, device, equipment, system and electronic equipment
WO2013159464A1 (en) Multiple core processor clock control device and control method
CN111818621A (en) Bluetooth device awakening method, device and system and electronic device

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