Equipment control method and device, computing equipment and storage medium
By obtaining the target ambient noise information and adjusting the power and fan power of the computing device according to the noise range, the problem of increasing noise in a personal computer in a quiet environment is solved, improving user experience and device performance.
Patent Information
- Application Number
- CN202411094325.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-22
AI Technical Summary
When a personal computer is used in a quiet environment, the fan at a high speed causes an increase in noise, affecting the user experience. It is difficult for the existing technology to adjust the power strategy of the CPU and/or GPU according to actual application scenarios.
By obtaining the target environment noise information of the computing device, the power and fan power of the computing device are dynamically adjusted based on the preset noise range and control strategy to match the noise requirements of different application scenarios.
It effectively reduces the operating noise of computing devices, improves user experience, and adapts to the performance needs of different application scenarios.
Smart Images

Figure CN119002658A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a device control method, apparatus, computing device and storage medium. Background Art
[0002] In the field of computer technology, personal computers (PCs) have become one of the essential tools for people's daily office work. When processing a large number of complex tasks at the same time or under heavy load for a long time, personal computers will require more processing power and resource allocation, which will cause the fan inside the computer to work more frequently and faster.
[0003] Currently, PC fan control systems are called at any time during use according to the processor usage. When the PC is overloaded in a quiet environment such as a meeting or class, the user will directly adjust the fan to a higher speed to dissipate heat and maintain PC performance. However, when the fan is running at a high speed, it will generate a certain amount of noise, and the operating noise of the computing device will increase accordingly, affecting the user experience.
[0004] Therefore, during the use of personal computers, how to adjust the operating noise of computing devices to improve user experience has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a device control method, apparatus, computing device and storage medium to solve the problems in the prior art of how to adjust the operating noise of the computing device to improve the user experience during the use of a personal computer.
[0006] In a first aspect, an embodiment of the present application provides a method, including:
[0007] Acquiring target environment noise information of the computing device;
[0008] Determining a target control strategy corresponding to the target environmental noise information in a mapping relationship, wherein the mapping relationship includes at least one environmental noise range and a control strategy corresponding to the at least one environmental noise range, wherein the control strategy is used to limit the power of the computing device;
[0009] controlling the power of the computing device according to the target control strategy;
[0010] According to the power of the computing device, the power of the fan in the computing device is adjusted to adjust the operating noise of the computing device.
[0011] In a possible design of the first aspect, before determining the target control strategy corresponding to the target environmental noise information in the mapping relationship, the method further includes:
[0012] Determine a range smaller than a first preset noise value as a first environmental noise range;
[0013] Determine a range greater than or equal to the first preset noise value and less than a second preset noise value as a second environmental noise range, wherein the second preset noise value is greater than the first preset noise value;
[0014] Determine a range greater than or equal to the second preset noise value as a third environmental noise range;
[0015] The at least one environmental noise range includes: a first environmental noise range, a second environmental noise range, and a third environmental noise range.
[0016] In another possible design of the first aspect, the method further includes:
[0017] Determining a control strategy corresponding to the first environmental noise range as reducing the power of the computing device to a first preset power range;
[0018] Determine the control strategy corresponding to the second environmental noise range as reducing the power of the computing device to a second preset power range, wherein the lower limit value of the second preset power range is greater than the upper limit value of the first preset power range;
[0019] The control strategy corresponding to the third environmental noise range is determined to reduce the power of the computing device to a third preset power range, and the lower limit value of the third preset power range is greater than the upper limit value of the second preset power range.
[0020] In yet another possible design of the first aspect, controlling the power of the computing device according to the target control strategy includes:
[0021] Adjusting the power of the computing device to a target preset power range corresponding to the target control strategy;
[0022] The step of adjusting the power of a fan in the computing device according to the power of the computing device includes:
[0023] Adjust the power of the fan in the computing device according to the adjusted power of the computing device
[0024] In yet another possible design of the first aspect, obtaining target environment noise information in which the computing device is located includes:
[0025] In response to an instruction to start a first function, target environmental noise information of the computing device is obtained, wherein the first function is a function of limiting device power based on environmental noise.
[0026] In another possible design of the first aspect, before determining the target control strategy corresponding to the target environmental noise information in the mapping relationship, the method further includes:
[0027] The mapping relationship is determined according to the at least one environmental noise range and a control strategy corresponding to the at least one environmental noise range.
[0028] In yet another possible design of the first aspect, determining the target control strategy corresponding to the target environmental noise information in the mapping relationship includes:
[0029] Determine, in the mapping relationship, the environmental noise range in which the target environmental noise information is located;
[0030] The control strategy corresponding to the environmental noise range in which the target environmental noise information is located is used as the target control strategy.
[0031] In a second aspect, an embodiment of the present application provides a device control apparatus, including:
[0032] Acquisition module: acquiring target environment noise information of the computing device;
[0033] A determination module: determining a target control strategy corresponding to the target environmental noise information in a mapping relationship, wherein the mapping relationship includes at least one environmental noise range and a control strategy corresponding to the at least one environmental noise range, wherein the control strategy is used to limit the power of the computing device;
[0034] Control module: controlling the power of the computing device according to the target control strategy;
[0035] An adjustment module is configured to adjust the power of a fan in the computing device according to the power of the computing device, so as to adjust the operating noise of the computing device.
[0036] In a possible design of the second aspect, before determining the target control strategy corresponding to the target environmental noise information in the mapping relationship, the determination module is further used to:
[0037] Determine a range smaller than a first preset noise value as a first environmental noise range;
[0038] Determine a range greater than or equal to the first preset noise value and less than a second preset noise value as a second environmental noise range, wherein the second preset noise value is greater than the first preset noise value;
[0039] Determine a range greater than or equal to the second preset noise value as a third environmental noise range;
[0040] The at least one environmental noise range includes: a first environmental noise range, a second environmental noise range, and a third environmental noise range.
[0041] In another possible design of the second aspect, the determining module is further used to:
[0042] Determining a control strategy corresponding to the first environmental noise range as reducing the power of the computing device to a first preset power range;
[0043] Determine the control strategy corresponding to the second environmental noise range as reducing the power of the computing device to a second preset power range, wherein the lower limit value of the second preset power range is greater than the upper limit value of the first preset power range;
[0044] The control strategy corresponding to the third environmental noise range is determined to reduce the power of the computing device to a third preset power range, and the lower limit value of the third preset power range is greater than the upper limit value of the second preset power range.
[0045] In yet another possible design of the second aspect, the power of the computing device is controlled according to the target control strategy, and the control module is specifically configured to:
[0046] Adjusting the power of the computing device to a target preset power range corresponding to the target control strategy;
[0047] According to the power of the computing device, the power of the fan in the computing device is adjusted, and the adjustment module is specifically used to:
[0048] The power of a fan in the computing device is adjusted according to the adjusted power of the computing device.
[0049] In yet another possible design of the second aspect, the acquisition module acquires the target environment noise information in which the computing device is located, specifically for:
[0050] In response to an instruction to start a first function, target environmental noise information of the computing device is obtained, wherein the first function is a function of limiting device power based on environmental noise.
[0051] In another possible design of the second aspect, before determining the target control strategy corresponding to the target environmental noise information in the mapping relationship, the determination module is also used to determine the mapping relationship based on the at least one environmental noise range and the control strategy corresponding to the at least one environmental noise range.
[0052] In yet another possible design of the second aspect, the determination module determines the target control strategy corresponding to the target environmental noise information in the mapping relationship, specifically for:
[0053] Determine, in the mapping relationship, the environmental noise range in which the target environmental noise information is located;
[0054] The control strategy corresponding to the environmental noise range in which the target environmental noise information is located is used as the target control strategy.
[0055] In a third aspect, the present application provides a computing device, comprising: a controller, and a memory communicatively connected to the controller;
[0056] The memory stores computer-executable instructions;
[0057] The controller executes the computer-executable instructions stored in the memory to implement the method described in the first aspect or any one of the above-mentioned methods.
[0058] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a controller, they are used to implement the method described in the first aspect or any one of the above methods.
[0059] In a fifth aspect, the present application provides a computer program, wherein the computer program product includes a computer program, wherein the computer program is stored in a computer-readable storage medium, and at least one controller can read the computer program from the computer-readable storage medium. When the at least one controller executes the computer program, the method described in the first aspect or any one of the methods can be implemented.
[0060] The device control method, apparatus, computing device and storage medium provided by the present application obtain the target environment noise information of the computing device, and then determine the target control strategy corresponding to the target environment noise information in the mapping relationship, wherein the mapping relationship includes at least one environment noise range and the control strategy corresponding to the at least one environment noise range, and the control strategy is used to limit the power of the computing device, and finally the power of the computing device is controlled according to the target control strategy; according to the power of the computing device, the power of the fan in the computing device is adjusted to adjust the operating noise of the computing device. In this technical solution, the noise range value is first set based on different application scenarios, and the corresponding control strategy is set according to the noise range value of different scenarios. When it is detected that the computing device is in a certain application scenario, the computing device will match the corresponding control strategy according to the noise value of the application scenario to change the computing device power and the fan power, thereby adjusting the operating noise of the computing device and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0062] Figure 1 A schematic diagram of the architecture provided for an embodiment of the present application;
[0063] Figure 2 Schematic diagram of the process of the device control method provided in the embodiment of the present application Figure 1 ;
[0064] Figure 3 Schematic diagram of the process of the device control method provided in the embodiment of the present application Figure 2 ;
[0065] Figure 4 Schematic diagram of the process of the device control method provided in the embodiment of the present application Figure 3 ;
[0066] Figure 5 Schematic diagram of the process of the device control method provided in the embodiment of the present application Figure 4 ;
[0067] Figure 6 A schematic diagram of the structure of the device control device provided in the embodiment of the present application;
[0068] Figure 7 A schematic diagram of the structure of a computing device provided in an embodiment of the present application.
[0069] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0071] First, the terms involved in the embodiments of the present application are explained:
[0072] Embedded controller (EC): A microprocessor or microcontroller specifically designed to control and manage embedded systems.
[0073] Dynamic Platform Thermal Framework (DPTF): A key technology framework that manages and optimizes the power consumption and thermal management of computer systems, helping computing devices maintain efficient performance while minimizing power consumption and heat.
[0074] Power Limit (PL): In a computing device or system, it is used to limit the maximum amount of power that a device can consume.
[0075] Polling: A common computer programming and communication technique used to obtain or process data.
[0076] Before introducing the embodiments of the present application, the application background of the embodiments of the present application is first explained:
[0077] With the rapid development of social economy, personal computers are widely used in offices, entertainment venues, educational venues, etc., and are one of the essential tools of the modern information society. Personal computers are composed of many complex systems. When performing complex tasks or running for a long time, their core components will require more processing power and resource allocation, thus generating a lot of heat. As a key component of personal computers, the fan cooling system can maintain the core components in a safe temperature range when working, keep the system running in the best state, and extend the stability and life of the entire system.
[0078] Currently, personal computers usually use power management policies set by users to adjust the operating power of the central processing unit (CPU) and graphics processing unit (GPU) and the operation of the fan during use. When the user uses the personal computer for a long time or the computer is overloaded, the personal computer will directly call the fan cooling system to dissipate heat and maintain system performance.
[0079] However, the above-mentioned application scenarios will have the following technical problems: the fan cooling system will not adjust the power supply strategy of the CPU and / or GPU according to the actual application scenario. When the user uses the personal computer for a long time or the load is too large in a quiet environment such as a meeting or class, the user will directly adjust the fan to a high speed to maintain system performance, but the noise caused by the fan greatly affects the user experience.
[0080] In response to the technical problems existing in the prior art, the inventors of the present application have the following idea: a power control strategy for dynamically adjusting a computing device according to the noise value of a current application scenario can be designed. Specifically, when the computing device obtains the noise value of its own application scenario, it searches for a corresponding control strategy within a plurality of pre-set noise ranges, and then transmits the target control strategy to the CPU and / or GPU to adjust the PL strategy and the DPTF strategy. By adjusting the target control strategy, the operating power of the CPU and / or GPU can be dynamically adjusted, thereby affecting the operation of the fan so that the operating noise of the computing device meets the requirements of the current application scenario.
[0081] Specifically, Figure 1 The schematic diagram of the architecture provided by the embodiment of the present application is as follows: Figure 1 As shown, the method involved in the embodiment of the present application is briefly introduced:
[0082] The architecture includes: a controller, a noise sensor, a processor, a fan, and an application (Application, APP).
[0083] Optionally, the controller may be an EC; the processor may be a single CPU, a single GPU, or a combination of a CPU and / or a GPU.
[0084] For example, Figure 1 As shown, the APP is used to turn on or off the dynamic environmental noise adjustment function. After the controller of the computing device receives the signal from the APP to turn on the dynamic environmental noise adjustment function, it starts to obtain the noise information collected by the noise sensor, and then determines the corresponding control strategy, and sends the corresponding control strategy to the processor to dynamically adjust the processor power of the computing device. At the same time, the corresponding fan power will also be adjusted accordingly based on the processor power, so that the operating noise of the computing device will also be dynamically adjusted.
[0085] The technical solution of the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0086] It is worth noting that the application fields of the methods, devices, computing devices and storage media involved in the embodiments of the present application are not limited.
[0087] It should be understood that the execution subject of the embodiments of the present application is a computing device, which can specifically be any personal computer, laptop computer, etc. in a distributed system.
[0088] Figure 2 Schematic diagram of the process of the device control method provided in the embodiment of the present application Figure 1 ,like Figure 2 As shown, the method may include the following steps:
[0089] Step 21: Obtain target environment noise information of the computing device.
[0090] In this step, in order to achieve the effect that the operating noise of the computing device is adapted to the environment, it is necessary to first obtain the noise information in the environment where the computing device is located, which is recorded as the target environment noise information.
[0091] Optionally, step 21 may be implemented as follows: in response to an instruction to open the first function, obtaining target environment noise information of the computing device.
[0092] Among them, the first function is a function of limiting the power of the device based on the environmental noise.
[0093] Specifically, after the APP turns on the first function, the controller of the computing device obtains an instruction for the APP to turn on the first function through the Advanced Configuration and Power Interface (ACPI) interface, and the controller of the computing device obtains noise information of the current environment collected by the noise sensor.
[0094] For example, combined with Figure 1 To explain, when the user turns on the dynamic noise adjustment function (i.e., one possibility of the first function) in the APP, the controller of the computing device starts to collect noise data information in the current environment in real time.
[0095] Specifically, the sensor for collecting environmental noise in the computing device uses Polling to collect environmental noise, and then the controller in the computing device uses I 2 The C protocol actively captures the environmental noise information collected by the noise sensor.
[0096] Among them, noise sensors can be of the following types:
[0097] 1. Capacitive noise sensor: It uses capacitance changes to detect the vibration of sound waves. Capacitive noise sensors have a fast response speed and are usually used to measure noise in indoor environments.
[0098] 2. Resistive noise sensor: It detects noise by changing the resistance by using the change of sound waves. Resistive noise sensors usually have high requirements for changes in ambient temperature and humidity, and need to be compensated in the design.
[0099] 3. Piezoelectric noise sensor: When sound wave vibration acts on the noise sensor, a piezoelectric effect occurs, thereby generating an electric charge.
[0100] 4. Micro-Electro-Mechanical Systems (MEMS) noise sensor: It combines micro-mechanical systems and electronic technology, generally works based on piezoelectric effect or mechanical vibration effect, and can achieve high-sensitivity noise detection in a small size and low power consumption.
[0101] Step 22: Determine the target control strategy corresponding to the target environmental noise information in the mapping relationship.
[0102] The mapping relationship includes at least one environmental noise range and at least one control strategy corresponding to the environmental noise range, and the control strategy is used to limit the power of the computing device.
[0103] In one possible implementation, the control strategy may be a power strategy such as a PL strategy and a DPTF strategy. The power of the computing device is the overall power of the processor. The control strategy limits the power of the computing device, i.e., adjusts the PL strategy and DPTF strategy of the processor of the computing device to limit the power of the computing device.
[0104] In this step, before the above step 22, the following implementation may also be performed:
[0105] The computing device pre-processes the target environment noise information data.
[0106] Specifically, the noise information data preprocessing method can adopt data cleaning and denoising, and perform de-bouncing operations on the abnormal values or bad data points in the collected noise data (for example, the sudden sound of moving chairs, sneezing, clapping on the table, things falling, etc.), filter out some sudden and unstable noise points, and ensure the quality of noise data.
[0107] Furthermore, the computing device determines the environmental noise range in which the processed noise information is located, and determines the target control strategy corresponding to the current environmental noise range in a preset mapping relationship to adapt to the current application scenario.
[0108] Before the above step 22, the method may further include the following steps:
[0109] A mapping relationship is determined according to at least one environmental noise range and a control strategy corresponding to at least one environmental noise range.
[0110] In this step, the first environmental noise range can be a quiet environment scene, which can be used in audio recording and production, laboratories with high sound requirements, medical diagnosis and treatment related equipment, precision manufacturing and other application scenarios; the second environmental noise range can be an office environment scene, which can be used in office meeting rooms, lecture halls, daily office areas and other application scenarios; the third environmental noise range can be a noisy environment scene, which can be used in entertainment venues, artificial intelligence, cloud computing, game development and other application scenarios that do not have high requirements for sound but pursue high performance of computing equipment.
[0111] Optionally, step 22 may be implemented as follows:
[0112] Step 1: Determine the environmental noise range where the target environmental noise information is located in the mapping relationship.
[0113] In this implementation, the noise sensor transmits the noise information of the detected current environment to the computing device, and the computing device determines in which environmental noise range the current environmental noise information is located according to a preset mapping relationship.
[0114] Step 2: Use the control strategy corresponding to the environmental noise range where the target environmental noise information is located as the target control strategy.
[0115] In this implementation, the control strategy corresponds to the environmental noise range one by one, wherein the control strategy for the first environmental noise range of the quiet environment scene is the first control strategy; the control strategy for the second environmental noise range of the office environment scene is the second control strategy; and the control strategy for the third environmental noise range of the noisy environment scene is the third control strategy.
[0116] Exemplary:
[0117] If the current environmental noise information is in a silent environment scenario, the computing device searches for the corresponding first control strategy based on the first environmental noise range. If the current environmental noise information is in an office environment scenario, the computing device searches for the corresponding second control strategy based on the second environmental noise range. If the current environmental noise information is in a noisy environment scenario, the computing device searches for the corresponding third control strategy based on the third environmental noise range.
[0118] Step 23: Control the power of the computing device according to the target control strategy.
[0119] In this step, if Figure 1 As shown, the controller of the computing device transmits the target control strategy to the processor through the Platform Environment Control Interface (PECI) interface, so that the processor executes the control strategy to control the power of the computing device, thereby adjusting the operating noise in the computing device, which can specifically be the fan speed, etc.
[0120] Step 24: According to the power of the computing device, adjust the power of the fan in the computing device to adjust the operating noise of the computing device.
[0121] In this step, combine Figure 1 For specific explanation:
[0122] The computing device transmits a first control strategy corresponding to a first environmental noise range mapped by current environmental noise information to a processor, and the processor executes the first control strategy to control the power of the computing device, and adjusts the power of a fan in the computing device according to the power of the computing device to adjust the operating noise of the computing device.
[0123] The device control method provided in the embodiment of the present application obtains the target environment noise information of the computing device, and then determines the target control strategy corresponding to the target environment noise information in the mapping relationship, the mapping relationship includes at least one environment noise range and at least one control strategy corresponding to the environment noise range, the control strategy is used to limit the power of the computing device, and finally the power of the computing device is controlled according to the target control strategy; according to the power of the computing device, the power of the fan in the computing device is adjusted to adjust the operating noise of the computing device. In this technical solution, the noise range value is first set based on different application scenarios, and the corresponding control strategy is set according to the noise range value of different scenarios. When it is detected that the computing device is in a certain application scenario, the computing device will match the corresponding control strategy according to the noise value of the application scenario to change the computing device power and the fan power, thereby adjusting the operation of the fan and controlling the operating noise of the computing device to improve the user experience.
[0124] Based on the above embodiments, Figure 3 Schematic diagram of the process of the device control method provided in the embodiment of the present application Figure 2 ,like Figure 3 As shown, the method may also include the following steps:
[0125] Optionally, in the above step 22, at least one environmental noise range includes: a first environmental noise range, a second environmental noise range, and a third environmental noise range.
[0126] It should be understood that the execution order of the following steps 31 to 33 is not limited.
[0127] Step 31: determine a range smaller than a first preset noise value as a first environmental noise range.
[0128] For example, in a possible implementation, the first preset noise value is 30 decibels.
[0129] In this step, the environmental noise range less than 30 decibels is determined as the first environmental noise range, and it can be considered that the human computer is currently in a silent environment scene.
[0130] Step 32: Determine a range that is greater than or equal to the first preset noise value and less than the second preset noise value as a second environmental noise range.
[0131] For example, in a possible implementation, the second preset noise value is 60 decibels.
[0132] In this step, an environmental noise range greater than or equal to 30 decibels and less than 60 decibels is determined as the second environmental noise range, and it is determined that the personal computer is currently in an office environment scene.
[0133] Step 33: determine a range greater than or equal to the second preset noise value as a third environmental noise range.
[0134] In this step, the environmental noise range greater than or equal to 60 decibels is determined as the third environmental noise range, and it is determined that the personal computer is currently in a noisy environment scene.
[0135] It should be understood that the first preset noise value, the second preset noise value, and the third preset noise value can be adjusted according to personal needs and different business application scenarios.
[0136] In actual implementation, the number of environmental noise ranges may be determined based on actual conditions and is not limited to the first environmental noise range, the second environmental noise range, and the third environmental noise range.
[0137] The device control method provided in the embodiment of the present application first determines the range less than the first preset noise value as the first environmental noise range, and at the same time determines the range greater than or equal to the first preset noise value and less than the second preset noise value as the second environmental noise range, the second preset noise value is greater than the first preset noise value, and the range greater than or equal to the second preset noise value is determined as the third environmental noise range. This technical solution, by one-to-one correspondence between different environmental noise ranges and control strategies, the computing device can directly find out the target control strategy after obtaining which range the current environmental noise value belongs to, so as to facilitate the subsequent precise control of the power of the computing device.
[0138] Based on the above embodiments, Figure 4 Schematic diagram of the process of the device control method provided in the embodiment of the present application Figure 3 ,like Figure 4 As shown, the method may also include the following steps:
[0139] It should be understood that the execution order of the following steps 41 to 43 is not limited.
[0140] Step 41: Determine the control strategy corresponding to the first environmental noise range as reducing the power of the computing device to a first preset power range.
[0141] In this step, if the first environmental noise range corresponds to a range less than the first preset noise value, the scene corresponding to the range is considered to be a silent environment scene, in which the sound is required to be always below 30 decibels to improve work efficiency and user experience. However, in this scene, if the PC load is large, the fan will automatically start working to reduce the processor temperature to maintain performance, and it will also generate a certain amount of noise. In order for the computing device to meet the sound requirements of this scene, it is necessary to lower the power of the computing device so that the processor of the computing device works within the first preset power range and is within the safe temperature range. The PC fan will not run, reducing the noise generated by the rotation of the PC fan.
[0142] For example, in one possible implementation, the first preset power range is less than 60 watts.
[0143] Step 42: Determine the control strategy corresponding to the second environmental noise range as reducing the power of the computing device to a second preset power range.
[0144] In this step, the second environmental noise range corresponds to a range greater than or equal to the first preset noise value and less than the second preset noise value, and the scene corresponding to the range is considered to be an office environment scene, in which the sound is required to be always below 60 decibels to ensure a quiet and comfortable working environment. Therefore, the processor of the computing device can be operated within the second preset power range, and the personal computer fan runs at a lower power and speed, which will not generate a lot of noise and affect the user experience.
[0145] For example, in a possible implementation, the second preset power range is greater than or equal to 60 watts and less than 80 watts.
[0146] Step 43: Determine the control strategy corresponding to the third environmental noise range as reducing the power of the computing device to a third preset power range.
[0147] In this step, the third environmental noise range corresponds to a range greater than or equal to the second preset noise value, and the scene corresponding to the range is considered to be a noisy environment scene. The noise in this scene is relatively loud, so the sound requirements in this scene are not high. In this scene, the computing device is generally processing a large amount of data and complex calculations. The processor temperature will rise. If the temperature exceeds the safe temperature for a long time, the processor performance will be affected. The operation of the fan can reduce the processor temperature and ensure that the personal computer is in high-performance operation. Therefore, the processor of the computing device can be operated within the third preset power range, and the personal computer has a higher operating power and a higher operating speed, which will not affect the user experience while improving the performance of the personal computer.
[0148] For example, in a possible implementation, the third preset power range is greater than or equal to 80 watts.
[0149] Optionally, based on the above embodiment, the above step 23 and step 24 may be implemented as follows:
[0150] The power of the computing device is adjusted to a target preset power range corresponding to the target control strategy, and the power of the fan in the computing device is adjusted according to the adjusted power of the computing device.
[0151] In one possible implementation, if the controller of the computing device obtains that the current ambient noise is within the first ambient noise range, and finds the target control strategy corresponding to the first ambient noise range, it determines that the power of the computing device is within the first preset power range, that is, less than 60 watts, and transmits the first preset power range corresponding to the target control strategy to the processor. The processor adopts the PL strategy and the DPTF strategy to dynamically adjust the operating power of the CPU and / or GPU to less than 60 watts. The processor operates at a safe temperature, and the fan in the computing device is not operated, that is, the power of the fan in the computing device is adjusted to 0, so that the operating noise of the computing device is within the first ambient noise range.
[0152] In one possible implementation, if the controller of the computing device obtains that the current ambient noise is within the second ambient noise range, and finds the target control strategy corresponding to the second ambient noise range, it determines that the power of the computing device is within the second preset power range, that is, greater than or equal to 60 and less than 80 watts, and transmits the corresponding second preset power range in the target control strategy to the processor. The processor adopts the PL strategy and the DPTF strategy to dynamically adjust the operating power of the CPU and / or GPU to greater than or equal to 60 and less than 80 watts, and adjusts the power of the fan in the computing device so that the fan is always running at a low speed, thereby keeping the operating noise of the computing device within the second ambient noise range.
[0153] The device control method provided in the embodiment of the present application first determines the control strategy corresponding to the first environmental noise range as reducing the power of the computing device to the first preset power range, and at the same time determines the control strategy corresponding to the second environmental noise range as reducing the power of the computing device to the second preset power range, and determines the control strategy corresponding to the third environmental noise range as reducing the power of the computing device to the third preset power range. This technical solution matches the control strategies corresponding to different environmental noise ranges with different preset power ranges one by one, determines the preset power range according to different environmental noises, ensures that the personal computer controller operates at a power suitable for the actual application scenario, and ensures that the noise generated by the personal computer fan can also meet the actual application scenario.
[0154] In one possible implementation, Figure 5Schematic diagram of the process of the device control method provided in the embodiment of the present application Figure 4 , combined with Figure 5 and Figure 1 , to illustrate the method:
[0155] Step 1. Set up the dynamic ambient noise adjustment function in the APP.
[0156] Step 2: Detect that the dynamic environmental noise adjustment function is turned on in the APP and obtain real-time noise information from the noise sensor.
[0157] In this step, the APP transmits the dynamic environmental noise adjustment function signal to the controller of the computing device through the ACPI interface. After the controller of the computing device detects that the APP turns on the dynamic noise adjustment function, it actively captures the real-time noise information of the application scenario collected by the noise sensor through the Polling method and the communication protocol.
[0158] The communication protocol may be Bluetooth protocol, Inter-Integrated Circuit (IC), 2 C) protocol, serial peripheral interface (Serial Peripheral Interface, SPI) protocol.
[0159] Step 3: Perform data processing on the real-time noise information to obtain the processed noise value.
[0160] In this step, the controller of the computing device performs data processing on the noise information (eg, noise reduction, jitter elimination, averaging operations, etc.) to obtain a real-time stable noise value of the current environment.
[0161] Step 4: Determine the noise range of the current environment based on the noise value obtained and find the corresponding target control strategy.
[0162] In this step, the controller of the computing device determines the environmental noise range and the current environmental scene of the current noise according to the captured noise value, and searches for the corresponding target control strategy according to the current environmental scene.
[0163] Step 5: According to the computing device target control strategy, adjust the computing device power and fan power to adjust the operating noise of the computing device.
[0164] In this step, the controller of the computing device transmits the target control strategy to the processor through PECI, and the processor executes the control strategy to adjust the overall control strategy of the computing device, thereby achieving the purpose of adjusting the fan operation of the computing device, thereby dynamically adjusting the operating noise of the computing device.
[0165] The technical solutions provided in the embodiments of the present application may have the following technical effects:
[0166] According to the current environmental noise value, the noise range and environmental scenario of the current environment are judged, and the control strategy of the computing device is adjusted for different scenarios to control the power of the computing device. The fan power of the corresponding computing device will also be adjusted, so that the operating noise of the computing device will also be dynamically adjusted to adapt to the current environment's requirements for noise and improve the user experience.
[0167] 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.
[0168] Figure 6 This is a schematic diagram of the structure of the device control device provided in the embodiment of the present application. Figure 6 As shown, the device comprises:
[0169] Acquisition module 61: Acquisition of target environment noise information of the computing device;
[0170] Determining module 62: determining a target control strategy corresponding to the target environmental noise information in a mapping relationship, wherein the mapping relationship includes at least one environmental noise range and at least one control strategy corresponding to the environmental noise range, and the control strategy is used to limit the power of the computing device;
[0171] Control module 63: controls the power of the computing device according to the target control strategy.
[0172] Adjustment module 64: adjusts the power of the fan in the computing device according to the power of the computing device to adjust the operating noise of the computing device.
[0173] In a possible implementation manner, before determining the target control strategy corresponding to the target environmental noise information in the mapping relationship, the determination module 62 is further configured to:
[0174] Determine a range smaller than a first preset noise value as a first environmental noise range;
[0175] Determine a range greater than or equal to a first preset noise value and less than a second preset noise value as a second environmental noise range, wherein the second preset noise value is greater than the first preset noise value;
[0176] Determine a range greater than or equal to the second preset noise value as a third environmental noise range;
[0177] The at least one environmental noise range includes: a first environmental noise range, a second environmental noise range, and a third environmental noise range.
[0178] In a possible implementation manner, the determination module 62 is further configured to:
[0179] Determine the control strategy corresponding to the first environmental noise range as reducing the power of the computing device to a first preset power range;
[0180] Determine the control strategy corresponding to the second environmental noise range as reducing the power of the computing device to a second preset power range, wherein the lower limit value of the second preset power range is greater than the upper limit value of the first preset power range;
[0181] The control strategy corresponding to the third environmental noise range is determined to reduce the power of the computing device to a third preset power range, and the lower limit value of the third preset power range is greater than the upper limit value of the second preset power range.
[0182] In a possible implementation manner, the control module 63 is specifically configured to:
[0183] Adjusting the power of the computing device to a target preset power range corresponding to the target control strategy;
[0184] According to the power of the computing device, the power of the fan in the computing device is adjusted. The adjustment module 64 is specifically used for:
[0185] The power of a fan in the computing device is adjusted according to the adjusted power of the computing device.
[0186] In a possible implementation, the acquisition module 61 calculates the target environment noise information of the device, specifically for:
[0187] In response to an instruction to open a first function, target environmental noise information of a computing device is obtained, the first function being a function of limiting device power based on environmental noise.
[0188] In a possible implementation manner, before determining the target control strategy corresponding to the target environmental noise information in the mapping relationship, the determination module 61 is further used to:
[0189] A mapping relationship is determined according to at least one environmental noise range and a control strategy corresponding to at least one environmental noise range.
[0190] In a possible implementation manner, the determination module 61 determines the target control strategy corresponding to the target environmental noise information in the mapping relationship, specifically for:
[0191] Determine the environmental noise range where the target environmental noise information is located in the mapping relationship;
[0192] The control strategy corresponding to the environmental noise range in which the target environmental noise information is located is used as the target control strategy.
[0193] The device control apparatus provided in the embodiment of the present application may be used to execute the device control method in any of the above embodiments, and its implementation principle and technical effects are similar and will not be described in detail here.
[0194] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the controller element or instructions in the form of software.
[0195] Figure 7 A schematic diagram of the structure of a computing device provided in an embodiment of the present application, such as Figure 7 As shown, the computing device may include: a controller 71, a memory 72, and computer program instructions stored in the memory 72 and executable on the controller 71, and the controller 71 implements the method provided in any of the foregoing embodiments when executing the computer program instructions.
[0196] Optionally, the above-mentioned components of the computing device may be connected via a system bus.
[0197] The memory 72 may be a separate storage unit or a storage unit integrated in the controller 71. The number of the controller 71 may be one or more.
[0198] It should be understood that the controller 71 can be a central processing unit (CPU), or other general controllers 71, digital signal processors 71 (DSP), application specific integrated circuits (ASIC), etc. The general controller 71 can be a microcontroller 71 or the controller 71 can also be any conventional controller 71, etc. The steps of the method disclosed in the present application can be directly embodied as being executed by the hardware controller 71, or can be executed by a combination of hardware and software modules in the controller 71.
[0199] The system bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The memory 72 may include a random access memory 72 (RAM), and may also include a non-volatile memory 72 (NVM), such as at least one disk memory 72.
[0200] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The above-mentioned program can be stored in a readable memory 72. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the above-mentioned memory 72 (storage medium) includes: read-only memory 72 (ROM), RAM, flash memory 72, hard disk, solid state hard disk, magnetic tape, floppy disk, optical disk and any combination thereof.
[0201] In a possible implementation, the controller may also be a processor.
[0202] The computing device provided in the embodiment of the present application can be used to execute the method provided in any of the above method embodiments. The implementation principles and technical effects are similar and will not be repeated here.
[0203] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed on a computer, the computer executes the above method.
[0204] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0205] Optionally, a readable storage medium is coupled to a controller so that the controller can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the controller. The controller and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the controller and the readable storage medium can also exist in the device as discrete components.
[0206] An embodiment of the present application also provides a computer program product, which includes a computer program. The computer program is stored in a computer-readable storage medium. At least one controller can read the computer program from the computer-readable storage medium. When the at least one controller executes the computer program, the above method can be implemented.
[0207] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A device control method, characterized in that: Applied to a computing device, the method comprises: Acquiring target environment noise information of the computing device; Determining a target control strategy corresponding to the target environmental noise information in a mapping relationship, wherein the mapping relationship includes at least one environmental noise range and a control strategy corresponding to the at least one environmental noise range, wherein the control strategy is used to limit the power of the computing device; controlling the power of the computing device according to the target control strategy; According to the power of the computing device, the power of the fan in the computing device is adjusted to adjust the operating noise of the computing device.
2. The method according to claim 1, characterized in that Before determining the target control strategy corresponding to the target environmental noise information in the mapping relationship, the method further includes: Determine a range smaller than a first preset noise value as a first environmental noise range; Determine a range greater than or equal to the first preset noise value and less than a second preset noise value as a second environmental noise range, wherein the second preset noise value is greater than the first preset noise value; Determine a range greater than or equal to the second preset noise value as a third environmental noise range; The at least one environmental noise range includes: a first environmental noise range, a second environmental noise range, and a third environmental noise range.
3. The method according to claim 2, characterized in that The method further comprises: Determining a control strategy corresponding to the first environmental noise range as reducing the power of the computing device to a first preset power range; Determine the control strategy corresponding to the second environmental noise range as reducing the power of the computing device to a second preset power range, wherein the lower limit value of the second preset power range is greater than the upper limit value of the first preset power range; The control strategy corresponding to the third environmental noise range is determined to reduce the power of the computing device to a third preset power range, and the lower limit value of the third preset power range is greater than the upper limit value of the second preset power range.
4. The method according to claim 3, characterized in that The controlling the power of the computing device according to the target control strategy includes: Adjusting the power of the computing device to a target preset power range corresponding to the target control strategy; The step of adjusting the power of a fan in the computing device according to the power of the computing device includes: The power of a fan in the computing device is adjusted according to the adjusted power of the computing device.
5. The method according to any one of claims 1 to 4, characterized in that: The obtaining the target environment noise information of the computing device includes: In response to an instruction to start a first function, target environmental noise information of the computing device is obtained, wherein the first function is a function of limiting device power based on environmental noise.
6. The method according to any one of claims 1 to 4, characterized in that: Before determining the target control strategy corresponding to the target environmental noise information in the mapping relationship, the method further includes: The mapping relationship is determined according to the at least one environmental noise range and a control strategy corresponding to the at least one environmental noise range.
7. A device control device, characterized in that: Applied to a computing device, the apparatus further comprises: Acquisition module: acquiring target environment noise information of the computing device; A determination module: determining a target control strategy corresponding to the target environmental noise information in a mapping relationship, wherein the mapping relationship includes at least one environmental noise range and a control strategy corresponding to the at least one environmental noise range, wherein the control strategy is used to limit the power of the computing device; Control module: controlling the power of the computing device according to the target control strategy; The acquisition module adjusts the power of the fan in the computing device according to the power of the computing device to adjust the operating noise of the computing device.
8. A computing device, characterized in that include: A controller, and a memory communicatively connected to the controller; The memory stores computer-executable instructions; The controller executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by the controller, they are used to implement the method according to any one of claims 1 to 6.
10. A computer program, characterized in that The computer program product comprises a computer program, which is stored in a computer-readable storage medium. At least one controller can read the computer program from the computer-readable storage medium, and when the at least one controller executes the computer program, the method described in any one of claims 1 to 6 can be implemented.
Citation Information
Cited By
Power output method, device and system based on filament current and magnetic field current
CN120803189A
Power output method, device and system based on filament current and magnetic field current
CN120803189B
