Search

CN-115220508-B - Voltage adjustment method, device, computer equipment and readable medium

CN115220508BCN 115220508 BCN115220508 BCN 115220508BCN-115220508-B

Abstract

The disclosure provides a voltage adjustment method, which comprises the steps of detecting index parameters, calculating first dispersion parameters of the index parameters according to detection values of the index parameters in preset time periods, and adjusting the voltage of a processing core corresponding to the index parameters in response to the first dispersion parameters being larger than a preset first threshold value. When index parameters change greatly, the nuclear power voltage of the corresponding processing core is adjusted, and compared with the scheme of adjusting the voltage of the whole machine, the embodiment of the disclosure does not need to additionally increase hardware devices, does not increase the electricity consumption of terminal equipment, does not cause service communication interruption in the voltage adjustment process, can solve the problem that the positioning cannot be reported or the terminal equipment is restarted due to unstable voltage, improves the performance, stability and robustness of the terminal equipment, reduces the power consumption, and prolongs the service life of the terminal equipment. The present disclosure also provides a voltage adjustment apparatus, a computer device, and a readable medium.

Inventors

  • ZHANG JIANCHANG

Assignees

  • 中兴通讯股份有限公司

Dates

Publication Date
20260505
Application Date
20210415

Claims (10)

  1. 1. A method of voltage regulation, the method comprising: Detecting index parameters; Calculating the average value of the index parameters according to each detection value of the index parameters in the preset duration; calculating a first dispersion parameter of the index parameter according to the average value and each detection value of the index parameter, wherein the first dispersion parameter comprises a variance or a standard deviation; Responding to the first dispersion parameter being larger than a preset first threshold value, and adjusting the voltage of the processing core corresponding to the index parameter; wherein the adjusting the voltage of the processing core corresponding to the index parameter includes: determining a voltage adjustment value and an adjustment direction of a processing core corresponding to the index parameter according to the average value of the index parameter and a preset second threshold value; And responding to the fact that the sum of the current voltage of the processing core corresponding to the voltage adjustment value and the index parameter is smaller than a preset third threshold value, and adjusting the voltage of the processing core corresponding to the index parameter according to the adjustment direction and a preset step value.
  2. 2. The method of claim 1, further comprising, after adjusting the voltage of the processing core to which the index parameter corresponds: Detecting the index parameter, and calculating a second dispersion parameter of the index parameter according to each detection value of the index parameter in a preset time period; and responding to the second dispersion parameter being larger than the first threshold value, and adjusting the voltage of the processing core corresponding to the index parameter.
  3. 3. The method of claim 1, wherein the index parameter comprises a network parameter, after determining the voltage adjustment value and the adjustment direction of the processing core corresponding to the index parameter according to the average value of the index parameter and a preset second threshold value, before adjusting the voltage of the processing core corresponding to the index parameter according to the adjustment direction and a preset step value, the method further comprises: Setting the USB circuit to a power-on state in response to the adjustment direction being up and the Universal Serial Bus (USB) circuit being in a power-off state; detecting the index parameter, and calculating a third dispersion parameter of the index parameter according to each detection value of the index parameter in a preset time period; the step of adjusting the voltage of the processing core corresponding to the index parameter according to the adjustment direction and the preset step value comprises the following steps: and responding to the third dispersion parameter being larger than the first threshold value, and adjusting the voltage of the processing core corresponding to the index parameter according to the adjustment direction and a preset step value.
  4. 4. The method of claim 3, wherein after setting the USB circuit to a power-on state and calculating a third dispersion parameter for the indicator parameter based on each detected value of the indicator parameter for a preset period of time, the method further comprises: and in response to the third dispersion parameter being less than or equal to the first threshold, setting the USB circuit to a powered-down state.
  5. 5. The method of claim 1, wherein the index parameter comprises a network parameter, and the adjusting the voltage of the processing core corresponding to the index parameter according to the adjustment direction and a preset step value further comprises: responding to the adjustment direction being down-regulated and the Universal Serial Bus (USB) circuit being in a power-down state, and down-regulating the voltage of the processing core corresponding to the index parameter according to a preset step value; And in response to the adjustment direction being up-regulated and the USB circuit being in a power-on state, up-regulating the voltage of the processing core corresponding to the index parameter according to a preset step value.
  6. 6. The method of claim 1, wherein the index parameter comprises an operation parameter and/or a network parameter, the voltage of the processing core corresponding to the operation parameter is the voltage of the application processing core, and the voltage of the processing core corresponding to the network parameter is the voltage of the modem core.
  7. 7. The method of claim 6, wherein the operating parameters include memory usage parameters and/or central processing unit CPU usage parameters, and the network parameters include network transmission data size and/or signal strength.
  8. 8. The voltage adjusting device is characterized by comprising a detection module, a processing module and a nuclear voltage adjusting module, wherein the detection module is used for detecting index parameters; The processing module is used for calculating the average value of the index parameter according to each detection value of the index parameter in the preset duration, calculating a first dispersion parameter of the index parameter according to the average value of the index parameter and each detection value, wherein the first dispersion parameter comprises a variance or a standard deviation, determining a voltage adjustment value and an adjustment direction of a processing core corresponding to the index parameter according to the average value of the index parameter and a preset second threshold value in response to the first dispersion parameter being larger than a preset first threshold value, and indicating the nuclear power voltage adjustment module to adjust the voltage of the processing core corresponding to the index parameter according to the adjustment direction and a preset step value in response to the sum of the voltage adjustment value and the current voltage of the processing core corresponding to the index parameter being smaller than a preset third threshold value; The nuclear power voltage adjusting module is used for adjusting the voltage of the processing core corresponding to the index parameter.
  9. 9. A computer device, comprising: One or more processors; A storage device having one or more programs stored thereon; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the voltage regulation method of any of claims 1-7.
  10. 10. A computer readable medium having stored thereon a computer program, wherein the program when executed implements the voltage regulation method according to any of claims 1-7.

Description

Voltage adjustment method, device, computer equipment and readable medium Technical Field The present disclosure relates to the field of automatic control technologies, and in particular, to a voltage adjustment method, a voltage adjustment device, a computer device, and a readable medium. Background With the improvement of living conditions and the development of universal internet technology, the internet of things is increasingly used in various industries, such as children telephone watches and pet trackers, and people can track and position children and pets at any time and any place. If the voltage of the tracker is unstable, the problems of unstable network signals, dead halt or repeated restarting and the like can be caused, and thus, the children or pets are disconnected. At present, in order to solve the problem of unstable voltage of the tracker, the voltage of the whole machine is usually adjusted from hardware, and the scheme of adjusting the voltage of the whole machine by means of a power amplifier is also adopted, so that the voltage of the whole machine is widely applied to the aspects of communication modules and trackers at present. Disclosure of Invention The present disclosure provides a voltage adjustment method, apparatus, computer device, and readable medium. In a first aspect, embodiments of the present disclosure provide a voltage adjustment method, the method including: Detecting index parameters; Calculating a first dispersion parameter of the index parameter according to each detection value of the index parameter in a preset duration; And responding to the first dispersion parameter being larger than a preset first threshold value, and adjusting the voltage of the processing core corresponding to the index parameter. In some embodiments, after adjusting the voltage of the processing core corresponding to the index parameter, the method further includes: Detecting the index parameter, and calculating a second dispersion parameter of the index parameter according to each detection value of the index parameter in a preset time period; and responding to the second dispersion parameter being larger than the first threshold value, and adjusting the voltage of the processing core corresponding to the index parameter. In some embodiments, the first dispersion parameter includes a variance or standard deviation. In some embodiments, the calculating the first dispersion parameter of the index parameter according to each detection value of the index parameter within the preset time period includes: Calculating the average value of the index parameters according to each detection value of the index parameters in the preset duration; And calculating a first dispersion parameter of the index parameter according to the average value and each detection value of the index parameter. In some embodiments, the adjusting the voltage of the processing core corresponding to the index parameter includes: determining a voltage adjustment value and an adjustment direction of a processing core corresponding to the index parameter according to the average value of the index parameter and a preset second threshold value; And responding to the fact that the sum of the current voltage of the processing core corresponding to the voltage adjustment value and the index parameter is smaller than a preset third threshold value, and adjusting the voltage of the processing core corresponding to the index parameter according to the adjustment direction and a preset step value. In some embodiments, the index parameter includes a network parameter, after determining a voltage adjustment value and an adjustment direction of a processing core corresponding to the index parameter according to an average value of the index parameter and a preset second threshold value, before adjusting a voltage of the processing core corresponding to the index parameter according to the adjustment direction and a preset step value, the method further includes: Setting the USB circuit to a power-on state in response to the adjustment direction being up and the Universal Serial Bus (USB) circuit being in a power-off state; detecting the index parameter, and calculating a third dispersion parameter of the index parameter according to each detection value of the index parameter in a preset time period; the step of adjusting the voltage of the processing core corresponding to the index parameter according to the adjustment direction and the preset step value comprises the following steps: and responding to the third dispersion parameter being larger than the first threshold value, and adjusting the voltage of the processing core corresponding to the index parameter according to the adjustment direction and a preset step value. In some embodiments, after setting the USB circuit to a power-on state and calculating a third dispersion parameter of the indicator parameter according to each detected value of the indicator parameter within a preset