CN108366396A - 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
- CN108366396A CN108366396A CN201810155595.6A CN201810155595A CN108366396A CN 108366396 A CN108366396 A CN 108366396A CN 201810155595 A CN201810155595 A CN 201810155595A CN 108366396 A CN108366396 A CN 108366396A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- wireless network
- error vector
- vector magnitude
- 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.)
- Pending
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
Abstract
The embodiment of the present application discloses a kind of wireless network transmissions method of rate control, device, terminal device and storage medium, and this method includes after detecting wireless network connection success, obtaining the 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 message transmission rate of the terminal device;It controls the terminal device and data transmission is started with the message transmission rate, this programme 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 users' using terminal is set
Standby access wireless network executes 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 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, needs to improve.
Invention content
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, the control efficiency of wireless network is improved.
In a first aspect, the embodiment of the present application provides a kind of wireless network transmissions method of rate control, including:
After detecting wireless network connection success, the error vector magnitude value of terminal device is obtained;
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;
It controls the terminal device and data transmission is started with the message transmission rate.
Second aspect, the embodiment of the present application also provides a kind of wireless network transmissions rate control devices, including:
Error determination module obtains the error vector magnitude of terminal device after detecting wireless network connection success
Value;
Rate determination module, the wireless network for being connected according to the error vector magnitude value and the terminal device
Signal strength determine the message transmission rate of the terminal device;
Transmission control module starts data transmission for controlling the terminal device with the message transmission rate.
The third aspect, the embodiment of the present application also provides a kind of terminal devices, 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 executing 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 also provides a kind of storage medium including terminal device executable instruction, institutes
Terminal device executable instruction is stated when being executed by terminal device processor for executing the wireless network described in the embodiment of the present application
Network transmission rate control.
In the present solution, after detecting wireless network connection success, the error vector magnitude value of terminal device is obtained, according to institute
The signal strength for stating the wireless network that error vector magnitude value and the terminal device connect determines the number of the terminal device
It according to transmission rate, controls the terminal device and data transmission is started with the message transmission rate, it is suitable quickly to position
Wireless network transmissions rate improves the control efficiency of wireless network.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention 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 structural schematic diagram of terminal device provided by the embodiments of the present application.
Specific implementation mode
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 for explaining the present invention rather than limitation of the invention.It also should be noted that for the ease of retouching
It states, only the parts related to the present invention are shown in attached drawing rather than entire infrastructure.
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, after detecting wireless network connection success, the error vector magnitude value of terminal device is obtained.
Wherein, wireless network (wireless network) is the network realized using wireless communication technique.Wireless network
Both included that terminal device is allowed to establish global voice and data network that remote-wireless connects, and also included connecting near radio
The infrared technology optimized and radio-frequency technique are connect, very similar with the purposes of cable network, maximum difference is to transmit
The difference of medium replaces cable using radiotechnics, can backup each other with cable network.In the present solution, wireless network is used
In the connection for realizing terminal device and router so that terminal device access global voice data network or formation local area network.
Wherein, error vector magnitude (Error Vector Magnitude, abbreviation EVM) refers to errorless in given time ideal
The vector difference of poor reference signal and actual transmission signal, the range error for weighing modulated signal and phase error, to ensure
The error vector magnitude value of the accuracy of data transmission, terminal device is bigger, and data transmission rates demands are smaller, conversely, error
Vector magnitude value is smaller, can increase message transmission rate accordingly to improve data transmission efficiency.In one embodiment, the end
The error vector magnitude value of end equipment is complete machine error vector magnitude value, i.e., the influence of each component combination inside terminal device
The error vector magnitude value that lower integrated testability obtains.Optionally, it is surveyed when which can be terminal device manufacture
Try obtain and be stored in the parameter in terminal device, specific test process can be:Vector signal transmitter is controlled to generate
Radiofrequency signal carries out the transmission of the radiofrequency signal by terminal device, using Vector Signal Analyzer to the terminal device
The signal of transmission is demodulated, and the error vector magnitude value of the terminal device is determined according to demodulation result.Optionally, the error
Vector magnitude value can also be:After detecting wireless network connection success, obtain what the integrated test circuit of terminal device measured
Error vector magnitude value.
In one embodiment, by taking Android operation system as an example, the network connection state of terminal device is supervised
It listens, such as receives the broadcast that network state changes using BroadcastReceiver.Illustratively, network monitoring is carried out first
Registration:
// registered network is monitored
IntentFilter filter=new IntentFilter ();
filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
registerReceiver(mNetworkStateReceiver,filter);
Cancel in // the onDestroy in Activity and monitoring
unregisterReceiver(mNetworkStateReceiver);
Specifically snoop procedure can be:
It is after connecting, correspondingly, obtaining the error vector width of terminal device to determine wireless network connection state change
Angle 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
For operating system, the signal strength of the wireless network currently connected is determined by wifiinfo.getRssi () method,
In, the factor having an impact to the suitable message transmission rate of determination is in addition to above-mentioned error vector magnitude value, the letter of wireless network
Number intensity also will produce larger impact, 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 eventually
The message transmission rate of end equipment, optionally, can by terminal device store mapping table determine unlike signal intensity and
Message transmission rate corresponding to the combination of error vector magnitude value, the mapping table are stored in advance in terminal device, also
Message transmission rate can be calculated by preset formula.
Step S103, it controls the terminal device and data transmission is started with the message transmission rate.
Terminal device can carry out data hair after network connection success according to the higher message transmission rate of default setting
It penetrates, reduces data transmission rate accordingly again when finding that packet loss is higher to ensure the accuracy of transmission data, do not consider
The actual signal situation of the wireless network of terminal device connection and the error vector magnitude value of terminal device itself are to packet loss
Influence.In one embodiment, (not according to silent after message transmission rate when redefining connection beginning according to step S102
The maximum data transmission rate recognized starts data transmitting but selects moderate message transmission rate), according to data transmission speed
Rate proceeds by data transmitting.It optionally, can be by the rate control Interface Controller terminal device of network module chipset with institute
It states message transmission rate and starts data transmission, or by the control strategy of message transmission rate with driver or firmware upgrade
Mode is written in chipset, is opened with the message transmission rate with after determining message transmission rate, controlling the terminal device
Beginning data transmission.
As shown in the above, after wireless network connection success, pass through error vector magnitude value and the letter of wireless network
Number intensity determines the message transmission rate of terminal device and starts data transmission with the transmission rate, and avoid needs in the prior art
The drawbacks of wanting multiple rate to attempt to ensure the inefficiency that data transmission accuracy is brought so that terminal device can quickly with
Optimal message transmission rate carries out the transmission of network data.
Fig. 2 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application, optionally,
Before the error vector magnitude value for obtaining terminal device, further include:It controls vector signal transmitter and generates radiofrequency signal,
The transmission that the radiofrequency signal is carried out by terminal device, the signal that the terminal device is sent using Vector Signal Analyzer
It is demodulated, the error vector magnitude value of the terminal device is determined according to demodulation result.As shown in Fig. 2, technical solution is specific
It is as follows:
Step S201, control vector signal transmitter generates radiofrequency signal, and the radiofrequency signal is carried out by terminal device
Transmission, the signal sent to the terminal device using Vector Signal Analyzer demodulated, and institute is determined according to demodulation result
State the error vector magnitude value of terminal device.
In one embodiment, the error vector magnitude value of terminal device is carried out being predefined and stored in terminal device
In.Specifically, generating radiofrequency signal by controlling vector signal transmitter, which is required fixed frequency, amplitude
With the radiofrequency signal through specific modulation mode modulation, which sends via terminal device, in Vector Signal Analyzer
It is demodulated, is finally calculated to obtain the error vector magnitude value of the counterpart terminal equipment by Vector Signal Analyzer.
Step S202, after detecting wireless network connection success, the error vector magnitude value of terminal device is obtained.
Step S203, 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 S204, it controls the terminal device and data transmission is started with the message transmission rate.
It can be seen from the above, this programme measures the error vector magnitude value of terminal device in advance, it is wireless in terminal device access
When network, initial message transmission rate is determined according to the error vector magnitude value and current network signal intensity, and with this
Message transmission rate proceeds by data transmission, can quickly position suitable wireless network transmissions rate, improve wireless network
The control efficiency of network.
In another embodiment, it is described detect wireless network connection success after, obtain the error vector of terminal device
Range value includes:After detecting wireless network connection success, the error vector that the integrated test circuit of terminal device measures is obtained
Range value.The test circuit is compared according to the actual signal and standard signal that receive to determine error vector magnitude value,
And by the error vector magnitude value for subsequently determining initial message transmission rate.As a result, error vector magnitude value
It is stronger to measure real-time, the step of having simplified wireless network transmissions method of rate control.
Fig. 3 is the flow chart of another wireless network transmissions method of rate control provided by the embodiments of the present application, optionally,
The signal strength of the wireless network connected according to the error vector magnitude value and the terminal device determines the end
The message transmission rate of end equipment includes:The wireless network connected according to the error vector magnitude value and the terminal device
Signal strength inquiry preset mapping table, the message transmission rate of the corresponding terminal device is determined according to query result.Such as
Shown in Fig. 3, technical solution is specific as follows:
Step S301, it generates and combines corresponding message transmission rate comprising error vector magnitude value and unlike signal intensity
Default mapping table.
Record has different error vector magnitude values, the combination of signal strength and respectively corresponds to not in default mapping table
Same message transmission rate, can be determined by specific corresponding to relationship, 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 default mapping table.Illustratively, error vector magnitude value be -23, signal strength be -
Corresponding message transmission rate is 16M when 70db.
Step S302, it after detecting wireless network connection success, determines the error vector magnitude value of terminal device and works as
The signal strength of the wireless network of preceding connection.
Step S303, the signal of the wireless network connected according to the error vector magnitude value and the terminal device is strong
Mapping table is preset in degree inquiry, and the message transmission rate of the corresponding terminal device is determined according to query result.
Step S304, it controls the terminal device and data transmission is started with the message transmission rate.
Different error vector magnitude values and network signal intensity pair are obtained it can be seen from the above, being tested in advance by tester
The maximum data transfer rate answered obtains current error vector in real time after subsequent terminal equipment establishes wireless network connection
Range value and wireless network signal strength, lookup table mode directly determine suitable message transmission rate, and according to the data transmission
Rate starts data transmitting, can quickly position suitable wireless network transmissions rate, improve 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,
It is default in the signal strength inquiry 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 inquiry of the wireless network connected according to the error vector magnitude value and the terminal device is default
Mapping table includes:According to the signal strength of the error vector magnitude value and the wireless network of terminal device connection, road
Mapping table is preset by channel and communication protocol inquiry, in the default 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, it is generated according to test result and presets mapping table.
Wherein, which has error vector magnitude value, signal strength, routed channels and the communication used
The various combination of agreement and corresponding message transmission rate, wherein the method for determination of the message transmission rate is in step
According on the basis of error vector magnitude value and network signal intensity in S301, routed channels, communication protocol are further increased
Two parameters, wherein 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, leads to
Letter agreement refers to the consensus standard that terminal device carries out network data transmission, and different routed channels and communication protocol are to data transmission
There are difference, the default mapping table in the embodiment contains diversely routed channels and communication protocol parameter for the requirement of rate, with
Message transmission rate is determined jointly with error vector magnitude value, signal strength, wherein specific test method and final determining number
According to the tactful explanation part referring to step S301 of transmission rate, i.e., under the network environment of diversely routed channels and communication protocol
It is tested with the corresponding message transmission rate of determination.
Step S402, it after detecting wireless network connection success, determines the error vector magnitude value of terminal device and works 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 routed channels and communication protocol used carry out true according to the data information that the router of connection is fed back
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
Mapping table is preset in degree, routed channels and communication protocol inquiry, and the data of the corresponding terminal device are determined according to query result
Transmission rate.
Step S405, it controls the terminal device and data transmission is started with the message transmission rate.
It can be seen from the above, this programme when determining message transmission rate, has been further introduced into routed channels and communication protocol
Two parameters, it is contemplated that the influence of different channels and different communication protocol to message transmission rate so that finally determining number
It is more accurate according to transmission rate, data transmission is started with the message transmission rate after wireless network connection success, avoids dynamic
The problem of adjustment message transmission rate finds the 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;The signal strength of the router is detected, if detecting that the signal strength changes, after variation
Signal strength and the error vector magnitude value redefine the message transmission rate of the terminal device.As shown in figure 5,
Technical solution is specific as follows:
Step S501, it after detecting wireless network connection success, determines the error vector magnitude value of terminal device and works as
The signal strength of the wireless network of preceding connection.
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
Mapping table is preset in degree, routed channels and communication protocol inquiry, and the data of the corresponding terminal device are determined according to query result
Transmission rate.
Step S504, it controls the terminal device and data transmission is started with the message transmission rate.
Step S505, the data transmission frequency of failure 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 data transmission fails 2 times or more in 1s, then reduce accordingly message transmission rate with
Ensure the stability of data transmission.In another embodiment, the accuracy of transmission data, packet loss can also be verified,
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.
Step S506, the signal strength of the router is detected, if detecting that the signal strength becomes
Change, then the signal strength after foundation variation and the error vector magnitude value redefine the data transmission of the terminal device
Rate.
Illustratively, when it is -90db to detect wireless network signal strength by -70db variations, correspondingly, according to current
Signal strength (- 90db) and predetermined error vector magnitude value newly determine the terminal device data transmission speed
Rate, and with this message transmission rate restart data transmitting transmit.
It can be seen from the above, being passed determining message transmission rate according to error vector magnitude value and signal strength and starting data
After defeated, the variation of data transmission quality, signal strength is detected, the variation according to transmission quality and signal strength is again true
Determine message transmission rate, subsequent real-time adjusting carried out to message transmission rate, further perfect wireless network transmissions rates
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 execute above-described embodiment offer wireless network transmissions method of rate control, have 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 obtains the error vector width of terminal device after detecting wireless network connection success
Angle value.
Wherein, error vector magnitude (Error Vector Magnitude, abbreviation EVM) refers to errorless in given time ideal
The vector difference of poor reference signal and actual transmission signal, the range error for weighing modulated signal and phase error, to ensure
The error vector magnitude value of the accuracy of data transmission, terminal device is bigger, and data transmission rates demands are smaller, conversely, error
Vector magnitude value is smaller, can increase message transmission rate accordingly to improve data transmission efficiency.In one embodiment, the end
The error vector magnitude value of end equipment is complete machine error vector magnitude value, i.e., the influence of each component combination inside terminal device
The error vector magnitude value that lower integrated testability obtains.Optionally, it is surveyed when which can be terminal device manufacture
Try obtain and be stored in the parameter in terminal device, specific test process can be:Vector signal transmitter is controlled to generate
Radiofrequency signal carries out the transmission of the radiofrequency signal by terminal device, using Vector Signal Analyzer to the terminal device
The signal of transmission is demodulated, and the error vector magnitude value of the terminal device is determined according to demodulation result.Optionally, the error
Vector magnitude value can also be:After detecting wireless network connection success, obtain what the integrated test circuit of terminal device measured
Error vector magnitude 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
For operating system, the signal strength of the wireless network currently connected is determined by wifiinfo.getRssi () method,
In, the factor having an impact to the suitable message transmission rate of determination is in addition to above-mentioned error vector magnitude value, the letter of wireless network
Number intensity also will produce larger impact, 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 eventually
The message transmission rate of end equipment, optionally, can by terminal device store mapping table determine unlike signal intensity and
Message transmission rate corresponding to the combination of error vector magnitude value, the mapping table are stored in advance in terminal device, also
Message transmission rate can be calculated by preset formula.
Transmission control module 103 starts data transmission for controlling the terminal device with the message transmission rate.
Terminal device can carry out data hair after network connection success according to the higher message transmission rate of default setting
It penetrates, reduces data transmission rate accordingly again when finding that packet loss is higher to ensure the accuracy of transmission data, do not consider
The actual signal situation of the wireless network of terminal device connection and the error vector magnitude value of terminal device itself are to packet loss
Influence.In one embodiment, (not according to silent after message transmission rate when redefining connection beginning according to step S102
The maximum data transmission rate recognized starts data transmitting but selects moderate message transmission rate), according to data transmission speed
Rate proceeds by data transmitting.It optionally, can be by the rate control Interface Controller terminal device of network module chipset with institute
It states message transmission rate and starts data transmission, or by the control strategy of message transmission rate with driver or firmware upgrade
Mode is written in chipset, is opened with the message transmission rate with after determining message transmission rate, controlling the terminal device
Beginning data transmission.
As shown in the above, after wireless network connection success, pass through error vector magnitude value and the letter of wireless network
Number intensity determines the message transmission rate of terminal device and starts data transmission with the transmission rate, and avoid needs in the prior art
The drawbacks of wanting multiple rate to attempt to ensure the inefficiency that data transmission accuracy is brought so that terminal device can quickly with
Optimal message transmission rate carries out the transmission of network data.
In a possible embodiment, before the error vector magnitude value for obtaining terminal device, further include:
It controls vector signal transmitter and generates radiofrequency signal, the transmission of the radiofrequency signal is carried out by terminal device, profit
The signal sent to the terminal device with Vector Signal Analyzer demodulates, and the terminal device is determined according to demodulation result
Error vector magnitude value.
In a possible embodiment, the error determination module 101 is specifically used for:
After detecting wireless network connection success, the error vector magnitude that the integrated test circuit of terminal device measures is obtained
Value.
In a possible embodiment, the rate determination module 102 is specifically used for:
Signal strength inquiry according to the error vector magnitude value and the wireless network of terminal device connection is pre-
If mapping table, the message transmission rate of the corresponding terminal device is determined according to query result.
In a possible embodiment, the error determination module 101 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 mapping table is preset in inquiry, the routed channels that the terminal device currently connects and the communication protocol used are determined;
The rate determination module 102 is specifically used for:
According to the signal strength of the error vector magnitude value and the wireless network of terminal device connection, routing letter
Mapping table is preset in road and communication protocol inquiry, and record has error vector magnitude value, signal strength, routing in the default mapping table
The various combination and corresponding message transmission rate of channel and communication protocol.
In a possible embodiment, further include update module 104, for controlling the terminal device described with institute
It states after message transmission rate starts data transmission, the data transmission frequency of failure is recorded, if the number in preset time
It is more than predetermined threshold value according to the transmission frequency of failure, then reduces message transmission rate.
In a possible embodiment, the update module 104 is additionally operable to:
After the control terminal device starts data transmission with the message transmission rate, to the router
Signal strength be detected, if detecting that the signal strength changes, according to variation after signal strength and
The error vector magnitude value redefines the message transmission rate of the terminal device.
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 structural schematic 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 shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can be including one or more signal processings and/or special
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
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
Can also include nonvolatile memory to include high-speed random access memory, 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, it is connected to Peripheral Interface 203.I/O subsystems 209 may include 2091 He of display controller
One or more input controllers 2092 for controlling 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 may include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.It is worth noting that input controller 2092 can with it is following any one connect:Keyboard, infrared port,
The indicating 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
It is shown to user depending on output, visual output may 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 is 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
Object can be the icon of running game, be networked to the icon etc. of corresponding network.It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or 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 with communication network and other equipment by the electromagnetic signal.RF circuits 205 may include for executing
The known circuit of these functions comprising but it is 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 audio data from Peripheral Interface 203, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 211.
Loud speaker 211, 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 are executable
It is corresponding to have 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, reference can be made to the present invention is arbitrarily implemented
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 including terminal device executable instruction, and the terminal device can
It executes instruction when being executed by terminal device processor for executing a kind of wireless network transmissions method of rate control, this method packet
It includes:
After detecting wireless network connection success, the error vector magnitude value of terminal device is obtained;
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;
It controls the terminal device and data transmission is started with the message transmission rate.
In a possible embodiment, before the error vector magnitude value for obtaining terminal device, further include:
It controls vector signal transmitter and generates radiofrequency signal, the transmission of the radiofrequency signal is carried out by terminal device, profit
The signal sent to the terminal device with Vector Signal Analyzer demodulates, and the terminal device is determined according to demodulation result
Error vector magnitude value.
In a possible embodiment, it is described detect wireless network connection success after, obtain the error of terminal device
Vector magnitude value includes:
After detecting wireless network connection success, the error vector magnitude that the integrated test circuit of terminal device measures is obtained
Value.
In a possible embodiment, 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 according to the error vector magnitude value and the wireless network of terminal device connection is pre-
If mapping table, the message transmission rate of the corresponding terminal device is determined according to query result.
In a possible embodiment, it is connected according to the error vector magnitude value and the terminal device described
Wireless network signal strength inquiry preset 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
Mapping table is preset in intensity inquiry:
According to the signal strength of the error vector magnitude value and the wireless network of terminal device connection, routing letter
Mapping table is preset in road and communication protocol inquiry, and record has error vector magnitude value, signal strength, routing in the default 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:
The data transmission frequency of failure is recorded, if data transmission fails number is more than default threshold in preset time
Value, then reduce message transmission rate.
In a possible embodiment, data are started with the message transmission rate in the control terminal device
After transmission, further include:
The signal strength of the router is detected, if detecting that the signal strength changes, foundation
Signal strength and the error vector magnitude value after variation redefine the message transmission rate of the terminal device.
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);The memory component etc. of register or other similar types.Storage medium can further include other
Memory of type or combinations thereof.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 to the first computer for executing." storage is situated between term
Matter " may include may reside in different location 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 executed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium 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 be performed of the invention arbitrary real
Apply the relevant operation in the wireless network transmissions method of rate control that example is provided.
Note that 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 present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May 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:
After detecting wireless network connection success, the error vector magnitude value of terminal device is obtained;
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;
It controls the terminal device and data transmission is started with the message transmission rate.
2. according to the method described in claim 1, it is characterized in that, it is described obtain terminal device error vector magnitude value it
Before, further include:
It controls vector signal transmitter and generates radiofrequency signal, the transmission of the radiofrequency signal is carried out by terminal device, utilizes arrow
The signal that amount signal analyzer sends the terminal device demodulates, and the mistake of the terminal device is determined according to demodulation result
Vector magnitude value.
3. according to the method described in claim 1, it is characterized in that, it is described detect wireless network connection success after, obtain eventually
The error vector magnitude value of end equipment includes:
After detecting wireless network connection success, the error vector magnitude value that the integrated test circuit of terminal device measures is obtained.
4. method according to any one of claim 1-3, 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 inquiry according to the error vector magnitude value and the wireless network of terminal device connection, which is preset, reflects
Firing table determines the message transmission rate of the corresponding terminal device according to query result.
5. according to the method described in claim 4, it is characterized in that, described according to the error vector magnitude value and described
Before mapping table is preset in the signal strength inquiry 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
Mapping table is preset in inquiry:
The signal strength of the wireless network connected according to the error vector magnitude value and the terminal device, routed channels and
Mapping table is preset in communication protocol inquiry, and record has error vector magnitude value, signal strength, routed channels in the default mapping table
And various combination and the corresponding message transmission rate of communication protocol.
6. method according to any one of claim 1-3, which is characterized in that in the control terminal device with institute
It states after message transmission rate starts data transmission, further includes:
The data transmission frequency of failure is recorded, if data transmission fails number is more than predetermined threshold value in preset time,
Then reduce message transmission rate.
7. according to the method described in claim 6, it is characterized in that, in the control terminal device with the data transmission
After rate starts data transmission, further include:
The signal strength of the router is detected, if detecting that the signal strength changes, according to variation
Signal strength and the error vector magnitude value afterwards redefines the message transmission rate of the terminal device.
8. wireless network transmissions rate control device, which is characterized in that including:
Error determination module obtains the error vector magnitude value of terminal device after detecting wireless network connection success;
Rate determination module, the letter of the wireless network for being connected according to the error vector magnitude value and the terminal device
Number intensity determines the message transmission rate of the terminal device;
Transmission control module starts data transmission for controlling the terminal device 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 executing the computer program such as any one of claim 1-7 institutes
The wireless network transmissions method of rate control stated.
10. a kind of storage medium including terminal device executable instruction, which is characterized in that the terminal device executable instruction
When being executed by terminal device processor for executing the wireless network transmissions rate control as described in any one of claim 1-7
Method processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810155595.6A CN108366396A (en) | 2018-02-23 | 2018-02-23 | Wireless network transmissions method of rate control, device, terminal device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810155595.6A CN108366396A (en) | 2018-02-23 | 2018-02-23 | Wireless network transmissions method of rate control, device, terminal device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108366396A true CN108366396A (en) | 2018-08-03 |
Family
ID=63002300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810155595.6A Pending CN108366396A (en) | 2018-02-23 | 2018-02-23 | Wireless network transmissions method of rate control, device, terminal device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108366396A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113079531A (en) * | 2021-03-19 | 2021-07-06 | 江西理工大学 | Automatic detection regulation and control method, system, terminal and medium for wireless communication module |
CN113178954A (en) * | 2021-04-26 | 2021-07-27 | 深圳形天半导体有限公司 | Intelligent wearable device, wireless communication terminal and data transmission system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050143027A1 (en) * | 2003-12-26 | 2005-06-30 | Hiddink Gerrit W. | Method and apparatus for automatic data rate control in a wireless communication system |
US20050195744A1 (en) * | 2003-02-14 | 2005-09-08 | Ryan Philip J. | Selecting the data rate of a wireless network link according to a measure of error vector magnitude |
CN105101379A (en) * | 2015-07-08 | 2015-11-25 | 努比亚技术有限公司 | Method and system for realizing transmitting power calibration of wifi terminal |
-
2018
- 2018-02-23 CN CN201810155595.6A patent/CN108366396A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050195744A1 (en) * | 2003-02-14 | 2005-09-08 | Ryan Philip J. | Selecting the data rate of a wireless network link according to a measure of error vector magnitude |
US20050143027A1 (en) * | 2003-12-26 | 2005-06-30 | Hiddink Gerrit W. | Method and apparatus for automatic data rate control in a wireless communication system |
CN105101379A (en) * | 2015-07-08 | 2015-11-25 | 努比亚技术有限公司 | Method and system for realizing transmitting power calibration of wifi terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113079531A (en) * | 2021-03-19 | 2021-07-06 | 江西理工大学 | Automatic detection regulation and control method, system, terminal and medium for wireless communication module |
CN113079531B (en) * | 2021-03-19 | 2022-06-10 | 江西理工大学 | Automatic detection regulation and control method, system, terminal and medium for wireless communication module |
CN113178954A (en) * | 2021-04-26 | 2021-07-27 | 深圳形天半导体有限公司 | Intelligent wearable device, wireless communication terminal and data transmission system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108093444B (en) | Wireless network transmission rate control method and device, terminal equipment and storage medium | |
US10939490B2 (en) | Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices, and dual-mode Bluetooth device | |
US20080227393A1 (en) | Method and system for pairing of wireless devices using physical presence | |
CN107770759B (en) | Bluetooth voice link establishing method and device, storage medium and mobile terminal | |
CN107889092A (en) | Bluetooth devices control method, device, terminal device and storage medium | |
CN108055687B (en) | Wireless network connection method and device and terminal equipment | |
CN109074177B (en) | Method for determining target working frequency of touch pen, touch screen and touch pen | |
CN106878915B (en) | Control method, device and the playback equipment and mobile terminal of playback equipment | |
KR20200144759A (en) | Method for establishing bluetooth communication connection and electronic device thereof | |
CN108366396A (en) | Wireless network transmissions method of rate control, device, terminal device and storage medium | |
CN108307485B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
CN108832944B (en) | Power compensation method, device, terminal equipment and storage medium | |
CN108337719B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
CN108055706A (en) | wireless network connection control method, device, storage medium and terminal device | |
CN108377515A (en) | Wireless network transmissions method of rate control, device, terminal device and storage medium | |
CN108833033A (en) | RF calibration determination method for parameter, device, storage medium and mobile terminal | |
CN108307447B (en) | Wireless network transmission control method, device, storage medium and terminal equipment | |
CN108337715A (en) | Wireless network connecting method, device, terminal device and storage medium | |
CN108174452B (en) | Wireless network connection control method, device, storage medium and terminal equipment | |
CN107071655B (en) | Method and device for configuring stereo output, audio playing equipment and mobile terminal | |
CN113766406B (en) | Earphone testing method, system and device | |
CN108712513A (en) | network address setting method, device, terminal device and storage medium | |
CN112104384B (en) | Structure of electronic device for optimizing performance of antenna and method thereof | |
CN108337718B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
CN108923866B (en) | Antenna calibration method, antenna calibration device, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180803 |