Control system, control method, electronic equipment and storage medium
Through the combination of multiple control switches and target clock units, the power consumption of the hardware unit of the electronic device is refined, which solves the problem of low power consumption when the electronic device is shut down and standby, and realizes the requirements of the Erp Lot6 standard.
Patent Information
- Application Number
- CN202510215554.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-07-08
AI Technical Summary
The prior art is difficult to meet the low power consumption requirements of the Erp Lot6 standard when electronic devices are shut down and standby, especially the power consumption distribution method of motherboards and power adapters is difficult to reach the limit of 0.3W.
Using a combination of multiple control switches, target clock units and control units, the power consumption of the target hardware unit of the electronic device in the shutdown state is refined through the target clock signal, including switching of DC S5 low-power mode and AC S5 low-power mode.
It realizes low-power control of electronic devices in shutdown state, meets the requirements of the Erp Lot6 standard, and reduces overall power consumption.
Smart Images

Figure CN120276280A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technologies, and in particular, to a control system, a control method, an electronic device, and a storage medium. Background Art
[0002] With people's increasing attention to environmental protection, improving energy efficiency and promoting sustainable human development have become an important research direction. How to reduce the power consumption of electronic products such as computers and tablet computers has also become an important issue. For example, the Erp Lot6 standard introduced by the European Union requires that the maximum power consumption of electronic products in standby mode be changed from the previous 0.5W to no more than 0.3W. Generally, for personal computer products, such power consumption requirements can be allocated to the motherboard and the power adapter. However, it is still difficult to meet the power consumption requirements of the Erp Lot6 standard in this way. Therefore, how to design a lower power consumption solution for electronic devices has become an urgent technical problem to be solved. Summary of the Invention
[0003] The present disclosure provides a control system, a control method, an electronic device, and a storage medium.
[0004] According to a first aspect of the present disclosure, a control system is provided, the system including:
[0005] A multi-way control switch;
[0006] A target clock unit for providing a target clock signal for a control unit of an electronic device;
[0007] The control unit is configured to control the power consumption of a target hardware unit of the electronic device in a first state based on the target clock signal and the multi-way control switch.
[0008] In an implementable embodiment, the control unit is further configured to, when it is detected that the electronic device is in the first state, determine whether a target power consumption adjustment function is enabled; if so, detect a target clock signal generated by a target clock unit of the electronic device; and adjust a power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
[0009] In an implementable embodiment, the control unit is further configured to, if the target clock signal indicates that the target power consumption adjustment function is set with a target power consumption adjustment task, adjust a power consumption mode of the target hardware unit of the electronic device according to a set value included in the target power consumption adjustment task; if the target clock signal does not indicate that the target power consumption adjustment function is set with a target power consumption adjustment task, control the target hardware unit of the electronic device to enter a second low power consumption mode.
[0010] According to a second aspect of the present disclosure, a control method is provided, including:
[0011] When it is detected that the electronic device is in the first state, determine whether the target power consumption adjustment function is enabled;
[0012] If so, detect the target clock signal generated by the target clock unit of the electronic device;
[0013] According to the target clock signal, adjust the power consumption mode of the target hardware unit of the electronic device.
[0014] In an implementable manner, the electronic device includes a multi-way control switch, and the multi-way control switch is used to adjust the power consumption mode of the target hardware unit of the electronic device.
[0015] In an implementable manner, the method further includes:
[0016] Determine the power supply mode type of the electronic device;
[0017] The adjusting the power consumption mode of the target hardware unit of the electronic device according to the target clock signal includes:
[0018] If the power supply mode type is the DC mode, control the target hardware unit of the electronic device to enter the first low power consumption mode;
[0019] If the power supply mode type is the AC mode, adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
[0020] In an implementable manner, the adjusting the power consumption mode of the target hardware unit of the electronic device according to the target clock signal includes:
[0021] If the target clock signal indicates that the target power consumption adjustment function is set with a target power consumption adjustment task, adjust the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption adjustment task;
[0022] If the target clock signal does not indicate that the target power consumption adjustment function is set with a target power consumption adjustment task, control the target hardware unit of the electronic device to enter the second low power consumption mode.
[0023] In an implementable manner, the method further includes:
[0024] When it is detected the target clock wake-up signal generated by the target clock unit, control the electronic device to be in the second state.
[0025] According to the third aspect of the present disclosure, there is provided an electronic device, including:
[0026] At least one processor; and
[0027] A memory communicatively connected to the at least one processor;
[0028] Wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described in the present disclosure.
[0029] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method described in the present disclosure.
[0030] Using the control system, control method, electronic device and storage medium provided in the embodiments of the present disclosure, the control system includes a multi-way control switch, a target clock unit and a control unit. The target clock unit can be used to provide a target clock signal for the control unit of the electronic device, and the control unit can be used to control the power consumption of the target hardware unit of the electronic device in the first state based on the target clock signal and the multi-way control switch. Through the multi-way control switch, the target clock unit and the control unit, fine control of the power consumption of the hardware unit of the electronic device is achieved, thereby reducing the overall power consumption of the electronic device.
[0031] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] By referring to the accompanying drawings and reading the following detailed description, the above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood. In the drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, wherein:
[0033] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0034] Figure 1 Shows a schematic structural diagram of a control system provided by an embodiment of the present application;
[0035] Figure 2 Shows a schematic flowchart of a control method provided by an embodiment of the present application;
[0036] Figure 3 Shows a schematic structural diagram of a control device provided by an embodiment of the present application;
[0037] Figure 4 Shows a schematic diagram of the composition structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0038] In order to make the objectives, features, and advantages of the present disclosure more obvious and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present disclosure.
[0039] Since the current method of allocating the power consumption requirements of electronic devices to the main board and the power adapter is difficult to meet the power consumption requirements of the ErpLot6 standard. Therefore, in order to reduce the power consumption of electronic devices, the present application provides a control system, a control method, an electronic device, and a storage medium. The electronic device provided by the present application can be devices such as mobile phones, computers, and tablet computers.
[0040] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
[0041] Figure 1 FIG. shows a schematic structural diagram of a control system provided by an embodiment of the present application, as Figure 1 shown, the system includes:
[0042] A multi-way control switch 101;
[0043] A target clock unit 102 for providing a target clock signal for the control unit of the electronic device;
[0044] The control unit 103 is configured to control the power consumption of the target hardware unit of the electronic device in the first state based on the target clock signal and the multi-way control switch.
[0045] The control system in the present disclosure can be deployed in electronic devices such as mobile phones and computers. The target hardware unit may include a CPU, a GPU, etc. The first state is the shutdown state.
[0046] In the present disclosure, a control switch can be added between the controller and each target hardware unit. When the electronic device is in the shutdown state, the controller can open or close the corresponding target hardware unit by controlling the opening and closing of the multi-way control switch, thereby reducing the power consumption of the electronic device when it is shut down.
[0047] Using the control system provided by the embodiments of the present disclosure, the control system includes a multi-way control switch, a target clock unit, and a control unit. The target clock unit can be used to provide a target clock signal for the control unit of the electronic device, and the control unit can be used to control the power consumption of the target hardware unit of the electronic device in the first state based on the target clock signal and the multi-way control switch. Through the multi-way control switch, the target clock unit, and the control unit, fine-grained control of the power consumption of the hardware unit of the electronic device is achieved, thereby reducing the overall power consumption of the electronic device.
[0048] In a possible implementation manner, the control unit is specifically configured to determine whether the target power consumption adjustment function is enabled when it is detected that the electronic device is in the first state; if so, detect the target clock signal generated by the target clock unit of the electronic device; and adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
[0049] In the present disclosure, the power supply of the electronic device includes the S0 state and the S5 state. The S0 state represents the power supply working state of the electronic device, that is, the electronic device is in the powered-on state. In the S0 state, target hardware units such as the CPU and memory of the electronic device can be in an active state. The S5 state represents the shutdown state of the electronic device. In the S5 state, although the electronic device is shut down, the power management circuit of the electronic device can still maintain power supply to keep some target hardware in an active state so that the electronic device can be quickly restored when it is powered on next time.
[0050] In the present disclosure, a multi-way control switch can be added. The multi-way control switch is used to dynamically control the turning on and off of the target hardware unit of the electronic device, so that the operating system of the electronic device can enter a lower power consumption mode. The target clock unit can provide a clock signal for the control unit. The clock signal can make the working time calculation accuracy of the control unit higher.
[0051] In the present disclosure, the target power consumption adjustment function can finely adjust the on or off state of each target hardware in the shutdown state of the electronic device to achieve lower system power consumption. Specifically, the user can set whether to enable the target power consumption adjustment function through Task Schedule in the operating system. If the user sets to enable the target power consumption adjustment function, after the electronic device is shut down, the operating system can detect the target clock signal generated by the target clock unit of the electronic device and adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal. Thus, the power consumption of the electronic device in the shutdown state is lower.
[0052] In a possible implementation manner, the control unit is further configured to, if the target clock signal indicates that a target power consumption regulation task is set for the target power consumption regulation function, adjust the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption regulation task; if the target clock signal does not indicate that a target power consumption regulation task is set for the target power consumption regulation function, control the target hardware unit of the electronic device to enter the second low-power mode.
[0053] In the present disclosure, when the user sets to enable Task Schedule in the operating system, the user can further set to keep some target hardware units to continue working when the electronic device is powered off. The types and parameters of the reserved target hardware units can be set by the user according to the user's needs.
[0054] In the present disclosure, the second low-power mode may include the DS5 low-power mode. The DS5 low-power mode is a mode in which, when the electronic device is powered off, the control unit controls some target hardware units to turn off through a multi-way control switch, so that the power-off power consumption of the electronic device is lower.
[0055] In the present disclosure, the DS5 low-power mode includes the DC S5 low-power mode and the AC S5 low-power mode. When the electronic device is powered off, that is, when the operating system enters the power-off state, if the power supply is in the DC (direct current) mode, the control unit can control the CPU to enter the DCS5 low-power mode according to the DC S5 low-power mode timing; if the power supply is in the AC (alternating current) mode and the user sets not to enable the target power consumption regulation function and the control unit cannot read the target clock signal, the control unit can execute the AC S5 low-power mode timing to control the CPU to enter the AC S5 low-power mode; if the power supply is in the AC mode and the user sets to enable the target power consumption regulation function, the control unit can read the target clock signal and adjust the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption regulation task.
[0056] Specifically, adjusting the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption adjustment task may include: the operating system reads the set values of STV (Stochastic Transfer Value, a technology for evaluating and optimizing data transmission and storage efficiency) and GWS (Global Workspace System, a computing architecture that supports parallel processing of multiple users and tasks); if there are set values for STV and GWS, monitor the corresponding target clock signal according to the set data; perform corresponding hardware control operations according to the target clock signal. For example, when the electronic device is in the shutdown state, if the operating system monitors that the target clock signal is a high-level signal, execute the normal AC S5 timing, keep the CPU S5 in the on state, and the operating system enters the normal S5 mode. At this time, the operating system has the RTCwake (automatic wake-up function); if the operating system monitors that the target clock signal is a low-level signal, execute the AC DS5 timing, turn off the CPU S5, and the operating system enters the AC DS5 low-power mode.
[0057] The RTC wake function means that the operating system can automatically wake up from the low-power state at a preset time or under preset conditions. By adjusting the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption adjustment task, the operating system can be automatically woken up, enabling the electronic device to save power without continuous operation. The corresponding time period or time node can be set as the preset time according to actual needs. For example, if the preset time is set to the 2nd hour after shutdown, the electronic device can perform a power wake-up operation at the 2nd hour after shutdown. The preset conditions can be set as time or power consumption, etc. For example, the preset condition can be set that the shutdown power consumption of the electronic device reaches a specified power value, and the electronic device can automatically wake up from the low-power state.
[0058] In another possible implementation, different clock sources can deliver clock signals to the control unit. In the present disclosure, different clock sources can be switched through the RTC_CLK MUX (multiplexer). The RTC_CLK MUX can be used to select and manage clock signals, switch between different clock sources, and provide the required clock signal for the operating system. When the electronic device is in the shutdown state, if the operating system detects that the target clock signal is a high-level signal, the RTC_CLK MUX can also be turned on, and the clock source can be switched to the OSC (oscillator) path through the RTC_CLK MUX, so that signals from different clock sources can be input to the control unit; the control unit can read the value of STV (Stochastic Transfer Value) / STP (Spanning Tree Protocol) to obtain the timer end time. The control unit executes the AC DS5 power timing according to the timer end time, and the operating system enters the DS5 low-power mode; when the timer end time arrives, the control unit can wake up the operating system and execute the normal startup timing; after the operating system is woken up, each target hardware can resume to the normal operating state.
[0059] Figure 2 FIG. shows a schematic flowchart of a control method provided by an embodiment of the present application, as Figure 2 shown, the method includes:
[0060] S201, when it is detected that the electronic device is in the first state, determine whether the target power consumption adjustment function is enabled.
[0061] S202, if so, detect the target clock signal generated by the target clock unit of the electronic device.
[0062] S203, adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
[0063] In the present disclosure, the first state of the electronic device can be the shutdown state. The user can preset whether to enable the target power consumption adjustment function. The target power consumption adjustment function can enable the electronic device to finely adjust the on / off state of each target hardware in the shutdown state to achieve lower system power consumption. Specifically, the user can set whether to enable the target power consumption adjustment function through the TaskSchedule in the operating system. If the target power consumption adjustment function is enabled, the control unit can monitor whether the target clock generates a target clock signal, and the target clock signal is used to instruct the control unit to turn on or off the target hardware unit of the electronic device, thereby realizing the adjustment of the power consumption mode of the target hardware unit of the electronic device.
[0064] In the present disclosure, a control switch can be added between the controller and each target hardware unit. When the electronic device is in the shutdown state, the controller can open or close the corresponding target hardware unit by controlling the opening and closing of the multi-channel control switch, thereby reducing the power consumption of the electronic device when it is shut down. Specifically, when the electronic device is in the shutdown state, the target clock can indicate the control unit to turn on the target hardware unit of the electronic device by generating a target clock signal. The target hardware unit can include hardware units such as the CPU, GPU, and memory of the electronic device.
[0065] Adopting the control method provided by the embodiment of the present disclosure, when it is detected that the electronic device is in the first state, it is determined whether the target power consumption adjustment function is enabled. If so, the target clock signal generated by the target clock unit of the electronic device is detected, and according to the target clock signal, the power consumption mode of the target hardware unit of the electronic device is adjusted. Through the target power consumption adjustment function, the refined control of the power consumption of the hardware unit of the electronic device is realized, thereby reducing the overall power consumption of the electronic device.
[0066] The control method provided in the present disclosure is applied to the control unit of the electronic device. The electronic device further includes a multi-channel control switch, and the multi-channel control switch is used to adjust the power consumption mode of the target hardware unit of the electronic device.
[0067] In the present disclosure, the control unit can also determine the power supply mode type of the electronic device; the adjusting the power consumption mode of the target hardware unit of the electronic device according to the target clock signal may include steps A1 - A2:
[0068] Step A1, if the power supply mode type is the DC mode, control the target hardware unit of the electronic device to enter the first low-power mode.
[0069] In the present disclosure, if the power supply mode type is the DC mode, the control unit can control to turn off each target hardware unit of the electronic device according to the hardware settings corresponding to the DC mode, so that the target hardware unit enters the first low-power mode.
[0070] Step A2, if the power supply mode type is the AC mode, adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
[0071] If the power supply mode type is the AC mode, the control unit monitors the target clock signal generated by the clock unit. If the target clock signal is a high-level signal, it can control to turn off each target hardware unit of the electronic device to enter the timed wake-up mode according to the hardware settings corresponding to the AC mode, thereby reducing the system power consumption.
[0072] In a possible implementation manner, adjusting the power consumption mode of the target hardware unit of the electronic device according to the target clock signal may include steps B1 - B2:
[0073] Step B1, if the target clock signal indicates that the target power consumption adjustment function is set with a target power consumption adjustment task, adjust the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption adjustment task.
[0074] In the present disclosure, when the user sets to enable the target power consumption adjustment function, the user can set whether each target hardware unit is turned on when the device is shut down as the target power consumption adjustment task. After the electronic device is shut down, the control unit can turn off the target hardware unit whose set value indicates the off state according to the set state corresponding to each target hardware unit in the target power consumption adjustment task, so as to reduce the power consumption of the operating system.
[0075] Step B2, if the target clock signal does not indicate that the target power consumption adjustment function is set with a target power consumption adjustment task, control the target hardware unit of the electronic device to enter the second low power consumption mode.
[0076] In the present disclosure, if the user does not preset the target power consumption adjustment task in advance, the control unit can turn off the target hardware unit with high power consumption according to the power consumption state of the operating system, so that the operating system is in the second power consumption mode.
[0077] In the present disclosure, when the target clock wake-up signal generated by the target clock unit is monitored, the control unit can control the electronic device to be in the second state. The second state is the power-on state. In the present disclosure, the end time of the timer can be set. When the end time of the timer arrives, the control unit can wake up the operating system to execute the normal power-on timing sequence, and each target hardware can return to the normal operating state after the operating system is woken up.
[0078] Based on the same inventive concept, according to the control method provided in the above embodiments of the present disclosure, correspondingly, another embodiment of the present disclosure further provides a control device, and its structural schematic diagram is as Figure 3 shown, specifically including:
[0079] A status monitoring module 301, configured to determine whether the target power consumption adjustment function is enabled when it is monitored that the electronic device is in the first state;
[0080] A signal generation unit 302, configured to, if so, detect the target clock signal generated by the target clock unit of the electronic device;
[0081] A power consumption adjustment module 303, configured to adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
[0082] By using the control device provided in the embodiments of the present disclosure, when it is detected that the electronic device is in the first state, it is determined whether the target power consumption adjustment function is enabled. If so, the target clock signal generated by the target clock unit of the electronic device is detected, and based on the target clock signal, the power consumption mode of the target hardware unit of the electronic device is adjusted. Through the target power consumption adjustment function, fine control of the power consumption of the hardware unit of the electronic device is achieved, thereby reducing the overall power consumption of the electronic device.
[0083] In an implementable manner, the electronic device includes a multi-way control switch, and the multi-way control switch is used to adjust the power consumption mode of the target hardware unit of the electronic device.
[0084] In an implementable manner, the power consumption adjustment module 303 is further configured to determine the power supply mode type of the electronic device;
[0085] The power consumption adjustment module 303 is specifically configured to, if the power supply mode type is a DC mode, control the target hardware unit of the electronic device to enter the first low power consumption mode; if the power supply mode type is an AC mode, adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
[0086] In an implementable manner, the power consumption adjustment module 303 is specifically configured to, if the target clock signal indicates that the target power consumption adjustment function is set with a target power consumption adjustment task, adjust the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption adjustment task; if the target clock signal does not indicate that the target power consumption adjustment function is set with a target power consumption adjustment task, control the target hardware unit of the electronic device to enter the second low power consumption mode.
[0087] In an implementable manner, the power consumption adjustment module 303 is further configured to control the electronic device to be in the second state when it detects the target clock wake-up signal generated by the target clock unit.
[0088] According to the embodiments of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0089] Figure 4FIG. shows a schematic block diagram of an exemplary electronic device 400 that can be used to implement embodiments of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as, for example, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely exemplary and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0090] As Figure 4 shown, the device 400 includes a computing unit 401 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0091] A plurality of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a magnetic disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0092] The computing unit 401 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 executes the various methods and processes described above, such as the control method. For example, in some embodiments, the control method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the computing unit 401, one or more steps of the control method described above can be executed. Alternatively, in other embodiments, the computing unit 401 can be configured to execute the control method by any other suitable means (e.g., by means of firmware).
[0093] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0094] The program code for implementing the methods of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to the processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the program code is executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code can be executed entirely on the machine, partially on the machine, executed partially on the machine and partially on a remote machine as an independent software package, or executed entirely on a remote machine or server.
[0095] In the context of this disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0096] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0097] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0098] A computer system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The client-server relationship is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, can also be a server of a distributed system, or a server incorporating a blockchain.
[0099] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0100] In addition, the terms "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of this disclosure, "a plurality of" means two or more, unless otherwise specifically defined.
[0101] As described above, the above are only specific embodiments of this disclosure, but the protection scope of this disclosure is not limited thereto. Any person skilled in the art within the technical scope disclosed in this disclosure can easily think of changes or substitutions, which should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be subject to the protection scope of the claimed rights.
Claims
1. A control system, characterized in that, The system includes: A multi-way control switch; A target clock unit for providing a target clock signal to the control unit of the electronic device; The control unit is configured to control the power consumption of the target hardware unit of the electronic device in the first state based on the target clock signal and the multi-way control switch.
2. The system according to claim 1, wherein The control unit is further configured to determine whether the target power consumption adjustment function is enabled when it is detected that the electronic device is in the first state; if so, detect the target clock signal generated by the target clock unit of the electronic device; Adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
3. The system according to claim 1, wherein, The control unit is further configured to, if the target clock signal indicates that the target power consumption adjustment function is set with a target power consumption adjustment task, adjust the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption adjustment task; If the target clock signal does not indicate that the target power consumption adjustment function is set with a target power consumption adjustment task, control the target hardware unit of the electronic device to enter the second low power consumption mode.
4. A control method, characterized in that, Including: When it is detected that the electronic device is in the first state, determine whether the target power consumption adjustment function is enabled; If so, detect the target clock signal generated by the target clock unit of the electronic device; Adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
5. The method according to claim 4, wherein The electronic device includes a multi-way control switch, and the multi-way control switch is used to adjust the power consumption mode of the target hardware unit of the electronic device.
6. The method according to claim 4, characterized in that The method further includes: Determine the power mode type of the electronic device; The adjusting the power consumption mode of the target hardware unit of the electronic device according to the target clock signal includes: If the power mode type is a DC mode, control the target hardware unit of the electronic device to enter the first low power consumption mode; If the power mode type is an AC mode, adjust the power consumption mode of the target hardware unit of the electronic device according to the target clock signal.
7. The method according to claim 4, wherein The adjusting the power consumption mode of the target hardware unit of the electronic device according to the target clock signal includes: If the target clock signal indicates that the target power consumption adjustment function is set with a target power consumption adjustment task, adjust the power consumption mode of the target hardware unit of the electronic device according to the set value included in the target power consumption adjustment task; If the target clock signal does not indicate that the target power consumption adjustment function is set with a target power consumption adjustment task, control the target hardware unit of the electronic device to enter the second low power consumption mode.
8. The method according to claim 4, wherein The method further includes: When the target clock wake-up signal generated by the target clock unit is detected, control the electronic device to be in the second state.
9. An electronic device, comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the method according to any one of claims 4-8 when executing the program.
10. A storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the method according to any one of claims 4-8 when executed by a computer processor.