CN108093444B - Wireless network transmission rate control method and device, terminal equipment and storage medium - Google Patents
Wireless network transmission rate control method and device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN108093444B CN108093444B CN201810155389.5A CN201810155389A CN108093444B CN 108093444 B CN108093444 B CN 108093444B CN 201810155389 A CN201810155389 A CN 201810155389A CN 108093444 B CN108093444 B CN 108093444B
- Authority
- CN
- China
- Prior art keywords
- terminal equipment
- data transmission
- transmission rate
- error vector
- wireless network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/22—Negotiating communication rate
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses a wireless network transmission rate control method, a wireless network transmission rate control device, terminal equipment and a storage medium, wherein the method comprises the steps of monitoring attitude data of the terminal equipment, and determining the current error vector amplitude value of the terminal equipment when the attitude data is detected to meet a preset condition; determining the data transmission rate of the terminal equipment according to the error vector amplitude value and the signal intensity of a wireless network connected with the terminal equipment; and controlling the terminal equipment to start data transmission at the data transmission rate. According to the scheme, the error vector amplitude value is determined in real time according to the attitude data of the terminal equipment, and the data transmission rate is determined according to the error vector amplitude value, so that the proper wireless network transmission rate can be quickly positioned, and the control efficiency of a wireless network is improved.
Description
Technical Field
Embodiments of the present disclosure relate to computer technologies, and in particular, to a method and an apparatus for controlling a transmission rate of a wireless network, a terminal device, and a storage medium.
Background
With the increase of the popularity of terminal devices and the development of wireless networks, more and more users use terminal devices to access wireless networks to execute various functions to meet their own needs, such as reading text, watching video, listening to music, playing games, etc., and after the terminal devices are successfully connected with accessible devices (such as routers), the terminal devices can perform transmission interaction of network data, wherein the higher the transmission rate is, the faster the data interaction is, and otherwise, the slower the data interaction is.
In the prior art, after the terminal device is successfully connected with the accessible device, the network transmission detection mechanism will continuously detect from high-rate transmission to low-rate transmission to determine the appropriate network transmission rate.
Disclosure of Invention
The invention provides a wireless network transmission rate control method, a wireless network transmission rate control device, terminal equipment and a storage medium, which can quickly position a proper wireless network transmission rate and improve the control efficiency of a wireless network.
In a first aspect, an embodiment of the present application provides a method for controlling a transmission rate of a wireless network, including:
monitoring attitude data of terminal equipment, and determining a current error vector amplitude value of the terminal equipment when the attitude data is detected to meet a preset condition;
determining the data transmission rate of the terminal equipment according to the error vector amplitude value and the signal intensity of a wireless network connected with the terminal equipment;
and controlling the terminal equipment to start data transmission at the data transmission rate.
In a second aspect, an embodiment of the present application further provides a wireless network transmission rate control apparatus, including:
the error determination module is used for monitoring attitude data of the terminal equipment, and determining the current error vector amplitude value of the terminal equipment when the attitude data is detected to meet a preset condition;
the rate determining module is used for determining the data transmission rate of the terminal equipment according to the error vector amplitude value and the signal intensity of a wireless network connected with the terminal equipment;
and the transmission control module is used for controlling the terminal equipment to start data transmission at the data transmission rate.
In a third aspect, an embodiment of the present application further provides a terminal device, including: a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the wireless network transmission rate control method according to the embodiments of the present application when executing the computer program.
In a fourth aspect, the present application further provides a storage medium containing terminal device executable instructions, where the terminal device executable instructions are executed by a terminal device processor to perform the method for controlling a transmission rate of a wireless network according to the present application.
In the scheme, attitude data of the terminal equipment is monitored, when the attitude data is detected to meet preset conditions, the current error vector amplitude value of the terminal equipment is determined, the data transmission rate of the terminal equipment is determined according to the error vector amplitude value and the signal intensity of a wireless network connected with the terminal equipment, the terminal equipment is controlled to start data transmission at the data transmission rate, the error vector amplitude value is determined in real time according to the attitude data of the terminal equipment, the data transmission rate is determined according to the error vector amplitude value, the proper wireless network transmission rate can be rapidly positioned, and the control efficiency of the wireless network is improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a method for controlling a transmission rate of a wireless network according to an embodiment of the present application;
fig. 2 is a flowchart of another method for controlling transmission rate of a wireless network according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for controlling transmission rate of a wireless network according to an embodiment of the present application;
fig. 4 is a flowchart of another method for controlling transmission rate of a wireless network according to an embodiment of the present application;
fig. 5 is a flowchart of another method for controlling transmission rate of a wireless network according to an embodiment of the present application;
fig. 6 is a block diagram illustrating a structure of a wireless network transmission rate control apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a method for controlling a wireless network transmission rate according to an embodiment of the present application, which is applicable to control a network transmission speed of a terminal device, where the method may be executed by the terminal device according to the embodiment of the present application, and a wireless network transmission rate control apparatus of the terminal device may be implemented in a software and/or hardware manner, as shown in fig. 1, a specific scheme provided in this embodiment is as follows:
s101, attitude data of the terminal equipment is monitored, and when the attitude data are detected to meet preset conditions, the current error vector amplitude value of the terminal equipment is determined.
The attitude data is used for representing the current attitude of the terminal equipment, such as orientation, horizontal screen, vertical screen and the like, and the attitude data is collected by a gyroscope, an accelerometer and a gravity sensor. In one embodiment, the attitude data is determined by a gravity sensor integrated with the terminal device, and accordingly, the monitoring of the attitude data of the terminal device includes: and monitoring attitude data determined by a gravity sensor integrated with the terminal equipment.
When detecting that the attitude data meets the preset condition, determining the current error vector amplitude value of the terminal device, wherein the current error vector amplitude value of the terminal device may be determined when detecting that the attitude data of the terminal device meets the horizontal screen condition or the vertical screen condition, or the current error vector amplitude value of the terminal device may be determined when detecting that the attitude data of the terminal device meets the corresponding parameters (angle and acceleration).
The Error Vector Magnitude (EVM) refers to a Vector difference between an ideal Error-free reference signal and an actually transmitted signal at a given time, and is used for measuring an amplitude Error and a phase Error of a modulation signal, in order to ensure accuracy of data transmission, the larger the Error Vector Magnitude value of the terminal device is, the smaller the data transmission rate requirement control is, and conversely, the smaller the Error Vector Magnitude value is, the data transmission rate can be correspondingly increased for improving data transmission efficiency. In one embodiment, the error vector amplitude value of the terminal device is a complete machine error vector amplitude value, that is, an error vector amplitude value determined under the influence of each component combination inside the terminal device as a whole.
When the attitude data is detected to meet the preset condition, determining the current error vector amplitude value of the terminal device, which may be calculating and determining the current error vector amplitude value of the terminal device through a test circuit integrated with the terminal device, or determining according to a storage error mapping table of the terminal device, where the error mapping table records error vector amplitude values corresponding to different attitude data, and the generation process of the error mapping table may be: and when the terminal equipment is in different postures, controlling the vector signal transmitter to generate radio frequency signals, transmitting the radio frequency signals through the terminal equipment, demodulating the signals transmitted by the terminal equipment by using the vector signal analyzer, and determining the error vector amplitude value of the terminal equipment in the current posture according to the demodulation result.
In an embodiment, taking an Android operating system as an example, monitoring is performed on a gravity sensor integrated with a terminal device, which specifically includes:
the preset condition may be a horizontal holding condition or a vertical holding condition, and the corresponding specific judgment condition may be:
correspondingly, when detecting that the data determined by the gravity sensor meets the corresponding conditions, determining the current error vector amplitude value of the terminal equipment.
And step S102, determining the data transmission rate of the terminal equipment according to the error vector amplitude value and the signal intensity of the wireless network connected with the terminal equipment.
Exemplarily, after the Wifi network connection is performed between the terminal device and the accessible device (such as a router), taking an Android operating system as an example, the signal strength of the currently connected wireless network is determined by a Wifi.
In an embodiment, after the signal strength of the wireless network to which the terminal device is currently connected and the error vector amplitude value of the terminal device are determined, the data transmission rate of the terminal device is determined according to the error vector amplitude value and the signal strength of the wireless network to which the terminal device is connected.
And step S103, controlling the terminal equipment to start data transmission at the data transmission rate.
When the terminal device realizes network connection and performs data transmission, data transmission is performed according to a default set higher data transmission rate, when the packet loss rate is found to be higher, the data transmission rate is correspondingly reduced to ensure the accuracy of data transmission, the influence of the actual signal condition of a wireless network connected with the terminal device and the error vector amplitude value of the terminal device on the packet loss rate is not considered, meanwhile, the error vector amplitude value is usually measured and calculated once when the wireless network is restarted, the error vector amplitude value of the terminal device is dynamically changed under different postures (such as horizontal or vertical holding postures of a user), the influence of the change of the error vector amplitude value on the transmission rate is not considered in the process of controlling the wireless network transmission rate, and the determined data transmission rate is not the appropriate rate (the appropriate rate refers to the condition that the packet loss rate meets a certain condition, such as less than 1 percent, maximum rate of data transmission). In one embodiment, after determining the data transmission rate according to step S102 (the rate is updated according to different terminal device postures), data transmission is performed according to the data transmission rate. Optionally, the terminal device may be controlled by a rate control interface of the network module chipset to start data transmission at the data transmission rate, or a control policy of the data transmission rate is written into the chipset in a manner of upgrading a driver or firmware, so as to control the terminal device to start data transmission at the data transmission rate after the data transmission rate is determined.
According to the content, after the terminal equipment establishes the wireless network connection, the current error vector amplitude value is calibrated in real time according to the posture of the terminal equipment, the accuracy of the error vector amplitude value is improved, the data transmission rate is determined based on the error vector amplitude value and the wireless network signal intensity, and the wireless network transmission efficiency is improved.
Fig. 2 is a flowchart of another method for controlling a transmission rate of a wireless network according to an embodiment of the present application, where optionally, the monitoring attitude data of a terminal device includes: monitoring attitude data determined by a gravity sensor integrated with the terminal equipment; wherein the preset conditions comprise a horizontal holding condition and a vertical holding condition. And when the gesture data are detected to meet the preset conditions, determining whether the terminal equipment is pressed or not according to the pressing area detected by the touch screen, and if the terminal equipment is detected to be pressed, determining the current error vector amplitude value of the terminal equipment. As shown in fig. 2, the technical solution is as follows:
step S201, attitude data determined by the gravity sensor integrated with the terminal equipment is monitored.
And S202, judging whether the attitude data meets a preset condition, if so, executing the step S203, and if not, continuing monitoring.
The preset condition includes a horizontal holding condition and a vertical holding condition, and the specific determination manner refers to the explanation in step S101, which is not described herein again.
Step S203, determining whether the terminal equipment is pressed or not according to the pressing area detected by the touch screen, if so, executing step S204, and if not, executing step S201.
In this step, after determining that the terminal device posture data satisfies the preset condition in step S202, it is further determined whether the terminal device is pressed, that is, when the user holds the terminal device, some areas (such as four corners or a frame area) of the screen may detect a corresponding pressing event, and if the pressing is detected, it is determined that the terminal device is in the user holding state, and step S204 is further performed.
And step S204, determining the current error vector amplitude value of the terminal equipment.
Step S205, determining a data transmission rate of the terminal device according to the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected.
And step S206, controlling the terminal equipment to start data transmission at the data transmission rate.
Therefore, when the attitude data of the terminal equipment meets the conditions, whether the terminal equipment is in the hand-held state of the user is further determined, the error vector amplitude value at the moment is determined when the terminal equipment is in the hand-held state, and the corresponding data transmission rate is further determined again, so that the problem that the determined data transmission rate is influenced due to the fact that the error vector amplitude value is changed caused by the change of the hand-held attitude of the user is solved, and the transmission performance of the wireless network is improved.
Fig. 3 is a flowchart of another method for controlling a transmission rate of a wireless network according to an embodiment of the present application, and optionally before the monitoring of the attitude data of the terminal device, the method further includes: demodulating radio frequency signals sent by terminal equipment under different postures, determining error vector amplitude values of the terminal equipment under different postures according to demodulation results, and generating corresponding error mapping tables; correspondingly, the determining the current error vector magnitude value of the terminal device includes: and querying the error mapping table according to the attitude data to determine a corresponding error vector amplitude value. The determining the data transmission rate of the terminal device according to the error vector amplitude value and the signal strength of the wireless network connected with the terminal device includes: and inquiring a rate mapping table according to the error vector amplitude value and the signal strength of the wireless network connected with the terminal equipment, and determining the data transmission rate of the corresponding terminal equipment according to the inquiry result. As shown in fig. 3, the technical solution is as follows:
step S301, demodulating the radio frequency signals sent by the terminal equipment under different postures, determining the error vector amplitude value of the terminal equipment under different postures according to the demodulation result, and generating a corresponding error mapping table.
In one embodiment, a vector signal transmitter is controlled to generate radio frequency signals, terminal equipment sends the radio frequency signals under different postures, a vector signal analyzer is used for demodulating the signals sent by the terminal equipment, an error vector amplitude value corresponding to the terminal equipment under the posture is determined according to a demodulation result, and an error mapping table is generated according to a test result and stored.
Step S302, a rate mapping table containing error vector amplitude values and data transmission rates corresponding to different signal strength combinations is generated.
Different error vector amplitude values, combinations of signal strengths and corresponding different data transmission rates are recorded in the rate mapping table, and the specific corresponding relationship can be determined through testing, that is, under the condition of giving the error vector amplitude values and the wireless network signal strengths, the data transmission rates are debugged from large to small (or from small to large) in sequence, and the maximum data transmission rate meeting the network transmission standard is determined as the corresponding data transmission rate under the error vector amplitude values and the wireless network signal strengths and is correspondingly recorded in the rate mapping table. Illustratively, an error vector magnitude value of-23 corresponds to a data transmission rate of 16M at a signal strength of-70 db.
Step S303, the attitude data of the terminal device is monitored, and when the attitude data is detected to meet the preset condition, the error mapping table is inquired according to the attitude data to determine the corresponding error vector amplitude value.
Step S304, inquiring a rate mapping table according to the error vector amplitude value and the signal strength of the wireless network connected with the terminal equipment, and determining the data transmission rate of the corresponding terminal equipment according to the inquiry result.
And step S305, controlling the terminal equipment to start data transmission at the data transmission rate.
According to the method, the tester tests in advance to obtain the maximum data transmission rate corresponding to different error vector amplitude values and network signal strength, when the follow-up terminal equipment performs wireless network transmission to meet the preset conditions, the current error vector amplitude value and the wireless network signal strength are determined in real time, the table look-up mode is adopted to directly determine the proper data transmission rate, data transmission is performed according to the data transmission rate, the proper wireless network transmission rate can be positioned quickly, and the control efficiency of the wireless network is improved.
Fig. 4 is a flowchart of another method for controlling transmission rate of a wireless network according to an embodiment of the present application, where optionally, before querying a rate mapping table according to the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected, the method further includes: determining a routing channel currently connected with the terminal equipment and a used communication protocol; correspondingly, the querying a rate mapping table according to the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected includes: and querying a rate mapping table according to the error vector amplitude value, and the signal strength, the routing channel and the communication protocol of the wireless network connected with the terminal device, wherein the rate mapping table records different combinations of the error vector amplitude value, the signal strength, the routing channel and the communication protocol and respective corresponding data transmission rates. As shown in fig. 4, the technical solution is as follows:
and S401, generating a rate mapping table according to the test result.
In the step, the determination mode of the data transmission rate further adds two parameters of a routing channel and a communication protocol on the basis of the error vector amplitude value and the different signal strengths, wherein the routing channel (also called a frequency band) is a data signal transmission channel using a wireless signal as a transmission medium, for example, the common IEEE802.11b/g works in a 2.4-2.4835 GHz frequency band, the frequency bands are divided into 11 or 13 routing channels, the communication protocol refers to a protocol standard of network data transmission of terminal equipment, and the requirements of the different routing channels and the communication protocol on the data transmission rate are different, the preset mapping table in the embodiment contains the different routing channels and the communication protocol parameters, the data transmission rate is determined together with the error vector magnitude value and the signal strength, wherein, the specific test method and the strategy for finally determining the data transmission rate are referred to the explanation part of step S302, that is, the test is performed under the network environment of different routing channels and communication protocols to determine the corresponding data transmission rate.
Step S402, after detecting that the wireless network connection is successful, determining an error vector amplitude value of the terminal equipment and the signal intensity of the currently connected wireless network.
Step S403, determining a routing channel currently connected to the terminal device and a communication protocol used by the terminal device.
Optionally, the used routing channel and communication protocol are determined according to data information fed back by the connected router.
Step S404, inquiring a rate mapping table according to the error vector amplitude value, the signal intensity of a wireless network connected with the terminal equipment, a routing channel and a communication protocol, and determining the data transmission rate of the corresponding terminal equipment according to the inquiry result.
And step S405, controlling the terminal equipment to start data transmission at the data transmission rate.
According to the scheme, when the data transmission rate is determined, two parameters of the routing channel and the communication protocol are further introduced, and the influence of different channels and different communication protocols on the data transmission rate is considered, so that the finally determined data transmission rate is more accurate, the data transmission is started at the data transmission rate when the wireless network transmits the data, and the problems of high power consumption and low efficiency caused by the fact that the data transmission rate is dynamically adjusted to find the appropriate rate are solved.
Fig. 5 is a flowchart of another method for controlling a transmission rate of a wireless network according to an embodiment of the present application, and optionally, after the controlling the terminal device to start data transmission at the data transmission rate, the method further includes: and recording the data transmission failure times, and reducing the data transmission rate if the data transmission failure times are greater than a preset threshold value in preset time. As shown in fig. 5, the technical solution is as follows:
step S501, attitude data of the terminal device is monitored, and when the attitude data is detected to meet a preset condition, the current error vector amplitude value of the terminal device is determined.
Step S502, determining the current connected routing channel of the terminal equipment and the used communication protocol.
Step S503, inquiring a rate mapping table according to the error vector amplitude value and the signal strength of the wireless network connected with the terminal equipment, and determining the data transmission rate of the corresponding terminal equipment according to the inquiry result.
And step S504, controlling the terminal equipment to start data transmission at the data transmission rate.
And step S505, recording the data transmission failure times, and reducing the data transmission rate if the data transmission failure times are larger than a preset threshold value in preset time.
For example, the data transmission may fail 2 times or more within 1s, and the data transmission rate is correspondingly reduced to ensure the stability of the data transmission. In another embodiment, the accuracy of data transmission and the packet loss rate may also be checked, and if the data transmission accuracy is low and the packet loss rate is high (for example, the packet loss rate is higher than 1%), the data transmission rate is correspondingly reduced.
Therefore, after the data transmission rate is determined according to the error vector amplitude value and the signal intensity which are determined in real time and data transmission is started, the change of the data transmission quality and the signal intensity is detected, the data transmission rate is adjusted according to the change of the data transmission quality and the signal intensity, the data transmission rate is adjusted in real time, and the wireless network transmission rate control method is further perfected.
Fig. 6 is a block diagram of a wireless network transmission rate control apparatus according to an embodiment of the present application, where the apparatus is configured to execute the wireless network transmission rate control method according to the foregoing embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 6, the apparatus specifically includes: an error determination module 101, a rate determination module 102, and a transmission control module 103, wherein,
the error determination module 101 is configured to monitor attitude data of a terminal device, and determine a current error vector amplitude value of the terminal device when it is detected that the attitude data meets a preset condition.
The attitude data is used for representing the current attitude of the terminal equipment, such as orientation, horizontal screen, vertical screen and the like, and the attitude data is collected by a gyroscope, an accelerometer and a gravity sensor. In one embodiment, the attitude data is determined by a gravity sensor integrated with the terminal device, and accordingly, the monitoring of the attitude data of the terminal device includes: and monitoring attitude data determined by a gravity sensor integrated with the terminal equipment.
When detecting that the attitude data meets the preset condition, determining the current error vector amplitude value of the terminal device, wherein the current error vector amplitude value of the terminal device may be determined when detecting that the attitude data of the terminal device meets the horizontal screen condition or the vertical screen condition, or the current error vector amplitude value of the terminal device may be determined when detecting that the attitude data of the terminal device meets the corresponding parameters (angle and acceleration).
The Error Vector Magnitude (EVM) refers to a Vector difference between an ideal Error-free reference signal and an actually transmitted signal at a given time, and is used for measuring an amplitude Error and a phase Error of a modulation signal, in order to ensure accuracy of data transmission, the larger the Error Vector Magnitude value of the terminal device is, the smaller the data transmission rate requirement control is, and conversely, the smaller the Error Vector Magnitude value is, the data transmission rate can be correspondingly increased for improving data transmission efficiency. In one embodiment, the error vector amplitude value of the terminal device is a complete machine error vector amplitude value, that is, an error vector amplitude value determined under the influence of each component combination inside the terminal device as a whole.
When the attitude data is detected to meet the preset condition, determining the current error vector amplitude value of the terminal device, which may be calculating and determining the current error vector amplitude value of the terminal device through a test circuit integrated with the terminal device, or determining according to a storage error mapping table of the terminal device, where the error mapping table records error vector amplitude values corresponding to different attitude data, and the generation process of the error mapping table may be: and when the terminal equipment is in different postures, controlling the vector signal transmitter to generate radio frequency signals, transmitting the radio frequency signals through the terminal equipment, demodulating the signals transmitted by the terminal equipment by using the vector signal analyzer, and determining the error vector amplitude value of the terminal equipment in the current posture according to the demodulation result.
And a rate determining module 102, configured to determine a data transmission rate of the terminal device according to the error vector magnitude value and a signal strength of a wireless network to which the terminal device is connected.
Exemplarily, after the Wifi network connection is performed between the terminal device and the accessible device (such as a router), taking an Android operating system as an example, the signal strength of the currently connected wireless network is determined by a Wifi.
In an embodiment, after the signal strength of the wireless network to which the terminal device is currently connected and the error vector amplitude value of the terminal device are determined, the data transmission rate of the terminal device is determined according to the error vector amplitude value and the signal strength of the wireless network to which the terminal device is connected.
And the transmission control module 103 is configured to control the terminal device to start data transmission at the data transmission rate.
When the terminal device realizes network connection and performs data transmission, data transmission is performed according to a default set higher data transmission rate, when the packet loss rate is found to be higher, the data transmission rate is correspondingly reduced to ensure the accuracy of data transmission, the influence of the actual signal condition of a wireless network connected with the terminal device and the error vector amplitude value of the terminal device on the packet loss rate is not considered, meanwhile, the error vector amplitude value is usually measured and calculated once when the wireless network is restarted, the error vector amplitude value of the terminal device is dynamically changed under different postures (such as horizontal or vertical holding postures of a user), the influence of the change of the error vector amplitude value on the transmission rate is not considered in the process of controlling the wireless network transmission rate, and the determined data transmission rate is not the appropriate rate (the appropriate rate refers to the condition that the packet loss rate meets a certain condition, such as less than 1 percent, maximum rate of data transmission). In one embodiment, after determining the data transmission rate according to step S102 (the rate is updated according to different terminal device postures), data transmission is performed according to the data transmission rate. Optionally, the terminal device may be controlled by a rate control interface of the network module chipset to start data transmission at the data transmission rate, or a control policy of the data transmission rate is written into the chipset in a manner of upgrading a driver or firmware, so as to control the terminal device to start data transmission at the data transmission rate after the data transmission rate is determined.
According to the content, after the terminal equipment establishes the wireless network connection, the current error vector amplitude value is calibrated in real time according to the posture of the terminal equipment, the accuracy of the error vector amplitude value is improved, the data transmission rate is determined based on the error vector amplitude value and the wireless network signal intensity, and the wireless network transmission efficiency is improved.
In a possible embodiment, the error determination module 101 is specifically configured to: monitoring attitude data determined by a gravity sensor integrated with the terminal equipment; wherein the preset conditions comprise a horizontal holding condition and a vertical holding condition.
In a possible embodiment, the error determination module 101 is specifically configured to:
and determining the current error vector amplitude value through the test circuit integrated by the terminal equipment.
In one possible embodiment, the error determination module 101 is further configured to:
before monitoring the attitude data of the terminal equipment, demodulating radio frequency signals sent by the terminal equipment under different attitudes, determining error vector amplitude values of the terminal equipment under different attitudes according to demodulation results, and generating corresponding error mapping tables; and querying the error mapping table according to the attitude data to determine a corresponding error vector amplitude value.
In a possible embodiment, the rate determining module 102 is specifically configured to:
and inquiring a rate mapping table according to the error vector amplitude value and the signal strength of the wireless network connected with the terminal equipment, and determining the data transmission rate of the corresponding terminal equipment according to the inquiry result.
In one possible embodiment, the rate determination module 102 is further configured to:
before querying a rate mapping table according to the error vector amplitude value and the signal strength of the wireless network connected with the terminal equipment, determining a routing channel currently connected with the terminal equipment and a used communication protocol; and querying a rate mapping table according to the error vector amplitude value, and the signal strength, the routing channel and the communication protocol of the wireless network connected with the terminal device, wherein the rate mapping table records different combinations of the error vector amplitude value, the signal strength, the routing channel and the communication protocol and respective corresponding data transmission rates.
In one possible embodiment, the apparatus further comprises an update module 104 configured to:
and after controlling the terminal equipment to start data transmission at the data transmission rate, recording the data transmission failure times, and if the data transmission failure times are greater than a preset threshold value in preset time, reducing the data transmission rate.
In this embodiment, a terminal device is provided on the basis of the foregoing embodiments, and fig. 7 is a schematic structural diagram of a terminal device provided in an embodiment of the present application, and as shown in fig. 7, the terminal device 200 includes: memory 201, processor (CPU) 202, peripheral interfaces 203, RF (Radio Frequency) circuitry 205, audio circuitry 206, speaker 211, power management chip 208, input/output (I/O) subsystem 209, touch screen 212, Wifi module 213, other input/control devices 210, and external port 204, which communicate via one or more communication buses or signal lines 207.
It should be understood that the illustrated terminal device 200 is only one example of a terminal device, and that the terminal device 200 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device for rights management of multi-open applications provided in this embodiment, where the terminal device is a smart phone as an example.
A memory 201, the memory 201 being accessible by the CPU202, the peripheral interface 203, and the like, the memory 201 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 203, said peripheral interface 203 may connect input and output peripherals of the device to the CPU202 and the memory 201.
An I/O subsystem 209, the I/O subsystem 209 may connect input and output peripherals on the device, such as a touch screen 212 and other input/control devices 210, to the peripheral interface 203. The I/O subsystem 209 may include a display controller 2091 and one or more input controllers 2092 for controlling the other input/control devices 210. Where one or more input controllers 2092 receive electrical signals from or transmit electrical signals to other input/control devices 210, the other input/control devices 210 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 2092 may be coupled to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 212, the touch screen 212 being an input interface and an output interface between the user terminal and the user, displaying visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 2091 within the I/O subsystem 209 receives electrical signals from the touch screen 212 or transmits electrical signals to the touch screen 212. The touch screen 212 detects a contact on the touch screen, and the display controller 2091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 212, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 212 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 205 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 205 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 205 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 205 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 206 is mainly used to receive audio data from the peripheral interface 203, convert the audio data into an electric signal, and transmit the electric signal to the speaker 211.
And a speaker 211 for reproducing the voice signal received by the handset from the wireless network through the RF circuit 205 into sound and playing the sound to the user.
And the power management chip 208 is used for supplying power and managing power to the hardware connected with the CPU202, the I/O subsystem and the peripheral interface.
The wireless network transmission rate control device of the terminal device and the terminal device provided in the above embodiments can execute the wireless network transmission rate control method of the terminal device provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For details of the wireless network transmission rate control method of the terminal device, reference may be made to the method for controlling the wireless network transmission rate of the terminal device according to any embodiment of the present invention.
Embodiments of the present application further provide a storage medium containing terminal device-executable instructions, which when executed by a terminal device processor, are configured to perform a method for controlling a transmission rate of a wireless network, where the method includes:
monitoring attitude data of terminal equipment, and determining a current error vector amplitude value of the terminal equipment when the attitude data is detected to meet a preset condition;
determining the data transmission rate of the terminal equipment according to the error vector amplitude value and the signal intensity of a wireless network connected with the terminal equipment;
and controlling the terminal equipment to start data transmission at the data transmission rate.
In a possible embodiment, the monitoring attitude data of the terminal device includes: monitoring attitude data determined by a gravity sensor integrated with the terminal equipment; wherein the preset conditions comprise a horizontal holding condition and a vertical holding condition.
In one possible embodiment, the determining the current error vector magnitude value of the terminal device includes:
and determining the current error vector amplitude value through the test circuit integrated by the terminal equipment.
In a possible embodiment, before the monitoring of the attitude data of the terminal device, the method further includes:
demodulating radio frequency signals sent by terminal equipment under different postures, determining error vector amplitude values of the terminal equipment under different postures according to demodulation results, and generating corresponding error mapping tables;
correspondingly, the determining the current error vector magnitude value of the terminal device includes:
and querying the error mapping table according to the attitude data to determine a corresponding error vector amplitude value.
In a possible embodiment, the determining the data transmission rate of the terminal device according to the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected includes:
and inquiring a rate mapping table according to the error vector amplitude value and the signal strength of the wireless network connected with the terminal equipment, and determining the data transmission rate of the corresponding terminal equipment according to the inquiry result.
In a possible embodiment, before the querying a rate mapping table according to the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected, the method further includes:
determining a routing channel currently connected with the terminal equipment and a used communication protocol;
correspondingly, the querying a rate mapping table according to the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected includes:
and querying a rate mapping table according to the error vector amplitude value, and the signal strength, the routing channel and the communication protocol of the wireless network connected with the terminal device, wherein the rate mapping table records different combinations of the error vector amplitude value, the signal strength, the routing channel and the communication protocol and respective corresponding data transmission rates.
In a possible embodiment, after the controlling the terminal device to start data transmission at the data transmission rate, the method further includes:
and recording the data transmission failure times, and reducing the data transmission rate if the data transmission failure times are greater than a preset threshold value in preset time.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing computer-executable instructions provided in the embodiments of the present application is not limited to the operations of the wireless network transmission rate control method described above, and may also perform related operations in the wireless network transmission rate control method provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for controlling transmission rate in a wireless network, comprising:
monitoring attitude data of the terminal equipment, and when detecting that the attitude data meets a preset condition, determining a current error vector amplitude value of the terminal equipment, wherein the error vector amplitude value is a vector difference between an ideal error-free reference signal and an actual emission signal at a given moment, and the attitude data is used for representing the current attitude of the terminal equipment;
determining the data transmission rate of the terminal equipment according to the error vector amplitude value and the signal intensity of a wireless network connected with the terminal equipment;
and controlling the terminal equipment to start data transmission at the data transmission rate.
2. The method of claim 1, wherein the monitoring attitude data of the terminal device comprises: monitoring attitude data determined by a gravity sensor integrated with the terminal equipment; wherein the preset conditions comprise a horizontal holding condition and a vertical holding condition.
3. The method of claim 1, wherein the determining the current error vector magnitude value for the terminal device comprises:
and determining the current error vector amplitude value through the test circuit integrated by the terminal equipment.
4. The method of claim 1, prior to the monitoring attitude data of the terminal device, further comprising:
demodulating radio frequency signals sent by terminal equipment under different postures, determining error vector amplitude values of the terminal equipment under different postures according to demodulation results, and generating corresponding error mapping tables;
correspondingly, the determining the current error vector magnitude value of the terminal device includes:
and querying the error mapping table according to the attitude data to determine a corresponding error vector amplitude value.
5. The method according to any of claims 1-4, wherein said determining the data transmission rate of the terminal device in dependence on the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected comprises:
and inquiring a rate mapping table according to the error vector amplitude value and the signal strength of the wireless network connected with the terminal equipment, and determining the data transmission rate of the corresponding terminal equipment according to the inquiry result.
6. The method according to claim 5, wherein before said querying a rate map according to the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected, further comprising:
determining a routing channel currently connected with the terminal equipment and a used communication protocol;
correspondingly, the querying a rate mapping table according to the error vector magnitude value and the signal strength of the wireless network to which the terminal device is connected includes:
and querying a rate mapping table according to the error vector amplitude value, and the signal strength, the routing channel and the communication protocol of the wireless network connected with the terminal device, wherein the rate mapping table records different combinations of the error vector amplitude value, the signal strength, the routing channel and the communication protocol and respective corresponding data transmission rates.
7. The method according to any of claims 1-4, further comprising, after said controlling said terminal device to start data transmission at said data transmission rate:
and recording the data transmission failure times, and reducing the data transmission rate if the data transmission failure times are greater than a preset threshold value in preset time.
8. A wireless network transmission rate control apparatus, comprising:
the error determination module is used for monitoring attitude data of the terminal equipment, determining a current error vector amplitude value of the terminal equipment when the attitude data is detected to meet a preset condition, wherein the error vector amplitude value is a vector difference between an ideal error-free reference signal and an actual emission signal at a given moment, and the attitude data is used for representing the current attitude of the terminal equipment;
the rate determining module is used for determining the data transmission rate of the terminal equipment according to the error vector amplitude value and the signal intensity of a wireless network connected with the terminal equipment;
and the transmission control module is used for controlling the terminal equipment to start data transmission at the data transmission rate.
9. A terminal device, comprising: processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the wireless network transmission rate control method according to any of claims 1-7.
10. A storage medium containing terminal device-executable instructions, which when executed by a terminal device processor, are configured to perform the wireless network transmission rate control method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810155389.5A CN108093444B (en) | 2018-02-23 | 2018-02-23 | Wireless network transmission rate control method and device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810155389.5A CN108093444B (en) | 2018-02-23 | 2018-02-23 | Wireless network transmission rate control method and device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108093444A CN108093444A (en) | 2018-05-29 |
CN108093444B true CN108093444B (en) | 2020-06-26 |
Family
ID=62194484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810155389.5A Active CN108093444B (en) | 2018-02-23 | 2018-02-23 | Wireless network transmission rate control method and device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108093444B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108901032A (en) * | 2018-06-12 | 2018-11-27 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium |
CN108471630B (en) * | 2018-06-12 | 2022-06-21 | Oppo广东移动通信有限公司 | Transmission rate adjusting method, device, mobile terminal and computer readable medium |
CN108770023A (en) * | 2018-06-12 | 2018-11-06 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer read/write memory medium |
CN108770022A (en) * | 2018-06-12 | 2018-11-06 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer read/write memory medium |
CN108848547A (en) * | 2018-06-12 | 2018-11-20 | Oppo广东移动通信有限公司 | WiFi scan method, device, mobile terminal and computer-readable medium |
CN111601335B (en) * | 2020-04-22 | 2022-04-26 | 烽火通信科技股份有限公司 | Wireless network performance test method and wireless AP |
CN112148529B (en) * | 2020-09-24 | 2024-06-21 | 杭州海康机器人股份有限公司 | Data transmission method, device, camera, computing device and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170354A (en) * | 2006-10-24 | 2008-04-30 | 三洋电机株式会社 | Communication method and wireless device using the same |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8626079B2 (en) * | 2007-12-12 | 2014-01-07 | Electronics And Telecommunications Research Institute | Link adaptation method and apparatus in wireless communication system |
CN102075297B (en) * | 2011-01-25 | 2012-12-19 | 北京航空航天大学 | Mobility-prediction-based wireless fidelity (WiFi) speed self-adapting selecting method |
CN104301982B (en) * | 2013-07-19 | 2019-07-26 | 中兴通讯股份有限公司 | A kind of adaptive controlled power formula WIFI method of adjustment and device |
JP6146716B2 (en) * | 2013-11-05 | 2017-06-14 | パナソニックIpマネジメント株式会社 | RADIO COMMUNICATION SYSTEM, RECEPTION DEVICE, TRANSMISSION DEVICE, AND TRANSMISSION RATE CONTROL METHOD |
CN104410984B (en) * | 2014-11-26 | 2018-05-29 | 深圳市共进电子股份有限公司 | A kind of wireless access point radio frequency index testing system and test method |
-
2018
- 2018-02-23 CN CN201810155389.5A patent/CN108093444B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170354A (en) * | 2006-10-24 | 2008-04-30 | 三洋电机株式会社 | Communication method and wireless device using the same |
Also Published As
Publication number | Publication date |
---|---|
CN108093444A (en) | 2018-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108093444B (en) | Wireless network transmission rate control method and device, terminal equipment and storage medium | |
CN108430101B (en) | Antenna closing method and device, storage medium and electronic equipment | |
US11101826B2 (en) | RF control circuit and mobile terminal | |
US20180342231A1 (en) | Sound effect parameter adjustment method, mobile terminal and storage medium | |
US11689655B2 (en) | Method for adjusting parameter of audio service and terminal | |
CN106487984B (en) | A kind of method and apparatus adjusting volume | |
WO2021179966A1 (en) | Signal transmission method, information indication method, and communication device | |
EP3429176A1 (en) | Scenario-based sound effect control method and electronic device | |
US10262648B2 (en) | Method for controlling interference in audio service and terminal | |
KR20200144759A (en) | Method for establishing bluetooth communication connection and electronic device thereof | |
CN110798235A (en) | Terminal control method and electronic equipment | |
WO2017031647A1 (en) | Method and apparatus for detecting touch mode | |
CN108833033B (en) | Method and device for determining radio frequency calibration parameters, storage medium and mobile terminal | |
CN108307485B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
CN108471630B (en) | Transmission rate adjusting method, device, mobile terminal and computer readable medium | |
CN108832944B (en) | Power compensation method, device, terminal equipment and storage medium | |
CN108965042B (en) | Network delay obtaining method and device, terminal equipment and storage medium | |
CN111818657B (en) | Uplink transmission discarding method, uplink transmission discarding configuration method and related equipment | |
CN111615216B (en) | Random access method and terminal | |
CN115118636B (en) | Method and device for determining network jitter state, electronic equipment and storage medium | |
CN108307447B (en) | Wireless network transmission control method, device, storage medium and terminal equipment | |
CN108366396A (en) | Wireless network transmissions method of rate control, device, terminal device and storage medium | |
CN108377515A (en) | Wireless network transmissions method of rate control, device, terminal device and storage medium | |
CN112104384B (en) | Structure of electronic device for optimizing performance of antenna and method thereof | |
WO2021088816A1 (en) | Method and apparatus for measuring signal-to-interference-plus-noise ratio, device, and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |