CN111246557B - Method, device, storage medium, processor and system for determining transmitting power - Google Patents

Method, device, storage medium, processor and system for determining transmitting power Download PDF

Info

Publication number
CN111246557B
CN111246557B CN202010246508.5A CN202010246508A CN111246557B CN 111246557 B CN111246557 B CN 111246557B CN 202010246508 A CN202010246508 A CN 202010246508A CN 111246557 B CN111246557 B CN 111246557B
Authority
CN
China
Prior art keywords
parameter
time period
power
range
range level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010246508.5A
Other languages
Chinese (zh)
Other versions
CN111246557A (en
Inventor
杨海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN202010246508.5A priority Critical patent/CN111246557B/en
Publication of CN111246557A publication Critical patent/CN111246557A/en
Application granted granted Critical
Publication of CN111246557B publication Critical patent/CN111246557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/06TPC algorithms
    • H04W52/14Separate analysis of uplink or downlink
    • H04W52/146Uplink power control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a method, a device, a storage medium, a processor and a system for determining transmitting power. The method comprises the following steps: obtaining 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 equipment when leaving the 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 method and the device solve the technical problem that the setting mode of the transmitting power value of the WiFi equipment provided in the related technology is easy to cause energy consumption waste of the WiFi equipment.

Description

Method, device, storage medium, processor and system for determining transmitting power
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, a storage medium, a processor, and a system for determining transmission power.
Background
In the related art, a radio frequency signal output from a radio transmitter is transmitted to a transmitting antenna through a feeder line, and then radiated in the form of electromagnetic waves by the transmitting antenna. After the electromagnetic waves reach the receiving antenna, they are fed to the radio receiver via a feeder line. In general, the radio frequency transmission mode with small transmission power is close.
The existing wireless fidelity (WiFi) equipment can acquire radio frequency parameters of the WiFi equipment through instruments in the factory process of the equipment. In the radio frequency parameters, a higher transmit power value is usually set, and data is usually transmitted according to the set transmit power value when the system is actually operated. Furthermore, the transmit power value is not typically adjusted according to the distance between the WiFi device and the Access Point (AP) and the signal strength when the system is actually running. However, in most cases, it is often unnecessary to set a higher transmission power value, which is prone to waste of energy consumption of the WiFi device.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
At least some embodiments of the present application provide a method, an apparatus, a storage medium, a processor, and a system for determining a transmission power, so as to at least solve the technical problem that the transmission power value setting method of a WiFi device provided in the related art is easy to cause energy consumption waste of the WiFi device.
According to one embodiment of the present application, there is provided a method for determining transmission power, including:
obtaining 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 equipment when leaving the 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, acquiring the second parameter includes: acquiring a first range level to which a fourth parameter belongs in a first time period, wherein the fourth parameter is a signal strength indication of data received by a first intelligent device from a second intelligent device; comparing the first range level with a second range level to which the fourth parameter belongs in a second time period, and determining that the range level changes, wherein the second time period is a previous time period adjacent to the first time period; the second parameter is obtained based on the change in the range level.
Optionally, obtaining the second parameter based on the range class change comprises: searching 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 relation; and calculating a second parameter by adopting the first power value and the second power value.
Optionally, acquiring the third parameter includes: obtaining a third range grade to which a fifth parameter belongs in a third time period, wherein the fifth parameter is failure rate of sending data; 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; the third parameter is obtained based on the change in the range level.
Optionally, obtaining the third parameter based on the range class change comprises: searching a third power value corresponding to the third range level and a fourth power value corresponding to the fourth range level from a second preset mapping relation; and calculating a third parameter by adopting the third power value and the fourth power value.
Optionally, determining the transmit power to be used using the first parameter, the second parameter, and the third parameter includes: calculating the difference value between 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 transmission power to be used.
According to an embodiment of the present application, there is also provided a device for determining transmission power, including:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for 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 equipment 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 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 acquiring module includes: the first acquisition 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; a first comparing unit, configured to compare the first range level with a second range level to which the fourth parameter belongs in a second time period, and determine that the range level changes, where the second time period is a previous time period adjacent to the first time period; and a second acquisition unit configured to acquire a second parameter based on the range class change.
Optionally, the second obtaining unit is configured to find a first power value corresponding to the first range level and a second power value corresponding to the second range level from the first preset mapping relationship; and calculating a second parameter by adopting the first power value and the second power value.
Optionally, the acquiring 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; 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 a fourth acquisition unit configured to acquire the third parameter based on the range class change.
Optionally, a fourth obtaining unit is configured to find 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; and calculating a third parameter by adopting the third power value and the fourth power value.
Optionally, the determining module includes: the first calculation unit is used for calculating the difference value between the first parameter and the second parameter to obtain an intermediate result; and the second calculation unit is used for calculating the sum value of the intermediate result and the third parameter to obtain the transmission power to be used.
According to one embodiment of the present application, there is also provided a storage medium in which a computer program is stored, wherein the computer program is configured to perform the above-described method of determining transmission power when run.
According to an embodiment of the present application, there is further provided a processor for running a program, wherein the program is configured to execute the above-described method for determining transmission power when running.
According to one embodiment of the present application, there is also provided an electronic device including a memory having a computer program stored therein and a processor configured to run the computer program to perform the above-described method of determining transmission power.
According to an embodiment of the present application, 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 application, a first parameter, a second parameter and a third parameter are acquired, where the first parameter is the maximum transmission power obtained by testing the first smart device when the smart device leaves the factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flow chart of a method of determining transmit power according to one embodiment of the application;
fig. 2 is a block diagram of a transmission power determining apparatus according to one embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise 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.
According to one embodiment of the present application, there is provided an embodiment of a method of determining transmit power, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The method embodiment may be performed in a transmit power determination system. The system for determining the transmitting 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 alternative embodiment, the first smart device and the second smart device are smart home devices (e.g., wiFi devices such as smart air conditioners, smart sockets, smart lamps, etc.). In addition, the first intelligent device is also particularly suitable for application scenarios with high requirements on low power consumption, for example: wiFi devices powered by batteries, such as: intelligent door locks, intelligent sensors, etc. The generalization of the gateway refers to embedding a module with gateway functions into any intelligent device capable of supplying power normally, so that the intelligent device is newly added with gateway functions based on the original functions. For example: the initial service provided by the intelligent air conditioner is refrigerating or heating service, and the intelligent air conditioner is added with gateway functions based on original functions by embedding the home gateway module into the intelligent air conditioner. For another example: the initial service provided by the intelligent lamp is lighting service, and the intelligent lamp is added with gateway functions based on original functions by embedding the home gateway module into the intelligent lamp. Whereby the user does not need to purchase a gateway alone and the network signals of multiple gateways can provide greater coverage.
It should be noted that, the above-mentioned home gateway module can insert to the intelligent device through the peripheral interface of the intelligent device, also can embed the home gateway module in the intelligent device in advance in the production process of the intelligent device.
The smart devices (including: first smart device, second smart device) may include one or more processors (the processors may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processor (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 intelligent device may further include a transmission device, an input/output device, and a display device for a communication function. It will be appreciated by those of ordinary skill in the art that the foregoing structural descriptions are merely illustrative, and are not intended to limit the structure of the smart device. For example, the smart device may also include more or fewer components than the above-described structural descriptions, or have a different configuration than the above-described structural descriptions.
The memory may be used to store a computer program, for example, a software program of application software and a module, for example, a computer program corresponding to a method for determining a transmission power in an embodiment of the present application, 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 a transmission power. 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 with respect to the processor, the remote memory being connectable to the smart device through 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 for receiving or transmitting 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 (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through the base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
Display devices may be, for example, touch screen type Liquid Crystal Displays (LCDs) and touch displays (also referred to as "touch screens" or "touch display screens"). 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 may interact with the GUI by touching finger contacts and/or gestures on the touch-sensitive surface, where the human-machine interaction functionality optionally includes the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
In this embodiment, a method for determining a transmission power of the first smart device is provided, and fig. 1 is a flowchart of a method for determining a transmission power according to one embodiment of the present application, as shown in fig. 1, where the flowchart includes the following steps:
step S102, obtaining 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 equipment when leaving the factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
step S104, the first parameter, the second parameter and the third parameter are adopted to determine the transmitting power to be used.
Through the steps, the first parameter, the second parameter and the third parameter can be obtained, the first parameter is the maximum transmitting power obtained by testing the first intelligent equipment when leaving the 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 equipment by adjusting the transmitting power of the WiFi is achieved, the energy consumption waste of the WiFi equipment is effectively reduced, meanwhile, the technical effect of effectively reducing the interference to other WiFi signals is achieved, and the technical problem that the energy consumption waste of the WiFi equipment is easily caused by the transmitting power value setting mode of the WiFi equipment in the related technology is solved.
In an alternative embodiment, the first smart device is in a Station (STA) mode (hereinafter also referred to as a WiFi device) and the second smart device is in an Access Point (AP) mode (hereinafter also referred to as an 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 response 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, indicating that the first intelligent device has successfully accessed the second intelligent device.
Optionally, in step S102, acquiring the second parameter may include performing the steps of:
step S1021, a first range level 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 a first intelligent device from a second intelligent device;
step S1022, comparing the first range level with a second range level to which the fourth parameter belongs in a second time period, and determining that the range level changes, wherein the second time period is a previous time period adjacent to the first time period;
step S1023, obtaining a second parameter based on the change of the range level.
Due to the signal strength of the data received by the WiFi receiver, for example: the received signal strength indicator (Received Signal Strength Indication, abbreviated as RSSI) is related to the transmit power of the transmitting end, the distance between the transmitting end and the receiving end, and the current surrounding environment. In an alternative embodiment, the following coarsely 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 and is generally expressed as the received signal strength at a distance of 1 meter from the transmitting end;
(2) n is a path signal strength loss factor that is typically closely related to the current surrounding environment, such as: in an open environment, n can take a 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, and its calculation unit is meter.
For the AP in the home environment, since the TxPower is not different and the environmental 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 calculated roughly according to the received signal strength.
Therefore, the transmitting 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 transmitting power when the signal is strong, and the transmitting end is allowed to use higher transmitting power when the signal is weak. In addition, when the signal is extremely bad, the maximum transmitting power of the factory test is allowed to be used for transmitting data, so that the purpose of reducing the power consumption can be realized by using lower transmitting power in most cases. And meanwhile, the problem of reduced transmission success rate caused by reduced 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: 10 minutes. A plurality of RSSI instantaneous values can be calculated through data packets continuously transmitted by the AP in a first time period. For example:
RSSI = transmit power of AP + antenna gain of AP-space loss + antenna gain of WiFi device;
next, the average value of the current RSSI values (corresponding to the fourth parameter) is obtained by performing an average operation on the plurality of instantaneous RSSI values obtained in the first period. Then, determining a first range level to which the RSSI average belongs in the first time period, and acquiring a historical RSSI average in a second time period (namely, a previous time period adjacent to the first time period, for example, a previous 10 minutes), and further determining whether the range level is changed or not by comparing the first range level to which the current RSSI average belongs with the second range level to which the historical RSSI average belongs in the second time period. If the range level is unchanged, the amount of power change to be reduced does not need to be acquired. If the range level changes, further acquisition of the amount of power change to be reduced is required.
Optionally, in step S1023, obtaining the second parameter based on the range level change may include performing the steps of:
step S10231, searching 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 relation;
step S10232, calculating a second parameter by using the first power value and the second power value.
A first preset mapping relationship between range levels of a plurality of different RSSI values and a plurality of different power values may be preconfigured in the WiFi device. In an alternative example, the range levels of multiple different RSSI are obtained in dBm in the following division:
(1) Range level 1 (-30, -20);
(2) Range rating 2 (-40, -30);
(3) Range rating 3 (-50, -40);
(4) Range class 4 (-60, -50);
(5) The range rating 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 level. 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, range level 5 corresponds to power value P5.
Therefore, the first power value and the second power value can be used for calculating the second parameter 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 relation. For example: the first range class to which the current RSSI average belongs is range class 3, which corresponds to power value P3, and the second range class to which the historical RSSI average belongs is range class 2, which corresponds to power value P2. Then the second parameter P m I.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, obtaining a third range class to which a fifth parameter belongs in a third time period, wherein the fifth parameter is a failure rate of sending data;
step S1025, 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;
in step S1026, a third parameter is acquired based on the change in the range level.
The third time period and the fourth time period may be flexibly set according to the actual application scenario, for example: 10 minutes. The fifth parameter may be determined by the number of data packets sent by the WiFi device to the AP and the number of successful responses received by the WiFi device during the third period of time. If the WiFi device sends a data packet to the AP and receives a successful response from the AP, the data packet is successfully transmitted. If the WiFi device sends a data packet to the AP but does not receive a successful response from the AP, the data packet transmission is failed. In an alternative example, assuming that N1 represents the number of successful responses received by the WiFi device after sending the data packet to the AP in the third period, and N2 represents the number of unsuccessful responses received by the WiFi device after sending the data packet to the AP in the third period, the failure rate of sending the data in the different periods can be calculated by using N2/(n1+n2). And determining whether the range level changes by acquiring a third range level to which the failure rate of transmitting data in the third time period belongs and a fourth range level to which the failure rate of transmitting data in the fourth time period belongs so as to compare the third range level with the fourth range level. If the range level is unchanged, the amount of power change to be added does not need to be acquired. If the range level changes, it is necessary to further acquire the amount of power change to be increased.
Optionally, in step S1026, obtaining the third parameter based on the range level change may include performing the steps of:
step S10261, searching 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 relation;
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 class of the failure rates of the plurality of different transmission data and the plurality of different power values may be preconfigured in the WiFi device. In an alternative example, the range level of failure rate of a plurality of different transmission data is obtained in the following division manner, with the unit%:
(1) Range class 1 is [0, 1%);
(2) Range rating 2 is [1%, 2%);
(3) Range grade 3 is [2%, 3%);
(4) Range grade 4 is [3%, 4%);
(5) Range rating 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 level. 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, the third parameter can be calculated by using the third power value and the fourth power value by searching 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 relation. For example: the third range class to which the failure rate of the current transmission data belongs is a range class 2 corresponding to the power value P7, and the fourth range class to which the failure rate of the history transmission data belongs is a range class 1 corresponding to the power value P6. Then the third parameter P i I.e. the amount of change between P6 and P7.
Optionally, in step S104, determining the transmission power to be used using the first parameter, the second parameter, and the third parameter may include performing the steps of:
step S1041, calculating a difference value between the first parameter and the second parameter to obtain an intermediate result;
step S1042, calculating the sum of the intermediate result and the third parameter to obtain the transmit power to be used.
WiFi equipment can calculate and obtain power variation P to be reduced of transmitting power according to RSSI m Meanwhile, according to the failure rate of the current transmitted data, the power variation P to be increased of the transmitting power is calculated i . Finally, the coefficient P will be reduced m And increaseCoefficient P i The combination is performed to form the current transmitting power, and the power required to be used when the data is currently transmitted is determined, namely, the finally determined transmitting power is as follows: p=p max -P m +P i
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiment also provides a device for determining the transmitting power, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 2 is a block diagram of a transmission power determining apparatus according to an embodiment of the present application, as shown in fig. 2, including: the obtaining module 10 is configured to obtain a first parameter, a second parameter, and a third parameter, where the first parameter is a maximum transmission power obtained by testing the first smart device when the first smart device leaves the 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 using the first parameter, the second parameter, and the third parameter.
Optionally, the acquisition 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 period of time, 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 level with a second range level to which the fourth parameter belongs in a second period of time, and determining that the range level changes, wherein the second period of time is a previous period of time adjacent to the first period of time; a second acquisition unit (not shown in the figure) for acquiring a second parameter based on the change in the range level.
Optionally, a second obtaining unit (not shown in the figure) is configured to find a first power value corresponding to the first range level and a second power value corresponding to the second range level from the first preset mapping relationship; and calculating a second parameter by adopting the first power value and the second power value.
Optionally, the acquisition 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 period of time, 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 period of time, and determining that the range level changes, wherein the fourth period of time is a previous period of time adjacent to the third period of time; a fourth acquisition unit (not shown in the figure) for acquiring the third parameter based on the change in the range level.
Optionally, a fourth obtaining unit (not shown in the figure) is configured to find 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; and calculating 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; a second calculation unit (not shown in the figure) for calculating the sum of the intermediate result and the third parameter to obtain the transmit power to be used.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
An embodiment of the application also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing 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 testing the first intelligent equipment when leaving the factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
s2, determining the transmitting power to be used by adopting the first parameter, the second parameter and the third parameter.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Alternatively, in the present embodiment, the above-described 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 testing the first intelligent equipment when leaving the factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
s2, determining the transmitting power to be used by adopting the first parameter, the second parameter and the third parameter.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (9)

1. A method for determining transmit power, comprising:
obtaining 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 equipment when leaving the factory, the second parameter is the power variation to be reduced, and the third parameter is the power variation to be increased;
determining a transmission power to be used by adopting the first parameter, the second parameter and the third parameter;
wherein obtaining the third parameter comprises:
obtaining a third range grade to which a fifth parameter belongs in a third time period, wherein the fifth parameter is failure rate of sending data;
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;
acquiring the third parameter based on the change of the range grade;
wherein obtaining the second parameter comprises: acquiring a first range level 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 a second intelligent device; comparing the first range level with a second range level to which the fourth parameter belongs in a second time period, and determining that the range level changes, wherein the second time period is a previous time period adjacent to the first time period; acquiring the second parameter based on the change of the range grade;
wherein the method further comprises: acquiring the third parameter while acquiring the second parameter; calculating the difference value between the first parameter and the second parameter to obtain an intermediate result; and calculating the sum value of the intermediate result and the third parameter to obtain the transmission power to be used.
2. The method of claim 1, wherein obtaining the second parameter based on a change in range level comprises:
searching 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 relation;
and calculating the second parameter by adopting the first power value and the second power value.
3. The method of claim 1, wherein obtaining the third parameter based on a change in range level comprises:
searching a third power value corresponding to the third range level and a fourth power value corresponding to the fourth range level from a second preset mapping relation;
and calculating the third parameter by adopting the third power value and the fourth power value.
4. A transmission power determining apparatus, comprising:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for 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 equipment 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;
a determining module, configured to determine a transmit power to be used using the first parameter, the second parameter, and the third parameter;
wherein, the acquisition module further 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;
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;
a fourth obtaining unit, configured to obtain the third parameter based on a change in the range level;
wherein, the acquisition module includes: a first obtaining unit, configured to obtain a first range class to which a fourth parameter belongs in a first period of time, where the fourth parameter is a signal strength indication that the first intelligent device receives data from a second intelligent device; a first comparing unit, configured to compare the first range level with a second range level to which the fourth parameter belongs in a second time period, and determine that the range level changes, where the second time period is a previous time period adjacent to the first time period; a second obtaining unit, configured to obtain the second parameter based on a change in the range level;
the acquisition module is further used for acquiring the third parameter while acquiring the second parameter; the determining module includes: the first calculation unit is used for calculating the difference value between the first parameter and the second parameter to obtain an intermediate result; and the second calculation unit is used for calculating the sum value of the intermediate result and the third parameter to obtain the transmission power to be used.
5. The apparatus of claim 4, wherein the second obtaining unit is configured to find a first power value corresponding to the first range class and a second power value corresponding to the second range class from a first preset mapping relation; and calculating the second parameter by adopting the first power value and the second power value.
6. The apparatus of claim 4, wherein the fourth obtaining unit is configured to find a third power value corresponding to the third range class and a fourth power value corresponding to the fourth range class from a second preset mapping relation; and calculating the third parameter by adopting the third power value and the fourth power value.
7. A storage medium having stored therein a computer program, wherein the computer program is arranged to perform the method of determining the transmit power of any of claims 1 to 4 when run on a processor.
8. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of determining the transmit power as claimed in any of the claims 1 to 4.
9. 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 for providing different types of initial services independent of network connection services, each of the at least one first smart device comprising the electronic apparatus as set forth in claim 8.
CN202010246508.5A 2020-03-31 2020-03-31 Method, device, storage medium, processor and system for determining transmitting power Active CN111246557B (en)

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 CN111246557A (en) 2020-06-05
CN111246557B true 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 (14)

* Cited by examiner, † Cited by third party
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
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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015042854A1 (en) * 2013-09-27 2015-04-02 华为技术有限公司 Method and device for adjusting sending power
KR102008247B1 (en) * 2013-11-29 2019-08-07 삼성에스디에스 주식회사 Apparatus and method for controlling transmit power of terminal in wireless environment
US9794889B2 (en) * 2014-05-09 2017-10-17 Huawei Device Co., Ltd. Power adjustment method and apparatus
WO2018086246A1 (en) * 2016-11-14 2018-05-17 华为技术有限公司 Power control method and terminal

Patent Citations (14)

* Cited by examiner, † Cited by third party
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
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
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
CN111246557A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
US10609537B2 (en) Proximity platform
EP3021565A1 (en) Terminal apparatus, remote-control system, and method for determining what to control remotely in said system
CN105722103A (en) Indoor wireless router signal coverage determination method
CN103488188A (en) Wireless router and method of adjusting wireless router signal transmission
CN104540128A (en) Method, device and system for wireless network access
CN106487928A (en) Information push method and device
CN103533512A (en) Method, device and system for configuring and adding equipment into network group
WO2016168518A1 (en) Adaptation of transmission power and packet size in a wireless docking environment
CN104765349B (en) A kind of method and server, control device for managing intelligent home device
CN106909081B (en) Household electrical appliance and expansion platform based on same
US20170180831A1 (en) Smart meter system communication methods
CN111954238A (en) Network distribution method, network distribution device and household appliance
CN106656368A (en) Communication system monitoring method and apparatus
CN103856959A (en) Wireless local area network quality monitoring method, device and system
CN103201761A (en) Physical-quantity information providing system, measurement apparatus, mobile information terminal, method of providing physical-quantity information, method of controlling measurement apparatus, method of controlling mobile information terminal, and
CN110875861B (en) Intelligent networking method and device for home network and storage medium
CN111246557B (en) Method, device, storage medium, processor and system for determining transmitting power
CN105549995B (en) A kind of audio frequency apparatus upgrade method and device
CN105549402A (en) Intelligent household control method and device
CN108055706A (en) wireless network connection control method, device, storage medium and terminal device
CN108761473A (en) Room-size detection method, air conditioner and the computer storage media of air conditioner
CN113904888B (en) Linkage method of air detection equipment and door and window, air detection equipment and door and window
CN116193409A (en) Bluetooth signal receiving method, system, equipment and medium capable of adjusting signal range
CN111966142A (en) Intelligent temperature detection method and device and intelligent control device
US8634382B2 (en) Station device and method of checking communication performance thereof

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