CN109756963B - Method, device and equipment for determining working mode - Google Patents

Method, device and equipment for determining working mode Download PDF

Info

Publication number
CN109756963B
CN109756963B CN201711488691.4A CN201711488691A CN109756963B CN 109756963 B CN109756963 B CN 109756963B CN 201711488691 A CN201711488691 A CN 201711488691A CN 109756963 B CN109756963 B CN 109756963B
Authority
CN
China
Prior art keywords
working mode
state information
threshold
sta
judgment condition
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
CN201711488691.4A
Other languages
Chinese (zh)
Other versions
CN109756963A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Publication of CN109756963A publication Critical patent/CN109756963A/en
Application granted granted Critical
Publication of CN109756963B publication Critical patent/CN109756963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

The embodiment of the application provides a method, a device and equipment for determining a working mode, wherein the method comprises the following steps: acquiring state information of an Access Point (AP) and state information of a workstation (STA) accessed to the AP; and determining the working modes of the AP according to the state information of the AP, the state information of the STA and preset judgment conditions, so that seamless switching between the working modes can be realized, data service is not influenced, a user has no perception, and the receiving and sending functions of data are not influenced.

Description

Method, device and equipment for determining working mode
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, and a device for determining a working mode.
Background
Wireless Fidelity (Wi-Fi) is a technology that can wirelessly connect terminals such as personal computers, mobile phones, and pads to each other. For mobile equipment, cruising ability is an important index, and a Wi-Fi functional module needs larger power consumption, so that power consumption control of the Wi-Fi functional module is particularly important.
At present, the power consumption of the Wi-Fi functional module can be reduced by a method of reducing the Wi-Fi transmission power. Fig. 1 is a flowchart of a method for reducing Wi-Fi power consumption provided in the prior art, as shown in fig. 1, step 101, an Access Point (AP) detects whether power consumption of a Wi-Fi function module needs to be reduced; if yes, executing step 102, reducing the transmission power of the AP, and returning to step 101; if not, executing step 103, and maintaining the normal transmitting power of the Wi-Fi functional module.
However, the method not only can reduce the coverage area of Wi-Fi, but also can cause that the radio frequency index of Wi-Fi does not reach the standard, thereby influencing the data receiving and transmitting function.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for determining working modes, which can realize seamless switching between the working modes, do not affect data services, enable users to have no perception, and do not affect the data receiving and sending functions.
A first aspect of an embodiment of the present application provides a method for determining a working mode, including:
acquiring state information of an AP (access point) and state information of a Station (STA) accessing the AP;
and determining the working mode of the AP according to the state information of the AP, the state information of the STA and a preset judgment condition.
In the scheme, the AP acquires the state information of the AP and the state information of the STA of the access point, the working mode of the AP is determined according to the state information of the AP, the state information of the STA and the preset judgment condition, the working mode of the AP is intelligently identified according to the algorithm in the switching process, and part of receiving access and transmitting access are closed or opened, so that seamless switching between the working modes is realized, data service is not influenced, a user has no perception, the working mode is intelligently and accurately identified by the AP, the AP can be ensured to always work in the best state no matter which working mode is adopted, and the data receiving and transmitting functions are not influenced.
In a possible implementation manner, the operation modes of the AP include a first operation mode, a second operation mode, and a third operation mode;
in the first working mode, the AP opens at least two transmitting paths and at least two receiving paths, and the number of the transmitting paths is the same as that of the receiving paths;
in the second working mode, the AP opens at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths;
in the third operating mode, the AP opens a transmit path and a receive path.
In the above scheme, the working mode of the AP is divided into the first working mode, the second working mode and the third working mode, which is equivalent to dividing the power consumption of the AP into three states, namely high, medium and low, and the AP can be switched among the three states according to a preset algorithm, so that the AP is guaranteed to work in an optimal state all the time while saving the power consumption.
In a possible implementation manner, before the obtaining the state information of the access point AP and the state information of the station STA accessing the AP, the method further includes:
judging whether the AP has an accessed STA or not;
if not, determining the working mode of the AP as the third working mode;
and if so, executing the step of acquiring the state information of the access point AP and the state information of the working station STA accessing the AP.
In the above scheme, when no STA accesses, the operating mode of the AP is switched to the third operating mode with the lowest power consumption, that is, other channels of the AP are all closed, and only one transmitting channel and one receiving channel are reserved, so that power consumption can be saved to the maximum extent, and the lowest power consumption of the AP is ensured.
In a possible implementation manner, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes a signal strength indication RSSI received by the STA, a throughput, a transmission packet error Rate TX PER, a transmission Rate TX Rate, and a signal-to-noise ratio SNR, and the preset determination condition includes a first determination condition, a second determination condition, and a third determination condition;
the first judgment condition comprises that the electric quantity of the AP is smaller than a first threshold value or the temperature of the AP is larger than a second threshold value;
the second determination condition includes that the throughput of the AP is greater than a third threshold;
the third determination condition includes at least one of the following conditions:
the TX PER is greater than a fourth threshold and the TX Rate is less than a fifth threshold
The RSSI is less than a sixth threshold and the throughput is less than a seventh threshold;
the SNR is less than an eighth threshold and the throughput is less than the seventh threshold.
In a possible implementation manner, the determining the operating mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition includes:
judging whether the state information of the AP meets the first judgment condition or not;
if the state information of the AP meets the first judgment condition, judging whether all the STAs accessed to the AP are in an initialization working mode, and under the initialization working mode, starting a transmitting channel and a receiving channel by the STAs; if so, determining that the working mode of the AP is a third working mode; if not, determining that the working mode of the AP is the second working mode;
and if the state information of the AP does not meet the first judgment condition, determining the working mode of the AP according to the state information of the STA, the second judgment condition and the third judgment condition.
In the scheme, whether the state information of the AP meets a first judgment condition is judged; if the state information of the AP meets the first judgment condition, judging whether all the STAs accessed into the AP are in the initialization working mode, if so, determining that the working mode of the AP is a third working mode; if not, determining the working mode of the AP as a second working mode; and if the state information of the AP does not meet the first judgment condition, determining the working mode of the AP according to the state information of the STA, the second judgment condition and the third judgment condition. In this embodiment, when all the access devices are a transmitting path and a receiving path, the operating mode of the AP is set to the third operating mode, other channels of the AP are all closed, and only one transmitting path and one receiving path are reserved, so that power consumption can be saved to the maximum extent, and the lowest power consumption of the AP is ensured; or when the data traffic of the user is not very large, the working mode of the AP is set to the second working mode, and part of the transmission paths are closed, so that balance between performance and power consumption can be performed, and the power consumption of the product is reduced on the premise of ensuring user experience.
In a possible implementation manner, the determining the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition includes:
judging whether each STA accessed to the AP is in the initialization working mode;
if the part of the STAs accessed into the AP is the initialization working mode, determining that the working mode of the AP is the second working mode;
if all the STAs accessed to the AP are the initialization working mode, determining that the working mode of the AP is the third working mode;
and if all the STAs accessed to the AP are not in the initialization working mode, determining the working mode of the AP according to the second judgment condition and the third judgment condition.
In a possible implementation manner, the determining the operating mode of the AP according to the second determination condition and the third determination condition includes:
judging whether the state information of the STA meets the second judgment condition;
if the second judgment condition is met, determining that the working mode of the AP is the first working mode;
if the second judgment condition is not met, judging whether the state information of the STA meets a third judgment condition, and if the third judgment condition is met, determining that the working mode of the AP is the second working mode; and if the third judgment condition is not met, determining that the working mode of the AP is the first working mode.
In the above scheme, whether each STA accessing the AP is in the initialization working mode is determined, if a part of STAs accessing the AP are in the initialization working mode, it is determined that the working mode of the AP corresponding to the STA is the second working mode, if all STAs accessing the AP are in the initialization working mode, it is determined that the working mode of the AP is the third working mode, and if all STAs accessing the AP are not in the initialization working mode, the AP needs to determine the working mode of the AP according to the second determination condition and the third determination condition; and if the second judgment condition is met, determining that the working mode of the AP is the first working mode, and if the second judgment condition is not met, determining that the working mode of the AP is the second working mode if the state information of the STA meets the third judgment condition. When the data flow of the user is not very large, the second working mode is switched to, balance can be carried out between performance and power consumption, the power consumption of the product is reduced on the premise of ensuring user experience, or the AP carries out data transceiving business with the maximum capacity of the first working mode under the scene of high data rate, and the data transceiving performance is ensured.
In a possible implementation manner, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes an RSSI, a throughput, a TX PER, a transmission TX Rate, and an SNR of the STA, and the preset determination condition includes a fourth determination condition and a fifth determination condition;
the fourth judgment condition comprises that the electric quantity of the AP is larger than a first threshold value or the temperature of the AP is smaller than a second threshold value;
the fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold;
the TX PER is less than a ninth threshold and the TX Rate is greater than a tenth threshold;
the RSSI is greater than an eleventh threshold and the throughput is greater than a seventh threshold;
the SNR is greater than a twelfth threshold and the throughput is greater than the seventh threshold.
In a possible implementation manner, the determining the operating mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition includes:
judging whether the state information of the AP meets the fourth judgment condition;
if the fourth judgment condition is met, determining that the working mode of the AP is the first working mode;
if the fourth judgment condition is not met, judging whether the state information of the STA meets the fifth judgment condition, and if the fifth judgment condition is met, determining that the working mode of the AP is the first working mode.
In the above scheme, whether the state information of the AP satisfies a fourth determination condition is determined; if the fourth judgment condition is met, determining the working mode of the AP as the first working mode; if the fourth judgment condition is not met, judging whether the state information of the STA meets a fifth judgment condition, if the fifth judgment condition is met, determining that the working mode of the AP is the first working mode, and carrying out data transceiving service with the maximum capability of the nTnR under the scene of high data rate, so as to ensure the performance and the user experience.
A second aspect of the embodiments of the present application provides a method for determining a working mode, including:
acquiring state information of an Access Point (AP) and state information of a Station (STA) accessed to the AP, wherein the working mode of the AP is a first working mode;
determining the current power consumption of the AP according to the state information of the AP and the state information of the STA;
and if the current power consumption of the AP is smaller than the minimum power consumption value corresponding to the first working mode, switching the AP from the first working mode to a second working mode, wherein the maximum power consumption value corresponding to the second working mode is smaller than the minimum power consumption value corresponding to the first working mode.
In the above scheme, the current power consumption of the AP is smaller than the power consumption minimum corresponding to the first working mode, which is a preset judgment condition, and each working mode of the AP has a corresponding power consumption range, that is, each working mode has a corresponding power consumption maximum and power consumption minimum, when the current power consumption of the AP satisfies the preset judgment condition, the AP automatically switches from the first working mode to the second working mode, which is equivalent to switching from a high-power-consumption working mode to a low-power-consumption working mode, thereby realizing seamless switching between the working modes, not affecting data services, having no perception for users, and saving the power consumption of the AP.
A third aspect of the embodiments of the present application provides a method for determining a working mode, including:
acquiring state information of an Access Point (AP) and state information of a Station (STA) accessed to the AP, wherein the working mode of the AP is a first working mode;
determining the current power consumption of the AP according to the state information of the AP and the state information of the STA;
if the current power consumption of the AP is larger than the maximum power consumption value corresponding to the first working mode, the AP is switched from the first working mode to a second working mode, and the minimum power consumption value corresponding to the second working mode is larger than the maximum power consumption value corresponding to the first working mode.
In the above scheme, the current power consumption of the AP is greater than the power consumption minimum corresponding to the first working mode, which is a preset judgment condition, each working mode of the AP has a corresponding power consumption range, and each working mode of the AP has a corresponding power consumption range, that is, each working mode has a corresponding power consumption maximum and power consumption minimum, when the current power consumption of the AP satisfies the preset judgment condition, the AP automatically switches from the first working mode to the second working mode, which is equivalent to switching from the working mode with low power consumption to the working mode with high power consumption, thereby realizing seamless switching between the working modes, not affecting data services, ensuring no perception of users, and ensuring the data transceiving performance of the AP.
A fourth aspect of the present embodiment provides an apparatus for determining an operating mode, including:
the access point comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the state information of an Access Point (AP) and the state information of a working Station (STA) accessed to the AP;
and the determining module is used for determining the working mode of the AP according to the state information of the AP, the state information of the STA and a preset judgment condition.
In a possible implementation manner, the operation modes of the AP include a first operation mode, a second operation mode, and a third operation mode;
in the first working mode, the AP opens at least two transmitting paths and at least two receiving paths, and the number of the transmitting paths is the same as that of the receiving paths;
in the second working mode, the AP starts at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths;
in the third operating mode, the AP opens a transmit path and a receive path.
In one possible implementation, the apparatus further includes:
the judging module is used for judging whether the AP has an accessed STA or not; if not, determining the working mode of the AP as the third working mode; and if the state information exists, triggering the acquisition module to execute the steps of acquiring the state information of the AP and the state information of the STA (station) accessed to the AP.
In a possible implementation manner, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes a signal strength indication RSSI received by the STA, a throughput, a transmission packet error Rate TX PER, a transmission Rate TX Rate, and a signal-to-noise ratio SNR, and the preset determination condition includes a first determination condition, a second determination condition, and a third determination condition;
the first judgment condition comprises that the electric quantity of the AP is smaller than a first threshold value or the temperature of the AP is larger than a second threshold value;
the second determination condition comprises that a throughput of the AP is greater than a third threshold;
the third determination condition includes at least one of the following conditions:
the TX PER is greater than a fourth threshold and the TX Rate is less than a fifth threshold
The RSSI is less than a sixth threshold and the throughput is less than a seventh threshold;
the SNR is less than an eighth threshold and the throughput is less than the seventh threshold.
In a possible implementation manner, the determining module is specifically configured to determine whether the state information of the AP satisfies the first determination condition;
if the state information of the AP meets the first judgment condition, the determining module judges whether all the STAs accessed to the AP are in an initialization working mode, and the STAs open a transmitting channel and a receiving channel in the initialization working mode; if yes, the determining module determines that the working mode of the AP is a third working mode; if not, the determining module determines that the working mode of the AP is the second working mode;
if the state information of the AP does not satisfy the first determination condition, the determining module determines the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition.
In a possible implementation manner, the determining module determines the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition, including:
the determining module judges whether each STA accessed to the AP is in the initialization working mode;
if part of STAs accessed to the AP are in the initialization working mode, the determining module determines that the working mode of the AP is the second working mode;
if all the STAs accessed to the AP are the initialization working mode, the determining module determines that the working mode of the AP is the third working mode;
if all the STAs accessed to the AP are not in the initialization working mode, the determining module determines the working mode of the AP according to the second judging condition and the third judging condition.
In a possible implementation manner, the determining module determines the operating mode of the AP according to the second determination condition and the third determination condition, including:
the determining module determines whether the state information of the STA satisfies the second determination condition;
if the second judgment condition is met, the determining module determines that the working mode of the AP is the first working mode;
if the second judgment condition is not met, the determining module judges whether the state information of the STA meets the third judgment condition, and if the third judgment condition is met, the determining module determines that the working mode of the AP is the second working mode; if the third judgment condition is not met, the determining module determines that the working mode of the AP is the first working mode.
In a possible implementation manner, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes an RSSI, a throughput, a TX PER, a transmission TX Rate, and an SNR of the STA, and the preset determination condition includes a fourth determination condition and a fifth determination condition;
the fourth judgment condition comprises that the electric quantity of the AP is larger than a first threshold value or the temperature of the AP is smaller than a second threshold value;
the fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold;
the TX PER is less than a ninth threshold and the TX Rate is greater than a tenth threshold;
the RSSI is greater than an eleventh threshold and the throughput is greater than a seventh threshold;
the SNR is greater than a twelfth threshold and the throughput is greater than the seventh threshold.
In a possible implementation manner, the determining module is specifically configured to determine whether the state information of the AP satisfies the fourth determination condition;
if the fourth judgment condition is met, the determining module determines that the working mode of the AP is the first working mode;
if the fourth judgment condition is not met, the determining module judges whether the state information of the STA meets a fifth judgment condition, and if the fifth judgment condition is met, the determining module determines that the working mode of the AP is the first working mode.
For the implementation principle and the beneficial effects of the determining apparatus of the working mode in the fourth aspect of the embodiment of the present application and various possible implementation manners in the fourth aspect, reference may be made to the first aspect, which is not described herein again.
A fifth aspect of embodiments of the present application provides an apparatus, including: a memory, a processor;
a memory; a memory for storing the processor-executable instructions;
wherein the processor is configured to:
acquiring state information of an Access Point (AP) and state information of a Station (STA) accessed to the AP;
and determining the working mode of the AP according to the state information of the AP, the state information of the STA and a preset judgment condition.
In a possible implementation manner, the operation modes of the AP include a first operation mode, a second operation mode, and a third operation mode;
in the first working mode, the AP opens at least two transmitting paths and at least two receiving paths, and the number of the transmitting paths is the same as that of the receiving paths;
in the second working mode, the AP opens at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths;
in the third mode of operation, the PA opens a transmit path and a receive path.
In a possible implementation manner, the processor is further configured to determine whether the AP has an accessed STA;
if not, the processor determines that the working mode of the AP is the third working mode;
and if the state information exists, the processor executes the steps of acquiring the state information of the AP and the state information of the STA of the workstation accessed to the AP.
In a possible implementation manner, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes a signal strength indication RSSI received by the STA, a throughput, a transmission packet error Rate TX PER, a transmission Rate TX Rate, and a signal-to-noise ratio SNR, and the preset determination condition includes a first determination condition, a second determination condition, and a third determination condition;
the first judgment condition comprises that the electric quantity of the AP is smaller than a first threshold value or the temperature of the AP is larger than a second threshold value;
the second determination condition comprises that a throughput of the AP is greater than a third threshold;
the third determination condition includes at least one of the following conditions:
the TX PER is greater than a fourth threshold and the TX Rate is less than a fifth threshold
The RSSI is less than a sixth threshold and the throughput is less than a seventh threshold;
the SNR is less than an eighth threshold and the throughput is less than the seventh threshold.
In a possible implementation manner, the determining, by the processor, the operating mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition includes:
the processor judges whether the state information of the AP meets the first judgment condition;
if the state information of the AP meets the first judgment condition, the processor judges whether all the STAs accessed to the AP are in an initialization working mode, and the STAs open a transmitting channel and a receiving channel in the initialization working mode; if so, the processor determines that the working mode of the AP is a third working mode; if not, the processor determines that the working mode of the AP is the second working mode;
if the state information of the AP does not satisfy the first determination condition, the processor determines the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition.
In a possible implementation manner, the determining, by the processor, the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition includes:
the processor judges whether the working mode of each STA accessed to the AP is the third working mode;
if part of STAs accessed to the AP are in the initialization working mode, the processor determines that the working mode of the AP is the second working mode;
if all the STAs accessed to the AP are the initialization working mode, the processor determines that the working mode of the AP is the third working mode;
and if all the STAs accessed to the AP are not in the initialization working mode, the processor determines the working mode of the AP according to the second judgment condition and the third judgment condition.
In a possible implementation manner, the determining, by the processor, an operating mode of the AP according to the second determination condition and the third determination condition includes:
the processor judges whether the state information of the STA meets the second judgment condition;
if the second judgment condition is met, the processor determines that the working mode of the AP is the first working mode;
if the second judgment condition is not met, the processor judges whether the state information of the STA meets the third judgment condition, and if the third judgment condition is met, the processor determines that the working mode of the AP is the second working mode; if the third judgment condition is not met, the processor determines that the working mode of the AP is the first working mode.
In a possible implementation manner, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes an RSSI, a throughput, a TX PER, a transmission TX Rate, and an SNR of the STA, and the preset determination condition includes a fourth determination condition and a fifth determination condition;
the fourth judgment condition comprises that the electric quantity of the AP is larger than a first threshold value or the temperature of the AP is smaller than a second threshold value;
the fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold;
the TX PER is less than a ninth threshold and the TX Rate is greater than a tenth threshold;
the RSSI is greater than an eleventh threshold and the throughput is greater than a seventh threshold;
the SNR is greater than a twelfth threshold and the throughput is greater than the seventh threshold.
In a possible implementation manner, the determining, by the processor, the operating mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition includes:
the processor judges whether the state information of the AP meets the fourth judgment condition;
if the fourth judgment condition is met, the processor determines that the working mode of the AP is the first working mode;
if the fourth judgment condition is not met, the processor judges whether the state information of the STA meets the fifth judgment condition, and if the fifth judgment condition is met, the processor determines that the working mode of the AP is the first working mode.
For the implementation principle and the beneficial effects of the fifth aspect of the embodiments of the present application, reference may be made to the first aspect, and details are not described herein again.
A sixth aspect of the present application provides an AP comprising at least one processing element (or chip) for performing the methods of the first aspect or the various embodiments of the first aspect.
A seventh aspect of the present application provides a readable storage medium, where an execution instruction is stored in the readable storage medium, and when at least one processor of the AP executes the execution instruction, the AP executes the method for determining the operating mode provided by the first aspect or the various implementations of the first aspect.
An eighth aspect of the present application provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the AP may read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the AP to implement the method for determining an operation mode provided by the first aspect or the various embodiments of the first aspect.
A ninth aspect of the present application provides a network system including the STA and the AP in the above aspect.
Drawings
Fig. 1 is a schematic view of an application scenario of a method for determining a working mode according to an embodiment of the present application;
fig. 2 is a flowchart of a method for determining an operation mode according to an embodiment of the present application;
fig. 3 is a flowchart of a method for determining an operation mode according to another embodiment of the present application;
fig. 4 is a schematic diagram of an operation mode provided in the embodiment of the present application;
fig. 5 is a flowchart of a method for determining an operation mode according to another embodiment of the present application;
fig. 6 is a flowchart of a method for determining an operation mode according to another embodiment of the present application;
fig. 7 is a flowchart of a method for determining an operation mode according to another embodiment of the present application;
FIG. 8 is a flowchart illustrating an example method for determining an operating mode according to yet another embodiment of the present disclosure;
fig. 9 is a flowchart illustrating an example of a method for determining an operation mode according to still another embodiment of the present application;
FIG. 10 is a flowchart illustrating an example method for determining an operating mode according to yet another embodiment of the present application;
fig. 11 is a block diagram of an apparatus for determining an operation mode according to an embodiment of the present application;
fig. 12 is a block diagram of an operation mode determining apparatus according to another embodiment of the present application;
fig. 13 is a block diagram of an apparatus according to an embodiment of the present application.
Detailed Description
Fig. 1 is a schematic diagram of a scenario of a radio Access network, as shown in fig. 1, the scenario includes an Access Point (AP) 101, a Station (STA) 102, an STA103, and an STA104. The AP is a wireless access node, is used for a wireless switch of a wireless network and an access point of a mobile computer user entering a wired network, and is mainly used in broadband families, buildings and parks. The STA is a user terminal, and may be a computer equipped with a wireless network card, or a smart phone, or a mobile or fixed terminal. In the embodiment of the present application, the AP101 may determine the operating mode of the AP1 according to the state information of the AP101, the STA102, the STA103, and the STA104.
Fig. 2 is a flowchart of a method for determining an operating mode according to an embodiment of the present application. The execution subject of the method is AP, as shown in fig. 1, the method includes the following steps:
step 201, acquiring the state information of the AP and the state information of the STA accessing the AP.
The AP state information may include battery power, temperature, and the like of the AP, and the AP may measure its own state information in real time, or may measure its own state information under a certain trigger condition, for example, when a new STA accesses or when an STA exits, the STA measures its own state information. The STA status information may include statistical parameters such as Received Signal Strength Indication (RSSI), throughput (Throughput), transmission packet error Rate (TX PER), transmission Rate (TX Rate), signal-to-Noise Ratio (SNR), and the like. The STA may report the STA status information to the AP periodically, or report the STA status information when receiving a request message sent by the AP, or report the STA status information in other manners.
Optionally, before step 201, as shown in fig. 3, the method may further include the steps of:
step 301, judging whether an AP has an accessed STA; if not, go to step 302; if so, go to step 303.
Step 302, determining the working mode of the AP to be a third working mode.
Optionally, in this embodiment, the operation modes of the AP include a first operation mode, a second operation mode, and a third operation mode; in a first working mode, the AP opens at least two transmitting paths and at least two receiving paths, and the number of the transmitting paths is the same as that of the receiving paths; in a second working mode, the AP opens at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths; in the third mode of operation, the AP opens a transmit path and a receive path.
Fig. 4 is a schematic diagram of an operating mode and a state machine according to an embodiment of the present disclosure, as shown in fig. 4, the first operating mode is a state a (nTnR), the second operating mode is a state B (mTnR), and the third state is a state C (1T 1R); wherein T represents a transmitting path, R represents a receiving path, n and m are both positive integers, and m is smaller than n. The AP may switch between these three modes of operation according to a preset algorithm. The detailed features of these three modes of operation are as follows:
1) State a nTnR:
n transmit paths and n receive paths, where n represents the number of transmit paths and receive paths in a Multiple-Input Multiple-Output (MIMO) technique, and is typically an even number, e.g., 2 × 2mimo and 4 × 4mimo.
The applicable scene is as follows: weak interference environment, high-speed data service scene, etc.
The power consumption characteristics are as follows: the power consumption is high.
Description of the state: in this state, it is necessary to complete transmission of data to be transmitted in the shortest time, and to reduce the operating time of the transmission path and the reception path, thereby reducing power consumption.
2) State B mTnR:
m transmit paths, n receive paths, m < n.
Applicable scenarios are as follows: medium and low speed data service, medium and strong interference environment, overhigh temperature, overlow electric quantity and other scenes.
The power consumption characteristics are as follows: in power consumption.
Description of the state: in this state, part of the transmission path is closed, and power consumption is moderate.
3) State C1T 1R:
1 transmitting path and 1 receiving path.
Applicable scenarios are as follows: the AP has no STA hung down, or the working mode of the STA hung down by the AP is 1T1R and the like.
In this embodiment, the STA is also configured with a corresponding operating mode, the operating mode of the STA may be represented by iTjR, i and j are integers greater than or equal to 1, i represents data of a transmit path opened by the STA, j represents the number of receive paths opened by the STA, and 1T1R is an initialization operating mode, which represents that the STA opens one transmit path and one receive path.
The power consumption characteristics are as follows: the power consumption is low.
Description of the state: in this state, the rest of the transmitting path and the receiving path are closed, only one transmitting path and one receiving path are reserved, and a part of Low Noise Amplifiers (LNAs), (Public-Address systems, PAs) amplifying devices and baseband circuits are closed, so that the power consumption is Low.
In this embodiment, the working mode of the AP is divided into a first working mode, a second working mode and a third working mode, which is equivalent to dividing the working mode of the AP into a high working mode, a medium working mode and a low working mode, and the AP can be switched among the three states according to a preset algorithm, so that the AP is guaranteed to work in an optimal state all the time while power consumption is saved.
And step 303, acquiring the state information of the AP and the state information of the STA of the workstation accessed to the AP.
In this embodiment, the AP may check whether an accessed STA exists every preset time, for example, the AP performs traversal check every x seconds, and if the AP does not have an accessed STA, it indicates that the energy consumption of the AP is the lowest, and it is determined that the operating mode corresponding to the power consumption state of the AP is the third operating mode. If the AP has an accessed STA, the operating mode of the AP needs to be determined according to the state information of the AP and the state information of the STA accessing the AP.
In this embodiment, when no STA accesses, the operating mode of the AP is switched to the lowest operating mode, that is, other channels of the AP are all closed, and only one transmitting channel and one receiving channel are reserved, so that power consumption can be saved to the maximum extent, and the lowest power consumption of the AP is ensured.
Step 202, determining the working mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition.
The preset conditions may be some preset judgment conditions, and are used for judging the power consumption condition of the AP, so as to determine the operating mode of the AP.
In this embodiment, the power consumption states of the AP may include a high power consumption state, a medium power consumption state, a low power consumption state, and other power consumption states may also be set, where the first operating mode corresponds to the high power consumption state, the second operating mode corresponds to the medium power consumption state, and the third operating mode corresponds to the low power consumption state.
In this embodiment, the AP determines a working mode each time an STA is accessed, each working mode has corresponding features and configurations, and the AP may establish a working mode table, where the working mode of the AP corresponding to each STA is recorded in the working mode table, for example, the working mode of the AP corresponding to STA1 is a first working mode, the working mode of the AP corresponding to STA2 is a third working mode, and the working mode of the AP corresponding to STA3 is a second working mode, so that the AP is switched to the first working mode when communicating with STA1, the AP is switched to the third working mode when communicating with STA2, and the AP is switched to the second working mode when communicating with STA 3.
In this embodiment, a corresponding switching condition may be set for each power consumption state, a corresponding relationship between a working mode and the power consumption state is established, the AP determines the current power consumption of the AP according to the state information of the AP and the state information of the STA, determines the power consumption state corresponding to the current power consumption of the AP according to the switching condition, and then determines the working mode of the AP according to the corresponding relationship between the working mode and the power consumption state.
Taking fig. 4 as an example, the state a corresponds to a first working mode, the state B corresponds to a second working mode, and the state C corresponds to a third working mode, and the switching process of the AP between the different working modes is described in the following three cases:
in a first situation, the current operating mode of the AP is a first operating mode, the current power consumption state of the AP is determined according to the state information of the AP and the state information of the STA, and if the current power consumption of the AP meets the switching condition of the state a, for example, the AP needs to open multiple transmitting paths and receiving paths with the same number, the AP continues to be maintained in the first operating mode; if the current power consumption of the AP is lower than the power consumption required by the state A, continuously judging whether the current power consumption of the AP meets the switching condition of the state B or the switching condition of the state C, and if the current power consumption of the AP meets the switching condition of the state B, switching to a second working mode, for example, if the number of the transmitting paths opened by the AP is less than the number of the data of the receiving paths, the current power consumption requirement can be met, and switching to the second working mode; if the current power consumption of the AP meets the switching condition of the state C, the AP is switched to the third operating mode, for example, if the power consumption of the AP is very small, the current power consumption requirement can be met by opening one transmitting path and one receiving path, and the AP is switched to the third operating mode.
In the second case, the current working mode of the AP is the second working mode, the current power consumption of the AP is determined according to the state information of the AP and the state information of the STA, and the second working mode is maintained if the current power consumption of the AP satisfies the switching condition of the state B, for example, the number of the transmission paths opened by the AP is smaller than the number of the data of the reception paths, so that the current power consumption requirement can be satisfied, and the second working mode is maintained. And if the current power consumption of the AP does not satisfy the switching condition of the state B, switching to the first working state, for example, when the AP cannot satisfy the current power consumption requirement in the second working mode, switching to the first working state. If the AP has a plurality of transmission paths and reception paths idle in the second operating mode, for example, the AP has no accessed STA, the AP switches to the third operating state.
And in the third situation, the current working mode of the AP is the third working mode, the current power consumption of the AP is determined according to the state information of the AP and the state information of the STA, and the third working mode is maintained if the current power consumption of the AP meets the switching condition of the state C, for example, if the STA which is not accessed below the AP or the STA which is accessed by the AP both opens a transmitting path and a receiving path, the third working mode is maintained. If the AP cannot meet the current power consumption requirement in the third working mode, judging whether the current power consumption of the AP meets the switching condition of the state A or the switching condition of the state B, and if the current power consumption of the AP meets the switching condition of the state A, switching to the first working mode, for example, if the current power consumption of the AP is high, a plurality of transmitting paths and receiving paths with the same number need to be simultaneously opened, switching to the first working mode; and if the current power consumption of the AP meets the switching condition of the state B, switching to the second working mode, for example, if the AP needs to open part of the transmission paths and all the reception paths, switching to the second working mode.
The method for determining the working mode provided by this embodiment obtains the state information of the AP and the state information of the STA accessing the AP, and determines the working mode of the AP according to the state information of the AP, the state information of the STA, and the preset determination condition, so that the working mode of the AP is intelligently identified according to the algorithm in the switching process of the working mode, and part of the receiving path and the transmitting path are closed or opened, thereby realizing seamless switching between the working modes, without affecting data service, and without sensing by a user.
Fig. 5 is a flowchart of a method for determining an operating mode according to another embodiment of the present application. On the basis of the embodiment shown in fig. 2, the method of this embodiment mainly relates to a method for determining an operating mode of an AP when the power consumption of the AP is low. For example, when the AP recognizes a scenario in which a new STA is accessed, or a scenario in which the AP switches from a higher power consumption operation mode to a lower power consumption operation mode, the method shown in fig. 5 may be used to recognize the operation mode of the AP.
Optionally, in this embodiment, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes an RSSI, a Throughput, a TX PER, a TX Rate, and an SNR of the STA, and the preset determination condition includes a first determination condition, a second determination condition, and a third determination condition.
The first judgment condition includes that the electric quantity (Battery) of the AP is smaller than a first threshold or the Temperature (Temperature) of the AP is greater than a second threshold, the first threshold is a minimum value (min _ threshold) of the electric quantity, and the second threshold is a maximum value (max _ threshold) of the Temperature.
Wherein the second determination condition includes that Throughput of the AP is greater than a third threshold; the third threshold is the maximum throughput (TP _ MAX _ threshold).
Wherein the third judgment condition includes at least one of the following conditions:
the TX PER is larger than a fourth threshold value and the TX Rate is smaller than a fifth threshold value, the fourth threshold value is a maximum packet error Rate (TX _ PER _ max _ threshold), and the fifth threshold value is a maximum speed value (Rate _ max _ threshold);
the RSSI is less than a sixth threshold value and the throughput is less than a seventh threshold value, wherein the sixth threshold value is a signal strength minimum value (RSSI _ min _ threshold), and the seventh threshold value is a throughput minimum value (TP _ min _ threshold);
the SNR is less than an eighth threshold and the throughput is less than a seventh threshold, the eighth threshold being a signal-to-noise minimum (SNR _ min _ threshold) and the seventh threshold being a throughput minimum (TP _ min _ threshold).
As shown in fig. 5, the implementation of step 202 "determining the operating mode of the AP according to the state information of the AP, the state information of the STA, and the preset determination condition" may include the following steps:
step 501, judging whether the state information of the AP meets a first judgment condition; if the status information of the AP satisfies the first determination condition, go to step 502; if the status information of the AP does not satisfy the first determination condition, step 505 is executed.
In this embodiment, if the Battery of the AP < min _ threshold or the Temperature of the AP > max _ threshold, the state information of the AP satisfies the first determination condition, otherwise, the state information of the AP does not satisfy the first determination condition.
Step 502, judging whether all the STAs accessed to the AP are in an initialization working mode, if so, executing step 503; if not, go to step 504.
In the initialization working mode, the STA starts a transmitting channel and a receiving channel.
Step 503, determining the operation mode of the AP to be the third operation mode, and returning to step 501 when the next period comes.
Step 504, determining the operation mode of the AP to be the second operation mode, and returning to step 501 when the next period comes.
If the STA starts 1 transmitting path and 1 receiving path, the STA is in an initialization operating mode.
In this embodiment, when the Battery of the AP < min _ threshold or the Temperature of the AP > max _ threshold, the AP determines the operating mode of each accessed STA, and if all the STAs accessing the AP open a transmitting path and a receiving path, the operating mode of the AP is also set to the third operating mode. And if some or all of the STAs accessed to the AP are not in the initialization working mode, determining that the working mode of the AP is the second working mode.
And 505, determining the working mode of the AP according to the state information of the STA, the second judgment condition and the third judgment condition.
In this embodiment, when the Battery of the AP is greater than or equal to min _ threshold or the Temperature of the AP is less than or equal to max _ threshold, the AP determines the operating mode of the AP corresponding to each STA according to the state information of the STA, the second determination condition and the third determination condition.
The method for determining the operating mode provided in this embodiment determines whether the state information of the AP satisfies a first determination condition; if the state information of the AP meets the first judgment condition, judging whether all the STAs accessed into the AP are in the initialization working mode, if so, determining that the working mode of the AP is the third working mode; if not, determining the working mode of the AP as a second working mode; and if the state information of the AP does not meet the first judgment condition, determining the working mode of the AP according to the state information of the STA, the second judgment condition and the third judgment condition. In this embodiment, when all the access devices are a transmitting path and a receiving path, the operating mode of the AP is set to the third operating mode, other channels of the AP are all closed, and only one transmitting path and one receiving path are reserved, so that power consumption can be saved to the maximum extent, and the lowest power consumption of the AP is ensured; or when the data flow of the user is not very large, the working mode of the AP is set to be the second working mode, and part of transmitting paths are closed, so that balance can be performed between the performance and the power consumption, and the power consumption of the product is reduced on the premise of ensuring the user experience.
Optionally, as shown in fig. 6, the implementation of step 505 may include the following steps:
601, judging whether each STA accessed to the AP is in an initialization working mode, if the STA accessed to the AP is in the initialization working mode, executing 602; if all STAs accessing the AP are in the initialization working mode, go to step 604; if all STAs accessing the AP are not in the initialization operating mode, step 603 is executed.
Step 602, determining the operating mode of the AP to be the second operating mode.
Step 603, determining the working mode of the AP according to the second judgment condition and the third judgment condition.
And step 604, determining that the working mode of the AP is a third working mode.
In this embodiment, when the Battery of the AP is greater than or equal to min _ threshold or the Temperature of the AP is less than or equal to max _ threshold, for each STA accessing the AP, the AP needs to determine whether the STA has only one transmission channel and one reception channel, if a part of STAs accessing the AP are in the initialization working mode, it is determined that the working mode of the AP corresponding to the STA is the second working mode, if all STAs accessing the AP are in the initialization working mode, it is determined that the working mode of the AP is the third working mode, and if all STAs accessing the AP are not in the initialization working mode, the AP needs to determine the working mode of the AP according to the second determination condition and the third determination condition.
Further, as shown in fig. 6, step 603 may include the following steps:
step 6031, determine whether the state information of the STA satisfies a second determination condition; if the second determination condition is satisfied, go to step 6032; if the second determination condition is not satisfied, step 6033 is performed.
In this embodiment, if the Throughput of the STA is greater than TP _ MAX _ threshold, the second determination condition is satisfied, and if the Throughput is less than or equal to TP _ MAX _ threshold, the second determination condition is not satisfied.
Step 6032, determine the operating mode of the AP to be the first operating mode.
In this embodiment, if Throughput of the STA is greater than TP _ MAX _ threshold, which indicates that the AP needs higher power consumption, the operating mode of the AP is determined to be the first operating mode, and in this state, the AP includes n transmit channels and n receive channels, and the power consumption is higher.
Step 6033, determining whether the STA state information satisfies a third determination condition, and if the third determination condition is satisfied, executing step 6034; if the third determination condition is not satisfied, step 6035 is performed.
And step 6034, determining the working mode of the AP to be the second working mode.
Step 6035, determine the operating mode of the AP to be the first operating mode.
In this embodiment, the third determination condition includes a plurality of determination conditions, and the AP determines that at least one of the state information of the STA satisfies the third determination condition, for example, if the AP determines that the TX PER of the STA is > TX _ PER _ max _ threshold & & TX Rate < Rate _ max _ threshold, it determines that the operation mode of the AP is the second operation mode, or if the AP determines that the RSSI of the STA is < RSSI _ min _ threshold & & TX _ threshold < TP _ min _ threshold, it determines that the operation mode of the AP is the second operation mode, and so on.
It should be noted that, after the AP determines the working mode corresponding to one STA each time, it needs to check whether there is any STA that is not checked, if yes, it continues to determine the working mode corresponding to the STA, if all STAs complete traversal, it may further determine whether all STAs include a transmitting channel and a receiving channel, if yes, the working mode of the AP is switched to the third working mode, and if not, each STA is traversed again, and the working mode corresponding to each STA of the AP is determined.
The method for determining the working mode provided in this embodiment determines whether the STA is an initialization working mode, determines that the working mode of the AP corresponding to the STA is a second working mode if a part of the STAs accessing the AP are the initialization working modes, determines that the working mode of the AP is a third working mode if all the STAs accessing the AP are the initialization working modes, and determines that the working mode of the AP is according to a second determination condition and a third determination condition if all the STAs accessing the AP are not the initialization working modes; and if the second judgment condition is met, determining that the working mode of the AP is the first working mode, and if the second judgment condition is not met, determining that the working mode of the AP is the second working mode if the state information of the STA meets the third judgment condition. When the data flow of the user is not very large, the second working mode is switched to, balance can be carried out between performance and power consumption, the power consumption of the product is reduced on the premise of ensuring user experience, or the AP carries out data transceiving business with the maximum capacity of the first working mode under the scene of high data rate, and the data transceiving performance is ensured.
Fig. 7 is a flowchart of a method for determining an operating mode according to another embodiment of the present application. On the basis of the embodiment shown in fig. 2, the method of this embodiment mainly relates to a method for determining an operating mode of an AP when the power consumption of the AP is high. For example, when the AP switches from the low power consumption operation mode to the high power consumption operation mode, the operation mode of the AP may be identified by using the method shown in fig. 7.
Optionally, in this embodiment, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes an RSSI, a throughput, a TX PER, a transmission TX Rate, and an SNR of the STA, and the preset determination condition includes a fourth determination condition and a fifth determination condition;
the fourth judgment condition includes that the electric quantity of the AP is greater than a first threshold or the temperature of the AP is less than a second threshold, the first threshold is a minimum value (min _ threshold) of the electric quantity, and the second threshold is a maximum value (max _ threshold) of the temperature.
The fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold; the third threshold is a maximum throughput (TP _ MAX _ threshold);
TX PER is less than a ninth threshold and TX Rate is greater than a tenth threshold; the ninth threshold is the minimum value of packet error rate (tx _ per _ min _ threshold), the tenth threshold is the minimum value of rate (rate _ min _ threshold);
RSSI is greater than an eleventh threshold and throughput is greater than a seventh threshold; the eleventh threshold is a maximum signal strength value; the seventh threshold is a minimum throughput (TP _ min _ threshold); the eleventh threshold is a maximum signal strength value (rssi _ max _ threshold) and the seventh threshold is a minimum throughput value (TP _ min _ threshold);
the SNR is greater than a twelfth threshold and the throughput is greater than a seventh threshold, the twelfth threshold being a maximum signal-to-noise ratio (SNR _ max _ threshold) and the seventh threshold being a minimum throughput (TP _ min _ threshold).
As shown in fig. 7, the implementation of step 202 "determining the operating mode of the AP according to the state information of the AP, the state information of the STA, and the preset determination condition" may include the following steps:
step 701, judging whether the state information of the AP meets a fourth judgment condition; if the fourth determination condition is satisfied, go to step 702; if the fourth determination condition is not satisfied, step 703 is executed.
In this embodiment, if the button > min _ threshold & & Temperature < max _ threshold of the AP, the state information of the AP satisfies the fourth determination condition; if the Battery of the AP is less than or equal to min _ threshold & & Temperature ≧ max _ threshold, the state information of the AP does not meet the fourth judgment condition.
Step 702, determining the working mode of the AP to be the first working mode.
In this embodiment, if the button > min _ threshold & & Temperature < max _ threshold of the AP, the operation mode of the AP is determined to be the first operation mode.
Step 703, determining whether the state information of the STA satisfies a fifth determination condition, and if the state information of the STA satisfies the fifth determination condition, executing step 704; if the fifth determination condition is not satisfied, step 705 is executed.
Step 704, determining the operating mode of the AP to be the first operating mode.
Step 705, keeping the current working mode of the AP.
In this embodiment, if the Battery of the AP is not greater than min _ threshold & & Temperature is not less than max _ threshold, the AP determines whether the state information of the STA satisfies the fifth determination condition, determines that the operating mode of the AP corresponding to the STA is the first operating mode if the state information of the STA satisfies at least one of the fifth determination conditions, and maintains the current operating mode of the AP if the state information of the STA does not satisfy all the conditions in the fifth determination condition, for example, if the current operating mode of the AP is the second operating mode, determines that the AP does not satisfy all the conditions in the fifth determination condition after the determination, maintains the AP as the second operating mode.
In the method for determining the operating mode provided in this embodiment, it is determined whether the state information of the AP satisfies a fourth determination condition; if the fourth judgment condition is met, determining the working mode of the AP as the first working mode; if the fourth judgment condition is not met, judging whether the state information of the STA meets a fifth judgment condition, if the fifth judgment condition is met, determining that the working mode of the AP is the first working mode, and carrying out data transceiving service with the maximum capability of the nTnR under the scene of high data rate, so as to ensure the performance and the user experience.
Fig. 8 is a flowchart of an example of a method for determining an operating mode according to yet another embodiment of the present application. The method is mainly applied to a scene of identifying the newly accessed STA, the first working mode corresponds to a power consumption state A, the second working mode corresponds to a power consumption state B, the third working mode corresponds to a power consumption state C, and after the power consumption state is determined, the corresponding working mode can be switched to according to the corresponding relation between the working mode and the power consumption state. As shown in fig. 8, the method may include the steps of:
step 801, performing traversal check every preset period, and executing steps 802 to 8016.
Step 802, judging whether the AP has a down-hanging STA, if so, executing step 803 if not; otherwise, go to step 804.
And 803, determining that the power consumption state of the AP is the power consumption state C, and switching the AP to a third working mode corresponding to the power consumption state C.
Step 804, checking whether the AP meets the requirement of Battery < min _ threshold | | Temperature > max _ threshold, if yes, executing step 805, and if not, executing step 807.
Step 805 is to determine whether all STAs suspended from the AP are 1T1R, if yes, step 803 is executed, and if no, step 806 is executed.
Step 806, determining that the power consumption state of the AP is the power consumption state B, and switching the AP to a second working mode corresponding to the power consumption state B.
Step 807, judging whether one of the AP down-hanging STAs is 1T1R, if so, executing step 806; if not, go to step 808.
And 808, acquiring statistical parameters of the STA, such as RSSI, throughput, TX PER, TX Rate, SNR and the like.
Step 809, determining whether the STA satisfies TX Throughput > TP _ MAX _ threshold, if yes, executing step 8010; if not, step 8011 is performed.
Step 8010, it is determined that the power consumption state of the AP is the power consumption state a, and the AP switches to the first operating mode corresponding to the power consumption state a.
Step 8011, determine whether the STA satisfies TX PER > TX _ PER _ max _ threshold & & TX Rate < Rate _ max _ threshold, if yes, execute step 806, otherwise execute step 8012.
Step 8012, determine whether the STA meets RSSI < RSSI _ min _ threshold & & TX threshold < TP _ min _ threshold, if yes, execute step 806, otherwise execute step 8013.
Step 8013, determine whether the STA satisfies SNR < SNR _ min _ threshold & & Throughput < TP _ min _ threshold, if yes, execute step 806, otherwise execute step 8014.
Step 8014, check whether all downward hanging STAs of the AP are traversed and checked, and if not, execute step 8015; if yes, go to step 8016.
Step 8015 checks for the next STA and returns to step 807.
Step 8016, determine whether all the off-hook STAs of the AP are 1T1R, if yes, execute step 803. If not, return to step 801.
In the method for determining the working mode provided in this embodiment, when all the access devices are 1T1R, the AP is set to be the third working mode, other channels of the AP are all closed, and only one transmitting channel and one receiving channel are reserved, so that power consumption can be saved to the maximum extent, and the lowest power consumption of the AP is ensured. When the data flow of the user is not very large, the second working mode is switched to, balance between performance and power consumption can be achieved, and on the premise that user experience is guaranteed, the power consumption of the product is reduced. And in a scene of high data rate, carrying out data transceiving service with the maximum capacity of the third working mode, and ensuring the performance and user experience. By the scheme, the purpose of dynamically controlling the power consumption of the Wi-Fi can be achieved, and meanwhile, the data service of the down-hanging STA cannot be influenced.
Fig. 9 is a flowchart illustrating an example of a method for determining an operation mode according to still another embodiment of the present application. The method is mainly applied to a scene that the AP is switched from the power consumption state A (nTnR) to the power consumption state B (n/2 TnR), namely a scene that high power consumption is switched to a scene that low power consumption is achieved. As shown in fig. 9, the method may include the steps of:
step 901, performing traversal check once every preset period, and executing step 901-step 9010;
step 902, checking whether the AP meets the requirement of Battery < min _ threshold | | Temperature > max _ threshold, if yes, executing step 903; if not, go to step 904.
Step 903, determining that the power consumption state of the AP is the power consumption state B, and switching the AP to a second working mode corresponding to the power consumption state B.
And step 904, obtaining RSSI, throughput, TX PER, TX Rate and SNR statistical parameters of the STA.
Step 905, determine whether the STA satisfies TX Throughput < TP _ min _ threshold, if yes, execute step 903, otherwise execute step 906.
Step 906, determining whether the STA satisfies TX PER > TX _ PER _ max _ threshold & & TX Rate < Rate _ max _ threshold, if yes, executing step 903, otherwise executing step 907.
Step 907, determining whether the STA meets RSSI < RSSI _ min _ threshold & & TX _ output < TP _ min _ threshold, if yes, executing step 903, and if no, executing step 908.
Step 908, determining whether the STA satisfies SNR < SNR _ min _ threshold & & threshold < TP _ min _ threshold, if yes, executing step 903, and if no, executing step 909.
And step 909, judging whether all the downlink STAs of the AP are checked in a traversing manner, if not, executing step 9010, and if so, returning to execute step 901.
Step 9010, check the next STA, and return to step 904.
According to the method for determining the working mode, when the data flow of the user is not very large, the second working mode is switched to, balance between performance and power consumption can be achieved, and on the premise that user experience is guaranteed, the power consumption of a product is reduced. And the AP can intelligently identify the user scene, intelligently and accurately identify the working mode according to the algorithm in the scheme, ensure that the Wi-Fi power consumption always works in the optimal state, ensure that the user service is not influenced, reduce the power consumption and increase the endurance of the product.
Fig. 10 is a flowchart of an example of a method for determining an operating mode according to yet another embodiment of the present application. The first working mode corresponds to the power consumption state A, the second working mode corresponds to the power consumption state B, the third working mode corresponds to the power consumption state C, and after the power consumption state is determined, the corresponding working mode can be switched to according to the corresponding relation between the working modes and the power consumption states. The method is mainly applied to the scene that the AP is switched from the power consumption state B (n/2 TnR) to the power consumption state A (nTnR), namely, the scene of low power consumption is switched to the scene of high power consumption. As shown in fig. 10, the method may include the steps of:
in step 1011, a traversal check is performed every preset period, and steps 1012 to 1020 are performed.
Step 1012, checking whether the AP satisfies the requirement of Battery > min _ threshold & & Temperature < max _ threshold, if yes, returning to step 1011, if no, executing step 1013.
And step 1013, obtaining statistical parameters of RSSI, throughput, TX PER, TX Rate and SNR of the STA.
Step 1014, determining whether the STA satisfies TX throughput > TP _ max _ threshold, if yes, executing step 1015; if not, step 1016 is performed.
Step 1015, determining that the power consumption state of the AP is the power consumption state a, and switching the AP to the first operating mode corresponding to the power consumption state a.
Step 1016, determining whether the STA satisfies TX PER < TX _ PER _ min _ threshold & & TX Rate > Rate _ min _ threshold, if yes, executing step 1015; if not, go to step 1017.
Step 1017, judging whether the STA meets RSSI > RSSI _ max _ threshold & & TX _ output > TP _ min _ threshold, if yes, executing step 1015; if not, go to step 1018.
Step 1018, determining whether the STA satisfies SNR > SNR _ max _ threshold & & threshold > TP _ mid _ threshold, if yes, executing step 1015; if not, go to step 1019.
Step 1019, determining whether all the off-hook STAs of the AP are complete through the traversal check, if yes, returning to step 1011, and if not, performing step 1020.
Step 1020, the next STA is checked, and the process returns to step 1013.
The method for determining the working mode provided by this embodiment performs a data transceiving service with the maximum capability of nTnR in a high data rate scenario, so as to ensure performance and user experience, achieve the purpose of dynamically controlling Wi-Fi power consumption, and simultaneously, do not affect the data service of the off-hook STA.
Fig. 11 is a block diagram of an apparatus for determining an operating mode according to an embodiment of the present application, and as shown in fig. 11, the apparatus includes:
the obtaining module 11 is configured to obtain state information of an access point AP and state information of a station STA accessing the AP;
the determining module 12 is configured to determine an AP operating mode according to the AP state information, the STA state information, and a preset determination condition.
Optionally, the operation modes of the AP include a first operation mode, a second operation mode, and a third operation mode; in a first working mode, the AP opens at least two transmitting paths and at least two receiving paths, and the number of the transmitting paths is the same as that of the receiving paths; in a second working mode, the AP opens at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths; in the third mode of operation, the AP opens a transmit path and a receive path.
Fig. 12 is a block diagram of an apparatus for determining an operation mode according to another embodiment of the present application, and based on the embodiment shown in fig. 11, as shown in fig. 12, the apparatus further includes:
the judging module 13 is configured to judge whether the AP has an accessed STA; if not, determining the working mode of the AP as a third working mode; if the state information exists, the acquiring module 11 is triggered to execute the step of acquiring the state information of the access point AP and the state information of the station STA accessing the AP.
Optionally, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes a signal strength indication RSSI received by the STA, a throughput, a transmission packet error Rate TX PER, a transmission Rate TX Rate, and a signal-to-noise ratio SNR, and the preset determination condition includes a first determination condition, a second determination condition, and a third determination condition;
the first judgment condition comprises that the electric quantity of the AP is smaller than a first threshold value or the temperature of the AP is larger than a second threshold value;
the second determination condition includes that the throughput of the AP is greater than a third threshold;
the third determination condition includes at least one of the following conditions:
TX PER is greater than a fourth threshold and TX Rate is less than a fifth threshold
The RSSI is less than a sixth threshold value and the throughput is less than a seventh threshold value;
the SNR is less than an eighth threshold and the throughput is less than a seventh threshold.
Optionally, the determining module 12 is specifically configured to determine whether the state information of the AP satisfies a first determination condition;
if the state information of the AP meets the first judgment condition, the determining module 12 judges whether all STAs accessing the AP are in the initialization working mode, and if so, the determining module 12 determines that the working mode of the AP is the third working mode; if not, the determining module 12 determines that the working mode of the AP is the second working mode;
if the state information of the AP does not satisfy the first determination condition, the determining module 12 determines the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition.
Optionally, the determining module 12 determines the operating mode of the AP according to the state information of the STA, the second judgment condition, and the third judgment condition, including:
the determining module 12 determines whether each STA accessing the AP is in an initialization operating mode; in an initialization working mode, the STA opens a transmitting path and a receiving path;
if part of the STAs accessed to the AP is in the initialization working mode, the determining module 12 determines that the working mode of the AP is the second working mode;
if all the STAs accessing the AP are in the initialization working mode, the determining module 12 determines that the working mode of the AP is the third working mode;
if all STAs accessing the AP are not in the initialized working mode, the determining module 12 determines the working mode of the AP according to the second determining condition and the third determining condition.
Optionally, the determining module 12 determines the operating mode of the AP according to the second judgment condition and the third judgment condition, including:
the determination module 12 determines whether the state information of the STA satisfies a second determination condition;
if the second judgment condition is met, the determining module 12 determines that the working mode of the AP is the first working mode;
if the second judgment condition is not met, the determining module 12 judges whether the state information of the STA meets a third judgment condition, and if the third judgment condition is met, the determining module 12 determines that the operating mode of the AP is the second operating mode; if the third determination condition is not satisfied, the determining module 12 determines that the working mode of the AP is the first working mode.
Optionally, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes an RSSI, a throughput, a TX PER, a transmission TX Rate, and an SNR of the STA, and the preset determination condition includes a fourth determination condition and a fifth determination condition;
the fourth judgment condition comprises that the electric quantity of the AP is larger than the first threshold value or the temperature of the AP is smaller than the second threshold value;
the fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold;
TX PER is less than the ninth threshold and TX Rate is greater than the tenth threshold;
RSSI is greater than an eleventh threshold and throughput is greater than a seventh threshold;
the SNR is greater than a twelfth threshold and the throughput is greater than a seventh threshold.
Optionally, the determining module 12 is specifically configured to determine whether the state information of the AP satisfies a fourth determination condition;
if the fourth judgment condition is met, the determining module 12 determines that the working mode of the AP is the first working mode;
if the fourth judgment condition is not satisfied, the determining module 12 judges whether the state information of the STA satisfies the fifth judgment condition, and if the fifth judgment condition is satisfied, the determining module 12 determines that the operating mode of the AP is the first operating mode.
The device for determining a working mode provided in this embodiment may be configured to implement the technical solution of the method for determining a working mode in any of the foregoing method embodiments, and the implementation principle and technical effect of the device are similar to those of the method embodiments, and are not described herein again.
Fig. 13 is a block diagram of an apparatus provided in an embodiment of the present application, as shown in fig. 13, the apparatus includes: a memory 21, a processor 22;
a memory 21; for storing processor 22 executable instructions;
wherein the processor 22 is configured to:
acquiring state information of an Access Point (AP) and state information of a workstation (STA) accessed to the AP;
and determining the working mode of the AP according to the state information of the AP, the state information of the STA and a preset judgment condition.
Optionally, as shown in fig. 13, the apparatus may further include a receiver 23, a transmitter 24, and a bus. The transmitter 24 is used for transmitting data to other devices, the receiver 23 is used for receiving data transmitted by other devices, and the bus is used for communication.
Optionally, the operation modes of the AP include a first operation mode, a second operation mode, and a third operation mode;
in a first working mode, the AP opens at least two transmitting paths and at least two receiving paths, and the number of the transmitting paths is the same as that of the receiving paths;
in a second working mode, the AP opens at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths;
in the third mode of operation, the AP opens a transmit path and a receive path.
Optionally, the processor 22 is further configured to determine whether an AP has an accessed STA;
if not, the processor 22 determines that the working mode of the AP is the third working mode;
if so, the processor 22 performs the step of acquiring the state information of the access point AP and the state information of the station STA accessing the AP.
Optionally, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes a signal strength indication RSSI received by the STA, a throughput, a transmission packet error Rate TX PER, a transmission Rate TX Rate, and a signal to noise ratio SNR, and the preset determination conditions include a first determination condition, a second determination condition, and a third determination condition;
the first judgment condition comprises that the electric quantity of the AP is smaller than a first threshold value or the temperature of the AP is larger than a second threshold value;
the second determination condition includes that the throughput of the AP is greater than a third threshold;
the third determination condition includes at least one of the following conditions:
TX PER is greater than fourth threshold and TX Rate is less than fifth threshold
The RSSI is less than a sixth threshold value and the throughput is less than a seventh threshold value;
the SNR is less than an eighth threshold and the throughput is less than a seventh threshold.
Optionally, the processor 22 determines the operating mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition, including:
processor 22 determines whether the state information of the AP satisfies a first determination condition;
if the state information of the AP satisfies the first determination condition, the processor 22 determines whether all STAs accessing the AP are in an initialization working mode, and in the initialization working mode, the STAs open a transmitting path and a receiving path; if yes, the processor 22 determines that the working mode of the AP is the third working mode; if not, the processor 22 determines that the working mode of the AP is the second working mode;
if the state information of the AP does not satisfy the first determination condition, the processor 22 determines the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition.
Optionally, the processor 22 determines the operation mode of the AP according to the state information of the STA, the second determination condition and the third determination condition, including:
the processor 22 determines whether each STA accessing the AP is in the initialization operating mode;
if part of the STAs accessed to the AP are in the initialization working mode, the processor 22 determines that the working mode of the AP is the second working mode;
if all the STAs accessing the AP are in the initialization working mode, the processor 22 determines that the working mode of the AP is the third working mode;
if all the STAs accessing the AP are not in the initialization working mode, the processor 22 determines the working mode of the AP according to the second judgment condition and the third judgment condition.
Optionally, the processor 22 determines the operation mode of the AP according to the second determination condition and the third determination condition, including:
processor 22 determines whether the state information of the STA satisfies a second determination condition;
if the second determination condition is satisfied, the processor 22 determines that the operating mode of the AP is the first operating mode;
if the second judgment condition is not met, the processor 22 judges whether the state information of the STA meets a third judgment condition, and if the third judgment condition is met, the processor 22 determines that the working mode of the AP is the second working mode; if the third determination condition is not satisfied, the processor 22 determines that the operating mode of the AP is the first operating mode.
Optionally, the state information of the AP includes an electric quantity of the AP and a temperature of the AP, the state information of the STA includes an RSSI, a throughput, a TX PER, a transmission TX Rate, and an SNR of the STA, and the preset determination condition includes a fourth determination condition and a fifth determination condition;
the fourth judgment condition comprises that the electric quantity of the AP is larger than the first threshold value or the temperature of the AP is smaller than the second threshold value;
the fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold;
TX PER is less than a ninth threshold and TX Rate is greater than a tenth threshold;
RSSI is greater than an eleventh threshold and throughput is greater than a seventh threshold;
the SNR is greater than a twelfth threshold and the throughput is greater than a seventh threshold.
Optionally, the processor 22 determines the operating mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition, including:
processor 22 determines whether the status information of the AP satisfies a fourth determination condition;
if the fourth judgment condition is met, the processor 22 determines that the working mode of the AP is the first working mode;
if the fourth determination condition is not satisfied, the processor 22 determines whether the state information of the STA satisfies the fifth determination condition, and if the fifth determination condition is satisfied, the processor 22 determines that the operating mode of the AP is the first operating mode.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (optical disk), and any combination thereof.
The device provided in this embodiment may be configured to execute the technical solution of the method for determining the working mode in any of the foregoing method embodiments, and the implementation principle and technical effect of the device are similar to those of the method embodiments, and are not described herein again.
The present application also provides an AP comprising at least one processing element (or chip) configured to perform the method of any of the embodiments of fig. 2-10 described above.
The present application further provides a readable storage medium, in which an execution instruction is stored, and when at least one processor of the AP executes the execution instruction, the AP executes the method for determining the operation mode according to any one of the embodiments of fig. 2 to 10.
The present application also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the AP may read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the AP to implement the method for determining the operation mode according to any one of the embodiments of fig. 2 to 10.
The present application further provides a network system, which includes the STA and the AP in the above embodiment.

Claims (15)

1. A method for determining an operating mode, comprising:
judging whether a working station STA accessed to an AP exists in the AP or not; if not, determining that the working mode of the AP is a third working mode, and under the third working mode, starting a transmitting path and a receiving path by the AP; if yes, acquiring the state information of the AP and the state information of the STA;
determining a working mode of the AP according to the state information of the AP, the state information of the STA and a preset judgment condition;
the state information of the AP comprises the electric quantity of the AP and the temperature of the AP, the state information of the STA comprises the received signal strength indication RSSI, the sending packet error Rate TX, the sending Rate TX Rate and the signal to noise ratio SNR of the STA, and the preset judgment conditions comprise a fourth judgment condition and a fifth judgment condition;
the fourth judgment condition comprises that the electric quantity of the AP is larger than a first threshold value or the temperature of the AP is smaller than a second threshold value;
the fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold;
the TX PER is less than a ninth threshold and the TX Rate is greater than a tenth threshold;
the RSSI is greater than an eleventh threshold and the throughput is greater than a seventh threshold;
the SNR is greater than a twelfth threshold and the throughput is greater than the seventh threshold;
determining the working mode of the AP according to the state information of the AP, the state information of the STA and a preset judgment condition, wherein the determining the working mode comprises the following steps:
judging whether the state information of the AP meets the fourth judgment condition or not;
if the fourth judgment condition is met, determining that the working mode of the AP is a first working mode;
if the fourth judgment condition is not met, judging whether the state information of the STA meets the fifth judgment condition, and if the fifth judgment condition is met, determining that the working mode of the AP is the first working mode; in the first working mode, the AP opens at least two transmission paths and at least two reception paths, and the number of the transmission paths is the same as the number of the reception paths.
2. The method according to claim 1, wherein the preset judgment conditions further comprise a first judgment condition, a second judgment condition and a third judgment condition;
the first judgment condition comprises that the electric quantity of the AP is smaller than a first threshold value or the temperature of the AP is larger than a second threshold value;
the second determination condition includes that the throughput of the AP is greater than a third threshold;
the third determination condition includes at least one of the following conditions:
the TX PER is greater than a fourth threshold and the TX Rate is less than a fifth threshold;
the RSSI is less than a sixth threshold and the throughput is less than a seventh threshold;
the SNR is less than an eighth threshold and the throughput is less than the seventh threshold.
3. The method according to claim 2, wherein the determining the operating mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition includes:
judging whether the state information of the AP meets the first judgment condition or not;
if the state information of the AP meets the first judgment condition, judging whether all the STAs accessed to the AP are in an initialization working mode, and opening a transmitting path and a receiving path by the STAs in the initialization working mode; if so, determining that the working mode of the AP is a third working mode; if not, determining that the working mode of the AP is a second working mode; in the second working mode, the AP opens at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths;
and if the state information of the AP does not meet the first judgment condition, determining the working mode of the AP according to the state information of the STA, the second judgment condition and the third judgment condition.
4. The method according to claim 3, wherein the determining the operating mode of the AP according to the state information of the STA, the second determination condition and the third determination condition comprises:
judging whether each STA accessed to the AP is in the initialization working mode;
if part of STAs accessed to the AP are in the initialization working mode, determining that the working mode of the AP is the second working mode;
if all the STAs accessed to the AP are the initialization working mode, determining that the working mode of the AP is the third working mode;
and if all the STAs accessed to the AP are not in the initialization working mode, determining the working mode of the AP according to the second judgment condition and the third judgment condition.
5. The method according to claim 4, wherein the determining the operating mode of the AP according to the second determination condition and the third determination condition comprises:
judging whether the state information of the STA meets the second judgment condition;
if the second judgment condition is met, determining that the working mode of the AP is the first working mode;
if the second judgment condition is not met, judging whether the state information of the STA meets the third judgment condition, and if the third judgment condition is met, determining that the working mode of the AP is the second working mode; and if the third judgment condition is not met, determining that the working mode of the AP is the first working mode.
6. An apparatus for determining an operation mode, comprising:
the judging module is used for judging whether the access point AP has a working station STA accessed to the AP or not; if not, determining that the working mode of the AP is a third working mode, and under the third working mode, starting a transmitting path and a receiving path by the AP; if the AP exists, an acquisition module is triggered to acquire the state information of the AP and the state information of the STA;
the acquisition module is used for acquiring the state information of the AP and the state information of the STA;
the determining module is used for determining the working mode of the AP according to the state information of the AP, the state information of the STA and a preset judging condition; the state information of the AP comprises the electric quantity of the AP and the temperature of the AP, the state information of the STA comprises the received signal strength indication RSSI, the sending packet error Rate TX PER, the sending Rate TX Rate and the signal-to-noise ratio SNR of the STA, and the preset judgment condition comprises a fourth judgment condition and a fifth judgment condition;
the fourth judgment condition comprises that the electric quantity of the AP is larger than a first threshold value or the temperature of the AP is smaller than a second threshold value;
the fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold;
the TX PER is less than a ninth threshold and the TX Rate is greater than a tenth threshold;
the RSSI is greater than an eleventh threshold and the throughput is greater than a seventh threshold;
the SNR is greater than a twelfth threshold and the throughput is greater than the seventh threshold;
the determining module is specifically configured to:
judging whether the state information of the AP meets the fourth judgment condition;
if the fourth judgment condition is met, determining that the working mode of the AP is a first working mode;
if the state information of the STA does not meet the fourth judgment condition, judging whether the state information of the STA meets a fifth judgment condition, and if the state information of the STA meets the fifth judgment condition, determining that the working mode of the AP is the first working mode; in the first working mode, the AP opens at least two transmission paths and at least two reception paths, and the number of the transmission paths is the same as the number of the reception paths.
7. The apparatus according to claim 6, wherein the preset judgment conditions further comprise a first judgment condition, a second judgment condition and a third judgment condition;
the first judgment condition comprises that the electric quantity of the AP is smaller than a first threshold value or the temperature of the AP is larger than a second threshold value;
the second determination condition includes that the throughput of the AP is greater than a third threshold;
the third determination condition includes at least one of the following conditions:
the TX PER is greater than a fourth threshold and the TX Rate is less than a fifth threshold
The RSSI is less than a sixth threshold and the throughput is less than a seventh threshold;
the SNR is less than an eighth threshold and the throughput is less than the seventh threshold.
8. The apparatus according to claim 7, wherein the determining module is specifically configured to determine whether the status information of the AP satisfies the first determination condition;
if the state information of the AP meets the first judgment condition, the determining module judges whether all the STAs accessed to the AP are in an initialization working mode, and a transmitting path and a receiving path are opened in the initialization working mode; if yes, the determining module determines that the working mode of the AP is a third working mode; if not, the determining module determines that the working mode of the AP is a second working mode; in the second working mode, the AP opens at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths;
if the state information of the AP does not satisfy the first determination condition, the determining module determines the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition.
9. The apparatus of claim 8, wherein the determining module determines the operating mode of the AP according to the STA status information, the second determination condition, and the third determination condition, and comprises:
the determining module judges whether each STA accessed to the AP is in the initialization working mode;
if part of STAs accessed to the AP are in the initialization working mode, the determining module determines that the working mode of the AP is the second working mode;
if all the STAs accessed to the AP are the initialization working mode, the determining module determines that the working mode of the AP is the third working mode;
if all the STAs accessed to the AP are not in the initialization working mode, the determining module determines the working mode of the AP according to the second judging condition and the third judging condition.
10. The apparatus of claim 9, wherein the determining module determines the operating mode of the AP according to the second determination condition and the third determination condition, and comprises:
the determining module determines whether the state information of the STA satisfies the second determination condition;
if the second judgment condition is met, the determining module determines that the working mode of the AP is the first working mode;
if the second judgment condition is not met, the determining module judges whether the state information of the STA meets the third judgment condition, and if the third judgment condition is met, the determining module determines that the working mode of the AP is the second working mode; if the third judgment condition is not met, the determining module determines that the working mode of the AP is the first working mode.
11. A communication device, comprising: a memory, a processor;
a memory; a memory for storing the processor-executable instructions;
wherein the processor is configured to:
judging whether a working station STA accessed to an AP exists in the AP or not; if not, the processor determines that the working mode of the AP is a third working mode, and the AP opens a transmitting path and a receiving path under the third working mode; if yes, the processor acquires the state information of the AP and the state information of the STA;
determining the working mode of the AP according to the state information of the AP, the state information of the STA and a preset judgment condition; the state information of the AP comprises the electric quantity of the AP and the temperature of the AP, the state information of the STA comprises the received signal strength indication RSSI, the sending packet error Rate TX PER, the sending Rate TX Rate and the signal-to-noise ratio SNR of the STA, and the preset judgment condition comprises a fourth judgment condition and a fifth judgment condition;
the fourth judgment condition comprises that the electric quantity of the AP is larger than a first threshold value or the temperature of the AP is smaller than a second threshold value;
the fifth judgment condition includes at least one of the following conditions:
the throughput is greater than a third threshold;
the TX PER is less than a ninth threshold and the TX Rate is greater than a tenth threshold;
the RSSI is greater than an eleventh threshold and the throughput is greater than a seventh threshold;
the SNR is greater than a twelfth threshold and the throughput is greater than the seventh threshold;
the processor determines the working mode of the AP according to the state information of the AP, the state information of the STA and a preset judgment condition, and the method comprises the following steps:
judging whether the state information of the AP meets the fourth judgment condition or not;
if the fourth judgment condition is met, determining that the working mode of the AP is a first working mode;
if the state information of the STA does not meet the fourth judgment condition, judging whether the state information of the STA meets a fifth judgment condition, and if the state information of the STA meets the fifth judgment condition, determining that the working mode of the AP is the first working mode; in the first working mode, the AP opens at least two transmission paths and at least two reception paths, and the number of the transmission paths is the same as the number of the reception paths.
12. The apparatus according to claim 11, wherein the preset determination conditions further include a first determination condition, a second determination condition, and a third determination condition;
the first judgment condition comprises that the electric quantity of the AP is smaller than a first threshold value or the temperature of the AP is larger than a second threshold value;
the second determination condition comprises that a throughput of the AP is greater than a third threshold;
the third determination condition includes at least one of the following conditions:
the TX PER is greater than a fourth threshold and the TX Rate is less than a fifth threshold
The RSSI is less than a sixth threshold and the throughput is less than a seventh threshold;
the SNR is less than an eighth threshold and the throughput is less than the seventh threshold.
13. The apparatus according to claim 12, wherein the processor determines the operating mode of the AP according to the state information of the AP, the state information of the STA, and a preset determination condition, and includes:
the processor judges whether the state information of the AP meets the first judgment condition;
if the state information of the AP meets the first judgment condition, the processor judges whether all the STAs accessed to the AP are in an initialization working mode, and a transmitting path and a receiving path are opened in the initialization working mode; if so, the processor determines that the working mode of the AP is a third working mode; if not, the processor determines that the working mode of the AP is a second working mode; in the second working mode, the AP opens at least one transmitting path and at least two receiving paths, and the number of the transmitting paths is less than that of the receiving paths;
if the state information of the AP does not meet the first judgment condition, the processor determines the working mode of the AP according to the state information of the STA, the second judgment condition and the third judgment condition.
14. The apparatus of claim 13, wherein the processor determines the operating mode of the AP according to the state information of the STA, the second determination condition, and the third determination condition, and comprises:
the processor judges whether each STA accessed to the AP is in the initialization working mode;
if the part of the STAs accessed into the AP is in the initialization working mode, the processor determines that the working mode of the AP is in the second working mode;
if all the STAs accessed to the AP are the initialization working mode, the processor determines that the working mode of the AP is the third working mode;
and if all the STAs accessed to the AP are not in the initialization working mode, the processor determines the working mode of the AP according to the second judgment condition and the third judgment condition.
15. The apparatus of claim 14, wherein the processor determines the operating mode of the AP according to the second determination condition and the third determination condition, comprising:
the processor judges whether the state information of the STA meets the second judgment condition;
if the second judgment condition is met, the processor determines that the working mode of the AP is the first working mode;
if the second judgment condition is not met, the processor judges whether the state information of the STA meets the third judgment condition, and if the third judgment condition is met, the processor determines that the working mode of the AP is the second working mode; if the third judgment condition is not met, the processor determines that the working mode of the AP is the first working mode.
CN201711488691.4A 2017-11-02 2017-12-29 Method, device and equipment for determining working mode Active CN109756963B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017110607014 2017-11-02
CN201711060701 2017-11-02

Publications (2)

Publication Number Publication Date
CN109756963A CN109756963A (en) 2019-05-14
CN109756963B true CN109756963B (en) 2023-02-28

Family

ID=66401747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711488691.4A Active CN109756963B (en) 2017-11-02 2017-12-29 Method, device and equipment for determining working mode

Country Status (1)

Country Link
CN (1) CN109756963B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601340B (en) * 2020-03-25 2023-08-08 普联技术有限公司 Wireless roaming method, device, wireless access point and computer storage medium
CN111918419B (en) * 2020-07-24 2021-11-30 深圳市云洲创新科技有限公司 Wireless communication method, device, equipment and storage medium
CN114222333B (en) * 2020-07-28 2022-11-25 华为技术有限公司 Wireless data transmission method, equipment, storage medium and chip system
CN112260734B (en) * 2020-09-30 2022-05-31 深圳市广和通无线通信软件有限公司 MIMO function switching method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215510A (en) * 2010-04-02 2011-10-12 华为技术有限公司 Terminal and method for measuring signal by same
CN103916946A (en) * 2013-01-04 2014-07-09 中国移动通信集团公司 Method and device for adjusting transmission power of portable wireless gateway
CN104113865A (en) * 2013-04-17 2014-10-22 中国移动通信集团公司 Wireless local area network access device AP state adjusting method, device, and system
US8934390B2 (en) * 2012-09-28 2015-01-13 Stmicroelectronics, Inc. Enhancement of low power medium access STAs
WO2015196446A1 (en) * 2014-06-27 2015-12-30 华为技术有限公司 Energy saving method and wake-up method for wireless ap, related device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843753B (en) * 2011-06-24 2015-10-14 鼎桥通信技术有限公司 Use power-saving method and the base station of the base station of smart antenna

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215510A (en) * 2010-04-02 2011-10-12 华为技术有限公司 Terminal and method for measuring signal by same
US8934390B2 (en) * 2012-09-28 2015-01-13 Stmicroelectronics, Inc. Enhancement of low power medium access STAs
CN103916946A (en) * 2013-01-04 2014-07-09 中国移动通信集团公司 Method and device for adjusting transmission power of portable wireless gateway
CN104113865A (en) * 2013-04-17 2014-10-22 中国移动通信集团公司 Wireless local area network access device AP state adjusting method, device, and system
WO2015196446A1 (en) * 2014-06-27 2015-12-30 华为技术有限公司 Energy saving method and wake-up method for wireless ap, related device and system

Also Published As

Publication number Publication date
CN109756963A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
US9179417B2 (en) Method, apparatus, and terminal for wireless network connection
CN109756963B (en) Method, device and equipment for determining working mode
CN105075370B (en) The user equipment and method of distributed channel access for D2D communication
US20180227787A1 (en) Prediction of Quality of Service of a Possible Future Connection of a Device to a Wireless Network
EP3072333B1 (en) Dynamically adjusting roaming parameters
US10110294B2 (en) Adaptive use of receiver diversity
US20150327138A1 (en) Apparatus and method for auto link change in wireless communication device
US9055485B2 (en) Operating method of wireless access point device and wireless access point device
US8565686B2 (en) Power status multipath search window sizing for wireless communications
EP2941060B1 (en) Network access method, device, and system
KR102126614B1 (en) Wake-up-radio link adaptation
US20190132794A1 (en) Transmission Mode Switching Method and Apparatus
US20220345280A1 (en) Data transmission methods and apparatuses, and storage media
CN103249133B (en) Control method and the mobile terminal thereof of long-term evolving network antenna power
US20170353961A1 (en) Managing Radio Utilization of an Access Point
WO2022052608A1 (en) Srs transmission method, terminal, and storage medium
Saputra et al. E-MICE: Energy-efficient concurrent exploitation of multiple Wi-Fi radios
CN108633032A (en) Transmit method, apparatus, terminal device and the access network equipment of RRC information
CN108174353B (en) Transmission control method and device
CN114080847A (en) Data receiving and transmitting method and device, communication equipment and storage medium
CN105766024A (en) Transmission mode switching method and base station
CN103096522B (en) Base station, the method for controlling communication terminal, communication terminal and its operating method
WO2022204874A1 (en) Power consumption control method, and wireless local area network communication apparatus
CN107431940A (en) For the method and apparatus for the covering for controlling up-link in a wireless communication system
CN116800292A (en) Wireless device and signal processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant before: Huawei terminal (Dongguan) Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant