Computer starting method and computer

By monitoring whether a hotkey is pressed within two set times and deciding whether to load the BIOS interface driver based on the results, the problem of poor user experience and high system power consumption is solved, and the success rate of entering the BIOS interface and system efficiency are improved.

CN118747091APending Publication Date: 2024-10-08HEFEI LONGQI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410829827.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

In the existing technology, the success rate of users entering the BIOS interface through hot keys is low, and when there is no need to enter the BIOS interface, the system power consumption is high and the user experience is poor.

Method used

By monitoring whether the hotkey is pressed within two set times, the hotkey window time is extended, and whether to load the BIOS interface driver is determined based on the hotkey pressing situation. If there is no need to enter the BIOS interface, directly enter the operating system to reduce system power consumption. .

Benefits of technology

It improves the success rate for users to enter the BIOS interface through hot keys, reduces the power consumption of the system when there is no need to enter the BIOS interface, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747091A_ABST
    Figure CN118747091A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of software, in particular to a computer starting method and a computer. According to the computer starting method, after a BIOS is started, whether a hot key entering a BIOS interface within first set time is pressed down or not is monitored; if the BIOS interface driver is pressed down, the BIOS interface driver is loaded, and a BIOS interface is entered; if the hot key is not pressed down, whether the hot key entering the BIOS interface within the second set time is pressed down or not continues to be monitored on the basis of the first set time; if the BIOS interface driver is pressed down within the second set time, loading the BIOS interface driver, and entering the BIOS interface; and if the key is not pressed in the second set time, entering the operating system. According to the computer starting method, the window monitoring time of the hot key is prolonged, a user can enter the BIOS interface more easily through the hot key, whether the BIOS interface driver is loaded or not is determined according to whether the hot key is pressed down or not, if the user does not need to enter the BIOS interface, the BIOS interface driver is not loaded, and the user directly enters the operating system, so that the user does not need to enter the BIOS interface. Therefore, the system power consumption when the BIOS interface does not need to be accessed is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software technology, and in particular to a computer startup method and a computer. Background Art

[0002] BIOS (basic input output system) is the first low-level software loaded when the computer starts up. It is responsible for initializing the computer's hardware components and providing the necessary low-level support for the operating system. The main functions of BIOS include hardware self-test, device identification, boot sequence setting, and providing interrupt services for the operating system.

[0003] When the computer is turned on, the BIOS will first perform a hardware self-test to check whether the main hardware of the computer is working properly. Then, it will identify and load various devices connected to the computer, such as the hard disk, memory, keyboard, mouse, etc. The BIOS will also load the operating system from the corresponding storage device (such as the hard disk, USB device or CD) according to the boot order specified by the user in the BIOS settings.

[0004] In addition to these basic functions, BIOS also provides some interrupt services, so that the operating system can communicate and interact with the hardware through these interrupts. In addition, BIOS also contains some configuration options that allow users to adjust some basic system parameters, such as system time, boot order, etc.

[0005] BIOS is a key part of the computer's underlying system. It is usually fixed in a ROM chip on the motherboard, so users cannot modify it directly. If you need to update the BIOS, you usually need to download and run a specific update program from the official website.

[0006] In the prior art, if a user wants to enter the BIOS interface by means of a hotkey, the user needs to continuously and quickly press or long press a key or a certain key combination among F1-F12. However, the probability of entering the BIOS interface is still very low, so the user experience is not very friendly. Summary of the invention

[0007] The object of the present invention is to provide a computer startup method and a computer, so as to improve the success rate of entering the BIOS interface and enhance the user experience.

[0008] In order to solve the above technical problems, the present invention provides a computer startup method, comprising:

[0009] BIOS boot;

[0010] Monitor whether the hot key for entering the BIOS interface is pressed within the first set time;

[0011] If it is pressed, the BIOS interface driver is loaded and the BIOS interface is entered; if it is not pressed, the hot key for entering the BIOS interface is continuously monitored within the second set time based on the first set time to see whether it is pressed;

[0012] If the button is pressed within the second set time, the BIOS interface driver is loaded and the BIOS interface is entered; if the button is not pressed within the second set time, the operating system is entered.

[0013] Furthermore, the second set time is shorter than the time required to load the BIOS interface driver.

[0014] Furthermore, the value range of the second set time is 0.1-3 seconds.

[0015] Furthermore, a flag bit is stored in the BIOS, and when the BIOS is started, the flag bit is set to a first set value;

[0016] If the hot key for entering the BIOS interface is pressed, the flag position is set to the second setting value;

[0017] When the BIOS interface detects that the flag bit is the second set value, the BIOS interface driver is loaded and the BIOS interface is entered.

[0018] Furthermore, the first setting value is 0, and the second setting value is 1.

[0019] Furthermore, the embedded controller is used to monitor whether a hot key for entering the BIOS interface is pressed.

[0020] Furthermore, after entering the BIOS interface, if you exit the BIOS, you will directly enter the operating system.

[0021] Furthermore, the value range of the first set time is 0.5-1.5 seconds.

[0022] Further, after the user presses the power button, the BIOS starts.

[0023] The present invention also provides a computer, comprising a processor, a storage medium and a bus, wherein the storage medium stores a BIOS and an operating system that can be run by the processor, the processor and the storage medium communicate via the bus, and the storage medium also stores a computer program for implementing the computer startup method described in any one of the above technical solutions.

[0024] Compared with the prior art, the present invention has at least the following beneficial effects:

[0025] In this method, if the hot key is not detected to be pressed within the first set time, the second set time will continue to be monitored. On the one hand, the window monitoring time of the hot key is extended, so that the user can enter the BIOS interface more easily through the hot key. On the other hand, if the hot key is detected to be pressed within the first set time, there is no need to continuously monitor the second set time, which reduces the burden of monitoring the hot key. Furthermore, whether the BIOS interface driver is loaded is determined by whether the hot key is pressed. If the BIOS interface does not need to be entered, the BIOS interface driver will not be loaded, but the operating system will be directly entered, thereby reducing the system power consumption when the BIOS interface does not need to be entered. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of a flow chart of an embodiment of a computer startup method of the present invention;

[0027] Figure 2 The present invention is a logic judgment diagram of an embodiment of the computer startup method of the present invention. DETAILED DESCRIPTION

[0028] The computer startup method and computer of the present invention will be described below in conjunction with the schematic diagram, wherein the preferred embodiment of the present invention is shown, and it should be understood that those skilled in the art can modify the present invention described herein, and still achieve the advantageous effects of the present invention. Therefore, the following description should be understood as being widely known to those skilled in the art, and not as a limitation of the present invention.

[0029] The serial numbers of the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings). In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc. are based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present invention.

[0030] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0031] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. The advantages and features of the present invention will become more apparent from the following description and claims. It should be noted that the drawings are in very simplified form and in non-precise proportions, and are only used to facilitate and clearly assist in illustrating the purpose of the embodiments of the present invention.

[0032] The inventors have found that in the prior art, after the user presses the power button and the system starts, the window time left for the user to enter the BIOS interface is very short, usually only about 1 second. The user needs to continuously and quickly press or long press a key or certain key combinations among F1-F12 to trigger the hotkey within this short window time. If the hotkey is pressed too slowly or at a low frequency, the probability of entering the BIOS interface is relatively low. If it cannot be triggered, the system needs to be restarted to try again, and the user experience is poor.

[0033] In addition, the inventors have also found that in the prior art, regardless of whether the user presses the hot key to enter the BIOS interface during system startup, the BIOS interface driver will be loaded. Only after the hot key is pressed will the system enter the BIOS interface under the guidance of the BIOS interface driver. However, loading the BIOS interface driver takes a long time, about 15 seconds. If the user does not need to enter the BIOS interface, this will increase the boot time, increase the user's waiting time, and increase system power consumption.

[0034] Below is the accompanying drawing of the specification Figure 1 and attached Figure 2 As shown, the memory recovery method of the present invention is described.

[0035] In one embodiment, if Figure 1 As shown, the computer startup method includes:

[0036] S100: BIOS startup;

[0037] S200: monitoring whether a hot key for entering the BIOS interface is pressed within a first set time;

[0038] S300: If it is pressed, then the BIOS interface driver is loaded and the BIOS interface is entered; if it is not pressed, then the hot key for entering the BIOS interface is continuously monitored within the second set time based on the first set time to see whether it is pressed;

[0039] S400: If the key is pressed within the second set time, the BIOS interface driver is loaded and the BIOS interface is entered; if the key is not pressed within the second set time, the operating system is entered.

[0040] In this method, if the hot key is not detected to be pressed within the first set time, the second set time will continue to be monitored. On the one hand, the window monitoring time of the hot key is extended, so that the user can enter the BIOS interface more easily through the hot key. On the other hand, if the hot key is detected to be pressed within the first set time, there is no need to continuously monitor the second set time, which reduces the burden of monitoring the hot key. Furthermore, whether the BIOS interface driver is loaded is determined by whether the hot key is pressed. If the BIOS interface does not need to be entered, the BIOS interface driver will not be loaded, but the operating system will be directly entered, thereby reducing the system power consumption when the BIOS interface does not need to be entered.

[0041] Among them, in step S100, after the user presses the power button, the system starts up, and then the BIOS starts up.

[0042] In one embodiment, in step S200, an embedded controller (EC) is used to monitor whether a hot key for entering the BIOS interface is pressed. In step S300, if the hot key is detected to be pressed within a first set time, the embedded controller EC may no longer monitor the hot key. If it is not pressed, the embedded controller EC continues to monitor the second set time based on the first set time. The embedded controller EC is mainly used in mobile computer systems and embedded computer systems to provide system management functions for these computers.

[0043] Furthermore, the second set time is less than the time required to load the BIOS driver. Preferably, the value range of the second set time is 0.1-3 seconds. For example, it can be 0.5 seconds, or it can be 1 second or 2 seconds. In other embodiments, the second set time can also be 5 seconds or 6 seconds. Since the time required to load the BIOS driver is about 15 seconds, the overall time consumption is relatively long, and the second set time is less than the time required to load the BIOS driver, even if the window time for monitoring the hotkey is extended, the boot time can be reduced overall and the user experience can be improved.

[0044] In one embodiment, in order to prevent the monitoring time of the hotkey window from affecting the boot time, the first set time ranges from 0.5 to 1.5 seconds, preferably 1 second, and in other embodiments, the first set time may also be 0.8 seconds or 1.2 seconds.

[0045] In one embodiment, a flag flag is stored in the BIOS, and when the BIOS is started, the flag flag is set to a first setting value;

[0046] If the hot key for entering the BIOS interface is pressed, the flag bit flag is set to the second set value;

[0047] When the BIOS interface detects that the flag bit flag is the second set value, the BIOS interface driver is loaded and the BIOS interface is entered.

[0048] Preferably, the first setting value is 0, indicating that the hot key for entering the BIOS interface has not been pressed, and the second setting value is 1, indicating that the hot key for entering the BIOS interface has been pressed. Of course, other values ​​may also be used as the first setting value and the second setting value.

[0049] Specifically, Figure 2 As shown, in step S100, after the user presses the power button, the system starts, the BIOS starts, and the BIOS sets the flag to 0, indicating that the hot key for entering the BIOS interface is not pressed and the BIOS interface driver is in a closed state.

[0050] In step S200, the embedded controller EC monitors whether a hot key for entering the BIOS interface is pressed within a first set time.

[0051] In step S300, if it is pressed, BISO sets the flag to 1, indicating that the hot key for entering the BIOS interface is pressed, and the BIOS loads the BIOS interface driver to enter the BIOS interface; if it is not pressed, the flag will not be changed, and the second set time will continue to be monitored based on the first set time, thereby extending the window time for hot key monitoring, so that users who want to enter the BIOS interface can easily press the hot key to enter the BIOS interface within the window time.

[0052] In step S400, if the hotkey is pressed within the second set time, the BIOS sets the flag bit flag to 1, indicating that the hotkey for entering the BIOS interface is pressed, and the BIOS loads the BIOS interface driver and enters the BIOS interface. If the hotkey is not pressed within the second set time, the operating system is entered. After entering the BIOS interface, if the BIOS is exited, the operating system is directly entered.

[0053] The present invention sets a flag to determine whether a hot key for entering the BIOS interface is pressed, and by extending the monitoring time of the embedded controller EC for the hot key, the probability of the hot key being monitored is increased, thereby increasing the probability of loading the BIOS interface driver and entering the BIOS interface, thereby improving the user experience. At the same time, the value of the flag is used to determine whether to load the BIOS interface driver, so that the BIOS interface driver is loaded only after there is a need to enter the BIOS interface. Therefore, in a scenario where it is not necessary to enter the BIOS interface, the boot time can be shortened, further improving the user experience.

[0054] The present invention also provides a computer, which may be a notebook computer, a desktop computer, a server, or a vehicle-mounted computer.

[0055] Specifically, the computer includes a processor, a storage medium and a bus, the storage medium stores a BIOS and an operating system that can be run by the processor, the processor and the storage medium communicate through the bus, and the storage medium also stores a computer program for implementing the computer startup method described in any one of the above technical solutions.

[0056] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these 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 these modifications and variations.

Claims

1. A computer startup method, characterized in that: include: BIOS boot; Monitor whether the hot key for entering the BIOS interface is pressed within the first set time; If pressed, the BIOS interface driver is loaded and the BIOS interface is entered; If it is not pressed, then continue to monitor whether the hot key for entering the BIOS interface is pressed within the second set time based on the first set time; If it is pressed within the second set time, the BIOS interface driver will be loaded and the BIOS interface will be entered; If it is not pressed within the second set time, the operating system will be entered.

2. The computer startup method according to claim 1, characterized in that: The second set time is less than the time required to load the BIOS interface driver.

3. The computer startup method according to claim 2, characterized in that: The value range of the second set time is 0.1-3 seconds.

4. The computer startup method according to claim 1, characterized in that: The BIOS stores a flag bit, and when the BIOS is started, the flag bit is set to a first set value; If the hot key for entering the BIOS interface is pressed, the flag position is set to the second setting value; When the BIOS interface detects that the flag bit is the second set value, the BIOS interface driver is loaded and the BIOS interface is entered.

5. The computer startup method according to claim 4, characterized in that: The first setting value is 0, and the second setting value is 1.

6. The computer startup method according to claim 1, characterized in that: The embedded controller is used to detect whether the hot key for entering the BIOS interface is pressed.

7. The computer startup method according to claim 1, characterized in that: After entering the BIOS interface, if you exit BIOS, you will directly enter the operating system.

8. The computer startup method according to claim 1, characterized in that: The value range of the first set time is 0.5-1.5 seconds.

9. The computer startup method according to claim 1, characterized in that: After the user presses the power button, the BIOS starts.

10. A computer, comprising a processor, a storage medium and a bus, wherein the storage medium stores a BIOS and an operating system executable by the processor, the processor and the storage medium communicate via the bus, and the storage medium also stores a computer program for implementing the computer startup method described in any one of claims 1 to 9.