Method and circuit for fully automatically upgrading BIOS (Basic Input / Output System) on Intel platform computer

By generating communication instructions and computer control instructions on the Intel platform computer, automatically control the MCU into the state of ME's closure and/or BIOS writing protection status, solving the problem of users who need to manually disassemble the chassis to close ME and BIOS writing protection, and realize fully automated automation The BIOS and ME updates improve the convenience and security of the operation.

CN119376762AActive Publication Date: 2025-01-28SHENZHEN REALBOM INTELLITECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411445699.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-01-28
Estimated Expiration
2044-10-16

AI Technical Summary

Technical Problem

On Intel platform computers, users need to manually remove the chassis to turn off ME and BIOS write protection, which is complex in operation and requires high skills on end users, which increases the time and cost of factory repair.

Method used

By obtaining the BIOS update mode in the system application, the communication instructions and computer control instructions are generated, and the MCU is automatically controlled to enter the state of MCU and/or BIOS to write a protective status to achieve fully automated BIOS and ME updates.

Benefits of technology

Simplify the update process of BIOS and ME, reduce dependence on user professional knowledge, avoid risks in manual operations, reduce the needs of returning maintenance, and improve the convenience and security of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376762A_ABST
    Figure CN119376762A_ABST
Patent Text Reader

Abstract

The invention relates to a method and a circuit for fully automatically upgrading a BIOS (Basic Input / Output System) on an Intel platform computer. The method for fully automatically upgrading the BIOS on the Intel platform computer comprises the following steps: acquiring a BIOS updating mode in a system application program; generating a communication instruction for controlling the MCU to enter an ME to-be-closed state and / or a BIOS write protection state, if it is detected that the computer is shut down, obtaining first state information of the MCU, generating a state control instruction according to the first state information, and controlling the ME to be in a closed state according to the state control instruction. And / or closing the BIOS write protection state in a power-on self-test process for controlling the computer to start up; when the system detects that the computer is shut down, a corresponding control instruction is generated, and it is ensured that ME and BIOS write protection is closed in the power-on self-test process. Then the system controls the computer to be restarted, an upgrading tool is automatically called, and the BIOS or ME upgrading operation is completed; dependence on professional knowledge of a user is reduced, convenience and safety of operation are improved, and maintenance cost and time consumption are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fully automatic BIOS upgrade on an Intel platform computer, and in particular to a fully automatic BIOS upgrade method and circuit on an Intel platform computer. Background Art

[0002] Intel-based computers have ME firmware in their BIOS. This firmware is used to drive ME. ME (Intel Management Engine) is a microprocessor embedded in the Intel chipset, which is designed to provide remote management, security, and system monitoring functions. During the computer BIOS update process, there are three operation requirements according to different update situations: the first situation is to update only the BIOS part and not the ME part, in which case the BIOS write protection needs to be turned off; the second situation is to update both the BIOS and ME parts at the same time, in which case both the BIOS write protection and ME need to be turned off; the third situation is to update only the ME part and not the BIOS part, in which case the BIOS write protection and ME need to be turned off; However, shutting down the ME can only be done through hardware intervention, and the user needs to manually open the chassis to operate, which is not supported in most industrial environments, resulting in increased time and labor costs for factory repairs. In addition, the process of updating BIOS and ME requires high skills of the end user, especially for users who do not have computer knowledge, the operation is complicated and difficult. Summary of the invention

[0003] In order to solve the problem of how to shut down the ME and the BIOS write protection without disassembling the chassis, simplify the process of updating the BIOS and ME, and reduce the skill requirements for end users, the present application provides a method and circuit for fully automatically upgrading the BIOS on an Intel platform computer.

[0004] A method for fully automatically upgrading BIOS on an Intel platform computer, the method comprising: Get the BIOS update mode in the system application; Generate a communication instruction, a first computer control instruction and a first execution sequence instruction according to the BIOS update mode, wherein the communication instruction is used to control the MCU to enter the ME standby shutdown state and / or the BIOS write protection state, the first computer control instruction is used to control the computer to shut down and automatically run the system application when the computer is turned on next time, and the first execution sequence instruction is used to determine the execution sequence of the communication instruction and the first computer control instruction; If it is detected that the computer has been shut down, first state information of the MCU is obtained, and a state control instruction, a second computer control instruction, and a second execution sequence instruction are generated according to the first state information, wherein the second computer control instruction is used to control the computer to start up, the state control instruction is used to control the ME to be in a shut-down state, and / or to turn off the BIOS write protection state during the power-on self-test process of controlling the computer to start up, and the second execution sequence instruction is used to determine the execution order of the state control instruction and the second computer control instruction; Based on the first computer control instruction and the first execution sequence instruction, the system application is automatically run to obtain the second status information of ME and / or BIOS. According to the second status information, the system application calls the corresponding upgrade tool to perform the corresponding upgrade operation.

[0005] By adopting the above technical solution, by obtaining the BIOS update mode in the system application, communication instructions and computer control instructions are generated according to different update requirements, instructing the MCU to automatically enter the ME standby state and / or BIOS write protection state. Subsequently, the system automatically controls the computer to shut down, and sets it to automatically run the system application at the next startup without manual intervention by the user. When the system detects that the computer is shut down, it obtains the current ME and BIOS status information through the MCU, and automatically generates corresponding control instructions to ensure that the ME and BIOS write protection are turned off during the power-on self-test process. The system then controls the computer to restart, automatically calls the upgrade tool, and completes the BIOS or ME upgrade operation based on the real-time status information; The traditional method of users disassembling the chassis and manually setting the hardware to shut down the ME avoids the complex operation. All ME shutdown and BIOS write protection shutdown operations are automatically completed by the MCU and the system, greatly simplifying the update process. At the same time, the system can independently determine the status of the ME and BIOS and perform corresponding upgrade operations, reducing the dependence on user expertise, avoiding the risks of manual operation, and reducing the need for factory repairs, ultimately improving the convenience and safety of operation, and reducing maintenance costs and time consumption.

[0006] Preferably, a PWRLED light is provided on the computer, and the PWRLED light is used to obtain key information to perform corresponding indication operations, wherein the step of obtaining key information to perform corresponding indication operations includes: Determine the current brightness status of the PWRLED lamp; The key information is acquired in real time, where the key information at least includes the second state information and upgrade operation information after the corresponding upgrade operation is completed.

[0007] According to the key instruction, determining the indication parameters, the indication parameters including the flicker frequency parameter, the flicker brightness parameter and the brightness cycle parameter; According to the current brightness status, determine the interference point of the PWRLED lamp, and select the corresponding key parameters from the indication parameters based on the interference point; According to the key parameters, corresponding indicated operations are performed.

[0008] By adopting the above technical solution, by setting the PWRLED light on the computer to obtain key information and perform indication operations, it is possible to provide users with real-time information on the system status through simple visual feedback, thereby improving the user's perception of system operations. According to the brightness status and key information, the indication parameters of the PWRLED (such as flashing frequency, brightness, etc.) can be accurately adjusted, thereby improving the accuracy of the indication information and the real-time nature of the system feedback. Screening key parameters according to interference points can reduce unnecessary errors, thereby improving the stability and reliability of the indication operation.

[0009] Preferably, the step of controlling the system application to call a corresponding upgrade tool to perform a corresponding upgrade operation according to the second status information includes: Determine whether the ME has been turned off and whether the BIOS write protection state has been turned off according to the second state information; If it is detected that the ME has been shut down, the previous version of the ME is stored, and the ME upgrade tool is called to perform the ME upgrade operation, the first fault detection information in the ME upgrade operation is monitored in real time, and according to the priority of the first fault detection information, it is determined whether to interrupt the upgrade operation and restore the previous version of the ME; If it is detected that the BIOS write protection status is turned off, the previous BIOS version is stored, and the BIOS upgrade tool is called to perform the BIOS upgrade operation. The second fault detection information in the BIOS upgrade operation is monitored in real time. According to the priority of the second fault detection information, it is determined whether to interrupt the upgrade operation and restore the previous BIOS version.

[0010] By adopting the above technical solution, by judging whether the ME is turned off and whether the BIOS write protection state is turned off according to the second state information, it is possible to ensure that the system is in an upgradeable state before upgrading, thereby improving the success rate of the upgrade operation. By detecting the shutdown state of the ME and the BIOS, a corresponding fault detection mechanism can be implemented during the upgrade process, and the operation can be interrupted and the previous version can be restored according to the fault information, thereby improving the fault tolerance and security of the system and avoiding system damage caused by upgrade failure.

[0011] A circuit for fully automatically upgrading BIOS on an Intel platform computer comprises an MCU module, a communication module, a computer startup control module, a computer state detection module and an ME state control module. The data transmission end of the MCU module is connected to the data transmission end of the communication module, the data transmission end of the communication module is connected to the data transmission end of the computer, the signal acquisition end of the computer state detection module is connected to the power signal output end of a power supply, the signal output end of the computer state detection module is connected to the signal input end of the MCU module, the first signal output end of the MCU module is connected to the signal input end of the computer startup control module, the signal output end of the computer startup control module is connected to the computer, the second signal output end of the MCU module is connected to the signal input end of the ME state control module, the signal output end of the ME state control module is connected to the ME Strap circuit of a chipset for shutting down or enabling ME, the MCU communicates with the computer through the communication module, and the write protection register of BIOS is turned on or off by a BIOS program.

[0012] By adopting the above technical solution, through the design of the ME state control module, including MOS tubes Q4, Q6 and the voltage acquisition network, the voltage state of the ME can be monitored in real time, and the state of the ME can be controlled by turning on or off the MOS tube Q6, thereby improving the detection accuracy and control capability of the ME shutdown state. By combining the voltage acquisition network with the MCU module, it can ensure that the state change of the ME can be responded to quickly, thereby improving the feedback speed of the system.

[0013] Preferably, the ME state control module includes a MOS tube Q4, a MOS tube Q6 and a voltage acquisition network, the power input end of the voltage acquisition network is connected to the power supply, the power output end of the voltage acquisition network is connected to the first conduction end of the MOS tube Q6, the second conduction end of the MOS tube Q6 is grounded, the controlled end of the MOS tube Q6 is connected to the second signal output end of the MCU module, the first conduction end of the MOS tube Q4 is connected to the power supply, the second conduction end of the MOS tube Q4 is connected to the ME Strap circuit of the chipset, and the controlled end of the MOS tube Q4 is connected to the power signal output end of the voltage acquisition network.

[0014] By adopting the above technical solution, through the design of the ME state control module, including MOS tubes Q4, Q6 and the voltage acquisition network, the voltage state of the ME can be monitored in real time, and the state of the ME can be controlled by turning on or off the MOS tube Q6, thereby improving the detection accuracy and control capability of the ME shutdown state. By combining the voltage acquisition network with the MCU module, it can ensure that the state change of the ME can be responded to quickly, thereby improving the feedback speed of the system.

[0015] Preferably, the voltage acquisition network includes a resistor R27 and a resistor R29, a first end of the resistor R27 is connected to a power supply, a second end of the resistor R27 is connected to a first end of the resistor R29, a second end of the resistor R29 is connected to a first conduction end of the MOS tube Q6, and a common node between the second end of the resistor R27 and the first end of the resistor R29 is connected to a controlled end of the MOS tube Q4.

[0016] By adopting the above technical solution, through the design of resistors R27 and R29 in the voltage acquisition network, the voltage signal of the ME state can be stably obtained, thereby improving the detection accuracy of the ME off state. By combining the controlled end of the MOS tube Q4 with the voltage acquisition network, it can ensure that the voltage change when the ME is turned off can be accurately captured, thereby improving the stability and reliability of the circuit.

[0017] Preferably, the computer status detection circuit includes a MOS tube Q5 and a resistor R28, the first conduction end of the MOS tube Q5 is connected to the first end of the resistor R28, the second end of the resistor R28 is connected to the power supply, the common node between the second end of the resistor R28 and the power supply is connected to the signal input end of the MCU module, and the controlled end of the MOS tube Q5 is connected to the power signal output end of the power supply.

[0018] By adopting the above technical solution, through the design of MOS tube Q5 and resistor R28 in the computer state detection circuit, the switch state of the computer can be effectively detected, and the voltage change is fed back to the MCU, thereby improving the system's detection accuracy of the computer's switch state. Through the connection between the MCU and the computer state detection circuit, it can be ensured that the MCU can respond in time according to the switch state of the computer, thereby improving the system's response speed and operation accuracy.

[0019] Preferably, the computer switch control module includes a MOS tube Q1 and a resistor R1, the first conduction end of the MOS tube Q1 is connected to the first end of the resistor R1, the second end of the resistor R1 is connected to the power supply, the common node between the second end of the resistor R1 and the power supply is connected to the computer power-on signal control circuit, and the controlled end of the MOS tube Q1 is connected to the first signal output end of the MCU module.

[0020] By adopting the above technical solution, through the design of the computer switch control module, including MOS tube Q1 and resistor R1, the MCU can achieve accurate control of the computer power supply. The controlled end of the MOS tube Q1 is connected to the first signal output end of the MCU module. When the MCU sends a signal, the MOS tube Q1 is turned on and the current passes through R1, thereby realizing the control of the computer power supply.

[0021] Preferably, the communication module includes a dual N-channel MOS transistor Q3, a resistor R19 and a resistor R20, a first end of the resistor R19 is connected to a power supply, a second end of the resistor R19 is connected to a first controlled end of the dual N-channel MOS transistor Q3, a first end of the resistor R20 is connected to a power supply, a second end of the resistor R20 is connected to a second controlled end of the dual N-channel MOS transistor Q3, a first conductive end of the dual N-channel MOS transistor Q3 is connected to a clock line of SMBUS communication, a second conductive end of the dual N-channel MOS transistor Q3 is connected to a first data communication port of the MCU module, a third conductive end of the dual N-channel MOS transistor Q3 is connected to a data line of SMBUS communication, and a fourth conductive end of the dual N-channel MOS transistor Q3 is connected to a second data communication port of the MCU module.

[0022] By adopting the above technical solution, through the design of the dual N-channel MOS tube Q3 and resistors R19 and R20 in the communication module, it is possible to achieve independent control of the SMBUS communication clock line and data line, thereby improving the stability and communication efficiency of the communication module. Through the design of the dual N-channel MOS tube, it is possible to reduce power consumption while maintaining efficient communication, thereby improving the overall energy efficiency and reliability of the system.

[0023] Preferably, the circuit for fully automatically upgrading BIOS on an Intel platform computer also includes a status indication module, which includes a MOS tube Q2, a resistor R7 and an indicator light, wherein the first conduction end of the MOS tube Q2 is connected to the first end of the resistor R7, the second end of the resistor R7 is connected to a power supply, a common node between the second end of the resistor R7 and the power supply is connected to the indicator light, and the controlled end of the MOS tube Q2 is connected to the third signal output end of the MCU module.

[0024] By adopting the above technical solution and designing the status indication module, visual feedback of the system status can be achieved through the MOS tube Q2, the resistor R7 and the indicator light. When the third signal output terminal of the MCU outputs a signal, the controlled end of the MOS tube Q2 is turned on, and the indicator light is on, which can intuitively display the current system status change to the user. Through this simple and reliable circuit structure, the operating status of the system or important information during the upgrade process can be effectively reflected, thereby improving the user's perception of the system status. In addition, the design of the resistor R7 ensures the current stability of the indicator light circuit, prevents overcurrent from damaging the indicator light or affecting the normal operation of other system modules, thereby improving the reliability and durability of the system.

[0025] In summary, the present application includes at least one of the following beneficial technical effects: This application obtains the BIOS update mode in the system application, generates communication instructions and computer control instructions according to different update requirements, and instructs the MCU to automatically enter the ME standby state and / or BIOS write protection state. Subsequently, the system automatically controls the computer to shut down, and sets it to automatically run the system application at the next startup without manual user intervention. When the system detects that the computer is shut down, it obtains the current ME and BIOS status information through the MCU, and automatically generates corresponding control instructions to ensure that the ME and BIOS write protection are turned off during the power-on self-test process. The system then controls the computer to restart, automatically calls the upgrade tool, and completes the BIOS or ME upgrade operation based on the real-time status information; The traditional method of users disassembling the chassis and manually setting the hardware to shut down the ME avoids the complex operation. All ME shutdown and BIOS write protection shutdown operations are automatically completed by the MCU and the system, greatly simplifying the update process. At the same time, the system can independently determine the status of the ME and BIOS and perform corresponding upgrade operations, reducing the dependence on user expertise, avoiding the risks of manual operation, and reducing the need for factory repairs, ultimately improving the convenience and safety of operation, and reducing maintenance costs and time consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a flow chart of a method for fully automatically upgrading BIOS on an Intel platform computer in one embodiment of the present application.

[0027] Figure 2 This is another implementation flow chart of a method for fully automatically upgrading BIOS on an Intel platform computer in one embodiment of the present application; Figure 3 This is a flowchart for implementing step S40 in a method for fully automatically upgrading BIOS on an Intel platform computer in one embodiment of the present application; Figure 4 It is a flowchart of a fully automatic BIOS upgrade circuit on an Intel platform computer in one embodiment of the present application; Figure 5 This is a partial circuit diagram of an MCU module in a fully automatic BIOS upgrade circuit on an Intel platform computer in one embodiment of the present application; Figure 6 It is a partial circuit diagram of an ME state control module in a fully automatic BIOS upgrade circuit on an Intel platform computer in one embodiment of the present application; Figure 7It is a partial circuit diagram of a computer status detection module in a fully automatic BIOS upgrade circuit on an Intel platform computer in one embodiment of the present application; Figure 8 This is a partial circuit diagram of a computer startup control module in a fully automatic BIOS upgrade circuit on an Intel platform computer in one embodiment of the present application; Fig. 9 This is a partial circuit diagram of a status indication module in a fully automatic BIOS upgrade circuit on an Intel platform computer in one embodiment of the present application; Fig.10 This is a partial circuit diagram of a communication module in a fully automatic BIOS upgrade circuit on an Intel platform computer in one embodiment of the present application. DETAILED DESCRIPTION

[0028] The present application is further described in detail below in conjunction with the accompanying drawings.

[0029] In one embodiment, if Figure 1 As shown, the present application discloses a method for fully automatically upgrading BIOS on an Intel platform computer, which specifically includes the following steps: A method for fully automatically upgrading BIOS on an Intel platform computer, the method comprising: S10, obtaining a BIOS update mode in a system application; In this embodiment, the update is implemented through the interaction between the user and the system interface. The user can select a suitable BIOS update mode in the update tool interface, such as updating only the BIOS, updating the BIOS and ME at the same time, or updating only the ME. The system application will generate corresponding update instructions according to the mode selected by the user. This operation ensures that the system can be flexibly updated according to specific needs, avoiding unnecessary update operations, thereby improving the update efficiency and reducing the consumption of system resources. A practical example is that the user chooses to update only the BIOS but not the ME, which can avoid additional operations when updating the ME and ensure that the system can be updated as needed to a minimum.

[0030] S20, generating a communication instruction, a first computer control instruction and a first execution sequence instruction according to the BIOS update mode, wherein the communication instruction is used to control the MCU to enter the ME standby shutdown state and / or the BIOS write protection state, the first computer control instruction is used to control the computer to shut down and automatically run the system application when the computer is turned on next time, and the first execution sequence instruction is used to determine the execution sequence of the communication instruction and the first computer control instruction; In this embodiment, it is implemented through the communication protocol between the application and the MCU. The communication instruction is used to instruct the MCU to enter the ME to be shut down state or to turn off the BIOS write protection state, which is to ensure that the write operation can be carried out smoothly during the update process. The first computer control instruction is used to control the shutdown of the system and automatically run the application when it is turned on next time, which ensures that the update operation is carried out in a safe state and avoids the risk of data loss or system crash. The execution order instruction is used to determine the execution order of the communication instruction and the shutdown instruction to ensure that all operations are completed according to the specified timing. This design improves the reliability and accuracy of the operation and avoids the conflict problems that may be caused by simultaneous execution. A practical example is that when the system is updating the BIOS, the ME must be turned off first to avoid conflicts with the BIOS write protection.

[0031] S30, if it is detected that the computer has been shut down, first state information of the MCU is obtained, and a state control instruction, a second computer control instruction, and a second execution sequence instruction are generated according to the first state information, wherein the second computer control instruction is used to control the computer to start up, the state control instruction is used to control the ME to be in a shutdown state, and / or to turn off the BIOS write protection state during the power-on self-test process of controlling the computer to start up, and the second execution sequence instruction is used to determine the execution order of the state control instruction and the second computer control instruction; In this embodiment, it is implemented through the status detection module inside the MCU and the power management module of the system. When the system detects that the power is turned off, the MCU will read the current hardware status, especially the status information related to the ME and BIOS, through its status detection module. According to these status information, the system generates corresponding control instructions to ensure that the ME is turned off, or turns off the write protection function of the BIOS when necessary. At the same time, the second computer control instruction will instruct the computer to restart in order to continue to complete the update operation. The execution sequence instruction ensures that the shutdown, status detection and startup operations are performed according to the predetermined timing, avoiding errors caused by simultaneous execution. For example, after shutdown, the system must first ensure that the ME is turned off before executing the BIOS write protection to ensure the safety of the update operation.

[0032] S40. Based on the first computer control instruction and the first execution sequence instruction, automatically run the system application, obtain the second status information of the ME and / or BIOS, and control the system application to call the corresponding upgrade tool to perform the corresponding upgrade operation according to the second status information.

[0033] In this embodiment, it is realized by an application program that automatically runs after the system is turned on. The application program will automatically determine whether it is necessary to continue the upgrade operation based on the status information of the ME and BIOS obtained after the system is turned on. The system confirms whether the ME has been successfully shut down or whether the BIOS write protection status has been released through the second status information. If these conditions are met, the application program will automatically call the corresponding upgrade tool to perform the update operation of the BIOS or ME. This design can ensure that the upgrade process is fully automated, reduce the possibility of manual intervention, and reduce the risk of operational errors. For example, when the write protection status of the BIOS is detected to be turned off, the system will automatically start the BIOS upgrade tool to complete the firmware update without the user having to manually perform the operation.

[0034] That is, the user runs the system application and sets the mode to update the BIOS through the menu. The system application communicates with the MCU through the communication interface to put the MCU into the ME to be shut down or BIOS write protection state. Then the system application automatically shuts down the computer and sets it to run automatically next time it is turned on.

[0035] After the MCU detects that the computer has entered the shutdown state through the computer status detection module, it puts the ME into the shutdown state through the ME status control module, and then controls the computer startup through the computer startup control module to realize the ME shutdown. During the POST process, the MCU communicates with the computer to let the computer shut down the BIOS to turn off the BIOS write protection. The MCU records that it has entered the ME shutdown or BIOS write protection shutdown state, and indicates the corresponding state through the status indication module; after the computer successfully enters the operating system, the system application automatically starts, and the system application communicates with the MCU, detects the ME shutdown or BIOS write protection shutdown state, and automatically calls the tool to upgrade the BIOS or ME.

[0036] In summary, by obtaining the BIOS update mode in the system application, communication instructions and computer control instructions are generated according to different update requirements, instructing the MCU to automatically enter the ME standby state and / or BIOS write protection state. Subsequently, the system automatically controls the computer to shut down, and sets it to automatically run the system application at the next startup without manual user intervention. When the system detects that the computer is shut down, it obtains the current ME and BIOS status information through the MCU, and automatically generates corresponding control instructions to ensure that the ME and BIOS write protection are turned off during the power-on self-test process. The system then controls the computer to restart, automatically calls the upgrade tool, and completes the BIOS or ME upgrade operation based on the real-time status information; The traditional method of users disassembling the chassis and manually setting the hardware to shut down the ME avoids the complex operation. All ME shutdown and BIOS write protection shutdown operations are automatically completed by the MCU and the system, greatly simplifying the update process. At the same time, the system can independently determine the status of the ME and BIOS and perform corresponding upgrade operations, reducing the dependence on user expertise, avoiding the risks of manual operation, and reducing the need for factory repairs, ultimately improving the convenience and safety of operation, and reducing maintenance costs and time consumption.

[0037] Specifically, Figure 2 As shown, a PWRLED light is provided on the computer, and the PWRLED light is used to obtain key information to perform corresponding indication operations, wherein the step of obtaining key information to perform corresponding indication operations includes: S501, determining the current brightness state of the PWRLED lamp; In this embodiment, the system monitors the current and voltage signals of the PWRLED lamp in real time. The brightness status of the PWRLED lamp reflects the current operation status of the system, such as whether the system is performing an upgrade operation or whether the upgrade has been completed. The MCU will judge the different states of the system based on the changes in the brightness of the lamp to ensure that timely feedback can be provided to the user. For example, when the system is in normal operation, the PWRLED lamp may be in a constant state, and when the system enters the BIOS or ME upgrade mode, the brightness of the lamp may change, becoming brighter or starting to flash to prompt the user of the current operation status.

[0038] S502: Acquire key information in real time, where the key information at least includes the second state information and upgrade operation information after the corresponding upgrade operation is completed.

[0039] In this embodiment, it is achieved through communication between the MCU and the system application. When the system is performing an upgrade of the BIOS or ME, the MCU will continuously obtain real-time status information of the upgrade from the application. These key information include second status information, such as whether the BIOS write protection has been successfully turned off, whether the ME has been turned off, etc., and also include status feedback after the upgrade operation is completed. This information is crucial for the subsequent operation of the system and can ensure that each operation step can proceed smoothly. For example, if the system detects that the ME has been successfully turned off, the MCU will continue to execute the BIOS upgrade, and if it is detected that the upgrade operation has been successfully completed, the system will end the current task accordingly and indicate it through the PWRLED light.

[0040] S503, determining indication parameters according to the key instruction, wherein the indication parameters include a flicker frequency parameter, a flicker brightness parameter and a brightness cycle parameter; In this embodiment, the MCU parses the instructions received from the system application to achieve this. The indication parameters determine the specific performance of the PWRLED lamp. For example, the flashing frequency is used to indicate the current operating mode, the flashing brightness reflects the priority of the system status, and the brightness cycle parameter is used to control the change cycle of the light. Through the coordination of these parameters, the MCU can generate corresponding control signals according to the current status and operating requirements of the system to ensure that the PWRLED lamp can accurately feedback to the user. For example, when the system enters the upgrade mode, the PWRLED lamp may flash at a high frequency to remind the user that an important operation is being performed. After the upgrade is completed, the light may return to a low-frequency flashing or constant light state.

[0041] S504, determining the interference point of the PWRLED lamp according to the current brightness state, and selecting the corresponding key parameters from the indication parameters based on the interference point; In this embodiment, the MCU performs real-time analysis on the current brightness signal. Interference points refer to the critical brightness values ​​or abnormal brightness characteristics of the PWRLED lamp under different operating conditions. By detecting these interference points, the MCU can determine whether the current system is in a normal state or an abnormal situation has occurred. Based on these interference points, the MCU will filter out the key parameters suitable for the current situation from the indication parameters. For example, when it detects that the brightness of the light suddenly drops or the flashing frequency is abnormal, the MCU will automatically adjust the relevant parameters to ensure the accuracy of the indication operation. For example, during a system update, if the brightness of the light does not match expectations, it may indicate that the system has failed. The MCU will adjust the operation or issue an alarm based on this information.

[0042] S505: Execute corresponding instruction operations according to the key parameters.

[0043] In this embodiment, the switching and brightness changes of the PWRLED lamp are controlled by the MCU. According to the current operating state of the system, the MCU will perform different operations according to the pre-set indication parameters, such as adjusting the flashing frequency, brightness or on-off cycle of the PWRLED lamp, so as to feedback the system status information to the user. These indication operations may include a constant light mode under normal conditions, a fast flashing mode during an upgrade operation, or a frequent flashing mode under a fault condition. Through these intuitive light feedbacks, the user can quickly determine the current state of the system and make corresponding operational decisions. For example, when the upgrade operation is completed, the PWRLED lamp will quickly switch from the initial high-frequency flashing mode to the low-frequency flashing mode due to the interference point, promptly prompting the user that the upgrade has been successful and the system is in a safe state.

[0044] That is, the MCU is notified to flash the indicator light quickly, indicating that the BIOS update state has been entered. When the BIOS update is completed, the system application notifies the MCU to enter the completion state. At the same time, the user is prompted to shut down the computer, remove the power supply of the computer, and then reconnect the power supply and restart the computer to complete the update action.

[0045] The existing PWRLED light needs to be reused to indicate various states. For example, when the ME or BIOS write protection is turned off, the PWRLED flashes at a frequency of 1Hz; when the BIOS is updated, the PWRLED flashes at a frequency of 3Hz; in normal state, the PWRLED is always on.

[0046] In summary, by setting the PWRLED light on the computer to obtain key information and perform indication operations, it is possible to provide users with real-time information on the system status through simple visual feedback, thereby improving the user's perception of system operations. According to the brightness status and key information, the indication parameters of the PWRLED (such as flashing frequency, brightness, etc.) can be accurately adjusted, thereby improving the accuracy of the indication information and the real-time nature of the system feedback. Screening key parameters according to interference points can reduce unnecessary errors, thereby improving the stability and reliability of the indication operation.

[0047] Specifically, Figure 3 As shown, the step of controlling the system application to call the corresponding upgrade tool to perform the corresponding upgrade operation according to the second state information includes: S401. Determine whether the ME has been shut down, and determine whether the BIOS write protection state has been shut down, according to the second state information; In this embodiment, it is realized through the communication between MCU and system application. The system will determine whether ME has been successfully shut down by detecting the relevant registers or status signals of ME. At the same time, the determination of BIOS write protection status is completed by reading the control register of BIOS. After the system obtains these two status information, it can further determine whether the upgrade operation can be performed safely. The technical effect of this step is that it ensures that the write protection status of ME and BIOS is turned off, thereby avoiding upgrading when the status is not fully ready and reducing the possibility of errors. For example, before performing the upgrade, the system will first ensure that the BIOS write protection is turned off, otherwise it will cause the inability to write new BIOS data during the upgrade process, resulting in upgrade failure.

[0048] S402, if it is detected that the ME has been shut down, the previous version of the ME is stored, and the ME upgrade tool is called to perform the ME upgrade operation, the first fault detection information in the ME upgrade operation is monitored in real time, and according to the priority of the first fault detection information, it is determined whether to interrupt the upgrade operation and restore the previous version of the ME; In this embodiment, it is completed through system automation. When the ME is detected to be turned off, the system will first back up the current ME firmware version to prevent the inability to restore to a stable version when the upgrade fails. Subsequently, the system will call a dedicated ME upgrade tool to start updating the ME firmware. During the upgrade process, the system will monitor the operating status of the ME upgrade tool in real time, and in particular, the fault detection module will monitor possible errors. Each fault will be assigned a priority, and the system will decide whether to immediately interrupt the operation and restore the previously backed up ME version based on the severity of the fault. The advantage of this design is that even if a fault occurs during the upgrade process, the system can take remedial measures in time to prevent irreversible damage to the ME. For example, if it is detected that the upgrade tool is not responding or the ME firmware is damaged, the system will automatically terminate the upgrade and restore to a safe backup version to ensure stable operation of the system.

[0049] S403. If it is detected that the BIOS write protection state is turned off, the previous BIOS version is stored, and the BIOS upgrade tool is called to perform the BIOS upgrade operation, and the second fault detection information in the BIOS upgrade operation is monitored in real time. According to the priority of the second fault detection information, it is determined whether to interrupt the upgrade operation and restore the previous BIOS version.

[0050] In this embodiment, the BIOS upgrade process is managed automatically. After confirming that the BIOS write protection has been released, the system will first save the current BIOS version to ensure that it can be quickly restored when a problem occurs. Then, the system will start the BIOS upgrade tool and monitor its running status in real time. In this process, fault detection information is an important part of system monitoring. If an abnormal situation is detected during the BIOS upgrade process (such as write failure, BIOS damage, etc.), the system will automatically decide whether to terminate the operation and restore the backup BIOS version according to the priority of the fault. This process ensures that when encountering serious problems, the system can roll back in time to avoid situations where the system cannot be started. For example, if the system detects a BIOS write error during the upgrade process, the system will immediately stop the upgrade operation and restore the previously stored stable version to avoid system damage or startup failure.

[0051] In summary, by judging whether the ME is turned off and whether the BIOS write protection state is turned off according to the second state information, it is possible to ensure that the system is in an upgradeable state before upgrading, thereby improving the success rate of the upgrade operation. By detecting the shutdown state of the ME and BIOS, a corresponding fault detection mechanism can be implemented during the upgrade process, and the operation can be interrupted and the previous version can be restored according to the fault information, thereby improving the fault tolerance and security of the system and avoiding system damage caused by upgrade failure.

[0052] Specifically, Figure 4-5As shown, a fully automatic BIOS upgrade circuit on an Intel platform computer includes an MCU module, a communication module, a computer startup control module, a computer status detection module and an ME status control module. The data transmission end of the MCU module is connected to the data transmission end of the communication module, the data transmission end of the communication module is connected to the data transmission end of the computer, the signal acquisition end of the computer status detection module is connected to the power signal output end of the power supply, the signal output end of the computer status detection module is connected to the signal input end of the MCU module, the first signal output end of the MCU module is connected to the signal input end of the computer startup control module, the signal output end of the computer startup control module is connected to the computer, the second signal output end of the MCU module is connected to the signal input end of the ME status control module, the signal output end of the ME status control module is connected to the ME Strap circuit of the chipset for shutting down or enabling ME, the MCU communicates with the computer through the communication module, and the BIOS program turns on or off the write protection register of the BIOS.

[0053] In this embodiment, the MCU module is used as the main control unit and is responsible for managing the status and update process of the entire system. The communication module is a bridge between the MCU and the internal registers of the computer. Through the communication module, the MCU can exchange data with the internal registers of the computer, transmit status information and control instructions, and the communication module communicates with the internal registers of the computer through the data bus of the computer, and usually adopts protocols such as I2C or SMBUS to realize this data exchange. This allows the communication module to read the internal register status of the computer, obtain the current setting of the BIOS write protection, and the operating status of the ME. Through this connection, the communication module can pass the instructions issued by the MCU to the computer, and pass the status information fed back by the computer back to the MCU. The purpose of this connection is to ensure that the system can monitor and control the key hardware status of the computer, so as to turn off the BIOS write protection or ME when necessary. The computer status detection module is responsible for monitoring the power status of the computer, especially the power on / off signal. By monitoring the high and low level signals of the power supply, the status detection module can determine whether the computer is in the power on or off state. When it is detected that the computer is turned off, the status detection module will pass the information to the MCU, and the MCU will issue corresponding instructions to control the startup or continue the update process of the computer accordingly. The status detection module sends the power status detected by it to the MCU module through the signal output terminal. After receiving this signal, the MCU module will determine whether it is necessary to turn off the ME or BIOS write protection according to the current system state and the preset execution logic, and issue the corresponding control instructions. This connection relationship ensures that the MCU can grasp the power status of the computer in real time, so as to start or shut down the relevant operation process when necessary. For example, when it is detected that the computer has been shut down, the MCU can immediately start to execute the operation of shutting down the ME to ensure that the BIOS or ME is updated smoothly when the computer is turned on next time. The MCU controls the computer's power on and off operation through the first signal output terminal. When the MCU determines that the computer needs to be restarted to continue the update operation, it will send a control signal through the output terminal to instruct the power-on control module to start the computer. This connection ensures that the MCU fully controls the computer power supply during the entire update process, especially when the ME and BIOS states need to be adjusted, the restart operation is crucial. For example, when the BIOS write protection has been turned off, the MCU will restart the computer through the power-on control module to smoothly execute the update operation. The power-on control module is responsible for converting the power-on signal from the MCU into an actual power switch operation, and directly controls the power-on or power-off state of the computer. The connection between the signal output terminal and the computer power system enables the system to automatically turn on and off the computer through the signal sent by the MCU without manual intervention by the user. This design simplifies the update process of BIOS and ME, ensures that the system can automatically complete multiple restart operations during the update period, and ensures that the system continues to execute the update instructions after each restart.For example, after the ME is successfully shut down, the MCU will start the computer through the module to enter the BIOS update process. The MCU sends a control instruction to the ME state control module through the signal output terminal to shut down or enable the ME. The ME state control module performs specific control operations by receiving signals from the MCU, such as shutting down the ME before the BIOS update to ensure that the ME does not interfere with the update operation. This connection relationship ensures that the MCU can shut down the ME through direct hardware control instead of relying on complex software commands, thereby greatly improving the reliability and timeliness of the operation. For example, before the update starts, the MCU will issue an instruction to shut down the ME to ensure that the ME is in a non-interference state, and then the BIOS write protection will be released and updated. The MCU sends instructions to the computer's register through the communication module to modify the BIOS write protection state. When the BIOS is in the write protection state, the system cannot write new BIOS data. Therefore, the MCU needs to send instructions to the register through the communication module to release this protection function. After the write protection is released, the MCU can instruct the system to perform the BIOS update operation. Through this design, the MCU can automatically turn off the write protection without the user having to manually enter the BIOS setup interface, simplifying the complexity of the BIOS update and improving the automation of the operation.

[0054] In summary, through the design of the ME state control module, including MOS tubes Q4, Q6 and the voltage acquisition network, the voltage state of the ME can be monitored in real time, and the state of the ME can be controlled by turning on or off the MOS tube Q6, thereby improving the detection accuracy and control capability of the ME shutdown state. Through the combination of the voltage acquisition network and the MCU module, it can ensure that the state change of the ME can be responded to quickly, thereby improving the feedback speed of the system.

[0055] Specifically, Figure 6 As shown, the ME state control module includes a MOS tube Q4, a MOS tube Q6 and a voltage acquisition network, the power input end of the voltage acquisition network is connected to the power supply, the power output end of the voltage acquisition network is connected to the first conduction end of the MOS tube Q6, the second conduction end of the MOS tube Q6 is grounded, the controlled end of the MOS tube Q6 is connected to the second signal output end of the MCU module, the first conduction end of the MOS tube Q4 is connected to the power supply, the second conduction end of the MOS tube Q4 is connected to the ME Strap circuit of the chipset, and the controlled end of the MOS tube Q4 is connected to the power signal output end of the voltage acquisition network.

[0056] In this embodiment, the start and stop operation of ME (management engine) is realized by the switch control of MOS tube. The voltage acquisition network is used to monitor the voltage state of the power supply and provide a reference signal for the control circuit so that the MCU can accurately control the state of ME. Specifically, MOS tubes Q4 and Q6 are responsible for controlling the start and stop of ME respectively, and the voltage acquisition network ensures the stability of the control signal. Through this design, the start and stop operation of ME can be accurately controlled at the hardware level, avoiding starting or shutting down ME at an inappropriate time, ensuring the stability of system updates, and ensuring that the acquisition network can obtain the power supply voltage signal in real time. The function of the voltage acquisition network is to provide a reference voltage for the conduction or shutdown of the MOS tube by collecting the voltage state of the power supply, and to control the conduction state of the MOS tube Q6 through the voltage acquisition network. The power supply voltage signal collected by the voltage acquisition network is transmitted to the first conduction end of the MOS tube Q6 through its output end, ensuring that Q6 can perform the correct conduction or shutdown operation according to the current power supply state. This connection relationship ensures that the ME state control module can perform the start and stop operation under the correct power supply conditions, avoiding the error triggering of the state change of ME when the power supply is unstable. For example, when the voltage acquisition network detects that the power supply voltage is stable, the MOS tube Q6 will be turned on or off according to the instruction, thereby controlling the state of the ME, and the MCU directly controls the on and off of Q6 through its signal output terminal. The MCU obtains the status information through monitoring and computer communication, and sends a signal to control the start and stop of the ME as needed. This control logic ensures that the MCU can accurately control the state of the ME according to the current needs of the system, such as shutting down the ME before the BIOS update to ensure that the update process is not disturbed. When the MCU issues an instruction to shut down the ME, the signal reaches the controlled end of the MOS tube Q6 through the connection, and Q6 is turned on or off, thereby realizing the shutdown operation of the ME; the voltage acquisition network provides a reference voltage for the on state of Q4. The voltage acquisition network provides a stable control voltage to the controlled end of Q4 through the collected power supply signal, ensuring that Q4 can be turned on or off under appropriate voltage conditions. The purpose of this design is to ensure that Q4 can effectively control the state of the ME under stable voltage conditions and avoid misoperation of the ME when the power supply voltage fluctuates.

[0057] In summary, through the design of the ME state control module, including MOS tubes Q4, Q6 and the voltage acquisition network, the voltage state of the ME can be monitored in real time, and the state of the ME can be controlled by turning on or off the MOS tube Q6, thereby improving the detection accuracy and control capability of the ME shutdown state. Through the combination of the voltage acquisition network and the MCU module, it can ensure that the state change of the ME can be responded to quickly, thereby improving the feedback speed of the system.

[0058] Specifically, Figure 6As shown, the voltage acquisition network includes a resistor R27 and a resistor R29, a first end of the resistor R27 is connected to a power supply, a second end of the resistor R27 is connected to a first end of the resistor R29, a second end of the resistor R29 is connected to a first conduction end of the MOS tube Q6, and a common node between the second end of the resistor R27 and the first end of the resistor R29 is connected to a controlled end of the MOS tube Q4.

[0059] In this embodiment, the voltage signal is collected and processed by the voltage division principle of the resistor. The first end of the resistor R27 is connected to the power supply so as to obtain a stable voltage signal from the power supply, and the connection between R29 and R27 forms a voltage divider network. The design purpose of this network is to achieve accurate sampling of the voltage by reasonably allocating the resistance value of the resistor, and to transmit the voltage signal to the control end of the relevant MOS tube to control the on and off state of the MOS tube; the common node provides a stable control voltage signal to Q4 through the voltage divider network. The voltage signal on this common node is the result of the resistor voltage division processing, which can provide enough voltage for the controlled end of Q4 to control its on state. When the voltage of the common node reaches a certain threshold value, the controlled end of Q4 will receive the on signal, thereby controlling the start and stop state of ME. This connection ensures that the control of Q4 and Q6 can be carried out synchronously, and is controlled by the stable signal of the voltage acquisition network, making the control of ME more accurate and stable. Through this design, the voltage acquisition network can flexibly adjust the control of Q4 and Q6 according to the voltage fluctuation of the power supply, thereby ensuring that the system can work normally under different power supply conditions and will not cause ME to malfunction or lose control due to voltage fluctuations.

[0060] In summary, through the design of resistors R27 and R29 in the voltage acquisition network, the voltage signal of the ME state can be stably obtained, thereby improving the detection accuracy of the ME off state. Through the combination of the controlled end of the MOS tube Q4 and the voltage acquisition network, it can ensure that the voltage change when the ME is turned off can be accurately captured, thereby improving the stability and reliability of the circuit.

[0061] Specifically, Figure 7 As shown, the computer state detection circuit includes a MOS tube Q5 and a resistor R28, the first conduction end of the MOS tube Q5 is connected to the first end of the resistor R28, the second end of the resistor R28 is connected to the power supply, the common node between the second end of the resistor R28 and the power supply is connected to the signal input end of the MCU module, and the controlled end of the MOS tube Q5 is connected to the power signal output end of the power supply.

[0062] In this embodiment, its core logic is to monitor the power state of the computer in real time through the synergy of the MOS tube and the resistor, and feed back the state to the MCU module. The first conduction end of the MOS tube Q5 is connected to the first end of the resistor R28 to ensure that when Q5 is turned on, the current can flow to the power supply through R28 to form a complete current loop. This connection relationship enables the change of the current to be reflected by the conduction or disconnection of the MOS tube when the computer is in a specific state (such as turning on or off), thereby controlling the current signal in the circuit. The second end of the resistor R28 is connected to the power supply, which ensures the power supply stability of the current loop and provides appropriate control voltage for the subsequent circuit through the resistor voltage division. This connection not only stabilizes the current in the circuit, but also ensures that the voltage signal can be accurately fed back to the subsequent circuit part. The common node between the second end of the resistor R28 and the power supply is connected to the signal input end of the MCU module, ensuring that when the MOS tube Q5 is turned on, the voltage signal after the voltage division of the resistor R28 can be received by the MCU module. The MCU determines the current power state of the computer by detecting the high and low level states of the signal, thereby triggering corresponding operations, such as starting the update process or entering the standby state. The controlled end of the MOS tube Q5 is connected to the power signal output end, which means that the on and off of Q5 is directly controlled by the power state signal. When the power signal changes, the on state of Q5 will also change accordingly, thereby controlling the working state of the entire circuit. The purpose of this design is to ensure that the system can accurately detect the power switch state of the computer and perform corresponding processing operations through the MCU. For example, when it is detected that the computer is shut down, the MCU can start the system restart operation through this circuit to continue the BIOS or ME update operation.

[0063] In summary, through the design of MOS tube Q5 and resistor R28 in the computer status detection circuit, the switch status of the computer can be effectively detected, and the voltage change is fed back to the MCU, thereby improving the system's detection accuracy of the computer's switch status. Through the connection between the MCU and the computer status detection circuit, it can ensure that the MCU can respond in time according to the switch status of the computer, thereby improving the system's response speed and operation accuracy.

[0064] Specifically, Figure 8 As shown, the computer switch control module includes a MOS tube Q1 and a resistor R1, the first conduction end of the MOS tube Q1 is connected to the first end of the resistor R1, the second end of the resistor R1 is connected to the power supply, the common node between the second end of the resistor R1 and the power supply is connected to the computer power-on signal control circuit, and the controlled end of the MOS tube Q1 is connected to the first signal output end of the MCU module.

[0065] In this embodiment, the combination of MOS tube Q1 and resistor R1 is used to effectively control the power switch of the computer. The first conduction end of MOS tube Q1 is connected to the first end of resistor R1. When Q1 is turned on, the current flows to the power supply through resistor R1, thereby forming a stable current loop. This connection ensures that when the system needs to control the computer power on and off operation, the computer power can be started or turned off by the conduction of current. The second end of resistor R1 is connected to the power supply, which ensures that the entire control circuit can obtain a stable current supply from the power supply, ensuring the reliability and stability of the switch operation. In addition, the common node between the second end of resistor R1 and the power supply is connected to the computer. This connection relationship ensures that when MOS tube Q1 is turned on, the current can be transmitted to the power control end of the computer through the node, thereby realizing the switch operation of the computer. The controlled end of MOS tube Q1 is connected to the first signal output end of the MCU module, indicating that the MCU adjusts the conduction and shutdown of Q1 by outputting a control signal. When the MCU detects that the system needs to be restarted or shut down, it will issue an instruction through the signal output end to control Q1 to be turned on or off, thereby controlling the power state of the computer. This design logic ensures that the MCU can accurately control the power switch state of the computer through Q1 without manual operation by the user. For example, when the BIOS or ME update is completed, the MCU can shut down the computer by controlling Q1 to turn off, or start the computer by turning Q1 on when a restart is required. In this way, the entire BIOS or ME update process can be fully automated, avoiding manual intervention and improving the efficiency and reliability of the update operation.

[0066] In summary, the design of the computer switch control module, including the MOS tube Q1 and the resistor R1, can realize the precise control of the computer power by the MCU. The controlled end of the MOS tube Q1 is connected to the first signal output end of the MCU module. When the MCU sends a signal, the MOS tube Q1 is turned on and the current passes through R1, thereby realizing the control of the computer power.

[0067] Specifically, Fig.10As shown, the communication module includes a dual N-channel MOS transistor Q3, a resistor R19 and a resistor R20, a first end of the resistor R19 is connected to a power supply, a second end of the resistor R19 is connected to a first controlled end of the dual N-channel MOS transistor Q3, a first end of the resistor R20 is connected to a power supply, a second end of the resistor R20 is connected to a second controlled end of the dual N-channel MOS transistor Q3, a first conducting end of the dual N-channel MOS transistor Q3 is connected to a clock line of SMBUS communication, a second conducting end of the dual N-channel MOS transistor Q3 is connected to a first data communication port of the MCU module, a third conducting end of the dual N-channel MOS transistor Q3 is connected to a data line of SMBUS communication, and a fourth conducting end of the dual N-channel MOS transistor Q3 is connected to a second data communication port of the MCU module.

[0068] In this embodiment, the design logic is to realize bidirectional communication control of data and clock signals through these two groups of MOS tubes and resistors. The first end of resistor R19 is connected to the power supply to ensure that a stable voltage supply is provided from the power supply, and a control voltage is provided to the first controlled end of Q3 through R19. The resistor controls the conduction state of Q3 at a specific voltage by connecting to the first controlled end of the dual N-channel MOS tube Q3. Similarly, the first end of resistor R20 is connected to the power supply to provide voltage to the second controlled end of Q3, so that the two resistors control the two controlled ends of Q3 respectively, so that it can be turned on or off according to different input voltage conditions. The first conducting end of MOS tube Q3 is connected to the clock line of SMBUS communication to ensure that when Q3 is turned on, the clock signal can be transmitted to the system through Q3. This design ensures that the system can synchronously receive and send clock signals for coordinating communication operations. The second conducting end of Q3 is connected to the first data communication port of MCU, which ensures that MCU can receive the clock signal from SMBUS through this conducting end and respond as needed. Similarly, the third conduction end of Q3 is connected to the data line of SMBUS communication, ensuring that when Q3 is turned on, the data signal can be transmitted between SMBUS and MCU. The fourth conduction end of Q3 is connected to the second data communication port of MCU, further ensuring that MCU can exchange data with the external system through this channel to form a two-way communication link. Through such a design, the dual N-channel MOS tube Q3 can accurately turn on or off the clock and data signals after receiving the control signal, so that the MCU can perform effective SMBUS communication operations with the computer. For example, when the MCU needs to obtain the write protection status of the BIOS or send an instruction to shut down the ME, the communication module completes the data transmission through the clock line and data line of SMBUS, realizing two-way state control and information exchange. This design enables the entire system to maintain stable communication in different states, ensuring the accuracy and synchronization of operations.

[0069] In summary, through the design of the dual N-channel MOS tube Q3 and resistors R19 and R20 in the communication module, the SMBUS communication clock line and data line can be independently controlled, thereby improving the stability and communication efficiency of the communication module. Through the design of the dual N-channel MOS tube, power consumption can be reduced while maintaining efficient communication, thereby improving the overall energy efficiency and reliability of the system.

[0070] Specifically, Fig. 9 As shown, the circuit for fully automatically upgrading BIOS on an Intel platform computer also includes a status indication module, which includes a MOS tube Q2, a resistor R7 and an indicator light, wherein the first conduction end of the MOS tube Q2 is connected to the first end of the resistor R7, the second end of the resistor R7 is connected to a power supply, a common node between the second end of the resistor R7 and the power supply is connected to the indicator light, and the controlled end of the MOS tube Q2 is connected to the third signal output end of the MCU module.

[0071] In this embodiment, the design logic is to control the state of the indicator light through the combination of MOS tube and resistor, so as to feedback the current state of the system to the user. The first conduction end of the MOS tube Q2 is connected to the first end of the resistor R7. This connection relationship ensures that when Q2 is turned on, the current can flow to the power supply through the resistor R7 and form a complete current loop. The function of the resistor R7 is to limit the size of the current flowing through the indicator light, ensure that the indicator light can work within the appropriate current range, and prevent excessive current from damaging the indicator light. **The second end of the resistor R7 is connected to the power supply** to ensure that the current has a stable power supply when the indicator light is on. This design provides the energy source required by the circuit and limits the size of the current through the resistor, thereby controlling the brightness of the indicator light. The common node between the second end of the resistor R7 and the power supply is connected to the indicator light, so that when the current passes through R7, the indicator light will light up when Q2 is turned on, providing visual feedback to the user and indicating the state of the system. The controlled end of the MOS tube Q2 is connected to the third signal output end of the MCU module. This connection ensures that the MCU can control the conduction and shutdown of Q2 according to the operation requirements of the system. When the MCU detects that the system is in a specific state (such as BIOS update completion, ME shutdown, etc.), it will send a signal through the third signal output terminal to control Q2 to turn on, so that the indicator light is on, thereby providing real-time status feedback to the user. This design ensures that the indicator light can work in sync with the system status, which not only improves the user's perception of system operation, but also ensures the transparency of the system runtime status. For example, when the MCU detects that an update operation is in progress, Q2 is turned on and the indicator light begins to flash to prompt the user that the system is performing an upgrade operation, and when the upgrade is completed, the MCU can control the indicator light to return to normal or go out. Through this design, the entire status indication system can reflect the operating status of the system in real time, helping users understand whether the current operation has been successfully completed, and avoiding the trouble of manually checking the system status.

[0072] In summary, through the design of the status indication module, visual feedback of the system status can be achieved through the MOS tube Q2, the resistor R7 and the indicator light. When the third signal output terminal of the MCU outputs a signal, the controlled end of the MOS tube Q2 is turned on, and the indicator light is on, which can intuitively display the current system status change to the user. Through this simple and reliable circuit structure, the operating status of the system or important information during the upgrade process can be effectively reflected, thereby improving the user's perception of the system status. In addition, the design of the resistor R7 ensures the current stability of the indicator light circuit, prevents overcurrent from damaging the indicator light or affecting the normal operation of other system modules, thereby improving the reliability and durability of the system.

[0073] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0074] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for fully automatic BIOS upgrade on an Intel platform computer, characterized in that: The method for fully automatically upgrading BIOS on an Intel platform computer comprises: Get the BIOS update mode in the system application; Generate a communication instruction, a first computer control instruction and a first execution sequence instruction according to the BIOS update mode, wherein the communication instruction is used to control the MCU to enter the ME standby shutdown state and / or the BIOS write protection state, the first computer control instruction is used to control the computer to shut down and automatically run the system application when the computer is turned on next time, and the first execution sequence instruction is used to determine the execution sequence of the communication instruction and the first computer control instruction; If it is detected that the computer has been shut down, first state information of the MCU is obtained, and a state control instruction, a second computer control instruction, and a second execution sequence instruction are generated according to the first state information, wherein the second computer control instruction is used to control the computer to start up, the state control instruction is used to control the ME to be in a shut-down state, and / or to turn off the BIOS write protection state during the power-on self-test process of controlling the computer to start up, and the second execution sequence instruction is used to determine the execution order of the state control instruction and the second computer control instruction; Based on the first computer control instruction and the first execution sequence instruction, the system application is automatically run to obtain the second status information of ME and / or BIOS. According to the second status information, the system application calls the corresponding upgrade tool to perform the corresponding upgrade operation.

2. A method for fully automatically upgrading BIOS on an Intel platform computer according to claim 1, characterized in that: A PWRLED light is provided on the computer, and the PWRLED light is used to obtain key information to perform corresponding indication operations, wherein the step of obtaining key information to perform corresponding indication operations includes: Determine the current brightness status of the PWRLED light; Acquire key information in real time, the key information at least including the second state information and upgrade operation information after completing the corresponding upgrade operation; According to the key instruction, determining the indication parameters, the indication parameters including the flicker frequency parameter, the flicker brightness parameter and the brightness cycle parameter; According to the current brightness status, determine the interference point of the PWRLED lamp, and select the corresponding key parameters from the indication parameters based on the interference point; According to the key parameters, corresponding indicated operations are performed.

3. The method for fully automatically upgrading BIOS on an Intel platform computer according to claim 1, characterized in that: The step of controlling the system application to call a corresponding upgrade tool to perform a corresponding upgrade operation according to the second state information includes: Determine whether the ME has been turned off and whether the BIOS write protection state has been turned off according to the second state information; If it is detected that the ME has been shut down, the previous version of the ME is stored, and the ME upgrade tool is called to perform the ME upgrade operation, the first fault detection information in the ME upgrade operation is monitored in real time, and according to the priority of the first fault detection information, it is determined whether to interrupt the upgrade operation and restore the previous version of the ME; If it is detected that the BIOS write protection status is turned off, the previous BIOS version is stored, and the BIOS upgrade tool is called to perform the BIOS upgrade operation. The second fault detection information in the BIOS upgrade operation is monitored in real time. According to the priority of the second fault detection information, it is determined whether to interrupt the upgrade operation and restore the previous BIOS version.

4. A fully automatic BIOS upgrade circuit on an Intel platform computer, characterized in that: The invention comprises an MCU module, a communication module, a computer startup control module, a computer status detection module and an ME status control module. The data transmission end of the MCU module is connected to the data transmission end of the communication module, the data transmission end of the communication module is connected to the data transmission end of the computer, the signal acquisition end of the computer status detection module is connected to the power signal output end of the power supply, the signal output end of the computer status detection module is connected to the signal input end of the MCU module, the first signal output end of the MCU module is connected to the signal input end of the computer startup control module, the signal output end of the computer startup control module is connected to the computer, the second signal output end of the MCU module is connected to the signal input end of the ME status control module, the signal output end of the ME status control module is connected to the ME Strap circuit of the chipset for shutting down or starting up the ME, the MCU communicates with the computer through the communication module, and the write protection register of the BIOS is turned on or off by the BIOS program.

5. The circuit for fully automatically upgrading BIOS on an Intel platform computer according to claim 4, characterized in that: The ME state control module includes a MOS tube Q4, a MOS tube Q6 and a voltage acquisition network, wherein the power input end of the voltage acquisition network is connected to the power supply, the power output end of the voltage acquisition network is connected to the first conduction end of the MOS tube Q6, the second conduction end of the MOS tube Q6 is grounded, the controlled end of the MOS tube Q6 is connected to the second signal output end of the MCU module, the first conduction end of the MOS tube Q4 is connected to the power supply, the second conduction end of the MOS tube Q4 is connected to the MEStrap circuit of the chipset, and the controlled end of the MOS tube Q4 is connected to the power signal output end of the voltage acquisition network.

6. The circuit for fully automatically upgrading BIOS on an Intel platform computer according to claim 5, characterized in that: The voltage acquisition network includes a resistor R27 and a resistor R29, wherein a first end of the resistor R27 is connected to a power supply, a second end of the resistor R27 is connected to a first end of the resistor R29, a second end of the resistor R29 is connected to a first conduction end of the MOS tube Q6, and a common node between the second end of the resistor R27 and the first end of the resistor R29 is connected to a controlled end of the MOS tube Q4.

7. The circuit for fully automatically upgrading BIOS on an Intel platform computer according to claim 4, characterized in that: The computer state detection circuit includes a MOS tube Q5 and a resistor R28, wherein a first conduction end of the MOS tube Q5 is connected to a first end of the resistor R28, a second end of the resistor R28 is connected to a power supply, a common node between the second end of the resistor R28 and the power supply is connected to a signal input end of the MCU module, and a controlled end of the MOS tube Q5 is connected to a power signal output end of the power supply.

8. The circuit for fully automatically upgrading BIOS on an Intel platform computer according to claim 4, characterized in that: The computer switch control module includes a MOS tube Q1 and a resistor R1, wherein a first conduction end of the MOS tube Q1 is connected to a first end of the resistor R1, a second end of the resistor R1 is connected to a power supply, a common node between the second end of the resistor R1 and the power supply is connected to a power-on signal control circuit of the computer, and a controlled end of the MOS tube Q1 is connected to a first signal output end of the MCU module.

9. The circuit for fully automatically upgrading BIOS on an Intel platform computer according to claim 4, characterized in that: The communication module includes a dual N-channel MOS transistor Q3, a resistor R19 and a resistor R20, wherein a first end of the resistor R19 is connected to a power supply, a second end of the resistor R19 is connected to a first controlled end of the dual N-channel MOS transistor Q3, a first end of the resistor R20 is connected to a power supply, a second end of the resistor R20 is connected to a second controlled end of the dual N-channel MOS transistor Q3, a first conducting end of the dual N-channel MOS transistor Q3 is connected to a clock line of SMBUS communication, a second conducting end of the dual N-channel MOS transistor Q3 is connected to a first data communication port of the MCU module, a third conducting end of the dual N-channel MOS transistor Q3 is connected to a data line of SMBUS communication, and a fourth conducting end of the dual N-channel MOS transistor Q3 is connected to a second data communication port of the MCU module.

10. The fully automatic BIOS upgrade circuit on an Intel platform computer according to claim 4, characterized in that: The fully automatic BIOS upgrade circuit on an Intel platform computer also includes a status indication module, which includes a MOS tube Q2, a resistor R7 and an indicator light. The first conduction end of the MOS tube Q2 is connected to the first end of the resistor R7, the second end of the resistor R7 is connected to a power supply, a common node between the second end of the resistor R7 and the power supply is connected to the indicator light, and the controlled end of the MOS tube Q2 is connected to the third signal output end of the MCU module.

Citation Information

Patent Citations

  • Electronic device and method for updating system firmware

    CN103513999A

  • BIOS control based ME updating system and updating method thereof

    CN104899055A

  • BIOS upgrading method and related equipment

    CN110362326A

  • Basic input / output system setting method

    CN111142961A

  • Firmware circuit and method of Intel ME based on Internet of Things

    CN118295721A