WO2023202126A1 - 功率调整方法、装置、电子设备及存储介质 - Google Patents

功率调整方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2023202126A1
WO2023202126A1 PCT/CN2022/140738 CN2022140738W WO2023202126A1 WO 2023202126 A1 WO2023202126 A1 WO 2023202126A1 CN 2022140738 W CN2022140738 W CN 2022140738W WO 2023202126 A1 WO2023202126 A1 WO 2023202126A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
target signal
transmission power
negotiation rate
network access
Prior art date
Application number
PCT/CN2022/140738
Other languages
English (en)
French (fr)
Inventor
裴子男
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023202126A1 publication Critical patent/WO2023202126A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]
    • H04W52/267TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service] taking into account the information rate
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of communication technology, and more specifically, to a power adjustment method, device, electronic equipment and storage medium.
  • electronic devices can access the Internet by connecting to a network access device (such as a router, etc.).
  • a network access device such as a router, etc.
  • the electronic device can transmit wireless signals based on a certain transmission power to transmit data to the network access device.
  • the network access device such as a router, etc.
  • this application proposes a power adjustment method, device, electronic equipment and storage medium to improve the above problems.
  • the present application provides a power adjustment method applied to an electronic device.
  • the method includes: obtaining a target signal strength, where the target signal strength is the strength of a wireless signal received by the electronic device, and the The wireless signal is sent by the network access device; if it is determined that the electronic device is in a stable communication state based on the target signal strength, obtain the current negotiation rate of the electronic device and reduce the transmission power of the electronic device, and the current negotiation rate represents The communication rate currently used by the electronic device and the network access device; obtain a reference negotiation rate, where the reference negotiation rate is the negotiation rate between the electronic device and the network access device after reducing the transmission power; If the reference negotiation rate is the same as the current negotiation rate, the transmission power of the electronic device is controlled to be the highest transmission power.
  • the present application provides a power adjustment device running on an electronic device.
  • the device includes: a target signal strength acquisition unit, used to acquire a target signal strength.
  • the target signal strength is received by the electronic device.
  • the strength of the wireless signal the wireless signal is sent by the network access device;
  • the current negotiation rate acquisition unit is used to obtain the current negotiation rate of the electronic device if it is determined that the electronic device is in a stable communication state based on the target signal strength;
  • Reduce the transmission power of the electronic device, and the current negotiation rate represents the communication rate currently used by the electronic device and the network access device;
  • a reference negotiation rate acquisition unit is used to obtain a reference negotiation rate, the reference negotiation rate
  • the rate is the negotiation rate between the electronic device and the network access device after reducing the transmission power;
  • the transmission power adjustment unit is used to control the electronic device if the reference negotiation rate is the same as the current negotiation rate.
  • the maximum transmit power is the current transmit power.
  • the present application provides an electronic device, including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, The one or more programs are configured to perform the above method.
  • the present application provides a computer-readable storage medium, in which program code is stored in the computer-readable storage medium, wherein the above method is executed when the program code is run.
  • Figure 1 shows a schematic diagram of the application environment of a power adjustment method proposed in this application
  • Figure 2 shows a flow chart of a power adjustment method proposed by an embodiment of the present application
  • Figure 3 shows a flow chart of a power adjustment method proposed by another embodiment of the present application.
  • Figure 4 shows a flow chart of a power adjustment method proposed in this application
  • Figure 5 shows a schematic diagram of the relationship between the transmission power and current consumption of an electronic device proposed in this application
  • Figure 6 shows a structural block diagram of a power adjustment device proposed in an embodiment of the present application
  • Figure 7 shows a structural block diagram of an electronic device proposed in this application.
  • Figure 8 is a storage unit used to store or carry the program code for implementing the power adjustment method according to the embodiment of the present application.
  • electronic devices can access the Internet by connecting to a network access device (such as a router, etc.).
  • a network access device such as a router, etc.
  • the electronic device can transmit wireless signals based on a certain transmission power to transmit data to the network access device.
  • the inventor proposes a power adjustment method, device, electronic device and storage medium in this application. After obtaining the target intensity representing the intensity of the wireless signal sent by the network access device received by the electronic device, Finally, if it is determined that the electronic device is in a stable communication state based on the target signal strength, obtain the current negotiation rate representing the communication rate currently used by the electronic device and the network access device and reduce the transmission of the electronic device Power, obtain a reference negotiation rate that represents the negotiation rate between the electronic device and the network access device after reducing the transmission power, and if the reference negotiation rate is the same as the current negotiation rate, control the transmission of the electronic device The highest power is the current transmit power.
  • the current negotiation rate can be obtained and an attempt is made to reduce the transmission power of the electronic device, and then the communication rate with the network access device can be determined after trying to reduce the transmission power.
  • the transmission power of the electronic device is controlled to be as high as the current transmission power, thereby reducing the transmission power of the electronic device without reducing the communication rate, To reduce the power consumption of electronic equipment.
  • FIG. 1 is a schematic diagram of an application environment according to an embodiment of the present application.
  • FIG. 1 provides a communication system 10, which includes an electronic device 100 and a network access device 200.
  • the electronic device 100 may include a personal computer (PC), a tablet computer, a smartphone, a personal digital assistant (PDA), a smart panel, etc., which are not limited here.
  • the network access device 200 may be a wireless router or the like. The electronic device 100 can access the network through the network access device 200.
  • Wireless AP (Wireless Access Point): It can be the core device for building a Wireless Local Area Network (WLAN).
  • WLAN Wireless Local Area Network
  • the role of the wireless AP in WLAN is equivalent to the role of the transmitting base station in the mobile communication network.
  • Wireless AP can serve as a communication bridge between wireless networks and wired networks, providing mutual access between wireless workstations and wired LANs.
  • Negotiation rate refers to the maximum communication rate for sending and receiving data packets finally agreed between the AP and the electronic device, taking into account wireless interference, noise, delay and other factors. The negotiation rate is used to ensure the reliability of air interface data transmission. .
  • This application provides a power adjustment method applied to electronic equipment.
  • the method includes:
  • S110 Obtain the target signal strength, where the target signal strength is the strength of the wireless signal received by the electronic device, and the wireless signal is sent by the network access device.
  • the electronic device can obtain the target signal strength through RSSI (Received Signal Strength Indication).
  • RSSI Receiveived Signal Strength Indication
  • the electronic device can directly use the RSSI calculated based on the wireless signal transmitted by the network access device as the target signal strength.
  • the wireless signal can be a Wi-Fi (Wireless Fidelity, wireless fidelity) signal
  • the network access device can be an AP (such as a router, etc.).
  • the electronic device can obtain the target signal strength from the network module in the electronic device.
  • the electronic device can periodically acquire the target signal strength.
  • the electronic device can obtain multiple target signal strengths generated by the network access device within a specified time period.
  • the specified time period can be 1 minute, and the electronic device can obtain the target signal strength every 1 second.
  • the electronic device can set a counter with a value of 60, and decrement the counter value every 1 second. 1, and store the target signal strength in an array. When the counter value is 0, the target signal strength will not be obtained, and the target signal strength within 1 minute will be obtained as multiple target signal strengths.
  • the specified time period may be determined based on the complexity of the communication environment corresponding to the electronic device.
  • the electronic device can determine the network complexity based on the number of network access devices that can be searched. If the number of network access devices in the space where the electronic device is located is greater than the preset value, it can be determined that the communication environment corresponding to the electronic device is complex, and the designated time period is set as the first designated time period; If the number of network access devices does not exceed the preset value, it can be determined that the communication environment corresponding to the electronic device is simple, and the designated time period is set to the second designated time period, where the first designated time period is smaller than the second designated time period, so that When the communication environment is complex, the frequency of power adjustment can be increased so that the transmit power of the electronic device can adapt to the complex communication environment more quickly.
  • the first designated time period can be 1 minute, and the second designated time period can be 5 minutes. If it is determined that the communication environment corresponding to the electronic device is complex, the designated time period can be set to 1 minute, that is to say, it can be set every The transmission power is adjusted every 1 minute; if it is determined that the communication environment corresponding to the electronic device is simple, the specified time period can be set to 5 minutes, which means that the transmission power can be adjusted every 5 minutes.
  • the communication corresponding to the electronic device can also be determined based on the number of network access devices in the same signal frequency band as the network access devices connected to the electronic device in the space where the electronic device is located.
  • Environmental complexity If the number of network access devices in the same signal frequency band in the space where the electronic device is located is greater than the preset value, it can be determined that the communication environment corresponding to the electronic device is complex. On the contrary, it is determined that the communication environment corresponding to the electronic device is simple.
  • network access devices in the same signal frequency band can be understood as the carrier frequency band corresponding to the wireless signal transmitted is the same as the carrier frequency band corresponding to the wireless signal transmitted by the network access device to which the electronic device has been connected.
  • a preset number of target signal strengths generated within a specified time period can be obtained.
  • the electronic device periodically obtains the target signal strength, if the time length corresponding to the specified time period exceeds a preset value, a preset number of target signal strengths can be obtained, and the preset number can be less than or equal to the specified time period.
  • the total amount of target signal strength acquired by the electronic device a preset number of target signal strengths can be obtained from all target signal strengths obtained within a specified time period through random sampling or according to a preset sampling frequency.
  • the preset sampling frequency may be less than or equal to the log reporting frequency of the network access device.
  • the obtained target signal strengths can be further screened. Simplify data and improve subsequent calculation efficiency.
  • S120 If it is determined that the electronic device is in a stable communication state based on the target signal strength, obtain the current negotiation rate of the electronic device and reduce the transmission power of the electronic device.
  • the current negotiation rate represents the relationship between the electronic device and the electronic device.
  • the communication stable state of the electronic device can be a state that represents a relatively stable distance between the electronic device and the network access device.
  • the target signal strength can be negatively correlated with the distance between the electronic device and the network access device.
  • the target strength The calculation formula between and distance can be:
  • RSSI can be the target signal strength
  • n can represent the attenuation factor
  • A can represent the signal strength when the transmitting end and the receiving end are 1 meter apart
  • n and A can be empirical values obtained through many experiments.
  • it can be determined based on multiple target signal strengths within a specified time period whether the distance between the electronic device and the network access device is relatively stable, and further it can be determined whether the electronic device is in a stable communication state.
  • the electronic device can obtain the maximum target signal strength and the minimum target signal strength corresponding to multiple target signal strengths within the specified time period. If the difference between the maximum target signal strength and the minimum target signal strength is less than the preset difference, then Make sure the electronic device is in a stable communication state.
  • the preset difference value may be an empirical value obtained based on multiple experiments. For example, multiple target signal strengths within a specified time period may include: x1, x2, x3...xn, the maximum target signal strength may be x3, the minimum target signal strength may be x1, the maximum target signal strength and the minimum target
  • the difference in signal strength can be A(x3-x1), and the preset difference can be B. If A ⁇ B, it can be determined that the electronic device is in a stable communication state; if A ⁇ B, it can be determined that the electronic device is in a communication failure state. steady state.
  • the electronic device can obtain variances corresponding to multiple target signal strengths within a specified time period. If the variance is less than the preset variance, it is determined that the electronic device is in a stable communication state.
  • the preset variance may be an empirical value obtained based on multiple experiments.
  • the multiple target signal strengths within the specified time period may include: x1, x2, x3...xn
  • the variance corresponding to the multiple target signal strengths may be C
  • the preset variance may be D. If C ⁇ D , it can be determined that the electronic device is in a stable communication state; if C ⁇ D, it can be determined that the electronic device is in an unstable communication state.
  • the electronic device can negotiate the communication rate with the network access device, use the negotiated communication rate as the current negotiation rate, and use the current negotiation rate As the electronic device currently negotiates the rate, and reduces the transmit power of the electronic device.
  • the transmission power of the electronic device may refer to the transmission power of a power amplifier (Power Amplifier, PA) of the electronic device.
  • the electronic device can delete the currently obtained target signal strength and re-execute step S110 to obtain a new target signal strength.
  • the reference negotiation rate is the negotiation rate between the electronic device and the network access device after reducing the transmission power.
  • the electronic device can negotiate the communication rate with the network access device again, and use the negotiated communication rate as the reference negotiation rate.
  • the current transmission power may refer to the transmission power after the electronic device performs the operation of reducing the transmission power in step S120.
  • the reference negotiation rate obtained based on step S130 can be compared with the current negotiation rate obtained based on step S120. If the reference negotiation rate is the same as the current negotiation rate, the transmission power of the electronic device is controlled to be the current transmission power.
  • This embodiment provides a power adjustment method. After obtaining a target strength that represents the strength of a wireless signal sent by a network access device received by the electronic device, if the electronic device is determined based on the target signal strength, The device is in a stable communication state, obtains the current negotiation rate that represents the communication rate currently used by the electronic device and the network access device, and reduces the transmission power of the electronic device, and obtains the current negotiation rate that represents the communication rate currently used by the electronic device and the network access device after reducing the transmission power.
  • the current negotiation rate can be obtained and an attempt is made to reduce the transmission power of the electronic device, and then the communication rate with the network access device can be determined after trying to reduce the transmission power.
  • the transmission power of the electronic device is controlled to be as high as the current transmission power, thereby reducing the transmission power of the electronic device without reducing the communication rate, To reduce the power consumption of electronic equipment.
  • This application provides a power adjustment method applied to electronic equipment.
  • the method includes:
  • S210 Obtain the target signal strength, where the target signal strength is the strength of the wireless signal received by the electronic device, and the wireless signal is sent by the network access device.
  • S220 Enter the current transmission power adjustment process, obtain the current negotiation rate of the electronic device, and reduce the transmission power of the electronic device.
  • the reduction amplitude when reducing the transmission power of the electronic device can be determined in various ways.
  • the reduction can be configured by default by the developer.
  • the power reduction amplitude can be determined based on the distance between the electronic device and the network access device, and the transmission power of the electronic device can be reduced based on the power reduction amplitude. Among them, the closer the distance between the electronic device and the network access device, the greater the power reduction.
  • the distance between the electronic device and the network access device can be divided into multiple distance ranges, and each distance range corresponds to a power reduction range.
  • the distance length of each distance range can be different, and the distance length can be determined based on the sensitivity of the negotiation rate within the current distance range to changes in transmit power. The higher the sensitivity, the smaller the corresponding distance length.
  • the maximum distance covered by the signal of the network access device can be 10 meters, and the distance can be divided into 6 distance ranges: 0 to 1 meter, 1 to 3 meters, 3 to 6 meters, and 6 to 6 meters. 8 meters, 8 meters to 9 meters, 9 meters to 10 meters, the corresponding power reduction ranges of the above 6 distance ranges can be: 4dBm, 3dBm, 2dBm, 1.5dBm, 1dBm, 0.5dBm.
  • the intelligence of the power adjustment method proposed in the present application can be improved, so that when the distance is close, the power adjustment method can be quickly Reduce the transmit power; when the distance is far, the transmit power can be finely adjusted to reduce the power as much as possible.
  • the reference negotiation rate is the negotiation rate between the electronic device and the network access device after reducing the transmission power.
  • the reference negotiation rate can be used as the current rate of the next transmission power adjustment process, and the next transmission starts from step S220 Power adjustment process.
  • the transmission power of the electronic device can be increased based on the power increase range.
  • the power increase amplitude is equal to the power reduction amplitude in step S220.
  • This embodiment provides a power adjustment method, so that through the above method, when it is determined that the electronic device is in a stable communication state, the current negotiation rate can be obtained and an attempt is made to reduce the transmission power of the electronic device, and then after trying to reduce the transmission power, When it is determined that the communication rate with the network access device is still the current negotiated rate before the transmission power is reduced, the transmission power of the electronic device is controlled to be as high as the current transmission power, thereby achieving the communication rate without reducing the transmission power. In this case, the transmission power of the electronic device is reduced to reduce the power consumption of the electronic device.
  • the electronic device can obtain the target signal strength in real time, and dynamically adjust the transmission power in real time when the electronic device is in a stable communication state, so that the electronic device can maximize the transmission power while the negotiation rate remains unchanged. Reduce the transmission power as much as possible, thereby reducing the power consumption of electronic equipment.
  • the electronic device can obtain multiple target signal strengths within a specified time period. If it is determined that the electronic device is in an unstable communication state based on multiple signal strengths, the obtained multiple target signal strengths can be cleared and reacquired. Multiple target signal strengths over a specified time period. If it is determined that the electronic device is in a stable communication state based on multiple signal strengths, the current negotiation rate of the electronic device can be obtained first, and the current negotiation rate is recorded as rate0; then the transmission power of the electronic device is reduced based on the power reduction amplitude, and the transmission power is obtained. Reference negotiation rate rate1 after power reduction.
  • rate1 is equal to rate0. If they are equal, it means that the negotiated rate can remain unchanged after the transmission power is reduced. In other words, the data transmission process between the electronic device and the network access device will not be affected, indicating that there may still be room for reduction in the transmission power of the electronic device. In order to reduce the power consumption of the electronic device as much as possible, you can try again to reduce the transmission power of the electronic device based on the power reduction amplitude; if they are not equal ( rate1 ⁇ rate0), indicating that after the transmission power is reduced, the negotiation rate is also reduced.
  • the reduction in the negotiation rate may cause the data transmission rate between the electronic device and the network access device to be reduced or even data transmission cannot be performed, indicating that the transmission power of the electronic device It may have been reduced below the limit value at the current negotiated rate (rate0), so the transmit power of the electronic device can be increased based on the power increase amplitude, where the power increase amplitude is equal to the power reduction amplitude, so that the electronic device The transmit power returns to the limit value at the current negotiated rate (rate0).
  • each time the negotiation rate is compared before and after the transmission power is reduced the negotiation rate after the transmission power is reduced can be compared with rate0, or with rate1 in the last comparison process. .
  • the current negotiation rate (rate0) of the electronic device may be 16Mbps, and the minimum transmit power of the electronic device corresponding to the current negotiation rate may be 18dBm.
  • the current transmit power corresponding to the rate (rate0) can be 20dBm, and the power reduction range and power increase range can be 1dBm.
  • the device 600 includes:
  • the target signal strength acquisition unit 610 is used to acquire the target signal strength, which is the strength of the wireless signal received by the electronic device, and the wireless signal is sent by the network access device;
  • the current negotiation rate acquisition unit 620 is configured to obtain the current negotiation rate of the electronic device and reduce the transmission power of the electronic device if it is determined that the electronic device is in a stable communication state based on the target signal strength.
  • the current negotiation rate represents The communication rate currently used by the electronic device and the network access device;
  • the reference negotiation rate acquisition unit 630 is used to obtain a reference negotiation rate, which is the negotiation rate between the electronic device and the network access device after reducing the transmission power;
  • the transmission power adjustment unit 640 is configured to control the transmission power of the electronic device to be the current transmission power if the reference negotiation rate is the same as the current negotiation rate.
  • the target signal strength obtaining unit 610 is specifically configured to obtain multiple target signal strengths generated within a specified time period.
  • the current negotiation rate acquisition unit 620 is specifically configured to obtain the current negotiation rate of the electronic device and reduce the transmission power of the electronic device if it is determined that the electronic device is in a stable communication state based on the multiple target signal strengths.
  • the target signal strength acquisition unit 610 is specifically configured to acquire a preset number of target signal strengths generated within a specified time period.
  • the current negotiation rate obtaining unit 620 is specifically configured to obtain variances corresponding to the plurality of target signal strengths. If the variance is less than a preset variance, it is determined that the electronic device is in a stable communication state.
  • the current negotiation rate obtaining unit 620 is specifically configured to obtain the maximum target signal strength and the minimum target signal strength corresponding to the multiple target signal strengths. If the difference between the maximum target signal strength and the minimum target signal strength is If the difference is less than the preset difference, it is determined that the electronic device is in a stable communication state.
  • the current negotiation rate acquisition unit 620 is specifically configured to enter the current transmission power adjustment process, obtain the current negotiation rate of the electronic device, and reduce the transmission power of the electronic device.
  • the transmit power adjustment unit 640 is specifically configured to enter the next transmit power adjustment process if the reference negotiation rate is the same as the current negotiation rate of the current transmit power adjustment process; if the reference negotiation rate is less than the current negotiation rate, Increase the transmit power of the electronic device.
  • the current negotiation rate acquisition unit 620 is specifically configured to determine the power reduction amplitude based on the distance between the electronic device and the network access device; and determine the transmission power of the electronic device based on the power reduction amplitude. to lower.
  • the electronic device 100 includes a processor 102, a memory 104, and a network module 106.
  • the memory 104 stores programs that can execute the contents of the aforementioned embodiments, and the processor 102 can execute the programs stored in the memory 104.
  • the processor 102 may include one or more processing cores.
  • the processor 102 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104.
  • Various functions and processing data of the electronic device 100 can use a network processor (Neural network Processing Unit, NPU), digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic It is implemented by at least one hardware form in the Programmable Logic Array (PLA).
  • NPU Network Processing Unit
  • DSP Digital Signal Processing
  • FPGA field programmable gate array
  • PDA Programmable Logic Array
  • the processor 102 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a network processor (Neural network Processing Unit, NPU), a modem, etc. .
  • the CPU mainly processes the operating system, user interface, and applications;
  • the GPU is responsible for rendering and drawing the display content;
  • the NPU is responsible for processing multimedia data such as videos and images; and
  • the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 102 and may be implemented solely through a communication chip.
  • the memory 104 may include Random Access Memory (RAM), read-only memory (Read-Only Memory), and double-rate synchronous dynamic random access memory (Double DataRate, DDR).
  • Memory 104 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 104 may store a content display device.
  • the content display device may be the aforementioned device 600.
  • the memory 104 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
  • the storage data area can also store data created during use of the terminal 100 (such as phone book, audio and video data, chat record data), etc.
  • the network module 106 may be used to implement information interaction between the electronic device 100 and other devices, for example, transmitting device control instructions, manipulation request instructions, status information acquisition instructions, etc. When the electronic device 100 is a different device, its corresponding network module 106 may be different.
  • FIG. 8 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable storage medium 800 stores program code, which can be called by the processor to execute the method described in the above method embodiment.
  • Computer-readable storage medium 800 may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM.
  • computer-readable storage medium 800 includes non-transitory computer-readable storage medium.
  • the computer-readable storage medium 800 has storage space for program code 810 that performs any method steps in the above-described methods. These program codes can be read from or written into one or more computer program products.
  • Program code 810 may, for example, be compressed in a suitable form.
  • this application provides a power adjustment method, device, electronic device and storage medium. After obtaining the target intensity representing the intensity of the wireless signal sent by the network access device received by the electronic device, , if it is determined that the electronic device is in a stable communication state based on the target signal strength, obtain the current negotiation rate that represents the communication rate currently used by the electronic device and the network access device and reduce the transmission power of the electronic device , obtain a reference negotiation rate that represents the negotiation rate between the electronic device and the network access device after reducing the transmission power, and if the reference negotiation rate is the same as the current negotiation rate, control the transmission power of the electronic device The highest is the current transmit power.
  • the current negotiation rate can be obtained and an attempt is made to reduce the transmission power of the electronic device, and then the communication rate with the network access device can be determined after trying to reduce the transmission power.
  • the transmission power of the electronic device is controlled to be as high as the current transmission power, thereby reducing the transmission power of the electronic device without reducing the communication rate, To reduce the power consumption of electronic equipment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种功率调整方法、装置、电子设备及存储介质。所述方法包括:获取目标信号强度;若基于目标信号强度确定电子设备处于通信稳定状态,获取电子设备当前协商速率以及降低电子设备的发射功率;获取参考协商速率,参考协商速率为电子设备降低发射功率后与所网络接入设备之间的协商速率;若参考协商速率与当前协商速率相同,控制电子设备的发射功率至高为当前的发射功率。通过上述方式使得,可以在基于目标信号强度确定电子设备处于通信稳定状态的情况下,基于当前协商速率和参考协商速率调整电子设备的发射功率,使得电子设备的发射功率至高为当前的发射功率,从而降低了电子设备的功耗。

Description

功率调整方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求于2022年4月20日提交的申请号为202210418542.5的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及通信技术领域,更具体地,涉及一种功率调整方法、装置、电子设备及存储介质。
背景技术
随着技术的发展和人们生活水平的不断提高,各种电子设备(如:手机、电脑等)的使用越来越普及。在一些情况下,电子设备可以通过连接网络接入设备(如:路由器等)的以进行上网,在上网的过程中,电子设备可以基于一定的发射功率发射无线信号以向网络接入设备传输数据。但是,在相关的电子设备在与网络接入设备进行数据传输的过程中,还存在功耗较高的问题。
发明内容
鉴于上述问题,本申请提出了一种功率调整方法、装置、电子设备及存储介质,以实现改善上述问题。
第一方面,本申请提供了一种功率调整方法,应用于电子设备,所述方法包括:获取目标信号强度,所述目标信号强度为所述电子设备所接收到的无线信号的强度,所述无线信号由网络接入设备发送;若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,所述当前协商速率表征所述电子设备与所述网络接入设备当前所使用的通信速率;获取参考协商速率,所述参考协商速率为所述电子设备降低发射功率后与所述网络接入设备之间的协商速率;若所述参考协商速率与所述当前协商 速率相同,控制所述电子设备的发射功率至高为当前的发射功率。
第二方面,本申请提供了一种功率调整装置,运行于电子设备,所述装置包括:目标信号强度获取单元,用于获取目标信号强度,所述目标信号强度所述电子设备所接收到的无线信号的强度,所述无线信号由网络接入设备发送;当前协商速率获取单元,用于若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,所述当前协商速率表征所述电子设备与所述网络接入设备当前所使用的通信速率;参考协商速率获取单元,用于获取参考协商速率,所述参考协商速率为所述电子设备降低发射功率后与所述网络接入设备之间的协商速率;发射功率调整单元,用于若所述参考协商速率与所述当前协商速率相同,控制所述的电子设备的发射功率至高为当前的发射功率。
第三方面,本申请提供了一种电子设备,包括一个或多个处理器以及存储器;一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。
第四方面,本申请提供的一种计算机可读存储介质,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码运行时执行上述的方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请提出的一种功率调整方法的应用环境示意图;
图2示出了本申请实施例提出的一种功率调整方法的流程图;
图3示出了本申请另一实施例提出的一种功率调整方法的流程图;
图4示出了本申请提出的一种功率调整方法的流程图;
图5示出了本申请提出的一种电子设备发射功率与电流消耗关系的示意图;
图6示出了本申请实施例提出的一种功率调整装置的结构框图;
图7示出了本申请提出的一种电子设备的结构框图;
图8是本申请实施例的用于保存或者携带实现根据本申请实施例的功率调整方法的程序代码的存储单元。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
随着技术的发展和人们生活水平的不断提高,各种电子设备(如:手机、电脑等)的使用越来越普及。在一些情况下,电子设备可以通过连接网络接入设备(如:路由器等)的以进行上网,在上网的过程中,电子设备可以基于一定的发射功率发射无线信号以向网络接入设备传输数据。
发明人在对相关研究中发现,在相关的电子设备在与网络接入设备进行数据传输的过程中,还存在功耗较高的问题。
因此,发明人提出了本申请中的一种功率调整方法、装置、电子设备及存储介质,在获取到表征所述电子设备所接收到的由网络接入设备发送的无线信号的强度的目标强度后,若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取表征所述电子设备与所述网络接入设备当前所使用的通信速率的当前协商速率以及降低所述电子设备的发射功率,获取表征所述电子设备降低发射功率后与所述网络接入设备之间的协商速率的参考协商速率,若所述参考协商速率与所述当前协商速率相同,控制所述电子设备的发射功率至高为当前的发射功率。
从而通过上述方式使得在确定电子设备处于通信稳定状态的情况下,可以获取当前协商速率并尝试降低电子设备的发射功率,进而在尝试降低发射功率之后,确定与网络接入设备之间的通信速率依然为在降低发射功率之前的当前协商速率的情况下,控制所述电子设备的发射功率至高为当前的发射功率,进而实现了在不降低通信速率的情况下,降低了电子设备的发射功率,以实现降低电子设备的功耗。
请参阅图1,为本申请实施例的一种应用环境示意图。其中,图1提供了一种通信系统10,该通信系统包括电子设备100以及网络接入设备200。其中,电子设备100可以包括个人电脑(personal computer,PC)、平板电脑、智能手机、个人数字助理(personal digital assistant,PDA)、 智能面板等,在此不做限定。网络接入设备200可以是无线路由器等。电子设备100可以通过网络接入设备200访问网络。
为了更好地理解本申请实施例的方案,下面先对本申请实施例所使用的技术名词解释。
无线AP(Wireless Access Point,无线访问接入点):可以是组建无线局域网(Wireless Local Area Network,WLAN)的核心设备,无线AP在WLAN中的角色就相当于发射基站在移动通信网络中的角色。无线AP可以作为无线网和有线网之间沟通的桥梁,提供无线工作站和有线局域网之间的互相访问。
协商速率:协商速率指AP与电子设备之间,综合无线干扰、噪声以及时延等因素进行考虑,最终协定出的一个最大收发数据包的通信速率,协商速率用来保证空口数据传输的可靠性。
下面将结合附图对本申请的实施例进行介绍。
请参阅图2,本申请提供的一种功率调整方法,应用于电子设备,所述方法包括:
S110:获取目标信号强度,所述目标信号强度为所述电子设备所接收到的无线信号的强度,所述无线信号由网络接入设备发送。
其中,作为一种方式,电子设备可以通过RSSI(Received Signal Strength Indication,接收信号强度指示)获取得到目标信号强度。可选的,电子设备可以直接将根据网络接入设备发射的无线信号所计算得到的RSSI作为目标信号强度。
可选的,无线信号可以是Wi-Fi(Wireless Fidelity,无线保真)信号,网络接入设备可以是AP(如:路由器等)。
作为一种方式,电子设备可以从电子设备中的网络模块获取目标信号强度。可选的,电子设备可以周期性地获取目标信号强度。
在本申请实施例中,电子设备可以获取指定时间段内网络接入设备生成的多个目标信号强度。示例性的,指定时间段可以为1分钟,电子设备可以每1秒钟获取一次目标信号强度,此时,电子设备可以设置一个值为60的计数器,每隔1秒钟就对计数器的值减1,并将目标信号强度存在一个数组中,当计数器的值为0时,则不继续获取目标信号强度,从而获取得到1分钟内的目标信号强度作为多个目标信号强度。
可选的,指定时间段可以是基于电子设备对应的通信环境复杂程度进行确定的。作为一种方式,电子设备可以基于所能搜索到的网络接入设备的数量来确定网络复杂程度。若电子设备所处空间下的网络接入设备数量大于预设值,则可以确定电子设备对应的通信环境复杂,并将指定时间段设置为第一指定时间段;若电子设备所处空间下的网络接入设备数量未超过预设值,则可以确定电子设备对应的通信环境简单,并将指定时间段设置为第二指定时间段,其中第一指定时间段小于第二指定时间段,从而使得在通信环境复杂时,可以增加功率调整的频率,使得电子设备的发射功率可以更快速地适应于复杂的通信环境。示例性的,第一指定时间段可以为1分钟,第二指定时间段可以为5分钟,若确定电子设备对应的通信环境复杂,则可以将指定时间段设置为1分钟,也就是说可以每隔1分钟对发射功率进行调整;若确定电子设备对应的通信环境简单,则可以将指定时间段设置为5分钟,也就是说可以每隔5分钟对发射功率进行调整。
可选的,在本申请实施例中,还可以基于电子设备所处空间下,与电子设备已经连接好的网络接入设备存在相同信号频段的网络接入设备的数量,确定电子设备对应的通信环境复杂程度。若电子设备所处空间下,相同信号频段的网络接入设备数量大于预设值,则可以确定电子设备对应的通信环境复杂。反之,则确定电子设备对应的通信环境简单。其中,相同信号频段的网络接入设备可以理解为所发射的无线信号对应的载波频段与电子设备已经连接好的网络接入设备所发射的无线信号的对应的载波频段相同。
可选的,可以获取指定时间段内生成的预设数量的目标信号强度。其中,当电子设备周期性地获取目标信号强度时,若指定时间段对应的时间长度超过预设值,则可以获取预设数量的目标信号强度,预设数量可以小于或等于在指定时间段内电子设备获取到的目标信号强度的总数量。在这种情况下,可以通过随机采样的方式或者按照预设的采样频率从指定时间段内获取到的所有目标信号强度中获取预设数量的目标信号强度。其中,预设的采样频率可以小于或等于网络接入设备的日志上报频率。
在本申请实施例中,通过获取指定时间段内生成的预设数量的目标信号强度,可以在指定时间段内获取到的目标信号强度较多时,对获取 到的目标信号强度进行进一步地筛选,简化数据,提高了后续计算效率。
S120:若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,所述当前协商速率表征所述电子设备与所述网络接入设备当前所使用的通信速率。
其中,电子设备的通信稳定状态可以是表征电子设备与网络接入设备之间距离相对稳定的状态,目标信号强度的大小可以与电子设备和网络接入设备之间的距离呈负相关,目标强度与距离之间的计算公式可以为:
Figure PCTCN2022140738-appb-000001
其中,RSSI可以为目标信号强度,n可以表示衰减因子,A可以表示发射端和接收端相隔1米时的信号强度,n和A可以是经过多次试验得到的经验值。
作为一种方式,可以基于指定时间段内的多个目标信号强度确定电子设备与网络接入设备之间距离是否相对稳定,进而可以确定电子设备是否处于通信稳定状态。
可选的,电子设备可以获取指定时间段内的多个目标信号强度对应的最大目标信号强度和最小目标信号强度,若最大目标信号强度和最小目标信号强度的差值小于预设差值,则确定电子设备处于通信稳定状态。其中,预设差值可以是根据多次试验得到的经验值。示例性的,指定时间段内的多个目标信号强度可以包括:x1、x2、x3...xn,最大目标信号强度可以为x3,最小目标信号强度可以为x1,最大目标信号强度和最小目标信号强度的差值可以为A(x3-x1),预设差值可以为B,若A<B,则可以确定电子设备处于通信稳定状态;若A≥B,则可以确定电子设备处于通信不稳定状态。
可选的,电子设备可以获取指定时间段内的多个目标信号强度对应的方差,若方差小于预设方差,确定电子设备处于通信稳定状态。其中,预设方差可以是根据多次试验得到的经验值。示例性的,指定时间段内的多个目标信号强度可以包括:x1、x2、x3...xn,多个目标信号强度对应的方差可以为C,预设方差可以为D,若C<D,则可以确定电子设备处于通信稳定状态;若C≥D,则可以确定电子设备处于通信不稳定状态。
作为一种方式,若基于目标信号强度确定电子设备处于通信稳定状 态,电子设备可以与网络接入设备进行通信速率的协商,并将协商好的通信速率作为当前协商速率,并将该当前协商速率作为电子设备当前协商速率,并降低电子设备的发射功率。其中,电子设备的发射功率可以是指电子设备的功率放大器(Power Amplifier,PA)的发射功率。
在本申请实施例中,若基于目标信号强度确定电子设备处于通信不稳定状态,电子设备可以将当前获取到的目标信号强度删除,并重新执行步骤S110以获取新的目标信号强度。
S130:获取参考协商速率,所述参考协商速率为所述电子设备降低发射功率后与所述网络接入设备之间的协商速率。
作为一种方式,电子设备在降低PA的发射功率后,可以再次与网络接入设备进行通信速率的协商,并将协商好的通信速率作为参考协商速率。
S140:若所述参考协商速率与所述当前协商速率相同,控制所述电子设备的发射功率至高为当前的发射功率。
其中,当前的发射功率可以指步骤S120中电子设备执行了降低发射功率操作后的发射功率。
作为一种方式可以将基于步骤S130得到的参考协商速率与基于步骤S120得到的当前协商速率进行比较,若参考协商速率与当前协商速率相同,控制电子设备的发射功率至高为当前的发射功率。
本实施例提供的一种功率调整方法,在获取到表征所述电子设备所接收到的由网络接入设备发送的无线信号的强度的目标强度后,若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取表征所述电子设备与所述网络接入设备当前所使用的通信速率的当前协商速率以及降低所述电子设备的发射功率,获取表征所述电子设备降低发射功率后与所述网络接入设备之间的协商速率的参考协商速率,若所述参考协商速率与所述当前协商速率相同,控制所述电子设备的发射功率至高为当前的发射功率。从而通过上述方式使得在确定电子设备处于通信稳定状态的情况下,可以获取当前协商速率并尝试降低电子设备的发射功率,进而在尝试降低发射功率之后,确定与网络接入设备之间的通信速率依然为在降低发射功率之前的当前协商速率的情况下,控制所述电子设备的发射功率至高为当前的发射功率,进而实现了在不降低通信速率的情况下,降低了电子设备的发射功率,以实现降低电子设备的功耗。
请参阅图3,本申请提供的一种功率调整方法,应用于电子设备,所述方法包括:
S210:获取目标信号强度,所述目标信号强度为所述电子设备所接收到的无线信号的强度,所述无线信号由网络接入设备发送。
作为一种方式,电子设备可以实时获取目标信号强度。
S220:进入当次的发射功率调整过程,并获取所述电子设备当前协商速率以及降低所述电子设备的发射功率。
在本申请实施例中,为了在保持协商速率不变的情况下,尽可能地降低电子设备的功耗,可以尝试多次基于功率降低幅度对电子设备的发射功率进行降低。
在本申请实施例中,在降低电子设备的发射功率时的降低幅度可以有多种的确定方式。
作为一种方式,降低幅度可以由开发人员默认配置。
作为另外一种方式,可以基于电子设备与网络接入设备之间的距离确定功率降低幅度,并基于功率降低幅度对电子设备的发射功率进行降低。其中,电子设备与网络接入设备之间的距离越近,功率降低幅度越大。
可选的,可以将电子设备与网络接入设备之间的距离划分为多个距离范围,每个距离范围对应于一个功率降低幅度。并且,每个距离范围的距离长度可以不同,可以基于当前距离范围内协商速率对发射功率的变化的敏感程度确定距离长度,敏感程度越高对应的距离长度越小。示例性的,网络接入设备信号覆盖的最大距离可以为10米,可以将该距离划分为6个距离范围:0米~1米、1米~3米、3米~6米、6米~8米、8米~9米、9米~10米,上述6个距离范围对应的功率降低幅度可以为:4dBm、3dBm、2dBm、1.5dBm、1dBm、0.5dBm。
在本申请实施例中,通过基于电子设备与网络接入设备之间的距离确定功率降低幅度的方式,可以提高本申请提出的功率调整方法的智能化程度,使得在距离较近时,可以快速降低发射功率;在距离较远时,可以对发射功率进行精细化调整,尽可能地降低功率。
S230:获取参考协商速率,所述参考协商速率为所述电子设备降低发射功率后与所述网络接入设备之间的协商速率。
S240:若所述参考协商速率与当次的发射功率调整过程的当前协商速率相同,进入下一次的发射功率调整过程。
作为一种方式,若参考协商速率与当次的发射功率调整过程的当前协商速率相同,则可以将参考协商速率作为下一次的发射功率调整过程的当前速率,从步骤S220开始进入下一次的发射功率调整过程。
S250:若所述参考协商速率小于所述当前协商速率,增大所述电子设备的发射功率。
作为一种方式,若参考协商速率小于当次的发射功率调整过程的当前协商速率,则可以基于功率增大幅度对电子设备的发射功率进行增大。其中,功率增大幅度与步骤S220的功率降低幅度相等。
本实施例提供的一种功率调整方法,从而通过上述方式使得在确定电子设备处于通信稳定状态的情况下,可以获取当前协商速率并尝试降低电子设备的发射功率,进而在尝试降低发射功率之后,确定与网络接入设备之间的通信速率依然为在降低发射功率之前的当前协商速率的情况下,控制所述电子设备的发射功率至高为当前的发射功率,进而实现了在不降低通信速率的情况下,降低了电子设备的发射功率,以实现降低电子设备的功耗。并且,在本实施例中,电子设备可以实时获取目标信号强度,并在电子设备处于通信稳定状态的情况下,实时对发射功率进行动态调整,使得电子设备在协商速率不变的情况下可以尽可能地降低发射功率,从而降低了电子设备的功耗。
为了更好地理解本申请所有实施例的方案,下面对本申请的功率调整方法的一种业务流程进行介绍。
请参阅图4,电子设备可以获取指定时间段内的多个目标信号强度,若基于多个信号强度确定电子设备处于通信不稳定状态,则可以将获取到的多个目标信号强度清除并重新获取指定时间段内的多个目标信号强度。若基于多个信号强度确定电子设备处于通信稳定状态,则先可以获取电子设备当前协商速率,并将当前协商速率记为rate0;再基于功率降低幅度对电子设备的发射功率进行降低,并获取发射功率降低后的参考协商速率rate1。
在获取到rate1和rate0后,可以比较rate1是否与rate0相等,若相等,表明在发射功率降低后,协商速率还可以维持不变,也就是说电子设备与网络接入设备之间的数据传输过程不会受到影响,表明电子设备的发射功率可能还存在下降的空间,为了尽可能地减少电子设备的功耗,则可以再次尝试基于功率降低幅度对电子设备的发射功率进行降低;若 不相等(rate1<rate0),表明在发射功率降低后,协商速率也降低了,协商速率降低可能会导致电子设备与网络接入设备之间的数据传输速率降低甚至无法进行数据传输,表明电子设备的发射功率可能已经降低到低于当前协商速率(rate0)下的极限值,因此可以基于功率增大幅度对电子设备的发射功率进行增大,其中,功率增大幅度与功率降低幅度相等,以便将电子设备的发射功率恢复至当前协商速率(rate0)下的极限值。
其中,可选的,每次在进行发射功率降低前后的协商速率的比较时,可以将当次发射功率降低后的协商速率与rate0进行比较,还可以是与上次比较过程中的rate1进行比较。
示例性的,在基于多个信号强度确定电子设备处于通信稳定状态的情况下,电子设备当前协商速率(rate0)可以为16Mbps,当前协商速率对应的电子设备的最低发射功率可以为18dBm,当前协商速率(rate0)对应的当前发射功率可以为20dBm,功率降低幅度和功率增大幅度可以为1dBm,可以先基于功率降低幅度将发射功率降为19dBm,并获取到参考协商速率(rate1)为16Mbps;则可以继续将发射功率降为18dBm,并获取到此时的参考协商速率(rate1)仍为16Mbps;则可以继续将发射功率降为18dBm,并获取到此时的参考协商速率(rate1)仍为16Mbps;则可以继续将发射功率降为17dBm,并获取到此时的参考协商速率(rate1)开始小于16Mbps,表明电子设备的发射功率下降过多,则可以基于功率增大幅度将发射功率升回18dBm,以将电子设备的协商速率保持在16Mbps。从图5可知,当电子设备的发射功率在19dBm以上时候,每降低1dBm的发射功率,电流就可以降低15mA,对于2*2MIMO(Multiple Input Multiple Output,多进多出)电子设备来说,1dBm的发射功率就可以减小30mA的整机电流,从而降低功耗、节省电量。
请参阅图6,本申请提供的一种功率调整装置600,运行于电子设备,所述装置600包括:
目标信号强度获取单元610,用于获取目标信号强度,所述目标信号强度所述电子设备所接收到的无线信号的强度,所述无线信号由网络接入设备发送;
当前协商速率获取单元620,用于若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,所述当前协商速率表征所述电子设备与所述网络接 入设备当前所使用的通信速率;
参考协商速率获取单元630,用于获取参考协商速率,所述参考协商速率为所述电子设备降低发射功率后与所述网络接入设备之间的协商速率;
发射功率调整单元640,用于若所述参考协商速率与所述当前协商速率相同,控制所述的电子设备的发射功率至高为当前的发射功率。
作为一种方式,目标信号强度获取单元610具体用于获取指定时间段内生成的多个目标信号强度。当前协商速率获取单元620具体用于若基于所述多个目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率。
其中,可选的,目标信号强度获取单元610具体用于获取指定时间段内生成的预设数量的目标信号强度。
可选的,当前协商速率获取单元620具体用于获取所述多个目标信号强度对应的方差,若所述方差小于预设方差,确定所述电子设备处于通信稳定状态。
可选的,当前协商速率获取单元620具体用于获取所述多个目标信号强度对应的最大目标信号强度和最小目标信号强度,若所述最大目标信号强度和所述最小目标信号强度的差值小于预设差值,确定所述电子设备处于通信稳定状态。
作为一种方式,当前协商速率获取单元620具体用于进入当次的发射功率调整过程,并获取所述电子设备当前协商速率以及降低所述电子设备的发射功率。发射功率调整单元640具体用于若所述参考协商速率与当次的发射功率调整过程的当前协商速率相同,进入下一次的发射功率调整过程;若所述参考协商速率小于所述当前协商速率,增大所述电子设备的发射功率。
其中,可选的,当前协商速率获取单元620具体用于基于所述电子设备与所述网络接入设备之间的距离确定功率降低幅度;基于所述功率降低幅度对所述电子设备的发射功率进行降低。
下面将结合图7对本申请提供的一种电子设备进行说明。
请参阅图7,基于上述的功率调整方法、装置,本申请实施例还提供的另一种可以执行前述功率调整方法的电子设备100。电子设备100包括处理器102、存储器104以及网络模块106,其中,该存储器104中存储有可以执行前述实施例中内容的程序,而处理器102可以执行该存储器104中存 储的程序。
其中,处理器102可以包括一个或者多个处理核。处理器102利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器104内的指令、程序、代码集或指令集,以及调用存储在存储器104内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器102可以采用网络处理器(Neural network Processing Unit,NPU)、数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器102可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、网络处理器(Neural network Processing Unit,NPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;NPU负责处理视频、图像类的多媒体数据;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器102中,单独通过一块通信芯片进行实现。
存储器104可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)以及双倍速率同步动态随机存储器(Double DataRate,DDR)。存储器104可用于存储指令、程序、代码、代码集或指令集。例如,存储器104中可以存储有内容显示装置。该内容显示装置可以为前述的装置600。存储器104可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
网络模块106可以用于实现电子设备100与其他设备之间的信息交互,例如,传输设备控制指令、操纵请求指令以及状态信息获取指令等。而当电子设备100具体为不同的设备时,其对应的网络模块106可能会有不同。
请参考图8,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读存储介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算 机可读存储介质800包括非易失性计算机可读存储介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。
综上所述,本申请提供的一种功率调整方法、装置、电子设备及存储介质,在获取到表征所述电子设备所接收到的由网络接入设备发送的无线信号的强度的目标强度后,若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取表征所述电子设备与所述网络接入设备当前所使用的通信速率的当前协商速率以及降低所述电子设备的发射功率,获取表征所述电子设备降低发射功率后与所述网络接入设备之间的协商速率的参考协商速率,若所述参考协商速率与所述当前协商速率相同,控制所述电子设备的发射功率至高为当前的发射功率。从而通过上述方式使得在确定电子设备处于通信稳定状态的情况下,可以获取当前协商速率并尝试降低电子设备的发射功率,进而在尝试降低发射功率之后,确定与网络接入设备之间的通信速率依然为在降低发射功率之前的当前协商速率的情况下,控制所述电子设备的发射功率至高为当前的发射功率,进而实现了在不降低通信速率的情况下,降低了电子设备的发射功率,以实现降低电子设备的功耗。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种功率调整方法,其特征在于,应用于电子设备,所述方法包括:
    获取目标信号强度,所述目标信号强度为所述电子设备所接收到的无线信号的强度,所述无线信号由网络接入设备发送;
    若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,所述当前协商速率表征所述电子设备与所述网络接入设备当前所使用的通信速率;
    获取参考协商速率,所述参考协商速率为所述电子设备降低发射功率后与所述网络接入设备之间的协商速率;
    若所述参考协商速率与所述当前协商速率相同,控制所述电子设备的发射功率至高为当前的发射功率。
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,包括:
    进入当次的发射功率调整过程,并获取所述电子设备当前协商速率以及降低所述电子设备的发射功率;
    所述若所述参考协商速率与所述当前协商速率相同,控制所述的电子设备的发射功率至高为当前的发射功率,包括:
    若所述参考协商速率与当次的发射功率调整过程的当前协商速率相同,进入下一次的发射功率调整过程;
    若所述参考协商速率小于所述当前协商速率,增大所述电子设备的发射功率。
  3. 根据权利要求2所述的方法,其特征在于,所述降低所述电子设备的发射功率,包括:
    基于所述电子设备与所述网络接入设备之间的距离确定功率降低幅度;
    基于所述功率降低幅度对所述电子设备的发射功率进行降低。
  4. 根据权利要求3所述的方法,其特征在于,所述基于所述电子设备与所述网络接入设备之间的距离确定功率降低幅度,包括:
    基于所述电子设备与所述网络接入设备之间的距离确定对应的距离 范围;
    获取所述距离范围对应的功率降低幅度。
  5. 根据权利要求1所述的方法,其特征在于,所述获取目标信号强度,包括:
    获取指定时间段内生成的多个目标信号强度;
    所述若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,包括:
    若基于所述多个目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率。
  6. 根据权利要求5所述的方法,其特征在于,所述获取指定时间段内生成的多个目标信号强度之后,还包括:
    获取所述多个目标信号强度对应的最大目标信号强度和最小目标信号强度,
    若所述最大目标信号强度和所述最小目标信号强度的差值小于预设差值,确定所述电子设备处于通信稳定状态。
  7. 根据权利要求5所述的方法,其特征在于,所述获取指定时间段内生成的多个目标信号强度之后,还包括:
    获取所述多个目标信号强度对应的方差,
    若所述方差小于预设方差,确定所述电子设备处于通信稳定状态。
  8. 根据权利要求5所述的方法,其特征在于,所述获取指定时间段内生成的多个目标信号强度,包括:
    获取指定时间段内生成的预设数量的目标信号强度。
  9. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    基于所述电子设备对应的通信环境复杂程度,确定所述指定时间段。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    基于所能搜索到的网络接入设备的数量来确定所述通信环境复杂程度。
  11. 根据权利要求10所述的方法,其特征在于,所述基于所能搜索到的网络接入设备的数量来确定所述通信环境复杂程度,包括:
    若所述电子设备所处空间下的网络接入设备数量大于预设值,则确定电子设备对应的通信环境复杂,并将所述指定时间段设置为第一指定 时间段。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    若所述电子设备所处空间下的网络接入设备数量未超过所述预设值,则确定电子设备对应的通信环境简单,并将所述指定时间段设置为第二指定时间段,其中所述第一指定时间段小于所述第二指定时间段。
  13. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    基于所述电子设备所处空间下,与所述电子设备已经连接好的网络接入设备存在相同信号频段的网络接入设备的数量,确定所述通信环境复杂程度。
  14. 根据权利要求13所述的方法,其特征在于,所述基于所述电子设备所处空间下,与所述电子设备已经连接好的网络接入设备存在相同信号频段的网络接入设备的数量,确定所述通信环境复杂程度,包括:
    若所述电子设备所处空间下,所述相同信号频段的网络接入设备数量大于预设值,则确定电子设备对应的通信环境复杂。
  15. 根据权利要求14所述的方法,其特征在于,所述方法还包括:
    若所述电子设备所处空间下,所述相同信号频段的网络接入设备数量不大于预设值,则确定电子设备对应的通信环境简单。
  16. 根据权利要求1所述的方法,其特征在于,所述若基于所述目标信号强度确定所述电子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,包括:
    若基于目标信号强度确定电子设备处于通信稳定状态,则与网络接入设备进行通信速率的协商,并将协商好的通信速率作为当前协商速率,并降低电子设备的发射功率。
  17. 根据权利要求1-16任一所述的方法,其特征在于,所述获取目标信号强度,包括:
    通过接收信号强度指示获取得到目标信号强度。
  18. 一种功率调整装置,其特征在于,运行于电子设备,所述装置包括:
    目标信号强度获取单元,用于获取目标信号强度,所述目标信号强度所述电子设备所接收到的无线信号的强度,所述无线信号由网络接入设备发送;
    当前协商速率获取单元,用于若基于所述目标信号强度确定所述电 子设备处于通信稳定状态,获取所述电子设备当前协商速率以及降低所述电子设备的发射功率,所述当前协商速率表征所述电子设备与所述网络接入设备当前所使用的通信速率;
    参考协商速率获取单元,用于获取参考协商速率,所述参考协商速率为所述电子设备降低发射功率后与所述网络接入设备之间的协商速率;
    发射功率调整单元,用于若所述参考协商速率与所述当前协商速率相同,控制所述的电子设备的发射功率至高为当前的发射功率。
  19. 一种电子设备,其特征在于,包括一个或多个处理器以及存储器;
    一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行权利要求1-17任一所述的方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码运行时执行权利要求1-17任一所述的方法。
PCT/CN2022/140738 2022-04-20 2022-12-21 功率调整方法、装置、电子设备及存储介质 WO2023202126A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210418542.5 2022-04-20
CN202210418542.5A CN114828191B (zh) 2022-04-20 2022-04-20 功率调整方法、装置以及电子设备

Publications (1)

Publication Number Publication Date
WO2023202126A1 true WO2023202126A1 (zh) 2023-10-26

Family

ID=82506253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/140738 WO2023202126A1 (zh) 2022-04-20 2022-12-21 功率调整方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN114828191B (zh)
WO (1) WO2023202126A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117915497A (zh) * 2024-03-20 2024-04-19 中铁四局集团有限公司 一种基于光纤与Mesh自组网的物联信息传输系统及方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828191B (zh) * 2022-04-20 2023-11-24 Oppo广东移动通信有限公司 功率调整方法、装置以及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8422420B1 (en) * 2009-12-17 2013-04-16 Qualcomm Incorporated Transmit power adaptation for wireless communication systems
CN105392162A (zh) * 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 一种wifi功率动态调整的方法、装置及移动终端
CN110719626A (zh) * 2018-07-12 2020-01-21 中兴通讯股份有限公司 WiFi发射功率控制方法、装置、电路及计算机存储介质
CN114828191A (zh) * 2022-04-20 2022-07-29 Oppo广东移动通信有限公司 功率调整方法、装置以及电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6859446B1 (en) * 2000-09-11 2005-02-22 Lucent Technologies Inc. Integrating power-controlled and rate-controlled transmissions on a same frequency carrier
US20130329631A1 (en) * 2012-06-06 2013-12-12 Muhammad Adeel Alam Methods and apparatus for enhanced transmit power control
CN109005581B (zh) * 2018-09-27 2021-07-13 维沃移动通信有限公司 一种发射功率控制方法及装置
CN114007258B (zh) * 2021-09-23 2023-09-08 成都市联洲国际技术有限公司 无线组网系统发射功率调整方法、装置、设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8422420B1 (en) * 2009-12-17 2013-04-16 Qualcomm Incorporated Transmit power adaptation for wireless communication systems
CN105392162A (zh) * 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 一种wifi功率动态调整的方法、装置及移动终端
CN110719626A (zh) * 2018-07-12 2020-01-21 中兴通讯股份有限公司 WiFi发射功率控制方法、装置、电路及计算机存储介质
CN114828191A (zh) * 2022-04-20 2022-07-29 Oppo广东移动通信有限公司 功率调整方法、装置以及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117915497A (zh) * 2024-03-20 2024-04-19 中铁四局集团有限公司 一种基于光纤与Mesh自组网的物联信息传输系统及方法
CN117915497B (zh) * 2024-03-20 2024-06-07 中铁四局集团有限公司 一种基于光纤与Mesh自组网的物联信息传输系统及方法

Also Published As

Publication number Publication date
CN114828191A (zh) 2022-07-29
CN114828191B (zh) 2023-11-24

Similar Documents

Publication Publication Date Title
WO2023202126A1 (zh) 功率调整方法、装置、电子设备及存储介质
US8983555B2 (en) Wireless communication techniques
CN109151194B (zh) 数据传输方法、装置、电子设备以及存储介质
US9311920B2 (en) Voice processing method, apparatus, and system
US10950238B2 (en) Bluetooth speaker base, method and system for controlling thereof
CN109274407B (zh) 数据传输方法、装置、电子设备以及存储介质
WO2021057965A1 (zh) 能力参数确定方法、上行调度方法、终端和网络侧设备
WO2021129821A1 (zh) 数据传输方法、装置、存储介质及终端设备
WO2021238911A1 (zh) 层二标识确定方法、装置及终端
WO2021164593A1 (zh) 数据传输方法及装置
WO2021169973A1 (zh) 无线数据传输方法及装置、存储介质、sta
WO2023236962A1 (zh) 资源分配方法、装置、通信设备、系统及存储介质
WO2020118497A1 (zh) 调整Wi-Fi增益的方法、装置、电子设备及存储介质
WO2023208181A1 (zh) 功率确定方法、终端及可读存储介质
WO2024192641A1 (zh) 通信方法、电子设备及存储介质
WO2024007162A1 (zh) 通信方法及装置、电子设备及存储介质
WO2023179586A1 (zh) 唤醒信号的检测方法及设备
WO2024146610A1 (zh) 信号发送、信号接收方法、装置和设备
WO2023241477A1 (zh) 资源共享方法、终端及设备
CN117527771B (zh) 音频传输方法、装置、存储介质及电子设备
WO2024153039A1 (zh) Ai模型的处理方法、终端及网络侧设备
EP4191988A1 (en) Call method and terminal device
WO2023098800A1 (zh) 信息传输方法、装置、终端及网络侧设备
WO2023151519A1 (zh) 功率控制pc参数的确定方法、装置及终端
WO2022213304A1 (zh) Lbt控制方法、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22938344

Country of ref document: EP

Kind code of ref document: A1