Computer, awakening method, device and system, integrated circuit and storage medium

By designing multiple wake-up links and switches in the computer, combined with the low power consumption of the microcontroller, the problem of single wake-up method, high power consumption and limited use is solved, and the computer's flexible, reliable and energy-saving wake-up is achieved.

CN120123008AActive Publication Date: 2025-06-10GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311691779.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2025-06-10
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

In the prior art, the computer wakes up a single method, consumes a high power, and cannot wake up the computer when the USB signal link is occupied, and there are usage restrictions.

Method used

Design a computer that includes multiple interface connectors, hubs, switches and microcontrollers. By building multiple wake-up links and switches, the computer can be flexible wake-up and powered by the microcontroller's low power consumption in standby state.

Benefits of technology

Wake up the computer through multiple wake-up links, avoiding wake-up failure caused by the occupation of a single link, improving the flexibility and reliability of the computer wake-up, and effectively reducing energy consumption in standby state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120123008A_ABST
    Figure CN120123008A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a computer, an awakening method, device and system, an integrated circuit and a storage medium. According to the technical scheme provided by the embodiment of the invention, the concentrator and the plurality of interface connectors are arranged to construct the plurality of wake-up links, the change-over switch is utilized to switch the links to be connected with the microcontroller or the system-on-chip, and the microcontroller is connected with the external equipment through the change-over switch and the wake-up links to process the computer wake-up logic. And after the computer is awakened, a wake-up link of the external equipment is switched to be connected to the system-on-chip. In this way, the computer can be awakened through the multiple awakening links, the situation that the computer cannot execute the awakening operation due to the fact that a single awakening link is occupied is avoided, and the flexibility and reliability of computer awakening are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of computer technologies, and in particular, to a computer and a method. Background Art

[0002] Before a 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 the standby state, modules in the computer except the system-level chip are powered off, and the system-level chip is usually powered by a long-power supply module. The long-power supply module powers part of the circuits for the system-level chip to process the startup logic, that is, the power of the long-power supply module is only used to support the system-level chip to complete the sending and receiving of wake-up signals and cannot support the system-level chip to complete other complex functions. When it is necessary to switch the working state of the computer to the normal state, a wake-up signal can be sent to the system-level chip by operating a USB device (such as clicking the mouse or keyboard), so as to wake up other modules of the computer through the system-level chip, and then realize the normal operation of the computer.

[0004] However, in the above solution, the system-level chip needs to be powered in the standby state. In practical applications, the power consumption of the system-level chip is slightly high. In addition, in the above solution, the computer can only be woken up through a unique USB signal link. When the interface of the USB signal link is occupied by other external devices, the computer cannot be woken up. That is to say, the existing wake-up methods have the problems of slightly high power consumption, relatively single computer wake-up method, lack of flexibility, and certain usage limitations. Summary of the Invention

[0005] Embodiments of the present application provide a computer and a method, which can solve the problems of slightly high power consumption, single computer wake-up method, and limited usage.

[0006] In a first aspect, an embodiment of the present application provides a computer, which includes a system-on-chip, multiple interface connectors, a hub, a switching switch, a microcontroller, and a standby power supply module; when the computer is in a non-operating state, the power consumption of the microcontroller is less than that of the system-on-chip. Each of the multiple interface connectors is connected to the hub, and each interface connector and the hub form a wake-up link, which is used to support the corresponding external device connected thereto to communicate with the microcontroller or to support the corresponding external device connected thereto to communicate with the system-on-chip; the switching switch is disposed on the wake-up link and switches the wake-up link to connect to the microcontroller or the system-on-chip according to different operating states of the system-on-chip; the microcontroller is electrically connected to the system-on-chip and the standby power supply module; when the system-on-chip is in a non-operating state, the standby power supply module keeps supplying power to the microcontroller; the microcontroller is used to connect to an external device through the switching switch and any one of the wake-up links when the system-on-chip is in a non-operating state, and wake up the system-on-chip in response to a wake-up signal from the external device, so that the system-on-chip switches to an operating state; the microcontroller is further used to control the switching switch to connect to the system-on-chip when it detects that the system-on-chip switches from a non-operating state to an operating state, so that the system-on-chip accesses the external devices connected to each wake-up link.

[0007] It can be seen that since the power consumption of the microcontroller is less than that of the system-on-chip when the computer is in a non-operating state, therefore, in the embodiment of the present application, when the computer is in a non-operating state, the energy consumption is relatively low, and compared with the prior art, the energy-saving effect of the host standby is effectively improved. In the present application, a hub and multiple interface connectors are provided to form multiple wake-up links, and the switching switch is used to switch the link to connect to the microcontroller or the system-on-chip. The microcontroller connects to the external device through the switching switch and the wake-up link to process the computer wake-up logic, and switches the wake-up link of the external device to connect to the system-on-chip after waking up the computer. In this way, the computer can be woken up through multiple wake-up links, avoiding the situation where the computer cannot perform the wake-up operation due to the occupation of a single wake-up link, and improving the flexibility and reliability of computer wake-up.

[0008] In a possible design, the computer provided in the embodiment of the present application includes a switching switch, and the hub is connected to the microcontroller or the system-on-chip through the switching switch.

[0009] In another possible design, the computer provided in the embodiment of the present application includes multiple switching switches, one end of each switching switch is respectively connected to the corresponding interface connector, and the other end is connected to the system-on-chip or connected to the microcontroller through the hub.

[0010] In a possible design, the computer provided by the embodiments of the present application further includes a long - power - supply module and a power supply. The long - power - supply module is connected to the system - on - chip and the micro - controller, and the power supply is connected to the system - on - chip and the micro - controller. The power supply is used to supply power to the system - on - chip and the micro - controller when the system - on - chip is in an operating state; the long - power - supply module is used to supply power to the system - on - chip when the system - on - chip is in a non - operating state;

[0011] In the case where the system - on - chip is in a non - operating state, in response to a wake - up signal from an external device, it is determined to switch the system - on - chip to an operating state;

[0012] Generate and send an enable signal to the long - power - supply module. The enable signal is used for the long - power - supply module to supply power to the system - on - chip;

[0013] After determining that the long - power - supply module has stably supplied power to the system - on - chip, send a power - on signal to the system - on - chip. The power - on signal is used for the system - on - chip to enable the power supply and stably supply power to the system - on - chip through the power supply, so that the system - on - chip switches from a non - operating state to an operating state.

[0014] In a possible design, before the above "wake up the system - on - chip in response to a wake - up signal from an external device", the micro - controller is further used for:

[0015] Receive an input signal from an external device. When the received input signal is a preset signal value, determine that the received input signal is a wake - up signal.

[0016] In a second aspect, the embodiments of the present application provide a computer wake - up method, which is applied to the micro - controller of the computer as described in the first aspect, and includes:

[0017] When the system - on - chip is in a non - operating state, connect to an external device through a switch and any one of the wake - up links, and wake up the system - on - chip in response to a wake - up signal from the external device, so that the system - on - chip switches to an operating state;

[0018] When it is detected that the system - on - chip switches from a non - operating state to an operating state, control the switch to connect to the system - on - chip, so that the system - on - chip accesses the external devices connected by each wake - up link.

[0019] In a possible design, the computer further includes a long - power - supply module and a power supply. The long - power - supply module is connected to the system - on - chip and the micro - controller, and the power supply is connected to the system - on - chip and the micro - controller. The power supply is used to supply power to the system - on - chip and the micro - controller when the system - on - chip is in an operating state; the long - power - supply module is used to supply power to the system - on - chip when the system - on - chip is in a non - operating state;

[0020] When the system-on-chip is in a non-operating state, an external device is connected through a switching switch and any one of the wake-up links, and the system-on-chip is woken up in response to a wake-up signal from the external device, so that the system-on-chip switches to an operating state, including:

[0021] When the system-on-chip is in a non-operating state, in response to a wake-up signal from an external device, it is determined that the system-on-chip is to be switched to an operating state;

[0022] Generate and send 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;

[0023] After determining that the long power supply module has stably supplied power to the system-on-chip, send 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 and stably supply power to the system-on-chip through the power supply, so that the system-on-chip switches from a non-operating state to an operating state.

[0024] In a possible design, before waking up the system-on-chip in response to a wake-up signal from an external device, it further includes:

[0025] Receive an input signal from an external device, and when the received input signal is a preset signal value, determine that the received input signal is a wake-up signal.

[0026] In a third aspect, an embodiment of the present application provides a computer system, including an external device and the computer as described in the first aspect above. The external device is used to access the computer and input a wake-up signal to the computer to wake up the computer through the wake-up signal and switch the system-on-chip of the computer from a non-operating state to an operating state.

[0027] In a fourth aspect, an embodiment of the present application provides an integrated circuit, which includes:

[0028] One or more processors;

[0029] A memory;

[0030] A program, where 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 computer wake-up method as described in the second aspect.

[0031] In a fifth aspect, an embodiment of the present application provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the computer wake-up method as described in the second aspect when executed by a computer processor.

[0032] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes computer instructions. When the computer instructions run on an electronic device, the electronic device is caused to execute the computer wake-up method as described in the second aspect and any possible design thereof.

[0033] For the specific descriptions of the second aspect to the sixth aspect and their various implementation manners in the embodiments of the present application, reference may be made to the detailed descriptions in the first aspect and its various implementation manners; and, for the beneficial effects of the second aspect to the sixth aspect and their various implementation manners, reference may be made to the analysis of the beneficial effects in the first aspect and its various implementation manners, which will not be elaborated herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a schematic structural diagram of a computer provided by an embodiment of the present application;

[0035] Figure 2 is a flowchart of a computer wake-up method provided by an embodiment of the present application;

[0036] Figure 3 is a schematic diagram of a wake-up architecture of multiple wake-up links in an embodiment of the present application;

[0037] Figure 4 is another schematic diagram of a wake-up architecture of multiple wake-up links in an embodiment of the present application;

[0038] Figure 5 is a schematic structural diagram of a computer system provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0039] In order to make the objectives, technical solutions, and advantages of the present application clearer, the following further describes the specific embodiments of the present application in detail with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only for explaining the present application, rather than limiting the present application. Additionally, it should be noted that for the sake of description, only parts related to the present application are shown in the accompanying drawings rather than all the content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations 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 operations are completed, but there can also be additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0040] In a computer application scenario, in order to save computer energy consumption, the computer can be put into a standby state by starting operating modes such as hibernation and deep sleep of the computer.

[0041] Before setting the computer to standby, normal enumeration can be pre-completed with the computer through a USB device (such as a mouse or keyboard). In this way, even if the computer is in standby, the USB device can communicate directly with the computer.

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

[0043] I. Insert the device.

[0044] When the USB device is inserted into the USB interface of the computer, the system-level chip senses the connection of the device through an electronic signal.

[0045] II. Power configuration.

[0046] The system-level chip sends a power configuration signal to the USB device to facilitate the USB device to perform power configuration according to the power configuration signal.

[0047] III. Device self-check.

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

[0049] IV. Obtain descriptors.

[0050] After the self-check process is completed, the USB device communicates with the computer so that the system-level chip can obtain the device descriptors. The device descriptors include information such as the vendor ID, product ID, device class, device functions, different configurations and interfaces supported by the USB device.

[0051] V. Configure the device.

[0052] The system-level chip selects a suitable configuration and sends a configuration command to the USB device. Correspondingly, the USB device completes the corresponding configuration according to the configuration command. In addition, the system-level chip also obtains interface descriptors and endpoint descriptors and performs corresponding configurations according to the functions and requirements of the USB device. The system-level chip selects a suitable driver according to the function of the USB device and allocates resources for the USB device.

[0053] VI. Device ready.

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

[0055] Generally, in the standby state, 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 receive and send wake - up signals.

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

[0057] Compared with a computer in the normal operating state, although the power consumption (mainly power consumption) of a computer in the standby state is lower. However, in actual applications, the power consumption of the system - level chip is still slightly higher in the standby state.

[0058] In addition, the current computer wake - up solutions usually only provide a single USB interface for connecting USB devices, and the computer is woken up through this single USB signal link. In the case where the interface of the USB signal link is occupied by other external devices, the computer cannot be woken up. Its computer wake - up method is relatively single, lacking flexibility and having certain usage limitations.

[0059] To solve the above problems, an embodiment of the present application provides a computer.

[0060] Figure 1 A schematic structural diagram of a computer provided by an embodiment of the present application is given. Among them, the computer includes a system - level chip 17, a plurality of interface connectors 11, a hub 12, a switching switch 13, a micro - controller 14, and a standby power - supply module 15; when the computer is in a non - operating state, the power consumption of the micro - controller 14 is less than the power consumption of the system - level chip 17.

[0061] Each of the plurality of interface connectors 11 is connected to the hub 12, and each interface connector 11 and the hub 12 construct a wake - up link, and the wake - up link is used to support communication between the corresponding external device accessed and the micro - controller 14, or to support communication between the corresponding external device accessed and the system - level chip 17.

[0062] The switching switch 13 is arranged on the wake-up link and switches the wake-up link to connect the microcontroller 14 or the system-on-chip 17 according to different working states of the system-on-chip 17; the microcontroller 14 is electrically connected to the system-on-chip 17 and the standby power supply module 15; when the system-on-chip 17 is in a non-operating state, the standby power supply module 15 keeps powering the microcontroller 14; the microcontroller 14 is used to connect to an external device 16 through the switching switch 13 and any wake-up link when the system-on-chip 17 is in a non-operating state, and wake up the system-on-chip 17 in response to the wake-up signal of the external device 16, so that the system-on-chip 17 switches to an operating state; the microcontroller 14 is further used to control the switching switch 13 to connect to the system-on-chip 17 when it detects that the system-on-chip 17 switches from a non-operating state to an operating state, so that the system-on-chip 17 accesses the external devices 16 connected to each wake-up link.

[0063] In the embodiment of the present application, to solve the problem of the usage limitation of waking up a computer by a single wake-up link and improve the flexibility and reliability of waking up the computer, a plurality of interface connectors 11 are set, and the interface connectors 11 are connected to a hub 13 to build a plurality of wake-up links corresponding to the number of the interface connectors 11, and any one of the wake-up links can access an external device 16 to wake up the computer. Moreover, the connection of the wake-up link to the microcontroller 14 or the system-on-chip 17 is switched by a switching switch 12. The microcontroller 14 is connected to each wake-up link through the switching switch 12, and then receives the wake-up signal of the external device 16, and switches the system-on-chip 17 from a non-operating state to an operating state according to the wake-up signal to perform the computer wake-up operation. The microcontroller 14 is powered by a standby power supply module 15. In the standby state of the computer, only the microcontroller 14 and the standby power supply module 15 are kept in a working state, and other modules of the computer (such as the system-on-chip 17, the long-term power supply module 18, and the power supply 19) are all in a non-operating state. The microcontroller 14 wakes up the system-on-chip 17 of the computer according to the received wake-up signal, and then turns on each module of the computer through the system-on-chip 17, switches the system-on-chip 17 from a non-operating state to an operating state, so that the computer switches from the standby state of the computer to the normal working state, thereby completing the computer wake-up process.

[0064] Because the power consumption of the microcontroller is less than that of the system-on-chip when the computer is in a non-operating state, therefore, in the embodiment of the present application, the energy consumption is relatively low when the computer is in a non-operating state, and compared with the prior art, the energy-saving effect of the host standby is effectively improved.

[0065] Using the above computer, the user can connect the interface connector 11 through any interface-adapted external device 16 to input a wake-up signal to the microcontroller 14 through the wake-up link to wake up the computer. In this way, even if one interface connector 11 is occupied by other external devices 16, the computer can be woken up by connecting other interface connectors 11, thus getting rid of the usage restrictions of computer wake-up and improving the flexibility of computer wake-up.

[0066] Specifically, the interface connector 11 can be a connector of different types of data interfaces such as a USB connector, so that external devices 16 with different interfaces can be connected to the wake-up link, further improving the flexibility of computer wake-up. The hub 13 (hub) is a pure hardware network bottom-layer device that regenerates, shapes and amplifies the received signal to expand the transmission distance of the network and concentrates all nodes on the node centered on it. Through the multi-interface connector 11 and the hub 13, any external device 16 that is compatible with the interface connector 11 can wake up the computer.

[0067] The microcontroller 14 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).

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

[0069] In the standby state of the computer, the system-on-chip 17 is in a non-operating state. The microcontroller 14 is connected to the external device 16 through the switching switch 12 and the USB connector to receive the wake-up signal sent by the external device 16 and perform the wake-up operation to wake up the computer. When the system-on-chip 17 wakes up the computer, it switches from the non-operating state to the operating state to process various business logics of the computer. The switching switch 12 controls the destination of the input signals of each wake-up link. When the system-on-chip 17 is in the non-operating state, the switching switch 12 is connected to the microcontroller 14 to transmit the input signals of the wake-up link to the microcontroller 14. After the computer wakes up and the system-on-chip 17 switches from the non-operating state to the operating state, the external device 16 controls the computer as a regular input device. At this time, the switching switch 12 is connected to the system-on-chip 17 to transmit the input signals of the external device 16 to the system-on-chip 17 for processing, and the corresponding service functions are executed through the system-on-chip 17. Thus, when the computer switches from the standby state to the regular working state, the microcontroller 14 needs to control the switching switch 12 to switch the wake-up link connection to the system-on-chip 17 so that the input signals of the external device 16 are transmitted to the system-on-chip 17 for processing.

[0070] Next, the present application will be specifically described in combination with the computer wake-up method according to the embodiments of the present application. Figure 2 The flowchart of a computer wake-up method provided by the embodiment of the present application is given. The computer wake-up method provided in this embodiment can be executed by the microcontroller 14 of the computer. The following takes the microcontroller 14 as the main body for executing the computer wake-up method as an example for description. Refer to Figure 2 This computer wake-up method specifically includes:

[0071] S110. Connect an external device through a switching switch and any wake-up link when the system-on-chip is in a non-operating state, and wake up the system-on-chip in response to the wake-up signal of the external device, so that the system-on-chip switches to the operating state;

[0072] S120. When it is detected that the system-on-chip switches from the non-operating state to the operating state, control the switching switch to be connected to the system-on-chip so that the system-on-chip accesses the external devices connected to each wake-up link.

[0073] A plurality of wake-up links are constructed by setting up a hub 13 and a plurality of interface connectors 11, and a switching switch 12 is used to switch the link to connect to a microcontroller 14 or a system-on-chip 17. The microcontroller 14 connects to an external device 16 through the switching switch 12 and the wake-up link to process the computer wake-up logic, and after waking up the computer, switches the wake-up link of the external device 16 to connect to the system-on-chip 17. In this way, the computer can be woken up through multiple wake-up links, avoiding the situation where the computer cannot perform the wake-up operation due to the occupation of a single wake-up link, and improving the flexibility and reliability of computer wake-up. Moreover, the system-on-chip 17 does not need to enumerate the external device 16 in advance, further improving the flexibility of computer wake-up. At the same time, by putting the system-on-chip 17 in standby and only keeping the standby unit running, the computer power consumption can be further reduced, and the energy-saving effect of computer standby can be improved.

[0074] Specifically, with reference to Figure 3 , combined with steps a1 - a12, the computer wake-up method of the present application will be described in detail.

[0075] Among them, N interface connectors 11 are provided in the wake-up system of the computer. The plurality of interface connectors 11 are connected to the hub 13, and the hub 13 is used for unified management of input signals. The external device 16 can select an interface connector 11 from the N interface connectors 11 to access and construct a wake-up link, and then input a signal to wake up the computer. The computer further includes a long-power supply module 18 and a power supply 19. The long-power supply module 18 is connected to the system-on-chip 17 and the microcontroller 14, and the power supply 19 is connected to the system-on-chip 17 and the microcontroller 14. The power supply 19 is used to supply power to the system-on-chip 17 and the microcontroller 14 when the system-on-chip 17 is in an operating state; the long-power supply module 18 is used to supply power to the system-on-chip 17 when the system-on-chip 17 is in a non-operating state; in the case where the system-on-chip 17 is in a non-operating state, in response to the wake-up signal of the external device 16, it is determined to switch the system-on-chip 17 to an operating state; generate and send an enable signal to the long-power supply module 18, and the enable signal is used for the long-power supply module 18 to supply power to the system-on-chip 17; after determining that the long-power supply module 18 has stably supplied power to the system-on-chip 17, send a power-on signal to the system-on-chip 17, and the power-on signal is used for the system-on-chip 17 to enable the power supply 19 to stably supply power to the system-on-chip 17 through the power supply 19, so that the system-on-chip 17 switches from a non-operating state to an operating state.

[0076] Further, when the computer is in the standby state, only the standby power supply module 15 is reserved to supply power to the microcontroller 14, and the system-on-chip 17 has no external power supply and is in a non-operating state, so that the entire computer is in a relatively energy-saving state. It should be noted that according to the actual energy-saving setting requirements, the computer can be set to different modes such as the hibernation mode, sleep mode, and deep sleep mode to switch the computer from the normal working state to the standby state of the computer. At this time, the system-on-chip 17 remains in the non-operating state. For other functional modules of the computer, their operating states in the standby state of the computer are adaptively set according to the energy-saving requirements in different modes. The embodiments of the present application do not make fixed restrictions on the operating states of other functional modules of the computer in different modes and will not be elaborated here.

[0077] Generally speaking, in order to achieve the ultimate energy-saving state, when the computer is in the standby state, only the standby power supply module 15 and the microcontroller 14 are kept turned on and working properly. For the system-on-chip 17, the long-term power supply module 18, the power supply 19, and other functional modules of the computer, they are all kept in the non-operating state. At this time, the long-term power supply module 18 (standby power) is used to supply power to some circuits of the system-on-chip 17 for processing the startup logic. After the microcontroller 14 starts the long-term power supply module 18, the long-term power supply module 18 supplies power to this part of the circuit of the system-on-chip 17, so that the system-on-chip 17 responds to the startup signal of the microcontroller 14 and turns on the power supply 19. It should be noted that when the power supply 19 supplies power to other parts of the computer at this time, it will also supply power to other module circuits in the system-on-chip 17 except for the part of the circuit for processing the startup logic. The operation of the entire computer is mainly powered by the power supply 19, and there are generally multiple power supplies 19. The long-term power supply module 18 is only used to supply power to some circuits of the system-on-chip 17 for processing the startup logic, and the standby power supply module 15 is only used to supply power to the microcontroller 14.

[0078] When the microcontroller 14 detects that the system-on-chip 17 is in the non-operating state, it determines that the computer is in the standby state. At this time, it will configure the switching switch 12 through the GPIO interface and connect each wake-up link to the microcontroller 14. Refer to Figure 3, the microcontroller 14 can configure the switching switch 12 through the GPIO interface so that the switching switch 12 connects the wake-up link to the microcontroller 14. When the user needs to wake up the computer and switch the computer from the computer standby state to the normal working state, the user operates the interface connector 11 of any wake-up link connected to the external device 16 to input a wake-up signal, and the wake-up signal is transmitted to the microcontroller 14 through the connector of the corresponding wake-up link, the hub 13, and the switching switch 12. Taking the keyboard as an example of the external device 16, the user can trigger the wake-up signal through the corresponding keys of the keyboard to wake up the computer through the wake-up signal. Since there are multiple wake-up links, when the interface connector 1 is occupied by other devices, the computer can also be woken up through the wake-up links provided by other interface connectors 11, reducing the usage restrictions for waking up the computer.

[0079] Based on the received wake-up signal, the microcontroller 14 enables the long power supply module 18 of the system-on-chip 17 in response to the wake-up signal of the external device 16, so that the long power supply module 18 of the system-on-chip 17 supplies power to the system-on-chip 17, and sends a power-on signal to the system-on-chip 17, so that the system-on-chip 17 enables the power supply 19 based on the power-on signal to supply power for the normal working state of the computer through the power supply 19.

[0080] Among them, the microcontroller 14 first sends an enable signal to the long power supply module 18 to enable the long power supply module 18. After the long power supply module 18 starts, it starts to provide basic power supply to the system-on-chip 17. At this time, the microcontroller 14 sends a power-on signal to the system-on-chip 17 to start the system-on-chip 17. After the system-on-chip 17 starts, based on the power-on signal, it sends an enable signal to each power supply 19 of the computer to turn on each power supply 19 to supply power for each module of the computer including the system-on-chip 17 in the normal working state.

[0081] After completing the above computer wake-up operation, the microcontroller 14 reconfigures the switching switch 12 through the GPIO interface when determining that the system-on-chip 17 switches to the non-operating state by detecting the working state of the system-on-chip 17, so that the switching switch 12 connects the wake-up link to the system-on-chip 17, and the input signal of the external device 16 is received and processed by the system-on-chip 17 for computer instruction and data input.

[0082] In this way, multiple wake-up links are used to wake up the computer. The user can select any interface connector 11 to access the external device 16 according to the actual usage scenario, and then use the external device 16 to wake up the computer, reducing the usage limitations of the computer and improving the flexibility and reliability of computer wake-up. Moreover, by executing the computer wake-up operation through the microcontroller 14, the microcontroller 14 can remain off in the standby state of the computer, achieving a more energy-saving and lower-power consumption effect. In addition, since the microcontroller 14 remains always-on, even after the external device 16 is re-plugged, there will be no loss of enumerated data, and the microcontroller 14 can still recognize the wake-up signal of the external device 16 and execute the wake-up operation. For industrial scenarios where the computer often needs to switch to the standby state, external devices 16 such as a mouse and a keyboard can be connected to the computer, and the computer can be turned on by inputting a wake-up signal.

[0083] Based on the above embodiments, optionally, the computer includes a switch 12. The hub 13 is connected to the microcontroller 14 or the system-on-chip 17 through the switch 12.

[0084] Refer to Figure 3 , one end of the switch 12 is connected to the hub 13, and the other end is switched to connect to the microcontroller 14 and the system-on-chip 17. In the standby state of the computer, for any wake-up signal input through the wake-up link transmitted by the hub 13, it is transmitted to the microcontroller 14 for processing to execute the computer wake-up operation. When the computer switches from the standby state to the normal working state and the system-on-chip switches to the running state, the microcontroller 14 configures the switch 12 to be connected to the system-on-chip 17. At this time, each wake-up link is not used to wake up the computer but is used as a data and instruction input link for the computer. External devices 16 (such as a mouse and a keyboard) are connected to the system-on-chip 17 through the wake-up link and the switch 12 in the normal working state to input signals to the system-on-chip 17 to implement corresponding service functions of the computer. In this way, by connecting the hub 13 through the switch 12, each wake-up link can be switched to connect to the microcontroller 14 or the system-on-chip 17, realizing the functions in the corresponding running state of the computer, achieving unified switching management of input signals of multiple wake-up links, and simplifying the circuit setting.

[0085] On the other hand, refer to Figure 4 , the computer includes multiple switches 12. One end of each switch 12 is respectively connected to the corresponding interface connector 11, and the other end is connected to the system-on-chip 17 or connected to the microcontroller 14 through the hub 13. Since Figure 3The connection mode of the hub 13 shown in the figure to the wake-up link. In the standby state of the computer, the switching switch 12 will switch all wake-up links to be connected to the microcontroller 14. In this case, all wake-up links share this hub 13, which requires a relatively high bandwidth for the links. Based on this, as Figure 4 shown, the corresponding number of switching switches 12 is set according to the number of interface connectors 11. The switching switch 12 is connected to the microcontroller 14 through the connector or directly connected to the system-on-chip 17 according to the GPIO configuration of the microcontroller 14. In this way, in the standby state of the computer, the microcontroller 14, in the standby state of the computer, by configuring the switching switch 12, selects to connect the corresponding wake-up link to the microcontroller 14 through the hub 13. For the other unconfigured wake-up links, they can still maintain the connection with the system-on-chip 17. In this way, it can be avoided that multiple wake-up links share this hub 13, ensuring the normal use of the bandwidth during the computer wake-up process, and further improving the stability and reliability of the computer wake-up.

[0086] It should be noted that in the embodiments of the present application, the switching switch 12 only needs to be ensured to be set on the wake-up link and switch the wake-up link to connect to the microcontroller 14 or the system-on-chip 17. In actual applications, the setting quantity and setting position of the switching switch 12 are not fixedly limited and will not be elaborated here.

[0087] Based on the above embodiments, optionally, before the microcontroller 14 wakes up the system-on-chip 17 in response to the wake-up signal of the external device 16, it further includes: receiving the input signal of the external device 16, and determining that the received input signal is a wake-up signal when the received input signal is a preset signal value.

[0088] In order to avoid the mis-triggering of the wake-up signal and improve the accuracy of the computer wake-up operation, the present application uses a preset signal value. Only when the signal value of the input signal is equal to this preset signal value, the input signal is determined to be a wake-up signal. The rest of the input signals are considered invalid signals and no response is made. In this way, it can ensure the accurate triggering of the wake-up signal and reduce the situation of the computer being wrongly woken up due to misoperation.

[0089] Among them, the preset signal value is the key signal value of any single key or a combination of multiple keys of the external device 16 (such as a mouse or keyboard). By providing a customized wake-up signal key, the security of computer wake-up is further improved. Before this, when the computer is in the normal working state, the user sets the wake-up signal key setting process to customize and input the key signal value of a single key or a combination of multiple keys as the preset signal value. The system-on-chip 17 writes the received preset signal value into the microcontroller 14 for subsequent comparison of the wake-up signal when the computer wakes 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.

[0090] It should be noted that in practical applications, the above preset signal value can also be the signal value of double-clicking or even multiple clicks of a single key or multiple keys, or the signal value of long pressing a single key or multiple keys. For example, by long pressing the right mouse button to trigger the computer wake-up signal. The microcontroller 14 will determine whether it matches the preset signal value by detecting the signal value of the current input signal. If the match is successful and it is confirmed as the wake-up signal, an enable signal will be sent to the long power supply module 18 to turn on the basic power supply of the system-on-chip 17. Otherwise, if the match fails, it is considered that the current input signal is not the wake-up signal and the input signal is ignored. The embodiments of the present application do not make a fixed limitation on the specific wake-up signal triggering method and will not be elaborated here.

[0091] Optionally, when it is detected that the system-on-chip 17 switches from the non-operating state to the operating state, the microcontroller 14 is specifically configured to receive the power supply state signal of the power supply 19 and the operating state signal of the system-on-chip 17, and determine that the system-on-chip 17 switches from the non-operating state to the operating state based on the power supply state signal and the operating state signal.

[0092] Exemplarily, referring to Figure 3In step a9 shown, the microcontroller 14 obtains the operating status signal of the system-on-chip 17 through the SLP_S3, SLP_S4, and SLP_S5 pins by connecting the SLP_S3, SLP_S4, and SLP_S5 pins of the system-on-chip 17 and the "POWER GOOD" pin of the power supply 19, and obtains the power supply status signal of the power supply 19 through the "POWER GOOD" pin. When the power supply status signal is normal power supply and the operating status signal is the operating status, it is determined that the system-on-chip 17 has switched from the non-operating state to the operating state. Similarly, when the system-on-chip 17 switches from the operating state to the non-operating state, the microcontroller 14 also determines that the system-on-chip 17 is in the non-operating state based on the above power supply status signal and operating status signal, and then configures the switch 12 to connect the USB signal link to the microcontroller 14. By detecting the corresponding pin signals of the system-on-chip 17 and the power supply 19, the accurate determination of the operating state of the system-on-chip 17 can be achieved. In practical applications, according to different pin settings, the operating state of the system-on-chip 17 can be adaptively determined from the corresponding pin signals. The embodiment of the present application does not impose a fixed limit on the determination method of the operating state of the system-on-chip 17, and will not be elaborated here one by one.

[0093] On the other hand, when the microcontroller 14 sends a power-on signal to the system-on-chip 17, it includes: after sending an enable signal to the long power supply module 18, delaying a set period of time to send the power-on signal to the system-on-chip 17.

[0094] It can be understood that in the computer standby state, the system-on-chip 17 is in the non-operating state and cannot process the computer power-on logic. At this time, if the power-on signal is immediately sent to the system-on-chip 17 after enabling the long power supply module 18, it may not be able to process the power-on signal due to the fact that some circuits for processing the power-on logic of the system-on-chip 17 have not been stably powered on, resulting in the failure of the computer to wake up. Based on this, after sending an enable signal to the long power supply module 18, the power-on signal is sent to the system-on-chip 17 after delaying a set period of time to delay the wake-up of the system-on-chip 17 after enabling the long power supply module 18. After the long power supply module 18 stably powers the part of the circuit for processing the power-on logic of the system-on-chip, the power-on signal is sent to the system-on-chip 17 to ensure the stability and reliability of the computer wake-up operation.

[0095] As described above, when the computer is in the standby state, an external device 16 is connected through a changeover switch 12 and any one of the wake-up links; in response to a wake-up signal from the external device 16, the system-on-chip 17 is woken up to switch the computer to the normal working state for operation; when it is detected that the system-on-chip 17 switches from the computer standby state to the normal working state, the changeover switch 12 is controlled to be connected to the system-on-chip 17 so that the system-on-chip 17 can access the external devices 16 connected by each wake-up link. In this way, the computer can be woken up through multiple wake-up links, avoiding the situation where the computer cannot perform the wake-up operation due to a single wake-up link being occupied, and improving the flexibility and reliability of computer wake-up. Moreover, the system-on-chip 17 does not need to enumerate the external devices 16 in advance, further improving the flexibility of computer wake-up. At the same time, by using the standby system-on-chip 17, the computer power consumption can be further reduced, and the energy-saving effect of computer standby can be improved.

[0096] An embodiment of the present application further provides a computer system, as Figure 5 shown, including an external device 16 and the computer 10 as described above. The external device 16 is used to access the computer 10 and input a wake-up signal to the computer 10 to wake up the computer through the wake-up signal and switch the system-on-chip of the computer 10 from the non-operating state to the operating state.

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

[0098] An embodiment of the present application further provides an integrated circuit, which includes:

[0099] One or more processors;

[0100] A memory;

[0101] A program, where 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 computer wake-up method as described above.

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

[0103] An embodiment of the present application further provides a storage medium containing computer-executable instructions. When the computer-executable instructions are executed by a computer processor, they are used to execute a computer wake-up method, which includes: connecting an external device through a switching switch and any wake-up link when the system-on-chip is in a non-operating state, and waking up the system-on-chip in response to a wake-up signal from the external device so that the system-on-chip switches to an operating state; when it is detected that the system-on-chip switches from a non-operating state to an operating state, controlling the switching switch to connect to the system-on-chip so that the system-on-chip accesses the external devices connected to each wake-up link.

[0104] 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. The storage medium may also include other types of memory or combinations thereof. Additionally, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system that is connected to the first computer system through a network (such as the Internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media located in different locations (such as in different computer systems connected through a network). The storage medium may store program instructions executable by one or more processors (such as specifically implemented as a computer program).

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

[0106] An embodiment of the present application further provides a computer program product, which includes computer instructions. When the computer instructions run on an electronic device, the electronic device is caused to execute the computer wake-up method described in the above embodiment.

[0107] The computer, computer system, computer wake-up device, integrated circuit, and storage medium provided in the above embodiments can execute the computer wake-up method provided by any embodiment of the present application. For technical details not described in detail in the above embodiments, reference can be made to the computer wake-up method provided by any embodiment of the present application.

[0108] The above is only the preferred embodiment of the present application and the technical principles applied. The present application is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope 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. Without departing from the concept of the present application, it may also include more other equivalent embodiments, and the scope of the present application is determined by the scope of the claims.

Claims

1. A computer, characterized in that, comprising: a system-on-chip, a plurality of interface connectors, a hub, a switch, a microcontroller, and a standby power supply module; when the computer is in a non-operating state, the power consumption of the microcontroller is less than that of the system-on-chip; each of the plurality of interface connectors is connected to the hub, and each interface connector and the hub construct a wake-up link, and the wake-up link is used to support communication between the corresponding external device connected thereto and the microcontroller, or to support communication between the corresponding external device connected thereto and the system-on-chip; the switch is disposed on the wake-up link and switches the wake-up link to connect to the microcontroller or the system-on-chip according to different operating states of the system-on-chip; the microcontroller is electrically connected to the system-on-chip and the standby power supply module; when the system-on-chip is in a non-operating state, the standby power supply module keeps powering the microcontroller; the microcontroller is configured to connect to an external device through the switch and any one of the wake-up links when the system-on-chip is in a non-operating state, and wake up the system-on-chip in response to a wake-up signal from the external device, so that the system-on-chip switches to an operating state; the microcontroller is further configured to control the switch to connect to the system-on-chip when it detects that the system-on-chip switches from a non-operating state to an operating state, so that the system-on-chip accesses the external devices connected to each of the wake-up links.

2. The computer according to claim 1, characterized in that, the computer includes one switch, and the hub is connected to the microcontroller or the system-on-chip through the switch.

3. The computer according to claim 1, characterized in that, the computer includes a plurality of switches, one end of each switch is respectively connected to the corresponding interface connector, and the other end is connected to the system-on-chip, or is connected to the microcontroller through the hub.

4. The computer according to claim 1, characterized in that, the computer further includes a long-term power supply module and a power supply, the long-term power supply module is connected to the system-on-chip and the microcontroller, the power supply is connected to the system-on-chip and the microcontroller, and the power supply is used to power the system-on-chip and the microcontroller when the system-on-chip is in an operating state; the long-term power supply module is used to power the system-on-chip when the system-on-chip is in a non-operating state; when the system-on-chip is in a non-operating state and is connected to an external device through the switch and any one of the wake-up links and wakes up the system-on-chip in response to a wake-up signal from the external device, the microcontroller is specifically configured to: when the system-on-chip is in a non-operating state, determine to switch the system-on-chip to an operating state in response to a wake-up signal from the external device; 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 power the system-on-chip; After determining that the long - power - supply module has stably powered the system - on - chip, send a power - on signal to 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.

5. The computer according to claim 1, wherein, before waking up the system - on - chip in response to a wake - up signal from an external device, the micro - controller is further configured to: receive an input signal from the external device, and when the received input signal is a preset signal value, determine that the received input signal is the wake - up signal.

6. A computer wake - up method applied to the computer according to any one of claims 1 - 5, wherein, it includes: connect an external device through a switch and any one of the wake - up links when the system - on - chip is in a non - operating state, and wake up the system - on - chip in response to a wake - up signal from the external device, so that the system - on - chip switches to an operating state; when detecting that the system - on - chip switches from a non - operating state to an operating state, control the switch to connect to the system - on - chip, so that the system - on - chip accesses the external devices connected by each of the wake - up links.

7. The computer wake - up method according to claim 6, wherein, the computer further includes a long - power - supply module and a power supply. The long - power - supply module is connected to the system - on - chip and the micro - controller, and the power supply is connected to the system - on - chip and the micro - controller. The power supply is used to supply power to the system - on - chip and the micro - controller when the system - on - chip is in an operating state; the long - power - supply module is used to supply power to the system - on - chip when the system - on - chip is in a non - operating state; the step of connecting an external device through a switch and any one of the wake - up links when the system - on - chip is in a non - operating state, and waking up the system - on - chip in response to a wake - up signal from the external device, so that the system - on - chip switches to an operating state includes: when the system - on - chip is in a non - operating state, determine to switch the system - on - chip to an operating state in response to a wake - up signal from the external device; generate and send 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 determining that the long - power - supply module has stably powered the system - on - chip, send a power - on signal to 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.

8. The computer wake - up method according to claim 6, wherein, before waking up the system - on - chip in response to a wake - up signal from the external device, it further includes: receive an input signal from the external device, and when the received input signal is a preset signal value, determine that the received input signal is the wake - up signal.

9. A computer system includes an external device and the computer according to any one of claims 1 - 5 above, wherein, The external device is used to access the computer, input a wake-up signal to the computer, wake up the computer through the wake-up signal, and switch the system-on-chip of the computer from a non-operating state to an operating state.

10. An integrated circuit, wherein, comprising: one or more processors; a memory; 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 computer wake-up method according to any one of claims 6-8.

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

Citation Information

Patent Citations

  • Micro-control unit awakening system and method, intelligent cabin and automobile

    CN114815675A

  • Circuit for awakening host by peripheral equipment and electronic equipment

    CN115525591A

  • Low-power-consumption control method and system of vehicle-mounted information entertainment terminal, medium and equipment

    CN116279217A

  • System awakening method, electronic equipment and computer readable storage medium

    CN117130671A

  • Voice wake-up device and method of controlling same

    US20220199072A1