CN108093444A - Wireless network transmissions method of rate control, device, terminal device and storage medium - Google Patents
Wireless network transmissions method of rate control, device, terminal device and storage medium Download PDFInfo
- Publication number
- CN108093444A CN108093444A CN201810155389.5A CN201810155389A CN108093444A CN 108093444 A CN108093444 A CN 108093444A CN 201810155389 A CN201810155389 A CN 201810155389A CN 108093444 A CN108093444 A CN 108093444A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- error vector
- vector magnitude
- wireless network
- magnitude value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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 present application discloses a kind of wireless network transmissions method of rate control, device, terminal device and storage medium, this method includes being monitored the attitude data of terminal device, when detecting that the attitude data meets preset condition, the current error vector magnitude value of the terminal device is determined;Signal strength according to the error vector magnitude value and the wireless network of terminal device connection determines the message transmission rate of the terminal device;The terminal device is controlled to start data transmission with the message transmission rate.This programme determines error vector magnitude value in real time according to the attitude data of terminal device, and determines message transmission rate according to the error vector magnitude value, can quickly position suitable wireless network transmissions rate, improve the control efficiency of wireless network.
Description
Technical field
The invention relates to computer technology more particularly to a kind of wireless network transmissions method of rate control, device,
Terminal device and storage medium.
Background technology
With the raising of terminal device popularity and the development of wireless network, more and more user's using terminals are set
Standby access wireless network performs various functions to meet self-demand, such as reads word, viewing video, listens to music, plays
Game etc., terminal device are interacted with the transmission that after accessible equipment (such as router) successful connection, can carry out network data,
In, transmission rate is higher, and data interaction is faster, otherwise data interaction is then slower.
In the prior art, for terminal device with after accessible equipment successful connection, network transmission testing mechanism can be from a high speed
Rate is transferred to lower rate transmissions and is constantly detected to determine suitable network transmission speed, this kind of testing mechanism, which exists, to be lacked
It falls into, it is necessary to improve.
The content of the invention
The present invention provides a kind of wireless network transmissions method of rate control, device, terminal device and storage mediums, can
Suitable wireless network transmissions rate is quickly positioned, improves the control efficiency of wireless network.
In a first aspect, the embodiment of the present application provides a kind of wireless network transmissions method of rate control, including:
The attitude data of terminal device is monitored, when detecting that the attitude data meets preset condition, is determined
The current error vector magnitude value of the terminal device;
Signal strength according to the error vector magnitude value and the wireless network of terminal device connection determines institute
State the message transmission rate of terminal device;
The terminal device is controlled to start data transmission with the message transmission rate.
Second aspect, the embodiment of the present application additionally provide a kind of wireless network transmissions rate control device, including:
Error determination module is monitored for the attitude data to terminal device, when detecting that the attitude data expires
During sufficient preset condition, the current error vector magnitude value of the terminal device is determined;
Rate determination module, for the wireless network according to the error vector magnitude value and terminal device connection
Signal strength determine the message transmission rate of the terminal device;
Transmission control module, for the terminal device to be controlled to start data transmission with the message transmission rate.
The third aspect, the embodiment of the present application additionally provide a kind of terminal device, including:Processor, memory and storage
On a memory and the computer program that can run on a processor, the processor are realized such as when performing the computer program
Wireless network transmissions method of rate control described in the embodiment of the present application.
Fourth aspect, the embodiment of the present application additionally provide a kind of storage medium for including terminal device executable instruction, institute
Terminal device executable instruction is stated when being performed as terminal device processor for the wireless network described in performing the embodiment of the present application
Network transmission rate control.
In the present solution, being monitored to the attitude data of terminal device, item is preset when detecting that the attitude data meets
During part, the current error vector magnitude value of the terminal device is determined, according to the error vector magnitude value and the terminal
The signal strength of the wireless network of equipment connection determines the message transmission rate of the terminal device, control the terminal device with
The message transmission rate starts data transmission, and error vector magnitude value is determined in real time according to the attitude data of terminal device,
And determine message transmission rate according to the error vector magnitude value, suitable wireless network transmissions rate can be quickly positioned,
Improve the control efficiency of wireless network.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of wireless network transmissions method of rate control provided by the embodiments of the present application;
Fig. 2 is the flow chart of another wireless network transmissions method of rate control provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application;
Fig. 4 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application;
Fig. 5 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of wireless network transmissions rate control device provided by the embodiments of the present application;
Fig. 7 is a kind of structure diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used to explain the present invention rather than limitation of the invention.It also should be noted that for the ease of retouching
It states, part related to the present invention rather than entire infrastructure is illustrated only in attached drawing.
Fig. 1 is a kind of flow chart of wireless network transmissions method of rate control provided by the embodiments of the present application, is applicable to
The network transfer speeds of terminal device are controlled, this method can be held by terminal device provided by the embodiments of the present application
Row, software can be used for the wireless network transmissions rate control device of the terminal device and/or the mode of hardware is realized, such as Fig. 1 institutes
Show, concrete scheme provided in this embodiment is as follows:
Step S101, the attitude data of terminal device is monitored, item is preset when detecting that the attitude data meets
During part, the current error vector magnitude value of the terminal device is determined.
Wherein, attitude data is for characterizing the current posture of terminal device, such as direction, transverse screen, vertical screen, as gyroscope,
Accelerometer and the data of gravity sensing instrument acquisition.In one embodiment, which is the weight integrated by terminal device
The data that force snesor determines, correspondingly, the attitude data of terminal device is monitored including:The weight integrated to terminal device
The attitude data that force snesor determines is monitored.
When detecting that attitude data meets preset condition, the current error vector magnitude value of the terminal device is determined,
Wherein it is possible to be when the attitude data for detecting terminal device meets transverse screen condition or vertical screen condition, determine that the terminal is set
Standby current error vector magnitude value, it is also possible that detect terminal device attitude data meet corresponding parameter (angle,
Acceleration) when, determine the current error vector magnitude value of the terminal device.
Wherein, error vector magnitude (Error Vector Magnitude, abbreviation EVM) refers to errorless in given time ideal
Poor reference signal and the vector difference of actual transmission signal, for weighing the range error of modulated signal and phase error, to ensure
The accuracy of data transmission, the error vector magnitude value of terminal device is bigger, and data transmission rates demands control smaller, instead
It, error vector magnitude value is smaller, can increase message transmission rate accordingly to improve data transmission efficiency.In one embodiment
In, the error vector magnitude value of the terminal device is complete machine error vector magnitude value, i.e., each component group inside terminal device
The error vector magnitude value being determined entirely by under the influence of conjunction.
When detecting that attitude data meets preset condition, the current error vector magnitude value of the terminal device is determined,
It can be that the test circuit integrated by terminal device calculates the error vector magnitude value for determining that terminal device is current, can also be
Determine according to terminal device memory error mapping table, wherein, error map table have recorded the corresponding error of different attitude datas to
Magnitude value, the generating process of the error map table can be:In the case where terminal device is in different postures, control vector signal hair
Emitter generates radiofrequency signal, the transmission of the radiofrequency signal is carried out by terminal device, using Vector Signal Analyzer to described
The signal that terminal device is sent is demodulated, and the error vector magnitude of terminal device under current pose is determined according to demodulation result
Value.
In one embodiment, by taking Android operation system as an example, the gravity sensor that terminal device integrates is supervised
It listens, it is specific as follows:
Wherein, the preset condition can be it is horizontal hold condition or it is perpendicular hold condition, corresponding specific Rule of judgment can be:
Correspondingly, when the data for detecting that gravity sensor determines meet above-mentioned respective conditions, determine that the terminal is set
Standby current error vector magnitude value.
Step S102, the signal of the wireless network connected according to the error vector magnitude value and the terminal device is strong
Degree determines the message transmission rate of the terminal device.
Illustratively, after terminal device and accessible equipment (such as router) carry out Wifi network connections, with Android
Exemplified by operating system, the signal strength of the wireless network currently connected is determined by wifiinfo.getRssi () method,
In, to determining the factor that has an impact of suitable message transmission rate in addition to above-mentioned error vector magnitude value, the letter of wireless network
Number intensity can also produce bigger effect, and the message transmission rate of usual its stronger Corresponding matching of signal strength can be higher, such as
The correspondence in MCS tables in 802.11n.
In one embodiment, when the signal strength for determining wireless network that terminal device currently connects and itself
After error vector magnitude value, the signal strength according to error vector magnitude value and the wireless network of terminal device connection determines end
The message transmission rate of end equipment, optionally, can by terminal device store Rate mapping table determine unlike signal intensity and
Message transmission rate corresponding to the combination of error vector magnitude value, the Rate mapping table are stored in advance in terminal device, also
Can message transmission rate be calculated by preset formula.
Step S103, the terminal device is controlled to start data transmission with the message transmission rate.
Terminal device, can be according to the higher data transmission of default setting when realizing network connection and carrying out data transmission
Rate carries out data transmitting, reduces data transmission rate accordingly again when discovery packet loss is higher to ensure the standard of transmission data
True property does not consider the actual signal situation of wireless network and the error vector width of terminal device itself of terminal device connection
Influence of the angle value to packet loss, meanwhile, error vector magnitude value is usually once calculated when wireless network is restarted, and terminal
Equipment (grip position state is held or erected to the horizontal of such as user) error vector magnitude value under different postures is dynamic change, to wireless network
Network transmission rate does not consider influence of the variation of the error vector magnitude value to transmission rate during being controlled, and then
The message transmission rate determined not is that (appropriate speed refers to the feelings for meeting certain condition such as less than 1% in packet loss to appropriate speed
Under condition, the maximum rate of data transmission).In one embodiment, (rate after message transmission rate is determined according to step S102
It is updated according to different terminal device postures), carry out data transmitting according to the message transmission rate.Optionally, can pass through
The speed control Interface Controller terminal device of network module chipset starts data transmission with the message transmission rate or will
The control strategy of message transmission rate is write in a manner of driver or firmware upgrade in chipset, in definite data transmission
After rate, the terminal device is controlled to start data transmission with the message transmission rate.
As shown in the above, terminal device is after wireless network connection is established, according to the real-time school of the posture of terminal device
Accurate current error vector magnitude value, improves the accuracy of error vector magnitude value, and based on the error vector magnitude value and
Wireless network signal strength determines message transmission rate, improves wireless network transmissions efficiency.
Fig. 2 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application, optionally,
The attitude data to terminal device be monitored including:The attitude data determined to the gravity sensor that terminal device integrates
It is monitored;Wherein, the preset condition holds condition including horizontal condition of holding with perpendicular.It is preset when detecting that the attitude data meets
During condition, the pressing area detected according to touch-screen determines whether to be pressed, and is pressed if detected, it is determined that terminal is set
Standby current error vector magnitude value.As shown in Fig. 2, technical solution is specific as follows:
Step S201, the attitude data determined to the gravity sensor that terminal device integrates is monitored.
Step S202, judge whether the attitude data meets preset condition, if it is, step S203 is performed, if
Otherwise continue to monitor.
Wherein, which holds condition including horizontal condition of holding with perpendicular, and specific judgment mode is referring to the solution in step S101
Part is released, details are not described herein again.
Step S203, the pressing area detected according to touch-screen determines whether the terminal device is pressed, if so,
Step S204 is then performed, if it is not, then performing step S201.
In this step, after step S202 determines that terminal device attitude data meets preset condition, determine whether described
Whether terminal device is pressed, i.e., when user's hand held terminal equipment, some regions (such as corner or frame region) meeting of screen
Detect corresponding press event, it is corresponding, if detecting pressing, thus judge that terminal device is in user and holds shape
State further performs step S204.
Step S204, the current error vector magnitude value of the terminal device is determined.
Step S205, the signal of the wireless network connected according to the error vector magnitude value and the terminal device is strong
Degree determines the message transmission rate of the terminal device.
Step S206, the terminal device is controlled to start data transmission with the message transmission rate.
It can be seen from the above, when definite terminal device attitude data meets condition, further determine that whether terminal device is located
State is held in user, error vector magnitude at this time is determined when it is in holding state, and then redefines corresponding number
According to transmission rate, avoiding user's holding attitudes vibration causes error vector magnitude to change, and to definite message transmission rate
The problem of having an impact improves the transmission performance of wireless network.
Fig. 3 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application, optionally,
Before the attitude data to terminal device is monitored, further include:The radio frequency sent to terminal device under different postures
Signal is demodulated, and is determined error vector magnitude value of the terminal device under different postures according to demodulation result, and is generated
Corresponding error map table;Correspondingly, the error vector magnitude value for determining that the terminal device is current includes:According to described
Attitude data inquires about the error map table and determines corresponding error vector magnitude value.It is described according to the error vector magnitude value
And the signal strength of the wireless network of the terminal device connection determines that the message transmission rate of the terminal device includes:According to
According to the signal strength query rate mapping table for the wireless network that the error vector magnitude value and the terminal device connect, root
The message transmission rate of the corresponding terminal device is determined according to query result.As shown in figure 3, technical solution is specific as follows:
Step S301, the radiofrequency signal sent to terminal device under different postures is demodulated, and is determined according to demodulation result
Error vector magnitude value of the terminal device under different postures, and generate corresponding error map table.
In one embodiment, vector signal transmitter is controlled to generate radiofrequency signal, terminal device is right under different postures
The transmission of the radiofrequency signal, the signal sent using Vector Signal Analyzer to the terminal device are demodulated, according to solution
Result is adjusted to determine the terminal device corresponding error vector magnitude value under the posture, error map is generated according to test result
Table is simultaneously stored.
Step S302, generation combines corresponding message transmission rate comprising error vector magnitude value and unlike signal intensity
Rate mapping table.
Record has different error vector magnitude values, the combination of signal strength and each corresponds to not in Rate mapping table
Same message transmission rate, can be determined by specific corresponding to relation, i.e., in assigned error vector magnitude value and wireless network
In the case of network signal strength, (or ascending) descending to message transmission rate is debugged successively, will meet network
The maximum data transfer rate of transmission standard is determined as corresponding number under the error vector magnitude value and wireless network signal strength
It is recorded according to transmission rate and accordingly in Rate mapping table.Illustratively, error vector magnitude value be -23, signal strength for -
Corresponding message transmission rate is 16M during 70db.
Step S303, the attitude data of terminal device is monitored, item is preset when detecting that the attitude data meets
During part, the error map table is inquired about according to the attitude data and determines corresponding error vector magnitude value.
Step S304, the signal of the wireless network connected according to the error vector magnitude value and the terminal device is strong
Query rate mapping table is spent, the message transmission rate of the corresponding terminal device is determined according to query result.
Step S305, the terminal device is controlled to start data transmission with the message transmission rate.
It can be seen from the above, it tests to obtain different error vector magnitude values and network signal intensity pair in advance by tester
The maximum data transfer rate answered when subsequent terminal equipment, which carries out wireless network transmissions, meets preset condition, determines to work as in real time
Preceding error vector magnitude value and wireless network signal strength, and suitable data transmission speed is directly determined using lookup table mode
Rate, and data transmitting is carried out according to the message transmission rate, suitable wireless network transmissions rate can be quickly positioned, is improved
The control efficiency of wireless network.
Fig. 4 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application, optionally,
In the signal strength query rate of the wireless network connected according to the error vector magnitude value and the terminal device
Before mapping table, further include:Determine the routed channels that the terminal device currently connects and the communication protocol used;Accordingly
, the signal strength query rate of the wireless network connected according to the error vector magnitude value and the terminal device
Mapping table includes:According to the signal strength of the error vector magnitude value and the wireless network of terminal device connection, road
By channel and communication protocol query rate mapping table, in the Rate mapping table record have error vector magnitude value, signal strength,
The various combination and corresponding message transmission rate of routed channels and communication protocol.As shown in figure 4, technical solution is specific
It is as follows:
Step S401, according to test result generating rate mapping table.
Wherein, the record of Rate mapping token has error vector magnitude value, signal strength, routed channels and the communication used
The various combination of agreement and corresponding message transmission rate, in this step, the method for determination of message transmission rate is in foundation
On the basis of error vector magnitude value and unlike signal intensity, two routed channels, communication protocol parameters are further increased,
In, routed channels (also known as frequency range) are the data-signal Transfer pipes using wireless signal as transmission media, such as common
IEEE802.11b/g is operated in 2.4~2.4835GHz frequency ranges, these frequency ranges are divided into 11 or 13 routed channels, communication protocol
Refer to the consensus standard that terminal device carries out network data transmission, different routed channels and communication protocol are to message transmission rate
It is required that there are difference, the default mapping table in the embodiment contains diversely routed channels and communication protocol parameter, with and error
Vector magnitude value, signal strength determine message transmission rate jointly, wherein, specific test method and finally definite data transmission
The strategy of rate is surveyed referring to the explanation part of step S302 under the network environment of diversely routed channels and communication protocol
Examination is with definite corresponding message transmission rate.
Step S402, after detecting wireless network connection success, determine the error vector magnitude value of terminal device and work as
The signal strength of the wireless network of preceding connection.
Step S403, the routed channels that the terminal device currently connects and the communication protocol used are determined.
Optionally, the data message that the routed channels and communication protocol used are fed back according to the router of connection carries out true
It is fixed.
Step S404, the signal of the wireless network connected according to the error vector magnitude value and the terminal device is strong
Degree, routed channels and communication protocol query rate mapping table determine the data of the corresponding terminal device according to query result
Transmission rate.
Step S405, the terminal device is controlled to start data transmission with the message transmission rate.
It can be seen from the above, this programme has been further introduced into routed channels and communication protocol when determining message transmission rate
Two parameters, it is contemplated that the influence of different channels and different communication protocol to message transmission rate so that finally definite number
It is more accurate according to transmission rate, data transmission is started with the message transmission rate when wireless network carries out data transmission, is avoided
Dynamic adjusting data transmission rate finds the problem of higher power consumption that appropriate speed is brought, inefficiency.
Fig. 5 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application, optionally,
After the control terminal device starts data transmission with the message transmission rate, further include:Data transmission is lost
It loses number to be recorded, if data transmission fails number is more than predetermined threshold value in preset time, reduces data transmission speed
Rate.As shown in figure 5, technical solution is specific as follows:
Step S501, the attitude data of terminal device is monitored, item is preset when detecting that the attitude data meets
During part, the current error vector magnitude value of the terminal device is determined.
Step S502, the routed channels that the terminal device currently connects and the communication protocol used are determined.
Step S503, the signal of the wireless network connected according to the error vector magnitude value and the terminal device is strong
Query rate mapping table is spent, the message transmission rate of the corresponding terminal device is determined according to query result.
Step S504, the terminal device is controlled to start data transmission with the message transmission rate.
Step S505, data transmission fails number is recorded, if the data transmission fails number in preset time
More than predetermined threshold value, then message transmission rate is reduced.
Illustratively, can be in 1s data transmission fails 2 times and more than, then reduce accordingly message transmission rate with
Ensure the stability of data transmission.In another embodiment, can also to transmitting the accuracys of data, packet loss verifies,
It is corresponding if packet loss higher (as packet loss is higher than 1%) to reduce message transmission rate if data transmission accuracy is relatively low.
It can be seen from the above, determining message transmission rate simultaneously according to definite in real time error vector magnitude value and signal strength
After starting data transmission, the variation of data transmission quality, signal strength is detected, according to transmission quality and signal strength
Variation carries out data transmission the adjustment of rate, and subsequent real-time adjusting is carried out to message transmission rate, further perfect wirelessly
Network transmission speed control method.
Fig. 6 is a kind of structure diagram of wireless network transmissions rate control device provided by the embodiments of the present application, the device
For perform above-described embodiment offer wireless network transmissions method of rate control, possess the corresponding function module of execution method and
Advantageous effect.As shown in fig. 6, the device specifically includes:Error determination module 101, rate determination module 102 and transmission control mould
Block 103, wherein,
Error determination module 101 is monitored for the attitude data to terminal device, when detecting the attitude data
When meeting preset condition, the current error vector magnitude value of the terminal device is determined.
Wherein, attitude data is for characterizing the current posture of terminal device, such as direction, transverse screen, vertical screen, as gyroscope,
Accelerometer and the data of gravity sensing instrument acquisition.In one embodiment, which is the weight integrated by terminal device
The data that force snesor determines, correspondingly, the attitude data of terminal device is monitored including:The weight integrated to terminal device
The attitude data that force snesor determines is monitored.
When detecting that attitude data meets preset condition, the current error vector magnitude value of the terminal device is determined,
Wherein it is possible to be when the attitude data for detecting terminal device meets transverse screen condition or vertical screen condition, determine that the terminal is set
Standby current error vector magnitude value, it is also possible that detect terminal device attitude data meet corresponding parameter (angle,
Acceleration) when, determine the current error vector magnitude value of the terminal device.
Wherein, error vector magnitude (Error Vector Magnitude, abbreviation EVM) refers to errorless in given time ideal
Poor reference signal and the vector difference of actual transmission signal, for weighing the range error of modulated signal and phase error, to ensure
The accuracy of data transmission, the error vector magnitude value of terminal device is bigger, and data transmission rates demands control smaller, instead
It, error vector magnitude value is smaller, can increase message transmission rate accordingly to improve data transmission efficiency.In one embodiment
In, the error vector magnitude value of the terminal device is complete machine error vector magnitude value, i.e., each component group inside terminal device
The error vector magnitude value being determined entirely by under the influence of conjunction.
When detecting that attitude data meets preset condition, the current error vector magnitude value of the terminal device is determined,
It can be that the test circuit integrated by terminal device calculates the error vector magnitude value for determining that terminal device is current, can also be
Determine according to terminal device memory error mapping table, wherein, error map table have recorded the corresponding error of different attitude datas to
Magnitude value, the generating process of the error map table can be:In the case where terminal device is in different postures, control vector signal hair
Emitter generates radiofrequency signal, the transmission of the radiofrequency signal is carried out by terminal device, using Vector Signal Analyzer to described
The signal that terminal device is sent is demodulated, and the error vector magnitude of terminal device under current pose is determined according to demodulation result
Value.
Rate determination module 102, it is wireless for being connected according to the error vector magnitude value and the terminal device
The signal strength of network determines the message transmission rate of the terminal device.
Illustratively, after terminal device and accessible equipment (such as router) carry out Wifi network connections, with Android
Exemplified by operating system, the signal strength of the wireless network currently connected is determined by wifiinfo.getRssi () method,
In, to determining the factor that has an impact of suitable message transmission rate in addition to above-mentioned error vector magnitude value, the letter of wireless network
Number intensity can also produce bigger effect, and the message transmission rate of usual its stronger Corresponding matching of signal strength can be higher, such as
The correspondence in MCS tables in 802.11n.
In one embodiment, when the signal strength for determining wireless network that terminal device currently connects and itself
After error vector magnitude value, the signal strength according to error vector magnitude value and the wireless network of terminal device connection determines end
The message transmission rate of end equipment, optionally, can by terminal device store Rate mapping table determine unlike signal intensity and
Message transmission rate corresponding to the combination of error vector magnitude value, the Rate mapping table are stored in advance in terminal device, also
Can message transmission rate be calculated by preset formula.
Transmission control module 103, for the terminal device to be controlled to start data transmission with the message transmission rate.
Terminal device, can be according to the higher data transmission of default setting when realizing network connection and carrying out data transmission
Rate carries out data transmitting, reduces data transmission rate accordingly again when discovery packet loss is higher to ensure the standard of transmission data
True property does not consider the actual signal situation of wireless network and the error vector width of terminal device itself of terminal device connection
Influence of the angle value to packet loss, meanwhile, error vector magnitude value is usually once calculated when wireless network is restarted, and terminal
Equipment (grip position state is held or erected to the horizontal of such as user) error vector magnitude value under different postures is dynamic change, to wireless network
Network transmission rate does not consider influence of the variation of the error vector magnitude value to transmission rate during being controlled, and then
The message transmission rate determined not is that (appropriate speed refers to the feelings for meeting certain condition such as less than 1% in packet loss to appropriate speed
Under condition, the maximum rate of data transmission).In one embodiment, (rate after message transmission rate is determined according to step S102
It is updated according to different terminal device postures), carry out data transmitting according to the message transmission rate.Optionally, can pass through
The speed control Interface Controller terminal device of network module chipset starts data transmission with the message transmission rate or will
The control strategy of message transmission rate is write in a manner of driver or firmware upgrade in chipset, in definite data transmission
After rate, the terminal device is controlled to start data transmission with the message transmission rate.
As shown in the above, terminal device is after wireless network connection is established, according to the real-time school of the posture of terminal device
Accurate current error vector magnitude value, improves the accuracy of error vector magnitude value, and based on the error vector magnitude value and
Wireless network signal strength determines message transmission rate, improves wireless network transmissions efficiency.
In a possible embodiment, the error determination module 101 is specifically used for:The gravity integrated to terminal device
The attitude data that sensor determines is monitored;Wherein, the preset condition holds condition including horizontal condition of holding with perpendicular.
In a possible embodiment, the error determination module 101 is specifically used for:
The test circuit integrated by the terminal device determines current error vector magnitude value.
In a possible embodiment, the error determination module 101 is additionally operable to:
Before the attitude data to terminal device is monitored, to the radio frequency of terminal device transmission under different postures
Signal is demodulated, and is determined error vector magnitude value of the terminal device under different postures according to demodulation result, and is generated
Corresponding error map table;The error map table is inquired about according to the attitude data and determines corresponding error vector magnitude value.
In a possible embodiment, the rate determination module 102 is specifically used for:
Signal strength inquiry speed according to the wireless network that the error vector magnitude value and the terminal device connect
Rate mapping table determines the message transmission rate of the corresponding terminal device according to query result.
In a possible embodiment, the rate determination module 102 is additionally operable to:
In the signal strength of the wireless network connected according to the error vector magnitude value and the terminal device
Before query rate mapping table, the routed channels that the terminal device currently connects and the communication protocol used are determined;Foundation
Signal strength, routed channels and the communication protocol of the error vector magnitude value and the wireless network of terminal device connection
Query rate mapping table, record has error vector magnitude value, signal strength, routed channels and communication in the Rate mapping table
The various combination of agreement and corresponding message transmission rate.
In a possible embodiment, which further includes update module 104, is used for:
After the control terminal device starts data transmission with the message transmission rate, data transmission is lost
It loses number to be recorded, if data transmission fails number is more than predetermined threshold value in preset time, reduces data transmission speed
Rate.
The present embodiment provides a kind of terminal device on the basis of the various embodiments described above, and Fig. 7 is that the embodiment of the present application carries
The structure diagram of a kind of terminal device supplied, as shown in fig. 7, the terminal device 200 includes:Memory 201, processor
(Central Processing Unit, CPU) 202, Peripheral Interface 203, RF (Radio Frequency, radio frequency) circuit 205,
Voicefrequency circuit 206, loud speaker 211, power management chip 208, input/output (I/O) subsystem 209, touch-screen 212, Wifi
Module 213, other input/control devicess 210 and outside port 204, these components by one or more communication bus or
Signal wire 207 communicates.
It should be understood that graphic terminal 200 is only an example of terminal device, and terminal device 200
Can have than more or less components shown in figure, two or more components can be combined or can be with
It is configured with different components.Various parts shown in figure can be including one or more signal processings and/or special
Hardware, software including integrated circuit are realized in the combination of hardware and software.
Just the terminal device of the rights management provided in this embodiment for more opening application is described in detail below, should
Terminal device is by taking smart mobile phone as an example.
Memory 201, the memory 201 can be by access such as CPU202, Peripheral Interfaces 203, and the memory 201 can
To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU202 and deposited by Peripheral Interface 203, the Peripheral Interface 203
Reservoir 201.
I/O subsystems 209, the I/O subsystems 209 can be by the input/output peripherals in equipment, such as touch-screen 212
With other input/control devicess 210, Peripheral Interface 203 is connected to.I/O subsystems 209 can include 2091 He of display controller
For controlling one or more input controllers 2092 of other input/control devicess 210.Wherein, one or more input controls
Device 2092 processed receives electric signal from other input/control devicess 210 or sends electric signal to other input/control devicess 210,
Other input/control devicess 210 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks on idler wheel.What deserves to be explained is input controller 2092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 212, the touch-screen 212 are the input interface and output interface between user terminal and user, can
User is shown to depending on output, visual output can include figure, text, icon, video etc..
Display controller 2091 in I/O subsystems 209 receives electric signal from touch-screen 212 or is sent out to touch-screen 212
Electric signals.Touch-screen 212 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 2091
The interaction of user interface object on touch-screen 212, that is, realize human-computer interaction, the user interface being shown on touch-screen 212
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch-screen.
RF circuits 205 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 205 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 205 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 205 can include performing
The known circuit of these functions includes but not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 206 is mainly used for receiving voice data from Peripheral Interface 203, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 211.
Loud speaker 211 for the voice signal for receiving mobile phone from wireless network by RF circuits 205, is reduced to sound
And play the sound to user.
Power management chip 208, the hardware for being connected by CPU202, I/O subsystem and Peripheral Interface are powered
And power management.
The wireless network transmissions rate control device and terminal device of the terminal device provided in above-described embodiment can perform
It is corresponding to possess execution this method for the wireless network transmissions method of rate control for the terminal device that any embodiment of the present invention is provided
Function module and advantageous effect.The not technical detail of detailed description in the above-described embodiments is implemented reference can be made to the present invention is arbitrary
The wireless network transmissions method of rate control for the terminal device that example is provided.
The embodiment of the present application also provides a kind of storage medium for including terminal device executable instruction, and the terminal device can
It executes instruction and is used to perform a kind of wireless network transmissions method of rate control, this method bag when being performed by terminal device processor
It includes:
The attitude data of terminal device is monitored, when detecting that the attitude data meets preset condition, is determined
The current error vector magnitude value of the terminal device;
Signal strength according to the error vector magnitude value and the wireless network of terminal device connection determines institute
State the message transmission rate of terminal device;
The terminal device is controlled to start data transmission with the message transmission rate.
In a possible embodiment, the attitude data to terminal device be monitored including:To terminal device
The attitude data that integrated gravity sensor determines is monitored;Wherein, the preset condition holds item including horizontal condition of holding with perpendicular
Part.
In a possible embodiment, the error vector magnitude value for determining that the terminal device is current includes:
The test circuit integrated by the terminal device determines current error vector magnitude value.
In a possible embodiment, before the attitude data to terminal device is monitored, further include:
The radiofrequency signal sent to terminal device under different postures is demodulated, and determines that the terminal is set according to demodulation result
The standby error vector magnitude value under different postures, and generate corresponding error map table;
Correspondingly, the error vector magnitude value for determining that the terminal device is current includes:
The error map table is inquired about according to the attitude data and determines corresponding error vector magnitude value.
In a possible embodiment, it is described to connect according to the error vector magnitude value and the terminal device
The signal strength of wireless network determines that the message transmission rate of the terminal device includes:
Signal strength inquiry speed according to the wireless network that the error vector magnitude value and the terminal device connect
Rate mapping table determines the message transmission rate of the corresponding terminal device according to query result.
In a possible embodiment, connected described according to the error vector magnitude value and the terminal device
Wireless network signal strength query rate mapping table before, further include:
Determine the routed channels that the terminal device currently connects and the communication protocol used;
Correspondingly, the signal of the wireless network connected according to the error vector magnitude value and the terminal device
Intensity query rate mapping table includes:
According to the signal strength of the error vector magnitude value and the wireless network of terminal device connection, routing letter
Road and communication protocol query rate mapping table, record has error vector magnitude value, signal strength, routing in the Rate mapping table
The various combination and corresponding message transmission rate of channel and communication protocol.
In a possible embodiment, data are started with the message transmission rate in the control terminal device
After transmission, further include:
Data transmission fails number is recorded, if data transmission fails number is more than default threshold in preset time
Value, then reduce message transmission rate.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other
The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction and be used to perform to the first computer." storage is situated between term
Matter " can include may reside in different position two of (such as in different computer systems by network connection) or
More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer
The wireless network transmissions method of rate control operation that executable instruction is not limited to the described above can also carry out of the invention arbitrary real
Apply the relevant operation in the wireless network transmissions method of rate control that example is provided.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various apparent variations,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. wireless network transmissions method of rate control, which is characterized in that including:
The attitude data of terminal device is monitored, when detecting that the attitude data meets preset condition, is determined described
The current error vector magnitude value of terminal device;
Signal strength according to the error vector magnitude value and the wireless network of terminal device connection determines the end
The message transmission rate of end equipment;
The terminal device is controlled to start data transmission with the message transmission rate.
2. according to the method described in claim 1, it is characterized in that, the attitude data to terminal device is monitored bag
It includes:The attitude data determined to the gravity sensor that terminal device integrates is monitored;Wherein, the preset condition includes horizontal hold
Condition holds condition with perpendicular.
3. the according to the method described in claim 1, it is characterized in that, error vector width for determining that the terminal device is current
Angle value includes:
The test circuit integrated by the terminal device determines current error vector magnitude value.
4. according to the method described in claim 1, it is characterized in that, it is monitored it in the attitude data to terminal device
Before, it further includes:
The radiofrequency signal sent to terminal device under different postures is demodulated, and determines that the terminal device exists according to demodulation result
Error vector magnitude value under different postures, and generate corresponding error map table;
Correspondingly, the error vector magnitude value for determining that the terminal device is current includes:
The error map table is inquired about according to the attitude data and determines corresponding error vector magnitude value.
5. according to the described method of any one of claim 1-4, which is characterized in that described according to the error vector magnitude value
And the signal strength of the wireless network of the terminal device connection determines that the message transmission rate of the terminal device includes:
Signal strength query rate according to the error vector magnitude value and the wireless network of terminal device connection is reflected
Firing table determines the message transmission rate of the corresponding terminal device according to query result.
6. according to the method described in claim 5, it is characterized in that, described according to the error vector magnitude value and described
Before the signal strength query rate mapping table of the wireless network of terminal device connection, further include:
Determine the routed channels that the terminal device currently connects and the communication protocol used;
Correspondingly, the signal strength of the wireless network connected according to the error vector magnitude value and the terminal device
Query rate mapping table includes:
The signal strength of the wireless network connected according to the error vector magnitude value and the terminal device, routed channels and
Communication protocol query rate mapping table, record has error vector magnitude value, signal strength, routed channels in the Rate mapping table
And various combination and the corresponding message transmission rate of communication protocol.
7. according to the described method of any one of claim 1-4, which is characterized in that in the control terminal device with institute
It states after message transmission rate starts data transmission, further includes:
Data transmission fails number is recorded, if data transmission fails number is more than predetermined threshold value in preset time,
Then reduce message transmission rate.
8. wireless network transmissions rate control device, which is characterized in that including:
Error determination module is monitored for the attitude data to terminal device, when detecting that it is pre- that the attitude data meets
If during condition, determine the current error vector magnitude value of the terminal device;
Rate determination module, for the letter according to the error vector magnitude value and the wireless network of terminal device connection
Number intensity determines the message transmission rate of the terminal device;
Transmission control module, for the terminal device to be controlled to start data transmission with the message transmission rate.
9. a kind of terminal device, including:Processor, memory and storage are on a memory and the meter that can run on a processor
Calculation machine program, which is characterized in that the processor is realized when performing the computer program such as any one of claim 1-7 institutes
The wireless network transmissions method of rate control stated.
A kind of 10. storage medium for including terminal device executable instruction, which is characterized in that the terminal device executable instruction
Wireless network transmissions rate control when being performed as terminal device processor for execution as any one of claim 1-7
Method processed.
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 true CN108093444A (en) | 2018-05-29 |
CN108093444B 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) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108471630A (en) * | 2018-06-12 | 2018-08-31 | Oppo广东移动通信有限公司 | transmission rate adjusting method, device, mobile terminal and computer-readable medium |
CN108770022A (en) * | 2018-06-12 | 2018-11-06 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer read/write memory medium |
CN108770023A (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 |
CN108901032A (en) * | 2018-06-12 | 2018-11-27 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium |
CN111601335A (en) * | 2020-04-22 | 2020-08-28 | 烽火通信科技股份有限公司 | Wireless network performance test method and wireless AP |
CN112148529A (en) * | 2020-09-24 | 2020-12-29 | 杭州海康机器人技术有限公司 | Data transmission method and device, camera, computing equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170354A (en) * | 2006-10-24 | 2008-04-30 | 三洋电机株式会社 | Communication method and wireless device using the same |
US20090156148A1 (en) * | 2007-12-12 | 2009-06-18 | Electronics And Telecommunications Research Institute | Link adaptation method and apparatus in wireless communication system |
CN102075297A (en) * | 2011-01-25 | 2011-05-25 | 北京航空航天大学 | Mobility-prediction-based wireless fidelity (WiFi) speed self-adapting selecting method |
WO2014166249A1 (en) * | 2013-07-19 | 2014-10-16 | 中兴通讯股份有限公司 | Adaptive and power-controllable wifi adjusting method and device |
CN104410984A (en) * | 2014-11-26 | 2015-03-11 | 深圳市共进电子股份有限公司 | Wireless AP (access point) RF (radio frequency) index testing system and testing method thereof |
CN104618965A (en) * | 2013-11-05 | 2015-05-13 | 松下知识产权经营株式会社 | Wireless communication system, receiver, transmitter, and transmission rate control method |
-
2018
- 2018-02-23 CN CN201810155389.5A patent/CN108093444B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170354A (en) * | 2006-10-24 | 2008-04-30 | 三洋电机株式会社 | Communication method and wireless device using the same |
US20090156148A1 (en) * | 2007-12-12 | 2009-06-18 | Electronics And Telecommunications Research Institute | Link adaptation method and apparatus in wireless communication system |
CN102075297A (en) * | 2011-01-25 | 2011-05-25 | 北京航空航天大学 | Mobility-prediction-based wireless fidelity (WiFi) speed self-adapting selecting method |
WO2014166249A1 (en) * | 2013-07-19 | 2014-10-16 | 中兴通讯股份有限公司 | Adaptive and power-controllable wifi adjusting method and device |
CN104618965A (en) * | 2013-11-05 | 2015-05-13 | 松下知识产权经营株式会社 | Wireless communication system, receiver, transmitter, and transmission rate control method |
CN104410984A (en) * | 2014-11-26 | 2015-03-11 | 深圳市共进电子股份有限公司 | Wireless AP (access point) RF (radio frequency) index testing system and testing method thereof |
Non-Patent Citations (1)
Title |
---|
曾召华等: ""4G 移动系统中误差向量幅度的影响分析与评估"", 《网络多媒体》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108471630A (en) * | 2018-06-12 | 2018-08-31 | Oppo广东移动通信有限公司 | transmission rate adjusting method, device, mobile terminal and computer-readable medium |
CN108770022A (en) * | 2018-06-12 | 2018-11-06 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer read/write memory medium |
CN108770023A (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 |
CN108901032A (en) * | 2018-06-12 | 2018-11-27 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium |
CN111601335A (en) * | 2020-04-22 | 2020-08-28 | 烽火通信科技股份有限公司 | Wireless network performance test method and wireless AP |
CN112148529A (en) * | 2020-09-24 | 2020-12-29 | 杭州海康机器人技术有限公司 | Data transmission method and device, camera, computing equipment and storage medium |
CN112148529B (en) * | 2020-09-24 | 2024-06-21 | 杭州海康机器人股份有限公司 | Data transmission method, device, camera, computing device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108093444B (en) | 2020-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108093444A (en) | Wireless network transmissions method of rate control, device, terminal device and storage medium | |
US11997734B2 (en) | Wireless headphone matching method, device, terminal and charging box | |
US20200267618A1 (en) | Electronic device for performing handover in wireless network environment and method thereof | |
US11016724B2 (en) | Method for changing audio signal path according to external electronic device transmitting EM signal and electronic device therefor | |
US11843967B2 (en) | Method for providing low latency communication for extended reality service and electronic device therefor | |
US11057379B2 (en) | Electronic device performing authentication on another electronic device and method for operating the same | |
CN111586235B (en) | Electronic device and computer-readable medium for dynamically laying out messages | |
US11210056B2 (en) | Electronic device and method of controlling thereof | |
WO2022222657A1 (en) | Automobile diagnosis system and method, and cloud server | |
US10262648B2 (en) | Method for controlling interference in audio service and terminal | |
KR20200098068A (en) | Method for recommending word and apparatus thereof | |
US11330651B2 (en) | Electronic device using bluetooth communication and operating method thereof | |
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 | |
US11063358B2 (en) | Structure of electronic device for optimizing performance of antenna and method thereof | |
CN115696637A (en) | Information acquisition method and device, bluetooth device, terminal device and storage medium | |
US11202244B2 (en) | Electronic device using WiFi communication and operation method thereof | |
CN108260115A (en) | Bluetooth equipment position information processing method, device, terminal device and storage medium | |
US11224018B2 (en) | Electronic device and method for reducing current consumption of electronic device in near field wireless communication using same | |
US20200244750A1 (en) | System for processing user data and controlling method thereof | |
CN106341436B (en) | Method and device for detecting acceleration effect | |
CN112486350A (en) | Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal | |
CN112379857B (en) | Audio data processing method and device, storage medium and mobile terminal | |
CN113746982B (en) | Audio playing control method and device, electronic equipment and readable storage medium | |
CN112398704B (en) | Virtual network delay calculation method and terminal equipment |
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 |