Power adjustment method, apparatus and device, and readable storage medium

By dynamically adjusting the current total power of the OPS computer to make it smaller than the maximum power provided by electronic devices, the problem of insufficient power supply when adapting to large screens of different sizes is solved, and the goal of safety and cost-effectiveness is achieved.

CN119536484APending Publication Date: 2025-02-28SUZHOU YUANKONG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

With the increase in the screen size of electronic devices, when OPS computers adapt to large screens of different sizes, they are prone to damage due to insufficient power supply, resulting in safety hazards.

Method used

Limit the current system and peripheral power to avoid overcurrent and safety accidents by dynamically adjusting the current total power of the OPS computer so that it is always less than the maximum power provided by the electronics.

Benefits of technology

It effectively guarantees the safety of OPS computers and electronic equipment, avoids damage and safety accidents caused by insufficient power, and does not need to replace low-end OPS computers, which are low in cost and highly versatile.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536484A_ABST
    Figure CN119536484A_ABST
Patent Text Reader

Abstract

The invention discloses a power adjusting method, device and equipment and a readable storage medium, an OPS computer determines first power and second power, the first power is the maximum power which can be provided for the OPS computer by an intelligent interaction panel, and the second power is the sum of the maximum system power and the maximum peripheral power which can be consumed by the OPS computer. Afterwards, when the first power is smaller than the second power, that is, when the power provided by the intelligent interactive display device for the OPS computer is smaller than the maximum power consumed by the OPS computer, the current total power of the OPS computer is limited, so that the current total power of the OPS computer is smaller than or equal to the first power. By the adoption of the scheme, the current total power of the OPS computer is limited so that the current total power can be smaller than or equal to the first power, product safety is improved, overcurrent is avoided, the purpose of guaranteeing safety of the OPS computer and the intelligent interactive display device is achieved, meanwhile, a low-end OPS computer does not need to be replaced, and cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic equipment, and in particular to a power regulation method, apparatus, device and readable storage medium. Background Art

[0002] Open Pluggable Specification (OPS) devices are widely used because they can be plugged in and out with electronic devices such as interactive tablets, making them easy to install.

[0003] Normally, OPS computers and electronic devices are two separate products. When users use an OPS computer, they plug it into an electronic device with a large screen, also known as a complete machine. The power board inside the complete machine supplies power to both the large screen and the OPS computer.

[0004] As the screens of electronic devices get bigger and bigger, the power consumption of electronic devices is getting bigger and bigger. When the same OPS computer is adapted to large screens of different sizes, the power provided to the OPS computer by different electronic devices is also different. When the power provided to the OPS computer by the electronic device is lower than the power required by the OPS computer, it is easy to damage the OPS computer and the electronic device. Summary of the invention

[0005] The embodiments of the present application provide a power regulation method, apparatus, device and readable storage medium, which dynamically adjusts the current total power of the OPS computer so that the current total power is always less than the first power supplied by the electronic device, thereby achieving the purpose of ensuring the safety of the OPS computer and the electronic device.

[0006] In a first aspect, an embodiment of the present application provides a power regulation method, including:

[0007] Determine the first power, which is the maximum power that the intelligent interactive display device can provide to the OPS computer;

[0008] Determine the second power, the second power is the maximum power that the OPS computer can consume, the second power includes the maximum system power and the maximum peripheral power, the maximum system power is the maximum power that the OPS computer itself can consume, and the maximum peripheral power is the maximum power that the external device of the OPS computer can consume;

[0009] When the first power is less than the second power, the current total power of the OPS computer is limited so that the current total power is less than or equal to the first power, and the current total power includes the current system power and the current peripheral power.

[0010] In a second aspect, an embodiment of the present application provides a power regulation device, comprising:

[0011] A first determination module is used to determine a first power, where the first power is the maximum power that the intelligent interactive display device can provide to the OPS computer;

[0012] A second determination module is used to determine a second power, where the second power is the maximum power that the OPS computer can consume, and the second power includes a maximum system power and a maximum peripheral power, where the maximum system power is the maximum power that the OPS computer itself can consume, and the maximum peripheral power is the maximum power that an external device of the OPS computer can consume;

[0013] The processing module is used to limit the current total power of the OPS computer when the first power is less than the second power, so that the current total power is less than or equal to the first power, and the current total power includes the current system power and the current peripheral power.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the electronic device implements the method described in the first aspect or various possible implementation methods of the first aspect.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed by a processor, they are used to implement the method described in the first aspect or various possible implementation methods of the first aspect.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computing program, which, when executed by a processor, implements the method described in the first aspect or various possible implementation methods of the first aspect.

[0017] The power regulation method, device, equipment and readable storage medium provided in the embodiments of the present application, the OPS computer determines the first power and the second power, the first power is the maximum power that the smart interactive tablet can provide to the OPS computer, and the second power is the sum of the maximum system power and the maximum peripheral power that the OPS computer can consume. Afterwards, when the first power is less than the second power, that is, when the power provided by the smart interactive display device to the OPS computer is less than the maximum power that the OPS computer can consume, the current total power of the OPS computer is limited so that the current total power of the OPS computer is less than or equal to the first power. With this solution, by limiting the current total power of the OPS computer so that the current total power is less than or equal to the first power, the product safety is improved, overcurrent is avoided, and the purpose of ensuring the safety of the OPS computer and the smart interactive display device is achieved, without replacing the low-end OPS computer, and the cost is low. Moreover, a variety of large-screen complete machines can be adapted through one OPS computer, which has strong versatility; the implementation method is simple, and no additional cost is added to the hardware. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 It is a schematic diagram of an implementation environment of the power regulation method provided in an embodiment of the present application;

[0020] Figure 2 It is a schematic diagram of the input and output interface of the OPS computer in the power regulation method provided in the embodiment of the present application;

[0021] Figure 3 is a flow chart of a power regulation method provided in an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of a power regulation method provided in an embodiment of the present application;

[0023] Figure 5 is another flow chart of the power regulation method provided in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of a power regulation device provided in an embodiment of the present application;

[0025] Figure 7 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] There are two common power supply methods, one is AC power supply and the other is DC power supply. Large electronic devices, such as desktop computers, refrigerators, washing machines, etc., are often directly connected to the mains, using AC power supply, and performing AC-DC (Alternating Current-Direct Current, AC-DC) conversion inside the device. Mobile phones, laptops, tablets, etc. use DC power supply, and use adapters to convert the mains power into DC power and input it into electronic devices. Whether it is DC power supply or AC power supply, it is direct power supply.

[0027] Unlike the traditional direct power supply method, the OPS computer is not directly powered, but the large-screen machine is powered. The OPS computer is an open pluggable computer module, and is also a microcomputer that can be plugged in and out to make the overall layout beautiful. It is widely used in electronic devices with large screens such as all-in-one computers, electronic whiteboards, and digital signage. The two independent products, the OPS computer and the large screen, are combined together, and the power board inside the whole machine supplies power to both the large screen and the OPS computer.

[0028] As the screen gets bigger, the CPU power consumption of the whole machine gets bigger. When the same OPS computer is adapted to different large screens, the power supply is often insufficient. For example, the maximum power consumption of an OPS computer is 100W, some whole machines can provide a maximum power of 120W for the OPS computer, and some whole machines can only provide 60W of power. Once the power of the OPS computer exceeds the maximum power provided by the whole machine, the OPS computer will be shut down directly at best, or the power supply will be burned out at worst, causing a safety accident.

[0029] To ensure safety, one way is to replace low-end OPS computers with those with a maximum power consumption of less than 60W; another way is to develop low-power OPS computers. However, low-end OPS computers run slowly, and the development cost of low-power OPS computers is high.

[0030] Based on this, the embodiments of the present application provide a power regulation method, apparatus, device and readable storage medium, which dynamically adjusts the current total power of the OPS computer so that the current total power of the OPS computer is always less than or equal to the first power provided by the electronic device, thereby achieving the purpose of ensuring the safety of the OPS computer and the electronic device.

[0031] Figure 1 This is a schematic diagram of the implementation environment of the power regulation method provided in the embodiment of the present application. Figure 1 The implementation environment includes an OPS computer 11 and an intelligent interactive display device 12.

[0032] Please refer to Figure 1 , an interface for inserting the OPS computer 11 is provided on the intelligent interactive display device 12, and the OPS computer 11 is connected to the intelligent interactive display device 12 through the interface. The power board inside the intelligent interactive display device 12 simultaneously supplies power to the OPS computer 11 and the display screen of the intelligent interactive display device 12. The intelligent interactive display device 12 is, for example, an electronic whiteboard, an all-in-one liquid crystal display, a television, a desktop computer, a PC, and other different types of electronic devices. The OPS computer 11 is also called a computer module, an OPS module, an OPS module, a pluggable computer, etc., which is not limited in the embodiments of the present application.

[0033] Generally speaking, the power provided by the smart interactive display device 12 to the OPS computer 11 is limited. The maximum power that the smart interactive display device 12 can provide to the OPS computer 11 is referred to as the first power. Different models or different manufacturers of smart interactive display devices 12 provide different first powers. For example, some smart interactive display devices 12 can provide a first power of 120W, some smart interactive display devices 12 can provide a first power of 100W, and some smart interactive display devices 12 can provide a first power of 60W. In actual use scenarios, the OPS computer 11 will adapt to various smart interactive display devices 12.

[0034] In the embodiment of the present application, the OSP computer 11 is similar to a mini PC, which is internally provided with a central processing unit (CPU), memory, graphics processing unit (GPU), etc., and can provide an operation interface for display by the intelligent interactive display device 12. The OPS computer 11 is also provided with a variety of input and output interfaces for external devices to access. For example, please refer to Figure 2 .

[0035] Figure 2 Schematic diagram of the input and output interface of the OPS computer in the power regulation method provided in the embodiment of the present application. Figure 2 The OPS computer is provided with various types of input and output interfaces as well as some buttons, vents, etc., including but not limited to the audio interface 20, high-definition multimedia interface (HDMI) interface 21, display interface (DP) 22, USB interface 23, TYPE-C interface 24, router interface 25, etc. shown in the figure.

[0036] pass Figure 2 Devices connected to the OPS computer through the input and output interfaces shown are called external devices, including but not limited to USB devices connected through USB interfaces, display devices connected through HDIM interfaces, display devices connected through DP interfaces, TYPE-C U disks connected through TYPE-C interfaces, etc. USB devices include but are not limited to mice, keyboards, U disks, external hard disks, etc.

[0037] From the perspective of OPS computers, the power they consume can be roughly divided into two categories: one is system power consumption, including the power consumed by the CPU, GPU, memory, hard disk and other functional modules inside the OSP computer; the other is peripheral power, mainly including the power consumed by the CPU, GPU, memory, hard disk and other functional modules inside the OSP computer; Figure 2 The power consumption of external devices connected to the OPS computer through the input and output interfaces shown.

[0038] The OPS computer has a maximum system power and a maximum peripheral power. The maximum system power is the power consumed when the OPS computer is fully loaded. At this time, the CPU module, GPU module, memory module and other functional modules are working at full capacity. The maximum peripheral power is the sum of the power consumed by all external devices when all input and output interfaces of the OPS computer are connected to external devices and all external devices are working. The maximum power that the OPS computer can consume is referred to as the second power below, which is the sum of the maximum system power and the maximum peripheral power.

[0039] Normally, an OPS computer will not be fully loaded for a long time, nor will all input and output interfaces be connected to external devices, and all external devices will not be working. Therefore, in practice, the current total power of an OPS computer is often less than the second power. For example, the maximum system power consumption is 60 watts, but an OPS computer only needs 20 watts to 30 watts to complete general work, unless the OPS computer runs a large program or opens a lot of programs. Similarly, it is extremely difficult for external devices to run at the maximum peripheral power.

[0040] In the embodiment of the present application, when the first power is less than the second power, that is, when the power provided by the intelligent interactive display device to the OPS computer is less than the maximum power that the OPS computer can consume, in order to avoid the total power of the OPS computer exceeding the first power, resulting in accidents such as the OPS computer shutting down or burning the power supply, the current total power of the OPS computer is limited so that the current total power of the OPS computer is less than or equal to the first power. Among them, limiting the current total power of the OPS computer includes limiting the current system power and / or the current peripheral power. By limiting the current total power, the OPS computer can autonomously reduce power consumption when the first power is less than the second power, rather than allowing power consumption to rise, thereby achieving the purpose of protecting the OPS computer and electronic equipment.

[0041] In the embodiment of the present application, taking limiting the current system power to be less than or equal to the first difference as an example, limiting the current system power of the OPS computer means: by reducing the power and / or frequency of the functional modules of the OPS, so that the current system power does not exceed the first difference. Among them, the functional module includes at least one of the following modules: CPU module, GPU module, memory, etc. During the limitation process, when the current system power is much less than the first difference, the frequency of each functional module is not limited. When the current system power of the OPS computer increases due to running large programs, etc., and approaches the first difference, the frequency of each functional module of the OPS computer is limited. Among them, the first difference is the difference between the first power and the maximum peripheral power.

[0042] Similarly, limiting the current system power to be less than the second difference may be referred to the above description and will not be repeated here.

[0043] By adopting this solution, the OPS computer limits the current system power of the OPS computer by reducing the power and / or frequency of each functional module, etc. The limiting method is simple and has high reliability.

[0044] In the embodiment of the present application, taking limiting the current peripheral power to be less than or equal to the preset power as an example, limiting the power of the external device means: reducing the transmission rate between the external device and the OPS computer so that the current peripheral power is less than the preset power. Similar to limiting the current system power, when the current peripheral power is much less than the preset power, there is no need to limit the transmission rate of the current peripheral. When the current peripheral power increases and approaches the preset power, the transmission rate of the external device is limited so that the current peripheral power does not exceed the preset power.

[0045] Similarly, when limiting the current peripheral power to be less than the maximum peripheral power, please refer to the above description, which will not be repeated here.

[0046] By adopting this solution, the OPS computer limits the power of the current peripheral device by reducing the transmission rate of the external device. The limiting method is simple and has high reliability.

[0047] Figure 3 1 is a flow chart of the power regulation method provided in the embodiment of the present application. The execution subject of this embodiment is an OPS computer, and this embodiment includes:

[0048] 301. Determine a first power, where the first power is the maximum power that the intelligent interactive display device can provide to the OPS computer.

[0049] The first power is the maximum power that the smart interactive display device can provide to the OPS computer, also known as the maximum power provided by the entire machine to the OPS computer. The smart interactive display device reports the first power to the OPS computer through communication methods such as Universal Asynchronous Receiver / Transmitter (UART). The first powers that different smart interactive display devices can provide may be different. For example, the first power provided by a smart interactive display device of the first size is power 1, and the first power provided by a smart interactive display device of the second size is power 2. When the first size is smaller than the second size, it is likely that power 1 is greater than power 2; when the first size is larger than the second size, it is likely that power 1 is less than power 1.

[0050] 302. Determine a second power, where the second power is the maximum power that the OPS computer can consume.

[0051] The second power includes the maximum system power and the maximum peripheral power. The maximum system power is the maximum power that the OPS computer itself can consume, and the maximum peripheral power is the maximum power that the external device of the OPS computer can consume. The power that the OPS computer itself can consume is, for example, the sum of the power consumed by the CPU module, the GPU module, etc., and the power consumed by the external device includes the power consumed by the USB device, the HDMI device, etc.

[0052] The maximum power that the OPS computer can consume, i.e., the second power, is pre-written into the flash memory of the OPS computer. The OPS computer can determine the second power by reading the flash memory. In addition, the maximum system power and the maximum peripheral power of the OPS computer are also written into the flash memory of the OPS computer.

[0053] It should be noted that there is no strict sequence between the above steps 302 and 303 .

[0054] 303. When the first power is less than the second power, limit the current total power of the OPS computer so that the current total power is less than or equal to the first power, and the current total power includes the current system power and the current peripheral power.

[0055] After the OPS computer obtains the first power and the second power, it compares the first power and the second power. If the first power is greater than or equal to the second power, it means that no matter how the current total power of the OPS computer increases, the current total power will not exceed the first power. At this time, there is no need to limit the current total power of the OPS computer.

[0056] If the first power is less than the second power, for example, the first power is 60 watts and the second power is 80 watts, when a large program is run on the OPS computer or when all external devices are plugged in, the current total power of the OPS computer rises, and it is very likely to exceed the first power. Once the current total power exceeds the first power, the OPS computer shuts down or burns out the power supply. In order to avoid shutdown or safety accidents, it is necessary to limit the current total power of the OPS computer so that the current total power is less than or equal to the first power. During the limitation process, the OPS computer limits the current system power and / or the current external power so that the sum of the current system power and the current peripheral power is less than or equal to the first power. When limiting the current system power, the frequency of each functional module of the OPS computer is reduced, so that the current system power is less than or equal to the maximum system power, or even much smaller than the maximum system power. Similarly, when limiting the current peripheral power, the transmission rate of each external device is reduced, which is less than or much less than the maximum peripheral power.

[0057] In the power regulation method provided in the embodiment of the present application, the OPS computer determines the first power and the second power, the first power is the maximum power that the smart interactive tablet can provide to the OPS computer, and the second power is the sum of the maximum system power and the maximum peripheral power that the OPS computer can consume. Afterwards, when the first power is less than the second power, that is, when the power provided by the smart interactive display device to the OPS computer is less than the maximum power that the OPS computer can consume, the current total power of the OPS computer is limited so that the current total power of the OPS computer is less than or equal to the first power. With this solution, by limiting the current total power of the OPS computer so that the current total power is less than or equal to the first power, the product safety is improved, overcurrent is avoided, and the purpose of ensuring the safety of the OPS computer and the smart interactive display device is achieved without replacing the low-end OPS computer, and the cost is low. Moreover, a variety of large-screen machines can be adapted through one OPS computer, which has strong versatility; the implementation method is simple, and no additional cost is added to the hardware.

[0058] Optionally, in the above embodiment, when the first power is less than the second power, the OPS computer limits the current total power of the OPS computer so that the current total power is less than or equal to the first power. First, the parameter table is queried according to the first power and the second power to determine the target parameter, and the target parameter is used to indicate the operating parameters of the system module of the OPS computer and / or the external device. Then, the operation is performed based on the target parameter to limit the current total power of the OPS computer and make the current total power less than or equal to the first power.

[0059] Exemplarily, the parameters of different power levels can be verified in advance to obtain a parameter table, and the parameter table is written into the flash memory of the OPS computer. When the first power is less than the second power, the target parameter is determined according to the first power, and the various functional modules and external devices of the OPS computer are operated according to the target parameter, so that the current total power is less than or equal to the first power. Taking the second power of 80 watts as an example, the corresponding relationship between the power level, the first power and the parameter is shown in Table 1.

[0060] Table 1

[0061] First power (W) Second power (W) Power level parameter 80 and above 80 1 The first set of parameters 74~80(excluding 80) 80 2 The second set of parameters 70~74(excluding 74) 80 3 The third set of parameters 65~70(excluding 70) 80 4 The fourth set of parameters 60~65(excluding 65) 80 5 The fifth set of parameters 50~60(excluding 60) 80 6 The sixth set of parameters

[0062] Please refer to Table 1, which shows power levels and parameters corresponding to different first powers when the second power is 80 watts.

[0063] According to Table 1, when the first power is greater than or equal to the second power, that is, when the power level is level 1, the operation of each functional module and external device of the OPS computer is not restricted, that is, it can run at full load.

[0064] When the first power is less than the second power, that is, when the power level is any power level from power level 2 to power level 6, it is necessary to limit the current system power and / or current peripheral power of the OPS computer so that the sum of the current system power and the current peripheral power does not exceed the first power. For example, if the first power is 70 watts, the second power is 80 watts, the maximum system power is 60 watts, and the maximum peripheral power is 20 watts, then a set of third group parameters can be verified in advance, and the OPS computer runs each functional module and external device according to the third group parameters, which can ensure that the current system power does not exceed 50 watts and the current peripheral power does not exceed 20 watts; or, another set of third group parameters can be verified in advance, and the OPS computer runs each functional module and external device according to the third group parameters, which can ensure that the current system power does not exceed 60 watts and the current peripheral power does not exceed 10 watts. Regardless of what the third group parameters are, it can be ensured that the sum of the current system power and the current peripheral power does not exceed the first power.

[0065] It should be noted that, although the parameters corresponding to the power levels at various levels in the embodiment of Table 1 above can limit the current system power and the current peripheral power, the embodiment of the present application does not limit this, and in other feasible implementations, for example, when only the current system power needs to be limited, the parameters corresponding to the power levels at various levels are only used to limit the current system power.

[0066] With this solution, when the first power is less than the second power, the operating parameters of the OPS computer's own system module and / or external device are determined by looking up a table, and the computer operates according to the operating parameters to ensure that the current total power is less than the first power and the speed is fast.

[0067] In the above embodiment, when the first power is less than the second power, the OPS computer continues to determine the magnitude relationship between the first power and the maximum system power. When the first power is less than the maximum system power, at this time, it is very likely that all input and output interfaces are not connected to external devices, all input and output interfaces are connected to external devices, and some input and output interfaces are connected to external devices. Below, how to adjust the operation mode of the OPS computer in these scenarios is described in detail.

[0068] Scenario 1: No external devices are connected to the OPS computer.

[0069] When no external device is connected to the OPS computer, it means that the current total power of the OPS computer only includes the current system power. At this time, the first power is all used for the OPS computer system power. At this time, if the first power is less than the maximum system power, it is only necessary to limit the current system power of the OPS computer to be less than or equal to the first power.

[0070] Exemplarily, the current total power of the OPS computer includes the current system power and the current peripheral power. The current system power refers to the sum of the power consumed by the CPU module, GPU module, memory, hard disk, etc. The current peripheral power refers to the sum of the power of the external devices connected to the OPS computer through the HDMI interface, the power of the external devices connected through the DP interface, the power of the Audio device, the power of the USB device, etc. Among them, the USB device refers to the external device connected through the USB interface. The power of the USB device is relatively large and is often the most powerful external device among all external devices.

[0071] The OPS computer can perform insertion detection on the input and output interfaces to determine whether there is an external device connected. When no external device is connected, the OPS computer allocates all of the first power to the system, limiting the current system power to the maximum of the first power. For example, the second power is 80 watts, of which the maximum system power consumption is 60 watts, the maximum peripheral power consumption is 20 watts, and the first power is 60 watts. When there is no external device, since the first power is equal to the maximum system power consumption, there is no need to limit the current system power consumption, so that the current system power consumption is a maximum of 60 watts.

[0072] For another example, the second power is 80 W, wherein the maximum system power consumption is 60 W, the maximum peripheral power consumption is 20 W, and the first power is 50 W. When there is no external device, since the first power is less than the maximum system power consumption, the current system power consumption is limited to be less than or equal to 50 W.

[0073] By adopting this solution, when there is no external device, the current system power of the OPS computer is limited to be less than or equal to the first power, thereby ensuring the safety of the OPS computer and the intelligent interactive display device while fully utilizing the first power.

[0074] Scenario 2: Connect an external device to the OPS computer.

[0075] Connecting an external device to an OPS computer means that all input and output interfaces of the OPS computer are connected to external devices, or some input and output interfaces are connected to external devices. In this scenario, when the first power is less than the second power, the current system power of the OPS computer is limited to be less than or equal to the first difference, and the first difference is the difference between the first power and the maximum peripheral power. Among them, the input and output interfaces include but are not limited to Audio interface, HDIM interface, DP interface, USB interface, etc.

[0076] Exemplarily, the OPS computer can perform insertion detection on the input and output interface to determine whether an external device is connected. When an external device is connected, the OPS computer divides the first power into two parts, one part is allocated to the functional module of the OPS computer itself for system power, and the other part is allocated to the external device of the OPS computer. When the OPS computer allocates the first power, it determines the difference between the first power and the maximum external power. Then the difference is allocated to the OPS computer itself, reserving the maximum external power for the external device.

[0077] For example, the first power is 60 watts, the second power is 80 watts, the maximum system power consumption is 60 watts, the maximum peripheral power consumption is 20 watts, and the difference between the first power and the maximum peripheral power is: 60 watts - 20 watts = 40 watts. When an external device is connected, the OPS computer limits the current peripheral power to no more than 20 watts and the current system power to no more than 40.

[0078] For another example, the first power is 50 watts, the second power is 80 watts, the maximum system power consumption is 60 watts, the maximum peripheral power consumption is 20 watts, and the difference between the first power and the maximum peripheral power is: 50 watts - 20 watts = 30 watts. When an external device is connected, the OPS computer limits the peripheral power to no more than 20 watts, and the current system power to no more than 30.

[0079] By adopting this solution, when there are external devices, the current system power of the OPS computer is limited to not exceed the difference between the first power and the maximum external device power, and the current external device power is limited to not exceed the maximum external device power, thereby ensuring the safety of the OPS computer and the intelligent interactive display device while ensuring the normal operation of the external device.

[0080] Optionally, in the above embodiment, when the first power is less than the maximum system power, and all or part of the input and output interfaces of the OPS computer are connected to external devices, if the maximum peripheral power is reserved for the external devices and the current system power is limited to be less than or equal to the first difference, then since it is difficult for the external devices to run at the maximum peripheral power, the following phenomenon will occur: the current peripheral power is much less than the maximum peripheral power, but the current system power is limited to the first difference, and a better operating effect cannot be achieved. In other words, the maximum peripheral power reserved for the external devices is surplus, but the first difference allocated to the current system power is insufficient.

[0081] In order to reduce redundant power, when the first power is less than the maximum system power and an external device is connected to the OPS computer, the OPS computer limits the current peripheral power and the current system power so that the current peripheral power is less than the preset power and the current system power is less than the second difference, which is the difference between the first power and the preset power.

[0082] For example, the current system power of the OPS computer often does not reach the maximum system power. For example, the maximum system power consumption is 60 watts, but the OPS computer only needs 20 to 30 watts to complete general work. Similarly, the external devices also do not reach the maximum peripheral power.

[0083] The current peripheral power of the external device is related to the transmission rate. For example, the power consumption of the USB device is positively correlated with the USB rate. The maximum transmission bandwidth of USB3.0 is up to 5.0 Gigabits per second (Gbps), that is, 500 megabits per second (MB / s). When the USB rate is 5.0Gbps, the current system power is 5 watts. However, it is difficult for a USB device to reach 5 watts. Therefore, the OPS computer sets a preset power of 5 watts, and limits the current peripheral power to less than or equal to 5 watts, and at the same time, limits the current system power to less than or equal to the second difference. The preset power is the minimum power to ensure that each external device can operate.

[0084] For example, the second power is 80 watts (the maximum system power is 60 watts and the maximum peripheral power is 20 watts), the first power is 55 watts (less than the maximum system power of 60 watts), the preset power is 5 watts, and the second difference is 55 watts - 5 watts = 50 watts, that is, the OPS computer limits the current system power to less than or equal to 50 watts.

[0085] With this solution, when the first power is less than the maximum system power and an external device is connected to the OPS computer, the OPS computer dynamically adjusts the power by limiting the rate of the USB device, device detection, etc., thereby ensuring the safety of the OPS computer and the intelligent interactive display device while maximizing the machine performance and reducing redundant power.

[0086] Optionally, in the above embodiment, when the current system power is much smaller than the second difference, if the current peripheral power is limited to be less than the preset power, it is very likely that power redundancy is reserved for the system, but the transmission rate of the external device is too low. Alternatively, when the current peripheral power is relatively small, if the current peripheral power is limited to be less than the maximum peripheral power, it is very likely that power redundancy is reserved for the external device, but the power of the system is insufficient. Therefore, in the embodiment of the present application, the OPS computer limits the current peripheral power and the current system power only when the current system power or the current peripheral power meets certain conditions, so that the current peripheral power is less than the preset power and the current system power is less than the second difference.

[0087] In one approach, the current system power meets certain conditions.

[0088] Before the OPS computer limits the current peripheral power and the current system power so that the current peripheral power is less than the preset power and the current system power is less than the second difference, it also determines the first difference between the first power and the maximum peripheral power. When the current system power is greater than the first difference, it means that the OPS may be running a large program, etc., and the current system power is relatively large. The OPS computer limits the current peripheral power and the current system power so that the current peripheral power is less than the preset power and the current system power is less than the second difference. When the current system power is less than or equal to the first difference, it means that the current system power is relatively small. As long as the current system power is less than the first difference and the current peripheral power is less than the maximum peripheral power, there is no need to adjust the frequency of the functional module, the rate of the external device, etc.

[0089] Continuing with the above example: when the second power is 80 watts (maximum system power is 60 watts, maximum peripheral power is 20 watts), the first power is 55 watts (less than the maximum system power of 60 watts), and the preset power is 5 watts, the second difference is 55 watts - 5 watts = 50 watts. The first difference between the first power and the maximum peripheral power is: 55 watts - 20 watts = 35 watts.

[0090] When the current system power is less than or equal to 35 watts, the current system power is less than or equal to the first difference, and the difference between the first power and the current system power is less than or equal to 20 watts. At this time, there is no need to limit the transmission rate of the external device, that is, the current peripheral power of the external device can increase until the maximum peripheral power is reached.

[0091] When the current system power is greater than 35 watts, it means that the OPS computer is currently running a large program, etc., and the difference between the first power and the current system power is less than 20 watts. At this time, it is necessary to limit the speed of the external device so that the current peripheral power is less than 5 watts and the current system power is less than 50 watts.

[0092] In another method, the current peripheral power meets certain conditions.

[0093] The OPS computer limits the current peripheral power and the current system power so that the current peripheral power is less than the preset power and the current system power is less than the second difference. It also determines whether the current peripheral power is less than the preset power. When the current peripheral power is less than the preset power, it means that the power of the external device is relatively small. The OPS computer limits the current system power to be less than the second difference, and the current peripheral power is less than the preset power. When the current peripheral power is greater than or equal to the preset power, it means that the external device is performing high-speed data transmission with the OPS computer, etc., and the power consumed is relatively large. The OPS computer limits the current system power to be less than the first difference.

[0094] Continuing with the above example, when the second power is 80 watts (maximum system power is 60 watts, maximum peripheral power is 20 watts), the first power is 55 watts (less than the maximum system power of 60 watts), and the preset power is 5 watts, the second difference is 55 watts-5 watts=50 watts. The first difference between the first power and the maximum peripheral power is: 55 watts-20 watts=35 watts.

[0095] When the current peripheral power is less than 5 watts, the current system power is limited to less than 50 watts, and the current peripheral power is limited to less than 5 watts. When the current peripheral power is greater than or equal to 5 watts, the current system power is limited to less than or equal to 35 watts, and the current peripheral power is limited to less than or equal to 20 watts.

[0096] With this solution, when the current system power is greater than the first difference or the current peripheral power is less than the preset power, the OPS computer limits the current system power to be less than the second difference between the first power and the preset power, and limits the current peripheral power to be less than the preset power, thereby ensuring the safety of the OPS computer and the intelligent interactive display device while ensuring that the power of the system and external devices is as large as possible within the permitted range.

[0097] The above descriptions all describe how to limit the current total power of the OPS computer when the first power is less than the maximum system power. Next, the description will be made in detail on how to limit the current total power when the first power is greater than or equal to the maximum system power.

[0098] When the first power is greater than or equal to the maximum system power, if no external device is connected to the OPS computer, the first power is all used for the system module of the OPS computer. At this time, there is no need to limit the current system power. For example, the first power is greater than or equal to 60 watts, and the maximum system power is 60 watts. At this time, the first power provided by the whole machine is sufficient, so there is no need to limit the current system power.

[0099] When the first power is greater than or equal to the maximum system power, if an external device is connected to the OPS computer, the first power needs to be allocated, with one part allocated to the system and the other part allocated to the external device. The OPS computer determines the current peripheral power and determines the third difference between the first power and the current peripheral power. When the third difference is less than the maximum system power, the current peripheral power and the current system power are limited so that the current peripheral power is less than the preset power and the current system power is less than the second difference, and the second difference is the difference between the first power and the preset power.

[0100] For example, the first power is 65 watts, the second power is 80 watts (the maximum system power is 60 watts, the maximum peripheral power is 20 watts), and the first power is greater than the maximum system power. Assuming that the current peripheral power is 10 watts, the third difference is: 65 watts - 10 watts = 55 watts, and the preset power is 5 watts. The second difference is: 65 watts - 5 watts = 60 watts. Since the third difference is less than the maximum system power, the OPS computer limits the current system power to less than 60 watts and the current peripheral power to less than 5 watts.

[0101] In addition, the OPS computer does not immediately limit the current peripheral power and the current system power once the third difference is less than the maximum system power. Instead, it limits the current peripheral power and the current system power only when the current system power or the current peripheral power meets certain conditions, so that the current peripheral power is less than the preset power and the current system power is less than the second difference.

[0102] For example, the first power is 65 watts, the second power is 80 watts (the maximum system power is 60 watts, the maximum peripheral power is 20 watts), the preset power is 5 watts, and the first power is greater than the maximum system power. Assuming that the current peripheral power is 10 watts, the third difference is: 65 watts-10 watts = 55 watts; the second difference is: 65 watts-5 watts = 60 watts, and the first difference is: 65 watts-20 watts = 35 watts.

[0103] After the OPS computer determines that the third difference is less than the maximum system power, it continues to determine the size of the current system power and the first difference. When the current system power is less than 35 watts, there is no need to limit the current peripheral power. When the current system power is greater than 35 watts, the current peripheral power is limited to less than 5 watts, and the current system power is limited to less than 60 watts.

[0104] By adopting this solution, when the first power is greater than or equal to the maximum system power, an external device is connected to the OPS computer, and the third difference between the first power and the current peripheral power is less than the maximum system power, the current peripheral power and the current system power are limited to achieve the purpose of ensuring the safety of the OPS computer and the intelligent interactive display device.

[0105] Figure 4 This is a schematic diagram of the power regulation method provided in the embodiment of the present application. Figure 4 The whole machine supplies power to the OPS computer and the large screen, which is not shown in the figure. A UART connection is established between the whole machine and the OPS computer, and the whole machine reports the first power, that is, the supply capacity of the whole machine, to the OPS computer through the UART connection.

[0106] The OPS computer has a flash in which a parameter table is written. The parameter table is used to indicate power levels corresponding to different first powers, parameters corresponding to each power level, and the second power, maximum system power, maximum peripheral power, etc. of the OPS computer.

[0107] The OPS computer has multiple functional modules, such as the CPU module, GPU module and other functional modules, each of which has a power integrated circuit (IC). For example, the CPU module has a power IC1, and the GPU module has a power IC2. Similarly, each external device has a power IC, such as a USB device has a power IC3. The embedded controller (EC) of the OPS computer reads the register value of the power IC of each functional module, obtains the current or voltage data and then calculates the power. According to the sum of the power of all functional modules, the current system power is determined.

[0108] EC detects whether a USB device is plugged in through USB handshake packets. In addition, EC detects whether other external devices are plugged into the OPS computer. When an external device is plugged in, EC reads the value of the power IC of each external device, obtains the current or voltage data, and then calculates the power, thereby obtaining the power of the external device, and then calculates the sum of the power of each external device to obtain the current peripheral power.

[0109] The OPS computer is equipped with a bridge chip, such as a south bridge chip (Platform Controller Hub, PCH), which obtains the first power, the current system power and the current peripheral power from the EC. The PCH can also obtain the parameter table and the second power from the flash. After that, the PCH performs adaptive power consumption balancing. For example, the PCH compares the first power and the second power, or compares the first power and the maximum system power, etc., and combines the current system power, the current peripheral power, etc. to limit the current total power so that the current total power is less than the first power.

[0110] Figure 5 is another flow chart of the power regulation method provided in an embodiment of the present application. This embodiment includes:

[0111] 501. Obtain a first power and a second power.

[0112] The first power P z is the maximum power provided by the whole machine, the second power P ops It is the maximum power that the OPS computer can consume, and the second power P ops Including maximum system power P sys and maximum peripheral power P u .

[0113] 502. The OPS computer determines whether the first power is greater than or equal to the second power. If the first power is less than the second power, step 503 is executed; if the first power is greater than or equal to the second power, the process ends, i.e., the current system power and the current peripheral power are not restricted.

[0114] Exemplarily, the OPS computer compares the first power P z and the second power P ops When the first power P z <Second power P ops When the first power P z ≥ Second power P ops When the current system power P is not n and the current peripheral power P out Make restrictions.

[0115] 503. The OPS computer determines whether the first power is greater than or equal to the maximum system power. If the first power is less than the maximum peripheral power, execute step 504; if the first power is greater than or equal to the maximum system power, execute step 509.

[0116] Exemplarily, the OSP computer compares the first power P z and the maximum system power P sys When the first power P z and < maximum system power P sys When the first power P z ≥ Maximum system power P sys , execute step 509.

[0117] 504. The OPS computer determines whether an external device is connected. If an external device is connected, step 505 is executed; if no external device is connected, step 508 is executed.

[0118] Exemplarily, the OPS computer detects whether an external device is plugged in by sending handshake packets.

[0119] 505. The OPS computer determines whether the current system power is greater than the first difference. When the current system power is greater than the first difference, step 506 is executed; when the current system power is less than or equal to the first difference, step 507 is executed.

[0120] For example, the OPS computer compares the current system power P n The relationship between the first difference and the first difference is P z -P u When the current system power P n >P z -P u When the current system power Pn >≤P z -P u , execute step 507.

[0121] 506. The OPS computer limits the current system power to be less than the second difference, and limits the current peripheral power to be less than the preset power.

[0122] The second difference is the first power P z and preset power P u2 The difference, P u2 For example, it is 5 watts, etc., which is not limited in the present embodiment. The OPS computer limits the current system power to less than the second difference P u2 , and limit the current peripheral power P out <Preset power P u2 .

[0123] 507, OPS computer limits the current system power P n is smaller than the first difference, and limits the current peripheral power to be smaller than the maximum peripheral power.

[0124] That is, the OPS computer limits the current system power P n < the first difference, and limit the current peripheral power P out <Maximum peripheral power P u .

[0125] 508. The OPS computer limits the current system power to be less than or equal to the first power.

[0126] That is, the OPS computer limits the current system power P n ≤First power P z .

[0127] 509. The OPS computer determines whether an external device is connected. If an external device is connected, step 505 is executed; if no external device is connected, the process ends, that is, there is no need to limit the current system power of the OPS computer.

[0128] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0129] Figure 6 A schematic diagram of a power regulating device provided in an embodiment of the present application. The power regulating device 600 is integrated in an electronic device having a multi-channel surround sound system, and the power regulating device 600 includes: a first determining module 61 , a second determining module 62 , and a processing module 63 .

[0130] A first determination module 61 is used to determine a first power, where the first power is the maximum power that the intelligent interactive display device can provide to the OPS computer;

[0131] A second determining module 62 is used to determine a second power, where the second power is the maximum power that the OPS computer can consume, and the second power includes a maximum system power and a maximum peripheral power, where the maximum system power is the maximum power that the OPS computer itself can consume, and the maximum peripheral power is the maximum power that an external device of the OPS computer can consume;

[0132] The processing module 63 is used to limit the current total power of the OPS computer when the first power is less than the second power, so that the current total power is less than or equal to the first power, and the current total power includes the current system power and the current peripheral power.

[0133] In a feasible implementation, the processing module 63 is used to limit the current system power of the OPS computer when the first power is less than the maximum system power and an external device is connected to the OPS computer, so that the current system power is less than or equal to a first difference, where the first difference is the difference between the first power and the maximum peripheral power; when the first power is less than the maximum system power and no external device is connected to the OPS computer, limit the current system power of the OPS computer so that the current system power is less than or equal to the first power.

[0134] In a feasible implementation, the processing module 63 is used to limit the current peripheral power and the current system power when the first power is less than the maximum system power and an external device is connected to the OPS computer, so that the current peripheral power is less than the preset power and the current system power is less than the second difference, and the second difference is the difference between the first power and the preset power.

[0135] In a feasible implementation, the processing module 63 is used to determine a third difference when the first power is greater than or equal to the maximum system power and an external device is connected to the OPS computer, and the third difference is the difference between the first power and the current peripheral power; when the third difference is less than the maximum system power, the current peripheral power and the current system power are limited so that the current peripheral power is less than the preset power and the current system power is less than the second difference, and the second difference is the difference between the first power and the preset power.

[0136] In a feasible implementation, the processing module 63 limits the current peripheral power and the current system power so that before the current peripheral power is less than the preset power and the current system power is less than the second difference, it is also used to determine that the current system power is greater than the first difference, where the first difference is the difference between the first power and the maximum peripheral power; or, determine that the current peripheral power is less than the preset power.

[0137] In a feasible implementation, when the processing module 63 limits the current peripheral power, it is used to reduce the transmission rate between the external device and the OPS computer, and the external device includes at least one of the following devices: a USB device, a device supporting an HDMI interface, and a device supporting a DP interface.

[0138] In a feasible implementation, when the processing module 63 limits the current system power of the OPS computer, it is used to reduce the power and / or frequency of the functional modules, and the functional modules include at least one of the following modules: CPU module, GPU module, memory.

[0139] In a feasible implementation, the processing module 63 is used to determine the target parameters based on the first power query parameter table, and the target parameters are used to indicate the operating parameters of the system module of the OPS computer and / or the external device; and operate based on the target parameters to limit the current total power of the OPS computer to be less than or equal to the first power.

[0140] The power regulation device provided in the embodiment of the present application can execute the actions of the OPS device in the above embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0141] Figure 7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device is, for example, the above-mentioned OPS device. Figure 7 The electronic device 7000 of the embodiment of the present application includes: at least one processor 71, at least one input and output interface 73, a memory 74, and at least one communication bus 72.

[0142] The communication bus 72 is used to realize the connection and communication between these components.

[0143] Among them, the input and output interface 73 may include an HDMI interface, a DP interface, a USB interface, etc.

[0144] Among them, the processor 71 may include one or more processing cores. The processor 71 uses various interfaces and lines to connect various parts within the entire electronic device 700, and executes various functions and processes data of the electronic device 700 by running or executing instructions, programs, code sets or instruction sets stored in the memory 74, and calling data stored in the memory 74. Optionally, the processor 71 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-ProgrammableGate Array, FPGA), and programmable logic array (ProgrammableLogic Array, PLA). The processor 71 can integrate one or a combination of a central processing unit (CentralProcessing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 71, and it can be implemented separately through a chip.

[0145] The memory 74 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 74 includes a non-transitory computer-readable storage medium. The memory 74 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 74 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 74 may optionally be at least one storage device located away from the aforementioned processor 71. As Figure 7 As shown, the memory 74 as a computer storage medium may include an operating system and operating applications of the electronic device.

[0146] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0147] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0150] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0151] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0152] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0153] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0154] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A power regulation method, characterized in that: include: Determine a first power, where the first power is a maximum power that the intelligent interactive display device can provide to the OPS computer; Determine a second power, where the second power is the maximum power that the OPS computer can consume, and the second power includes a maximum system power and a maximum peripheral power, where the maximum system power is the maximum power that the OPS computer itself can consume, and the maximum peripheral power is the maximum power that an external device of the OPS computer can consume; When the first power is less than the second power, the current total power of the OPS computer is limited so that the current total power is less than or equal to the first power, and the current total power includes the current system power and the current peripheral power.

2. The method according to claim 1, characterized in that When the first power is less than the second power, limiting the current total power of the OPS computer so that the current total power is less than or equal to the first power includes: When the first power is less than the maximum system power and an external device is connected to the OPS computer, the current system power of the OPS computer is limited so that the current system power is less than or equal to a first difference, where the first difference is the difference between the first power and the maximum peripheral power; When the first power is less than the maximum system power and no external device is connected to the OPS computer, the current system power of the OPS computer is limited so that the current system power is less than or equal to the first power.

3. The method according to claim 1, characterized in that: When the first power is less than the second power, limiting the current total power of the OPS computer so that the current total power is less than or equal to the first power includes: When the first power is less than the maximum system power and an external device is connected to the OPS computer, the current peripheral power and the current system power are limited so that the current peripheral power is less than the preset power and the current system power is less than a second difference, and the second difference is the difference between the first power and the preset power.

4. The method according to claim 1, characterized in that: Also includes: When the first power is greater than or equal to the maximum system power and an external device is connected to the OPS computer, a third difference is determined, where the third difference is the difference between the first power and the current external device power; When the third difference is less than the maximum system power, the current peripheral power and the current system power are limited so that the current peripheral power is less than the preset power and the current system power is less than the second difference, and the second difference is the difference between the first power and the preset power.

5. The method according to claim 3 or 4, characterized in that: Before limiting the current peripheral device power and the current system power so that the current peripheral device power is less than the preset power and the current system power is less than the second difference, the method further includes: Determining that the current system power is greater than a first difference, where the first difference is a difference between the first power and the maximum peripheral power; or, Determine that the current peripheral power is less than the preset power.

6. The method according to claim 3 or 4, characterized in that: The limiting the current peripheral power includes: The transmission rate between the external device and the OPS computer is reduced, wherein the external device includes at least one of the following devices: a USB device, a device supporting an HDMI interface, and a device supporting a DP interface.

7. The method according to any one of claims 2 to 4, characterized in that: The limiting the current system power of the OPS computer includes: The power and / or frequency of a functional module is reduced, wherein the functional module includes at least one of the following modules: a CPU module, a GPU module, and a memory.

8. The method according to claim 1, characterized in that When the first power is less than the second power, limiting the current total power of the OPS computer so that the current total power is less than or equal to the first power includes: Determine a target parameter according to the first power query parameter table, wherein the target parameter is used to indicate an operating parameter of a system module of the OPS computer and / or an external device; The operation is based on the target parameter to limit the current total power of the OPS computer to be less than or equal to the first power.

9. A power regulating device, characterized in that: include: A first determination module is used to determine a first power, where the first power is the maximum power that the intelligent interactive display device can provide to the OPS computer; A second determination module is used to determine a second power, where the second power is the maximum power that the OPS computer can consume, and the second power includes a maximum system power and a maximum peripheral power, where the maximum system power is the maximum power that the OPS computer itself can consume, and the maximum peripheral power is the maximum power that an external device of the OPS computer can consume; A processing module is used to limit the current total power of the OPS computer when the first power is less than the second power, so that the current total power is less than or equal to the first power, and the current total power includes the current system power and the current peripheral power.

10. An electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the electronic device implements the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.