CN115718534A - Power-off protection method, device and system - Google Patents

Power-off protection method, device and system Download PDF

Info

Publication number
CN115718534A
CN115718534A CN202211599092.0A CN202211599092A CN115718534A CN 115718534 A CN115718534 A CN 115718534A CN 202211599092 A CN202211599092 A CN 202211599092A CN 115718534 A CN115718534 A CN 115718534A
Authority
CN
China
Prior art keywords
power
electronic equipment
power supply
input voltage
signal
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
CN202211599092.0A
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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information Technology 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN202211599092.0A priority Critical patent/CN115718534A/en
Publication of CN115718534A publication Critical patent/CN115718534A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a power-off protection method, a device and a system, wherein the power-off protection method comprises the steps of obtaining input voltage information of electronic equipment; generating a first signal and a second signal under the condition that the input voltage information meets a preset condition; and transmitting the first signal to a power supply switch so that the power supply switch controls a power supply module to supply power to the electronic equipment, and transmitting the second signal to an operating system of the electronic equipment so that the operating system controls the electronic equipment to enter a preset running mode. This application judges electronic equipment's input voltage information in real time to under the condition that input voltage information satisfies the predetermined condition, control power module supplies power for electronic equipment, and simultaneously, control electronic equipment gets into and predetermines the operational mode, and then has prevented the unusual shutdown that unexpected outage caused effectively, has also reached on the basis that does not increase electronic equipment cost, avoids losing of working data among the electronic equipment and the purpose of avoiding electronic equipment's hardware to damage.

Description

Power-off protection method, device and system
Technical Field
The present disclosure relates to power-off protection technologies, and in particular, to a power-off protection method, device and system.
Background
Considering that desktop computers or all-in-one computers have higher performance than portable computers, many people still choose desktop computers in offices, especially under the scenes with higher requirements on computer performance, such as 3D drawing, animation, game production and the like, and even in document editing work, the desktop computers have higher advantages with larger screens and independent operating keyboards.
Because the desktop computer or the all-in-one computer does not have the requirement of portability, the desktop computer or the all-in-one computer cannot be equipped with a battery, and once the desktop computer or the all-in-one computer encounters an accident of power failure, the desktop computer or the all-in-one computer can be abnormally shut down, so that the working data in progress cannot be stored, and even partial hardware of the computer is damaged.
At present, one solution is: the desktop computer or the integrated computer is provided with a battery to prevent abnormal shutdown caused by unexpected power failure, but the matched battery has higher cost due to higher power of the desktop computer or the integrated computer; the other solution is as follows: an uninterruptible power supply is connected with a desktop computer or an integrated computer to prevent abnormal shutdown caused by unexpected power failure, but the uninterruptible power supply is also high in cost.
Disclosure of Invention
An object of the embodiments of the present application is to provide a power-off protection method, device and system, which can effectively prevent abnormal shutdown caused by unexpected power-off without increasing the cost of an electronic device, and avoid loss of working data in the electronic device and hardware damage of the electronic device.
In a first aspect, an embodiment of the present application provides a power-off protection method, including:
acquiring input voltage information of the electronic equipment;
generating a first signal and a second signal under the condition that the input voltage information meets a preset condition;
and transmitting the first signal to a power supply switch so that the power supply switch controls a power supply module to supply power to the electronic equipment, and transmitting the second signal to an operating system of the electronic equipment so that the operating system controls the electronic equipment to enter a preset running mode.
In one possible embodiment, the obtaining input voltage information of the electronic device includes:
and acquiring input voltage at an input port in the electronic equipment, wherein the input port is connected with an output port of a power adapter.
In one possible embodiment, the power-off protection method further includes the step of determining whether the input voltage satisfies a preset condition:
comparing the input voltage with a preset threshold value;
determining that the input voltage satisfies the preset condition when the input voltage is less than or equal to the preset threshold.
In a possible implementation manner, the obtaining input voltage information of the electronic device further includes:
receiving a comparison result transmitted by a comparator, wherein the input end of the comparator is connected with the output port of the power adapter, the output end of the comparator is connected with the controller of the electronic device, and the comparison result represents that the output voltage at the output port of the power adapter is less than or equal to a preset threshold or the output voltage at the output port of the power adapter is greater than the preset threshold.
In a possible embodiment, the power-off protection method further includes the step of determining whether the input voltage satisfies a preset condition:
and determining that the input voltage meets the preset condition under the condition that the comparison result represents that the output voltage is less than or equal to the preset threshold.
In a possible implementation manner, the power supply module includes a charging unit, a power storage unit, and a voltage adjustment unit, which are connected in sequence, the charging unit is connected to the power adapter, and the voltage adjustment unit is connected to the power supply switch.
In a second aspect, an embodiment of the present application further provides a power-off protection device, including:
an acquisition module configured to acquire input voltage information of an electronic device;
the generating module is configured to generate a first signal and a second signal under the condition that the input voltage information meets a preset condition;
the transmission module is configured to transmit the first signal to a power supply switch so that the power supply switch controls the power supply module to supply power to the electronic equipment, and transmit the second signal to an operating system of the electronic equipment so that the operating system controls the electronic equipment to enter a preset operation mode.
In a possible implementation manner, the power supply module includes a charging unit, an electricity storage unit and a voltage adjustment unit, which are connected in sequence, the charging unit is connected with the power adapter, and the voltage adjustment unit is connected with the power supply switch.
In a third aspect, an embodiment of the present application further provides a power failure protection system, which includes a control system, an operating system, a power supply module, and a power supply switch;
the control system acquires input voltage information of the electronic equipment, generates a first signal and a second signal under the condition that the input voltage information meets a preset condition, transmits the first signal to a power supply switch, and transmits the second signal to an operating system of the electronic equipment;
the power supply switch responds to the first signal and starts a power supply module to supply power to the electronic equipment;
and the operating system controls the electronic equipment to enter a preset running mode based on the second signal.
In a possible implementation manner, the power supply module includes a charging unit, an electricity storage unit and a voltage adjustment unit, which are connected in sequence, the charging unit is connected with the power adapter, and the voltage adjustment unit is connected with the power supply switch.
The embodiment of the application judges the input voltage information of the electronic equipment in real time, so that under the condition that the input voltage information meets the preset condition, the power supply module is controlled to supply power to the electronic equipment, meanwhile, the electronic equipment is controlled to enter the preset operation mode, and then abnormal shutdown caused by accidental power failure is effectively prevented, namely, loss of working data and/or hardware damage caused by the abnormal shutdown are prevented, and the aims of avoiding loss of the working data in the electronic equipment and hardware damage of the electronic equipment on the basis of not increasing the cost of the electronic equipment are also fulfilled.
Drawings
In order to more clearly illustrate the technical solutions in the present application or prior art, the drawings used in the embodiments or prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive labor.
FIG. 1 is a flow chart illustrating a method of power down protection provided by the present application;
fig. 2 is a schematic structural diagram of an electronic device corresponding to a power-off protection method provided by the present application;
fig. 3 is a schematic structural diagram of an electronic device corresponding to another power-off protection method provided in the present application;
FIG. 4 is a schematic diagram illustrating the structure of a power-off protection device provided in the present application;
FIG. 5 is a schematic diagram illustrating a power outage protection system provided by the present application;
fig. 6 shows a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the accompanying drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
Advanced Configuration and Power Interface (ACPI) has functions such as supplying Power to electronic devices and controlling their operating states, e.g., S0, S1, S2, S3, S4, S5. S4 is in a hibernation state, which is also called a Suspend To Disk (STD), that is, when the state is switched to S4, data such as the current running state of the system is saved on the hard Disk, and then the system is automatically powered off, and when the system is powered on next time, the data saved before the system is read from the hard Disk, and the system is restored to the state before the hibernation and the power off. Therefore, the power-off protection method provided by the embodiment of the application can effectively prevent abnormal shutdown caused by unexpected power-off, and can avoid the loss of working data in the electronic equipment and the damage of hardware of the electronic equipment on the basis of not increasing the cost of the electronic equipment. For the convenience of understanding of the present application, a power-off protection method provided by the present application will be described in detail first.
As shown in fig. 1, a flowchart of a power-off protection method provided in the embodiment of the present application is shown, where an execution main body in the embodiment of the present application may be an Embedded Controller (EC), and of course, may also be a Controller such as an ESIO, and specific steps of the method in executing the power-off protection method include S101 to S103.
S101, input voltage information of the electronic equipment is obtained.
In implementations, an electronic device is coupled to a power adapter to operate with power transferred through the power adapter. The input voltage information may include a specific voltage value, and may further include a comparison result, an analysis result, and the like with respect to the voltage value.
Alternatively, in the case where the input voltage information includes a voltage value, the voltage value at the connection with the power adapter may be directly acquired as the input voltage information of the electronic device; in the case where the input voltage information includes a comparison result corresponding to a voltage, after a voltage value at a connection with the power adapter is acquired, the voltage value is compared with a preset threshold value, so that the obtained comparison result is used as the input voltage information of the electronic device and the like. This is not particularly limited in the embodiments of the present application.
And S102, generating a first signal and a second signal under the condition that the input voltage information meets a preset condition.
After the input voltage information is acquired, whether the input voltage information meets a preset condition is further determined, and in the case that the input voltage information meets the preset condition is determined, that is, the power adapter connected with the electronic device cannot normally supply electric quantity, at this time, the first signal and the second signal are generated.
The first signal and the second signal are respectively transmitted to different objects, so that the first signal and the second signal are respectively responded, the first signal indicates that the power supply switch is closed, and the second signal indicates that the operating system switches the operating mode of the electronic equipment.
S103, the first signal is transmitted to the power supply switch, so that the power supply switch controls the power supply module to supply power to the electronic equipment, and the second signal is transmitted to an operating system of the electronic equipment, so that the operating system controls the electronic equipment to enter a preset running mode.
As one example, the first signal is transmitted to the power switch, so that the power switch controls the power module to supply power to the electronic device. The power supply module comprises a charging unit, a power storage unit and a voltage adjusting unit which are connected in sequence, the charging unit is connected with the power adapter, the voltage adjusting unit is connected with the power supply switch, and the power storage unit can be set to be a capacitor and the like.
When the power adapter supplies electric quantity to the electronic equipment, the charging unit charges the electricity storage unit, when the power adapter stops supplying the electric quantity to the electronic equipment and the power supply switch receives the first signal, the power supply switch responds to the first signal, namely the power supply switch is switched from off to on, and at the moment, the electricity storage unit discharges electricity to achieve the purpose of supplying the electric quantity to the electronic equipment.
The first signal is transmitted to the power supply switch, and the second signal is transmitted to an operating system of the electronic device, so that the operating system controls the electronic device to enter a preset operation mode, specifically, the operating system and a basic input/output system of the electronic device cooperatively control the electronic device to enter the preset operation mode. The preset operation mode in the embodiment of the application is the S4 dormant state, that is, data such as the current operation state of the electronic device are stored on the hard disk, and then the electronic device is automatically shut down, so that the data stored before the electronic device is read from the hard disk when the electronic device is started next time, and the data are restored to the dormant state and the state before the electronic device is shut down, thereby effectively preventing abnormal shutdown caused by unexpected power failure, that is, preventing loss of working data and/or hardware damage caused by abnormal shutdown, and achieving the purpose of avoiding loss of the working data in the electronic device and hardware damage of the electronic device on the basis of not increasing the cost of the electronic device.
It is noted that ACPI is a power management standard, and that EC may or may not support the ACPI protocol. Optionally, in a case that the EC supports the ACPI protocol, the EC transmits a second signal to the operating system through a preset channel such as QE; in the case where the EC does not support the ACPI protocol, the EC transmits a second signal to the operating system through other channels, such as INC, SCI, etc.
Further, for obtaining the input voltage information of the electronic device, the embodiment of the present application provides two different manners, which are described below.
First one
Fig. 2 shows a schematic structural diagram of an electronic device corresponding to a power-off protection method, as can be seen from fig. 2, the electronic device includes an EC, a charging unit, an electricity storage unit, a voltage adjustment unit, a power supply switch, an operating system, and the like, one end of the charging unit, one end of the electricity storage unit, and one end of the voltage adjustment unit are sequentially connected, the other end of the charging unit is connected to an output port of a power adapter, the output port of the power adapter is connected to the EC through a connector, an input port of the power adapter is connected to a power supply, the voltage adjustment unit is connected to one end of the power supply switch, and the other end of the power supply switch is connected to the operating system, so that after the power supply switch is closed, the voltage adjustment unit is conducted to the operating system, and the EC is connected to the operating system.
In specific implementation, when the input voltage information of the electronic device is acquired, the input voltage at the input port of the electronic device can be directly acquired, and the input voltage can be used as the input voltage information.
On this basis, whether the input voltage meets the preset condition is determined by the EC, as one example, after the EC obtains the input voltage, the EC compares the input voltage with a preset threshold, if the input voltage is greater than the preset threshold, it is characterized that the power adapter supplies power to the electronic device to be normal, and if the input voltage is less than or equal to the preset threshold, it is characterized that the power adapter supplies power to the electronic device to be abnormal, for example, the amount of power supplied by the power adapter connected to the electronic device at present is not enough to ensure that the electronic device normally operates or is 0. The preset threshold is set as a preset proportion of a working voltage value, the working voltage value is a voltage value capable of ensuring normal operation of the electronic equipment, and the preset proportion can be 80% or 90% and the like as long as the preset proportion is less than 100%.
Further, in the case where the input voltage is less than or equal to a preset threshold, it is determined that the input voltage satisfies a preset condition.
Second kind
Fig. 3 shows a schematic structural diagram of an electronic device corresponding to another power-off protection method, as can be seen from fig. 3, the electronic device includes an EC, a comparator, a charging unit, an electricity storage unit, a voltage adjustment unit, a power supply switch, an operating system, and the like, one end of the charging unit, one end of the electricity storage unit, and one end of the voltage adjustment unit are sequentially connected, the other end of the charging unit is connected to an output port of a power adapter, an output port of the power adapter is connected to the EC through a connector and a comparator, an input end of the comparator is connected to the output port of the power adapter through a connector, an output end of the comparator is connected to a controller of the electronic device, that is, the EC in the embodiment of the present application, an input port of the power adapter is connected to a power supply, the voltage adjustment unit is connected to one end of the power supply switch, and the other end of the power supply switch is connected to the operating system, so that the voltage adjustment unit is connected to the operating system after the power supply switch is closed, and the EC is connected to the operating system.
Further, the comparator compares the input voltage transmitted by the output port of the power adapter with a preset threshold in real time, obtains a comparison result, and transmits the comparison result to the EC.
And the EC receives the comparison result transmitted by the comparator in real time and identifies the comparison result, wherein the comparison result represents that the output voltage at the output port of the power adapter is less than or equal to a preset threshold or the output voltage at the output port of the power adapter is greater than the preset threshold.
And when the comparison result indicates that the output voltage is less than or equal to the preset threshold value, the power adapter is characterized to supply power to the electronic equipment to be abnormal. In the embodiment of the application, the input voltage is determined to meet the preset condition under the condition that the comparison result represents that the output voltage is smaller than or equal to the preset threshold.
With continued reference to fig. 2 and 3, a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET), that is, a MOSFET tube connected in parallel with the power supply switch, may also be disposed in the electronic device, so that after the power supply switch is turned on, the impedance on the conduction path is relatively small, and the safety of the electronic device is ensured to a certain extent.
Based on the same inventive concept, the second aspect of the present application further provides a power-off protection device corresponding to the power-off protection method, and as the principle of solving the problem of the power-off protection device in the present application is similar to that of the power-off protection method in the present application, the implementation of the power-off protection device can refer to the implementation of the method, and repeated details are not repeated.
Fig. 4 shows a schematic structural diagram of a power-off protection device provided in an embodiment of the present application, which specifically includes:
an obtaining module 401 configured to obtain input voltage information of an electronic device;
a generating module 402 configured to generate a first signal and a second signal if the input voltage information satisfies a preset condition;
a transmission module 403, configured to transmit the first signal to a power supply switch, so that the power supply switch controls the power supply module to supply power to an electronic device, and transmit the second signal to an operating system of the electronic device, so that the operating system controls the electronic device to enter a preset operation mode.
In another embodiment, the obtaining module 401 is specifically configured to:
and acquiring input voltage at an input port in the electronic equipment, wherein the input port is connected with an output port of a power adapter.
In yet another embodiment, the power down protection device further includes a first determining module 404 configured to:
comparing the input voltage with a preset threshold value;
determining that the input voltage satisfies the preset condition when the input voltage is less than or equal to the preset threshold.
In yet another embodiment, the obtaining module 401 is further configured to:
receiving a comparison result transmitted by a comparator, wherein the input end of the comparator is connected with the output port of the power adapter, the output end of the comparator is connected with the controller of the electronic device, and the comparison result represents that the output voltage at the output port of the power adapter is less than or equal to a preset threshold or the output voltage at the output port of the power adapter is greater than the preset threshold.
In yet another embodiment, the power down protection device further comprises a second determination module 405 configured to:
and determining that the input voltage meets the preset condition under the condition that the comparison result represents that the output voltage is less than or equal to the preset threshold.
In another embodiment, the power supply module includes a charging unit, an electricity storage unit and a voltage adjustment unit, which are connected in sequence, the charging unit is connected with the power adapter, and the voltage adjustment unit is connected with the power supply switch.
The embodiment of the application judges the input voltage information of the electronic equipment in real time, so that under the condition that the input voltage information meets the preset condition, the power supply module is controlled to supply power to the electronic equipment, meanwhile, the electronic equipment is controlled to enter the preset operation mode, and then abnormal shutdown caused by accidental power failure is effectively prevented, namely, loss of working data and/or hardware damage caused by the abnormal shutdown are prevented, and the aims of avoiding loss of the working data in the electronic equipment and hardware damage of the electronic equipment on the basis of not increasing the cost of the electronic equipment are also fulfilled.
Based on the same inventive concept, a third aspect of the present application further provides a power-off protection system, which, referring to the schematic structural diagram of the power-off protection system shown in fig. 5, includes a control system, an operating system, a power supply module, and a power supply switch;
the control system acquires input voltage information of the electronic equipment, generates a first signal and a second signal under the condition that the input voltage information meets a preset condition, transmits the first signal to the power supply switch, and transmits the second signal to an operating system of the electronic equipment;
the power supply switch responds to the first signal and starts the power supply module to supply power to the electronic equipment;
the operating system controls the electronic equipment to enter a preset running mode based on the second signal.
The power supply module comprises a charging unit, an electricity storage unit and a voltage adjusting unit which are connected in sequence, the charging unit is connected with the power adapter, and the voltage adjusting unit is connected with the power supply switch
An embodiment of the present application provides a storage medium, where the storage medium is a computer-readable medium, and stores a computer program, and the computer program, when executed by a processor, implements a method provided in any embodiment of the present application, and includes the following steps S11 to S13:
s11, acquiring input voltage information of the electronic equipment;
s12, generating a first signal and a second signal under the condition that the input voltage information meets a preset condition;
and S13, transmitting the first signal to a power supply switch so that the power supply switch controls a power supply module to supply power to the electronic equipment, and transmitting the second signal to an operating system of the electronic equipment so that the operating system controls the electronic equipment to enter a preset running mode.
Optionally, in this embodiment, the storage medium may include but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
An electronic device is provided in an embodiment of the present application, and a schematic structural diagram of the electronic device may be as shown in fig. 6, where the electronic device at least includes a memory 601 and a processor 602, a computer program is stored on the memory 601, and the processor 602 implements the method provided in any embodiment of the present application when executing the computer program on the memory 601. Illustratively, the electronic device computer program steps are as follows S21 to S23:
s21, acquiring input voltage information of the electronic equipment;
s22, generating a first signal and a second signal under the condition that the input voltage information meets a preset condition;
and S23, transmitting the first signal to a power supply switch so that the power supply switch controls a power supply module to supply power to the electronic equipment, and transmitting the second signal to an operating system of the electronic equipment so that the operating system controls the electronic equipment to enter a preset running mode.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative, and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the above detailed description, various features may be grouped together to streamline the application. This should not be interpreted as an intention that a non-claimed disclosed feature is essential to any claim. Rather, subject matter of the present application can lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the application should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The embodiments of the present application have been described in detail, but the present application is not limited to these specific embodiments, and those skilled in the art can make various modifications and modified embodiments based on the concept of the present application, and these modifications and modified embodiments should fall within the scope of the present application.

Claims (10)

1. A power-off protection method, comprising:
acquiring input voltage information of the electronic equipment;
generating a first signal and a second signal under the condition that the input voltage information meets a preset condition;
and transmitting the first signal to a power supply switch so that the power supply switch controls a power supply module to supply power to the electronic equipment, and transmitting the second signal to an operating system of the electronic equipment so that the operating system controls the electronic equipment to enter a preset running mode.
2. The power-off protection method according to claim 1, wherein the obtaining input voltage information of the electronic device comprises:
and acquiring input voltage at an input port in the electronic equipment, wherein the input port is connected with an output port of a power adapter.
3. The power-off protection method according to claim 2, further comprising the step of determining whether the input voltage satisfies a preset condition:
comparing the input voltage with a preset threshold value;
determining that the input voltage satisfies the preset condition when the input voltage is less than or equal to the preset threshold.
4. The power-off protection method according to claim 1, wherein the obtaining input voltage information of the electronic device further comprises:
receiving a comparison result transmitted by a comparator, wherein the input end of the comparator is connected with the output port of the power adapter, the output end of the comparator is connected with the controller of the electronic device, and the comparison result represents that the output voltage at the output port of the power adapter is less than or equal to a preset threshold or the output voltage at the output port of the power adapter is greater than the preset threshold.
5. The power-off protection method according to claim 4, further comprising the step of determining whether the input voltage satisfies a preset condition:
and determining that the input voltage meets the preset condition under the condition that the comparison result represents that the output voltage is less than or equal to the preset threshold.
6. The power-off protection method according to claim 1, wherein the power supply module comprises a charging unit, an electricity storage unit and a voltage adjusting unit which are connected in sequence, the charging unit is connected with a power adapter, and the voltage adjusting unit is connected with the power supply switch.
7. A power-off protection device, comprising:
an acquisition module configured to acquire input voltage information of an electronic device;
a generating module configured to generate a first signal and a second signal if the input voltage information satisfies a preset condition;
the transmission module is configured to transmit the first signal to a power supply switch so that the power supply switch controls the power supply module to supply power to the electronic equipment, and transmit the second signal to an operating system of the electronic equipment so that the operating system controls the electronic equipment to enter a preset operation mode.
8. The power-off protection device of claim 7, wherein the power supply module comprises a charging unit, an electricity storage unit and a voltage adjustment unit, which are connected in sequence, the charging unit is connected with a power adapter, and the voltage adjustment unit is connected with the power supply switch.
9. A power-off protection system is characterized by comprising a control system, an operating system, a power supply module and a power supply switch;
the control system acquires input voltage information of the electronic equipment, generates a first signal and a second signal under the condition that the input voltage information meets a preset condition, transmits the first signal to a power supply switch, and transmits the second signal to an operating system of the electronic equipment;
the power supply switch responds to the first signal and starts a power supply module to supply power to the electronic equipment;
and the operating system controls the electronic equipment to enter a preset running mode based on the second signal.
10. The power-off protection system of claim 9, wherein the power supply module comprises a charging unit, a power storage unit and a voltage adjusting unit, which are connected in sequence, the charging unit is connected with a power adapter, and the voltage adjusting unit is connected with the power supply switch.
CN202211599092.0A 2022-12-12 2022-12-12 Power-off protection method, device and system Pending CN115718534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211599092.0A CN115718534A (en) 2022-12-12 2022-12-12 Power-off protection method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211599092.0A CN115718534A (en) 2022-12-12 2022-12-12 Power-off protection method, device and system

Publications (1)

Publication Number Publication Date
CN115718534A true CN115718534A (en) 2023-02-28

Family

ID=85257811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211599092.0A Pending CN115718534A (en) 2022-12-12 2022-12-12 Power-off protection method, device and system

Country Status (1)

Country Link
CN (1) CN115718534A (en)

Similar Documents

Publication Publication Date Title
US6274949B1 (en) Back-up power accessory for a computer
US8129947B2 (en) Method and system for utilizing a memory control circuit for controlling data transfer to and from a memory system
US8450980B2 (en) Providing resilient power to a system
US9223394B2 (en) Rack and power control method thereof
US20080046768A1 (en) Transmission of a power loss condition over a network
US11150714B2 (en) Storage device and method for powering storage device
US20080010514A1 (en) Backup power supply and desktop computer and method for protecting the data thereof
JP2004152304A (en) System and method for holding state data of personal computer in standby state at ac power supply failure
US9735590B2 (en) Systems and methods for hidden battery cell charging and conditioning
EP2939077A1 (en) Power management system and method
US20150143150A1 (en) DC-Powered System Side Control Of AC-DC Adapter Primary Side Switching Circuitry
KR20130115366A (en) Booting a mobile electronic device with a low battery based on a dynamic boot threshold
US20040078655A1 (en) Apparatus and method for power integrated control
CN113453108A (en) Wireless earphone, wireless earphone system and wireless earphone shutdown method
US11594870B2 (en) Systems and methods for extending fault timer to prevent overcurrent protection shutdown during powering on of information handling system
WO2021078261A1 (en) Power supply control method, system and device
CN115718534A (en) Power-off protection method, device and system
JP4411014B2 (en) Computer and power supply backup method thereof
CN108121431B (en) Power supply control method and electronic equipment
CN217388303U (en) Embedded system power-down protection device based on super capacitor
CN211786833U (en) Time recovery device for electronic equipment
CN111045506B (en) Control method and electronic equipment
US10742057B2 (en) Self-loop detection method and apparatus for charging device
CN108304059B (en) Automatic shutdown system and method for abnormal power failure of computer
CN105573459B (en) Electronic device and signal processing method

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