Wake-up method, computer, wake-up system, integrated circuit and storage medium

CN120457413APending Publication Date: 2025-08-08GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202380016313.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In extremely low power consumption, the computer cannot be woken up after re-plugging and unplugging the USB device.

Method used

By adding a microcontroller and switch to the computer, switch the USB device to connect to the microcontroller or system-level chip using the switch. After receiving the wake-up signal, the microcontroller drives the long power supply module to power the system-level chip and connects the USB device to the system-level chip through the switch.

Benefits of technology

It realizes that the computer can still wake up normally after re-plugging and unplugging the USB device under extremely low power consumption, which improves the flexibility of computer wake-up and effectively improves the energy-saving effect of computer standby.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120457413A_ABST
    Figure CN120457413A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a wake-up method, a computer, a wake-up system, an integrated circuit and a storage medium. According to the embodiment of the invention, the microcontroller (the power consumption of the microcontroller is smaller than the power consumption of the system-on-chip when the computer is in the non-running state) and the change-over switch are arranged, and the USB equipment is switched to be connected with the microcontroller or the system-on-chip by utilizing the change-over switch. After a wake-up signal is obtained, the microcontroller is connected with the USB device through the change-over switch to process host wake-up logic, and the USB device is switched to be connected to the system-on-chip after the host is waken up. In this way, the use limitation of awakening the computer by the USB device can be avoided, the system-on-chip does not need to enumerate the USB device in advance, and the flexibility of computer awakening is improved. And by utilizing the microcontroller with lower power consumption, the energy consumption of the computer can be further reduced, and the standby energy-saving effect of the host is improved.
Need to check novelty before this filing date? Find Prior Art

Description

A wake-up method, computer, wake-up system, integrated circuit and storage medium Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a wake-up method, a computer, a wake-up system, an integrated circuit, and a storage medium. Background Art

[0002] Before the computer enters the standby state, USB devices (such as a mouse and a keyboard) can usually complete normal enumeration with the computer in advance and establish a communication connection with the computer.

[0003] In standby mode, all modules in the computer except the system-on-chip (SoC) are powered off, and the SoC is usually powered by a long power supply module. The long power supply module powers the circuits of the SoC that handle the startup logic. That is, the power of the long power supply module is only used to support the SoC to complete the transmission and reception of wake-up signals, and cannot support the SoC to complete other complex functions. When the computer's working state needs to be switched to normal, a wake-up signal can be sent to the SoC by operating a USB device (such as clicking a mouse or keyboard), so that the SoC can wake up other modules of the computer, thereby achieving normal operation of the computer.

[0004] However, this solution requires powering the SoC in standby mode. In practice, the SoC's power consumption is slightly higher. Furthermore, in this solution, if the USB device is reconnected, the USB device loses its connection to the SoC, preventing enumeration and the computer from waking up. This means that even with extremely low power consumption, reconnecting the USB device to the SoC will not wake the computer.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a wake-up method, a computer, a wake-up system, an integrated circuit, and a storage medium, which solve the technical problem that the computer cannot be woken up after re-plugging a USB device under extremely low power consumption conditions.

[0007] In a first aspect, an embodiment of the present application provides a wake-up method, which is applied to a computer, and the computer includes: a USB connector, a switching switch, a microcontroller, a system-on-chip, a long power supply module, a standby power supply module and a power supply. The USB connector is connected to the switching switch for connecting an external USB device. The microcontroller is connected to the system-on-chip, the standby power supply module and the long power supply module. The system-on-chip is also connected to the long power supply module and the power supply. The power supply is used to supply power to the system-on-chip and the microcontroller when the computer is running. The long power supply module is used to supply power to the system-on-chip when the computer is not running. The standby power supply module is used to supply power to the microcontroller when the computer is not running. When the computer is not running, the power consumption of the microcontroller is less than the power consumption of the system-on-chip. When the system-on-chip is not running, the switching switch is also connected to the microcontroller. When the system-on-chip is in running state, the switching switch is also connected to the system-on-chip.

[0008] Specifically, the wake-up method includes:

[0009] When the system-on-chip is in a non-operating state, the microcontroller determines to switch the system-on-chip to an operating state;

[0010] The microcontroller generates and sends an enable signal to the long power supply module, and the enable signal is used by the long power supply module to power the system-level chip;

[0011] After the microcontroller determines that the long power supply module has stably supplied power to the system-level chip, it sends a power-on signal to the system-level chip. The power-on signal is used to enable the power supply of the system-level chip, and the power supply stably supplies power to the system-level chip through the power supply, so that the system-level chip switches from a non-operating state to an operating state.

[0012] When the microcontroller determines that the system-level chip is switched from the non-operational state to the operation state, the microcontroller controls the switching switch to disconnect from the microcontroller and connect to the system-level chip.

[0013] It can be seen that because the power consumption of the microcontroller is less than that of the system-on-chip when the computer is not running, the embodiment of the present application has lower energy consumption when the computer is not running, which effectively improves the energy saving effect of the host standby compared to the prior art. The present application sets a microcontroller and a switching switch, and uses the switching switch to switch the USB device to connect to the microcontroller or the system-on-chip. After the microcontroller obtains the wake-up signal, the microcontroller can connect the USB device to process the host wake-up logic through the switching switch, and switch the USB device to the system-on-chip after waking up the host. In this way, the use restrictions of USB devices to wake up the computer can be avoided, and the system-on-chip does not need to enumerate the USB devices in advance, thereby improving the flexibility of computer wake-up.

[0014] In one possible design approach, the “microcontroller determines that the system-on-chip is to be switched to the operating state” includes:

[0015] The microcontroller determines that a wake-up signal is received, where the wake-up signal is used to switch the system-on-chip from a non-operational state to an operational state;

[0016] The microcontroller determines that the system-on-chip is to be switched to an operating state based on the wake-up signal.

[0017] In one possible design approach, the “microcontroller determines that the system-on-chip is to be switched to the operating state” includes:

[0018] The microcontroller receives the USB signal sent by the switch, where the USB signal is sent by the USB device to the switch through the USB interface;

[0019] When the microcontroller determines that the USB signal includes a preset signal value, it determines that the received USB signal is a wake-up signal.

[0020] In a possible design, the preset signal value is a key signal value of at least one key in the USB device.

[0021] In one possible design approach, the “microcontroller determines that the system-on-chip is to be switched to the operating state” includes:

[0022] The microcontroller receives a power supply status signal from the power supply and an operation status signal from the system-level chip;

[0023] The microcontroller determines that the system-on-chip is to be switched to the operating state based on the power supply state signal and the operating state signal.

[0024] In a possible design approach, the aforementioned “microcontroller determines that the long power supply module has stably supplied power to the system-level chip” includes:

[0025] After sending the enable signal, the microcontroller waits for a preset time to confirm that the long power supply module has provided stable power to the system-level chip.

[0026] In one possible design, the above-mentioned "the microcontroller determines that the long power supply module has provided stably power to the system-level chip" includes: the microcontroller receives a power supply stability signal from the long power supply module, and the power supply stability signal is used to indicate that the long power supply module has provided stably power to the system-level chip; the microcontroller determines that the long power supply module has provided stably power to the system-level chip based on the power supply stability signal.

[0027] In a second aspect, an embodiment of the present application provides a computer, which includes: a USB connector, a switching switch, a microcontroller, a system-on-chip, a long power supply module, a standby power supply module and a power supply. The USB connector is connected to the switching switch for connecting an external USB device. The microcontroller is connected to the system-on-chip, the standby power supply module and the long power supply module. The system-on-chip is also connected to the long power supply module and the power supply. The power supply is used to supply power to the system-on-chip and the microcontroller when the computer is running. The long power supply module is used to supply power to the system-on-chip when the computer is not running. The standby power supply module is used to supply power to the microcontroller when the computer is not running. When the computer is not running, the power consumption of the microcontroller is less than the power consumption of the system-on-chip. When the system-on-chip is not running, the switching switch is also connected to the microcontroller. When the system-on-chip is in running state, the switching switch is also connected to the system-on-chip.

[0028] When the system-on-chip is in a non-operating state, the microcontroller is used to determine whether to switch the system-on-chip to an operating state;

[0029] The microcontroller is used to generate and send an enable signal to the long power supply module, and the enable signal is used by the long power supply module to power the system-level chip;

[0030] The microcontroller is used to determine that the long power supply module has stably supplied power to the system-level chip, and then send a power-on signal to the system-level chip. The power-on signal is used to enable the power supply of the system-level chip, and the power supply is used to stably supply power to the system-level chip, so that the system-level chip switches from a non-operating state to an operating state.

[0031] The microcontroller is used to control the switching switch to disconnect from the microcontroller and connect to the system-level chip when determining that the system-level chip is switched from a non-operating state to an operating state.

[0032] In a third aspect, an embodiment of the present application provides a wake-up system, which includes a USB device and a computer as described in the second aspect above, and the USB device is connected to the computer.

[0033] The USB device is used to input USB signals to the computer, and the USB signals are used to wake up the computer that is not in operation;

[0034] The computer is used to receive the USB signal and execute the wake-up method as described in the first aspect or any possible design thereof according to the USB signal.

[0035] In a fourth aspect, an embodiment of the present application provides an integrated circuit, comprising:

[0036] one or more processors;

[0037] Memory;

[0038] Program, wherein the program is stored in the memory and is configured to be executed by the one or more processors, and the program is configured to execute the wake-up method as described in the first aspect or any possible design thereof.

[0039] In a fifth aspect, an embodiment of the present application provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the wake-up method as described in the first aspect or any possible design thereof.

[0040] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes computer instructions. When the computer instructions are run on an electronic device, the electronic device executes the wake-up method described in the first aspect or any possible design thereof.

[0041] For the specific description of the second to sixth aspects and their various implementations in the embodiments of the present application, reference can be made to the detailed description in the first aspect and its various implementations; and for the beneficial effects of the second to sixth aspects and their various implementations, reference can be made to the analysis of the beneficial effects in the first aspect and its various implementations, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] FIG1 is a schematic diagram of the structure of a computer provided in an embodiment of the present application;

[0043] FIG2 is a flowchart of a wake-up method provided in an embodiment of the present application;

[0044] FIG3 is a schematic diagram of waking up a computer in an embodiment of the present application;

[0045] FIG4 is a schematic structural diagram of a wake-up system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. It should also be noted that, for ease of description, only parts related to the present application, not all of the contents, are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0047] In computer application scenarios, in order to save computer energy consumption, the computer can be put into standby state by starting the computer's hibernation, deep sleep and other operating modes.

[0048] Before setting the computer to enter the standby state, you can complete normal enumeration with the computer through a USB device (such as a mouse or keyboard) in advance. In this way, the USB device can communicate directly with the computer even when the computer is in the standby state.

[0049] USB enumeration is the process by which a computer system detects and identifies a USB device. The success or failure of USB enumeration directly affects the normal operation of the device. Specifically, the enumeration process is as follows:

[0050] 1. Plug in the device.

[0051] When a USB device is plugged into a computer's USB port, the system-on-chip senses the device's connection through electronic signals.

[0052] 2. Power supply configuration.

[0053] The system-on-chip sends a power configuration signal to the USB device, so that the USB device can perform power configuration according to the power configuration signal.

[0054] 3. Equipment self-inspection.

[0055] After power configuration, the USB device checks its own functions and status to ensure that it can work normally.

[0056] 4. Get the descriptor.

[0057] After the self-test process is complete, the USB device communicates with the computer so that the SoC can obtain the device descriptor. The device descriptor includes information such as the USB device's vendor ID, product ID, device class, device capabilities, and the different configurations and interfaces supported by the USB device.

[0058] 5. Configure the device.

[0059] The SoC selects the appropriate configuration and sends a configuration command to the USB device. The USB device then completes the configuration according to the command. The SoC also retrieves interface and endpoint descriptors and configures the device accordingly based on the device's capabilities and requirements. The SoC selects the appropriate driver based on the device's capabilities and allocates resources for the device.

[0060] 6. The equipment is ready.

[0061] It can be seen that the above enumeration process needs to be completed during the normal operation of the system-level chip.

[0062] Generally, in standby mode, all modules in the computer except the system-level chip are powered off and in a non-operating state; the system-level chip is powered by a long power supply module to ensure that the system-level chip can normally send and receive wake-up signals.

[0063] When the computer needs to be woken up, that is, when the computer's working state needs to be switched from standby state to normal state, a wake-up signal can be sent to the system-level chip by operating the USB device (such as clicking the mouse and keyboard), so as to wake up other modules of the computer through the system-level chip, so that other modules switch to the running state, thereby realizing the computer wake-up operation.

[0064] Although the energy consumption (mainly electricity consumption) of a computer in standby mode is lower than that of a computer in normal operation, in actual applications, the power consumption of the system-level chip in standby mode is still slightly higher.

[0065] In addition, the USB device in the above solution has already completed enumeration with the computer before the computer enters standby mode. If the USB device is plugged in and out again, the USB device cannot complete the enumeration operation and the computer cannot be woken up again.

[0066] That is to say, the existing wake-up method cannot wake up the computer after re-plugging the USB device under extremely low power consumption conditions.

[0067] In order to solve the above problems, the embodiment of the present application adds a microcontroller and a switch to the original hardware architecture of the computer, and uses the switch to connect the USB connector (the USB connector is used to connect an external USB device) to the microcontroller, or to the system-on-chip. When the computer is in a non-operating state, the microcontroller is connected to the USB connector through the switch, the system-on-chip is in a non-operating state (which can be understood as a power-off state), and the standby power supply module continuously supplies power to the microcontroller. In this way, the microcontroller can always maintain a powered state and operate normally. Therefore, regardless of whether the USB device connected to the USB connector has been re-plugged or not, the microcontroller can complete the communication with the USB device, that is, the microcontroller can receive a wake-up signal from the USB device. After obtaining the wake-up signal, the microcontroller drives the system-on-chip to power the system-on-chip, thereby realizing the switching of the system-on-chip from a non-operating state to a running state, and realizing the connection between the USB connector and the system-on-chip by the switch. In other words, the computer provided by the embodiment of the present application can wake up the computer even if the USB device is re-plugged or unplugged in the standby state. Furthermore, when the computer is not operating, the power consumption of the microcontroller is less than that of the system-on-chip. Therefore, the embodiments of the present application have lower energy consumption when the computer is not operating, effectively improving the energy saving effect of the computer standby mode compared to the existing technology. In summary, the solution provided by the embodiments of the present application can achieve the goal of waking up the computer normally after re-inserting and unplugging the USB device while consuming extremely low power.

[0068] Figure 1 shows a schematic diagram of the structure of a computer provided in an embodiment of the present application. As shown in Figure 1, the computer includes: a USB connector 11, a switch 12, a microcontroller 13, a system-on-chip 14, a long-term power supply module 16, a standby power supply module 15, and a power supply 18.

[0069] The USB connector 11 is connected to the switch 12 for connecting to an external USB device 17 .

[0070] The microcontroller 13 is connected to the system-on-chip 14, the standby power supply module 15 and the long-term power supply module 16. When the computer is not in operation, the power consumption of the microcontroller is less than that of the system-on-chip.

[0071] The system-on-chip 14 is also connected to a long power supply module 16 and a power supply 18 .

[0072] The power supply 18 is used to supply power to the system-on-chip 14 and the microcontroller 13 when the computer is running.

[0073] The long power supply module 16 is used to supply power to the system-on-chip 14 when the computer is in a non-operating state.

[0074] The standby power supply module 15 is used to supply power to the microcontroller 13 when the computer is in a non-operating state.

[0075] When the system-on-chip 14 is in a non-operating state, the switch 12 is also connected to the microcontroller 13. When the system-on-chip 14 is in an operating state, the switch 12 is also connected to the system-on-chip 14.

[0076] Specifically, when the system-level chip 14 is in a non-operating state, the microcontroller 13 is used to determine that the system-level chip 14 is to be switched to an operating state, generate and send an enable signal to the long power supply module 16 for the long power supply module 16 to power the system-level chip 14; thereafter, the microcontroller 13 is also used to send a power-on signal to the system-level chip 14 after determining that the long power supply module 16 has stably supplied power to the system-level chip 14. The power-on signal is used to enable the power supply 18 of the system-level chip 14, and the power supply 18 is used to stably supply power to the system-level chip 14, so that the system-level chip 14 is switched from the non-operating state to the operating state.

[0077] The microcontroller 13 is further configured to control the switch 12 to disconnect from the microcontroller 13 and connect to the system-on-chip 14 when determining that the system-on-chip 14 is switched from the non-operational state to the operation state.

[0078] It can be seen that the embodiment of the present application adds a microcontroller 13, a switch 12 and a standby power supply module 15 to the computer. The microcontroller 13 is connected to the USB device 17 through the switch 12.

[0079] When the SoC is in a non-operating state and it is determined that the SoC is ready to be switched to an operating state, the microcontroller 13 triggers a computer host wake-up operation. The microcontroller 13 uses a standby power supply module 15 for power. When the SoC is in a non-operating state, only the microcontroller 13 and the standby power supply module 15 remain in an operating state, while the SoC 14, the long power supply module 16, and the power supply 18 are all in a non-operating state. When the microcontroller 13 determines to wake up the computer and is ready to switch the SoC to an operating state, it sends an enable signal to the long power supply module 16 to activate it, causing it to power the SoC 14. It then sends a power-on signal to the SoC 14, turning it on, and, through the SoC 14, turning on the power supply 18. Once the power supply 18 is activated, it supplies power to all modules of the computer, switching the computer to an operating state and completing the computer wake-up.

[0080] After the computer wakes up, the microcontroller 13 determines that the SoC 14 has switched from an inactive state to an active state, and controls the switch 12 to disconnect from the microcontroller 13 and connect to the SoC 14. This allows the input signal from the external USB device 17 to be provided to the SoC 14 for processing, thereby enabling input to the computer.

[0081] Specifically, the microcontroller 13 may be a programmable chip such as a microcontroller unit (MCU) or a field programmable gate array (FPGA), and is powered by a normally-on standby power supply module 15 (always power).

[0082] The system-on-chip 14 may be a system on chip (SoC), which integrates key components of the host system. In one embodiment, when a computer is installed with an operating system, the SoC runs the installed operating system, which may be a Windows system, a Linux system, and / or an Android system, etc. The electronic device may install at least one application under the operating system. The installed application may be an application that comes with the operating system, an application downloaded from a background server or a third-party device. By running each application, the electronic device may implement the corresponding function. Alternatively, the SoC runs a computer program that implements the main functions of the electronic device to implement the corresponding function.

[0083] When the computer is awakened, the system-on-chip 14 is used to control the power supply 18 to turn on to supply power to various modules of the computer.

[0084] The stanby power module 16 is used to power the circuitry of the SoC 14 that handles the startup logic. After the microcontroller 13 activates the stanby power module 16, it powers this portion of the SoC 14, enabling the SoC 14 to respond to the startup signal from the microcontroller 13 and activate the power supply 18.

[0085] The difference between the long power supply module 16 and the power supply 18 is that the power provided by the power supply 18 is the power required when the computer is turned on and running, while the power provided by the long power supply module 16 is the power required to keep certain computer components running when the computer is powered on and turned off. The power provided by the power supply 18 is generally greater than the power provided by the long power supply module 16.

[0086] The wake-up method provided in the embodiment of the present application is described in detail below with reference to the computer shown in FIG1 .

[0087] FIG2 is a flowchart of a wake-up method provided in an embodiment of the present application. The wake-up method provided in this embodiment can be executed by the computer shown in FIG1 above. The following description takes a computer as an example of the subject executing the wake-up method.

[0088] 2 , the wake-up method specifically includes:

[0089] S110 : When the SoC is in a non-operating state, the microcontroller 13 determines to switch the SoC to an operating state.

[0090] Specifically, when the SoC 14 is in a non-operating state, the microcontroller 13 determines in real time whether to switch the state of the SoC 14 , that is, wake up the computer.

[0091] Among them, the timed wake-up method can be used to wake up.

[0092] When SoC 14 is in the operating state, the user sets a scheduled wakeup time by operating the computer. SoC 14 sends the scheduled wakeup time to microcontroller 13 and then switches to the non-operating state. Based on the scheduled wakeup time, microcontroller 13 determines to switch the SoC to the operating state at the time point when the system needs to be awakened, and then executes the above-described computer wakeup method.

[0093] Optionally, the method by which the microcontroller 13 determines that the system-level chip 14 is to be switched to the running state includes: the microcontroller 13 determines that a wake-up signal is received, and the wake-up signal is used to switch the system-level chip 14 from the non-running state to the running state; the microcontroller 13 determines that the system-level chip 14 is to be switched to the running state based on the wake-up signal.

[0094] S120: The microcontroller generates and sends an enable signal to the long power supply module. The enable signal is used by the long power supply module to power the system-level chip.

[0095] S130. After the microcontroller determines that the long power supply module has provided stable power to the system-level chip, it sends a power-on signal to the system-level chip. The power-on signal is used to enable the power supply of the system-level chip, and the power supply provides stable power to the system-level chip, so that the system-level chip switches from a non-operating state to an operating state.

[0096] S140 : When the microcontroller determines that the system-on-chip is switched from the non-operational state to the operational state, the microcontroller controls the switching switch to disconnect from the microcontroller and connect to the system-on-chip.

[0097] The microcontroller 13 is connected to the USB device 17 through the switching switch 12 and the USB connector 11 to receive the wake-up signal sent by the USB device 17 and perform the wake-up operation of waking up the system. In addition, the embodiment of the present application uses the switching switch 12 to switch the connection between the USB device 17 and the microcontroller 13 or the system-level chip 14. It can be understood that when the system-level chip is in a non-operating state, the wake-up signal of the USB device 17 is processed by the microcontroller 13, so the switching switch 12 needs to switch the USB signal link to the microcontroller 13. In the normal working state, the USB device 17, as an input device, needs to input corresponding instructions or data to the system-level chip 14 to perform corresponding business functions through the system-level chip 14. When the computer switches from the host standby state to the normal working state, the microcontroller 13 needs to control the switching switch 12 to switch the USB signal link to the system-level chip 14, so that the USB signal input by the USB device 17 is transmitted to the system-level chip 14 for processing.

[0098] By configuring a microcontroller 13 and a switch 12, the switch 12 is used to switch the USB device 17 between the microcontroller 13 and the SoC 14. The microcontroller 13 connects to the USB device 17 through the switch 12 to process the computer wake-up logic, and after waking the computer, switches the USB device 17 to the SoC 14. This avoids the limitations of USB device 17 waking the computer, eliminating the need for the SoC 14 to pre-enumerate the USB device 17, thus improving the flexibility of computer wake-up. Furthermore, by using the standby SoC 14, computer energy consumption can be further reduced, improving the energy-saving effect of computer standby.

[0099] Specifically, referring to FIG. 3 , the computer wake-up method of the present application is described in detail in combination with steps a1 to a12 .

[0100] When the computer is in the host standby state, only the standby power supply module 15 is retained to supply power to the microcontroller 13, and the system-level chip 14 has no external power supply and is in a non-operating state, so that the entire computer is in a relatively energy-saving state.

[0101] It should be noted that, according to actual energy-saving setting requirements, the computer can be set to different modes such as hibernation mode, sleep mode and even deep sleep mode to switch the computer from normal working state to host standby state.

[0102] When the SoC is in a non-operating state, the SoC 14 remains in the non-operating state. Other functional modules of the computer are adaptively set to operate in the host standby state based on energy-saving requirements in different modes. The present embodiment of the application does not impose fixed restrictions on the operating states of other functional modules of the computer in different modes, and will not be elaborated on here.

[0103] Generally speaking, in order to achieve the ultimate energy-saving state, when the computer is in standby mode, only the standby power supply module 15 and the microcontroller 13 are kept turned on for normal operation, and the system-level chip 14, the long power supply module 16, the power supply 18 and other functional modules of the host are kept in a non-operating state.

[0104] When microcontroller 13 detects that the SoC is not operating, it determines that the computer is in standby mode. It then configures switch 12 via the GPIO interface, connecting the USB signal link to microcontroller 13. When the user needs to wake up the computer, switching it from standby mode to normal operation, they input a wake-up signal by operating USB device 17. This signal is transmitted to microcontroller 13 via USB connector 11 and switch 12. For example, using a keyboard as USB device 17, the user can trigger the wake-up signal by pressing a corresponding key on the keyboard, thereby waking up the computer.

[0105] Based on the received wake-up signal, the microcontroller 13 first sends an enable signal to the long-term power supply module 16 to enable it. After starting up, the long-term power supply module 16 begins providing basic power to the SoC 14. At this point, the microcontroller 13 sends a power-on signal to the SoC 14 to start it up. After starting up, the SoC 14 sends enable signals to the various power supplies 18 of the computer based on the power-on signal, turning on each power supply 18 and providing normal operating power to various modules of the computer, including the SoC 14.

[0106] After completing the above-mentioned computer wake-up operation, the microcontroller 13 detects the working status of the system-level chip 14. When it is determined that the system-level chip 14 has switched to the running state, it reconfigures the switching switch 12 through the GPIO interface so that the switching switch 12 connects the USB signal link to the system-level chip 14 for computer command and data input.

[0107] In this way, the computer wake-up operation is performed by the microcontroller 13, so that the system-level chip 14 can remain in a non-operating state when the computer is in standby mode, achieving a more energy-saving and lower power consumption effect. In addition, since the microcontroller 13 remains normally open, even if the USB device 17 is plugged in and out again, the enumeration data will not be lost. The microcontroller 13 can still recognize the wake-up signal of the USB device 17 and perform the wake-up operation. For industrial scenarios where the computer often needs to switch to the normal state of the host to operate, by connecting a USB device 17 such as a mouse or keyboard to the computer, the computer can be turned on by inputting a wake-up signal. In this way, the use restrictions of the USB device 17 to wake up the computer can be eliminated, and the flexibility of computer wake-up can be improved.

[0108] Based on the above embodiment, optionally, the microcontroller receives a USB signal sent by the switching switch, where the USB signal is sent by the USB device to the switching switch through the USB interface; when the microcontroller determines that the USB signal includes a preset signal value, it determines that the received USB signal is a wake-up signal.

[0109] To avoid false triggering of wake-up signals and improve the accuracy of computer wake-up operations, this application uses a preset signal value. Only when the signal value of a USB signal equals the preset signal value will the USB signal be considered a wake-up signal. All other USB signals are considered invalid signals and are not responded to. This ensures accurate triggering of the wake-up signal and reduces the possibility of incorrect computer wake-ups caused by misoperation.

[0110] Among them, the preset signal value is the key signal value of at least one button in the USB device 17. By providing a customized wake-up signal button, the security of computer wake-up is further improved. Before this, the user, in the normal working state of the computer, triggers the wake-up signal button setting process and customizes the key signal value of a single button or a combination of multiple buttons as the preset signal value. Based on the received preset signal value, the system-level chip 14 writes it to the microcontroller 13 for comparison of the wake-up signal when the computer is subsequently woken up. Through the customized wake-up signal setting, the hotkey wake-up function of the computer is realized. Further improve the flexibility of computer wake-up and enhance the computer wake-up operation experience.

[0111] It should be noted that, in actual applications, the above-mentioned preset signal value can also be the signal value of a single key or a double-click or even multiple clicks of multiple keys, or the signal value of a single key or a long press of multiple keys. For example, by long pressing the right button of the mouse, a computer wake-up signal is triggered. The microcontroller 13 will detect the signal value of the current USB signal to determine whether it matches the preset signal value. If the match is successful and it is confirmed to be a wake-up signal, an enable signal will be sent to the long power supply module 16 to turn on the basic power supply of the system-level chip 14. On the contrary, if the match fails, the current USB signal is considered not to be a wake-up signal and the USB signal is ignored. The embodiment of the present application does not impose fixed restrictions on the specific wake-up signal triggering method, and will not be elaborated here.

[0112] Optionally, the microcontroller determines that the system-on-chip is to be switched to an operating state, including:

[0113] The microcontroller receives a power supply status signal from a power source and an operation status signal from the system-on-chip; based on the power supply status signal and the operation status signal, the microcontroller determines whether to switch the system-on-chip to an operation state.

[0114] When it is detected that the system-level chip 14 switches from a non-operating state to an operating state, the microcontroller 13 is specifically used to receive the power supply status signal of the power supply 18 and the operating status signal of the system-level chip 14, and determine based on the power supply status signal and the operating status signal that the system-level chip 14 switches from the non-operating state to the operating state.

[0115] For example, referring to step a9 shown in FIG3 , the microcontroller 13 connects to the SLP_S3, SLP_S4, and SLP_S5 pins of the SoC 14 and the "POWER GOOD" pin of the power supply 18. The microcontroller 13 obtains the operating status signal of the SoC 14 through the SLP_S3, SLP_S4, and SLP_S5 pins, and the power supply status signal of the power supply 18 through the "POWER GOOD" pin. When the power supply status signal indicates normal power supply and the operating status signal indicates normal operation, the SoC 14 is determined to have switched from the non-operating state to the operating state. Similarly, when the computer is in standby mode and the SoC 14 switches from the operating state to the non-operating state, the microcontroller 13 similarly determines that the SoC 14 is in the non-operating state based on the power supply status signal and the operating status signal, and then configures the switch 12 to connect the USB signal link to the microcontroller 13. By detecting the corresponding pin signals of the SoC 14 and the power supply 18, the operating state of the SoC 14 can be accurately determined. In actual applications, according to different pin settings, the operating state of the system-on-chip 14 can be adaptively determined from the corresponding pin signals. The embodiment of the present application does not impose a fixed restriction on the method of determining the operating state of the system-on-chip 14, and will not be described in detail here.

[0116] On the other hand, the microcontroller 13 determines that the long power supply module 16 has stably supplied power to the SoC 14 , including: after sending the enable signal, the microcontroller 13 waits for a preset time period to determine that the long power supply module 16 has stably supplied power to the SoC 14 .

[0117] On the other hand, the microcontroller 13 determines that the long power supply module 16 has provided stable power to the system-level chip 14, including: the microcontroller 13 receives a power supply stability signal from the long power supply module 16, and the power supply stability signal is used to indicate that the long power supply module has provided stable power to the system-level chip; the microcontroller 13 determines that the long power supply module 16 has provided stable power to the system-level chip based on the power supply stability signal.

[0118] It is understandable that when the computer is in standby mode and the SoC is in a non-operating state, the SoC 14 cannot process the computer startup logic. At this time, if a startup signal is sent to the SoC 14 immediately after the long power supply module 16 is enabled, the startup signal may not be processed because the part of the circuit that processes the startup logic of the SoC 14 is not stably powered on, thereby causing the computer to fail to wake up. Based on this, after sending the enable signal to the long power supply module 16, the startup signal is sent to the SoC 14 for a set period of time, so that the SoC 14 is delayed in waking up after the long power supply module 16 is enabled. After the long power supply module 16 stably supplies power to the part of the circuit that processes the startup logic of the computer controller, the startup signal is sent to the SoC 14 to ensure the stability and reliability of the computer wake-up operation.

[0119] In the above, when the system-level chip is in a non-operating state, the microcontroller determines that the system-level chip is to be switched to an operating state; the microcontroller generates and sends an enable signal to the long power supply module, and the enable signal is used by the long power supply module to power the system-level chip; after the microcontroller determines that the long power supply module has stably supplied power to the system-level chip, it sends a power-on signal to the system-level chip, and the power-on signal is used to enable the power supply of the system-level chip, and the power supply is stably supplied to the system-level chip, so that the system-level chip switches from a non-operating state to an operating state; when the microcontroller determines that the system-level chip switches from a non-operating state to an operating state, it controls the switching switch to disconnect from the microcontroller and connect to the system-level chip. In this way, the restrictions on the use of USB devices to wake up the computer can be avoided, and the system-level chip does not need to enumerate USB devices in advance, thereby improving the flexibility of computer wake-up. At the same time, through the standby system-level chip, the computer energy consumption can be further reduced, and the energy saving effect of the host standby can be improved.

[0120] Based on the above embodiment, FIG4 is a wake-up system provided in an embodiment of the present application. The wake-up system includes a USB device and the computer as described above, and the USB device is connected to the computer.

[0121] The USB device is used to input a USB signal to the computer, and the USB signal is used to wake up the computer that is in an inoperative state.

[0122] The computer is used to receive the USB signal and execute the above-mentioned wake-up method according to the USB signal.

[0123] In the above, when the system-level chip is in a non-operating state, the microcontroller determines that the system-level chip is to be switched to an operating state; the microcontroller generates and sends an enable signal to the long power supply module, and the enable signal is used by the long power supply module to power the system-level chip; after the microcontroller determines that the long power supply module has stably supplied power to the system-level chip, it sends a power-on signal to the system-level chip, and the power-on signal is used to enable the power supply of the system-level chip, and the power supply is stably supplied to the system-level chip, so that the system-level chip switches from a non-operating state to an operating state; when the microcontroller determines that the system-level chip switches from a non-operating state to an operating state, it controls the switching switch to disconnect from the microcontroller and connect to the system-level chip. In this way, the restrictions on the use of USB devices to wake up the computer can be avoided, and the system-level chip does not need to enumerate USB devices in advance, thereby improving the flexibility of computer wake-up. At the same time, through the standby system-level chip, the computer energy consumption can be further reduced, and the energy saving effect of the host standby can be improved.

[0124] The wake-up system provided in the embodiment of the present application can be used to execute the wake-up method provided in the above embodiment, and has corresponding functions and beneficial effects.

[0125] The present application also provides an integrated circuit, comprising:

[0126] one or more processors;

[0127] Memory;

[0128] A program, wherein the program is stored in the memory and configured to be executed by the one or more processors, and the program is configured to execute the wake-up method as described above.

[0129] The integrated circuit provided above can be used to execute the wake-up method provided in the above embodiment, and has corresponding functions and beneficial effects.

[0130] An embodiment of the present application also provides a storage medium containing computer-executable instructions, which are used to execute a wake-up method when executed by a computer processor. The wake-up method includes: when the system-level chip is in a non-operating state, the microcontroller determines that the system-level chip is to be switched to an operating state; the microcontroller generates and sends an enable signal to the long power supply module, and the enable signal is used for the long power supply module to power the system-level chip; after the microcontroller determines that the long power supply module has stably supplied power to the system-level chip, it sends a power-on signal to the system-level chip, and the power-on signal is used to enable the power supply of the system-level chip, and the power supply is used to stably supply power to the system-level chip, so that the system-level chip is switched from the non-operating state to the operating state; when the microcontroller determines that the system-level chip is switched from the non-operating state to the operating state, the switching switch is controlled to disconnect from the microcontroller and connect to the system-level chip.

[0131] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape drives; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disks or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or it may be located in a different second computer system that is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected via a network). The storage medium may store program instructions (e.g., embodied as a computer program) that can be executed by one or more processors.

[0132] Of course, the storage medium containing computer-executable instructions provided in an embodiment of the present application is not limited to the wake-up method described above, and can also execute related operations in the wake-up method provided in any embodiment of the present application.

[0133] An embodiment of the present application further provides a computer program product, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the wake-up method described in the above embodiment.

[0134] The wake-up system, storage medium, and integrated circuit provided in the above embodiments can execute the wake-up method provided in any embodiment of the present application. For technical details not fully described in the above embodiments, please refer to the wake-up method provided in any embodiment of the present application.

[0135] The above are only preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions that are possible for those skilled in the art will not depart from the scope of protection of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments and may include more other equivalent embodiments without departing from the concept of the present application. The scope of the present application is determined by the scope of the claims.

Claims

1. A wake-up method applied to a computer, characterized in that, the computer includes: a USB connector, a switching switch, a microcontroller, a system-on-chip, a long-power supply module, a standby power supply module and a power supply; wherein, the USB connector is connected to the switching switch for connecting an external USB device; the microcontroller is connected to the system-on-chip, the standby power supply module and the long-power supply module; the system-on-chip is further connected to the long-power supply module and the power supply; the power supply is used to supply power to the system-on-chip and the microcontroller when the computer is running; the long-power supply module is used to supply power to the system-on-chip when the computer is in a non-running state; the standby power supply module is used to supply power to the microcontroller when the computer is in a non-running state; when the computer is in a non-running state, the power consumption of the microcontroller is less than that of the system-on-chip; when the system-on-chip is in a non-running state, the switching switch is further connected to the microcontroller; when the system-on-chip is in a running state, the switching switch is further connected to the system-on-chip; the wake-up method includes: when the system-on-chip is in a non-running state, the microcontroller obtains a wake-up signal and determines to switch the system-on-chip to a running state; the microcontroller generates and sends an enable signal to the long-power supply module, and the enable signal is used for the long-power supply module to supply power to the system-on-chip; after the microcontroller determines that the long-power supply module has stably supplied power to the system-on-chip, it sends a power-on signal to the system-on-chip, and the power-on signal is used for the system-on-chip to enable the power supply to stably supply power to the system-on-chip through the power supply, so that the system-on-chip switches from a non-running state to a running state; when the microcontroller determines that the system-on-chip has switched from a non-running state to a running state, it controls the switching switch to disconnect the connection with the microcontroller and connect with the system-on-chip to complete the wake-up of the computer.

2. The wake-up method according to claim 1, characterized in that, the microcontroller determines to switch the system-on-chip to a running state, including: the microcontroller determines that it has received the wake-up signal, and the wake-up signal is used to switch the system-on-chip from a non-running state to a running state; the microcontroller determines to switch the system-on-chip to a running state based on the wake-up signal.

3. The wake-up method according to claim 2, characterized in that, the microcontroller determines that it has received a wake-up signal, including: the microcontroller receives a USB signal sent by the switching switch, and the USB signal is sent by the USB device to the switching switch through a USB interface; when the microcontroller determines that the USB signal includes a preset signal value, it determines that the received USB signal is the wake-up signal.

4. The wake-up method according to claim 3, characterized in that, The preset signal value is the key signal value of at least one key in the USB device.

5. The wake-up method according to any one of claims 1-4, wherein, the microcontroller determines that the system-on-chip is to be switched to the operating state, including: the microcontroller receives a power supply status signal from the power supply and an operating state signal from the system-on-chip; the microcontroller determines that the system-on-chip is to be switched to the operating state based on the power supply status signal and the operating state signal.

6. The wake-up method according to any one of claims 1-4, wherein, the microcontroller determines that the long-term power supply module has stably powered the system-on-chip, including: after sending the enable signal, the microcontroller waits for a preset duration to determine that the long-term power supply module has stably powered the system-on-chip.

7. The wake-up method according to any one of claims 1-4, wherein, the microcontroller determines that the long-term power supply module has stably powered the system-on-chip, including: the microcontroller receives a power supply stability signal from the long-term power supply module, and the power supply stability signal is used to indicate that the long-term power supply module has stably powered the system-on-chip; the microcontroller determines that the long-term power supply module has stably powered the system-on-chip according to the power supply stability signal.

8. A computer, wherein, the computer includes: a USB connector, a switching switch, a microcontroller, a system-on-chip, a long-term power supply module, a standby power supply module, and a power supply; wherein, the USB connector is connected to the switching switch for externally connecting a USB device; the microcontroller is connected to the system-on-chip, the standby power supply module, and the long-term power supply module; the system-on-chip is further connected to the long-term power supply module and the power supply; the power supply is used to supply power to the system-on-chip and the microcontroller when the computer is operating; the long-term power supply module is used to supply power to the system-on-chip when the computer is in a non-operating state; the standby power supply module is used to supply power to the microcontroller when the computer is in a non-operating state; when the computer is in a non-operating state, the power consumption of the microcontroller is less than that of the system-on-chip; when the system-on-chip is in a non-operating state, the switching switch is further connected to the microcontroller; when the system-on-chip is in an operating state, the switching switch is further connected to the system-on-chip; when the system-on-chip is in a non-operating state, the microcontroller is used to determine that the system-on-chip is to be switched to the operating state; the microcontroller is used to generate and send an enable signal to the long-term power supply module, and the enable signal is used for the long-term power supply module to supply power to the system-on-chip. The microcontroller is configured to send a power-on signal to the system-on-chip after determining that the long-term power supply module has stably powered the system-on-chip. The power-on signal is used for the system-on-chip to enable the power supply, and the power supply stably powers the system-on-chip, so that the system-on-chip switches from a non-operating state to an operating state; The microcontroller is configured to control the switching switch to disconnect from the microcontroller and connect to the system-on-chip when it is determined that the system-on-chip switches from a non-operating state to an operating state.

9. A wake-up system, characterized in that, the wake-up system includes a USB device and a computer as described in claim 8 above, and the USB device is connected to the computer; the USB device is configured to input a USB signal to the computer, and the USB signal is used to wake up the computer in a non-operating state; the computer is configured to receive the USB signal and execute the wake-up method according to any one of claims 1-7 based on the USB signal.

10. An integrated circuit, wherein, it includes: one or more processors; a memory; a program, wherein the program is stored in the memory and is configured to be executed by the one or more processors, and the program is configured to execute the wake-up method according to any one of claims 1-7.

11. A storage medium containing computer-executable instructions, characterized in that, the computer-executable instructions are used to execute the wake-up method according to any one of claims 1-7 when executed by a computer processor.

Citation Information

Cited By

  • Remote wake-up processing method, device and system and storage medium

    CN121387384A