CN114698074A - Energy-saving method, device, equipment and storage medium - Google Patents

Energy-saving method, device, equipment and storage medium Download PDF

Info

Publication number
CN114698074A
CN114698074A CN202210364117.2A CN202210364117A CN114698074A CN 114698074 A CN114698074 A CN 114698074A CN 202210364117 A CN202210364117 A CN 202210364117A CN 114698074 A CN114698074 A CN 114698074A
Authority
CN
China
Prior art keywords
module
control module
mode
functional module
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210364117.2A
Other languages
Chinese (zh)
Inventor
王文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Spaceflight Haite System Engineering Co ltd
Original Assignee
Guangzhou Spaceflight Haite System Engineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Spaceflight Haite System Engineering Co ltd filed Critical Guangzhou Spaceflight Haite System Engineering Co ltd
Priority to CN202210364117.2A priority Critical patent/CN114698074A/en
Publication of CN114698074A publication Critical patent/CN114698074A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/0277Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof according to available power supply, e.g. switching off when a low battery condition is detected
    • 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

Abstract

The invention discloses an energy-saving method, an energy-saving device, energy-saving equipment and a storage medium. Applied to a mobile terminal, the mobile terminal comprises: the power supply module is connected with the control module and the at least one functional module, and the control module is connected with the at least one functional module; the method comprises the following steps: if the target pulse signal is captured, the control module acquires the current mode of at least one functional module and/or the power state of at least one functional module and the current mode of the control module; if the current mode of the at least one functional module is the working mode, the control module switches the current mode of the at least one functional module to the low power consumption mode, or if the power supply state of the at least one functional module is the power supply state, the control module controls the at least one functional module and the power supply module to be disconnected; and if the control module is in the working mode, switching the current mode of the control module to the dormant mode. The scheme is simple and convenient to operate and low in cost.

Description

Energy-saving method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of battery energy conservation, in particular to an energy-saving method, an energy-saving device, energy-saving equipment and a storage medium.
Background
Mobile terminal equipment generally adopts battery powered, often is applied to outdoor scene, needs the duration long, and waterproof, dustproof. A large-capacity battery is required to be selected in the long-term endurance time, the power consumption of the equipment is reduced as much as possible, and the equipment can be in a standby state when not required to work; in the aspects of water resistance and dust resistance, a closed shell is required to be adopted, and the exposed joint is avoided as much as possible.
In practical application, many mobile terminal devices have extremely strict requirements on waterproof and dustproof aspects, are fully sealed, have no exposed joint, eliminate the possibility of online charging, have high requirements on battery endurance time, and need to reduce power consumption as much as possible.
Disclosure of Invention
In view of the above, the present invention provides an energy saving method, apparatus, device and storage medium, which solve the problems that the mobile terminal device in the prior art cannot be charged online without an exposed connector and needs to reduce power consumption as much as possible, and achieve the purposes of improving the endurance of the mobile terminal battery, prolonging the endurance time of the mobile terminal battery, and are simple and convenient to operate and low in cost.
In a first aspect, an embodiment of the present invention provides an energy saving method, which is applied to a mobile terminal, where the mobile terminal includes: the power supply module is connected with the control module and the at least one functional module, and the control module is connected with the at least one functional module;
the energy-saving method comprises the following steps:
if the target pulse signal is captured, the control module acquires the current mode of the at least one functional module and/or the power state of the at least one functional module and the current mode of the control module;
if the current mode of the at least one functional module is a working mode, the control module switches the current mode of the at least one functional module to a low power consumption mode, or if the power supply state of the at least one functional module is a power supply state, the control module controls the at least one functional module and the power supply module to be disconnected;
and if the control module is in a working mode, switching the current mode of the control module to a sleep mode.
In a second aspect, an embodiment of the present invention further provides an energy saving device, which is applied to a mobile terminal, where the mobile terminal includes: the power supply module is connected with the control module and the at least one functional module, and the control module is connected with the at least one functional module;
the energy saving device comprises:
the acquisition module is used for acquiring the current mode of the at least one functional module and/or the power state of the at least one functional module and the current mode of the control module if the target pulse signal is captured;
the first processing module is configured to switch the current mode of the at least one function module to a low power consumption mode if the current mode of the at least one function module is the operating mode, or control the at least one function module to disconnect from the power supply module if the power supply state of the at least one function module is the power supply state;
the first switching module is used for switching the current mode of the control module to a sleep mode if the control module is in a working mode.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: one or more processors; a memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement a method of saving power as in any of the embodiments described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the energy saving method according to any of the above embodiments.
The embodiment of the invention realizes the energy saving of the power module of the mobile terminal equipment by capturing the pulse signal and changing the states of the power module and the functional module through the control module according to the pulse signal. The scheme is simple and convenient to operate and low in cost, solves the problems that in the prior art, the mobile terminal equipment cannot be charged on line without an exposed joint and the power consumption needs to be reduced as far as possible, improves the endurance of the mobile terminal battery, and prolongs the endurance time of the mobile terminal battery.
Drawings
Fig. 1 is a flowchart of an energy saving method according to an embodiment of the present invention;
FIG. 2 is a schematic structural view of a reed switch;
FIG. 3 is a schematic diagram of an energy saving method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an energy saving device according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, subprograms, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
The term "include" and variations thereof as used herein are intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment".
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example one
An energy saving method provided in an embodiment of the present invention is applied to a mobile terminal, where the mobile terminal includes: the power module is connected with the control module and the at least one functional module, and the control module is connected with the at least one functional module.
In this embodiment, the mobile terminal may be a mobile phone, an iPad, a notebook, a tablet computer, and other computer devices that can be used in mobile, the power module may be a battery such as a lithium battery, and the Control module may be an MCU (Micro Control Unit), for example.
It is to be understood that a functional module refers to a collection of program elements, such as data descriptions, executable statements, etc., that refer to individually named procedures, functions, subroutines, or macro-calls accessible by name.
Fig. 1 is a flowchart of an energy saving method provided in an embodiment of the present invention, where the embodiment is applicable to a case of saving energy, for example, a case of saving energy for a mobile terminal device based on a reed switch, and the method may be executed by an energy saving apparatus in an embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, the method specifically includes the following steps:
s101, if the target pulse signal is captured, the control module acquires the current mode of at least one functional module and/or the power state of at least one functional module and the current mode of the control module.
In this embodiment, the target pulse signal may be understood as a pulse signal sent to the control module. For example, the target pulse signal may be a low pulse signal, which is not limited in this embodiment of the present invention.
It should be explained that the current mode of the function module refers to a mode of at least one function module in the mobile terminal when the control module captures the target pulse signal. For example, the current mode of the functional module may be an operating mode or a low power consumption mode.
It should be noted that the power state of the functional module may be understood as a connection state of at least one functional module in the mobile terminal and the power module. When at least one functional module is in a connection state with the power supply module, the power supply module supplies power to the at least one functional module, and the power supply state of the functional module is a power supply state; when at least one functional module and the power module are in a disconnected state, the power module cannot supply power to the at least one functional module, and the power state of the functional module is in the disconnected state.
It should be explained that the current mode of the control module refers to the mode of the control module in the mobile terminal when the control module captures the target pulse signal. For example, the current mode of the control module may be an operating mode or a sleep mode.
Specifically, if the control module captures the target pulse signal, the control module obtains a current mode of at least one functional module and/or a power state of the at least one functional module in the mobile terminal, and a current mode of the control module.
S102, if the current mode of the at least one functional module is the working mode, the control module switches the current mode of the at least one functional module to the low power consumption mode, or if the power supply state of the at least one functional module is the power supply state, the control module controls the at least one functional module to be disconnected with the power supply module.
The operating mode may be understood as a state in which at least one functional module is executing a predetermined function, and the power consumption of the functional module is relatively large when the functional module is in the operating mode.
It should be explained that the low power mode is understood to mean that at least one functional module places the processor and memory in a minimum power state to meet the operating requirements of the current workload without affecting performance. The power consumption of the functional module in the low power consumption mode is less than the power consumption of the functional module in the working mode.
It should be noted that the power supply state refers to a state in which the power supply module is connected to at least one functional module and supplies power to at least one functional module.
Specifically, when the user does not use the mobile terminal temporarily, that is, the mobile terminal is idle, if the current mode of the at least one functional module is the working mode, the control module switches the current mode of the at least one functional module to the low power consumption mode, or if the current power state of the at least one functional module is the power supply state, the control module controls the at least one functional module to be disconnected from the power supply module, so that the power consumption of the mobile terminal is reduced, and the endurance time of the battery of the mobile terminal is prolonged.
S103, if the control module is in the working mode, switching the current mode of the control module to the sleep mode.
It should be noted that the sleep mode is understood as a mode in which the control module cuts off control of all modules (including at least one functional module) in the mobile terminal and temporarily stops the operation.
Specifically, when the user does not use the mobile terminal temporarily, that is, the mobile terminal is idle, if the control module is in the working mode, the current mode of the control module is switched to the sleep mode, so that the power consumption of the mobile terminal is reduced, and the cruising ability of the battery of the mobile terminal is improved.
The embodiment of the invention realizes the energy saving of the power module of the mobile terminal equipment by capturing the pulse signal and changing the states of the power module and the functional module through the control module according to the pulse signal. The scheme is simple and convenient to operate and low in cost, solves the problems that in the prior art, the mobile terminal equipment cannot be charged on line without an exposed joint and the power consumption needs to be reduced as far as possible, improves the endurance of the mobile terminal battery, and prolongs the endurance time of the mobile terminal battery.
Optionally, the energy saving method further includes:
if the current mode of the at least one functional module is the low power consumption mode, the control module switches the current mode of the at least one functional module to the working mode, or if the power supply state of the at least one functional module is the disconnection state, the control module controls the at least one functional module to be connected with the power supply module.
It should be noted that the off state refers to a state in which the power supply module is disconnected from at least one functional module and cannot supply power to the at least one functional module.
Specifically, when the mobile terminal needs to enter the working mode again, if the current mode of the at least one current functional module is the low power consumption mode, the control module switches the current mode of the at least one current functional module to the working mode, or if the power state of the at least one current functional module is the off state, the control module controls the at least one current functional module to be connected with the power module, so that the mobile terminal enters the working mode again to work normally.
And if the control module is in the dormant mode, switching the current mode of the control module to the working mode.
Specifically, when the mobile terminal needs to re-enter the working mode, if the current control module is in the sleep mode, the current mode of the control module is switched to the working mode, so that the mobile terminal re-enters the working mode to normally work.
Optionally, the mobile terminal further includes: and the reed switch is connected with the power supply module and the control module.
It can be known that the reed switch, also known as a magnetic reed switch, and a magnetic control sensor are a special switch with magnetic sensitivity.
FIG. 2 is a schematic structural diagram of a reed switch, as shown in FIG. 2, the reed switch is composed of a reed 201 and a reed 202, and the reed 201 and the reed 202 are generally composed of two metals, namely iron and nickel; the ends of spring 201 and spring 202 typically have a metal spring contact, contact 203 and contact 204, respectively, made of soft magnetic material; the reed 201 and reed 202 are sealed in a glass tube 206 filled with an inert gas 205 or vacuum, and the inert gas 205 may be, for example, nitrogen or helium; the ends of the parallel-packaged reed 201 and reed 202 within the glass tube 206 overlap and leave a gap (only about a few microns) and an external appropriate magnetic field will cause the reed 201 and reed 202 to contact, even if the switch is closed.
The reed 201 and the reed 202 in the reed pipe act as a magnetic flux conductor. When not in operation, the reed 201 and the reed 202 are not in contact. When the magnetic field is generated by a permanent magnet or an electromagnetic coil, the external magnetic field enables the reed 201 and the reed 202 to generate different polarities near the end point positions, and when the magnetic force exceeds the elastic force of the reed, the reed 201 and the reed 202 attract each other to conduct a circuit; when the magnetic field is weakened or eliminated, the spring plate 201 and the spring plate 202 are released due to the elasticity of the spring plate, and the contact surfaces are separated, so that the circuit is opened.
The control module catches the target pulse signal, including:
when the reed pipes sense a magnetic field, the reed pipes are closed, and the reed pipes transmit target pulse signals to the interface of the control module.
The magnetic field refers to a substance having a magnetic force on a magnet placed therein. In this embodiment, the magnetic field may be formed by, for example, a permanent magnet, or may be formed by another object that can form a magnetic field, which is not limited in the embodiment of the present invention.
The closing means that the magnetic field causes the reed 201 and the reed 202 in the reed pipe to contact each other, and the switch is closed.
In this embodiment, the interface refers to an Input/Output (I/O) port of the control module.
Specifically, if a reed switch in the mobile terminal senses a magnetic field, the reed switch is closed, and the reed switch transmits a target pulse signal to an interface of the control module.
The control module captures a target pulse signal.
Specifically, the reed switch senses a magnetic field, and after a target pulse signal is transmitted to an interface of the control module, the control module captures the target pulse signal transmitted by the reed switch.
Optionally, the mobile terminal further includes: and the reed switch is connected with the power supply module through at least one resistor.
In this embodiment, the resistor mainly serves as an overcurrent protection to prevent the reed switch from being damaged by an excessive current output by the power module. The resistance may be at least one, and the magnitude of the resistance may be 10 kilo-ohms or 20 kilo-ohms, which is not limited in the embodiment of the present invention.
Optionally, the target pulse signal is a low pulse signal.
For example, the target pulse signal transmitted by the reed switch to the aerial module may be a low pulse signal.
As an exemplary description of the embodiment of the present invention, fig. 3 is a schematic diagram of an energy saving method provided in the first embodiment of the present invention. As shown in fig. 3, the mobile terminal 30 includes: a power supply module 301, a control module 302, a functional module 303, a reed switch 304 and a resistor 305; the number of the functional modules 303 in the mobile terminal 30 may be one or more, and one functional module 303 is taken as an example in fig. 3; the number of the resistors 305 in the mobile terminal 30 may also be one or more, and one resistor 305 is taken as an example in fig. 3; the power module 301 is connected with the control module 302 and at least one functional module 303, the control module 302 is connected with the at least one functional module 303, the reed pipe 304 is connected with the power module 301 and the control module 302, and the reed pipe 304 is connected with the power module 301 through at least one resistor 305.
The mobile terminal 30 is powered by a power module 301, a reed switch 304 is arranged in the mobile terminal, one end of the reed switch 304 is connected with the power module 301 through a resistor 305, the other end of the reed switch is grounded, and the power module 301 supplies power to a control module 302 and all functional modules 303 at the same time.
When the mobile terminal 30 is in a normal working state during initial power-on, the power consumption of the mobile terminal 30 is large.
The energy-saving method comprises the following specific operations:
when the mobile terminal 30 is idle, a permanent magnet 31 is used to approach (the approach may be short-term approach or long-term approach, both of which can achieve corresponding effects, and the short-term approach saves operation time) the mobile terminal 30, so that the reed pipe 304 is momentarily closed, a low pulse signal is transmitted to the I/O port of the control module 302, and after the control module 302 captures the low pulse signal, the control module controls each functional module 303 to be in a low power consumption mode or switches off the power supply of each functional module 303 through the control switch, even if each functional module 303 is disconnected from the power supply module 301, the control module 302 is switched to a sleep mode, and at this time, the power consumption of the mobile terminal 30 is very small.
When the mobile terminal 30 needs to enter the operating mode again, the permanent magnet 31 is used to approach the mobile terminal 30 (the approach may be a short approach or a long approach, which can achieve a corresponding effect and save operation time), so that the reed switch 304 is closed briefly, a low pulse signal is transmitted to the I/O port of the control module 302, the control module 302 in the sleep mode switches to the normal operating mode after catching the low pulse signal, and then the functional modules 303 are controlled to switch to the normal operating mode or the power of the functional modules is turned on through the control switch, that is, the functional modules 303 are controlled to be connected with the power module 301, at this time, the mobile terminal 30 recovers all functions and is in a state with larger power consumption.
By repeating the above process, the mobile terminal device 30 can be switched back and forth between the energy-saving mode and the normal operating mode, the cruising ability of the power module 301 in the mobile terminal 30 can be improved, the cruising time of the power module 301 in the mobile terminal 30 can be prolonged, and the operation is simple and convenient.
Example two
The energy saving device provided by the second embodiment of the present invention is characterized in that the energy saving device is applied to a mobile terminal, and the mobile terminal includes: the power supply module is connected with the control module and the at least one functional module, and the control module is connected with the at least one functional module.
Fig. 4 is a schematic structural diagram of an energy saving apparatus according to a second embodiment of the present invention, where the apparatus is suitable for energy saving, for example, in a case of saving energy in a reed switch-based mobile terminal device, the apparatus may be implemented by hardware/software, and may be configured in a mobile terminal to implement an energy saving method according to an embodiment of the present invention. As shown in fig. 4, the apparatus specifically includes: an acquisition module 401, a first processing module 402 and a first switching module 403.
The obtaining module 401 is configured to obtain, if a target pulse signal is captured, a current mode of the at least one functional module and/or a power state of the at least one functional module, and a current mode of the control module;
a first processing module 402, configured to switch the current mode of the at least one functional module to a low power consumption mode if the current mode of the at least one functional module is a working mode, or control the at least one functional module and the power supply module to be disconnected if the power supply state of the at least one functional module is a power supply state;
a first switching module 403, configured to switch a current mode of the control module to a sleep mode if the control module is in a working mode.
The embodiment of the invention realizes the energy saving of the power module of the mobile terminal equipment by capturing the pulse signal and changing the states of the power module and the functional module through the control module according to the pulse signal. The scheme is simple and convenient to operate and low in cost, solves the problems that in the prior art, the mobile terminal equipment cannot be charged on line without an exposed joint and the power consumption needs to be reduced as far as possible, improves the endurance of the mobile terminal battery, and prolongs the endurance time of the mobile terminal battery.
Further, the energy saving device further comprises:
the second processing module is configured to switch the current mode of the at least one functional module to a working mode if the current mode of the at least one functional module is a low power consumption mode, or control the at least one functional module to be connected to the power supply module if the power supply state of the at least one functional module is a disconnected state;
and the second switching module is used for switching the current mode of the control module to a working mode if the control module is in a dormant mode.
Further, the mobile terminal further includes: the reed switch is connected with the power supply module and the control module;
the obtaining module 401 is specifically configured to:
if the reed switch senses a magnetic field, the reed switch is closed, and the reed switch transmits a target pulse signal to an interface of the control module;
the control module captures the target pulse signal.
Further, the mobile terminal further includes: and the reed switch is connected with the power supply module through the at least one resistor.
Further, the target pulse signal is a low pulse signal.
The energy-saving device can execute the energy-saving method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the energy-saving method.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an electronic apparatus according to a third embodiment of the present invention, as shown in fig. 5, the electronic apparatus includes a processor 501, a memory 502, an input device 503, and an output device 504; the number of the processors 501 in the electronic device may be one or more, and one processor 501 is taken as an example in fig. 5; the processor 501, the memory 502, the input device 503 and the output device 504 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 502, which is a computer-readable storage medium, may be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the energy saving method in the embodiment of the present invention (for example, the obtaining module 401, the first processing module 402, and the first switching module 403 in the energy saving apparatus). The processor 501 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 502, that is, the energy saving method provided by the above-mentioned embodiment of the present invention is realized:
if the target pulse signal is captured, the control module acquires the current mode of the at least one functional module and/or the power state of the at least one functional module and the current mode of the control module;
if the current mode of the at least one functional module is a working mode, the control module switches the current mode of the at least one functional module to a low power consumption mode, or if the power supply state of the at least one functional module is a power supply state, the control module controls the at least one functional module and the power supply module to be disconnected;
and if the control module is in a working mode, switching the current mode of the control module to a sleep mode.
The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 502 may further include memory located remotely from processor 501, which may be connected to devices/terminals/servers through 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 input device 503 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 504 may include a display device such as a display screen.
Example four
The fourth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the energy saving method provided in the fourth embodiment of the present invention, where the method includes:
if the target pulse signal is captured, the control module acquires the current mode of the at least one functional module and/or the power state of the at least one functional module and the current mode of the control module;
if the current mode of the at least one functional module is a working mode, the control module switches the current mode of the at least one functional module to a low power consumption mode, or if the power supply state of the at least one functional module is a power supply state, the control module controls the at least one functional module and the power supply module to be disconnected;
and if the control module is in a working mode, switching the current mode of the control module to a sleep mode.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM or flash Memory), an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A power saving method is applied to a mobile terminal, and the mobile terminal comprises: the power supply module is connected with the control module and the at least one functional module, and the control module is connected with the at least one functional module;
the energy-saving method comprises the following steps:
if the target pulse signal is captured, the control module acquires the current mode of the at least one functional module and/or the power state of the at least one functional module and the current mode of the control module;
if the current mode of the at least one functional module is a working mode, the control module switches the current mode of the at least one functional module to a low power consumption mode, or if the power supply state of the at least one functional module is a power supply state, the control module controls the at least one functional module and the power supply module to be disconnected;
and if the control module is in a working mode, switching the current mode of the control module to a sleep mode.
2. The method of claim 1, further comprising:
if the current mode of the at least one functional module is a low-power mode, the control module switches the current mode of the at least one functional module to a working mode, or if the power state of the at least one functional module is a disconnected state, the control module controls the at least one functional module to be connected with the power module;
and if the control module is in the dormant mode, switching the current mode of the control module to a working mode.
3. The method according to claim 1 or 2, wherein the mobile terminal further comprises: the reed switch is connected with the power supply module and the control module;
the control module captures a target pulse signal, comprising:
if the reed switch senses a magnetic field, the reed switch is closed, and the reed switch transmits a target pulse signal to an interface of the control module;
the control module captures the target pulse signal.
4. The method of claim 3, wherein the mobile terminal further comprises: and the reed switch is connected with the power supply module through the at least one resistor.
5. The method of claim 1, wherein the target pulse signal is a low pulse signal.
6. An energy saving device, applied to a mobile terminal, the mobile terminal comprising: the power supply module is connected with the control module and the at least one functional module, and the control module is connected with the at least one functional module;
the energy-saving device comprises:
the acquisition module is used for acquiring the current mode of the at least one functional module and/or the power state of the at least one functional module and the current mode of the control module if the target pulse signal is captured;
the first processing module is used for switching the current mode of the at least one functional module to a low power consumption mode if the current mode of the at least one functional module is a working mode, or controlling the at least one functional module and the power supply module to be disconnected if the power supply state of the at least one functional module is a power supply state;
the first switching module is used for switching the current mode of the control module to a sleep mode if the control module is in a working mode.
7. The apparatus of claim 6, further comprising:
the second processing module is configured to switch the current mode of the at least one functional module to a working mode if the current mode of the at least one functional module is a low power consumption mode, or control the at least one functional module to be connected to the power supply module if the power supply state of the at least one functional module is a disconnected state;
and the second switching module is used for switching the current mode of the control module to a working mode if the control module is in a dormant mode.
8. The apparatus according to claim 6 or 7, wherein the mobile terminal further comprises: the reed switch is connected with the power supply module and the control module;
the acquisition module is specifically configured to:
if the reed switch senses a magnetic field, the reed switch is closed, and the reed switch transmits a target pulse signal to an interface of the control module;
the control module captures the target pulse signal.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the processors to implement the power saving method of any of claims 1-5.
10. A computer-readable storage medium containing a computer program, on which the computer program is stored, characterized in that the program, when executed by one or more processors, implements the energy saving method according to any one of claims 1-5.
CN202210364117.2A 2022-04-07 2022-04-07 Energy-saving method, device, equipment and storage medium Pending CN114698074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210364117.2A CN114698074A (en) 2022-04-07 2022-04-07 Energy-saving method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210364117.2A CN114698074A (en) 2022-04-07 2022-04-07 Energy-saving method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114698074A true CN114698074A (en) 2022-07-01

Family

ID=82142815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210364117.2A Pending CN114698074A (en) 2022-04-07 2022-04-07 Energy-saving method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114698074A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634663A (en) * 2012-08-27 2014-03-12 华为终端有限公司 Set-top box standby method, set-top box standby control apparatus and set-top box
CN105242203A (en) * 2015-10-30 2016-01-13 江西金程智能科技有限公司 Reed switch pulse signal quality analysis method and analysis system
US20160157176A1 (en) * 2013-12-13 2016-06-02 Shenyang Institute Of Automation Of The Chinese Academy Of Sciences Low power consumption networking method of 802.15.4e wireless device that takes power based on 4-20ma loop
CN107018557A (en) * 2017-02-28 2017-08-04 深圳市金立通信设备有限公司 A kind of terminal control method and terminal
CN107317924A (en) * 2017-06-20 2017-11-03 上海传英信息技术有限公司 The dormancy method of mobile terminal and mobile terminal
CN113193631A (en) * 2021-06-01 2021-07-30 浙江大华技术股份有限公司 Power supply control device, power supply control method, storage medium, and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634663A (en) * 2012-08-27 2014-03-12 华为终端有限公司 Set-top box standby method, set-top box standby control apparatus and set-top box
US20160157176A1 (en) * 2013-12-13 2016-06-02 Shenyang Institute Of Automation Of The Chinese Academy Of Sciences Low power consumption networking method of 802.15.4e wireless device that takes power based on 4-20ma loop
CN105242203A (en) * 2015-10-30 2016-01-13 江西金程智能科技有限公司 Reed switch pulse signal quality analysis method and analysis system
CN107018557A (en) * 2017-02-28 2017-08-04 深圳市金立通信设备有限公司 A kind of terminal control method and terminal
CN107317924A (en) * 2017-06-20 2017-11-03 上海传英信息技术有限公司 The dormancy method of mobile terminal and mobile terminal
CN113193631A (en) * 2021-06-01 2021-07-30 浙江大华技术股份有限公司 Power supply control device, power supply control method, storage medium, and electronic device

Similar Documents

Publication Publication Date Title
CN103178583B (en) Mobile phone USB (Universal Serial Bus) interface charging system supporting charging for other mobile devices and charging realization method of mobile phone USB interface charging system
CN101431241B (en) Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging
CN208188613U (en) For reducing the power supply system and electronic equipment of power consumption
CN101442589A (en) Method and apparatus for managing mobile terminal status
CN104270486B (en) The mobile terminal of non-dismountable battery resets system, method and mobile terminal
CN105530600A (en) Anti-loss method and anti-loss system for mobile terminal, and mobile terminal
WO2018028133A1 (en) Security and protection monitoring device, security and protection monitoring system and security and protection monitoring method
CN105891857A (en) Beidou satellite positioning device
CN110191215B (en) Terminal and processing method
CN103870290A (en) Switching method and device
CN114698074A (en) Energy-saving method, device, equipment and storage medium
CN203135970U (en) Rapid power-down device for cell phone and cell phone by using device thereof
CN107124464B (en) Cloud lock based low battery alarm method and system
CN106252975A (en) A kind of interface
CN105764128B (en) The method for controlling power supply and device of mobile terminal
CN112866983B (en) Control method, control device and electronic equipment
CN205506902U (en) Dark current detection system of vehicle
CN110896240B (en) Charging control method and device, computer readable storage medium and terminal
CN212785570U (en) Prevent outage data acquisition camera
CN113660149A (en) Device control method and apparatus, storage medium, and electronic device
CN105514931A (en) Power-off device and electronic device
CN110649673A (en) Mobile terminal
CN204697079U (en) The digital received and sent device that a kind of Internet of Things automatic fault detects
CN214335675U (en) Power supply control device of wearable equipment
CN112449330A (en) Mobile terminal communication method, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination