CN115328290B - Power-on abnormity indication method, device, equipment and storage medium - Google Patents

Power-on abnormity indication method, device, equipment and storage medium Download PDF

Info

Publication number
CN115328290B
CN115328290B CN202211257035.4A CN202211257035A CN115328290B CN 115328290 B CN115328290 B CN 115328290B CN 202211257035 A CN202211257035 A CN 202211257035A CN 115328290 B CN115328290 B CN 115328290B
Authority
CN
China
Prior art keywords
power
module
power supply
abnormal
supply module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211257035.4A
Other languages
Chinese (zh)
Other versions
CN115328290A (en
Inventor
朱连生
杨沃树
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Panding Technology Co ltd
Original Assignee
Shenzhen Panding 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 Shenzhen Panding Technology Co ltd filed Critical Shenzhen Panding Technology Co ltd
Priority to CN202211257035.4A priority Critical patent/CN115328290B/en
Publication of CN115328290A publication Critical patent/CN115328290A/en
Application granted granted Critical
Publication of CN115328290B publication Critical patent/CN115328290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Abstract

The invention belongs to the technical field of circuit detection, and discloses a power-on abnormity indication method, a power-on abnormity indication device, equipment and a storage medium. In the process of starting the power supply modules through the power-on time sequence, the abnormal detection instruction is sent to each power supply module according to the power-on time sequence, the power supply module in the abnormal state is determined according to the abnormal detection instruction, the abnormal detection instruction is stopped being sent, the identification information of the power supply module in the abnormal state corresponding to the current power-on time sequence is obtained, abnormal reminding is carried out according to the identification information, the function of detecting the working condition of the embedded software power supply module is realized, the working condition of each power supply module is detected according to the power-on time sequence, the abnormal detection is stopped when the abnormal power supply module is met, the identification information of the abnormal power supply module is recorded for abnormal reminding, and compared with the prior art which lacks the indication of the abnormal power supply module, the fault position cannot be quickly positioned, and the purpose of quickly positioning the fault position through the abnormal reminding can be achieved.

Description

Power-on abnormity indication method, device, equipment and storage medium
Technical Field
The present invention relates to the field of circuit detection technologies, and in particular, to a method, an apparatus, a device, and a storage medium for indicating a power-on abnormality.
Background
With the rapid development of the electronic industry, a system of a tablet personal computer such as a notebook computer can be divided into three parts, namely embedded software, a BIOS and an operating system, with respect to software categories, wherein the embedded software is at the bottom layer, that is, the embedded software is operated first when the tablet personal computer is started, and when the embedded software is abnormal, the whole system is abnormal.
In a plurality of functions of embedded software, the most easily-encountered problem is power-on during startup, and the function is very important. According to the prior art, when a certain power module is abnormal, the embedded software is used for blocking the time sequence without abnormal information indication, so that related development and maintenance personnel cannot be quickly positioned, and the problem solving efficiency is low.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a power-on abnormity indication method, a power-on abnormity indication device, equipment and a storage medium, and aims to solve the technical problem that an abnormal power supply module cannot be accurately positioned in the prior art.
In order to achieve the above object, the present invention provides a power-on abnormality indication method, which includes the following steps:
in the process of starting the power supply modules through a power-on time sequence, sending an abnormality detection instruction to each power supply module according to the power-on time sequence;
determining a power supply module in an abnormal state according to the abnormal detection instruction, and stopping sending the abnormal detection instruction;
acquiring identification information of a power module in an abnormal state corresponding to a current power-on time sequence;
and performing exception reminding according to the identification information.
Optionally, the determining, according to the abnormality detection instruction, the power module in an abnormal state includes:
judging whether an enable switch of the current power module is turned on or not according to the abnormal detection instruction;
when the enabling switch of the current power supply module is turned on, judging whether the working state of the current power supply module is normal or not;
and when the working state of the current power supply module is abnormal, determining the current power supply module as the power supply module in the abnormal state.
Optionally, after determining whether the enable switch of the current power module is turned on according to the abnormality detection instruction, the method further includes:
and when the enabling switch of the current power supply module is not turned on, determining the current power supply module as the power supply module in the abnormal state.
Optionally, after determining whether the working state of the current power module is normal when the enable switch of the current power module is turned on, the method further includes:
when the working state of the current power supply module is normal, detecting the position of the current power supply module in the power-on sequence;
when the position of the current power supply module in the power-on sequence is not the last power supply module, sending an abnormality detection instruction to the next power supply module of the current power supply module in the power-on sequence;
and when the position of the current power supply module in the power-on sequence is the last position, stopping sending an abnormal detection instruction.
Optionally, the performing an exception alert according to the identification information includes:
executing a reminding strategy at intervals of first preset time;
and after the reminding strategy is finished and after a second preset time is spaced, updating the reminding times, stopping the abnormal reminding when the reminding times are more than the preset reminding times, wherein the first preset time is less than the second preset time.
Optionally, before sending the abnormality detection instruction to each power module according to the power-on sequence in the process of starting the power modules through the power-on sequence, the method further includes:
determining each power supply module according to the power-on time sequence;
and adding identification information for each power supply module.
Optionally, after performing the exception prompt according to the identification information, the method further includes:
stopping the abnormal reminding, and determining a power-down time sequence according to the power-up time sequence, wherein the power-down time sequence and the power-up time sequence are opposite in processing sequence;
determining a power module to be powered down according to the identification information of the power module in the abnormal state;
acquiring identification information of the current power supply module to be powered down;
controlling the current power supply module to be powered down to complete power down, and updating the identification information of the current power supply module to be powered down;
and when the power failure time sequence is determined to be completed according to the updated identification information of the current power module to be powered down, controlling the current power module to be powered down to stop the power failure operation after the power failure is completed.
In addition, in order to achieve the above object, the present invention further provides a power-on abnormality indicating device, including:
the abnormal detection module is used for sending an abnormal detection instruction to each power supply module according to the power-on time sequence in the process of starting the power supply module through the power-on time sequence;
the abnormity confirmation module is used for determining the power supply module in an abnormal state according to the abnormity detection instruction and stopping sending the abnormity detection instruction;
the identification acquisition module is used for acquiring the identification information of the power module in the abnormal state corresponding to the current power-on time sequence;
and the abnormity reminding module is used for carrying out abnormity reminding according to the identification information.
In addition, in order to achieve the above object, the present invention further provides a power-on abnormality indication device, including: a memory, a processor and a power-on exception indication program stored on the memory and executable on the processor, the power-on exception indication program being configured to implement the steps of the power-on exception indication method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium, where a power-on abnormality indication program is stored, and when the power-on abnormality indication program is executed by a processor, the power-on abnormality indication program implements the steps of the power-on abnormality indication method as described above.
In the process of starting the power supply modules through the power-on time sequence, the invention sends an abnormal detection instruction to each power supply module according to the power-on time sequence, determines the power supply module in an abnormal state according to the abnormal detection instruction, stops sending the abnormal detection instruction, acquires the identification information of the power supply module in the abnormal state corresponding to the current power-on time sequence, and carries out abnormal reminding according to the identification information, thereby realizing the function of detecting the working condition of the embedded software power supply module, detecting the working condition of each power supply module according to the power-on time sequence, stopping detecting the abnormal when encountering the abnormal power supply module, and recording the identification information of the abnormal power supply module for carrying out the abnormal reminding, thereby achieving the purpose of timely informing the abnormal information to related technical personnel.
Drawings
Fig. 1 is a schematic structural diagram of a power-on abnormality indication device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a power-on abnormality indication method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a power-on abnormality indication method according to the present invention;
FIG. 4 is a flowchart illustrating an abnormal detection process according to an embodiment of the power-on abnormality indication method of the present invention;
FIG. 5 is a flowchart of an information transfer method according to an embodiment of a power-on abnormality indication method of the present invention;
FIG. 6 is a flowchart illustrating a power-on abnormality indication method according to a third embodiment of the present invention;
FIG. 7 is a flowchart illustrating an exception handling method according to an embodiment of the present invention;
fig. 8 is a block diagram of a first embodiment of a power-on abnormality indication apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a power-on abnormality indication device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the power-on abnormality indication apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the power-on abnormality indication apparatus, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a power-on abnormality indication program.
In the power-on abnormality indication apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the power-on abnormality indication device of the present invention may be disposed in the power-on abnormality indication device, and the power-on abnormality indication device invokes the power-on abnormality indication program stored in the memory 1005 through the processor 1001 and executes the power-on abnormality indication method provided in the embodiment of the present invention.
An embodiment of the present invention provides a power-on abnormality indication method, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the power-on abnormality indication method of the present invention.
In this embodiment, the power-on abnormality indication method includes the following steps:
step S10: in the process of starting the power supply modules through a power-on time sequence, sending an abnormality detection instruction to each power supply module according to the power-on time sequence;
it should be noted that the execution main body of this embodiment is a power-on abnormality indication device, where the power-on abnormality indication device has functions of data processing, data communication, program running, and the like, and the power-on abnormality indication device may be an integrated controller, a control computer, and the like, or may be other devices having similar functions, which is not limited in this embodiment.
It can be understood that the power-on sequence refers to a power-on process of each power module when the mobile portable computer is in a power-saving consideration, where the power modules in the bottom layer of the mobile portable computer need to be accurately controlled to be turned on and off, for example, when the notebook computer is turned on, each power module can be turned on according to a specified sequence, and the enabling of each power module needs to wait for the completion of the start of the previous module.
It should be understood that the abnormality detection instruction refers to a detection signal sent by the power-on abnormality indication device to each power module according to the power-on sequence, and is used for detecting the on and working conditions of the power modules.
In a specific implementation, when the mobile portable computer is started up and is powered on according to a power-on time sequence, the power-on abnormality indication device may send an abnormality detection instruction to the power module in the mobile portable computer according to the power-on time sequence of the power module of the mobile portable computer during the process of starting up the mobile portable computer, where the sending of the abnormality detection instruction may be during the process of starting up the mobile portable computer, or may be after the mobile portable computer has a power-on abnormality, and preferably sends the abnormality detection instruction to each power module during the process of starting up the power module according to the power-on time sequence.
Step S20: determining a power supply module in an abnormal state according to the abnormal detection instruction, and stopping sending the abnormal detection instruction;
it should be noted that the abnormal state refers to that the current enabling on state or working state of the power module is abnormal, and when the enabling switch of a certain power module is not on or the working state signal is in the working state, the current power module can be determined to be in the abnormal state.
In a specific implementation, the power module may feed back the current state according to the abnormality detection instruction, or when the power module has an abnormal fault, no response is made, so that the feedback signal received by the power-on abnormality indication device after sending the abnormality detection instruction may stop at a certain place, for example, a mobile portable computer needs to have six power modules working normally in a certain power-on sequence, and if a fourth power module in the current power-on sequence has an abnormal fault, the power-on abnormality indication device may not receive the feedback signal sent from the fourth power module, so that it can determine which specific power module is the current abnormal power module.
Step S30: acquiring identification information of a power module in an abnormal state corresponding to a current power-on time sequence;
it should be noted that the identification information refers to unique identification information of each power module, and is used to locate and indicate an abnormal power module, the identification information may be a number assigned to the power module in advance, or may be a physical address possessed by the power module, and the main purpose of the identification information is to be used to distinguish among a plurality of power modules.
In specific implementation, when the power-on abnormality indication device detects an abnormal power module, the power module in an abnormal state is found according to the power-on time sequence, for example, the corresponding modules in the power-on time sequence are respectively marked as the power module 1, the power module 2, the power module 5 and the power module 6, and at this time, if the power module corresponding to the abnormality is the power module 4, the power-on abnormality indication device only receives signals fed back by the previous three power modules, so that the corresponding abnormal power module is the power module 4, and at this time, the identification information of the power module 4 can be stored and recorded.
Step S40: and performing exception reminding according to the identification information.
It should be noted that the abnormal alert is used to alert the abnormal state information in a manner that can be perceived by human beings, a single visual alert, such as an indicator light alert, may also be selected, a single auditory alert, such as a buzzer, may also be selected, a multi-sensory form, such as a visual and auditory combined alert, such as a manner in which an indicator light is combined with a buzzer, and the like.
In specific implementation, at least one indicator light can be arranged on the mobile portable computer to remind abnormality, and the power-on abnormality indicating equipment can transmit information of the abnormal power supply module to external related workers in a display mode corresponding to the indicator light according to the acquired identification information of the abnormal power supply module. For example, if the identification information of the abnormal power module recorded at present is the power module 4, four indicator lights may be turned on, or the number of the corresponding number 4 may be displayed, and the specific display mode is determined according to the setting mode of the indicator light for the abnormal alert.
In the embodiment, in the process of starting the power modules through the power-on sequence, an abnormal detection instruction is sent to each power module according to the power-on sequence, the power module in an abnormal state is determined according to the abnormal detection instruction, the sending of the abnormal detection instruction is stopped, the identification information of the power module in the abnormal state corresponding to the current power-on sequence is obtained, and abnormal reminding is performed according to the identification information, so that the function of detecting the working condition of the embedded software power module is realized, the working condition of each power module is detected according to the power-on sequence, the abnormal detection is stopped when the abnormal power module is encountered, and the identification information of the abnormal power module is recorded for abnormal reminding, so that the abnormal power module can be accurately positioned according to the identification information, and the abnormal information can be timely reminded.
Referring to fig. 3, fig. 3 is a flowchart illustrating a power-on abnormality indication method according to a second embodiment of the present invention.
Based on the first embodiment, the power-on abnormality indication method in this embodiment includes, in the step S20:
step S201: judging whether an enable switch of the current power module is turned on or not according to the abnormal detection instruction;
step S202: when the enabling switch of the current power supply module is turned on, judging whether the working state of the current power supply module is normal or not;
step S203: and when the working state of the current power supply module is abnormal, determining the current power supply module as the power supply module in the abnormal state.
In a specific implementation, referring to fig. 4, the power-on abnormality indication device sends an abnormality detection instruction to the power supply modules in the power-on timing sequence, and each power supply module has two physical signals which can be detected, one is an enable switch signal pin, and the other is a working state signal. The method comprises the steps of starting from a first power module in a power-on sequence, detecting whether an enabling switch of the power module is started, detecting whether a working state signal of the power module is normal or not when the enabling switch is in a started state, if the working state signal of the power module is abnormal, enabling the power module to be in an abnormal state, and stopping sending an abnormal detection instruction to the subsequent power module after the abnormal module is detected.
In order to further implement the confirmation of the power module, before step S10, the method further includes:
determining each power module according to the power-on time sequence;
and adding identification information for each power supply module.
In specific implementation, the power-on abnormality indication device determines the power-on sequence of each power module according to the power-on time sequence, labels the power modules according to the power-on sequence of each power module, and may adopt arabic numerals to label the power modules as the power module 1, the power module 2, and the like, when the power-on abnormality indication device detects an abnormal power module through an abnormality detection instruction, the power module is reminded according to the power module number corresponding to the abnormal module, for example, when the power module 3 is in an abnormal state, the power module 3 may be represented to be abnormal by transmitting the information of "3" to the outside.
In order to further determine the abnormal state of the power module, after step S201, the method further includes the following steps:
and when the enabling switch of the current power supply module is not turned on, determining the current power supply module as the power supply module in the abnormal state.
In a specific implementation, when the power-on abnormality indication device sends an abnormality detection instruction to the power module and detects that the enable switch of the currently detected power module is in an unopened state, it may be determined that the current power module is in an abnormal state, when the enable switch is in an off state, it is not necessary to detect a signal of the operating state pin, and when at least one of the enable switch signal pin or the operating state signal pin does not operate normally, other power modules behind the power module are affected, so that the current power module is in an abnormal state, and after the abnormal power module is determined, the power module stops sending the abnormality detection instruction to the power module.
In order to further ensure the comprehensiveness of the detection, the method also comprises the following steps:
when the working state of the current power supply module is normal, detecting the position of the current power supply module in the power-on sequence;
when the position of the current power supply module in the power-on sequence is not the last power supply module, sending an abnormality detection instruction to the next power supply module of the current power supply module in the power-on sequence;
and when the position of the current power supply module in the power-on sequence is the last position, stopping sending the abnormal detection instruction.
In the specific implementation, when a power module is detected, when the current power module is in a normal state, the position of the current power module needs to be detected, and since the detection sequence is detected strictly according to a power-on time sequence, a statistical record needs to be performed on the current round of sending a detection instruction, so as to determine the number of the current power module being detected, and if a power module exists behind the current power module in the power-on time sequence, an abnormal detection instruction needs to be sent to the next power module of the current power module to monitor whether the current power module is working normally or not. And if the currently detected power module is the last power module in the power-on sequence, correspondingly stopping sending the abnormal detection instruction, and when the last power module does not detect the abnormal state, indicating that all the power modules in the power-on sequence are normal.
In order to further perform the exception reminding, step S40 of the present invention further includes the following steps:
executing the reminding strategy at intervals of first preset time;
and after the reminding strategy is finished and after a second preset time is spaced, updating the reminding times, stopping the abnormal reminding when the reminding times are more than the preset reminding times, wherein the first preset time is less than the second preset time.
It should be noted that the first preset time refers to a time interval between each time of turning on and turning off of the indicator light, that is, after the first preset time is turned on, the indicator light is turned off again for the first preset time, if the indicator light needs to be turned on again, the indicator light is still turned on for the first preset time, and the process is repeated until the abnormal information reminding is completed, the second preset time refers to a time interval between each time of displaying, when the abnormal power module prompts, the abnormal power module information is repeatedly displayed for many times, and the second preset time refers to a time interval between each time of displaying complete abnormal power module information, wherein the first preset time is less than the second preset time.
It can be understood that the reminding strategy refers to a mode of displaying the abnormal power module information through the indicator light, and specifically can be changed into an on and off mode of the indicator light, an on and off time and the like.
In specific implementation, referring to fig. 5, when an abnormal power module exists in a power-on sequence of a mobile portable computer and the mobile portable computer is only provided with one indicator light, the number of the abnormal power module needs to be saved, and if the current abnormal power module number is 4, the number can be set to be the number of times that the mobile portable computer needs to be turned on, that is, errNum is assigned to be 4, and meanwhile, a counter i =0 is set for recording the number of times that the indicator light completes the prompt of the abnormal information. After the preparation operation is completed, the indicator lamp is adjusted to be in a closed state, after the first preset time is 0.4 seconds, the indicator lamp is set to be in an open state, the indicator lamp is maintained for 0.4 seconds, the ErrNum is assigned to the ErrNum again after being subtracted by one, the ErrNum is judged, when the ErrNum is larger than 0, the indicator lamp is set to be in the closed state again, the operation is repeated until the ErrNum is smaller than or equal to 0, then the value of the counter i is increased by one at intervals of the second preset time such as 2 seconds, the value of the counter i is detected, when the value of the counter i is larger than the preset reminding times such as 5 times, the abnormal prompt of the indicator lamp is finished, and otherwise the next abnormal prompt is started.
In the embodiment, each power module is numbered according to the power-on time sequence, so that each power module corresponds to a unique identification information in the power-on time sequence, and can conveniently transmit abnormal power module information through the indicator lamp subsequently, then each power module is detected according to the power-on time sequence, when the abnormal information is judged to exist in the starting state or the working state of the enable switch, the abnormal detection instruction is stopped to be started, or when the abnormal information is not found after the detection is finished, the abnormal detection instruction is stopped to be sent, when the abnormal power module is found, the identification information of the abnormal power module is recorded, the display strategy of the indicator lamp is determined according to the corresponding number, and multiple cycles are performed, so that the transmitted abnormal information can be noticed by related working personnel, and the information of the abnormal power module in the power-on time sequence is transmitted.
Referring to fig. 6, fig. 6 is a flowchart illustrating a power-on abnormality indication method according to a third embodiment of the present invention.
Based on all the above embodiments, the method for indicating power-on abnormality according to this embodiment further includes, after step S40:
step S501: stopping the abnormal reminding, and determining a power-down time sequence according to the power-up time sequence, wherein the power-down time sequence and the power-up time sequence are opposite in processing sequence;
step S502: determining a power supply module to be powered down according to the identification information of the power supply module in the abnormal state;
step S503: acquiring identification information of the current power supply module to be powered down;
step S504: controlling the current power supply module to be powered down to complete power down, and updating the identification information of the current power supply module to be powered down;
step S505: and when the power failure time sequence is determined to be completed according to the updated identification information of the current power module to be powered down, controlling the current power module to be powered down to stop the power failure operation after the power failure is completed.
It should be noted that the processing sequence of the power-down sequence and the power-up sequence is opposite, and the power module to be powered down refers to the power module that has completed power-up in the process of the power-up sequence.
In a specific implementation, referring to fig. 7, the power-on abnormality prompting device reverses the sequence in the current power-on sequence to obtain a power-off sequence, and if the original power-on sequence is 1, 2, 3, 4, 5, and 6, the power-off sequence should be 6, 5, 4, 3, 2, and 1. The corresponding power modules are the same, and the only difference is that the execution sequence is different. When the power failure operation is carried out, the power module which starts to power down is not strictly according to the power failure time sequence, but is determined according to the position of the current abnormal power module, if the number of the current abnormal power module is 5, the starting point of the power module which starts to power down is the power module corresponding to the number 5, the power failure of the power modules such as the number 4 and the number 3 is completed in sequence, in the process of controlling the power module to power down, the number of the current power module which is powered down is obtained, after the power module is powered down, the identification information of the current power module which is powered down is updated, the power module is powered down according to the power failure time sequence, and when the updated identification information of the current power module which is to be powered down is detected to determine that the power failure is completed, the power failure operation is stopped.
In the embodiment, the power failure time sequence is obtained through the power-on time sequence, the current position of the abnormal power supply module is used as the initial position of the power failure, the power failure is completed according to the power failure time sequence, whether the current power failure power supply module is the last power failure time sequence or not is continuously detected, the power failure operation is continuously repeated when all the power supply modules are not powered down, otherwise, the power failure operation is stopped, all the power supply modules are ensured to be in the power failure state, and the safety of the mobile portable computer is ensured.
In addition, an embodiment of the present invention further provides a storage medium, where a power-on abnormality indication program is stored on the storage medium, and when the power-on abnormality indication program is executed by a processor, the steps of the power-on abnormality indication method described above are implemented.
Referring to fig. 8, fig. 8 is a block diagram illustrating a first embodiment of a power-on abnormality indication apparatus according to the present invention.
As shown in fig. 8, the power-on abnormality indication apparatus according to the embodiment of the present invention includes:
the abnormal detection module 10 is used for sending an abnormal detection instruction to each power supply module according to a power-on time sequence in the process of starting the power supply module through the power-on time sequence;
an anomaly confirmation module 20, configured to determine, according to the anomaly detection instruction, a power module in an abnormal state, and stop sending the anomaly detection instruction;
the identifier acquiring module 30 is configured to acquire identifier information of a power module in an abnormal state corresponding to the current power-on sequence;
and the abnormity reminding module 40 is used for carrying out abnormity reminding according to the identification information.
In the embodiment, in the process of starting the power modules through the power-on sequence, an abnormal detection instruction is sent to each power module according to the power-on sequence, the power module in an abnormal state is determined according to the abnormal detection instruction, the sending of the abnormal detection instruction is stopped, the identification information of the power module in the abnormal state corresponding to the current power-on sequence is obtained, and abnormal reminding is performed according to the identification information, so that the function of detecting the working condition of the embedded software power module is realized, the working condition of each power module is detected according to the power-on sequence, the abnormal detection is stopped when the abnormal power module is encountered, and the identification information of the abnormal power module is recorded for abnormal reminding, so that the abnormal power module can be accurately positioned according to the identification information, and the abnormal information can be timely reminded.
In an embodiment, the abnormality confirmation module 20 is further configured to determine whether an enable switch of the current power module is turned on according to the abnormality detection instruction, determine whether the working state of the current power module is normal when the enable switch of the current power module is turned on, and determine the current power module as the power module in the abnormal state when the working state of the current power module is abnormal.
In an embodiment, the abnormality confirmation module 20 is further configured to determine the current power module as a power module in an abnormal state when the enable switch of the current power module is not turned on.
In an embodiment, the abnormality confirmation module 20 is further configured to detect a position of the current power module in the power-on sequence when the operating state of the current power module is normal, send an abnormality detection instruction to a next power module of the current power module in the power-on sequence when the position of the current power module in the power-on sequence is not a last power module, and stop sending the abnormality detection instruction when the position of the current power module in the power-on sequence is a last one.
In an embodiment, the abnormal alert module 40 is further configured to execute the alert policy at an interval of a first preset time, update the alert times at an interval of a second preset time after the alert policy is ended, stop the abnormal alert when the alert times is greater than the preset alert times, and the first preset time is less than the second preset time.
In an embodiment, the anomaly detection module 10 is further configured to determine each power module according to the power-on timing sequence, and add identification information to each power module.
In an embodiment, the abnormality reminding module 40 is further configured to stop the abnormality reminding, determine a power-down time sequence according to the power-up time sequence, where the power-down time sequence is opposite to a processing sequence of the power-up time sequence, determine a power module to be powered down according to identification information of the power module in an abnormal state, obtain identification information of the current power module to be powered down, control the current power module to be powered down to complete power down, update identification information of the current power module to be powered down, and control the current power module to be powered down to stop power down operation after the power-down time sequence is determined to be completed according to the updated identification information of the current power module to be powered down.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (9)

1. A power-on abnormality indication method is characterized by comprising the following steps:
in the process of starting the power supply modules through a power-on time sequence, sending an abnormality detection instruction to each power supply module according to the power-on time sequence;
judging whether an enable switch of the current power module is turned on or not according to the abnormality detection instruction, judging whether the working state of the current power module is normal or not when the enable switch of the current power module is turned on, determining the current power module as the power module in the abnormal state when the working state of the current power module is abnormal, and stopping sending the abnormality detection instruction;
acquiring identification information of a power module in an abnormal state corresponding to a current power-on time sequence;
and performing exception reminding according to the identification information.
2. The method as claimed in claim 1, wherein after determining whether the enable switch of the current power module is turned on according to the abnormality detection command, the method further comprises:
and when the enable switch of the current power supply module is not turned on, determining the current power supply module as the power supply module in the abnormal state.
3. The method as claimed in claim 1, wherein after determining whether the operating status of the current power module is normal when the enable switch of the current power module is turned on, the method further comprises:
when the working state of the current power supply module is normal, detecting the position of the current power supply module in the power-on sequence;
when the position of the current power supply module in the power-on sequence is not the last power supply module, sending an abnormality detection instruction to the next power supply module of the current power supply module in the power-on sequence;
and when the position of the current power supply module in the power-on sequence is the last position, stopping sending an abnormal detection instruction.
4. The method of claim 1, wherein the performing exception notification according to the identification information comprises:
executing a reminding strategy at intervals of a first preset time;
and after the reminding strategy is finished and after a second preset time is spaced, updating the reminding times, stopping the abnormal reminding when the reminding times are more than the preset reminding times, wherein the first preset time is less than the second preset time.
5. The method as claimed in claim 1, wherein before sending the abnormality detection command to each power module according to the power-on sequence in the process of turning on the power module through the power-on sequence, the method further comprises:
determining each power module according to the power-on time sequence;
and adding identification information for each power supply module.
6. The method according to any one of claims 1 to 5, further comprising, after performing an exception alert according to the identification information:
stopping the abnormal reminding, and determining a power-down time sequence according to the power-up time sequence, wherein the power-down time sequence and the power-up time sequence are opposite in processing sequence;
determining a power module to be powered down according to the identification information of the power module in the abnormal state;
acquiring identification information of the current power supply module to be powered down;
controlling the current power supply module to be powered off to complete power failure, and updating the identification information of the current power supply module to be powered off;
and when the power failure time sequence is determined to be completed according to the updated identification information of the current power module to be powered down, controlling the current power module to be powered down to stop the power failure operation after the power failure is completed.
7. A power-on abnormality indication device, characterized by comprising:
the abnormal detection module is used for sending an abnormal detection instruction to each power supply module according to the power-on time sequence in the process of starting the power supply module through the power-on time sequence;
the abnormity confirming module is used for judging whether an enabling switch of the current power supply module is started according to the abnormity detection instruction, judging whether the working state of the current power supply module is normal when the enabling switch of the current power supply module is started, determining the current power supply module as the power supply module in the abnormal state when the working state of the current power supply module is abnormal, and stopping sending the abnormity detection instruction;
the identification acquisition module is used for acquiring the identification information of the power module in the abnormal state corresponding to the current power-on time sequence;
and the abnormity reminding module is used for carrying out abnormity reminding according to the identification information.
8. A power-on abnormality indication device, characterized in that the device comprises: a memory, a processor and a power-on exception indication program stored on the memory and executable on the processor, the power-on exception indication program being configured to implement the steps of the power-on exception indication method of any one of claims 1 to 6.
9. A storage medium, characterized in that a power-on abnormality indication program is stored thereon, and when executed by a processor, the power-on abnormality indication program implements the steps of the power-on abnormality indication method according to any one of claims 1 to 6.
CN202211257035.4A 2022-10-14 2022-10-14 Power-on abnormity indication method, device, equipment and storage medium Active CN115328290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211257035.4A CN115328290B (en) 2022-10-14 2022-10-14 Power-on abnormity indication method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211257035.4A CN115328290B (en) 2022-10-14 2022-10-14 Power-on abnormity indication method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115328290A CN115328290A (en) 2022-11-11
CN115328290B true CN115328290B (en) 2023-03-24

Family

ID=83913253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211257035.4A Active CN115328290B (en) 2022-10-14 2022-10-14 Power-on abnormity indication method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115328290B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116501156B (en) * 2023-05-19 2024-01-30 亿咖通(湖北)技术有限公司 Power supply time sequence control method, device, equipment and storage medium
CN116501534B (en) * 2023-06-27 2024-04-02 荣耀终端有限公司 Charging abnormality management method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462920A (en) * 2020-11-30 2021-03-09 苏州浪潮智能科技有限公司 Power supply control method, device, server and storage medium
CN214850971U (en) * 2021-02-08 2021-11-23 广州汽车集团股份有限公司 Power supply circuit, on-vehicle panoramic camera and car

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9088175B2 (en) * 2013-08-01 2015-07-21 Huawei Technologies Co., Ltd. Power source conversion module, power supply apparatus and power supply method
CN106375113B (en) * 2016-08-25 2020-01-17 新华三技术有限公司 Method, device and system for recording faults of distributed equipment
CN112463501A (en) * 2020-12-11 2021-03-09 苏州浪潮智能科技有限公司 Method, equipment and storage medium for rapidly positioning fault of abnormal power failure
CN113064095A (en) * 2021-03-02 2021-07-02 深圳宝新创科技股份有限公司 Electronic equipment fault detection method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462920A (en) * 2020-11-30 2021-03-09 苏州浪潮智能科技有限公司 Power supply control method, device, server and storage medium
CN214850971U (en) * 2021-02-08 2021-11-23 广州汽车集团股份有限公司 Power supply circuit, on-vehicle panoramic camera and car

Also Published As

Publication number Publication date
CN115328290A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN115328290B (en) Power-on abnormity indication method, device, equipment and storage medium
US20090100287A1 (en) Monitoring Apparatus and a Monitoring Method Thereof
US20210240466A1 (en) Self-service terminal
WO2023065601A1 (en) Server component self-test anomaly recovery method and device, system, and medium
CN113806132B (en) Processing method and device for abnormal reset
US6553400B1 (en) Suspend and resume processing method for suspending and resuming a plurality of states of programmed operations
CN113608930A (en) System chip and electronic device
CN111176958B (en) Information monitoring method, system and storage medium
WO2018010438A1 (en) Responding method and apparatus for terminal
US6839867B2 (en) Method for limiting diagnostic testing duration
JP3623692B2 (en) Information processing device
CN114624569A (en) Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
CN110471800B (en) Server and method for automatically overhauling substrate management controller
JP2003234838A (en) Remote maintenance device, method for controlling remote maintenance device, control program and recording medium
JP2009193317A (en) Electronic device
JPH0895832A (en) System abnormality monitor device
KR101408447B1 (en) Apparatus and method for controlling power of ATM/CD
JPH09171420A (en) Information processor
US20220137142A1 (en) Lead-acid battery monitoring apparatus and lead-acid battery monitoring method
JP3631531B2 (en) System configuration changing method and operation control apparatus
CN115718628A (en) Low-temperature power-on self-starting method, system, device and medium of edge server
JP2001067120A (en) System for displaying alarm history
KR100471069B1 (en) Computer system and warning method of overheating thereof
JP2849584B2 (en) Power control method for electronic equipment
CN117826685A (en) System start detection device and method of embedded equipment and embedded equipment

Legal Events

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