CN113490265B - Transmitting power control device and method, terminal equipment and electronic equipment - Google Patents
Transmitting power control device and method, terminal equipment and electronic equipment Download PDFInfo
- Publication number
- CN113490265B CN113490265B CN202110731748.9A CN202110731748A CN113490265B CN 113490265 B CN113490265 B CN 113490265B CN 202110731748 A CN202110731748 A CN 202110731748A CN 113490265 B CN113490265 B CN 113490265B
- Authority
- CN
- China
- Prior art keywords
- gateway equipment
- transmitting power
- rssi
- gateway
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000006854 communication Effects 0.000 claims abstract description 66
- 238000004891 communication Methods 0.000 claims abstract description 65
- 238000012360 testing method Methods 0.000 claims abstract description 36
- 230000005540 biological transmission Effects 0.000 claims description 124
- 230000001960 triggered effect Effects 0.000 claims description 12
- 230000001965 increasing effect Effects 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000002035 prolonged effect Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/06—TPC algorithms
- H04W52/14—Separate analysis of uplink or downlink
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/24—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
- H04W52/245—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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 disclosure relates to a transmitting power control device and method, a terminal device and an electronic device. The transmitting power control method is applied to terminal equipment; comprising the following steps: sequentially sending test data to gateway equipment by using a plurality of different candidate transmitting powers to trigger the gateway equipment to sequentially return signal strength indication RSSIs corresponding to the plurality of different candidate transmitting powers respectively; determining the minimum candidate transmitting power capable of continuously triggering the gateway equipment to return the RSSI as a target transmitting power; and sending service data to the gateway equipment at the target transmitting power. The transmitting power control method can reduce the wireless communication power consumption and improve the endurance of the terminal equipment.
Description
Technical Field
The disclosure relates to the technical field of communication, and in particular relates to a transmitting power control device, a transmitting power control method, terminal equipment and electronic equipment.
Background
With the continuous development of technology, the variety and types of terminal devices that can be provided for users are also increasing, for example: EPD (Electrophoretic Display ) terminals, smartphones, tablet computers, etc. Many terminal devices are capable of accessing a gateway device, such as an access AP (Wireless Access Point ), to enable wireless communications.
However, in some terminal devices, the power consumption consumed by the wireless communication protocol employed for data transmission occupies even more than 50% of the total power consumption. Meanwhile, some terminal devices need to meet the characteristic of light weight, and the battery capacity of the terminal devices is generally limited, which further causes that the devices cannot work for a long time.
Thus, existing terminal device wireless communication technologies remain to be optimized in terms of power consumption.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure aims to provide a transmitting power control device, a transmitting power control method, a terminal device and an electronic device, which can reduce wireless communication power consumption and improve the endurance of the terminal device.
According to an aspect of the present disclosure, there is provided a transmission power control method applied to a terminal device, including:
sequentially sending test data to gateway equipment by using a plurality of different candidate transmitting powers to trigger the gateway equipment to sequentially return signal strength indications RSSI (Received Signal Strength Indication) corresponding to the plurality of different candidate transmitting powers respectively;
Determining the minimum candidate transmitting power capable of continuously triggering the gateway equipment to return the RSSI as a target transmitting power;
and sending service data to the gateway equipment at the target transmitting power.
In one exemplary embodiment of the present disclosure, the plurality of different candidate transmit powers includes a plurality of transmit powers that decrease in sequence; the method comprises the following steps:
sequentially sending the test data to the gateway equipment under each candidate transmitting power according to the smoothness from high to low;
taking the ith candidate transmission power as a target transmission power; the gateway equipment can be continuously triggered to return to the RSSI under the ith candidate transmitting power, and the gateway equipment cannot be continuously triggered to return to the RSSI under the (i+1) th candidate transmitting power; i is a positive integer.
In one exemplary embodiment of the present disclosure, the plurality of different candidate transmit powers includes a plurality of transmit powers that are sequentially increased; the method comprises the following steps:
sequentially sending the test data to the gateway equipment under each candidate transmitting power according to the smoothness from low to high;
taking the ith candidate transmission power as a target transmission power; the gateway equipment can be continuously triggered to return to the RSSI under the ith candidate transmitting power, and the gateway equipment cannot be continuously triggered to return to the RSSI under the ith-1 candidate transmitting power; i is a positive integer.
In an exemplary embodiment of the present disclosure, the continuously triggering the gateway device to return the RSSI is specifically:
triggering the gateway equipment to return to the RSSI for N times continuously; wherein N is an integer greater than 2.
In an exemplary embodiment of the present disclosure, the method further comprises:
determining a fluctuation interval according to the RSSI returned by the gateway equipment under the target transmitting power;
monitoring whether RSSI returned by the gateway equipment exceeds the fluctuation interval or not when sending service data to the gateway equipment at the target transmitting power;
and if the RSSI returned by the gateway device is monitored to be beyond the fluctuation interval, the target transmitting power is re-determined.
In an exemplary embodiment of the present disclosure, the method further comprises:
determining a fluctuation interval according to the RSSI returned by the gateway equipment under the target transmitting power;
when sending service data to the gateway equipment at the target transmitting power, monitoring whether the time length of the RSSI returned by the gateway equipment exceeding the fluctuation interval reaches a first time threshold;
and if the time length that the RSSI returned by the gateway device exceeds the fluctuation interval reaches the first time threshold, the target transmitting power is determined again.
In an exemplary embodiment of the present disclosure, the method further comprises:
and when the service data is sent to the gateway equipment at the target transmitting power, if the RSSI returned by the gateway equipment is not received within a second time threshold range, establishing communication connection with the gateway equipment at the maximum transmitting power.
In an exemplary embodiment of the present disclosure, the method further comprises:
and after the communication connection is established with the gateway equipment at the maximum transmission power, the target transmission power is redetermined.
In an exemplary embodiment of the present disclosure, the method further comprises:
if the RSSI returned by the gateway equipment is not received in the second time threshold range, saving the unsent business data in the second time threshold range;
and after the communication connection is established between the maximum transmitting power and the gateway equipment, transmitting the current service data to be transmitted and the stored non-transmitted service data to the gateway equipment.
According to an aspect of the present disclosure, there is provided a transmission power control apparatus applied to a terminal device, including:
the test data transmitting module is used for sequentially transmitting test data to the gateway equipment at a plurality of different candidate transmitting powers so as to trigger the gateway equipment to sequentially return signal strength indication RSSIs corresponding to the plurality of different candidate transmitting powers respectively;
The target transmitting power determining module is used for determining the minimum candidate transmitting power capable of continuously triggering the gateway equipment to return the RSSI as the target transmitting power;
and the service data transmission module is used for transmitting service data to the gateway equipment at the target transmitting power.
According to an aspect of the present disclosure, there is provided a terminal device including a transmission power control apparatus according to any one of the above.
According to one aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing one or more programs that, when executed by the processor, cause the processor to implement a method as described in any of the preceding claims.
As can be seen from the above, in the transmission power control method in the exemplary embodiment of the present disclosure, first, test data is sent to a gateway device with a plurality of different candidate transmission powers, so as to trigger the gateway device to sequentially return signal strength indication RSSI corresponding to the plurality of different candidate transmission powers, respectively; then, determining the minimum candidate transmitting power capable of continuously triggering the gateway equipment to return the RSSI as a target transmitting power; and further, transmitting service data to the gateway equipment at the target transmitting power. On the one hand, since the terminal device can continuously trigger the gateway device to return to the RSSI at the target transmission power, that is, the terminal device and the gateway device can establish a relatively stable communication connection, the communication quality of the terminal device and the gateway device can be not affected or only slightly affected. On the other hand, the terminal equipment can dynamically adjust the transmitting power when communicating with the gateway equipment according to a specific application environment, so that the problem of overlarge useless power consumption caused by adopting fixed transmitting power to communicate with the gateway equipment in the related technology can be avoided, the waste of electric energy can be further reduced, the cruising ability of the terminal equipment is effectively improved, and the product life of the terminal equipment is effectively prolonged.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 shows a schematic diagram of an architecture of a communication system in an embodiment of the disclosure.
Fig. 2 shows a schematic flow chart of a method for controlling transmission power in an embodiment of the disclosure.
Fig. 3 is a schematic flow chart of determining target transmit power in an embodiment of the disclosure.
Fig. 4 is a schematic flow chart of determining a target transmit power in an embodiment of the disclosure.
Fig. 5 shows a schematic flow chart of a method for controlling transmission power in an embodiment of the disclosure.
Fig. 6 shows a schematic flow chart of a method for controlling transmission power in an embodiment of the disclosure.
Fig. 7A to 7D are schematic diagrams illustrating RSSI received by a terminal device in an embodiment of the disclosure.
Fig. 8 shows a schematic flow chart of a method for controlling transmission power in an embodiment of the disclosure.
Fig. 9 shows a schematic diagram of an architecture of a communication system in an embodiment of the disclosure.
Fig. 10 shows a block diagram of a transmit power control apparatus in an embodiment of the disclosure.
Fig. 11 shows a schematic structural diagram of a computer system for implementing an electronic device of an embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus detailed descriptions thereof will be omitted.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
In the present disclosure, the terms "comprising," "including," "having," "disposed in" and "having" are intended to be open-ended and mean that there may be additional elements/components/etc. in addition to the listed elements/components/etc.
The signal strength of the gateway device received by the terminal device may be affected by various environmental factors. For example, when a user accesses the terminal device to the gateway device, the position of the terminal device may move along with the movement of the user position, and when the terminal device is closer to the gateway device, the signal received by the gateway device by the terminal device is stronger; when the terminal device is far away from the gateway device, the signal received by the gateway device by the terminal device is weak. For another example, when no obstacle exists between the terminal device and the gateway device, the signal received by the gateway device by the terminal device is stronger; when an obstacle exists between the terminal equipment and the gateway equipment, the signal received by the gateway equipment by the terminal equipment is weak, and the like.
However, in the prior art, a single transmitting power is adopted between many terminal devices and gateway devices for wireless communication; that is, the wireless communication module in the terminal device operates with a fixed transmission power, regardless of whether the terminal device is a gateway device with a weak access signal or a gateway device with a strong access signal. For example, in order to ensure the quality of data transmitted between the terminal device and the gateway device as much as possible when the terminal device accesses the gateway device with a weaker signal, the terminal device generally works by fixing the transmission power of its own wireless communication module at a maximum value.
However, when the gateway device signal accessed by the terminal device is stronger, the transmitting power of the wireless communication module of the terminal device is still fixed at the maximum value to work, which tends to increase the power consumption of the terminal device additionally, and the battery capacity of many terminal devices is limited, if the terminal device is accessed to the gateway device with the maximum transmitting power all the time, the battery power consumption is too fast, thereby seriously affecting the endurance capability of the terminal device and even the product life.
Based on the foregoing, a transmission power control method is first provided in the present exemplary embodiment. Referring to fig. 1, the transmission power control method can be applied to terminal devices 101 having wireless communication modules, such as EPD terminals, smartphones, tablet computers, etc., and these terminal devices 101 can establish communication connection with gateway device 102 through the wireless communication modules. As shown in fig. 2, the transmission power control method may include the following steps S210 to S230. Wherein:
in step S210, test data is sequentially sent to the gateway device with a plurality of different candidate transmission powers, so as to trigger the gateway device to sequentially return signal strength indication RSSI corresponding to the plurality of different candidate transmission powers, respectively.
In step S220, the minimum candidate transmission power capable of continuously triggering the gateway device to return the RSSI is determined as the target transmission power.
In step S230, service data is sent to the gateway device at the target transmit power.
In the transmission power control method in the exemplary embodiment of the present disclosure, on one hand, since the terminal device can continuously trigger the gateway device to return to the RSSI at the target transmission power, that is, the terminal device and the gateway device can establish a relatively stable communication connection, the communication quality of the terminal device and the gateway device may not be affected or only be affected slightly. On the other hand, the terminal equipment can dynamically adjust the transmitting power when communicating with the gateway equipment according to a specific application environment, so that the problem of overlarge useless power consumption caused by adopting fixed transmitting power to communicate with the gateway equipment in the related technology can be avoided, the waste of electric energy can be further reduced, the cruising ability of the terminal equipment is effectively improved, and the product life of the terminal equipment is effectively prolonged.
The following describes the transmission power control method according to the embodiment of the present disclosure in more detail.
In step S210, test data is sequentially sent to the gateway device with a plurality of different candidate transmission powers, so as to trigger the gateway device to sequentially return signal strength indication RSSI corresponding to the plurality of different candidate transmission powers, respectively.
In this example embodiment, according to the difference of the wireless communication modules of the terminal device and the difference of the gateway device, the communication manner between the terminal device and the gateway device may be, for example, bluetooth wireless communication, long Range Radio (Long Range Radio) wireless communication, zigBee wireless communication, 433MHz band wireless communication, wiFi wireless communication, or the like.
In this example embodiment, the terminal device may first send a learning request to the gateway device using the maximum transmission power; after receiving the learning request of the terminal equipment, the gateway equipment enters a learning mode and returns a learning approval instruction to the terminal equipment.
After receiving the learning agreement instruction returned by the gateway device, the terminal device may sequentially send test data to the gateway device with a plurality of different candidate transmission powers. For example, in this example embodiment, the plurality of different candidate transmit powers includes a plurality of transmit powers that decrease in sequence; further, the test data may be transmitted to the gateway device at each of the candidate transmission powers in order of the high to low smoothness. Alternatively, the plurality of different candidate transmission powers may include a plurality of transmission powers that rise in sequence; further, the test data may be transmitted to the gateway device at each of the candidate transmission powers in order of the low to high transmission power.
Further, the plurality of candidate transmission powers may be a plurality of transmission powers divided in advance, for example, the plurality of candidate transmission powers are a plurality of transmission powers spaced by 1mW, such as 1mW, 3mW, 5mW, … …, 9mW, and the like; alternatively, the interval between the minimum transmission power and the maximum transmission power is divided into a predetermined number of intervals on average to obtain a plurality of candidate transmission powers, and the like. In other exemplary embodiments of the present disclosure, the plurality of candidate transmission powers may also be a plurality of transmission powers calculated in each process of determining the target transmission power, or may be a plurality of transmission powers determined randomly, or may be a transmission power selected from a plurality of transmission power values according to a preset rule, or the like; this is not particularly limited in the present exemplary embodiment.
In this example embodiment, in the learning mode, the gateway device, after receiving the test data sent by the terminal device, is able to return the current RSSI (Received Signal Strength Indication ) to the terminal device; the RSSI is an index capable of reflecting the signal intensity level of the current received gateway equipment, and the network signal coverage of the current terminal equipment is better when the current RSSI is larger.
In step S220, the minimum candidate transmission power capable of continuously triggering the gateway device to return the RSSI is determined as the target transmission power.
If at a certain transmit power the terminal device is able to receive the RSSI returned by the gateway device, it is stated that at that transmit power the terminal device is able to establish a communication connection with the gateway device. Accordingly, if at a certain transmit power, the terminal device can continuously receive the RSSI returned by the gateway device, it is indicated that at the transmit power, the terminal device can establish a relatively stable communication connection with the gateway device. In this example embodiment, the continuously triggering the gateway device to return the RSSI may be specifically: triggering the gateway equipment to return to the RSSI for N times continuously; wherein N is an integer greater than 2. For example, the terminal device triggers the gateway device to return RSSI 10 consecutive times. Of course, in other exemplary embodiments of the present disclosure, the number of times that the terminal device receives the RSSI returned by the gateway device reaches the preset number of times within the predetermined time; for example, in 1 minute, the RSSI returned by the gateway device is received for more than 10 times, and the terminal device may be considered to be able to continuously trigger the gateway device to return the RSSI; this is also within the scope of the present disclosure.
In an exemplary embodiment, the plurality of different candidate transmission powers may include a plurality of transmission powers that decrease sequentially, and in step S210, the test data is sent to the gateway device at each of the candidate transmission powers sequentially according to the order from high to low. Then the i-th candidate transmit power may be taken as the target transmit power; the gateway equipment can be continuously triggered to return to the RSSI under the ith candidate transmitting power, and the gateway equipment cannot be continuously triggered to return to the RSSI under the (i+1) th candidate transmitting power; i is a positive integer. With such a test sequence, interruption of data transmission can be reduced as much as possible.
For example, referring to fig. 3, the test data is sequentially sent to the gateway device according to candidate transmission power of 9mW, 7mW, 5mW, etc. When the candidate transmitting power is 9mW, the gateway equipment receives the test data and returns the RSSI; after the terminal equipment receives the RSSI, the transmitting power is reduced to 7mW. When the candidate transmitting power is 7mW, the gateway equipment receives the test data and returns the RSSI; after the terminal equipment receives the RSSI, the transmitting power is reduced to 5mW. When the candidate transmitting power is 5mW, the gateway equipment receives the test data and returns the RSSI; after the terminal equipment receives the RSSI, reducing the transmitting power to 3mW; when the candidate transmitting power is 3mW, the gateway equipment cannot receive the test data and does not return RSSI; and if the terminal equipment does not receive the RSSI, the transmitting power is increased to 5mW. When the candidate transmitting power is reset to 5mW, the terminal equipment continuously transmits the test data to the gateway equipment for 10 times, and if the terminal equipment can continuously receive the RSSI returned by the gateway equipment for 10 times, the terminal equipment can determine that the target transmitting power is 5mW.
Furthermore, in some embodiments, it is also possible that after the candidate transmission power is reset to 5mW, the terminal device cannot continuously receive the RSSI returned by the gateway device 10 times. In this case, it is possible to continue to increase the transmission power, for example, to 7mW, and detect whether the terminal device can continuously receive the RSSI returned by the gateway device 10 times when the candidate transmission power is reset to 7mW, or the like.
In another exemplary embodiment, the plurality of different candidate transmission powers may include a plurality of transmission powers that rise sequentially, and the test data is transmitted to the gateway device at each of the candidate transmission powers sequentially in the step S210. Then the i-th candidate transmit power may be taken as the target transmit power; the gateway equipment can be continuously triggered to return to the RSSI under the ith candidate transmitting power, and the gateway equipment cannot be continuously triggered to return to the RSSI under the ith-1 candidate transmitting power; i is a positive integer. By such a test sequence, the power consumption in the process of determining the target transmission power can be reduced as much as possible.
For example, referring to fig. 4, the test data is sequentially sent to the gateway device according to candidate transmission power of 1mW, 3mW, 5mW, etc. When the candidate transmitting power is 1mW, the gateway equipment cannot receive the test data and does not return RSSI; and if the terminal equipment does not receive the RSSI, the transmitting power is increased to 3mW. When the candidate transmitting power is 3mW, the gateway equipment cannot receive the test data and does not return RSSI; and if the terminal equipment does not receive the RSSI, the transmitting power is increased to 5mW. When the candidate transmitting power is 5mW, the gateway equipment receives the test data and returns the RSSI; after the terminal equipment receives the RSSI, the terminal equipment continues to send test data to the gateway equipment, and if the terminal equipment can continuously receive the RSSI returned by the gateway equipment for 10 times, the terminal equipment can determine that the target transmitting power is 5mW.
Furthermore, in some embodiments, it is also possible that after the candidate transmission power is reset to 5mW, the terminal device cannot continuously receive the RSSI returned by the gateway device 10 times. In this case, it is possible to continue to increase the transmission power, for example, to 7mW, and detect whether the terminal device can continuously receive the RSSI returned by the gateway device 10 times when the candidate transmission power is set to 7mW, or the like.
After determining the target transmit power, a learn end instruction may be sent to the gateway device and the RSSI currently returned by the gateway device is recorded. After receiving the learning end instruction, the gateway device exits the learning mode.
In step S230, service data is sent to the gateway device at the target transmission power. For example, after determining that the target transmission power is 5mW, the wireless communication module of the terminal device may adjust the transmission power to 5mW, and send service data to the gateway device with the transmission power of 5 mW.
Referring to fig. 5, in the present exemplary embodiment, in order to adapt to a change in a communication environment during a subsequent wireless communication, the above-described transmission power control method may further include the following steps S510 to S530. Wherein:
In step S510, a fluctuation interval is determined according to the RSSI returned by the gateway device at the target transmission power. For example, in the process of determining the target transmission power, when the candidate transmission power is 5mW, the RSSI returned by the gateway device received by the terminal device is respectively: -27.5dBm, -28.0dBm, -26.5dBm, -27.0dBm, -28.5dBm, -27.0dBm, -26.0dBm, -27.0dBm, -27.5dBm, the fluctuation interval can be set to [ -28.0dBm, -26.0dBm ]. In addition, a buffer zone can be arranged in the fluctuation interval, so that erroneous judgment is reduced; for example, a buffer of 1.0dBm may be provided for the fluctuation interval, and the adjusted fluctuation interval may be [ -29.0dBm, -25.0dBm ]. Of course, in other exemplary embodiments of the present disclosure, the fluctuation interval may be determined or adjusted in other manners, which is not particularly limited in the present exemplary embodiment.
In step S520, when sending service data to the gateway device at the target transmission power, it is monitored whether the RSSI returned by the gateway device exceeds the fluctuation interval. For example, if the gateway device is monitored to return RSSI at-22.0 dBm, it can be confirmed that it is beyond the fluctuation interval [ -29.0dBm, -25.0dBm ].
In step S530, if it is monitored that the RSSI returned by the gateway device exceeds the fluctuation interval, the target transmission power is re-determined. Specifically, if the RSSI returned by the gateway device is lower than the lower limit value of the fluctuation interval, the signal indicating the current wireless communication is weak, which may cause erroneous packet generation; if the RSSI returned by the gateway equipment is higher than the upper limit value of the fluctuation interval, the signal of the current wireless communication is too strong, and the power consumption is possibly increased; therefore, the target transmit power needs to be re-determined. For example, if the RSSI returned by the gateway device is monitored to be-22.0 dBm, the target transmit power may be re-determined according to steps S210 to S220 described above.
Referring to fig. 6, in another example embodiment, a communication environment is changed in order to adapt to a subsequent wireless communication process; meanwhile, erroneous judgment and time cost and power consumption caused by redetermining the target transmission power are reduced as much as possible, and the transmission power control method may further include the following steps S610 to S630. Wherein:
in step S610, a fluctuation interval is determined according to the RSSI returned by the gateway device at the target transmission power. For example, in the process of determining the target transmission power, when the candidate transmission power is 5mW, the RSSI returned by the gateway device received by the terminal device is respectively: -27.5dBm, -28.0dBm, -26.5dBm, -27.0dBm, -28.5dBm, -27.0dBm, -26.0dBm, -27.0dBm, -27.5dBm, the fluctuation interval can be set to [ -28.0dBm, -26.0dBm ]. In addition, a buffer zone can be arranged in the fluctuation interval, so that erroneous judgment is reduced; for example, a buffer of 1.0dBm may be provided for the fluctuation interval, and the adjusted fluctuation interval may be [ -29.0dBm, -25.0dBm ]. Of course, in other exemplary embodiments of the present disclosure, the fluctuation interval may be determined or adjusted in other manners, which is not particularly limited in the present exemplary embodiment.
In step S620, when sending service data to the gateway device at the target transmission power, it is monitored whether the duration that the RSSI returned by the gateway device exceeds the fluctuation interval reaches a first time threshold. In this example embodiment, the first time threshold may be a preset fixed duration, or may be a dynamically changing duration; for example, the first time threshold may be inversely related to the extent to which the RSSI returned by the gateway device exceeds the fluctuation interval, or the like. For example, assume that the first time threshold is 2 seconds; if the gateway device is monitored to return an RSSI of-22.0 dBm but only for 1.90 seconds, it can be confirmed whether its duration beyond the fluctuation interval reaches a first time threshold. If the gateway device is monitored to return an RSSI of-24.0 dBm for 2.20 seconds, it can be confirmed that it exceeds the fluctuation interval and the duration reaches the first time threshold.
In step S630, if it is monitored that the duration that the RSSI returned by the gateway device exceeds the fluctuation interval reaches the first time threshold, the target transmission power is redetermined. Specifically, if the RSSI returned by the gateway device is lower than the lower limit value of the fluctuation interval and reaches a first time threshold, it indicates that the signal of the current wireless communication is weak, which may cause generation of a false packet; if the RSSI returned by the gateway equipment is higher than the first time threshold of the upper limit value of the fluctuation interval, the signal of the current wireless communication is too strong, and the power consumption is possibly increased; therefore, the target transmit power needs to be re-determined.
For example, if the RSSI returned by the gateway device is monitored to be-22.0 dBm, the target transmit power may be re-determined according to steps S210 to S220 described above. For example, if the gateway device is monitored to return an RSSI of-24.0 dBm for 2.20 seconds, the target transmit power may be re-determined according to steps S210 to S220 described above.
In this exemplary embodiment, the first time threshold is Δt, and the lower limit value and the upper limit value of the fluctuation interval are P1 and P2, respectively. Referring to fig. 7A, when it is monitored that the RSSI PX returned by the gateway device fluctuates, but still lies within the fluctuation range and the duration is less than the first time threshold Δt, there is no need to re-determine the target transmission power. Referring to fig. 7B, when it is monitored that the RSSI PX returned by the gateway device fluctuates and the duration is greater than the first time threshold Δt, but still within the fluctuation interval, there is no need to re-determine the target transmission power. Referring to fig. 7C, when it is monitored that the RSSI PX returned by the gateway device fluctuates and exceeds the fluctuation interval, but the duration is less than the first time threshold Δt, there is no need to re-determine the target transmission power. Referring to fig. 7D, when it is monitored that the RSSI PX returned by the gateway device fluctuates and exceeds the fluctuation interval, and the duration reaches the first time threshold Δt, the target transmit power needs to be redetermined; for example, after the target transmission power is newly determined, the lower limit value and the upper limit value of the corresponding new fluctuation section are P3 and P4, etc. shown in the figure, respectively. Therefore, by the above-described steps S610 to S630, erroneous determination and time cost and power consumption caused by re-determining the target transmission power can be reduced as much as possible.
Referring to fig. 8, in the present exemplary embodiment, in order to quickly restore the communication connection after the interruption of the wireless communication, the above-described transmission power control method may further include the following step S810. Wherein:
in step S810, when sending service data to the gateway device at the target transmission power, if the RSSI returned by the gateway device is not received within the second time threshold range, a communication connection is established with the gateway device at the maximum transmission power.
For example, in this exemplary embodiment, if the RSSI returned by the gateway device is not received after the terminal device sends any service data, a timer may be started to start timing; if the RSSI returned by the gateway equipment is received before the timer reaches the second time threshold, the timer is cleared, otherwise, the timer counts up; if the RSSI returned by the gateway device is not yet received when the timer reaches the second time threshold, the communication connection between the terminal device and the gateway device may be considered to have been broken. In order to quickly restore the communication connection, in this exemplary embodiment, a communication connection may be established with the gateway device at a maximum transmit power. The second time threshold may be determined based on historical data, and may be, for example, 5 seconds, 10 seconds, or the like.
After the communication connection is established with the gateway device at the maximum transmission power, the target transmission power may be re-determined according to the above steps S210 to S220, and wireless communication may be performed according to the re-determined target transmission power.
Referring to fig. 9, the terminal device D is far from the gateway device, and thus the originally determined target transmission power D cannot ensure stable communication between the terminal device D and the gateway device; therefore, the communication connection between the terminal device D and the gateway device can be quickly restored through the above-described step S810, and the new target transmission power E is redetermined.
With continued reference to fig. 8, in this exemplary embodiment, in order to ensure that service data is not continuously lost after the wireless communication is interrupted, the above-described transmission power control method may further include the following step S820. Wherein:
step S820, if the RSSI returned by the gateway device is not received within the second time threshold range, the non-transmitted service data within the second time threshold range is saved. And after the communication connection is established between the maximum transmitting power and the gateway equipment, transmitting the current service data to be transmitted and the stored non-transmitted service data to the gateway equipment.
For example, if the RSSI returned by the gateway device is not received within the second time threshold range, the unsent traffic data, such as traffic data M1 and traffic data M2, within the second time threshold range may be acquired and stored. After the communication connection is established between the maximum transmitting power and the gateway device, the service data M1, the service data M2 and the currently to-be-transmitted service data M3 can be sequentially transmitted to the gateway device according to the time stamp sequence, so that the service data can be ensured not to be lost continuously.
It should be noted that although the steps of the methods in the present disclosure are depicted in the accompanying drawings in a particular order, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
Further, in this example embodiment, a transmission power control apparatus is also provided. The transmitting power control device can be applied to terminal equipment such as an EPD terminal, a smart phone, a tablet computer and the like with wireless communication modules, and the terminal equipment can establish communication connection with gateway equipment through the wireless communication modules. Referring to fig. 10, the transmit power control apparatus 1000 may include a test data transmitting module 1010, a target transmit power determining module 1020, and a traffic data transmitting module 1030. Wherein:
The test data sending module 1010 may be configured to send test data to the gateway device in turn at a plurality of different candidate transmission powers, so as to trigger the gateway device to return signal strength indication RSSI corresponding to the plurality of different candidate transmission powers in turn, respectively.
The target transmit power determination module 1020 may be configured to determine a minimum candidate transmit power capable of continuously triggering the gateway device to return the RSSI as the target transmit power;
the service data transmission module 1030 may be configured to send service data to the gateway device at the target transmit power.
Further, in this exemplary embodiment, there is also provided a terminal device, which may be, for example, an EPD terminal, a smart phone, a tablet computer, a navigator, a notebook computer, a digital photo frame, or other terminal devices having a wireless communication module, and these terminal devices may be capable of establishing a communication connection with a gateway device through the wireless communication module. Meanwhile, the terminal equipment is further provided with the transmitting power control device, so that the cruising ability of the terminal equipment can be effectively improved and the service life of the product of the terminal equipment can be prolonged through the transmitting power control device.
Since specific details of each module or unit in the above-mentioned transmit power control apparatus have been described in detail in the corresponding transmit power control method, a detailed description thereof is omitted herein.
In an exemplary embodiment of the present disclosure, there is also provided an electronic apparatus including: a processor; a memory configured to store processor-executable instructions; wherein the processor is configured to perform the method of any of the present example embodiments.
Fig. 11 shows a schematic structural diagram of a computer system for implementing an electronic device of an embodiment of the present disclosure. It should be noted that, the computer system 1100 of the electronic device shown in fig. 11 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present disclosure.
As shown in fig. 11, the computer system 1100 includes a central processor 1101 that can perform various appropriate actions and processes according to a program stored in a read only memory 1102 or a program loaded from a storage section 1108 into a random access memory 1103. In the random access memory 1103, various programs and data necessary for the system operation are also stored. The central processor 1101, the read only memory 1102 and the random access memory 1103 are connected to each other through a bus 1104. An input/output interface 1105 is also connected to the bus 1104.
The following components are connected to the input/output interface 1105: an input section 1106 including a keyboard, a mouse, and the like; an output portion 1107 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 1108 including a hard disk or the like; and a communication section 1109 including a network interface card such as a Local Area Network (LAN) card, a modem, or the like. The communication section 1109 performs communication processing via a network such as the internet. The drive 1110 is also connected to the input/output interface 1105 as needed. Removable media 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed as needed in drive 1110, so that a computer program read therefrom is installed as needed in storage section 1108.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1109, and/or installed from the removable media 1111. The computer program, when executed by the central processor 1101, performs the various functions defined in the apparatus of the present application.
In an exemplary embodiment of the present disclosure, there is also provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a computer, performs the method of any of the above.
The non-volatile computer readable storage medium shown in the present disclosure may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, radio frequency, and the like, or any suitable combination of the foregoing.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims (11)
1. A transmitting power control method is applied to terminal equipment; characterized by comprising the following steps:
after determining that the gateway equipment enters a learning mode, sequentially sending test data to the gateway equipment with a plurality of different candidate transmitting powers so as to trigger the gateway equipment to sequentially return signal strength indication RSSIs corresponding to the plurality of different candidate transmitting powers respectively;
determining the minimum candidate transmitting power capable of continuously triggering the gateway equipment to return the RSSI as a target transmitting power;
transmitting service data to the gateway equipment at the target transmitting power;
determining a fluctuation interval according to the RSSI returned by the gateway equipment under the target transmitting power;
Monitoring whether RSSI returned by the gateway equipment exceeds the fluctuation interval or not when sending service data to the gateway equipment at the target transmitting power;
and if the RSSI returned by the gateway device is monitored to be beyond the fluctuation interval, the target transmitting power is re-determined.
2. The transmission power control method according to claim 1, wherein the plurality of different candidate transmission powers includes a plurality of transmission powers that decrease in order; the method comprises the following steps:
sequentially sending the test data to the gateway equipment under each candidate transmitting power according to the smoothness from high to low;
taking the ith candidate transmission power as a target transmission power; the gateway equipment can be continuously triggered to return to the RSSI under the ith candidate transmitting power, and the gateway equipment cannot be continuously triggered to return to the RSSI under the (i+1) th candidate transmitting power; i is a positive integer.
3. The transmission power control method according to claim 1, wherein the plurality of different candidate transmission powers include a plurality of transmission powers that are sequentially increased; the method comprises the following steps:
sequentially sending the test data to the gateway equipment under each candidate transmitting power according to the smoothness from low to high;
Taking the ith candidate transmission power as a target transmission power; the gateway equipment can be continuously triggered to return to the RSSI under the ith candidate transmitting power, and the gateway equipment cannot be continuously triggered to return to the RSSI under the ith-1 candidate transmitting power; i is a positive integer.
4. The method for controlling transmission power according to any one of claims 1 to 3, wherein the continuously triggering the gateway device to return the RSSI is specifically:
triggering the gateway equipment to return to the RSSI for N times continuously; wherein N is an integer greater than 2.
5. The transmission power control method according to claim 4, characterized in that the method further comprises:
determining a fluctuation interval according to the RSSI returned by the gateway equipment under the target transmitting power;
when sending service data to the gateway equipment at the target transmitting power, monitoring whether the time length of the RSSI returned by the gateway equipment exceeding the fluctuation interval reaches a first time threshold;
and if the time length that the RSSI returned by the gateway device exceeds the fluctuation interval reaches the first time threshold, the target transmitting power is determined again.
6. The transmission power control method according to any one of claims 1 to 3 or 5, characterized in that the method further comprises:
And when the service data is sent to the gateway equipment at the target transmitting power, if the RSSI returned by the gateway equipment is not received within a second time threshold range, establishing communication connection with the gateway equipment at the maximum transmitting power.
7. The transmission power control method according to claim 6, characterized in that the method further comprises:
and after the communication connection is established with the gateway equipment at the maximum transmission power, the target transmission power is redetermined.
8. The transmission power control method according to claim 6, characterized in that the method further comprises:
if the RSSI returned by the gateway equipment is not received in the second time threshold range, saving the unsent business data in the second time threshold range;
and after the communication connection is established between the maximum transmitting power and the gateway equipment, transmitting the current service data to be transmitted and the stored non-transmitted service data to the gateway equipment.
9. A transmitting power control device is applied to terminal equipment; characterized by comprising the following steps:
the test data transmitting module is used for sequentially transmitting test data to the gateway equipment with a plurality of different candidate transmitting powers after determining that the gateway equipment enters a learning mode, so as to trigger the gateway equipment to sequentially return signal strength indication RSSIs corresponding to the plurality of different candidate transmitting powers respectively;
The target transmitting power determining module is used for determining the minimum candidate transmitting power capable of continuously triggering the gateway equipment to return the RSSI as the target transmitting power; determining a fluctuation interval according to the RSSI returned by the gateway equipment under the target transmitting power; monitoring whether RSSI returned by the gateway equipment exceeds the fluctuation interval or not when sending service data to the gateway equipment at the target transmitting power; if the RSSI returned by the gateway equipment is monitored to exceed the fluctuation interval, the target transmitting power is determined again;
and the service data transmission module is used for transmitting service data to the gateway equipment at the target transmitting power.
10. A terminal device comprising a transmit power control apparatus according to claim 9.
11. An electronic device, comprising:
a processor; and
a memory for storing one or more programs that, when executed by the processor, cause the processor to implement the method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110731748.9A CN113490265B (en) | 2021-06-30 | 2021-06-30 | Transmitting power control device and method, terminal equipment and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110731748.9A CN113490265B (en) | 2021-06-30 | 2021-06-30 | Transmitting power control device and method, terminal equipment and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113490265A CN113490265A (en) | 2021-10-08 |
CN113490265B true CN113490265B (en) | 2023-10-24 |
Family
ID=77937844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110731748.9A Active CN113490265B (en) | 2021-06-30 | 2021-06-30 | Transmitting power control device and method, terminal equipment and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113490265B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854710A (en) * | 2010-06-01 | 2010-10-06 | 中兴通讯股份有限公司 | Wireless access point and radio-frequency emission power regulation method thereof |
CN105517136A (en) * | 2016-01-28 | 2016-04-20 | 武汉慧联无限科技有限公司 | Method for dynamically adjusting transmitting power to wireless terminal |
CN110996383A (en) * | 2018-10-02 | 2020-04-10 | 卡西欧计算机株式会社 | Wireless communication device, electronic timepiece, transmission power control method, and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050054362A1 (en) * | 2003-09-08 | 2005-03-10 | Panpaliya Satyanarayan R. | Method and apparatus for transmit power control during a group call to a plurality of devices |
US7397776B2 (en) * | 2003-10-03 | 2008-07-08 | Nvidia Corporation | Systems and methods for autonomously and dynamically optimizing transmission power in a wireless network |
KR20090070823A (en) * | 2007-12-27 | 2009-07-01 | 주식회사 디앤에스 테크놀로지 | Reducing method of electric power at wireless sensor network |
US10375652B2 (en) * | 2017-12-19 | 2019-08-06 | Itron Global Sarl | Transmission power control for wireless communication devices |
-
2021
- 2021-06-30 CN CN202110731748.9A patent/CN113490265B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854710A (en) * | 2010-06-01 | 2010-10-06 | 中兴通讯股份有限公司 | Wireless access point and radio-frequency emission power regulation method thereof |
CN105517136A (en) * | 2016-01-28 | 2016-04-20 | 武汉慧联无限科技有限公司 | Method for dynamically adjusting transmitting power to wireless terminal |
CN110996383A (en) * | 2018-10-02 | 2020-04-10 | 卡西欧计算机株式会社 | Wireless communication device, electronic timepiece, transmission power control method, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113490265A (en) | 2021-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090088070A1 (en) | Methods, Systems, and Computer-Readable Media for Utilizing a Repeating Function to Improve Quality of Service | |
EP2360974A1 (en) | Method and base station for deciding discontinuous transmission mode | |
CN101523752A (en) | Methods, systems, and computer program products for controlling data transmission based on power cost | |
KR101102349B1 (en) | Method and Apparatus for Controlling Sleep Mode in Wireless Communication Networks | |
CN110446235B (en) | Call mode determination method and device, electronic equipment and storage medium | |
EP2765811A1 (en) | Method, apparatus, terminal and computer program product for determining transmission mode | |
CN114845366B (en) | Base station awakening method and system, user terminal, base station and storage medium | |
EP3687227B1 (en) | Method for adjusting transmission power of terminal, mobile terminal and storage device | |
CN105208635B (en) | A kind of read method of system information, dispatching method and device | |
CN111436118A (en) | Transmission resource detection method, transmission resource determination method and communication equipment | |
CN106549743B (en) | Component carrier link management method and device | |
CN110933706A (en) | Network communication setting method, device, storage medium and terminal | |
CN109104264B (en) | Data transmission method and base station | |
CN112714482A (en) | Network switching method, device, terminal and storage medium | |
CN103856959A (en) | Wireless local area network quality monitoring method, device and system | |
CN113490265B (en) | Transmitting power control device and method, terminal equipment and electronic equipment | |
CN112752319A (en) | Network switching method, device, terminal and storage medium | |
CN111432453B (en) | Communication channel determination method, device and equipment | |
KR20150118440A (en) | Method and device for controlling wireless network connection | |
CN111132279A (en) | Communication method and device | |
CN111836300B (en) | Network switching method and communication terminal | |
CN113840313B (en) | Network mode control method and device of mobile terminal and computer equipment | |
CN114630437A (en) | Time slot aggregation method and device, computer storage medium and electronic equipment | |
CN113132998A (en) | Communication frequency point determination method, device, electronic equipment and medium | |
CN114245428B (en) | Communication service processing method, device, equipment and medium |
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 |