Disclosure of Invention
Accordingly, the present invention is directed to a wake-up method, device, apparatus and medium for prolonging the service life of low power consumption products. The specific scheme is as follows:
In a first aspect, the application discloses a wake-up method applied to low-power consumption equipment, comprising the following steps:
Receiving a carrier signal of a target frequency;
Judging whether the level state of the carrier signal meets a first preset condition or not;
if yes, the method wakes up and enters a normal working state.
Optionally, the method further comprises:
and if the carrier signal does not meet the first preset condition, not responding.
Optionally, the first preset condition is that a level state of the carrier signal is a high level state.
Optionally, the low power consumption device comprises a register, and the method further comprises:
and responding to a setting instruction of a user through the register, and adjusting the duty ratio of the carrier signal.
In a second aspect, the present application discloses a wake-up device applied to a low power consumption apparatus, comprising:
the signal receiving module is used for receiving the carrier signal of the target frequency;
The judging module is used for judging whether the level state of the carrier signal meets a first preset condition or not;
and the working module is used for waking up and entering a normal working state if the working module is in the normal working state.
Optionally, the wake-up device further includes:
and the response selection unit is used for not responding if the carrier signal does not meet the first preset condition.
Optionally, the first preset condition in the judging module is that a level state of the carrier signal is a high level state.
Optionally, the low power consumption device includes a register, and the wake-up device further includes:
And the duty ratio adjusting unit is used for responding to a setting instruction of a user through the register and adjusting the duty ratio of the carrier signal.
In a third aspect, the present application discloses an electronic device, comprising:
A memory for storing a computer program;
A processor for executing the computer program to implement the steps of the previously disclosed wake-up method.
In a fourth aspect, the present application discloses a computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the previously disclosed wake-up method.
It can be seen that after the low-power-consumption product receives the carrier signal with the target frequency, whether the level state of the carrier signal meets the first preset condition is judged, and if yes, the low-power-consumption product wakes up and enters a normal working state. Therefore, when the low-power-consumption equipment receives the carrier signal, the low-power-consumption equipment does not wake up directly to enter the normal working state, but judges whether the current level state of the carrier signal meets the first preset condition or not, namely, if the current level state does not meet the first preset condition, the low-power-consumption equipment does not wake up to enter the normal working state, so that the wake-up frequency caused by the interference signal is greatly reduced, the time in the normal working state is shortened, the consumption of the electric quantity of a battery is further reduced, and the service life of the battery is prolonged.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
There are low power products which are in a sleep state most of the time, usually once at intervals, by a wake-up tool, and quickly enter the sleep state again after waking up. Because the batteries of these products are mostly disposable products, the products cannot be charged, and the products need to be sent with high frequency data when in a normal working state after being awakened, so that more battery electric quantity is consumed, and in a dormant state, the electric quantity consumption is very low, so that in order to save the electric quantity, the service life of the batteries is delayed, and only when the awakening tool sends carrier signals with specific frequency to the chips of the products, the chips can awaken the products so as to achieve a normal working mode. In the actual use process of the product, because some interference signals with the frequency close to that of the carrier signal with the specific frequency exist, the low-power-consumption product can be awakened after the interference signals are received, so that the electric quantity of the product is rapidly consumed, and the service life of the product is reduced.
Therefore, the application correspondingly provides a wake-up scheme, and the service life of the low-power-consumption product is prolonged.
Referring to fig. 1, an embodiment of the present application discloses a wake-up method applied to a low power device, including:
step S11, a carrier signal of a target frequency is received.
In this embodiment, the power supply battery of some low-power devices cannot be charged, and is a disposable battery, such as a button battery, so the battery power is very important, and therefore the consumption of the battery power needs to be reduced as much as possible, that is, the time that the low-power devices are in a normal working state. In the prior art, when a wake-up tool sends a carrier signal with a target frequency to a low-power-consumption device, the low-power-consumption device is waken up, so that the low-power-consumption device is in a normal working state, and processes related work, wherein the target frequency is generally low frequency, i.e. the carrier signal capable of enabling the low-power-consumption device to be converted into the normal working state from a dormant state is generally a low-frequency carrier signal, for example, a low-frequency carrier signal with a frequency of 125K, and the low-frequency carrier signal with a frequency of 125K is easily interfered by the surrounding environment, especially when certain frequency information in some interference signals is likely to be similar to certain frequency in carrier signals accepted by the low-power-consumption device, for example, low-frequency interference signals such as electronic interference signals around a vehicle, metal interference signals around the vehicle, and the like, the low-power-consumption device is waken up by the interference signals to enter the normal working state, thereby improving the consumption of battery power in the low-power-consumption device.
Step S12, judging whether the level state of the carrier signal meets a first preset condition.
In this embodiment, in order to reduce the frequency of entering the normal working state due to the interference signal, after receiving the carrier signal of the target frequency, the low power consumption device first determines whether the level state of the signal meets a first preset condition, and if yes, wakes up again. A first preset condition, for example, the first preset condition is that the level state is the high level state, so that the low-power-consumption device is awakened only when the level state of the carrier signal is the high level state, and the probability of awakening the low-power-consumption device is reduced.
And S13, if yes, waking up and entering a normal working state.
In this embodiment, if it is determined that the current level state meets the first preset condition, it is indicated that the low-power consumption device may wake up, that is, switch from the sleep state to the normal working state, and perform corresponding working processing.
It can be seen that after the low-power-consumption product receives the carrier signal with the target frequency, whether the level state of the carrier signal meets the first preset condition is judged, and if yes, the low-power-consumption product wakes up and enters a normal working state. Therefore, when the low-power-consumption equipment receives the carrier signal, the low-power-consumption equipment does not wake up directly to enter the normal working state, but judges whether the current level state of the carrier signal meets the first preset condition or not, namely, if the current level state does not meet the first preset condition, the low-power-consumption equipment does not wake up to enter the normal working state, so that the wake-up frequency caused by the interference signal is greatly reduced, the time in the normal working state is shortened, the consumption of the electric quantity of a battery is further reduced, and the service life of the battery is prolonged.
Referring to fig. 2, the embodiment of the application discloses a specific wake-up method, which includes:
step S21, receiving a carrier signal of a target frequency.
In this embodiment, when the frequency of the carrier signal sent by the wake-up tool is not the target frequency, the low power device cannot receive the carrier signal.
Step S22, judging whether the level state of the carrier signal meets a first preset condition, wherein the first preset condition is that the level state of the carrier signal is a high level state.
In this embodiment, if the carrier signal does not meet the first preset condition, the response is not made. When the level state of the carrier signal is a low level state, the low-power-consumption equipment does not respond, does not need to wake up, does not need to change from a dormant state to a normal working state, and is still in the dormant state.
In this embodiment, the low power consumption device includes a register, and the method further includes adjusting the duty ratio of the carrier signal through the register in response to a setting instruction of a user. It is understood that the duty ratio refers to the ratio of the power-on time to the total time in one pulse cycle, that is, the ratio of the high level state in one period to the low level state in one period, and the period time is the sum of the high level time and the low level time in one period, so that the high level state time and the low level state time can be obtained. The user may adjust the duty ratio based on the actual situation, for example, a specific duty ratio setting diagram shown in fig. 3, the current duty ratio is 50%, that is, the high level state time: the low level state time is 1:1, but in the subsequent situation, the interference signal is more, but the non-interference signal is less, then a setting instruction may be sent to the register, and the register responds to the setting instruction, and adjusts the duty ratio of the carrier signal to 25%, for example, another specific duty ratio setting diagram shown in fig. 4, that is, the high level state time: the low level state time 1:3, so that when the carrier signal of the target frequency is received subsequently, the probability that the level state is the high level state is greatly reduced, and therefore, the time that the low power consumption device is in the sleep state is also prolonged. The probability that the frequency information of the interference signal is close to the frequency information of the target carrier signal is relatively low, for example, 1/100, and if the duty ratio is set to 10%, the probability that the low power consumption device is in a normal working state due to the interference signal is only 1/1000, so that the effect of reducing the consumption of the battery power is very remarkable. It should be noted that, the setting instruction of the user may also include time information of the register responding to the setting instruction, for example, the low power consumption device is set in the vehicle, the current duty ratio is 50%, that is, the high level state time: the low level state time is 1:1, the probability that the vehicle is in the non-starting state at night is very high, further more time of the low power consumption device needs to be in the sleep state, then the user may set the response time in advance, for example, the response time is 24:00 to 3:00, so the register adjusts the current duty ratio to be 50% to 5% in the time of 24:00 to 3:00, that is, the high level state time: the low level state time is 1:19, the duty ratio is reasonably planned, the frequency that the low power consumption device is in the normal working state due to the interference signal is reduced, and the battery loss is reduced.
And S23, if yes, waking up and entering a normal working state.
The more specific working procedure of the above step S22 may refer to the corresponding content disclosed in the foregoing embodiment, and will not be described herein.
Therefore, the application can reasonably adjust the duty ratio of the carrier signal based on the actual situation, reasonably plan the first preset condition, adjust different duty ratios in different situations, improve the user experience, be more intelligent, reduce the battery loss caused by the interference signal and prolong the service life of the battery.
Referring to fig. 5, an embodiment of the present application discloses a wake-up device applied to a low power consumption device, including:
a signal receiving module 11 for receiving a carrier signal of a target frequency;
A judging module 12, configured to judge whether the level state of the carrier signal meets a first preset condition;
and the working module 13 is used for waking up and entering a normal working state if yes.
It can be seen that after the low-power-consumption product receives the carrier signal with the target frequency, whether the level state of the carrier signal meets the first preset condition is judged, and if yes, the low-power-consumption product wakes up and enters a normal working state. Therefore, when the low-power-consumption equipment receives the carrier signal, the low-power-consumption equipment does not wake up directly to enter the normal working state, but judges whether the current level state of the carrier signal meets the first preset condition or not, namely, if the current level state does not meet the first preset condition, the low-power-consumption equipment does not wake up to enter the normal working state, so that the wake-up frequency caused by the interference signal is greatly reduced, the time in the normal working state is shortened, the consumption of the electric quantity of a battery is further reduced, and the service life of the battery is prolonged.
In some embodiments, the wake-up device further comprises:
and the response selection unit is used for not responding if the carrier signal does not meet the first preset condition.
In some embodiments, the first preset condition in the determining module 12 is that the level state of the carrier signal is a high level state.
In some specific embodiments, the low power consumption device includes a register, and the wake-up apparatus further includes:
And the duty ratio adjusting unit is used for responding to a setting instruction of a user through the register and adjusting the duty ratio of the carrier signal.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Specifically, the system comprises at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input/output interface 25 and a communication bus 26. Wherein the memory 22 is configured to store a computer program that is loaded and executed by the processor 21 to implement the relevant steps of the wake-up method performed by the electronic device disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide working voltages for each hardware device on the electronic device, the communication interface 24 is configured to create a data transmission channel with an external device for the electronic device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein, and the input/output interface 25 is configured to obtain external input data or output data to the outside, where the specific interface type may be selected according to the needs of the specific application, which is not specifically limited herein.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also include a main processor, which is a processor for processing data in a wake-up state, also called a CPU (Central Processing Unit ), and a coprocessor, which is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing computing operations related to machine learning.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon include an operating system 221, a computer program 222, and data 223, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows, unix, linux. The computer program 222 may further comprise a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the wake-up method performed by the electronic device disclosed in any of the previous embodiments. The data 223 may include, in addition to data received by the electronic device and transmitted by the external device, data collected by the input/output interface 25 itself, and so on.
Further, the embodiment of the application also discloses a computer readable storage medium, wherein the storage medium stores a computer program, and when the computer program is loaded and executed by a processor, the method steps executed in the wake-up process disclosed in any embodiment are realized.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
While the foregoing describes in detail a wake-up method, apparatus, device and medium provided by the present invention, specific examples are provided herein to illustrate the principles and embodiments of the present invention, and the above examples are provided to assist in understanding the method and core ideas of the present invention, and meanwhile, to those skilled in the art, according to the ideas of the present invention, there are variations in the specific embodiments and application scope, so the disclosure should not be construed as limiting the present invention.