CN112533273A - Power adjusting method and device - Google Patents

Power adjusting method and device Download PDF

Info

Publication number
CN112533273A
CN112533273A CN201910875262.5A CN201910875262A CN112533273A CN 112533273 A CN112533273 A CN 112533273A CN 201910875262 A CN201910875262 A CN 201910875262A CN 112533273 A CN112533273 A CN 112533273A
Authority
CN
China
Prior art keywords
value
rssi
distance value
distance
communication 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.)
Pending
Application number
CN201910875262.5A
Other languages
Chinese (zh)
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.)
Redact Technology Canada Ltd
Original Assignee
Redact Technology Canada 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 Redact Technology Canada Ltd filed Critical Redact Technology Canada Ltd
Priority to CN201910875262.5A priority Critical patent/CN112533273A/en
Publication of CN112533273A publication Critical patent/CN112533273A/en
Pending legal-status Critical Current

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
    • 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
    • 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/28TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission
    • H04W52/283Power depending on the position of the mobile
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a power regulation method and equipment, wherein the method comprises the following steps: within a preset time interval, the first communication equipment acquires a first group of RSSI values from a plurality of second communication equipment; determining a first RSSI mean value according to the first group of RSSI values; determining a first distance value according to the first RSSI mean value; and when the first distance value is not larger than the packet loss critical value, respectively sending the first RSSI mean value and the first distance value to the plurality of second communication devices. In the embodiment of the invention, the first communication equipment determines the distance value according to the RSSI mean value of a plurality of second communication equipment, and sends the RSSI mean value and the distance value to the second communication equipment when the distance value is not greater than the packet loss critical value, and the second communication equipment adjusts the power according to the RSSI mean value and the distance value, so that the equipment can adjust the power per se according to the actual application scene, and the standby time of the equipment is prolonged.

Description

Power adjusting method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a power adjusting method and power adjusting equipment.
Background
With the continuous development of the internet of things and communication technology, the position of short-distance wireless communication in automatic control becomes more and more important, and the short-distance wireless communication device relates to the fields of notebooks, mobile equipment, automotive electronics, household equipment and industrial equipment, and brings convenience to the work and life of people.
In wireless communication equipment, data wireless transmission occupies the main part of network energy consumption, and the farther away, the higher the energy consumption, electronic equipment tends to miniaturize and intellectuality at present, for better user experience, long-time standby is indispensable, and equipment volume reduction will lead to the battery volume to be limited, and its battery capacity will be limited, leads to equipment standby time to be limited.
Disclosure of Invention
The embodiment of the invention provides a power adjusting method and equipment, and solves the problem that the standby time of the existing equipment is limited.
According to a first aspect of the embodiments of the present invention, there is provided a power adjustment method applied to a first communication device, the method including:
within a preset time interval, obtaining a first group of Received Signal Strength Indication (RSSI) values from a plurality of second communication devices;
determining a first RSSI mean value according to the first group of RSSI values;
determining a first distance value according to the first RSSI mean value;
and when the first distance value is not greater than a packet loss critical value, respectively sending the first RSSI mean value and the first distance value to the plurality of second communication devices.
Optionally, the method further comprises:
when the first distance value is larger than the packet loss critical value, removing the maximum value of the RSSI and the minimum value of the RSSI from the first group of RSSI values to obtain a second group of RSSI values;
determining a second RSSI mean value according to the second group of RSSI values;
determining a second distance value according to the second RSSI mean value;
and when the second distance value is not greater than a packet loss critical value, respectively sending the second RSSI average value and the second distance value to the plurality of second communication devices.
Optionally, before the sending the second RSSI mean value and the second distance value to the plurality of second communication devices, respectively, the method further includes:
judging whether the absolute value of the difference value between the first distance value and the second distance value is smaller than a difference threshold value;
and when the absolute value of the difference between the first distance value and the second distance value is smaller than the difference threshold value, performing the step of sending the second RSSI mean value and the second distance value to the plurality of second communication devices, respectively.
Optionally, the difference threshold is a difference between a lower threshold of the safety threshold and an upper threshold of the safety threshold.
Optionally, determining the distance value according to the RSSI mean value includes:
the distance value is determined by the following formula:
d=10^((abs(RSSI)-A)/(10*n));
wherein abs (RSSI) is an absolute value of an RSSI mean, a is a signal strength when the first communication device and the second communication device are separated by a preset distance, and n is an environmental attenuation factor.
According to a second aspect of the embodiments of the present invention, there is provided a power adjustment method applied to a second communication device, the method including:
receiving an RSSI mean value and a distance value from a first communication device;
and adjusting power according to the RSSI mean value and the distance value.
Optionally, the RSSI mean value is a first RSSI mean value determined by the first communication device from a first set of RSSI values obtained from a plurality of second communication devices, and the distance value is determined by the first communication device from the first RSSI mean value;
or
The RSSI mean value is a second RSSI mean value determined by the first communication device according to a second set of RSSI values excluding a maximum RSSI value and a minimum RSSI value from the first set of RSSI values, and the distance value is determined by the first communication device according to the second RSSI mean value.
Optionally, the adjusting power according to the RSSI mean value and the distance value includes:
judging whether the distance value is larger than a packet loss critical value or not;
when the distance value is larger than a packet loss critical value, judging whether the current power is the maximum power;
and when the current power is not the maximum power, adjusting the power according to the RSSI mean value.
Optionally, the method further comprises:
when the distance value is not larger than the packet loss critical value, judging whether the distance value is larger than an upper critical value of a safety threshold value;
and when the distance value is larger than the upper critical value of the safety threshold, adjusting the power according to the RSSI mean value.
Optionally, the method further comprises:
when the distance value is not larger than the upper critical value of the safety threshold, judging whether the current power is the minimum power;
and when the current power is not the minimum power, adjusting the power according to the RSSI mean value.
Optionally, the adjusting power according to the RSSI mean value includes:
determining the power of the second communication device by:
X=10*log10 P;
wherein X is the value of the RSSI mean value; p is the power of the second communication device.
According to a third aspect of embodiments of the present invention, there is provided a first communication device including: a first transceiver and a first processor;
the first transceiver is used for acquiring a first group of Received Signal Strength Indicator (RSSI) values from a plurality of second communication devices within a preset time interval;
the first processor is configured to determine a first RSSI mean value according to the first set of RSSI values;
the first processor is further configured to determine a first distance value according to the first RSSI mean value;
the first transceiver is further configured to send the first RSSI mean value and the first distance value to the plurality of second communication devices, respectively, when the first distance value is not greater than a packet loss critical value.
Optionally, the first processor is further configured to remove a maximum RSSI value and a minimum RSSI value from the first set of RSSI values to obtain a second set of RSSI values when the first distance value is greater than the packet loss critical value;
the first processor is further configured to determine a second RSSI mean value from the second set of RSSI values;
the first processor is further configured to determine a second distance value according to the second RSSI mean value;
the first transceiver is further configured to send the second RSSI mean value and the second distance value to the plurality of second communication devices, respectively, when the second distance value is not greater than a packet loss critical value.
Optionally, the first processor is further configured to determine whether an absolute value of a difference between the first distance value and the second distance value is smaller than a difference threshold value;
the first transceiver is further configured to send the second RSSI mean value and the second distance value to the plurality of second communication devices, respectively, when an absolute value of a difference between the first distance value and the second distance value is smaller than the difference threshold value.
Optionally, the difference threshold is a difference between a lower threshold of the safety threshold and an upper threshold of the safety threshold.
Optionally, the first processor is further configured to determine the distance value by the following formula:
d=10^((abs(RSSI)-A)/(10*n));
wherein abs (RSSI) is an absolute value of an RSSI mean, a is a signal strength when the first communication device and the second communication device are separated by a preset distance, and n is an environmental attenuation factor.
According to a fourth aspect of the embodiments of the present invention, there is provided a second communication apparatus including: a second transceiver and a second processor;
the second transceiver is used for receiving the RSSI mean value and the distance value from the first communication equipment;
and the second processor is used for adjusting power according to the RSSI mean value and the distance value.
Optionally, the RSSI mean value is a first RSSI mean value determined by the first communication device from a first set of RSSI values obtained from a plurality of second communication devices, and the distance value is determined by the first communication device from the first RSSI mean value;
or
The RSSI mean value is a second RSSI mean value determined by the first communication device according to a second set of RSSI values excluding a maximum RSSI value and a minimum RSSI value from the first set of RSSI values, and the distance value is determined by the first communication device according to the second RSSI mean value.
Optionally, the second processor is further configured to determine whether the distance value is greater than a packet loss critical value;
the second processor is further configured to determine whether the current power is the maximum power when the distance value is greater than a packet loss critical value;
the second processor is further configured to adjust power according to the RSSI mean value when the current power is not the maximum power.
Optionally, the second processor is further configured to determine whether the distance value is greater than an upper threshold of a safety threshold when the distance value is not greater than a packet loss threshold;
the second processor is further configured to adjust power according to the RSSI mean value when the distance value is greater than an upper critical value of a safety threshold.
Optionally, the second processor is further configured to determine whether the current power is the minimum power when the distance value is not greater than an upper critical value of a safety threshold;
the second processor is further configured to adjust power according to the RSSI mean value when the current power is not the minimum power.
Optionally, the second processor is further configured to determine the power of the second communication device by the following formula:
X=10*log10 P;
wherein X is the value of the RSSI mean value; p is the power of the second communication device.
According to a fifth aspect of embodiments of the present invention, there is provided a communication device comprising a processor, a memory, and a program stored on the memory and executable on the processor, the program implementing the steps of the power adjustment method according to the first aspect or the steps of the power adjustment method according to the second aspect when executed by the processor.
According to a sixth aspect of embodiments of the present invention, there is provided a computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the power adjustment method according to the first aspect, or the steps of the power adjustment method according to the second aspect.
In the embodiment of the invention, the first communication equipment determines the distance value according to the RSSI mean value of a plurality of second communication equipment, and sends the RSSI mean value and the distance value to the second communication equipment when the distance value is not greater than the packet loss critical value, and the second communication equipment adjusts the power according to the RSSI mean value and the distance value, so that the equipment can adjust the power per se according to the actual application scene, and the standby time of the equipment is prolonged.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a power adjustment method according to an embodiment of the present invention;
fig. 2 is a second schematic flow chart of a power adjustment method according to an embodiment of the invention;
fig. 3 is a third schematic flow chart of a power adjustment method according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart illustrating a power adjustment method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first communication device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a second communication device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Herein, relational terms such as "first" and "second", and the like, are used solely to distinguish one from another of like names, and do not imply a relationship or order between the names.
The technology described herein is not limited to a 5th-generation (5G) system and a later-evolution communication system, and is not limited to an LTE/LTE evolution (LTE-a) system, and may also be used for various wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems.
The terms "system" and "network" are often used interchangeably. CDMA systems may implement Radio technologies such as CDMA2000, Universal Terrestrial Radio Access (UTRA), and so on. UTRA includes Wideband CDMA (Wideband Code Division Multiple Access, WCDMA) and other CDMA variants. TDMA systems may implement radio technologies such as Global System for Mobile communications (GSM). The OFDMA system can implement radio technologies such as Ultra Mobile Broadband (UMB), evolved-UTRA (E-UTRA)), IEEE 802.11 (Wi-Fi), IEEE 802.16 (WiMAX)), IEEE 802.20, Flash-OFDM, and the like. UTRA and E-UTRA are parts of the Universal Mobile Telecommunications System (UMTS). LTE and higher LTE (e.g., LTE-A) are new UMTS releases that use E-UTRA. UTRA, E-UTRA, UMTS, LTE-A, and GSM are described in documents from an organization named "third Generation Partnership Project" (3 GPP). CDMA2000 and UMB are described in documents from an organization named "third generation partnership project 2" (3GPP 2). The techniques described herein may be used for both the above-mentioned systems and radio technologies, as well as for other systems and radio technologies.
In this embodiment of the present invention, the first communication device and the second communication device may be network side devices (e.g., a next generation base station (gNB) or a Transmission and Reception Point (TRP)) in a 5G (Fifth-generation mobile communication technology) system. The first communication device and the second communication device may also be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like. The embodiment of the present invention does not limit the specific categories of the first communication device and the second communication device.
In some specific embodiments, the first communication device may be referred to as a master device, a mobile master device, and the like, and the second communication device may be referred to as a slave device, a mobile slave device, and the like.
Referring to fig. 1, an embodiment of the present invention provides a power adjustment method, where an execution subject of the method is a first communication device, and the method includes the following specific steps:
step 101: acquiring a first group of RSSI values from a plurality of second communication devices within a preset time interval;
in the embodiment of the present invention, the preset time interval may be pre-stored in the device, or may be set by the user, and the specific value of the preset time interval is not limited in the embodiment of the present invention. Within the preset time interval, the first communication device obtains Received Signal Strength Indication (RSSI) values of a plurality of second communication devices, wherein the RSSI values are a first set of RSSI values.
The RSSI value is an indicator of the signal strength, and is an optional part of the radio transmission layer, which is used to determine the link quality and whether to increase the broadcast transmission strength, the magnitude of which affects the power consumption of the device.
Step 102: determining a first RSSI mean value according to the first group of RSSI values;
in the embodiment of the present invention, the first RSSI mean value is calculated according to the first group of RSSI values, the method for calculating the RSSI mean value may adopt the existing method for calculating the RSSI mean value, and the method for calculating the RSSI mean value in the embodiment of the present invention is not particularly limited.
Step 103: determining a first distance value according to the first RSSI mean value;
in the embodiment of the present invention, the corresponding first distance value is calculated by using the first RSSI mean value, and specifically, the first distance value is determined by using the following formula:
d=10^((abs(RSSI)-A)/(10*n));
wherein abs (RSSI) is an absolute value of an RSSI mean, a is a signal strength when the first communication device and the second communication device are separated by a preset distance, and n is an environmental attenuation factor.
In some specific application scenarios, the RSSI average value is a negative value, and therefore an absolute value of the RSSI average value is required to be obtained during calculation.
The distance between the first communication device and the second communication device is a preset distance, for example: 1 meter, accordingly, in the actual calculation process, a can be generally regarded as a constant;
in some specific application scenarios, the above-mentioned environmental attenuation factor is negligible due to the environment and other non-measurable factors.
Step 104: and when the first distance value is not larger than the packet loss critical value, respectively sending the first RSSI mean value and the first distance value to the plurality of second communication devices.
In the embodiment of the present invention, the packet loss critical value is a preset critical value denoted as ds, and when d is less than or equal to ds, the first RSSI mean value and the first distance value d are respectively sent to each second communication device. Adjusting, by the second communication device, power based on the first RSSI mean value and the first distance value d.
Through the comparison of the first distance value and the packet loss critical value, the situation that signals cannot be sent or received due to the distance is avoided, and the power adjustment is inaccurate.
In the embodiment of the invention, the first communication equipment determines the distance value according to the RSSI mean value of a plurality of second communication equipment, and sends the RSSI mean value and the distance value to the second communication equipment when the distance value is not greater than the packet loss critical value, and the second communication equipment adjusts the power according to the RSSI mean value and the distance value, so that the equipment can adjust the power per se according to the actual application scene, and the standby time of the equipment is prolonged.
Referring to fig. 2, an embodiment of the present invention provides a power adjustment method, where an execution subject of the method is a second communication device, and the method includes the following specific steps:
step 201: receiving an RSSI mean value and a distance value from a first communication device;
step 202: and adjusting the power according to the RSSI mean value and the distance value.
In the embodiment of the present invention, the power of the second communication device is calculated by the RSSI average value, and specifically, the power of the second communication device is determined by the following formula:
X=10*log10 P;
wherein X is the value of the RSSI mean value; p is the power of the second communication device
The RSSI mean value is expressed in units of decibel relative to one milliwatt (dBm), and represents a relative relationship between a certain power and 1mw, and accordingly P is expressed in units of mw.
In the embodiment of the invention, the second communication equipment receives the RSSI mean value and the distance value from the first communication equipment, and adjusts the power according to the RSSI mean value and the distance value, so that the equipment can adjust the power per se according to the actual application scene, and the standby time of the equipment is prolonged.
Referring to fig. 3, an embodiment of the present invention provides a power adjustment method, where an execution subject of the method is a first communication device, and the method includes the following specific steps:
step 301: acquiring a first group of RSSI values from a plurality of second communication devices within a preset time interval;
step 302: determining a first RSSI mean value according to the first group of RSSI values;
step 303: determining a first distance value according to the first RSSI mean value;
the description of step 301 to step 303 can refer to the description of step 101 to step 103 in fig. 1, and is not repeated here.
Step 304: determining whether the first distance value is greater than a packet loss threshold, if so, performing step 305, otherwise, performing step 310;
step 305: removing the maximum value of the RSSI and the minimum value of the RSSI from the first group of RSSI values to obtain a second group of RSSI values;
in the embodiment of the present invention, when the distance value is greater than the packet loss threshold value, the RSSI mean value needs to be determined again. Specifically, the maximum RSSI value and the minimum RSSI value are removed from the first set of RSSI values, and a second RSSI mean value is calculated based on the remaining RSSI values, i.e., the second set of RSSI values. This avoids computational errors caused by removing only one datum, which happens to be a particular value.
Step 306: determining a second RSSI mean value according to the second group of RSSI values;
in the embodiment of the present invention, the method for calculating the second RSSI mean value may adopt an existing method for calculating the RSSI mean value, and the method for calculating the RSSI mean value in the embodiment of the present invention is not particularly limited.
Step 307: determining a second distance value according to the second RSSI mean value;
in the embodiment of the present invention, the calculation manner of the second distance value may refer to the calculation formula of the first distance value, the difference between the two calculation manners is only that the RSSI mean values used are different, and the detailed process is not repeated, wherein the second distance value is denoted as di.
Step 308: judging whether the second distance value is greater than a packet loss critical value, if so, ending the process, otherwise, executing step 309;
in the embodiment of the present invention, the calculated new distance value, i.e., the second distance value, also needs to be compared with the packet loss threshold value.
Step 309: judging whether the absolute value of the difference value between the first distance value and the second distance value is smaller than a difference threshold value, if so, ending the process, otherwise, executing the step 310;
in the embodiment of the present invention, the difference threshold is a difference between a lower threshold of the safety threshold and an upper threshold of the safety threshold, where the upper threshold of the safety threshold and the lower threshold of the safety threshold are preset, the upper threshold of the safety threshold is denoted as dn, the lower threshold of the safety threshold is denoted as dm, and a difference between db and dm-dn.
And when the absolute value of the difference between the first distance value and the second distance value is smaller than the difference threshold value, sending the second RSSI mean value and the second distance value to the second communication equipment.
Step 310: and respectively transmitting the RSSI mean value and the distance value to a plurality of second communication devices.
In the embodiment of the present invention, for the case of sending the first RSSI mean value and the first distance value to the second communication device, or the case of sending the second RSSI mean value and the second distance value to the second communication device, both the RSSI mean value and the corresponding distance value are sent to the second communication device, so in step 310, the first RSSI mean value and the second RSSI mean value are collectively referred to as the RSSI mean value, and the first distance value and the second distance value are collectively referred to as the distance value. Adjusting, by the second communication device, power based on the first RSSI mean value and the first distance value d.
In the embodiment of the invention, when the distance value is greater than the packet loss critical value, the maximum value of the RSSI and the minimum value of the RSSI in the RSSI values are removed, the mean value and the distance value of the RSSI are re-determined, the re-determined mean value and the re-determined distance value of the RSSI are sent to the second communication equipment, and the second communication equipment adjusts the power according to the mean value and the re-determined distance value of the RSSI, so that the equipment can adjust the power per se according to the actual application scene, and the standby time of the equipment is prolonged.
Referring to fig. 4, an embodiment of the present invention provides a power adjustment method, where an execution subject of the method is a second communication device, and the method includes the following specific steps:
step 401: receiving an RSSI mean value and a distance value from a first communication device;
in this embodiment of the present invention, the RSSI mean value may be a first RSSI mean value determined by the first communication device according to a first group of RSSI values obtained from the plurality of second communication devices, and the distance value is accordingly determined by the first communication device according to the first RSSI mean value;
the RSSI mean value may also be a second RSSI mean value determined by the first communication device based on a second set of RSSI values excluding the maximum RSSI value and the minimum RSSI value from the first set of RSSI values, and accordingly the distance value is determined by the first communication device based on the second RSSI mean value.
Step 402: judging whether the distance value is larger than a packet loss critical value, if so, executing a step 403, otherwise, executing a step 404;
in the embodiment of the present invention, after receiving the RSSI mean value and the distance value sent by the first communication device, the second communication device needs to compare the distance value with the packet loss critical value again, so as to avoid that the first communication device sends wrong data under some abnormal conditions, and by adding logic judgment to the second communication device, double confirmation is implemented, so as to ensure that the data error of the first communication device does not affect the second communication device, and thus the flow of the second communication device completes a closed loop state.
Step 403: judging whether the current power is the maximum power, if so, ending the process, otherwise, executing step 406;
in the embodiment of the present invention, for the case that the distance value is greater than the packet loss critical value, if the current power of the second communication device is the maximum power at this time, the adjustment process is directly ended.
Step 404: judging whether the distance value is larger than the upper critical value of the safety threshold value, if so, executing step 406, otherwise, executing step 405;
in the embodiment of the present invention, for the case that the distance value is not greater than the packet loss critical value, it needs to be further determined whether the distance value is greater than the upper critical value of the safety threshold.
Step 405: judging whether the current power is the minimum power, if so, ending the process, otherwise, executing step 406;
in the embodiment of the present invention, in case that the distance value is not greater than the packet loss critical value nor the upper critical value of the safety threshold, if the current power of the second communication device is the minimum power at this time, the adjustment procedure is directly ended.
Step 406: and adjusting the power according to the RSSI mean value.
In the embodiment of the present invention, the power of the second communication device is calculated by the RSSI average value, and specifically, the power of the second communication device is determined by the following formula:
X=10*log10 P;
wherein X is the value of the RSSI mean value; p is the power of the second communication device
The RSSI mean value is expressed in dBm, which represents a relative relationship between a certain power and 1mw, and P is expressed in mw accordingly.
In the embodiment of the invention, the second communication equipment receives the RSSI mean value and the distance value from the first communication equipment, performs logic judgment according to the distance value, and adjusts the power according to the RSSI mean value under the conforming condition, so that the equipment can adjust the power per se according to the actual application scene, and the standby time of the equipment is prolonged.
Referring to fig. 5, an embodiment of the present invention provides a first communication device 500, including: a first transceiver 501 and a first processor 502;
the first transceiver 501 is configured to obtain a first set of RSSI values from a plurality of second communication devices within a preset time interval;
the first processor 502 is configured to determine a first RSSI mean value according to the first set of RSSI values;
the first processor 502 is further configured to determine a first distance value according to the first RSSI mean value;
the first transceiver 501 is further configured to send the first RSSI mean value and the first distance value to the plurality of second communication devices respectively when the first distance value is not greater than a packet loss critical value.
Optionally, the first processor 502 is further configured to remove a maximum RSSI value and a minimum RSSI value from the first set of RSSI values to obtain a second set of RSSI values when the first distance value is greater than the packet loss critical value;
the first processor 502 is further configured to determine a second RSSI mean value according to the second set of RSSI values;
the first processor 502 is further configured to determine a second distance value according to the second RSSI mean value;
the first transceiver 501 is further configured to send the second RSSI mean value and the second distance value to the plurality of second communication devices respectively when the second distance value is not greater than a packet loss critical value.
Optionally, the first processor 502 is further configured to determine whether an absolute value of a difference between the first distance value and the second distance value is smaller than a difference threshold value;
the first transceiver 501 is further configured to send the second RSSI mean value and the second distance value to the plurality of second communication devices respectively when the absolute value of the difference between the first distance value and the second distance value is smaller than the difference threshold value.
Optionally, the difference threshold is a difference between a lower threshold of the safety threshold and an upper threshold of the safety threshold.
Optionally, the first processor 502 is further configured to determine a distance value by the following formula:
d=10^((abs(RSSI)-A)/(10*n));
wherein abs (RSSI) is an absolute value of an RSSI mean, a is a signal strength when the first communication device and the second communication device are separated by a preset distance, and n is an environmental attenuation factor.
In the embodiment of the invention, the first communication equipment determines the distance value according to the RSSI mean value of a plurality of second communication equipment, and sends the RSSI mean value and the distance value to the second communication equipment when the distance value is not greater than the packet loss critical value, and the second communication equipment adjusts the power according to the RSSI mean value and the distance value, so that the equipment can adjust the power per se according to the actual application scene, and the standby time of the equipment is prolonged.
Referring to fig. 6, an embodiment of the present invention provides a second communications device, including: a second transceiver 601 and a second processor 602;
the second transceiver 601, configured to receive the RSSI mean value and the distance value from the first communication device;
the second processor 602 is configured to adjust power according to the RSSI mean value and the distance value.
Optionally, the RSSI mean value is a first RSSI mean value determined by the first communication device from a first set of RSSI values obtained from a plurality of second communication devices, and the distance value is determined by the first communication device from the first RSSI mean value;
or
The RSSI mean value is a second RSSI mean value determined by the first communication device according to a second set of RSSI values excluding a maximum RSSI value and a minimum RSSI value from the first set of RSSI values, and the distance value is determined by the first communication device according to the second RSSI mean value.
Optionally, the second processor 602 is further configured to determine whether the distance value is greater than a packet loss critical value;
the second processor 602 is further configured to determine whether the current power is the maximum power when the distance value is greater than the packet loss critical value;
the second processor 602 is further configured to adjust power according to the RSSI mean value when the current power is not the maximum power.
Optionally, the second processor 602 is further configured to determine whether the distance value is greater than an upper threshold of a safety threshold when the distance value is not greater than a packet loss threshold;
the second processor 602 is further configured to adjust power according to the RSSI mean value when the distance value is greater than an upper threshold of a safety threshold.
Optionally, the second processor 602 is further configured to determine whether the current power is the minimum power when the distance value is not greater than the upper critical value of the safety threshold;
the second processor 602 is further configured to adjust power according to the RSSI mean value when the current power is not the minimum power.
Optionally, the second processor 602 is further configured to determine the power of the second communication device by the following formula:
X=10*log10 P;
wherein X is the value of the RSSI mean value; p is the power of the second communication device.
In the embodiment of the invention, the first communication equipment determines the distance value according to the RSSI mean value of a plurality of second communication equipment, and sends the RSSI mean value and the distance value to the second communication equipment when the distance value is not greater than the packet loss critical value, and the second communication equipment adjusts the power according to the RSSI mean value and the distance value, so that the equipment can adjust the power per se according to the actual application scene, and the standby time of the equipment is prolonged.
Referring to fig. 7, another communication device 700 is provided in an embodiment of the present invention, including: a processor 701, a transceiver 702, a memory 703 and a bus interface.
Among other things, the processor 701 may be responsible for managing the bus architecture and general processing. The memory 703 may store data used by the processor 701 in performing operations.
In this embodiment of the present invention, the communication device 700 may further include: a program stored on the memory 703 and executable on the processor 701, which when executed by the processor 701, performs the steps of the method provided by embodiments of the present invention.
In fig. 7, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 701, and various circuits, represented by memory 703, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further in connection with embodiments of the present invention. The bus interface provides an interface. The transceiver 702 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (24)

1. A power adjustment method applied to a first communication device, the method comprising:
within a preset time interval, obtaining a first group of Received Signal Strength Indication (RSSI) values from a plurality of second communication devices;
determining a first RSSI mean value according to the first group of RSSI values;
determining a first distance value according to the first RSSI mean value;
and when the first distance value is not greater than a packet loss critical value, respectively sending the first RSSI mean value and the first distance value to the plurality of second communication devices.
2. The method of claim 1, further comprising:
when the first distance value is larger than the packet loss critical value, removing the maximum value of the RSSI and the minimum value of the RSSI from the first group of RSSI values to obtain a second group of RSSI values;
determining a second RSSI mean value according to the second group of RSSI values;
determining a second distance value according to the second RSSI mean value;
and when the second distance value is not greater than a packet loss critical value, respectively sending the second RSSI average value and the second distance value to the plurality of second communication devices.
3. The method of claim 2, wherein prior to said transmitting the second RSSI mean values and the second distance values to the plurality of second communication devices, respectively, the method further comprises:
judging whether the absolute value of the difference value between the first distance value and the second distance value is smaller than a difference threshold value;
and when the absolute value of the difference between the first distance value and the second distance value is smaller than the difference threshold value, performing the step of sending the second RSSI mean value and the second distance value to the plurality of second communication devices, respectively.
4. The method of claim 3, wherein the difference threshold is a difference between a lower threshold of the safety threshold and an upper threshold of the safety threshold.
5. The method of claim 1 or 2, wherein determining the distance value from the RSSI mean value comprises:
the distance value is determined by the following formula:
d=10^((abs(RSSI)-A)/(10*n));
wherein abs (RSSI) is an absolute value of an RSSI mean, a is a signal strength when the first communication device and the second communication device are separated by a preset distance, and n is an environmental attenuation factor.
6. A power adjustment method applied to a second communication device, the method comprising:
receiving an RSSI mean value and a distance value from a first communication device;
and adjusting power according to the RSSI mean value and the distance value.
7. The method of claim 6,
the RSSI mean value is a first RSSI mean value determined by the first communication device from a first set of RSSI values obtained from a plurality of second communication devices, the distance value is determined by the first communication device from the first RSSI mean value;
or
The RSSI mean value is a second RSSI mean value determined by the first communication device according to a second set of RSSI values excluding a maximum RSSI value and a minimum RSSI value from the first set of RSSI values, and the distance value is determined by the first communication device according to the second RSSI mean value.
8. The method of claim 6, wherein the adjusting power according to the RSSI mean and distance values comprises:
judging whether the distance value is larger than a packet loss critical value or not;
when the distance value is larger than a packet loss critical value, judging whether the current power is the maximum power;
and when the current power is not the maximum power, adjusting the power according to the RSSI mean value.
9. The method of claim 8, further comprising:
when the distance value is not larger than the packet loss critical value, judging whether the distance value is larger than an upper critical value of a safety threshold value;
and when the distance value is larger than the upper critical value of the safety threshold, adjusting the power according to the RSSI mean value.
10. The method of claim 9, further comprising:
when the distance value is not larger than the upper critical value of the safety threshold, judging whether the current power is the minimum power;
and when the current power is not the minimum power, adjusting the power according to the RSSI mean value.
11. The method of claim 10, wherein the adjusting power according to the RSSI mean value comprises:
determining the power of the second communication device by:
X=10*log10P;
wherein X is the value of the RSSI mean value; p is the power of the second communication device.
12. A first communications device, comprising: a first transceiver and a first processor;
the first transceiver is used for acquiring a first group of Received Signal Strength Indicator (RSSI) values from a plurality of second communication devices within a preset time interval;
the first processor is configured to determine a first RSSI mean value according to the first set of RSSI values;
the first processor is further configured to determine a first distance value according to the first RSSI mean value;
the first transceiver is further configured to send the first RSSI mean value and the first distance value to the plurality of second communication devices, respectively, when the first distance value is not greater than a packet loss critical value.
13. The first communications device of claim 12,
the first processor is further configured to remove a maximum RSSI value and a minimum RSSI value from the first set of RSSI values to obtain a second set of RSSI values when the first distance value is greater than the packet loss critical value;
the first processor is further configured to determine a second RSSI mean value from the second set of RSSI values;
the first processor is further configured to determine a second distance value according to the second RSSI mean value;
the first transceiver is further configured to send the second RSSI mean value and the second distance value to the plurality of second communication devices, respectively, when the second distance value is not greater than a packet loss critical value.
14. The first communications device of claim 13,
the first processor is further configured to determine whether an absolute value of a difference between the first distance value and the second distance value is smaller than a difference threshold value;
the first transceiver is further configured to send the second RSSI mean value and the second distance value to the plurality of second communication devices, respectively, when an absolute value of a difference between the first distance value and the second distance value is smaller than the difference threshold value.
15. The first communications device of claim 14, wherein the difference threshold is a difference between a lower threshold of the security threshold and an upper threshold of the security threshold.
16. The first communication device of claim 12 or 13,
the first processor is further configured to determine a distance value by:
d=10^((abs(RSSI)-A)/(10*n));
wherein abs (RSSI) is an absolute value of an RSSI mean, a is a signal strength when the first communication device and the second communication device are separated by a preset distance, and n is an environmental attenuation factor.
17. A second communications device, comprising: a second transceiver and a second processor;
the second transceiver is used for receiving the RSSI mean value and the distance value from the first communication equipment;
and the second processor is used for adjusting power according to the RSSI mean value and the distance value.
18. The second communication device of claim 17,
the RSSI mean value is a first RSSI mean value determined by the first communication device from a first set of RSSI values obtained from a plurality of second communication devices, the distance value is determined by the first communication device from the first RSSI mean value;
or
The RSSI mean value is a second RSSI mean value determined by the first communication device according to a second set of RSSI values excluding a maximum RSSI value and a minimum RSSI value from the first set of RSSI values, and the distance value is determined by the first communication device according to the second RSSI mean value.
19. The second communication device of claim 17,
the second processor is further configured to determine whether the distance value is greater than a packet loss critical value;
the second processor is further configured to determine whether the current power is the maximum power when the distance value is greater than a packet loss critical value;
the second processor is further configured to adjust power according to the RSSI mean value when the current power is not the maximum power.
20. The second communication device of claim 19,
the second processor is further configured to determine whether the distance value is greater than an upper critical value of a safety threshold when the distance value is not greater than a packet loss critical value;
the second processor is further configured to adjust power according to the RSSI mean value when the distance value is greater than an upper critical value of a safety threshold.
21. The second communication device of claim 20,
the second processor is further configured to determine whether the current power is the minimum power when the distance value is not greater than the upper critical value of the safety threshold;
the second processor is further configured to adjust power according to the RSSI mean value when the current power is not the minimum power.
22. The second communication device of claim 21,
the second processor is further configured to determine a power of the second communication device by:
X=10*log10P;
wherein X is the value of the RSSI mean value; p is the power of the second communication device.
23. A communication device comprising a processor, a memory, and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the power regulation method of any one of claims 1 to 5 or the steps of the power regulation method of any one of claims 6 to 11.
24. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the power regulation method according to one of claims 1 to 5 or the steps of the power regulation method according to one of claims 6 to 11.
CN201910875262.5A 2019-09-17 2019-09-17 Power adjusting method and device Pending CN112533273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910875262.5A CN112533273A (en) 2019-09-17 2019-09-17 Power adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910875262.5A CN112533273A (en) 2019-09-17 2019-09-17 Power adjusting method and device

Publications (1)

Publication Number Publication Date
CN112533273A true CN112533273A (en) 2021-03-19

Family

ID=74974505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910875262.5A Pending CN112533273A (en) 2019-09-17 2019-09-17 Power adjusting method and device

Country Status (1)

Country Link
CN (1) CN112533273A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154179A (en) * 2008-12-25 2010-07-08 Yokogawa Electric Corp Wireless communication device
US20140307600A1 (en) * 2013-04-15 2014-10-16 Nokia Corporation Method, apparatus, and computer program product for reducing power consumption for wireless communications
CN105873201A (en) * 2016-06-12 2016-08-17 浙江大学 Power regulating method based on RSSI (received signal strength indicator)
CN107221052A (en) * 2017-05-16 2017-09-29 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN109151710A (en) * 2018-08-16 2019-01-04 Oppo(重庆)智能科技有限公司 A kind of communication means, the network equipment and computer readable storage medium
CN109302738A (en) * 2017-07-25 2019-02-01 杭州海康威视数字技术股份有限公司 A kind of methods, devices and systems adjusting wireless signal transmission power
CN109361530A (en) * 2018-08-22 2019-02-19 武汉慧联无限科技有限公司 The Network Quality Analysis model implementation method of remote low power consumption wireless network system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154179A (en) * 2008-12-25 2010-07-08 Yokogawa Electric Corp Wireless communication device
US20140307600A1 (en) * 2013-04-15 2014-10-16 Nokia Corporation Method, apparatus, and computer program product for reducing power consumption for wireless communications
CN105873201A (en) * 2016-06-12 2016-08-17 浙江大学 Power regulating method based on RSSI (received signal strength indicator)
CN107221052A (en) * 2017-05-16 2017-09-29 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN109302738A (en) * 2017-07-25 2019-02-01 杭州海康威视数字技术股份有限公司 A kind of methods, devices and systems adjusting wireless signal transmission power
CN109151710A (en) * 2018-08-16 2019-01-04 Oppo(重庆)智能科技有限公司 A kind of communication means, the network equipment and computer readable storage medium
CN109361530A (en) * 2018-08-22 2019-02-19 武汉慧联无限科技有限公司 The Network Quality Analysis model implementation method of remote low power consumption wireless network system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱永光: "面向可穿截式设备的蓝牙功率调节技术", 《浙江大学硕士毕业论文》 *

Similar Documents

Publication Publication Date Title
US9179417B2 (en) Method, apparatus, and terminal for wireless network connection
CN111818564B (en) Measurement method, measurement indication method and equipment
CN109121196B (en) Terminal transmitting power control method and device based on NB-IoT system
CN113141659B (en) Method and device for beam management
CN113170466A (en) Method and apparatus for determining transmit power
CN113329458B (en) Method, device and equipment for controlling cell residence and computer storage medium
CN112235853A (en) Automatic gain control method, device, terminal and storage medium
CN112771932A (en) Wireless communication method and terminal equipment
JP5089754B2 (en) Mobile communication system, base station, and transmission power control method
EP3852421A1 (en) Method, device and equipment for configuring rs set, and storage medium
CN113315728A (en) Frequency offset estimation method, terminal equipment, medium and chip system
WO2022042535A1 (en) Resource selection method and apparatus, and electronic device
EP3494728A1 (en) Determining handover parameters
CN111263430B (en) SRS power control method and device
CN107534853A (en) A kind of method and apparatus for starting relay function
CN112533273A (en) Power adjusting method and device
WO2020029970A1 (en) Interference processing method, apparatus and system
KR102256449B1 (en) Signal transmission method, terminal device, and network device
CN112655250A (en) Wireless communication method, terminal equipment and network equipment
CN113453329B (en) Interference processing method and node equipment
CN109997318B (en) System and method for uplink precoding in a communication system
CN108811167B (en) Apparatus and method for processing channel access procedure
CN114765902A (en) Information processing method and device and readable storage medium
CN109802734B (en) Method and device for transmitting channel quality information
CN114531693A (en) Transmission parameter management method and device and electronic equipment

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