CN107678871B - Electronic equipment starting method and electronic equipment - Google Patents

Electronic equipment starting method and electronic equipment Download PDF

Info

Publication number
CN107678871B
CN107678871B CN201710821712.3A CN201710821712A CN107678871B CN 107678871 B CN107678871 B CN 107678871B CN 201710821712 A CN201710821712 A CN 201710821712A CN 107678871 B CN107678871 B CN 107678871B
Authority
CN
China
Prior art keywords
module
power
starting
control module
electronic device
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
CN201710821712.3A
Other languages
Chinese (zh)
Other versions
CN107678871A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201710821712.3A priority Critical patent/CN107678871B/en
Publication of CN107678871A publication Critical patent/CN107678871A/en
Application granted granted Critical
Publication of CN107678871B publication Critical patent/CN107678871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses an electronic equipment starting method and electronic equipment, which are used for solving the problem that the electronic equipment cannot be started normally due to the fact that a south bridge chip encounters an abnormal environment in the prior art. The method specifically comprises the following steps: the control module receives a first power-on time sequence signal sent by the starting module; when the control module determines that the working state of the starting module is abnormal according to the first power-on time sequence signal, the control module restores the data stored in the starting module into initial data; the control module receives a second power-on time sequence signal sent by the starting module according to the initial data; the control module starts the electronic device based on the second power-on timing signal.

Description

Electronic equipment starting method and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method for booting an electronic device and an electronic device.
Background
The operating voltages of different functional modules (such as a system bus, a memory module, a Central Processing Unit (CPU), etc.) in the electronic device are different, for example, the operating voltage of the south bridge chip is 1.2V or 1.0V, etc., the operating voltage of the system management bus is 3.3V, the operating voltage of the memory module is 1.35V, and the operating voltage of the CPU is 1.2V, etc. When the electronic device is started, a power-on time sequence signal sent by the south bridge chip is needed to sequentially provide voltages (namely working voltages of the functional modules) needed by starting the functional modules for the functional modules included on the mainboard of the electronic device so as to realize the starting process of the electronic device, wherein the power-on time sequence signal is used for indicating the electronic device to supply power to the functional modules according to a preset power supply sequence. Taking the working voltage of the south bridge chip as 1.2V as an example, the electronic device is specifically powered on by providing the voltage of 1.2V to the south bridge chip to start the south bridge chip, and then sequentially providing the voltage required by the module to other functional modules on the mainboard based on the power-on time sequence signal sent by the south bridge chip.
However, when the south bridge chip encounters an abnormal environment (such as an electrostatic environment), the power-on timing signal sent by the south bridge chip to the electronic device is abnormal, so that the electronic device cannot be normally started, the system performance of the electronic device is reduced, and the use experience of a user is affected.
Disclosure of Invention
The embodiment of the invention provides an electronic equipment starting method and electronic equipment, which are used for solving the problem that the electronic equipment cannot be started normally due to the fact that a south bridge chip encounters an abnormal environment in the prior art.
In a first aspect, an embodiment of the present invention provides a method for booting an electronic device, where the method is applied to an electronic device, the electronic device includes a control module and a booting module, and the method includes:
the control module receives a first power-on time sequence signal sent by the starting module;
when the control module determines that the working state of the starting module is abnormal according to the first power-on time sequence signal, the control module restores the data stored in the starting module into initial data;
the control module receives a second power-on time sequence signal sent by the starting module according to the initial data;
the control module starts the electronic device based on the second power-on timing signal.
In the embodiment of the invention, when the control module determines that the working state of the starting module is abnormal, the data stored in the starting module is recovered to the initial data, so that the starting module sends the second power-on time sequence signal based on the initial data, and then the control module starts the electronic equipment based on the second power-on time sequence signal, thereby effectively solving the problem that the electronic equipment cannot be normally started due to the abnormal power-on time sequence signal sent to the electronic equipment by the south bridge chip caused by the abnormal stored data when the south bridge chip encounters an abnormal environment, improving the system performance of the electronic equipment and improving the use experience of a user.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after the control module starts the electronic device based on the second power-on timing signal, the method further includes:
the control module acquires a time parameter used for representing the current time from the starting module, and configures the electronic equipment based on the time parameter, wherein the time parameter is acquired by the starting module from an external clock module of the electronic equipment.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the restoring, by the control module, data stored in the boot module to initial data includes:
the control module controls a real-time clock (RTC) power supply in the electronic equipment to stop supplying power to the starting module, and controls the RTC power supply to continuously supply power to the starting module after preset time.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the determining, by the control module according to the first power-on timing signal, that the working state of the boot module is abnormal includes:
and the control module determines that the working state of the starting-up module is abnormal when the first power-on time sequence signal is determined to be at a low level.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, before the control module starts the electronic device based on the second power-on timing signal, the method further includes:
and the control module determines that the recovered working state of the starting-up module is normal according to the second power-on time sequence signal.
With reference to the first aspect or any one implementation manner of the first possible implementation manner to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, after the control module receives a second power-on timing signal sent by the power-on module according to the initial data, the method further includes:
and when the recovered working state of the starting module is determined to be abnormal according to the second power-on time sequence signal, the control module gives an alarm prompt.
In the embodiment of the invention, when the control module determines that the working state of the starting module is abnormal, the data stored in the starting module is recovered to the initial data, so that the starting module sends the second power-on time sequence signal based on the initial data, and then the control module starts the electronic equipment based on the second power-on time sequence signal, thereby effectively solving the problem that the electronic equipment cannot be normally started due to the abnormal power-on time sequence signal sent to the electronic equipment by the south bridge chip caused by the abnormal stored data when the south bridge chip encounters an abnormal environment, improving the system performance of the electronic equipment and improving the use experience of a user.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a power-on module and a control module;
the starting module is used for sending a first power-on time sequence signal to the control module;
the control module is used for recovering data stored in the starting module into initial data when the working state of the starting module is determined to be abnormal according to the first power-on time sequence signal after the first power-on time sequence signal sent by the starting module is received;
the starting module is further configured to send a second power-on timing signal according to the initial data after the control module restores the data stored in the starting module to the initial data;
the control module is further configured to receive a second power-on timing sequence signal and start the electronic device based on the second power-on timing sequence signal after the power-on module sends the second power-on timing sequence signal according to the initial data.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the electronic device further includes an external clock module;
the external clock module is used for providing time parameters for representing the current time for the electronic equipment;
the starting module is also used for acquiring the time parameter from the external clock module and updating based on the time parameter;
the control module is further configured to obtain the time parameter from the boot module after the electronic device is started based on the second power-on timing sequence signal, and configure the electronic device based on the time parameter.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the electronic device further includes a real-time clock, RTC, power supply;
the RTC power supply is used for providing electric energy required by maintaining stored data for the starting-up module;
the control module, when restoring the data stored in the boot module to the initial data, is specifically configured to:
and controlling the RTC power supply to stop supplying power to the starting module, and controlling the RTC power supply to continuously supply power to the starting module after preset time.
With reference to the second aspect, in a third possible implementation manner of the second aspect, when the operating state of the boot module is determined to be abnormal according to the first power-on timing signal, the method is specifically configured to:
and when the first power-on time sequence signal is determined to be at a low level, determining that the working state of the starting-up module is abnormal.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect, before the electronic device is started based on the second power-on timing signal, the control module is further configured to: and determining that the recovered working state of the starting module is normal according to the second power-on time sequence signal.
With reference to the second aspect or any one of the first to fourth possible implementations of the second aspect, in a fifth possible implementation of the second aspect, the electronic device further includes an alarm module;
the alarm module is used for carrying out alarm prompt;
the control module is further configured to control the alarm module to perform alarm prompting when the recovered working state of the startup module is determined to be abnormal according to the second power-on timing sequence signal after receiving the second power-on timing sequence signal sent by the startup module according to the initial data.
In the embodiment of the invention, when the control module determines that the working state of the starting module is abnormal, the data stored in the starting module is recovered to the initial data, so that the starting module sends the second power-on time sequence signal based on the initial data, and then the control module starts the electronic equipment based on the second power-on time sequence signal, thereby effectively solving the problem that the electronic equipment cannot be normally started due to the abnormal power-on time sequence signal sent to the electronic equipment by the south bridge chip caused by the abnormal stored data when the south bridge chip encounters an abnormal environment, improving the system performance of the electronic equipment and improving the use experience of a user.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for booting an electronic device according to an embodiment of the present invention;
fig. 3 is a flowchart of a boot process of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The boot process is critical to the electronic device. In the booting process, the power-on timing signal sent by the south bridge chip is particularly important, where the power-on timing signal is used to instruct the electronic device to supply power to each functional module (such as a system bus, a memory module, a Central Processing Unit (CPU), and the like) according to a preset power supply sequence. At present, there are two kinds of power supplies for supplying power to an electronic device, one of them is a Real-time clock (RTC) power supply included in the electronic device, which is usually a RTC button battery, and is used for supplying power to a Management Engine (ME) module built in a south bridge chip, so as to maintain Complementary Metal Oxide Semiconductor (CMOS) configuration information stored in the ME module, such as hardware configuration parameters of the electronic device (e.g., working voltages of various functional modules, power supply sequences preset for various functional modules, etc.), boot parameters (e.g., current date, current time, boot settings, etc.), and parameters set by a user (e.g., system password, etc.). The other type is an external power supply which is used for supplying power to each functional module in the electronic equipment. Under the condition that the external power supply of the electronic device does not supply power, only the RTC power supply inside the electronic device operates to maintain CMOS configuration information, such as updating of time parameters and the like, so that the electronic device can be configured based on the CMOS configuration information when being started.
The starting process of the electronic equipment is specifically as follows: when the external power supply is connected, the controller in the electronic equipment resets and starts to work, and a user is waited to trigger a starting instruction. When the controller detects a power-on instruction triggered by a user, a power-on signal (PWRBTN #) is sent to the south bridge, so that after the south bridge receives the signal PWRBTN #, an ME module arranged in a south bridge chip sends a power-on sequence signal to the controller to indicate the controller to convert the voltage provided by a power supply into working voltage of each functional module on the mainboard in sequence, and power is supplied to each functional module on the mainboard in sequence according to the corresponding relation between the functional module and the working voltage. And when the controller supplies power to all the functional modules on the mainboard, the electronic equipment is configured based on the CMOS configuration information stored in the ME module. It can be seen that the south bridge chip plays an important role in the booting process of the electronic device based on the X86 architecture.
However, when the south bridge chip encounters an abnormal environment (such as an electrostatic environment), data stored in the south bridge chip is abnormal, which causes an abnormal power-on timing signal sent by the south bridge chip to the electronic device, so that the electronic device cannot be normally powered on. Accordingly, embodiments of the present invention provide an electronic device booting method and an electronic device, so as to solve a problem in the prior art that the electronic device cannot be normally booted due to an abnormal environment encountered by a south bridge chip. The method and the device are based on the same inventive concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, an architecture of the electronic device may be an X86 architecture. The electronic equipment comprises a starting module and a control module.
And the starting module is used for sending a first power-on time sequence signal to the control module.
The boot module may be a south bridge chip, a System On Chip (SOC) integrated with the south bridge chip, a Platform Control Hub (PCH) having a function of the south bridge chip, or other chips, which is not specifically limited herein in the embodiments of the present invention.
The control module is used for determining that the working state of the starting module is abnormal according to the first power-on time sequence signal after receiving the first power-on time sequence signal sent by the starting module; and restoring the data stored in the starting module into initial data.
The control module may be a micro control Unit (MCU for short).
The starting module is further configured to send a second power-on timing signal according to the initial data after the control module restores the data stored in the starting module to the initial data.
The control module is further configured to receive a second power-on timing sequence signal and start the electronic device based on the second power-on timing sequence signal after the power-on module sends the second power-on timing sequence signal according to the initial data.
Optionally, the control module is further configured to receive a power-on instruction triggered by a user before receiving the first power-on timing sequence signal sent by the power-on module, so that the power-on module sends the first power-on timing sequence signal to the control module after receiving the power-on instruction triggered by the user.
Optionally, the electronic device further includes an external clock module. The external clock module is used for providing time parameters for representing the current time for the electronic equipment. The starting module is also used for acquiring the time parameter from the external clock module and updating based on the time parameter. The control module is further configured to obtain the time parameter from the boot module after the electronic device is started based on the recovered power-on timing sequence signal sent by the boot module, and configure the electronic device based on the time parameter.
Optionally, the electronic device further includes a real-time clock RTC power supply. The RTC power supply is used for providing the electric energy required by maintaining the stored data for the starting-up module. The control module, when restoring the data stored in the boot module to the initial data, is specifically configured to:
and controlling the RTC power supply to stop supplying power to the starting module, and controlling the RTC power supply to continuously supply power to the starting module after preset time.
Optionally, the electronic device may further include a switch module, configured to transmit power provided by the RTC power supply to the power-on module under the control of the control module.
The control module may control the switching on and off of the switch module by sending a third IO signal to the conversion module, specifically, the switch module may be in a conducting state when the third IO signal is at a low level, and the switch module may be in a closing state when the third IO signal is at a high level; or the switch module may be in a conducting state when the third IO signal is at a high level, and the switch module may be in a closing state when the third IO signal is at a low level. The switch module transmits the electric energy provided by the RTC power supply to the starting module in the conducting state, and the switch module stops transmitting the electric energy provided by the RTC power supply to the starting module in the closing state.
Optionally, when determining that the working state of the boot module is abnormal according to the first power-on timing sequence signal, the control module is specifically configured to: and when the first power-on time sequence signal is determined to be at a low level, determining that the working state of the starting-up module is abnormal.
Optionally, the electronic device further includes an alarm module. And the alarm module is used for carrying out alarm prompt. The control module is further configured to control the alarm module to perform alarm prompting when the recovered working state of the startup module is determined to be abnormal according to the second power-on timing sequence signal after receiving the second power-on timing sequence signal sent by the startup module according to the initial data.
The control module can control the alarm module to give an alarm prompt by sending a first Input/Output (IO) signal to the alarm module, specifically, the first IO signal can be a high-level enable alarm module, that is, the alarm module gives an alarm when the first IO signal is at a high level; the first IO signal may be a low level enable alarm module, that is, the alarm module alarms when the first IO signal is at a low level, which is not specifically limited herein.
Optionally, the electronic device may further include an external power supply. And the external power supply is used for supplying power to each functional module in the electronic equipment.
Optionally, the electronic device may further include a conversion module, configured to convert a voltage provided by the external power supply into an operating voltage of the power-on module.
The control module may control the conversion module to convert the voltage provided by the external power supply into the working voltage of the power-on module by sending a second IO signal to the conversion module, specifically, the second IO signal may be a high-level enable conversion module, that is, when the second IO signal is a high level, the conversion module converts the voltage provided by the external power supply into the working voltage of the power-on module; the second IO signal may be a low level enable conversion module, that is, when the second IO signal is a low level, the conversion module converts a voltage provided by the external power supply into a working voltage of the boot module.
Based on the electronic device shown in fig. 1, an embodiment of the present invention provides a method for starting up an electronic device, and as shown in fig. 2, the method for starting up an electronic device may specifically include the following steps:
s201, the control module receives a first power-on time sequence signal sent by a starting module;
s202, when the control module determines that the working state of the starting-up module is abnormal according to the first power-on time sequence signal, the control module restores the data stored in the starting-up module to initial data.
S203, the control module receives a second power-on time sequence signal sent by the starting module according to the initial data.
S204, the control module starts the electronic equipment based on the second power-on sequence signal.
In the embodiment of the invention, when the control module determines that the working state of the starting module is abnormal, the data stored in the starting module is recovered to the initial data, so that the starting module sends the second power-on time sequence signal based on the initial data, and then the control module starts the electronic equipment based on the second power-on time sequence signal, thereby effectively solving the problem that the electronic equipment cannot be normally started due to the abnormal power-on time sequence signal sent to the electronic equipment by the south bridge chip caused by the abnormal stored data when the south bridge chip encounters an abnormal environment, improving the system performance of the electronic equipment and improving the use experience of a user.
In a possible implementation manner, after a boot instruction triggered by a user is received and before the working state of the boot module is determined to be abnormal, the control module starts the boot module, so that the boot module sends a first power-on timing sequence signal to the control module after being started.
Specifically, the control module may control the conversion module to convert the voltage provided by the external power supply into a working voltage of the power-on module through the third IO signal and provide the working voltage to the power-on module, and when the voltage converted by the conversion module is stabilized at the working voltage of the power-on module, the power-on module is started.
Optionally, after the boot module is started, if the control module determines that the working state of the boot module is abnormal according to the first power-on timing signal, the control module restores the data stored in the boot module to the initial data.
The control module determines that the working state of the starting-up module is abnormal according to the first power-on time sequence signal, and the method can be realized in the following way: and the control module determines that the working state of the starting-up module is abnormal when the first power-on time sequence signal is determined to be at a low level.
Specifically, the control module may periodically detect whether the first power-on timing signal is at a high level. And when detecting that the first power-on time sequence signal is at a low level, the control module determines that the working state of the starting-up module is abnormal.
The control module restores the data stored in the starting module to the initial data, and the restoration can be realized by the following modes: the control module controls the real-time clock (RTC) power supply to stop supplying power to the starting module, and controls the RTC power supply to continuously supply power to the starting module after preset time.
Specifically, the control module may control the switch module to stop transmitting the electric energy provided by the RTC power supply to the power-on module through the second IO signal. Because the RTC power supply is used for supplying power to the starting module to maintain the data stored in the starting module, when the switch module stops transmitting the electric energy provided by the RTC power supply to the starting module, the data stored in the starting module is recovered to the initial data. The control module controls the switch module to transmit the electric energy provided by the RTC power supply to the starting module by changing the signal value of the second IO signal after the preset time length, so that the data stored in the starting module is recovered to the initial data.
Optionally, before the control switch module stops transmitting the electric energy provided by the RTC power supply to the boot module, the control module controls the conversion module to stop converting the voltage provided by the external power supply into the working voltage of the boot module and providing the working voltage to the boot module, so that the boot module is turned off. And after the control module controls the switch module to continuously transmit the electric energy provided by the RTC power supply to the starting module, the control module controls the conversion module to continuously convert the voltage provided by the external power supply into the working voltage of the starting module and provide the working voltage to the starting module, so that the starting module is restarted. And after the restarting, the starting-up module sends a second power-on time sequence signal based on the initial data.
In another possible implementation manner, after the control module starts the boot module, if it is determined that the operating state of the boot module is normal according to the first power-on timing signal, the electronic device is started based on the first power-on timing signal.
In a possible implementation manner, before the electronic device is started based on the second power-on timing signal, the control module may determine, according to the second power-on timing signal, that the recovered operating state of the power-on module is normal.
Optionally, after the electronic device is started based on the recovered power-on timing sequence signal sent by the power-on module, the control module obtains a time parameter used for representing the current time from the power-on module, and configures the electronic device based on the time parameter, where the time parameter is obtained by the power-on module from an external clock module of the electronic device.
Specifically, the starting module reads a time parameter of the external clock module, which is used for representing the current time, and writes the time parameter into the data stored in the starting module.
The starting module can read the time parameter used for representing the current time by the external clock module through a Basic Input/Output System (BIOS), and write the time parameter into the data stored in the starting module, so that the electronic device can obtain the correct time parameter from the starting module.
According to the embodiment of the invention, the external clock module is added in the electronic equipment, so that after the data stored in the starting module is recovered to the initial data, the electronic equipment can acquire the time parameter for representing the current time from the added external clock module for configuration, thereby displaying correct real-time, and solving the problem that after the RTC power supply is interrupted to supply power to the starting module, the data stored in the starting module is recovered to the initial data, so that the real-time data stored in the starting module is also recovered to the initial set time data, thereby causing the error of the time displayed after the electronic equipment is configured based on the initial set time data.
In another possible implementation manner, after the control module receives a second power-on timing sequence signal sent by the power-on module according to the initial data, if it is determined that the recovered working state of the power-on module is abnormal according to the second power-on timing sequence signal, the control module performs an alarm prompt.
Specifically, the control module can control the alarm module to give an alarm through the first IO signal.
For better understanding of the embodiment of the present invention, a specific application scenario is given below, and a detailed description is given of a startup process of an electronic device by taking an example that an alarm module is enabled when a first IO signal is at a high level, a switch module is turned on when a second IO signal is at a low level, and a conversion module is enabled when a third IO signal is at a high level, as shown in fig. 3, which is a schematic diagram of the startup process of the electronic device.
S301, the control module sets the first IO signal sent to the alarm module low, sets the second IO signal sent to the switch module low, sets the third IO module sent to the conversion module low, and executes the step S302.
The alarm module does not give an alarm under the control of the low-level first IO signal, the switch module transmits the electric energy provided by the RTC power supply to the starting module under the control of the low-level second IO signal, and the conversion module stops converting the voltage provided by the external power supply into the working voltage of the starting module and provides the working voltage for the starting module under the control of the low-level third IO signal.
S302, the control module receives a starting instruction triggered by a user and executes the step S303.
And S303, the control module sets the third IO signal sent to the conversion module to be high, and S304 is executed.
The conversion module converts the voltage provided by the external power supply into a working voltage of the startup module under the control of the high-level third IO signal and provides the working voltage to the startup module, and when the voltage converted by the conversion module is stabilized at the working voltage of the startup module, the startup module is started.
S304, after the voltage of the converted electric energy is stabilized at the working voltage of the power-on module, the power-on module sends a first power-on timing signal to the control module, and step S305 is executed.
S305, the control module periodically detects whether the first power-on time sequence signal is at a high level; if yes, go to step S306; if not, go to step S307.
S306, the control module starts the electronic device based on the first power-on timing signal.
S307, the control module sets the third IO module sent to the conversion module low, and sets the second IO signal sent to the switch module high by delaying T1, and then executes step S308.
The conversion module stops converting the voltage provided by the external power supply into the working voltage of the startup module and provides the working voltage to the startup module under the control of the third IO signal of the low level, so that the startup module is closed. After a delay T1, the switch module stops transmitting the electric energy provided by the RTC power supply to the boot module under the control of the high-level second IO module, so that the data stored in the boot module is recovered to the initial data.
And S308, after the preset time length, the control module sets the second IO signal sent to the switch module to be low, sets the third IO module sent to the conversion module to be high by delaying T2, and executes the step S309.
The switching module continues to transmit the electric energy provided by the RTC power supply to the starting module under the control of the second IO module with low level, and after the time delay T2, the conversion module continues to convert the voltage provided by the external power supply into the working voltage of the starting module under the control of the third IO signal with high level and provides the working voltage for the starting module, so that the starting module works based on the initial data.
S309, after the voltage of the converted electric energy is stabilized at the working voltage of the startup module, the startup module sends a second power-on timing signal to the control module, and step S310 is executed.
S310, the control module periodically detects whether the second power-on time sequence signal is at a high level; if yes, go to step S312; if not, go to step S311.
S311, the control module sets the first IO signal sent to the alarm module to be high.
The alarm module carries out alarm prompt under the control of the first IO signal of high level.
And S312, the starting module reads the time parameter of the external clock module for representing the current time through the BIOS and writes the time parameter into the data stored in the starting module. The control module starts the electronic equipment based on the second power-on time sequence signal and acquires the time parameter from the starting module for configuration.
In the embodiment of the invention, when the control module determines that the working state of the starting module is abnormal, the data stored in the starting module is recovered to the initial data, so that the starting module sends the second power-on time sequence signal based on the initial data, and then the control module starts the electronic equipment based on the second power-on time sequence signal, thereby effectively solving the problem that the electronic equipment cannot be normally started due to the abnormal power-on time sequence signal sent to the electronic equipment by the south bridge chip caused by the abnormal stored data when the south bridge chip encounters an abnormal environment, improving the system performance of the electronic equipment and improving the use experience of a user.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. An electronic device starting method is applied to an electronic device, the electronic device comprises a control module and a starting module, and the method comprises the following steps:
the control module receives a first power-on time sequence signal sent by the starting module;
when the control module determines that the working state of the starting module is abnormal according to the first power-on time sequence signal, the control module restores the data stored in the starting module into initial data;
the control module receives a second power-on time sequence signal sent by the starting module according to the initial data;
the control module starts the electronic equipment based on the second power-on timing signal;
the boot module comprises a south bridge chip.
2. The method of claim 1, wherein after the control module activates the electronic device based on the second power-on timing signal, the method further comprises:
the control module acquires a time parameter used for representing the current time from the starting module, and configures the electronic equipment based on the time parameter, wherein the time parameter is acquired by the starting module from an external clock module of the electronic equipment.
3. The method of claim 1, wherein the control module restoring the data stored in the boot module to the initial data comprises:
the control module controls a real-time clock (RTC) power supply in the electronic equipment to stop supplying power to the starting module, and controls the RTC power supply to continuously supply power to the starting module after preset time.
4. The method of claim 1, wherein the determining, by the control module, the operating state of the boot-up module to be abnormal according to the first power-on timing signal comprises:
and the control module determines that the working state of the starting-up module is abnormal when the first power-on time sequence signal is determined to be at a low level.
5. The method of claim 1, wherein prior to the control module activating the electronic device based on the second power-on timing signal, the method further comprises:
and the control module determines that the recovered working state of the starting-up module is normal according to the second power-on time sequence signal.
6. The method of any of claims 1 to 5, wherein after the control module receives a second power-on timing signal sent by the boot-up module according to the initial data, the method further comprises:
and when the recovered working state of the starting module is determined to be abnormal according to the second power-on time sequence signal, the control module gives an alarm prompt.
7. An electronic device, comprising a power-on module and a control module;
the starting module is used for sending a first power-on time sequence signal to the control module and comprises a south bridge chip;
the control module is used for recovering data stored in the starting module into initial data when the working state of the starting module is determined to be abnormal according to the first power-on time sequence signal after the first power-on time sequence signal sent by the starting module is received;
the starting module is further configured to send a second power-on timing signal according to the initial data after the control module restores the data stored in the starting module to the initial data;
the control module is further configured to receive a second power-on timing sequence signal and start the electronic device based on the second power-on timing sequence signal after the power-on module sends the second power-on timing sequence signal according to the initial data.
8. The electronic device of claim 7, wherein the electronic device further comprises an external clock module;
the external clock module is used for providing time parameters for representing the current time for the electronic equipment;
the starting module is also used for acquiring the time parameter from the external clock module and updating based on the time parameter;
the control module is further configured to obtain the time parameter from the boot module after the electronic device is started based on the second power-on timing sequence signal, and configure the electronic device based on the time parameter.
9. The electronic device of claim 7, wherein the electronic device further comprises a Real Time Clock (RTC) power supply;
the RTC power supply is used for providing electric energy required by maintaining stored data for the starting-up module;
the control module, when restoring the data stored in the boot module to the initial data, is specifically configured to:
and controlling the RTC power supply to stop supplying power to the starting module, and controlling the RTC power supply to continuously supply power to the starting module after preset time.
10. The electronic device according to claim 7, wherein the control module, when determining that the operating state of the boot module is abnormal according to the first power-on timing signal, is specifically configured to:
and when the first power-on time sequence signal is determined to be at a low level, determining that the working state of the starting-up module is abnormal.
11. The electronic device of claim 7, wherein the control module, prior to activating the electronic device based on the second power-on timing signal, is further to: and determining that the recovered working state of the starting module is normal according to the second power-on time sequence signal.
12. The electronic device of any of claims 7-11, further comprising an alarm module;
the alarm module is used for carrying out alarm prompt;
the control module is further configured to control the alarm module to perform alarm prompting when the recovered working state of the startup module is determined to be abnormal according to the second power-on timing sequence signal after receiving the second power-on timing sequence signal sent by the startup module according to the initial data.
CN201710821712.3A 2017-09-13 2017-09-13 Electronic equipment starting method and electronic equipment Active CN107678871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710821712.3A CN107678871B (en) 2017-09-13 2017-09-13 Electronic equipment starting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710821712.3A CN107678871B (en) 2017-09-13 2017-09-13 Electronic equipment starting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107678871A CN107678871A (en) 2018-02-09
CN107678871B true CN107678871B (en) 2021-04-16

Family

ID=61135518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710821712.3A Active CN107678871B (en) 2017-09-13 2017-09-13 Electronic equipment starting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107678871B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491057A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of starting-up method and its server of server
CN111381655B (en) * 2018-12-29 2024-03-22 浙江华创视讯科技有限公司 Electronic equipment and power-on control method
CN114900201B (en) * 2022-06-15 2023-12-26 Oppo广东移动通信有限公司 Method and related device for starting radio frequency module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221864A (en) * 2010-04-15 2011-10-19 研祥智能科技股份有限公司 Computer, and computer startup management system and method thereof
US8046575B2 (en) * 2007-11-30 2011-10-25 Giga-Byte Technology Co., Ltd. Method for automatically restoring system configuration with a single key
CN106055066A (en) * 2016-06-12 2016-10-26 合肥联宝信息技术有限公司 Computer startup control device and computer startup method
CN104407668B (en) * 2014-10-29 2017-07-28 大唐移动通信设备有限公司 It is a kind of to control the upper electric board automatically of the board based on X86 system architectures

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046575B2 (en) * 2007-11-30 2011-10-25 Giga-Byte Technology Co., Ltd. Method for automatically restoring system configuration with a single key
CN102221864A (en) * 2010-04-15 2011-10-19 研祥智能科技股份有限公司 Computer, and computer startup management system and method thereof
CN104407668B (en) * 2014-10-29 2017-07-28 大唐移动通信设备有限公司 It is a kind of to control the upper electric board automatically of the board based on X86 system architectures
CN106055066A (en) * 2016-06-12 2016-10-26 合肥联宝信息技术有限公司 Computer startup control device and computer startup method

Also Published As

Publication number Publication date
CN107678871A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
US9367446B2 (en) Computer system and data recovery method for a computer system having an embedded controller
US9846472B2 (en) Firmware update method and power system thereof
US9542267B2 (en) Enhanced recovery mechanisms
US7774648B2 (en) Microprocessor supervision in a special purpose computer system
CN107678871B (en) Electronic equipment starting method and electronic equipment
US20200159302A1 (en) Information Handling System And Method To Detect And Recover From No Power/No Post Failures
CN104536551A (en) Method and device for clearing away information on complementary metal oxide semiconductor (CMOS)
US9830178B2 (en) Dynamic reassignment for multi-operating system devices
CN113703557B (en) Method for clearing CMOS information, electronic equipment and clearing chip
CN110673867A (en) CPLD online upgrading method, device and system
CN108540664B (en) Starting method and electronic equipment
CN104156289A (en) Synchronous control method and system based on detection circuit
CN102467427A (en) Method for entering basic output and input system setting
US9570922B2 (en) Charging method and electronic device
JP5281625B2 (en) Computer reset method and computer
US9672048B2 (en) Electronic device and method for waking up operating system thereof
CN111381655B (en) Electronic equipment and power-on control method
CN105786315A (en) Time display method and device
CN110221679B (en) Reinforcing device and method for realizing low-temperature operation of reinforcing device
WO2015075509A1 (en) Data processing device and method of conducting a logic test in a data processing device
CN110908493A (en) Power supply control method and device
CN102681872A (en) Automatic cold boot method of notebook computer
US20200026682A1 (en) Techniques of accessing serial console of bmc using host serial port
US20150123875A1 (en) Power management device and method
US8954717B2 (en) System capable of booting through a universal serial bus device and method thereof

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