CN105163391B - Data transmission method, terminal and wireless access points - Google Patents

Data transmission method, terminal and wireless access points Download PDF

Info

Publication number
CN105163391B
CN105163391B CN201510578846.8A CN201510578846A CN105163391B CN 105163391 B CN105163391 B CN 105163391B CN 201510578846 A CN201510578846 A CN 201510578846A CN 105163391 B CN105163391 B CN 105163391B
Authority
CN
China
Prior art keywords
terminal
error rate
bit error
data
waiting time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510578846.8A
Other languages
Chinese (zh)
Other versions
CN105163391A (en
Inventor
刘山荣
吴鸣
纪传舜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510578846.8A priority Critical patent/CN105163391B/en
Publication of CN105163391A publication Critical patent/CN105163391A/en
Application granted granted Critical
Publication of CN105163391B publication Critical patent/CN105163391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0808Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using carrier sensing, e.g. as in CSMA
    • H04W74/0816Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using carrier sensing, e.g. as in CSMA carrier sensing with collision avoidance

Abstract

The disclosure belongs to wireless communication technology field about a kind of data transmission method, terminal and AP.Including:Terminal is detected certainly in bit error rate when transmitting data to AP;The bit error rate is sent to AP;Receive the priority adjustment instruction that AP is sent;Random Waiting Time is adjusted to specified duration;If after waiting DIFS and specified duration, detecting that transfer resource is in idle condition since detecting that transfer resource is in busy state, then data are transmitted to AP.When the bit error rate when AP determines that terminal transmits from data to AP is not less than preset threshold, Random Waiting Time is adjusted to specified duration by controlling terminal, to improve priority of the terminal when transmitting data to AP.Since the bit error rate is the weaker terminal of signal not less than the terminal of preset threshold, therefore, by improving its priority when transmitting data to AP, it may insure that the weaker terminal of signal preferentially can transmit data to AP, so that the terminal for keeping signal weak obtains the service of the certain speed of AP offer.

Description

Data transmission method, terminal and wireless access points
Technical field
This disclosure relates to wireless communication technology field, in particular to a kind of data transmission method, terminal and accessing wirelessly connect Access point.
Background technique
With the rapid development of wireless communication technique, same AP (Wireless Access Point, accessing wirelessly are accessed Access point) terminal quantity often have it is multiple.For example, accessing the terminal packet of the home router when AP is home router Include mobile phone, tablet computer, smart television etc..Each terminal of AP is accessed when transmitting data to AP, needs to provide using AP Transfer resource.For example, each terminal when transmitting data to AP, is needed using AP channel resource provided etc..Specifically, each The transfer resource that terminal time-sharing multiplex AP is provided, to realize that the data between AP are transmitted.
Each terminal usually passes through DCF (Distributed Coordinated when transmitting data to AP Function, distributed coordination function) it realizes.Specifically, DCF is based on CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance, csma/collision avoid) protocol realization.In DCF mode Under, before transmitting data to AP, whether the transfer resource for needing first to detect AP offer is in idle condition terminal.If transmission Resource is in idle condition, then terminal sends data to AP.If transfer resource is in busy state, terminal needs to wait After DIFS (Distributed Inter-frame Spacing, distributed interframe gap), detect whether transfer resource is located again In idle state.Wherein, DIFS is a fixed duration.In this case, if synchronization detects at transfer resource Have in the terminal of busy state it is multiple, then each terminal after waiting DIFS, again simultaneously detect whether transfer resource is in Idle state.At this point, multiple terminals are attempted to transmit data to AP simultaneously when transfer resource is in idle condition.At this point, will There is the case where multiple terminals transmit data to AP simultaneously, the i.e. conflict of generation data transmission.
In order to avoid data transmission conflict, each terminal is after waiting DIFS, when also will continue to wait a random waiting Between, and when reaching the Random Waiting Time, detect whether transfer resource is in idle condition again.Wherein, different random etc. Make terminal when transmitting data to AP with different priority when the time.Since the shorter terminal of Random Waiting Time is opposite It in the longer terminal of Random Waiting Time, can first detect whether transfer resource is in idle condition, and detect transmission money When source is in idle condition, data first are transmitted to AP, therefore, the data transmission with higher of the shorter terminal of Random Waiting Time Priority.
Summary of the invention
The disclosure provides a kind of data transmission method, terminal and AP.
According to the first aspect of the embodiments of the present disclosure, a kind of data transmission method is provided, the method includes:
When the transfer resource for detecting that AP is provided is in busy state, detection terminal transmits number to the AP According to when the bit error rate;
The bit error rate is sent to the AP;
The priority adjustment instruction that the AP is sent is received, the priority adjustment instruction is used to work as described in AP determination When the bit error rate is not less than preset threshold, indicate that Random Waiting Time is adjusted to specified duration by the terminal, to improve the end Hold the priority when transmitting data to the AP;
According to the priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
If since detecting that the transfer resource is in busy state, after waiting DIFS and specified duration, detection It is in idle condition to the transfer resource, then transmits data to the AP.
With reference to first aspect, in the first possible implementation of the first aspect, the method also includes:
Detect the signal strength of terminal itself;
The signal strength is sent to the AP, the AP is made to be according to the bit error rate and signal strength determination The no priority for improving the terminal when transmitting data to the AP.
With reference to first aspect, in the second possible implementation of the first aspect, the detection terminal to The bit error rate when AP transmission data, including:
Obtain the data transmission frequency that data are sent to the AP;
Obtain the data receiver frequency that the AP receives the terminal data;
According to the data transmission frequency and the data receiver frequency, when determining the terminal from transmission data The bit error rate.
With reference to first aspect, in a third possible implementation of the first aspect, described according to the priority tune Random Waiting Time is adjusted to specified duration by whole instruction, including:
According to the specified duration carried in the priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
Alternatively, specified duration is determined according to the priority adjustment instruction and preset reference Random Waiting Time range, Any value when described specified in a length of target Random Waiting Time range, when the starting of the target Random Waiting Time range Between be the initial time with reference to Random Waiting Time range, and the target Random Waiting Time range account for it is described with reference to The designated ratio of machine waiting time range;Random Waiting Time is adjusted to specified duration.
According to the second aspect of an embodiment of the present disclosure, a kind of data transmission method is provided, the method includes:
It receives and the correspondence bit error rate that each terminal of connection is sent has been established;
According to the bit error rate of each terminal, determine that the bit error rate is not less than the terminal of preset threshold;
Priority adjustment instruction is sent to the terminal, makes the terminal according to the priority adjustment instruction by the end The Random Waiting Time at end is adjusted to specified duration, to improve priority of the terminal when transmitting data.
In conjunction with second aspect, in the first possible implementation of the second aspect, the method also includes:
Receive the correspondence signal strength that each terminal is sent;
The bit error rate according to each terminal determines that the bit error rate is not less than the terminal of preset threshold, including:
According to the bit error rate and signal strength of each terminal, determine the bit error rate not less than preset threshold and signal strength Not higher than the terminal of specified numerical value.
In conjunction with second aspect, in a second possible implementation of the second aspect, in the priority adjustment instruction Specified time is carried, it is described to send priority adjustment instruction to the terminal, including:
When the quantity of the terminal is multiple, it is presently in the type of service of reason according to each terminal, determines each end Hold corresponding specified duration;
The corresponding specified duration of each terminal is carried in the priority adjustment instruction be sent to it is described each Terminal.
According to the third aspect of an embodiment of the present disclosure, a kind of terminal is provided, the terminal includes:
First detection module, for when the transfer resource for detecting that AP is provided is in busy state, detection terminal to be certainly In bit error rate when transmitting data to the AP;
First sending module, for the bit error rate to be sent to the AP;
Receiving module, the priority adjustment instruction sent for receiving the AP, the priority adjustment instruction is for working as When the AP determines the bit error rate not less than preset threshold, when indicating that Random Waiting Time is adjusted to specified by the terminal It is long, to improve priority of the terminal when transmitting data to the AP;
Module is adjusted, for according to the priority adjustment instruction, Random Waiting Time to be adjusted to specified duration;
Second sending module, for when since detecting that the transfer resource be in busy state, waiting DIFS and After specified duration, when detecting that the transfer resource is in idle condition, data are transmitted to the AP.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the terminal further includes:
Second detection module, for detecting the signal strength of terminal itself;
Third sending module, for the signal strength to be sent to the AP, make the AP according to the bit error rate and The signal strength determines whether to improve priority of the terminal when transmitting data to the AP.
In conjunction with the third aspect, in the second possible implementation of the third aspect, the first detection module includes:
First acquisition unit, for obtaining the data transmission frequency for sending data to the AP;
Second acquisition unit receives the data receiver frequency of the terminal data for obtaining the AP;
Determination unit, for determining the terminal itself according to the data transmission frequency and the data receiver frequency The bit error rate when transmitting data.
In conjunction with the third aspect, in the third possible implementation of the third aspect, the adjustment module is used for basis Random Waiting Time is adjusted to specified duration by the specified duration carried in the priority adjustment instruction;
Alternatively, specified duration is determined according to the priority adjustment instruction and preset reference Random Waiting Time range, Any value when described specified in a length of target Random Waiting Time range, when the starting of the target Random Waiting Time range Between be the initial time with reference to Random Waiting Time range, and the target Random Waiting Time range account for it is described with reference to The designated ratio of machine waiting time range;Random Waiting Time is adjusted to specified duration.
According to a fourth aspect of embodiments of the present disclosure, a kind of AP is provided, the AP includes:
First receiving module, for receiving the correspondence bit error rate that each terminal of connection has been established and sends;
Determining module determines that the bit error rate is not less than the terminal of preset threshold for the bit error rate according to each terminal;
Sending module makes the terminal according to the priority tune for sending priority adjustment instruction to the terminal The Random Waiting Time of the terminal is adjusted to specified duration by whole instruction, preferential when transmitting data to improve the terminal Grade.
In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, the AP further includes:
Second receiving module, the correspondence signal strength sent for receiving each terminal;
The determining module determines that the bit error rate is not less than for the bit error rate and signal strength according to each terminal Preset threshold and signal strength are not higher than the terminal of specified numerical value.
In conjunction with fourth aspect, in the second possible implementation of the third aspect, in the priority adjustment instruction Specified time is carried, the sending module includes:
Determination unit, for being presently in the service class of reason according to each terminal when the quantity of the terminal is multiple Type determines the corresponding specified duration of each terminal;
Transmission unit is sent out for the corresponding specified duration of each terminal to be carried in the priority adjustment instruction It send to each terminal.
According to a fifth aspect of the embodiments of the present disclosure, a kind of terminal is provided, the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When the transfer resource for detecting that AP is provided is in busy state, detection terminal transmits number to the AP According to when the bit error rate;
The bit error rate is sent to the AP;
The priority adjustment instruction that the AP is sent is received, the priority adjustment instruction is used to work as described in AP determination When the bit error rate is not less than preset threshold, indicate that Random Waiting Time is adjusted to specified duration by the terminal, to improve the end Hold the priority when transmitting data to the AP;
According to the priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
If since detecting that the transfer resource is in busy state, after waiting DIFS and specified duration, detection It is in idle condition to the transfer resource, then transmits data to the AP.
According to a sixth aspect of an embodiment of the present disclosure, a kind of AP is provided, the AP includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It receives and the correspondence bit error rate that each terminal of connection is sent has been established;
According to the bit error rate of each terminal, determine that the bit error rate is not less than the terminal of preset threshold;
Priority adjustment instruction is sent to the terminal, makes the terminal according to the priority adjustment instruction by the end The Random Waiting Time at end is adjusted to specified duration, to improve priority of the terminal when transmitting data.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When the bit error rate when AP determines that terminal transmits from data to AP is not less than preset threshold, controlling terminal will wait at random Time is adjusted to specified duration, to improve priority of the terminal when transmitting data to AP.Since the bit error rate is not less than default threshold The terminal of value is the weaker terminal of signal, therefore, by improving its priority when transmitting data to AP, it can be ensured that letter Number weaker terminal preferentially can transmit data to AP, so that it is guaranteed that the weak terminal of signal can obtain a constant speed of AP offer The service of degree.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is implementation environment schematic diagram involved in a kind of data transmission method shown according to an exemplary embodiment.
Fig. 2 is the schematic diagram of CSMA/CA shown according to an exemplary embodiment a kind of.
Fig. 3 is a kind of flow chart of data transmission method shown according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of data transmission method shown according to an exemplary embodiment.
Fig. 5 is a kind of flow chart of data transmission method shown according to an exemplary embodiment.
Fig. 6 is a kind of software hierarchy configuration diagram shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of first detection module shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Figure 11 is the block diagram of AP shown according to an exemplary embodiment a kind of.
Figure 12 is the block diagram of AP shown according to an exemplary embodiment a kind of.
Figure 13 is a kind of block diagram of sending module shown according to an exemplary embodiment.
Figure 14 is the block diagram of AP shown according to an exemplary embodiment a kind of.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is implementation environment schematic diagram involved in a kind of data transmission method shown according to an exemplary embodiment. As shown in Figure 1, the implementation environment includes AP101 and at least two terminals 102.Wherein, each terminal 102 and AP101 pass through nothing Line network connection.
Wherein, each terminal 102 is when transmitting data to AP101, the transfer resource provided by AP101, such as transmission letter Road is realized, and the transfer resource that 102 time-sharing multiplex AP101 of each terminal is provided.That is, when a terminal 102 is by being somebody's turn to do When transfer resource transmits data to AP101, other terminals 102 then cannot transmit data to AP101.
Each terminal 102 is usually realized by DCF when transmitting data to AP101.Specifically, DCF is based on CSMA/CA Protocol realization.Under DCF mode, any terminal 102 needs first to detect the biography of AP101 offer before transmitting data to AP101 Whether defeated resource is in idle condition.If transfer resource is in idle condition, terminal 102 transmits data to AP101.If Transfer resource is in busy state, then after terminal 102 needs to wait DIFS, continues waiting for a Random Waiting Time, thus Multiple terminals 102 are avoided to conflict when transmitting data to AP.Terminal is waiting DIFS, and after waiting Random Waiting Time again, Whether detection transfer resource is in idle condition again, until transmitting when detecting that transfer resource is in idle condition to AP101 Data.
As shown in Fig. 2, it illustrates the schematic diagrames of CSMA/CA a kind of.DIFS is a fixed duration, the numbers such as 10,7,5 Indicate Random Waiting Time.It can be obtained by Fig. 2, different terminals 102 has different Random Waiting Times.Wherein, different random Waiting time makes terminal 102 when transmitting data to AP101 with different priority, the shorter terminal of Random Waiting Time 102 data transport priorities with higher.
To sum up, each terminal 102 needs first to compete the transfer resource of AP offer, and terminal 102 when transmitting data to AP The length of a possibility that competing transfer resource and Random Waiting Time has relationship.Therefore, by the random of each terminal 102 Waiting time is adjusted, and can adjust priority of each terminal 102 to AP101 transmission data.Based on this, the disclosure is implemented Example provides a kind of data transmission method.Specific data transmission method each embodiment as described below:
Wherein, AP101 can be router, or the network side equipments such as base station.Terminal 102 can be desk-top calculating Machine, smart phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 3) player, pocket computer on knee and Wearable smart machine, such as Intelligent bracelet.
Fig. 3 is a kind of flow chart of data transmission method shown according to an exemplary embodiment, and data transmission method is used In terminal.As shown in figure 3, the data transmission method that the embodiment of the present disclosure provides includes the following steps.
In step S301, when detect AP provide transfer resource be in busy state when, detection terminal oneself in Bit error rate when transmitting from data to AP.
In step s 302, the bit error rate is sent to AP.
In step S303, the priority adjustment instruction that AP is sent is received, wherein priority adjustment instruction is used for when AP is true When determining the bit error rate not less than preset threshold, Random Waiting Time is adjusted to specified duration by instruction terminal, with improve terminal to AP transmits priority when data.
In step s 304, according to priority adjustment instruction, Random Waiting Time is adjusted to specified duration.
In step S305, if since detecting that transfer resource is in busy state, wait DIFS and it is specified when It after length, detects that transfer resource is in idle condition, then transmits data to AP.
The embodiment of the present disclosure provide method, by detect and the bit error rate is sent to AP so that when AP determine terminal to When bit error rate when AP transmits data is not less than preset threshold, Random Waiting Time is adjusted to specified duration by controlling terminal, with Improve priority of the terminal when transmitting data to AP.Since the bit error rate is that signal is weaker not less than the terminal of preset threshold Terminal, therefore, by improving its priority when transmitting data to AP, it can be ensured that the weaker terminal of signal can be preferential Data are transmitted to AP, so that it is guaranteed that the weak terminal of signal can obtain the service of the certain speed of AP offer.
In another embodiment, method further includes:
Detect the signal strength of terminal itself;
Signal strength is sent to AP, AP is made to determine whether that improve terminal transmits to AP according to the bit error rate and signal strength Priority when data.
In another embodiment, terminal is detected certainly in bit error rate when transmitting data to AP, including:
Obtain the data transmission frequency that data are sent to AP;
Obtain the data receiver frequency that AP receives terminal data;
According to data transmission frequency and data receiver frequency, the bit error rate of the terminal from transmission data when is determined.
In another embodiment, according to priority adjustment instruction, Random Waiting Time is adjusted to specified duration, packet It includes:
According to the specified duration carried in priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
Alternatively, specified duration is determined according to priority adjustment instruction and preset reference Random Waiting Time range, In, any value when specifying in a length of target Random Waiting Time range, the initial time of target Random Waiting Time range is With reference to the initial time of Random Waiting Time range, and target Random Waiting Time range is accounted for reference to Random Waiting Time range Designated ratio;Random Waiting Time is adjusted to specified duration.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 4 is a kind of flow chart of data transmission method shown according to an exemplary embodiment, and data transmission method is used In AP.As shown in figure 4, the data transmission method that the embodiment of the present disclosure provides includes the following steps.
In step S401, receives and the correspondence bit error rate that each terminal of connection is sent has been established.
In step S402, according to the bit error rate of each terminal, determine that the bit error rate is not less than the terminal of preset threshold.
In step S403, priority adjustment instruction is sent to terminal, makes terminal according to priority adjustment instruction by terminal Random Waiting Time be adjusted to specified duration, to improve priority of the terminal when transmitting data.
The method that the embodiment of the present disclosure provides, the bit error rate when determining that terminal transmits data to AP is not less than preset threshold When, Random Waiting Time is adjusted to specified duration by controlling terminal, to improve priority of the terminal when transmitting data to AP.By It is the weaker terminal of signal in the terminal that the bit error rate is not less than preset threshold, therefore, is transmitting data to AP by improving it When priority, it can be ensured that the weaker terminal of signal can preferentially to AP transmit data, so that it is guaranteed that the terminal that signal is weak The service of the certain speed of AP offer can be provided.
In another embodiment, method further includes:
Receive the correspondence signal strength that each terminal is sent;
According to the bit error rate of each terminal, determine that the bit error rate is not less than the terminal of preset threshold, including:
According to the bit error rate and signal strength of each terminal, determine that the bit error rate is not less than preset threshold and signal strength is not high In the terminal of specified numerical value.
In another embodiment, specified time is carried in priority adjustment instruction, sends priority adjustment to terminal and refers to It enables, including:
When the quantity of terminal is multiple, it is presently in the type of service of reason according to each terminal, determines each terminal pair The specified duration answered;
The corresponding specified duration of each terminal is carried in priority adjustment instruction and is sent to each terminal.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 5 is a kind of flow chart of data transmission method shown according to an exemplary embodiment.The embodiment of the present disclosure with Terminal and AP are interacted, and the data transmission method provided the embodiment of the present disclosure is illustrated.In conjunction with Fig. 5, for the ease of saying Bright, the embodiment of the present disclosure includes terminal A and terminal B with implementation environment shown in FIG. 1, and when AP transmits data to AP to terminal A Priority be adjusted for, to the embodiment of the present disclosure provide data transmission method be explained.As shown in figure 5, The data transmission method that the embodiment of the present disclosure provides includes the following steps.
In step S501, when the transfer resource that terminal A detects that AP is provided is in busy state, terminal A is detected From in AP transmit data when the bit error rate.
When the transfer resource that AP is provided is in busy state, illustrate that AP offer is used in current time other terminals Transfer resource.At this point, terminal A needs to wait DIFS, and after continuing waiting for Random Waiting Time, the transfer resource is detected again Whether it is in idle condition, until transmitting data to AP when detecting that transfer resource is in idle condition.In the embodiment of the present disclosure In, when terminal A detects that transfer resource is in busy state, terminal A can detecte terminal A certainly during waiting Bit error rate when in transmission data, thus the step of triggering following is adjusted the Random Waiting Time of terminal A.
Illustratively, terminal A detection from transmit data to AP when the bit error rate when, including but not limited to by as follows Step S5011 is realized to step S5013:
In step S5011, terminal A obtains the data transmission frequency that data are sent to AP.
Wherein, terminal A, to the number of the AP data packet sent, can be obtained and be sent to AP according within the unit time The data transmission frequency of data.For example, terminal A is sent out to AP if terminal A had sent 500 data packets to AP in 10 seconds The data transmission frequency for sending data is 50/second.
In step S5012, terminal A obtains the data receiver frequency that AP receives terminal data.
Illustratively, it can be determined and be received eventually by the number of the received data packet come self terminal A in the AP statistical unit time The data of end A data connect frequency.For example, if AP receives 400 data packets from terminal A in 10 seconds, AP can be with Determine that the data receiver frequency for receiving terminal A data is 40/second.
On this basis, terminal A can send number to AP when obtaining the data receiver frequency of AP reception terminal A data It is requested according to frequency acquisition is received, the mark of the data receiver frequency carried terminal, such as MAC (the Media Access of terminal A Control, media access control) (International Mobile Equipment Identity is moved by address or IMEI Dynamic equipment international identity code);After AP receives data receiver frequency acquisition request, the data of terminal A are obtained according to terminal iidentification Frequency is received, and frequency is received to terminal A returned data according to terminal iidentification.
In step S5013, terminal A determines terminal A from transmission according to data transmission frequency and data receiver frequency Bit error rate when data.
Wherein, terminal A can determine the ratio between data receiver frequency and data transmission frequency, by data receiver frequency The difference between ratio and 1 between data transmission frequency is as the bit error rate.For example, if data transmission frequency be 50/ Second, data receiver frequency is 40/second, then terminal A can determine that its bit error rate is 1-40/50=0.2.
As shown in fig. 6, the software hierarchy framework is based on shown in FIG. 1 it illustrates a kind of software hierarchy configuration diagram Implementation environment schematic diagram obtains.As shown in fig. 6, the common application module in terminal is used for the common application module of network side just Normal open letter, multiple Special controlling modules are used to cooperate the intelligence of Special controlling module and other Implement of Function Module networks in AP Dynamic control.Wherein, terminal A detection to AP transmit data when the bit error rate when, the spy in terminal A can be passed through Different control module is realized.
In step S502, the bit error rate is sent to AP by terminal A.
Wherein, terminal A can carry the bit error rate in the communication message between AP when the bit error rate is sent to AP It sends.
It should be noted that above content only with terminal A determine to AP transmit data when the bit error rate and will The process that the bit error rate is sent to AP is illustrated.However, transmitting number to AP to which terminal in network to determine AP According to when priority be adjusted, be connected to AP each terminal be both needed to execute above-mentioned steps S501 and step S502.In conjunction with figure 5, terminal B should also execute above-mentioned steps S501 and step S502.
In step S503, after AP receives the correspondence bit error rate for each terminal transmission that connection has been established, according to each end The bit error rate at end, the terminal for determining that the bit error rate is not less than preset threshold is terminal A.
When the bit error rate of any terminal is not less than preset threshold, it can determine that the current signal of the terminal is poor, when When improving priority of the terminal to AP transmission data, it can be ensured that the terminal of signal difference can also get a constant speed of AP offer The service of degree.Therefore, the embodiment of the present disclosure adjustment bit error rate is excellent when transmitting data to AP not less than the terminal of preset threshold First grade.At this point, AP is it needs to be determined that the bit error rate of which terminal is not less than preset threshold.In the embodiments of the present disclosure, with the bit error rate Terminal not less than preset threshold is illustrated for being terminal A.
About the specific value of preset threshold, the embodiment of the present disclosure is not especially limited, when it is implemented, can be according to need It sets.For example, preset threshold can be 0.4,0.5 etc..
In step S504, AP sends priority adjustment instruction to terminal A, wherein priority adjustment instruction is used to indicate Random Waiting Time is adjusted to specified duration by terminal A, to improve priority of the terminal A when transmitting data to AP.
Implementation environment as shown in connection with fig. 1, the communication protocol between terminal and AP, as defined random waiting in 802.11 The range of time.In the embodiments of the present disclosure, by the range of Random Waiting Time defined by communication protocol be defined as with reference to Machine waiting time range.Due to the shorter terminal of Random Waiting Time when transmitting data to AP priority with higher, because This, when specified in the embodiment of the present disclosure a length of smaller value with reference in Random Waiting Time range.For example, when with reference to random etc. When time range is 0.5 second to 1 second, specified duration can be 0.6 second etc..
In step S505, terminal A is adjusted to specified duration according to priority adjustment instruction, by Random Waiting Time.
Wherein, terminal A is according to priority adjustment instruction, when Random Waiting Time is adjusted to specified duration, including but not The following two kinds mode is limited by realize:
First way:Specified duration is determined by AP, and the specified duration that AP is determined is carried in priority adjustment instruction.This When, terminal A is adjusted to specified duration according to the specified duration carried in priority adjustment instruction, by Random Waiting Time.
Under this kind of mode, specified time is carried in priority adjustment instruction, AP refers to terminal A transmission priority adjustment When enabling, need first to determine the corresponding specified duration of terminal A.The mode of the corresponding specified duration of terminal A, Ke Yiyou are determined about AP It is a variety of.For example, AP can first from reference Random Waiting Time range select a target Random Waiting Time range, and from A value is randomly choosed within the scope of the target Random Waiting Time is used as the corresponding specified duration of terminal A.
Wherein, the initial time of target Random Waiting Time range is the initial time with reference to Random Waiting Time range, And target Random Waiting Time range accounts for the designated ratio with reference to Random Waiting Time range.Specific number about designated ratio Value, the embodiment of the present disclosure are not especially limited.For example, the designated ratio can be half, one third etc..For example, working as Designated ratio is half, and with reference to Random Waiting Time range be 0.5 second to 1 second when, target Random Waiting Time range It is 0.5 second to 0.75 second.
In another embodiment, the bit error rate determined in step S503 as AP is not less than the terminal quantity of preset threshold When having multiple, clashed when transmitting data to AP not less than the terminal of preset threshold in order to avoid these bit error rates, AP should Each terminal for the bit error rate not less than preset threshold determines different specified durations.
Illustratively, when the bit error rate is multiple not less than the quantity of the terminal of preset threshold, AP can be according to each terminal It is presently in the type of service of reason, determines the corresponding specified duration of each terminal.
Such as, be specified duration that the relatively high terminal of requirement of real-time determines for currently processed type of service, less than for Currently processed type of service is the specified duration that the not high terminal of requirement of real-time determines.For example, if terminal A and terminal C It is the terminal that the bit error rate is not less than preset threshold, terminal A is currently carrying out video traffic, and terminal C is currently carrying out language Sound business, since the real-time of video traffic is higher than the real-time of voice service, can for the terminal A specified duration determined To be less than the specified duration determined for terminal C.
The second way:Terminal A receive priority adjustment instruction after, according to priority adjustment instruction from it is preset with reference to A specified duration is determined in machine waiting time range;Then, when Random Waiting Time is adjusted to determining specified by terminal A It is long.
Wherein, it can be any value in target Random Waiting Time range that terminal A, which is the specified duration that oneself is determined,.It closes It has been illustrated in foregoing in the content of target Random Waiting Time range, details are not described herein again.
Definition based on target Random Waiting Time can obtain, and target Random Waiting Time range is with reference to Random Waiting Time A lesser range of numerical value in range, by the way that the Random Waiting Time of terminal A is adjusted to target Random Waiting Time model Specified duration in enclosing, it can be ensured that the Random Waiting Time that terminal A is obtained is the communications protocol met between AP and terminal One, compared with fractional value, to realize on the basis of meeting communication protocol, is improved priority when terminal A transmits data to AP.
In step S506, if since terminal A detecting that transfer resource is in busy state, wait DIFS and refer to It after timing is long, detects that transfer resource is in idle condition, then transmits data to AP.
Wherein, DIFS is fixed duration, and each terminal is required to elder generation when detecting that transfer resource is in busy state After waiting DIFS, then wait Random Waiting Time.In the embodiment of the present disclosure, each end of preset threshold is not less than for the bit error rate End, when detecting that transfer resource is in busy state, is required to first wait DIFS, then wait corresponding specified duration;It is right It is required to first wait when detecting that transfer resource is in busy state in each terminal that the bit error rate is less than preset threshold DIFS, then wait with reference to a Random Waiting Time within the scope of Random Waiting Time.
In addition, if since terminal A detecting that transfer resource is in busy state, wait DIFS and specified duration Afterwards, detect transfer resource still in busy state, then after terminal A needs to continue waiting for the sum of DIFS and specified duration, Whether detection transfer resource is in idle condition again.And so on, until terminal A detects that transfer resource is in idle condition When, data are transmitted to AP by the transfer resource.
In another embodiment, terminal A can also continue to detection terminal A in the bit error rate of the detection terminal to itself The signal strength of itself.On this basis, when the bit error rate is sent to AP, signal strength can also be sent to AP.AP connects After receiving the bit error rate and signal strength that terminal A is sent, determined whether to improve terminal A according to the bit error rate of terminal A and signal strength Priority when transmitting from data to AP.The mode of the signal strength of itself is detected about terminal A, the embodiment of the present disclosure is not made to have Body limits.
Illustratively, AP determines whether that improving terminal A is transmitting data to AP in the bit error rate and signal strength according to terminal When priority when, when determining the bit error rate of terminal A not less than preset threshold, and when signal strength is not higher than specified numerical value, really Surely need to improve priority of the terminal A when transmitting data to AP.At this point, AP sends priority adjustment instruction to terminal A.It closes In the specific value of specified numerical value, can be set as needed, it is not limited in this embodiment of the present disclosure.
The method that the embodiment of the present disclosure provides, by the bit error rate when AP determines that terminal transmits data to AP not less than pre- It is excellent when transmitting data to AP to improve terminal if when threshold value, Random Waiting Time is adjusted to specified duration by controlling terminal First grade.Since the bit error rate is the weaker terminal of signal not less than the terminal of preset threshold, it is passed by improving it to AP Priority when transmission of data, it can be ensured that the weaker terminal of signal preferentially can transmit data to AP, so that it is guaranteed that signal is weak Terminal can obtain AP offer certain speed service.
Fig. 7 is a kind of block diagram of terminal shown according to an exemplary embodiment.Referring to Fig. 7, which includes the first inspection Module 701, the first sending module 702, receiving module 703, adjustment module 704 and the second sending module 705 are surveyed, wherein:
The first detection module 701 is configured as the inspection when the transfer resource for detecting that AP is provided is in busy state Terminal is surveyed certainly in bit error rate when transmitting data to AP;
First sending module 702 is configured as the bit error rate being sent to AP;
The receiving module 703 is configured as receiving the priority adjustment instruction that AP is sent, wherein priority adjustment instruction is used In when AP determines the bit error rate not less than preset threshold, Random Waiting Time is adjusted to specified duration by instruction terminal, to improve Priority of the terminal when transmitting data to AP;
The adjustment module 704 is configured as according to priority adjustment instruction, and Random Waiting Time is adjusted to specified duration;
Since second sending module 705 be configured as detecting that transfer resource is in busy state, waits After DIFS and specified duration, when detecting that transfer resource is in idle condition, data are transmitted to AP.
The embodiment of the present disclosure provide terminal, by detect and the bit error rate is sent to AP so that when AP determine terminal to When bit error rate when AP transmits data is not less than preset threshold, Random Waiting Time is adjusted to specified duration by controlling terminal, with Improve priority of the terminal when transmitting data to AP.Since the bit error rate is that signal is weaker not less than the terminal of preset threshold Terminal, therefore, by improving its priority when transmitting data to AP, it can be ensured that the weaker terminal of signal can be preferential Data are transmitted to AP, so that it is guaranteed that the weak terminal of signal can obtain the service of the certain speed of AP offer.
In another embodiment, referring to Fig. 8, terminal further includes the second detection module 706 and third sending module 707, Wherein:
Second detection module 706 is configured as the signal strength of detection terminal itself;
The third sending module 707 is configured as signal strength being sent to AP, makes AP according to the bit error rate and signal strength Determine whether to improve priority of the terminal when transmitting data to AP.
In another embodiment, referring to Fig. 9, first detection module 701 is obtained including first acquisition unit 7011, second Unit 7012 and determination unit 7013, wherein:
The first acquisition unit 7011 is configured as obtaining the data transmission frequency for sending data to AP;
The second acquisition unit 7012 is configured as obtaining the data receiver frequency that AP receives terminal data;
The determination unit 7013 is configured as determining terminal from biography according to data transmission frequency and data receiver frequency Bit error rate when transmission of data.
In another embodiment, adjustment module 704 be configured as according to carried in priority adjustment instruction it is specified when It is long, Random Waiting Time is adjusted to specified duration;
Alternatively, specified duration is determined according to priority adjustment instruction and preset reference Random Waiting Time range, In, any value when specifying in a length of target Random Waiting Time range, the initial time of target Random Waiting Time range is With reference to the initial time of Random Waiting Time range, and target Random Waiting Time range is accounted for reference to Random Waiting Time range Designated ratio;Random Waiting Time is adjusted to specified duration.
It is right to can be used for executing above-mentioned Fig. 3 to Fig. 5 institute for the terminal as described in the examples corresponding to above-mentioned Fig. 7 to Fig. 9 Function performed by terminal in the data transmission method that any embodiment provides in embodiment is answered, wherein modules execute operation Concrete mode be described in detail in the embodiment of the method, no detailed explanation will be given here.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Figure 10 is a kind of block diagram of terminal 1000 shown according to an exemplary embodiment, and the terminal can be used for executing Function performed by terminal in the data transmission method that any embodiment provides in embodiment corresponding to above-mentioned Fig. 3 to Fig. 5.Example Such as, terminal 1000 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 0, terminal 1000 may include following one or more components:Processing component 1002, memory 1004, Power supply module 1006, multimedia component 1008, audio component 1010, I/O (Input/Output, input/output) interface 1012, Sensor module 1014 and communication component 1016.
The integrated operation of the usual controlling terminal 1000 of processing component 1002, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1002 may include one or more processors 1020 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds Block, convenient for the interaction between processing component 1002 and other components.For example, processing component 1002 may include multi-media module, To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in terminal 1000.These data Example includes the instruction of any application or method for operating in terminal 1000, contact data, telephone book data, Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as SRAM (Static Random Access Memory, static random access memory), EEPROM (Electrically-Erasable Programmable Read-Only Memory, the read-only storage of electrically erasable Device), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), and ROM (Read-Only Memory, it is read-only to deposit Reservoir), magnetic memory, flash memory, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of terminal 1000.Power supply module 1006 may include power management System, one or more power supplys and other with for terminal 1000 generate, manage, and distribute the associated component of electric power.
Multimedia component 1008 includes the screen of one output interface of offer between the terminal 1000 and user.? In some embodiments, screen may include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch screen, from the user to receive Input signal.Touch panel includes one or more touch sensors to sense the gesture on touch, slide, and touch panel.Touching The boundary of a touch or slide action can not only be sensed by touching sensor, but also be detected relevant lasting to touch or slide Time and pressure.In some embodiments, multimedia component 1008 includes a front camera and/or rear camera.When Terminal 1000 is in operation mode, and such as in a shooting mode or a video mode, front camera and/or rear camera can receive External multi-medium data.Each front camera and rear camera can be a fixed optical lens system or have Focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes one MIC (Microphone, microphone), when terminal 1000 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 1004 or via communication component 1016 send.In some embodiments, audio component 1010 further includes a loudspeaker, for defeated Audio signal out.
I/O interface 1012 provides interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1014 includes one or more sensors, and the state for providing various aspects for terminal 1000 is commented Estimate.For example, sensor module 1014 can detecte the state that opens/closes of terminal 1000, the relative positioning of component, such as group Part is the display and keypad of terminal 1000, and sensor module 1014 can also detect 1,000 1 groups of terminal 1000 or terminal The position change of part, the existence or non-existence that user contacts with terminal 1000,1000 orientation of terminal or acceleration/deceleration and terminal 1000 temperature change.Sensor module 1014 may include proximity sensor, be configured to connect in not any physics It is detected the presence of nearby objects when touching.Sensor module 1014 can also include optical sensor, such as CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide) or CCD (Charge-coupled Device, Charged Couple Element) imaging sensor, for being used in imaging applications.In some embodiments, which can also wrap Include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between terminal 1000 and other equipment.Eventually End 1000 can access the wireless network based on communication references, such as WiFi, 2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1016 further include NFC (Near Field Communication, Near-field communication) module, to promote short range communication.For example, RFID (Radio Frequency can be based in NFC module Identification, radio frequency identification) technology, IrDA (Infra-red Data Association, Infrared Data Association) skill Art, UWB (Ultra Wideband, ultra wide band) technology, BT (Bluetooth, bluetooth) technology and other technologies are realized.
In the exemplary embodiment, terminal 1000 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, at digital signal Manage device), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, programmable logic device), FPGA (Field Programmable Gate Array, field programmable gate Array), controller, microcontroller, microprocessor or other electron component realize, for executing above-mentioned data transmission method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1020 of terminal 1000 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, RAM (Random Access Memory, arbitrary access Memory), CD-ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and light number According to storage equipment etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal When row, so that mobile terminal is able to carry out a kind of data transmission method, the method includes:
When the transfer resource for detecting that AP is provided is in busy state, detection terminal is certainly in when transmitting data to AP The bit error rate;
The bit error rate is sent to AP;
Receive the priority adjustment instruction that AP is sent, wherein priority adjustment instruction is used to determine that the bit error rate is not small as AP When preset threshold, Random Waiting Time is adjusted to specified duration by instruction terminal, to improve terminal when transmitting data to AP Priority;
According to priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
If after waiting DIFS and specified duration, detecting biography since detecting that transfer resource is in busy state Defeated resource is in idle condition, then transmits data to AP.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of terminal, also include instructions for performing the following operations:Detect terminal The signal strength of itself;
Signal strength is sent to AP, AP is made to determine whether that improve terminal transmits to AP according to the bit error rate and signal strength Priority when data.
In the third the possible embodiment provided based on the first possible embodiment, terminal is deposited It also include instructions for performing the following operations in reservoir:Terminal is detected certainly in bit error rate when transmitting data to AP, packet It includes:
Obtain the data transmission frequency that data are sent to AP;
Obtain the data receiver frequency that AP receives terminal data;
According to data transmission frequency and data receiver frequency, the bit error rate of the terminal from transmission data when is determined.
In the third the possible embodiment provided based on the first possible embodiment, terminal is deposited It also include instructions for performing the following operations in reservoir:According to priority adjustment instruction, Random Waiting Time is adjusted to refer to Timing is long, including:
According to the specified duration carried in priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
Alternatively, specified duration is determined according to priority adjustment instruction and preset reference Random Waiting Time range, In, any value when specifying in a length of target Random Waiting Time range, the initial time of target Random Waiting Time range is With reference to the initial time of Random Waiting Time range, and target Random Waiting Time range is accounted for reference to Random Waiting Time range Designated ratio;Random Waiting Time is adjusted to specified duration.
The non-transitorycomputer readable storage medium that the embodiment of the present disclosure provides, by detecting and being sent to the bit error rate AP, when so that the bit error rate when AP determines that terminal transmits data to AP is not less than preset threshold, controlling terminal will wait at random Time is adjusted to specified duration, to improve priority of the terminal when transmitting data to AP.Since the bit error rate is not less than default threshold The terminal of value is the weaker terminal of signal, therefore, by improving its priority when transmitting data to AP, it can be ensured that letter Number weaker terminal preferentially can transmit data to AP, so that it is guaranteed that the weak terminal of signal can obtain a constant speed of AP offer The service of degree.
Figure 11 is the block diagram of AP shown according to an exemplary embodiment a kind of.Referring to Fig.1 1, the AP include first receiving Module 1101, determining module 1102 and sending module 1103, wherein:
First receiving module 1101 is configured as receiving the correspondence bit error rate that each terminal that connection has been established is sent;
The determining module 1102 is configured as the bit error rate according to each terminal, determines the bit error rate not less than preset threshold Terminal;
The sending module 1103 is configured as sending priority adjustment instruction to terminal, refers to terminal according to priority adjustment It enables and the Random Waiting Time of terminal is adjusted to specified duration, to improve priority of the terminal when transmitting data.
The AP that the embodiment of the present disclosure provides, the bit error rate when determining that terminal transmits data to AP is not less than preset threshold When, Random Waiting Time is adjusted to specified duration by controlling terminal, to improve priority of the terminal when transmitting data to AP.By It is the weaker terminal of signal in the terminal that the bit error rate is not less than preset threshold, therefore, is transmitting data to AP by improving it When priority, it can be ensured that the weaker terminal of signal can preferentially to AP transmit data, so that it is guaranteed that the terminal that signal is weak The service of the certain speed of AP offer can be provided.
It in another embodiment, further include the second receiving module 1104 referring to Figure 12, AP, wherein:
Second receiving module 1104 is configured as receiving the correspondence signal strength that each terminal is sent;
The determining module 1102 is configured as the bit error rate and signal strength according to each terminal, determines that the bit error rate is not less than Preset threshold and signal strength are not higher than the terminal of specified numerical value.
In another embodiment, referring to Figure 13, specified time is carried in priority adjustment instruction, sending module 1103 wraps Determination unit 11031 and transmission unit 11032 are included, wherein:
The determination unit 11031 is configured as being presently in reason according to each terminal when the quantity of terminal is multiple Type of service determines the corresponding specified duration of each terminal;
The transmission unit 11032 is configured as the corresponding specified duration of each terminal being carried in priority adjustment instruction It is sent to each terminal.
AP in the embodiment corresponding to above-mentioned Figure 11 to Figure 13 can be used for executing real corresponding to above-mentioned Fig. 3 to Fig. 5 Function performed by AP in the data transmission method that any embodiment provides in example is applied, wherein modules execute the specific of operation Mode is described in detail in the embodiment of the method, and no detailed explanation will be given here.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Figure 14 is the block diagram of AP1400 shown according to an exemplary embodiment a kind of.4, AP1400 includes place referring to Fig.1 Component 1422 is managed, further comprises one or more processors, and the memory resource as representated by memory 1432, is used It can be by the instruction of the execution of processing component 1422, such as application program in storage.The application program stored in memory 1432 can With include it is one or more each correspond to one group of instruction module.In addition, processing component 1422 is configured as holding Row instruction, to execute above-mentioned data transmission method.
AP1400 can also include that a power supply module 1426 is configured as executing the power management of AP1400, and one wired Or radio network interface 1450 is configured as AP1400 being connected to network and input and output (I/O) interface 1458. AP1400 can be operated based on the operating system for being stored in memory 1432, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Wherein, the one or more instruction stored in memory 1432, so that AP is able to carry out a kind of data biography Transmission method, the method includes:
It receives and the correspondence bit error rate that each terminal of connection is sent has been established;
According to the bit error rate of each terminal, determine that the bit error rate is not less than the terminal of preset threshold;
Priority adjustment instruction is sent to terminal, makes terminal according to priority adjustment instruction by the Random Waiting Time of terminal It is adjusted to specified duration, to improve priority of the terminal when transmitting data.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of AP, also include instructions for performing the following operations:Method is also wrapped It includes:
Receive the correspondence signal strength that each terminal is sent;
According to the bit error rate of each terminal, determine that the bit error rate is not less than the terminal of preset threshold, including:
According to the bit error rate and signal strength of each terminal, determine that the bit error rate is not less than preset threshold and signal strength is not high In the terminal of specified numerical value.
In the third the possible embodiment provided based on the first possible embodiment, the storage of AP It also include instructions for performing the following operations in device:Specified time is carried in priority adjustment instruction, is sent to terminal preferential Grade adjustment instruction, including:
When the quantity of terminal is multiple, it is presently in the type of service of reason according to each terminal, determines each terminal pair The specified duration answered;
The corresponding specified duration of each terminal is carried in priority adjustment instruction and is sent to each terminal.
The AP that the embodiment of the present disclosure provides, the bit error rate when determining that terminal transmits data to AP is not less than preset threshold When, Random Waiting Time is adjusted to specified duration by controlling terminal, to improve priority of the terminal when transmitting data to AP.By It is the weaker terminal of signal in the terminal that the bit error rate is not less than preset threshold, therefore, is transmitting data to AP by improving it When priority, it can be ensured that the weaker terminal of signal can preferentially to AP transmit data, so that it is guaranteed that the terminal that signal is weak The service of the certain speed of AP offer can be provided.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (16)

1. a kind of data transmission method, which is characterized in that the method includes:
When the transfer resource for detecting that wireless access points AP is provided be in busy state, detection terminal oneself in institute State bit error rate when AP transmission data;
The bit error rate is sent to the AP;
The priority adjustment instruction that the AP is sent is received, the priority adjustment instruction is used to determine the error code as the AP When rate is not less than preset threshold, indicates that Random Waiting Time is adjusted to specified duration by the terminal, existed with improving the terminal Priority when transmitting from data to the AP;
According to the priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
If since detecting that the transfer resource is in busy state, wait distributed frame between clearance D IFS and it is specified when It after length, detects that the transfer resource is in idle condition, then transmits data to the AP.
2. the method according to claim 1, wherein the method also includes:
Detect the signal strength of terminal itself;
The signal strength is sent to the AP, the AP is made to determine whether to mention according to the bit error rate and the signal strength Priority of the high terminal when transmitting data to the AP.
3. the method according to claim 1, wherein the detection terminal is certainly in when transmitting data to the AP The bit error rate, including:
Obtain the data transmission frequency that data are sent to the AP;
Obtain the data receiver frequency that the AP receives the terminal data;
According to the data transmission frequency and the data receiver frequency, error code of the terminal from transmission data when is determined Rate.
4. the method according to claim 1, wherein described according to the priority adjustment instruction, will be random etc. It is adjusted to specified duration to the time, including:
According to the specified duration carried in the priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
Alternatively, specified duration is determined according to the priority adjustment instruction and preset reference Random Waiting Time range, it is described Any value when specified in a length of target Random Waiting Time range, the initial time of the target Random Waiting Time range are The initial time with reference to Random Waiting Time range, and the target Random Waiting Time range account for it is described with reference to random etc. Designated ratio to time range;Random Waiting Time is adjusted to specified duration.
5. a kind of data transmission method, which is characterized in that it is applied to wireless access points AP, the method includes:
It receives and the correspondence bit error rate that each terminal of connection is sent has been established;
According to the bit error rate of each terminal, determine that the bit error rate is not less than the terminal of preset threshold;
Priority adjustment instruction is sent to the terminal, makes the terminal according to the priority adjustment instruction by the terminal Random Waiting Time is adjusted to specified duration, to improve priority of the terminal when transmitting data.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Receive the correspondence signal strength that each terminal is sent;
The bit error rate according to each terminal determines that the bit error rate is not less than the terminal of preset threshold, including:
According to the bit error rate and signal strength of each terminal, determine that the bit error rate is not less than preset threshold and signal strength is not high In the terminal of specified numerical value.
7. according to the method described in claim 5, it is characterized in that, carry specified time in the priority adjustment instruction, institute It states to the terminal and sends priority adjustment instruction, including:
When the quantity of the terminal is multiple, it is presently in the type of service of reason according to each terminal, determines each terminal pair The specified duration answered;
The corresponding specified duration of each terminal is carried in the priority adjustment instruction and is sent to each terminal.
8. a kind of terminal, which is characterized in that the terminal includes:
First detection module, for when detect wireless access points AP provide transfer resource be in busy state when, Terminal is detected certainly in bit error rate when transmitting data to the AP;
First sending module, for the bit error rate to be sent to the AP;
Receiving module, the priority adjustment instruction sent for receiving the AP, the priority adjustment instruction are used for when described When AP determines the bit error rate not less than preset threshold, indicate that Random Waiting Time is adjusted to specified duration by the terminal, with Improve priority of the terminal when transmitting data to the AP;
Module is adjusted, for according to the priority adjustment instruction, Random Waiting Time to be adjusted to specified duration;
Second sending module, for working as since detecting that the transfer resource is in busy state, between waiting distributed frame After clearance D IFS and specified duration, when detecting that the transfer resource is in idle condition, data are transmitted to the AP.
9. terminal according to claim 8, which is characterized in that the terminal further includes:
Second detection module, for detecting the signal strength of terminal itself;
Third sending module makes the AP according to the bit error rate and described for the signal strength to be sent to the AP Signal strength determines whether to improve priority of the terminal when transmitting data to the AP.
10. terminal according to claim 8, which is characterized in that the first detection module includes:
First acquisition unit, for obtaining the data transmission frequency for sending data to the AP;
Second acquisition unit receives the data receiver frequency of the terminal data for obtaining the AP;
Determination unit, for determining the terminal from biography according to the data transmission frequency and the data receiver frequency Bit error rate when transmission of data.
11. terminal according to claim 8, which is characterized in that the adjustment module, for being adjusted according to the priority Random Waiting Time is adjusted to specified duration by the specified duration carried in instruction;
Alternatively, specified duration is determined according to the priority adjustment instruction and preset reference Random Waiting Time range, it is described Any value when specified in a length of target Random Waiting Time range, the initial time of the target Random Waiting Time range are The initial time with reference to Random Waiting Time range, and the target Random Waiting Time range account for it is described with reference to random etc. Designated ratio to time range;Random Waiting Time is adjusted to specified duration.
12. a kind of wireless access points, which is characterized in that the wireless access points include:
First receiving module, for receiving the correspondence bit error rate that each terminal of connection has been established and sends;
Determining module determines that the bit error rate is not less than the terminal of preset threshold for the bit error rate according to each terminal;
Sending module refers to the terminal according to priority adjustment for sending priority adjustment instruction to the terminal It enables and the Random Waiting Time of the terminal is adjusted to specified duration, to improve priority of the terminal when transmitting data.
13. wireless access points according to claim 12, which is characterized in that the wireless access points also wrap It includes:
Second receiving module, the correspondence signal strength sent for receiving each terminal;
The determining module determines the bit error rate not less than default for the bit error rate and signal strength according to each terminal Threshold value and signal strength are not higher than the terminal of specified numerical value.
14. wireless access points according to claim 12, which is characterized in that carried in the priority adjustment instruction Specified time, the sending module include:
Determination unit, for being presently in the type of service of reason according to each terminal, really when the quantity of the terminal is multiple Determine the corresponding specified duration of each terminal;
Transmission unit is sent to for the corresponding specified duration of each terminal to be carried in the priority adjustment instruction Each terminal.
15. a kind of terminal, which is characterized in that the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When the transfer resource for detecting that wireless access points AP is provided be in busy state, detection terminal oneself in institute State bit error rate when AP transmission data;
The bit error rate is sent to the AP;
The priority adjustment instruction that the AP is sent is received, the priority adjustment instruction is used to determine the error code as the AP When rate is not less than preset threshold, indicates that Random Waiting Time is adjusted to specified duration by the terminal, existed with improving the terminal Priority when transmitting from data to the AP;
According to the priority adjustment instruction, Random Waiting Time is adjusted to specified duration;
If since detecting that the transfer resource is in busy state, wait distributed frame between clearance D IFS and it is specified when It after length, detects that the transfer resource is in idle condition, then transmits data to the AP.
16. a kind of wireless access points, which is characterized in that the wireless access points include:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It receives and the correspondence bit error rate that each terminal of connection is sent has been established;
According to the bit error rate of each terminal, determine that the bit error rate is not less than the terminal of preset threshold;
Priority adjustment instruction is sent to the terminal, makes the terminal according to the priority adjustment instruction by the terminal Random Waiting Time is adjusted to specified duration, to improve priority of the terminal when transmitting data.
CN201510578846.8A 2015-09-11 2015-09-11 Data transmission method, terminal and wireless access points Active CN105163391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510578846.8A CN105163391B (en) 2015-09-11 2015-09-11 Data transmission method, terminal and wireless access points

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510578846.8A CN105163391B (en) 2015-09-11 2015-09-11 Data transmission method, terminal and wireless access points

Publications (2)

Publication Number Publication Date
CN105163391A CN105163391A (en) 2015-12-16
CN105163391B true CN105163391B (en) 2018-11-23

Family

ID=54804118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510578846.8A Active CN105163391B (en) 2015-09-11 2015-09-11 Data transmission method, terminal and wireless access points

Country Status (1)

Country Link
CN (1) CN105163391B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190342914A1 (en) * 2016-02-22 2019-11-07 Mitsubishi Electric Corporation Communication apparatus, communication method, and computer readable medium
CN107333297A (en) * 2017-07-07 2017-11-07 上海斐讯数据通信技术有限公司 Data transmission time method of adjustment and device, radio reception device
CN109803284A (en) * 2017-11-16 2019-05-24 展讯通信(上海)有限公司 A kind of wireless communications method and communication equipment
CN112000605B (en) * 2020-08-26 2022-07-08 北京控制与电子技术研究所 Method and device for transmitting instructions and data
CN112611083B (en) * 2020-11-20 2022-07-12 青岛海尔空调电子有限公司 Multi-split internal and external machine communication method and multi-split machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787468A (en) * 2004-12-08 2006-06-14 冲电气工业株式会社 Method of controlling quality of service for a wireless lan base station apparatus
WO2007082158A2 (en) * 2006-01-06 2007-07-19 Texas Instruments Incorporated Methods and apparatus to provide fairness for wireless local area networks that use long network allocation vector (nav) mechanisms
CN101394626A (en) * 2007-09-19 2009-03-25 株式会社Ntt都科摩 Distributed service differentiating method and device based on WLAN
CN104170336A (en) * 2012-03-01 2014-11-26 华为技术有限公司 System and methods for differentiated association service provisioning in wifi networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787468A (en) * 2004-12-08 2006-06-14 冲电气工业株式会社 Method of controlling quality of service for a wireless lan base station apparatus
WO2007082158A2 (en) * 2006-01-06 2007-07-19 Texas Instruments Incorporated Methods and apparatus to provide fairness for wireless local area networks that use long network allocation vector (nav) mechanisms
CN101394626A (en) * 2007-09-19 2009-03-25 株式会社Ntt都科摩 Distributed service differentiating method and device based on WLAN
CN104170336A (en) * 2012-03-01 2014-11-26 华为技术有限公司 System and methods for differentiated association service provisioning in wifi networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Data centric cimmunication using the wireless control area networks";Bechir BenGouissem等;《IEEE》;20061217;全文 *

Also Published As

Publication number Publication date
CN105163391A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105163391B (en) Data transmission method, terminal and wireless access points
WO2018126479A1 (en) Method and apparatus for acquiring and sending system information
US11503642B2 (en) Method and device for determining an uplink-downlink switching point
WO2020258049A1 (en) Information reporting method and apparatus, resource coordination method and apparatus, and multi-card terminal
WO2021138914A1 (en) Method and apparatus for indicating data transmission, communication device and storage medium
CN107439023A (en) Acquisition request and the method and device for sending system information
CN104168605A (en) Data transmission control method and apparatus
CN109565717A (en) The configuration method and device of portions of bandwidth
CN109379783A (en) Radio frequency resource distribution method and device
US20220159697A1 (en) Buffer indication methods and apparatuses, resource transmission methods and apparatuses and user equipment
US11871449B2 (en) Backoff method and apparatus in transmission process, device, system, and storage medium
WO2021000323A1 (en) Buffer status report sending method and apparatus
WO2020087348A1 (en) Information feedback method and apparatus
CN108702255A (en) Control the method and device of mixed automatic retransfer feedback
CN109155701A (en) Uplink feedback method, apparatus, terminal and base station and storage medium
CN111466127B (en) Processing method, device and storage medium for enhancing uplink coverage
WO2018120779A1 (en) Transmission method and device for downlink data
CN109287139A (en) Data transmission method and device
US11812386B2 (en) Configuration adjustment methods, apparatuses, electronic device and computer readable storage medium
US20220346083A1 (en) Methods and apparatuses for determining network allocation vector, and storage media
WO2020164052A1 (en) Resource determination method and device
CN109644425A (en) Transmit the method and device of call signaling
WO2021226766A1 (en) Data transmitting method and apparatus, communication device, and storage medium
WO2018000322A1 (en) Data transmission method and device
JP2023553752A (en) Support resource set determination method, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant