Method for regulating transmit power and wireless routing device
First Claim
1. A method for regulating transmit power, comprising:
- determining, by a smart phone, a data type of to-be-transmitted data according to identification information in a data frame of the to-be-transmitted data, wherein the data type comprises uplink data or downlink data;
when the data type of the to-be-transmitted data is the uplink data, selecting, by the smart phone, first transmit power to send the to-be-transmitted data on a preset channel Channel, wherein the first transmit power is transmit power of a radio wave in a process that the smart phone serving as an STA sends data to an AP node; and
when the data type of the to-be-transmitted data is the downlink data, selecting, by the smart phone, second transmit power to send the to-be-transmitted data on the preset channel Channel, wherein the second transmit power is transmit power of a radio wave in a process that the smart phone serving as an AP sends data to an STA node;
wherein the determining, by the smart phone, the data type of the to-be-transmitted data comprises;
acquiring, by the smart phone, identification information of the to-be-transmitted data, wherein the identification information comprises a basic structure type of the to-be-transmitted data or a source address of the to-be-transmitted data; and
if the identification information is the basic structure type of the to-be-transmitted data, determining, by the smart phone and according to the basic structure type of the to-be-transmitted data, the data type of the to-be-transmitted data, wherein the basic structure type comprises a field used to indicate that the to-be-transmitted data is the uplink data or the downlink data; and
if the identification information is the source address of the to-be-transmitted data, determining, by the smart phone and according to the source address, a working mode of the smart phone, and determining, according to the working mode of the smart phone, the data type of the to-be-transmitted data, wherein the working mode comprises;
an STA mode or an AP mode, whereinin the STA mode, the data type of the to-be-transmitted data is the uplink data; and
in the AP mode, the data type of the to-be-transmitted data is the downlink data.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention disclose a method for regulating transmit power and a wireless routing device, which relate to the field of wireless communications technologies, and can adjust transmit power according to a current work category of a wireless routing device in a wireless local area network, thereby ensuring transmission strength of a radio wave or saving electrical energy, and improving user experience. The method in the present invention includes: determining, by a wireless routing device, a data type of to-be-transmitted data; when the data type of the to-be-transmitted data is uplink data, selecting, by the wireless routing device, first transmit power to send the to-be-transmitted data on a preset channel Channel; and when the data type of the to-be-transmitted data is downlink data, selecting, by the wireless routing device, second transmit power to send the to-be-transmitted data on the preset channel Channel.
27 Citations
6 Claims
-
1. A method for regulating transmit power, comprising:
-
determining, by a smart phone, a data type of to-be-transmitted data according to identification information in a data frame of the to-be-transmitted data, wherein the data type comprises uplink data or downlink data; when the data type of the to-be-transmitted data is the uplink data, selecting, by the smart phone, first transmit power to send the to-be-transmitted data on a preset channel Channel, wherein the first transmit power is transmit power of a radio wave in a process that the smart phone serving as an STA sends data to an AP node; and when the data type of the to-be-transmitted data is the downlink data, selecting, by the smart phone, second transmit power to send the to-be-transmitted data on the preset channel Channel, wherein the second transmit power is transmit power of a radio wave in a process that the smart phone serving as an AP sends data to an STA node; wherein the determining, by the smart phone, the data type of the to-be-transmitted data comprises; acquiring, by the smart phone, identification information of the to-be-transmitted data, wherein the identification information comprises a basic structure type of the to-be-transmitted data or a source address of the to-be-transmitted data; and if the identification information is the basic structure type of the to-be-transmitted data, determining, by the smart phone and according to the basic structure type of the to-be-transmitted data, the data type of the to-be-transmitted data, wherein the basic structure type comprises a field used to indicate that the to-be-transmitted data is the uplink data or the downlink data; and if the identification information is the source address of the to-be-transmitted data, determining, by the smart phone and according to the source address, a working mode of the smart phone, and determining, according to the working mode of the smart phone, the data type of the to-be-transmitted data, wherein the working mode comprises;
an STA mode or an AP mode, whereinin the STA mode, the data type of the to-be-transmitted data is the uplink data; and in the AP mode, the data type of the to-be-transmitted data is the downlink data. - View Dependent Claims (2, 3)
-
-
4. A smart phone, comprising:
-
a processor; and a non-transitory storage medium accessible to the processor, the non-transitory storage medium configured to store instructions causing the to perform acts comprising; determining a data type of to-be-transmitted data according to identification information in a data frame of the to-be-transmitted data, wherein the data type comprises uplink data or downlink data; when the data type of the to-be-transmitted data is the uplink data, selecting first transmit power to send the to-be-transmitted data on a preset channel Channel, wherein the first transmit power is transmit power of a radio wave when the smart phone serving as an STA sends data to an AP node; and when the data type of the to-be-transmitted data is the downlink data, selecting second transmit power to send the to-be-transmitted data on the preset channel Channel, wherein the second transmit power is transmit power of a radio wave when smart phone serving as an AP sends data to an STA node; acquiring identification information of the to-be-transmitted data, wherein the identification information comprises a basic structure type of the to-be-transmitted data or a source address of the to-be-transmitted data; if the identification information is the basic structure type of the to-be-transmitted data, determining, according to the basic structure type of the to-be-transmitted data, the data type of the to-be-transmitted data, wherein the basic structure type comprises a field used to indicate that the to-be-transmitted data is the uplink data or the downlink data; and if the identification information is the source address of the to-be-transmitted data, determining, according to the source address, a working mode, and determine, according to the working mode, the data type of the to-be-transmitted data, wherein the working mode comprises;
an STA mode or an AP mode, whereinin the STA mode, the data type of the to-be-transmitted data is the uplink data; and in the AP mode, the data type of the to-be-transmitted data is the downlink data. - View Dependent Claims (5, 6)
-
Specification