CN111246557A - Method, device, storage medium, processor and system for determining transmission power - Google Patents
Method, device, storage medium, processor and system for determining transmission power Download PDFInfo
- Publication number
- CN111246557A CN111246557A CN202010246508.5A CN202010246508A CN111246557A CN 111246557 A CN111246557 A CN 111246557A CN 202010246508 A CN202010246508 A CN 202010246508A CN 111246557 A CN111246557 A CN 111246557A
- Authority
- CN
- China
- Prior art keywords
- parameter
- range
- time period
- power
- power value
- 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.)
- Granted
Links
Images
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
- H04W52/146—Uplink power control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/382—Monitoring; Testing of propagation channels for resource allocation, admission control or handover
-
- 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
Abstract
The invention discloses a method, a device, a storage medium, a processor and a system for determining transmission power. The method comprises the following steps: acquiring a first parameter, a second parameter and a third parameter, wherein the first parameter is the maximum transmitting power obtained by testing the first intelligent device when the first intelligent device leaves a factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased; and determining the transmission power to be used by adopting the first parameter, the second parameter and the third parameter. The invention solves the technical problem that energy consumption of the WiFi equipment is easily wasted due to the transmission power value setting mode of the WiFi equipment provided by the related technology.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, a storage medium, a processor, and a system for determining transmit power.
Background
In the related art, a radio frequency signal output from a radio transmitter is fed to a transmitting antenna through a feeder line, and then radiated as an electromagnetic wave by the transmitting antenna. After the electromagnetic waves reach the receiving antenna, they are fed to the radio receiver by a feeder. In general, radio frequency transmission modes with small transmission power are close to each other.
The existing wireless fidelity (WiFi) equipment can acquire radio frequency parameters of the WiFi equipment through an instrument in the equipment delivery process. In the radio frequency parameters, a higher transmission power value is usually set, and data is usually transmitted according to the set transmission power value when the system is actually operated. Furthermore, the transmission power value is not usually adjusted according to the distance between the WiFi device and the Access Point (AP) and the signal strength when the system is actually operated. However, in most cases, it is not necessary to set a high transmission power value, which is likely to cause waste of power consumption of the WiFi device.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least some embodiments of the present invention provide a method, an apparatus, a storage medium, a processor, and a system for determining transmission power, so as to at least solve the technical problem that energy consumption of WiFi devices is easily wasted due to a transmission power value setting manner of the WiFi devices provided in the related art.
According to an embodiment of the present invention, there is provided a method for determining transmission power, including:
acquiring a first parameter, a second parameter and a third parameter, wherein the first parameter is the maximum transmitting power obtained by testing the first intelligent device when the first intelligent device leaves a factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased; and determining the transmission power to be used by adopting the first parameter, the second parameter and the third parameter.
Optionally, the obtaining the second parameter includes: acquiring a first range grade to which a fourth parameter belongs in a first time period, wherein the fourth parameter is a signal strength indication of data received by the first intelligent device from the second intelligent device; comparing the first range grade with a second range grade to which the fourth parameter belongs in a second time period, and determining that the range grade changes, wherein the second time period is a previous time period adjacent to the first time period; and acquiring a second parameter based on the change of the range grade.
Optionally, the obtaining the second parameter based on the change of the range level includes: searching a first power value corresponding to the first range grade and a second power value corresponding to the second range grade from a first preset mapping relation; and calculating to obtain a second parameter by adopting the first power value and the second power value.
Optionally, the obtaining the third parameter includes: acquiring a third range grade to which a fifth parameter belongs in a third time period, wherein the fifth parameter is a failure rate of sending data; comparing the third range grade with a fourth range grade to which the fifth parameter belongs in a fourth time period, and determining that the range grade changes, wherein the fourth time period is a previous time period adjacent to the third time period; and acquiring a third parameter based on the change of the range grade.
Optionally, the obtaining the third parameter based on the change of the range level includes: searching a third power value corresponding to the third range grade and a fourth power value corresponding to the fourth range grade from a second preset mapping relation; and calculating to obtain a third parameter by adopting the third power value and the fourth power value.
Optionally, the determining the transmit power to be used by using the first parameter, the second parameter, and the third parameter includes: calculating the difference value of the first parameter and the second parameter to obtain an intermediate result; and calculating the sum of the intermediate result and the third parameter to obtain the transmitting power to be used.
According to an embodiment of the present invention, there is also provided an apparatus for determining transmit power, including:
the device comprises an acquisition module, a power control module and a power control module, wherein the acquisition module is used for acquiring a first parameter, a second parameter and a third parameter, the first parameter is the maximum transmitting power obtained by testing the first intelligent device when the first intelligent device leaves a factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased; and the determining module is used for determining the transmitting power to be used by adopting the first parameter, the second parameter and the third parameter.
Optionally, the obtaining module includes: the first acquiring unit is used for acquiring a first range grade to which a fourth parameter belongs in a first time period, wherein the fourth parameter is a signal strength indication of data received by the first intelligent device from the second intelligent device; the first comparison unit is used for comparing the first range grade with a second range grade to which the fourth parameter belongs in a second time period, and determining that the range grade changes, wherein the second time period is a previous time period adjacent to the first time period; and the second acquisition unit is used for acquiring a second parameter based on the change of the range grade.
Optionally, the second obtaining unit is configured to search, from the first preset mapping relationship, a first power value corresponding to the first range level and a second power value corresponding to the second range level; and calculating to obtain a second parameter by adopting the first power value and the second power value.
Optionally, the obtaining module includes: a third obtaining unit, configured to obtain a third range class to which a fifth parameter belongs in a third time period, where the fifth parameter is a failure rate of sending data; the second comparison unit is used for comparing the third range grade with a fourth range grade to which the fifth parameter belongs in a fourth time period to determine that the range grade changes, wherein the fourth time period is a previous time period adjacent to the third time period; and the fourth acquisition unit is used for acquiring the third parameter based on the change of the range grade.
Optionally, the fourth obtaining unit is configured to search, from the second preset mapping relationship, a third power value corresponding to the third range level and a fourth power value corresponding to the fourth range level; and calculating to obtain a third parameter by adopting the third power value and the fourth power value.
Optionally, the determining module includes: the first calculating unit is used for calculating the difference value of the first parameter and the second parameter to obtain an intermediate result; and the second calculating unit is used for calculating the sum of the intermediate result and the third parameter to obtain the transmitting power to be used.
According to an embodiment of the present invention, there is further provided a storage medium having a computer program stored therein, wherein the computer program is configured to execute the method for determining the transmission power when running.
There is further provided, according to an embodiment of the present invention, a processor for executing a program, where the program is configured to execute the method for determining transmit power when running.
There is further provided, according to an embodiment of the present invention, an electronic apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the method for determining the transmission power.
According to an embodiment of the present invention, there is also provided a system for determining transmission power, including: the system comprises at least one first intelligent device and at least one second intelligent device, wherein each second intelligent device in the at least one second intelligent device is provided with a home gateway module, the home gateway module is used for connecting the at least one first intelligent device to a wide area network, the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, the initial services are independent of network connection services, and each first intelligent device in the at least one first intelligent device comprises the electronic device.
In at least some embodiments of the present invention, a method for obtaining a first parameter, a second parameter, and a third parameter is adopted, where the first parameter is a maximum transmission power obtained by a test when a first intelligent device leaves a factory, the second parameter is a power variation to be reduced, and the third parameter is a power variation to be increased, and a transmission power to be used is determined according to the first parameter, the second parameter, and the third parameter, so as to achieve an objective of adjusting an instantaneous maximum power consumption of a WiFi device by adjusting the transmission power of the WiFi device, thereby effectively reducing energy consumption waste of the WiFi device, and simultaneously effectively alleviating a technical effect of interference with other WiFi signals, thereby solving a technical problem that energy consumption waste of the WiFi device is easily caused by a transmission power value setting manner of the WiFi device provided in a related technology.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flow chart of a method of determining transmit power according to one embodiment of the present invention;
fig. 2 is a block diagram of a device for determining transmission power according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with one embodiment of the present invention, there is provided an embodiment of a method for determining transmit power, wherein the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions, and wherein although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that illustrated.
The method embodiment may be performed in a system for determining transmit power. The system for determining the transmission power comprises: the system comprises at least one first intelligent device and at least one second intelligent device, wherein each second intelligent device in the at least one second intelligent device is provided with a home gateway module, the home gateway module is used for connecting the at least one first intelligent device to a wide area network (such as the Internet), the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services.
In an optional embodiment, the first smart device and the second smart device are both smart home devices (e.g., WiFi devices such as smart air conditioners, smart sockets, smart lamps, etc.). In addition, the first smart device is also particularly suitable for application scenarios with high requirements on low power consumption, such as: WiFi devices powered by batteries, such as: intelligent door lock, intelligent sensor etc.. The gateway generalization refers to embedding a module with a gateway function into any intelligent device capable of supplying power frequently, so that the intelligent devices have a new gateway function on the basis of the original function. For example: the initial service that intelligent air conditioner provided is for refrigerating or heating the service, through with the embedding of home gateway module to intelligent air conditioner in, this intelligent air conditioner will be on the basis of original function newly-increased gateway function. For another example: the initial service that intelligent lamps and lanterns provided is lighting service, through with the embedding of home gateway module to intelligent lamps and lanterns, this intelligent lamps and lanterns will be on the basis of original function newly-increased gateway function. Whereby the user does not need to purchase a gateway separately and the network signals of multiple gateways can provide greater coverage.
It should be noted that, the home gateway module may be inserted into the smart device through a peripheral interface of the smart device, or may be pre-embedded into the smart device during a production process of the smart device.
The above-mentioned smart devices (including: the first smart device, the second smart device) may include one or more processors (the processors may include, but are not limited to, processing means of a Central Processing Unit (CPU), a Graphic Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the smart device may further include a transmission device for a communication function, an input/output device, and a display device. It will be understood by those skilled in the art that the foregoing structural description is illustrative only and is not intended to limit the structure of the smart device. For example, a smart device may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the method for determining the transmission power in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the method for determining the transmission power described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located from the processor, and these remote memories may be connected to the smart device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the smart device. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the smart device. In some embodiments, the smart device has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human interaction functionality optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
In this embodiment, a method for determining the transmission power of the first smart device is provided, and fig. 1 is a flowchart of the method for determining the transmission power according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
step S102, a first parameter, a second parameter and a third parameter are obtained, wherein the first parameter is the maximum transmitting power obtained by the first intelligent equipment through testing when the first intelligent equipment leaves a factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
and step S104, determining the transmitting power to be used by adopting the first parameter, the second parameter and the third parameter.
Through the steps, a mode of obtaining a first parameter, a second parameter and a third parameter can be adopted, the first parameter is the maximum transmitting power obtained by testing when the first intelligent device leaves a factory, the second parameter is the power variation to be reduced, the third parameter is the power variation to be increased, the transmitting power to be used is determined through the first parameter, the second parameter and the third parameter, the purpose of adjusting the instantaneous maximum power consumption of the WiFi device by adjusting the transmitting power of the WiFi device is achieved, the energy consumption waste of the WiFi device is effectively reduced, meanwhile, the technical effect of effectively reducing the interference to other WiFi signals can be achieved, and the technical problems that the transmitting power value of the WiFi device is set in a mode provided in the related technology and the energy consumption of the WiFi device is easily wasted are solved.
In an alternative embodiment, the first smart device is in a Station (STA) mode (hereinafter also referred to as WiFi device) and the second smart device is in an Access Point (AP) mode (hereinafter also referred to as AP). The first smart device may respond by sending a probe frame to the second smart device and waiting for the second smart device to return an acknowledgement to the first smart device. If the second smart device successfully receives the probe frame, an acknowledgement response is returned to the first smart device. And if the first intelligent device successfully receives the confirmation response, the first intelligent device is indicated to be successfully accessed into the second intelligent device.
Optionally, in step S102, acquiring the second parameter may include performing the steps of:
step S1021, a first range grade to which a fourth parameter belongs in a first time period is obtained, wherein the fourth parameter is a signal strength indication of data received by the first intelligent device from the second intelligent device;
step S1022, comparing the first range class with a second range class to which the fourth parameter belongs in a second time period, and determining that the range class changes, where the second time period is a previous time period adjacent to the first time period;
in step S1023, a second parameter is acquired based on the change in the range level.
Due to the signal strength of the data received by the receiving end of WiFi, for example: received Signal Strength Indication (RSSI), transmission power of the transmitting end, distance between the transmitting end and the receiving end, current surrounding environment and other main factors are related. In an alternative embodiment, the following approximate estimated calculation formula may be employed:
D=10^((TxPower–RSSI)/(10*n));
wherein the actual meaning of each parameter mentioned in the calculation formula is as follows:
(1) TxPower is the transmit power of the transmitting end, typically expressed as the received signal strength at a location 1 meter from the transmitting end;
(2) n is a path signal strength loss factor, which is generally closely related to the current surrounding environment, such as: in an open environment, n can take the value of 2;
(3) RSSI is the signal strength received by the receiving end;
(4) d represents the distance between the transmitting end and the receiving end, which is calculated in meters.
For the AP in the home environment, since the TxPower has a small difference and the environment factor n is relatively fixed, when the WiFi device in the home environment receives the data transmitted by the AP, the distance between the WiFi device and the AP can be roughly calculated according to the received signal strength.
Therefore, the transmission power of the transmitting end can be dynamically adjusted by adjusting the value of the RSSI, so that the transmitting end is allowed to use lower transmission power when the signal is stronger, and the transmitting end is allowed to use higher transmission power when the signal is weaker. In addition, when the signal is extremely poor, the maximum transmitting power of factory test is allowed to be used for transmitting data, and therefore the purpose of reducing power consumption can be achieved by using lower transmitting power under most conditions. Meanwhile, the problem of low transmission success rate caused by reducing the transmission power can be solved by adjusting the transmission power according to the received signal strength.
The first time period and the second time period may be flexibly set according to an actual application scenario, for example: for 10 minutes. A plurality of RSSI transients may be calculated from packets continuously transmitted by the AP during the first time period. For example:
RSSI is equal to the transmitting power of the AP, the antenna gain of the AP, the space loss and the antenna gain of the WiFi equipment;
next, the average value of the current RSSI values (corresponding to the fourth parameter) is obtained by averaging the plurality of instantaneous RSSI values obtained in the first time period. Then, a first range class to which the RSSI average value belongs in a first time period is determined, a historical RSSI average value in a second time period (i.e. a previous time period adjacent to the first time period, for example, a previous 10 minutes) is obtained, and then whether the range class changes is determined by comparing the first range class to which the current RSSI average value belongs with a second range class to which the historical RSSI average value belongs in the second time period. If the range level is not changed, the amount of power change to be reduced does not need to be obtained. If the range level changes, the amount of power change to be reduced needs to be further acquired.
Alternatively, in step S1023, acquiring the second parameter based on the change in the range level may include the following steps:
step S10231, a first power value corresponding to the first range grade and a second power value corresponding to the second range grade are searched from the first preset mapping relation;
step S10232, a second parameter is calculated by using the first power value and the second power value.
A first preset mapping relationship between a plurality of different RSSI range levels and a plurality of different power values may be preconfigured within the WiFi device. In an alternative example, a plurality of different RSSI range levels, in dBm, are obtained in a split as follows:
(1) range grade 1 is (-30, -20 ];
(2) range class 2 is (-40, -30 ];
(3) range class 3 is (-50, -40 ];
(4) range class 4 is (-60, -50 ];
(5) the range grade 5 is (-70, -60 ].
On the premise that the communication transmission rate between the first intelligent device and the second intelligent device is relatively fixed, a corresponding power value can be configured for each range class. For example: range level 1 corresponds to power value P1, range level 2 corresponds to power value P2, range level 3 corresponds to power value P3, range level 4 corresponds to power value P4, and range level 5 corresponds to power value P5.
Therefore, by searching the first power value corresponding to the first range level and the second power value corresponding to the second range level from the first preset mapping relationship, the second parameter can be calculated by using the first power value and the second power value. For example: the first range level to which the current RSSI average value belongs is range level 3, which corresponds to power value P3, while the second range level to which the historical RSSI average value belongs is range level 2, which corresponds to power value P2.Then the second parameter PmI.e. the amount of change between P2 and P3.
Optionally, in step S102, acquiring the third parameter may include performing the steps of:
step S1024, acquiring a third range grade to which a fifth parameter belongs in a third time period, wherein the fifth parameter is the failure rate of data transmission;
step S1025, comparing the third range grade with a fourth range grade to which the fifth parameter belongs in a fourth time period, and determining that the range grade is changed, wherein the fourth time period is a previous time period adjacent to the third time period;
in step S1026, a third parameter is obtained based on the change in the range level.
The third time period and the fourth time period may be flexibly set according to actual application scenarios, for example: for 10 minutes. The fifth parameter may be determined by the number of data packets sent to the AP by the WiFi device in the third time period and the number of successful responses received by the WiFi device. If the WiFi device sends a data packet to the AP and receives a successful response from the AP, it indicates that the data packet transmission was successful. If the WiFi device sends a data packet to the AP but does not receive a successful response from the AP, it indicates that the data packet transmission failed. In an alternative example, assuming that N1 represents the number of successful responses received after the WiFi device transmits the data packet to the AP in the third time period, and N2 represents the number of unsuccessful responses received after the WiFi device transmits the data packet to the AP in the third time period, the failure rate of transmitting data in different time periods can be calculated by using N2/(N1+ N2). And comparing the third range grade with the fourth range grade by acquiring the third range grade to which the failure rate of transmitting data in the third time period belongs and the fourth range grade to which the failure rate of transmitting data in the fourth time period belongs, so as to determine whether the range grade changes. If the range level is not changed, the amount of power change to be increased does not need to be obtained. If the range level changes, the amount of power change to be added needs to be further acquired.
Optionally, in step S1026, acquiring the third parameter based on the change in the range level may include the following steps:
step S10261, finding a third power value corresponding to the third range level and a fourth power value corresponding to the fourth range level from the second preset mapping relationship;
step S10262, calculating a third parameter by using the third power value and the fourth power value.
A second preset mapping relationship between the range levels of the failure rates of a plurality of different transmission data and a plurality of different power values can be preset in the WiFi device. In an alternative example, the range levels of the failure rates of a plurality of different transmission data are obtained in%:
(1) range grade 1 is [0, 1%);
(2) range grade 2 is [ 1%, 2%);
(3) range grade 3 is [ 2%, 3%);
(4) range grade 4 is [ 3%, 4%);
(5) range grade 5 is [ 4%, 5%).
On the premise that the communication transmission rate between the first intelligent device and the second intelligent device is relatively fixed, a corresponding power value can be configured for each range class. For example: range level 1 corresponds to power value P6, range level 2 corresponds to power value P7, range level 3 corresponds to power value P8, range level 4 corresponds to power value P9, and range level 5 corresponds to power value P10.
Therefore, by searching for the third power value corresponding to the third range level and the fourth power value corresponding to the fourth range level from the second preset mapping relationship, the third parameter can be calculated by using the third power value and the fourth power value. For example: the third range level to which the failure rate of the currently transmitted data belongs is a range level 2, which corresponds to the power value P7, and the fourth range level to which the failure rate of the historically transmitted data belongs is a range level 1, which corresponds to the power value P6. Then the third parameter PiI.e. the amount of change between P6 and P7.
Optionally, in step S104, determining the transmit power to be used by using the first parameter, the second parameter and the third parameter may include performing the following steps:
step S1041, calculating a difference value between the first parameter and the second parameter to obtain an intermediate result;
step S1042, a sum of the intermediate result and the third parameter is calculated to obtain the transmission power to be used.
The WiFi equipment can calculate the power variation P to be reduced of the transmission power according to the RSSImAnd meanwhile, calculating the power variation P to be increased of the transmitting power according to the failure rate of the current transmitted datai. Finally, the coefficient P will be reducedmAnd increasing the coefficient PiThe combination is performed to form the current transmission power, which is used to determine the power required to transmit the data currently, i.e. the finally determined transmission power is: p ═ Pmax-Pm+Pi。
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for determining transmit power is also provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 2 is a block diagram of a device for determining transmission power according to an embodiment of the present invention, as shown in fig. 2, the device includes: an obtaining module 10, configured to obtain a first parameter, a second parameter, and a third parameter, where the first parameter is a maximum transmission power obtained by a test when a first intelligent device leaves a factory, the second parameter is a power variation to be reduced, and the third parameter is a power variation to be increased; a determining module 20, configured to determine the transmit power to be used by using the first parameter, the second parameter, and the third parameter.
Optionally, the obtaining module 10 includes: a first obtaining unit (not shown in the figure), configured to obtain a first range class to which a fourth parameter belongs in a first time period, where the fourth parameter is a signal strength indication that the first smart device receives data from the second smart device; a first comparing unit (not shown in the figure) for comparing the first range grade with a second range grade to which the fourth parameter belongs in a second time period, and determining that the range grade changes, wherein the second time period is a previous time period adjacent to the first time period; and a second acquiring unit (not shown in the figure) for acquiring a second parameter based on the change in the range level.
Optionally, the second obtaining unit (not shown in the figure) is configured to search, from the first preset mapping relationship, a first power value corresponding to the first range level and a second power value corresponding to the second range level; and calculating to obtain a second parameter by adopting the first power value and the second power value.
Optionally, the obtaining module 10 includes: a third obtaining unit (not shown in the figure), configured to obtain a third range class to which a fifth parameter belongs in a third time period, where the fifth parameter is a failure rate of sending data; a second comparing unit (not shown in the figure) for comparing the third range level with a fourth range level to which the fifth parameter belongs in a fourth time period, and determining that the range level changes, wherein the fourth time period is a previous time period adjacent to the third time period; and a fourth acquiring unit (not shown in the figure) for acquiring the third parameter based on the range level change.
Optionally, a fourth obtaining unit (not shown in the figure) is configured to search, from the second preset mapping relationship, a third power value corresponding to the third range level and a fourth power value corresponding to the fourth range level; and calculating to obtain a third parameter by adopting the third power value and the fourth power value.
Optionally, the determining module 20 includes: a first calculating unit (not shown in the figure) for calculating a difference between the first parameter and the second parameter to obtain an intermediate result; and a second calculating unit (not shown in the figure) for calculating a sum of the intermediate result and the third parameter to obtain the transmitting power to be used.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a first parameter, a second parameter and a third parameter, wherein the first parameter is the maximum transmitting power obtained by the first intelligent device through testing when the first intelligent device leaves a factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
and S2, determining the transmitting power to be used by adopting the first parameter, the second parameter and the third parameter.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a first parameter, a second parameter and a third parameter, wherein the first parameter is the maximum transmitting power obtained by the first intelligent device through testing when the first intelligent device leaves a factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
and S2, determining the transmitting power to be used by adopting the first parameter, the second parameter and the third parameter.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (16)
1. A method for determining transmit power, comprising:
acquiring a first parameter, a second parameter and a third parameter, wherein the first parameter is the maximum transmitting power obtained by testing the first intelligent device when the first intelligent device leaves a factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
and determining the transmission power to be used by adopting the first parameter, the second parameter and the third parameter.
2. The method of claim 1, wherein obtaining the second parameter comprises:
acquiring a first range grade to which a fourth parameter belongs within a first time period, wherein the fourth parameter is a signal strength indication of data received by the first intelligent device from a second intelligent device;
comparing the first range grade with a second range grade to which the fourth parameter belongs within a second time period, and determining that the range grade changes, wherein the second time period is a previous time period adjacent to the first time period;
and acquiring the second parameter based on the change of the range grade.
3. The method of claim 2, wherein obtaining the second parameter based on a change in range level comprises:
searching a first power value corresponding to the first range grade and a second power value corresponding to the second range grade from a first preset mapping relation;
and calculating to obtain the second parameter by adopting the first power value and the second power value.
4. The method of claim 1, wherein obtaining the third parameter comprises:
acquiring a third range grade to which a fifth parameter belongs in a third time period, wherein the fifth parameter is a failure rate of sending data;
comparing the third range grade with a fourth range grade to which the fifth parameter belongs in a fourth time period to determine that the range grade is changed, wherein the fourth time period is a previous time period adjacent to the third time period;
and acquiring the third parameter based on the change of the range grade.
5. The method of claim 4, wherein obtaining the third parameter based on a change in range level comprises:
searching a third power value corresponding to the third range grade and a fourth power value corresponding to the fourth range grade from a second preset mapping relation;
and calculating to obtain the third parameter by adopting the third power value and the fourth power value.
6. The method of claim 1, wherein determining the transmit power to be used using the first parameter, the second parameter, and the third parameter comprises:
calculating the difference value of the first parameter and the second parameter to obtain an intermediate result;
and calculating the sum of the intermediate result and the third parameter to obtain the transmitting power to be used.
7. An apparatus for determining transmit power, comprising:
the device comprises an acquisition module, a control module and a processing module, wherein the acquisition module is used for acquiring a first parameter, a second parameter and a third parameter, the first parameter is the maximum transmitting power obtained by testing a first intelligent device when the first intelligent device leaves a factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
a determining module, configured to determine the transmit power to be used by using the first parameter, the second parameter, and the third parameter.
8. The apparatus of claim 7, wherein the obtaining module comprises:
a first obtaining unit, configured to obtain a first range class to which a fourth parameter belongs in a first time period, where the fourth parameter is a signal strength indication that the first smart device receives data from a second smart device;
a first comparing unit, configured to compare the first range class with a second range class to which the fourth parameter belongs within a second time period, and determine that the range class changes, where the second time period is a previous time period adjacent to the first time period;
and the second acquisition unit is used for acquiring the second parameter based on the change of the range grade.
9. The apparatus according to claim 8, wherein the second obtaining unit is configured to search a first power value corresponding to the first range level and a second power value corresponding to the second range level from a first preset mapping relationship; and calculating to obtain the second parameter by adopting the first power value and the second power value.
10. The apparatus of claim 7, wherein the obtaining module comprises:
a third obtaining unit, configured to obtain a third range class to which a fifth parameter belongs in a third time period, where the fifth parameter is a failure rate of sending data;
a second comparing unit, configured to compare the third range level with a fourth range level to which the fifth parameter belongs in a fourth time period, and determine that the range level changes, where the fourth time period is a previous time period adjacent to the third time period;
and the fourth acquisition unit is used for acquiring the third parameter based on the change of the range grade.
11. The apparatus according to claim 10, wherein the fourth obtaining unit is configured to search a second preset mapping relationship for a third power value corresponding to the third range level and a fourth power value corresponding to the fourth range level; and calculating to obtain the third parameter by adopting the third power value and the fourth power value.
12. The apparatus of claim 7, wherein the determining module comprises:
the first calculating unit is used for calculating the difference value of the first parameter and the second parameter to obtain an intermediate result;
and the second calculation unit is used for calculating the sum of the intermediate result and the third parameter to obtain the to-be-used transmitting power.
13. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of determining a transmit power as claimed in any one of claims 1 to 6 when executed.
14. A processor for running a program, wherein the program is arranged to perform the method of determining transmit power of any of claims 1 to 6 when running.
15. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is configured to execute the computer program to perform the method of determining a transmit power as claimed in any one of claims 1 to 6.
16. A system for determining transmit power, comprising: at least one first smart device and at least one second smart device, wherein each of the at least one second smart device is configured with a home gateway module for connecting the at least one first smart device to a wide area network, the at least one first smart device and the at least one second smart device are configured to provide different types of initial services, the initial services are independent of network connection services, and each of the at least one first smart device comprises the electronic apparatus of claim 15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010246508.5A CN111246557B (en) | 2020-03-31 | 2020-03-31 | Method, device, storage medium, processor and system for determining transmitting power |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010246508.5A CN111246557B (en) | 2020-03-31 | 2020-03-31 | Method, device, storage medium, processor and system for determining transmitting power |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111246557A true CN111246557A (en) | 2020-06-05 |
CN111246557B CN111246557B (en) | 2023-09-01 |
Family
ID=70878981
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010246508.5A Active CN111246557B (en) | 2020-03-31 | 2020-03-31 | Method, device, storage medium, processor and system for determining transmitting power |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111246557B (en) |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101236044A (en) * | 2008-03-03 | 2008-08-06 | 青岛澳柯玛股份有限公司 | Refrigerator integrating wireless broad band routing gateway |
CN201170680Y (en) * | 2008-03-03 | 2008-12-24 | 青岛澳柯玛股份有限公司 | Refrigerator |
CN101925167A (en) * | 2009-06-09 | 2010-12-22 | 中兴通讯股份有限公司 | Power control method and device of wireless local area network access point device |
WO2011136770A1 (en) * | 2010-04-29 | 2011-11-03 | Thomson Licensing | Method and apparatus for transmit power control in wireless networks based on monitoring multiple factors |
WO2013127699A1 (en) * | 2012-02-28 | 2013-09-06 | Telefónica, S.A. | A dynamic power control method and system |
CN103415066A (en) * | 2013-08-12 | 2013-11-27 | 惠州Tcl移动通信有限公司 | Adjustment method and terminal for WIFI transmission power |
US20150156731A1 (en) * | 2013-11-29 | 2015-06-04 | Samsung Sds Co., Ltd. | Apparatus and method for controlling transmission power of terminal in wireless environment |
CN105208645A (en) * | 2015-10-30 | 2015-12-30 | 东莞酷派软件技术有限公司 | WiFi transmission power value regulation method and device |
US20160212715A1 (en) * | 2013-09-27 | 2016-07-21 | Huawei Technologies Co., Ltd. | Method and apparatus for adjusting transmit power |
CN106255183A (en) * | 2016-07-29 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | Adjust Wi Fi and launch the method for power, device and terminal |
US20170150455A1 (en) * | 2014-05-09 | 2017-05-25 | Huawei Device Co., Ltd. | Power Adjustment Method and Apparatus |
CN106973431A (en) * | 2017-02-14 | 2017-07-21 | 深圳市金立通信设备有限公司 | A kind of method for regulating emission power and terminal |
CN107222912A (en) * | 2017-06-08 | 2017-09-29 | 西安蜂语信息科技有限公司 | A kind of method of adjust automatically transmission power, apparatus and system |
CN108174437A (en) * | 2017-12-22 | 2018-06-15 | 上海斐讯数据通信技术有限公司 | A kind of transmission power adjustment method of routing device, routing device |
CN108199786A (en) * | 2017-12-26 | 2018-06-22 | 广东欧珀移动通信有限公司 | Transmission power adjustment method and device |
CN109756965A (en) * | 2019-01-09 | 2019-05-14 | 安克创新科技股份有限公司 | Poewr control method, system, device and storage medium based on communication network |
FR3074005A1 (en) * | 2017-11-20 | 2019-05-24 | Sagemcom Broadband Sas | METHOD FOR MANAGING OPTIMAL TRANSMISSION POWER OF A WI-FI ACCESS POINT |
US20190357153A1 (en) * | 2016-11-14 | 2019-11-21 | Huawei Technologies Co., Ltd. | Power Control Method and Terminal |
-
2020
- 2020-03-31 CN CN202010246508.5A patent/CN111246557B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101236044A (en) * | 2008-03-03 | 2008-08-06 | 青岛澳柯玛股份有限公司 | Refrigerator integrating wireless broad band routing gateway |
CN201170680Y (en) * | 2008-03-03 | 2008-12-24 | 青岛澳柯玛股份有限公司 | Refrigerator |
CN101925167A (en) * | 2009-06-09 | 2010-12-22 | 中兴通讯股份有限公司 | Power control method and device of wireless local area network access point device |
WO2011136770A1 (en) * | 2010-04-29 | 2011-11-03 | Thomson Licensing | Method and apparatus for transmit power control in wireless networks based on monitoring multiple factors |
WO2013127699A1 (en) * | 2012-02-28 | 2013-09-06 | Telefónica, S.A. | A dynamic power control method and system |
CN103415066A (en) * | 2013-08-12 | 2013-11-27 | 惠州Tcl移动通信有限公司 | Adjustment method and terminal for WIFI transmission power |
US20160212715A1 (en) * | 2013-09-27 | 2016-07-21 | Huawei Technologies Co., Ltd. | Method and apparatus for adjusting transmit power |
US20150156731A1 (en) * | 2013-11-29 | 2015-06-04 | Samsung Sds Co., Ltd. | Apparatus and method for controlling transmission power of terminal in wireless environment |
US20170150455A1 (en) * | 2014-05-09 | 2017-05-25 | Huawei Device Co., Ltd. | Power Adjustment Method and Apparatus |
CN105208645A (en) * | 2015-10-30 | 2015-12-30 | 东莞酷派软件技术有限公司 | WiFi transmission power value regulation method and device |
CN106255183A (en) * | 2016-07-29 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | Adjust Wi Fi and launch the method for power, device and terminal |
US20190357153A1 (en) * | 2016-11-14 | 2019-11-21 | Huawei Technologies Co., Ltd. | Power Control Method and Terminal |
CN106973431A (en) * | 2017-02-14 | 2017-07-21 | 深圳市金立通信设备有限公司 | A kind of method for regulating emission power and terminal |
CN107222912A (en) * | 2017-06-08 | 2017-09-29 | 西安蜂语信息科技有限公司 | A kind of method of adjust automatically transmission power, apparatus and system |
FR3074005A1 (en) * | 2017-11-20 | 2019-05-24 | Sagemcom Broadband Sas | METHOD FOR MANAGING OPTIMAL TRANSMISSION POWER OF A WI-FI ACCESS POINT |
CN108174437A (en) * | 2017-12-22 | 2018-06-15 | 上海斐讯数据通信技术有限公司 | A kind of transmission power adjustment method of routing device, routing device |
CN108199786A (en) * | 2017-12-26 | 2018-06-22 | 广东欧珀移动通信有限公司 | Transmission power adjustment method and device |
CN109756965A (en) * | 2019-01-09 | 2019-05-14 | 安克创新科技股份有限公司 | Poewr control method, system, device and storage medium based on communication network |
Also Published As
Publication number | Publication date |
---|---|
CN111246557B (en) | 2023-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106487928B (en) | Message pushing method and device | |
CN103488188A (en) | Wireless router and method of adjusting wireless router signal transmission | |
CN105357629A (en) | Method and device used for binding mobile terminal with intelligent household electrical appliance | |
CN110365704B (en) | Equipment binding method and device and electronic equipment | |
CN103533512A (en) | Method, device and system for configuring and adding equipment into network group | |
CN105722103A (en) | Indoor wireless router signal coverage determination method | |
CN105629786B (en) | A kind of household appliance control instruction sending method and device | |
CN105573151A (en) | Household appliance control method, control device and household data terminal | |
CN111954238A (en) | Network distribution method, network distribution device and household appliance | |
CN106507329A (en) | A kind of WLAN access equipment and detection method | |
CN108173725A (en) | Apparatus control method, device, terminal and computer readable storage medium | |
CN105940614A (en) | Apparatus and method for providing communication | |
CN103744384A (en) | Method for realizing smart homes, associated device and system | |
CN111585801A (en) | ZigBee device upgrading method and related device | |
CN109142861A (en) | The means of communication and device of intelligent electric meter, intelligent electric meter | |
CN103945566B (en) | The method and electronic equipment of information processing | |
CN111277505A (en) | Multi-terminal joint control method, device, equipment and storage medium based on local area network | |
CN105684475A (en) | Proximity-based services | |
CN108055706A (en) | wireless network connection control method, device, storage medium and terminal device | |
CN111246557B (en) | Method, device, storage medium, processor and system for determining transmitting power | |
CN112583907A (en) | Connection method and device, smart home equipment and computer readable storage medium | |
CN112000020A (en) | Equipment distribution network processing method, equipment distribution network processing device and intelligent panel | |
CN205092974U (en) | WLAN access equipment | |
CN112019409B (en) | Equipment distribution network processing method, equipment distribution network processing device and electronic equipment | |
CN116193409A (en) | Bluetooth signal receiving method, system, equipment and medium capable of adjusting signal range |
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 |