CN114828191B - Power adjustment method and device and electronic equipment - Google Patents

Power adjustment method and device and electronic equipment Download PDF

Info

Publication number
CN114828191B
CN114828191B CN202210418542.5A CN202210418542A CN114828191B CN 114828191 B CN114828191 B CN 114828191B CN 202210418542 A CN202210418542 A CN 202210418542A CN 114828191 B CN114828191 B CN 114828191B
Authority
CN
China
Prior art keywords
electronic equipment
target signal
negotiation rate
rate
electronic device
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202210418542.5A
Other languages
Chinese (zh)
Other versions
CN114828191A (en
Inventor
裴子男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210418542.5A priority Critical patent/CN114828191B/en
Publication of CN114828191A publication Critical patent/CN114828191A/en
Priority to PCT/CN2022/140738 priority patent/WO2023202126A1/en
Application granted granted Critical
Publication of CN114828191B publication Critical patent/CN114828191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

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

Abstract

The embodiment of the application discloses a power adjustment method and device and electronic equipment. The method comprises the following steps: acquiring target signal intensity; if the electronic equipment is in a communication stable state based on the target signal strength, acquiring the current negotiation rate of the electronic equipment and reducing the transmitting power of the electronic equipment; acquiring a reference negotiation rate, wherein the reference negotiation rate is the negotiation rate between the electronic equipment and the network access equipment after the transmission power of the electronic equipment is reduced; and if the reference negotiation rate is the same as the current negotiation rate, controlling the transmitting power of the electronic equipment to be high as the current transmitting power. By the method, under the condition that the electronic equipment is in a communication stable state based on the target signal strength, the transmitting power of the electronic equipment can be adjusted based on the current negotiation rate and the reference negotiation rate, so that the transmitting power of the electronic equipment is higher than the current transmitting power, and the power consumption of the electronic equipment is reduced.

Description

Power adjustment method and device and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a power adjustment method, a device, and an electronic apparatus.
Background
With the development of technology and the continuous improvement of living standard of people, the use of various electronic devices (such as mobile phones, computers, etc.) is becoming more and more popular. In some cases, the electronic device may connect to a network access device (e.g., a router, etc.) to access the network, and during the surfing process, the electronic device may transmit a wireless signal based on a certain transmit power to transmit data to the network access device. However, in the process of data transmission with the network access device, there is also a problem of higher power consumption of the related electronic device.
Disclosure of Invention
In view of the above, the present application provides a power adjustment method, a power adjustment device, and an electronic device, so as to improve the above problem.
In a first aspect, the present application provides a power adjustment method, applied to an electronic device, where the method includes: acquiring target signal strength, wherein the target signal strength is the strength of a wireless signal received by the electronic equipment, and the wireless signal is sent by network access equipment; if the electronic equipment is in a communication stable state based on the target signal strength, acquiring the current negotiation rate of the electronic equipment and reducing the transmitting power of the electronic equipment, wherein the current negotiation rate characterizes the communication rate currently used by the electronic equipment and the network access equipment; acquiring a reference negotiation rate, wherein the reference negotiation rate is a negotiation rate between the electronic equipment and the network access equipment after the transmission power of the electronic equipment is reduced; and if the reference negotiation rate is the same as the current negotiation rate, controlling the transmitting power of the electronic equipment to be high as the current transmitting power.
In a second aspect, the present application provides a power adjustment device, operating in an electronic device, the device comprising: a target signal strength obtaining unit, configured to obtain a target signal strength, where the target signal strength is the strength of a wireless signal received by the electronic device, and the wireless signal is sent by a network access device; a current negotiation rate obtaining unit, configured to obtain a current negotiation rate of the electronic device and reduce a transmit power of the electronic device if it is determined that the electronic device is in a communication steady state based on the target signal strength, where the current negotiation rate characterizes a communication rate currently used by the electronic device and the network access device; a reference negotiation rate obtaining unit, configured to obtain a reference negotiation rate, where the reference negotiation rate is a negotiation rate between the electronic device and the network access device after the electronic device reduces the transmission power; and the transmitting power adjusting unit is used for controlling the transmitting power of the electronic equipment to be the current transmitting power if the reference negotiation rate is the same as the current negotiation rate.
In a third aspect, the present application provides an electronic device comprising 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 configured to perform the methods described above.
In a fourth aspect, the present application provides a computer readable storage medium having program code stored therein, wherein the method described above is performed when the program code is run.
After obtaining a target strength representing the strength of a wireless signal received by the electronic device and sent by a network access device, if the electronic device is determined to be in a communication stable state based on the target signal strength, obtaining a current negotiation rate representing the communication rate currently used by the electronic device and the network access device and reducing the transmitting power of the electronic device, obtaining a reference negotiation rate representing the negotiation rate between the electronic device and the network access device after the transmitting power is reduced, and controlling the transmitting power of the electronic device to be the current transmitting power if the reference negotiation rate is the same as the current negotiation rate.
Therefore, under the condition that the electronic equipment is in a stable communication state, the current negotiation rate can be obtained and the transmission power of the electronic equipment is tried to be reduced, and further under the condition that the communication rate with the network access equipment is still the current negotiation rate before the transmission power is reduced after the transmission power is tried to be reduced, the transmission power of the electronic equipment is controlled to be high to be the current transmission power, and further the transmission power of the electronic equipment is reduced under the condition that the communication rate is not reduced, so that the power consumption of the electronic equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a schematic diagram of an application environment of a power adjustment method according to the present application;
fig. 2 shows a flowchart of a power adjustment method according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating a power adjustment method according to another embodiment of the present application;
FIG. 4 is a flow chart of a power adjustment method according to the present application;
FIG. 5 is a schematic diagram showing the relationship between the emission power and the current consumption of an electronic device according to the present application;
fig. 6 shows a block diagram of a power adjustment device according to an embodiment of the present application;
FIG. 7 is a block diagram of an electronic device according to the present application;
fig. 8 is a memory unit for storing or carrying program codes for implementing a power adjustment method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
With the development of technology and the continuous improvement of living standard of people, the use of various electronic devices (such as mobile phones, computers, etc.) is becoming more and more popular. In some cases, the electronic device may connect to a network access device (e.g., a router, etc.) to access the network, and during the surfing process, the electronic device may transmit a wireless signal based on a certain transmit power to transmit data to the network access device.
The inventor finds that in the related research, the problem of higher power consumption exists in the process of data transmission between related electronic equipment and network access equipment.
Therefore, the inventor proposes a power adjustment method, a device and an electronic device according to the present application, after obtaining a target strength representing a strength of a wireless signal received by the electronic device and sent by a network access device, if the electronic device is determined to be in a stable communication state based on the target signal strength, obtaining a current negotiation rate representing a communication rate currently used by the electronic device and the network access device, and reducing a transmitting power of the electronic device, obtaining a reference negotiation rate representing a negotiation rate between the electronic device and the network access device after reducing the transmitting power, and if the reference negotiation rate is the same as the current negotiation rate, controlling the transmitting power of the electronic device to be high as the current transmitting power.
Therefore, under the condition that the electronic equipment is in a stable communication state, the current negotiation rate can be obtained and the transmission power of the electronic equipment is tried to be reduced, and further under the condition that the communication rate with the network access equipment is still the current negotiation rate before the transmission power is reduced after the transmission power is tried to be reduced, the transmission power of the electronic equipment is controlled to be high to be the current transmission power, and further the transmission power of the electronic equipment is reduced under the condition that the communication rate is not reduced, so that the power consumption of the electronic equipment is reduced.
Fig. 1 is a schematic view of an application environment according to an embodiment of the application. In which fig. 1 provides a communication system 10 comprising an electronic device 100 and a network access device 200. The electronic device 100 may include, but is not limited to, a personal computer (personal computer, PC), a tablet, a smart phone, a personal digital assistant (personal digital assistant, PDA), a smart panel, and the like. The network access device 200 may be a wireless router or the like. The electronic device 100 may access a network through the network access device 200.
In order to better understand the scheme of the embodiment of the present application, the technical terms used in the embodiment of the present application are explained below.
Wireless AP (Wireless Access Point ): may be a core device that forms a wireless local area network (Wireless Local Area Network, WLAN), the role of the wireless AP in the WLAN is equivalent to the role of the transmitting base station in the mobile communications network. The wireless AP may serve as a bridge for communication between the wireless network and the wired network, providing access to each other between the wireless workstation and the wired lan.
Negotiating a rate: the negotiation rate refers to the communication rate of the maximum transceiving data packet finally obtained by considering the factors such as wireless interference, noise, time delay and the like between the AP and the electronic equipment, and is used for guaranteeing the reliability of air interface data transmission.
Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, the power adjustment method provided by the present application is applied to an electronic device, and the method includes:
s110: and acquiring target signal strength, wherein the target signal strength is the strength of a wireless signal received by the electronic equipment, and the wireless signal is sent by network access equipment.
In one manner, the electronic device may obtain the target signal strength through RSSI (Received Signal Strength Indication ). Alternatively, the electronic device may directly use the RSSI calculated from the wireless signal transmitted by the network access device as the target signal strength.
Alternatively, the wireless signal may be a Wi-Fi (Wireless Fidelity ) signal and the network access device may be an AP (e.g., router, etc.).
As one approach, the electronic device may obtain the target signal strength from a network module in the electronic device. Alternatively, the electronic device may periodically acquire the target signal strength.
In the embodiment of the application, the electronic equipment can acquire a plurality of target signal intensities generated by the network access equipment in a specified time period. For example, the designated period of time may be 1 minute, and the electronic device may acquire the target signal strength every 1 second, at this time, the electronic device may set a counter with a value of 60, decrease the value of the counter by 1 every 1 second, and store the target signal strength in an array, and when the value of the counter is 0, the target signal strength is not continuously acquired, so that the target signal strength within 1 minute is acquired as a plurality of target signal strengths.
Alternatively, the specified time period may be determined based on a complexity of a communication environment to which the electronic device corresponds. As one approach, the electronic device may 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 larger than a preset value, determining that the communication environment corresponding to the electronic device is complex, and setting the designated time period as a first designated time period; if the number of network access devices in the space where the electronic device is located does not exceed the preset value, it can be determined that the communication environment corresponding to the electronic device is simple, and the specified time period is set to be the second specified time period, where the first specified time period is smaller than the second specified time period, so that when the communication environment is complex, the frequency of power adjustment can be increased, and the transmitting power of the electronic device can be adapted to the complex communication environment more quickly. For example, the first specified time period may be 1 minute, the second specified time period may be 5 minutes, and if it is determined that the communication environment corresponding to the electronic device is complex, the specified time period may be set to 1 minute, that is, the transmit power may be adjusted every 1 minute; if it is determined that the communication environment corresponding to the electronic device is simple, the specified period of time may be set to 5 minutes, that is, the transmission power may be adjusted every 5 minutes.
Optionally, in the embodiment of the present application, the complexity of the communication environment corresponding to the electronic device may also be determined based on the number of network access devices having the same signal frequency band as the network access device connected to the electronic device in the space where the electronic device is located. If the number of network access devices with the same signal frequency band is larger than a preset value in the space where the electronic device is located, the complexity of the communication environment corresponding to the electronic device can be determined. Otherwise, the communication environment corresponding to the electronic equipment is determined to be simple. The network access device with the same signal frequency band can be understood that the carrier frequency band corresponding to the wireless signal transmitted by the network access device connected with the electronic device is the same as the carrier frequency band corresponding to the wireless signal transmitted by the network access device.
Alternatively, a preset number of target signal strengths generated within a specified period of time may be obtained. When the electronic device periodically acquires the target signal intensities, if the time length corresponding to the specified time period exceeds a preset value, a preset number of target signal intensities may be acquired, where the preset number may be less than or equal to the total number of target signal intensities acquired by the electronic device in the specified time period. In this case, a predetermined number of target signal strengths may be acquired from all target signal strengths acquired within a specified period of time by means of random sampling or at a predetermined sampling frequency. The preset sampling frequency may be less than or equal to a log reporting frequency of the network access device.
In the embodiment of the application, the preset number of the target signal intensities generated in the specified time period are acquired, so that when the acquired target signal intensities in the specified time period are more, the acquired target signal intensities can be further screened, the data is simplified, and the subsequent calculation efficiency is improved.
S120: and if the electronic equipment is in a communication stable state based on the target signal strength, acquiring the current negotiation rate of the electronic equipment and reducing the transmitting power of the electronic equipment, wherein the current negotiation rate characterizes the communication rate currently used by the electronic equipment and the network access equipment.
The communication stable state of the electronic device may be a state that a distance between the electronic device and the network access device is relatively stable, the magnitude of the target signal strength may be inversely related to the distance between the electronic device and the network access device, and a calculation formula between the target strength and the distance may be:
the RSSI may be a target signal strength, n may represent an attenuation factor, a may represent a signal strength when the transmitting end and the receiving end are separated by 1 meter, and n and a may be empirical values obtained through multiple experiments.
As one way, it may be determined whether a distance between the electronic device and the network access device is relatively stable based on a plurality of target signal strengths within a specified period of time, and thus it may be determined whether the electronic device is in a communication stable state.
Optionally, the electronic device may acquire a maximum target signal strength and a minimum target signal strength corresponding to the plurality of target signal strengths in the specified time period, and if the difference between the maximum target signal strength and the minimum target signal strength is smaller than the preset difference, determine that the electronic device is in a communication stable state. The preset difference value may be an empirical value obtained according to a plurality of tests. For example, the plurality of target signal strengths over the 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 difference between the maximum target signal strength and the minimum target signal strength may be a (x 3-x 1), the preset difference may be B, and if a < B, it may be determined that the electronic device is in a communication steady state; if A is more than or equal to B, the electronic equipment can be determined to be in a communication unstable state.
Optionally, the electronic device may obtain variances corresponding to the multiple target signal intensities in the specified time period, and if the variances are smaller than a preset variance, determine that the electronic device is in a communication steady state. The preset variance may be an empirical value obtained from multiple tests. For example, the plurality of target signal strengths over the specified time period may include: x1, x2, x3...xn, the variance corresponding to the plurality of target signal strengths may be C, the preset variance may be D, and if C < D, it may be determined that the electronic device is in a communication steady state; if C is more than or equal to D, the electronic equipment can be determined to be in a communication unstable state.
In one manner, if it is determined that the electronic device is in a communication steady state based on the target signal strength, the electronic device may perform negotiation of a communication rate with the network access device, and take the negotiated communication rate as a current negotiation rate, and take the current negotiation rate as the current negotiation rate of the electronic device, and reduce the transmission power of the electronic device. The transmit Power of the electronic device may refer to a transmit Power of a Power Amplifier (PA) of the electronic device.
In the embodiment of the present application, if it is determined that the electronic device is in the unstable communication state based on the target signal strength, the electronic device may delete the currently acquired target signal strength and re-execute step S110 to acquire a new target signal strength.
S130: and acquiring a reference negotiation rate, wherein the reference negotiation rate is the negotiation rate between the electronic equipment and the network access equipment after the transmitting power of the electronic equipment is reduced.
As one way, the electronic device may perform negotiation of the communication rate with the network access device again after reducing the transmission power of the PA, and use the negotiated communication rate as the reference negotiation rate.
S140: and if the reference negotiation rate is the same as the current negotiation rate, controlling the transmitting power of the electronic equipment to be high as the current transmitting power.
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.
As a way, the reference negotiation rate obtained based on step S130 may be compared with the current negotiation rate obtained based on step S120, and if the reference negotiation rate is the same as the current negotiation rate, the transmission power of the electronic device is controlled to be high as the current transmission power.
According to the power adjustment method provided by the embodiment, after the target strength representing the strength of the wireless signal received by the electronic equipment and sent by the network access equipment is obtained, if the electronic equipment is in a communication stable state based on the target signal strength, the current negotiation rate representing the communication rate currently used by the electronic equipment and the network access equipment is obtained, the transmitting power of the electronic equipment is reduced, the reference negotiation rate representing the negotiation rate between the electronic equipment and the network access equipment after the transmitting power is reduced is obtained, and if the reference negotiation rate is the same as the current negotiation rate, the transmitting power of the electronic equipment is controlled to be high as the current transmitting power. Therefore, under the condition that the electronic equipment is in a stable communication state, the current negotiation rate can be obtained and the transmission power of the electronic equipment is tried to be reduced, and further under the condition that the communication rate with the network access equipment is still the current negotiation rate before the transmission power is reduced after the transmission power is tried to be reduced, the transmission power of the electronic equipment is controlled to be high to be the current transmission power, and further the transmission power of the electronic equipment is reduced under the condition that the communication rate is not reduced, so that the power consumption of the electronic equipment is reduced.
Referring to fig. 3, the power adjustment method provided by the present application is applied to an electronic device, and the method includes:
s210: and acquiring target signal strength, wherein the target signal strength is the strength of a wireless signal received by the electronic equipment, and the wireless signal is sent by network access equipment.
As one approach, the electronic device may acquire the target signal strength in real time.
S220: and entering a current transmitting power adjustment process, acquiring the current negotiation rate of the electronic equipment and reducing the transmitting power of the electronic equipment.
In the embodiment of the application, in order to reduce the power consumption of the electronic device as much as possible under the condition of keeping the negotiation rate unchanged, the transmission power of the electronic device can be tried to be reduced based on the power reduction amplitude for a plurality of times.
In the embodiment of the application, the reducing amplitude in reducing the transmitting power of the electronic equipment can be determined in various ways.
As one way, the reduction amplitude may be configured by a developer default.
Alternatively, the power reduction amplitude may be determined based on a distance between the electronic device and the network access device, and the transmit power of the electronic device may be reduced based on the power reduction amplitude. Wherein, the closer the distance between the electronic device and the network access device is, the larger the power reduction amplitude is.
Alternatively, the distance between the electronic device and the network access device may be divided into a plurality of distance ranges, each distance range corresponding to one power reduction amplitude. And, the distance length of each distance range may be different, and the distance length may be determined based on the sensitivity degree of the negotiation rate to the change of the transmission power in the current distance range, and the higher the sensitivity degree, the smaller the corresponding distance length. By way of example, the maximum distance covered by the network access device signal may be 10 meters, which may be divided into 6 distance ranges: 0 to 1 meter, 1 to 3 meters, 3 to 6 meters, 6 to 8 meters, 8 to 9 meters, 9 to 10 meters, the power reduction amplitude corresponding to the 6 distance ranges can be: 4dBm, 3dBm, 2dBm, 1.5dBm, 1dBm, 0.5dBm.
In the embodiment of the application, the intelligent degree of the power adjustment method provided by the application can be improved by determining the power reduction amplitude based on the distance between the electronic equipment and the network access equipment, so that the transmitting power can be reduced rapidly when the distance is relatively close; when the distance is far, the transmitting power can be finely adjusted, and the power is reduced as much as possible.
S230: and acquiring a reference negotiation rate, wherein the reference negotiation rate is the negotiation rate between the electronic equipment and the network access equipment after the transmitting power of the electronic equipment is reduced.
S240: if the reference negotiation rate is the same as the current negotiation rate of the current transmission power adjustment process, entering the next transmission power adjustment process.
As one way, if the reference negotiation rate is the same as the current negotiation rate of the current transmission power adjustment process, the reference negotiation rate may be used as the current rate of the next transmission power adjustment process, and the next transmission power adjustment process may be entered from step S220.
S250: and if the reference negotiation rate is smaller than the current negotiation rate, increasing the transmitting power of the electronic equipment.
As one way, if the reference negotiation rate is less than the current negotiation rate of the current transmit power adjustment procedure, the transmit power of the electronic device may be increased based on the power increase magnitude. Wherein the power increase amplitude is equal to the power decrease amplitude of step S220.
According to the power adjustment method provided by the embodiment, under the condition that the electronic equipment is in a communication stable state, the current negotiation rate can be obtained and the transmission power of the electronic equipment is tried to be reduced, and further under the condition that the communication rate with the network access equipment is still the current negotiation rate before the transmission power is reduced after the transmission power is tried to be reduced, the transmission power of the electronic equipment is controlled to be high to the current transmission power, and further the transmission power of the electronic equipment is reduced under the condition that the communication rate is not reduced, so that the power consumption of the electronic equipment is reduced. In addition, in the embodiment, the electronic device can acquire the target signal strength in real time, and dynamically adjust the transmitting power in real time under the condition that the electronic device is in a stable communication state, so that the transmitting power of the electronic device can be reduced as much as possible under the condition that the negotiation rate is unchanged, and the power consumption of the electronic device is reduced.
In order to better understand the schemes of all the embodiments of the present application, a business process of the power adjustment method of the present application is described below.
Referring to fig. 4, the electronic device may acquire a plurality of target signal strengths within a specified period, and if it is determined that the electronic device is in a communication unstable state based on the plurality of signal strengths, the acquired plurality of target signal strengths may be cleared and the plurality of target signal strengths within the specified period may be reacquired. If the electronic equipment is in a communication stable state based on the plurality of signal intensities, the current negotiation rate of the electronic equipment can be acquired, and the current negotiation rate is recorded as rate0; and reducing the transmitting power of the electronic equipment based on the power reduction amplitude, and acquiring the reference negotiation rate1 after the transmitting power is reduced.
After the rate1 and the rate0 are obtained, whether the rate1 is equal to the rate0 or not can be compared, if so, the negotiation rate can be kept unchanged after the transmission power is reduced, that is, the data transmission process between the electronic equipment and the network access equipment is not affected, that is, the transmission power of the electronic equipment possibly has a reduced space, and in order to reduce the power consumption of the electronic equipment as much as possible, the transmission power of the electronic equipment can be reduced again based on the power reduction amplitude; if not equal (rate 1< rate 0), it indicates that after the transmission power is reduced, the negotiation rate is reduced, and the reduced negotiation rate may cause a reduction in the data transmission rate between the electronic device and the network access device, or even may not perform data transmission, which indicates that the transmission power of the electronic device may have been reduced below the limit value at the current negotiation rate (rate 0), so that the transmission power of the electronic device may be increased based on the power increase amplitude, where the power increase amplitude is equal to the power decrease amplitude, so as to restore the transmission power of the electronic device to the limit value at the current negotiation rate (rate 0).
Optionally, each time the negotiation rate before and after the transmission power is reduced is compared, the negotiation rate after the transmission power is reduced at this time may be compared with the rate0, or may be compared with the rate1 in the previous comparison process.
For example, in the case that it is determined that the electronic device is in a communication steady state based on the plurality of signal strengths, the current negotiation rate (rate 0) of the electronic device may be 16Mbps, the minimum transmission power of the electronic device corresponding to the current negotiation rate may be 18dBm, the current transmission power corresponding to the current negotiation rate (rate 0) may be 20dBm, the power reduction amplitude and the power increase amplitude may be 1dBm, the transmission power may be reduced to 19dBm based on the power reduction amplitude, and the reference negotiation rate (rate 1) may be acquired to be 16Mbps; the transmit power can continue to be reduced to 18dBm and the reference negotiation rate (rate 1) at that time is obtained to be still 16Mbps; the transmit power can continue to be reduced to 18dBm and the reference negotiation rate (rate 1) at that time is obtained to be still 16Mbps; the transmit power may continue to be reduced to 17dBm and the reference negotiation rate (rate 1) obtained at that time may begin to be less than 16Mbps, indicating that the transmit power of the electronic device is reduced too much, and the transmit power may be increased back to 18dBm based on the power increase magnitude to maintain the negotiation rate of the electronic device at 16Mbps. As can be seen from fig. 5, when the emission power of the electronic device is above 19dBm, the current can be reduced by 15mA every time the emission power of 1dBm is reduced, and for a 2 x 2mimo (Multiple Input Multiple Output ) electronic device, the overall current of 30mA can be reduced by 1dBm, so as to reduce the power consumption and save the electric quantity.
Referring to fig. 6, a power adjustment device 600 provided by the present application is operated in an electronic apparatus, where the device 600 includes:
a target signal strength obtaining unit 610, configured to obtain a target signal strength, where the target signal strength is the strength of a wireless signal received by the electronic device, and the wireless signal is sent by a network access device;
a current negotiation rate obtaining unit 620, configured to obtain a current negotiation rate of the electronic device and reduce a transmit power of the electronic device if it is determined that the electronic device is in a communication steady state based on the target signal strength, where the current negotiation rate characterizes a communication rate currently used by the electronic device and the network access device;
a reference negotiation rate obtaining unit 630, configured to obtain a reference negotiation rate, where the reference negotiation rate is a negotiation rate between the electronic device and the network access device after the electronic device reduces the transmission power;
and a transmit power adjustment unit 640, configured to control the transmit power of the electronic device to be higher than the current transmit power if the reference negotiation rate is the same as the current negotiation rate.
As one way, the target signal strength acquisition unit 610 is specifically configured to acquire a plurality of target signal strengths generated within a specified period of time. The current negotiation rate obtaining 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 target signal strengths.
Wherein, optionally, the target signal strength obtaining unit 610 is specifically configured to obtain a preset number of target signal strengths generated in a specified period of time.
Optionally, the current negotiation rate acquiring unit 620 is specifically configured to acquire variances corresponding to the multiple target signal strengths, and determine that the electronic device is in a communication steady state if the variances are smaller than a preset variance.
Optionally, the current negotiation rate acquiring unit 620 is specifically configured to acquire a maximum target signal strength and a minimum target signal strength corresponding to the plurality of target signal strengths, and determine that the electronic device is in a communication steady state if a difference between the maximum target signal strength and the minimum target signal strength is smaller than a preset difference.
As one way, the current negotiation rate obtaining unit 620 is specifically configured to enter a current transmission power adjustment procedure, obtain a 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 a 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; and if the reference negotiation rate is smaller than the current negotiation rate, increasing the transmitting power of the electronic equipment.
Wherein, optionally, the current negotiation rate acquiring unit 620 is specifically configured to determine a power reduction amplitude based on a distance between the electronic device and the network access device; and reducing the transmitting power of the electronic equipment based on the power reduction amplitude.
An electronic device according to the present application will be described with reference to fig. 7.
Referring to fig. 7, based on the above-mentioned power adjustment method and apparatus, another electronic device 100 capable of executing the above-mentioned power adjustment method is provided in the embodiment of the present application. The electronic device 100 includes a processor 102, a memory 104, and a network module 106, wherein the memory 104 stores a program capable of executing the content of the foregoing embodiment, and the processor 102 can execute the program stored in the memory 104.
Wherein the processor 102 may include one or more processing cores. The processor 102 utilizes various interfaces and lines to connect various portions of the overall electronic device 100, perform various functions of the electronic device 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and invoking data stored in the memory 104. Alternatively, the processor 102 may be implemented in hardware in at least one of 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 array (Programmable Logic Array, PLA). The processor 102 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a network processor (Neural network Processing Unit, NPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the NPU is responsible for processing multimedia data of video and image types; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 102 and may be implemented solely by a single communication chip.
The Memory 104 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (DDR) and a Double data rate synchronous dynamic random access Memory (Double data rate). Memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the terminal 100 in use (such as phonebook, audio-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, such as transmitting device control instructions, manipulation request instructions, status information acquisition instructions, and the like. While the electronic device 100 may be embodied as a different device, its corresponding network module 106 may be different.
Referring to fig. 8, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable storage medium 800 has stored therein program code that can be invoked by a processor to perform the methods described in the method embodiments described above.
The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 comprises a non-volatile computer readable storage medium (non-transitory computer-readable storage medium). The computer readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 810 may be compressed, for example, in a suitable form.
In summary, after obtaining a target strength representing the strength of a wireless signal received by the electronic device and sent by a network access device, the power adjustment method, the device and the electronic device provided by the application obtain a current negotiation rate representing a communication rate currently used by the electronic device and the network access device and reduce the transmitting power of the electronic device, obtain a reference negotiation rate representing a negotiation rate between the electronic device and the network access device after reducing the transmitting power, and control the transmitting power of the electronic device to be the current transmitting power if the reference negotiation rate is the same as the current negotiation rate. Therefore, under the condition that the electronic equipment is in a stable communication state, the current negotiation rate can be obtained and the transmission power of the electronic equipment is tried to be reduced, and further under the condition that the communication rate with the network access equipment is still the current negotiation rate before the transmission power is reduced after the transmission power is tried to be reduced, the transmission power of the electronic equipment is controlled to be high to be the current transmission power, and further the transmission power of the electronic equipment is reduced under the condition that the communication rate is not reduced, so that the power consumption of the electronic equipment is reduced.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A power adjustment method, for use with an electronic device, the method comprising:
acquiring a plurality of target signal intensities generated in a specified time period, wherein the target signal intensities are the intensities of wireless signals received by the electronic equipment, and the wireless signals are sent by network access equipment;
obtaining the maximum target signal intensity and the minimum target signal intensity corresponding to the target signal intensities,
if the difference value between the maximum target signal intensity and the minimum target signal intensity is smaller than a preset difference value, determining that the electronic equipment is in a communication stable state;
if the electronic equipment is in a communication stable state based on the target signal intensities, acquiring a current negotiation rate of the electronic equipment and reducing the transmitting power of the electronic equipment based on the power reduction amplitude, wherein the current negotiation rate represents the communication rate currently used by the electronic equipment and the network access equipment;
acquiring a reference negotiation rate, wherein the reference negotiation rate is a negotiation rate between the electronic equipment and the network access equipment after the transmission power of the electronic equipment is reduced;
and if the reference negotiation rate is the same as the current negotiation rate, controlling the transmitting power of the electronic equipment to be smaller than or equal to the transmitting power after the transmitting power of the electronic equipment is reduced.
2. The method of claim 1, wherein the obtaining the current negotiated rate of the electronic device and reducing the transmit power of the electronic device comprises:
entering a current transmitting power adjustment process, acquiring the current negotiation rate of the electronic equipment and reducing the transmitting power of the electronic equipment;
and if the reference negotiation rate is the same as the current negotiation rate, controlling the transmitting power of the electronic device to be high as the current transmitting power, including:
if the reference negotiation rate is the same as the current negotiation rate of the current transmission power adjustment process, entering the next transmission power adjustment process;
and if the reference negotiation rate is smaller than the current negotiation rate, increasing the transmitting power of the electronic equipment.
3. The method according to claim 2, wherein the method further comprises:
the power reduction magnitude is determined based on a distance between the electronic device and the network access device.
4. The method of claim 1, wherein after the obtaining the plurality of target signal strengths generated within the specified time period, further comprising:
acquiring variances corresponding to the plurality of target signal strengths,
and if the variance is smaller than a preset variance, determining that the electronic equipment is in a communication stable state.
5. The method of claim 1, wherein the obtaining a plurality of target signal strengths generated during a specified time period comprises:
and acquiring the preset number of target signal intensities generated in the specified time period.
6. A power adjustment device operable with an electronic apparatus, the device comprising:
a target signal strength obtaining unit, configured to obtain a plurality of target signal strengths generated in a specified time period, where the target signal strengths are strengths of wireless signals received by the electronic device, and the wireless signals are sent by a network access device;
the current negotiation rate acquisition unit is used for acquiring the maximum target signal intensity and the minimum target signal intensity corresponding to the plurality of target signal intensities, and if the difference value between the maximum target signal intensity and the minimum target signal intensity is smaller than a preset difference value, determining that the electronic equipment is in a communication stable state; if the electronic equipment is in a communication stable state based on the target signal intensities, acquiring a current negotiation rate of the electronic equipment and reducing the transmitting power of the electronic equipment based on the power reduction amplitude, wherein the current negotiation rate represents the communication rate currently used by the electronic equipment and the network access equipment;
a reference negotiation rate obtaining unit, configured to obtain a reference negotiation rate, where the reference negotiation rate is a negotiation rate between the electronic device and the network access device after the electronic device reduces the transmission power;
and the transmitting power adjusting unit is used for controlling the transmitting power of the electronic equipment to be smaller than or equal to the transmitting power after the transmitting power of the electronic equipment is reduced if the reference negotiation rate is the same as the current negotiation rate.
7. An electronic device comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-5.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, wherein the method of any of claims 1-5 is performed when the program code is run.
CN202210418542.5A 2022-04-20 2022-04-20 Power adjustment method and device and electronic equipment Active CN114828191B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210418542.5A CN114828191B (en) 2022-04-20 2022-04-20 Power adjustment method and device and electronic equipment
PCT/CN2022/140738 WO2023202126A1 (en) 2022-04-20 2022-12-21 Power adjustment method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210418542.5A CN114828191B (en) 2022-04-20 2022-04-20 Power adjustment method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114828191A CN114828191A (en) 2022-07-29
CN114828191B true CN114828191B (en) 2023-11-24

Family

ID=82506253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210418542.5A Active CN114828191B (en) 2022-04-20 2022-04-20 Power adjustment method and device and electronic equipment

Country Status (2)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828191B (en) * 2022-04-20 2023-11-24 Oppo广东移动通信有限公司 Power adjustment method and device and electronic equipment
CN117915497B (en) * 2024-03-20 2024-06-07 中铁四局集团有限公司 Internet of things information transmission system and method based on optical fiber and Mesh ad hoc network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1322051A1 (en) * 2000-09-11 2003-06-25 Lucent Technologies Inc. Integrated power-controlled and rate-controlled transmissions on a same frequency carrier
CN109005581A (en) * 2018-09-27 2018-12-14 维沃移动通信有限公司 A kind of transmission power control method and device
CN110719626A (en) * 2018-07-12 2020-01-21 中兴通讯股份有限公司 WiFi transmission power control method, device, circuit and computer storage medium
CN114007258A (en) * 2021-09-23 2022-02-01 深圳市联洲国际技术有限公司 Method, device, equipment and storage medium for adjusting transmitting power of wireless networking system

Family Cites Families (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
US20130329631A1 (en) * 2012-06-06 2013-12-12 Muhammad Adeel Alam Methods and apparatus for enhanced transmit power control
CN105392162B (en) * 2015-10-28 2019-04-05 Oppo广东移动通信有限公司 A kind of method, device and mobile terminal of WIFI power dynamic adjustment
CN114828191B (en) * 2022-04-20 2023-11-24 Oppo广东移动通信有限公司 Power adjustment method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1322051A1 (en) * 2000-09-11 2003-06-25 Lucent Technologies Inc. Integrated power-controlled and rate-controlled transmissions on a same frequency carrier
CN110719626A (en) * 2018-07-12 2020-01-21 中兴通讯股份有限公司 WiFi transmission power control method, device, circuit and computer storage medium
CN109005581A (en) * 2018-09-27 2018-12-14 维沃移动通信有限公司 A kind of transmission power control method and device
CN114007258A (en) * 2021-09-23 2022-02-01 深圳市联洲国际技术有限公司 Method, device, equipment and storage medium for adjusting transmitting power of wireless networking system

Also Published As

Publication number Publication date
CN114828191A (en) 2022-07-29
WO2023202126A1 (en) 2023-10-26

Similar Documents

Publication Publication Date Title
CN114828191B (en) Power adjustment method and device and electronic equipment
US11202300B2 (en) Method and system for adjusting sound quality, and host terminal
CN101951671B (en) Wireless network connection method, device and terminal
US8675615B2 (en) Temperature-driven airlink selection in a multi-mode wireless device
US9311920B2 (en) Voice processing method, apparatus, and system
CN109274407B (en) Data transmission method, device, electronic equipment and storage medium
CN109413525B (en) Encoding rate adjustment method, encoding rate adjustment device, electronic device, and storage medium
CN114175755A (en) Power value determination method, device and system
US20230124671A1 (en) Electronic device performing communication using bandwidth part, network, and method for operating the same
US20240195444A1 (en) Radio frequency control method and apparatus and electronic device
CN113490266A (en) Method and device for adjusting uplink power level and electronic equipment
CN110708722B (en) Transmission rate control method, terminal and computer storage medium
CN108337735A (en) wireless network connection control method, device, storage medium and terminal device
CN114466441B (en) Method and device for adjusting transmitting power, storage medium and WiFi equipment
RU2741559C1 (en) Channel power control method and corresponding product
CN112823549B (en) Method and device for adjusting Wi-Fi gain, electronic equipment and storage medium
CN115208426B (en) Method and device for controlling working mode, electronic equipment and readable storage medium
WO2024153039A1 (en) Ai model processing method, terminal, and network side device
WO2024146610A1 (en) Signal sending method and apparatus, signal receiving method and apparatus, and device
WO2023208181A1 (en) Power determination method, terminal, and readable storage medium
CN117527771B (en) Audio transmission method and device, storage medium and electronic equipment
CN111343673B (en) Method for determining transmission parameters and wireless device
WO2024061111A1 (en) Resource processing method and apparatus, and communication device
WO2023109759A1 (en) Prach transmission method and apparatus, and terminal
CN108513733A (en) The switching method and communication terminal of communication pattern

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant