CN105163391A - Data transmission method, terminal and wireless access point - Google Patents
Data transmission method, terminal and wireless access point Download PDFInfo
- Publication number
- CN105163391A CN105163391A CN201510578846.8A CN201510578846A CN105163391A CN 105163391 A CN105163391 A CN 105163391A CN 201510578846 A CN201510578846 A CN 201510578846A CN 105163391 A CN105163391 A CN 105163391A
- Authority
- CN
- China
- Prior art keywords
- terminal
- error rate
- waiting time
- data
- random waiting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 91
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000012546 transfer Methods 0.000 claims description 67
- 238000001514 detection method Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 abstract description 18
- 238000010586 diagram Methods 0.000 description 19
- 238000012545 processing Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 8
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000002203 pretreatment Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/56—Allocation or scheduling criteria for wireless resources based on priority criteria
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/56—Allocation or scheduling criteria for wireless resources based on priority criteria
- H04W72/566—Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0808—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
- H04W74/0816—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a data transmission method, a terminal and an AP, and belongs to the technical field of wireless communication. The data transmission method comprises: detecting the error rate of the terminal when transmitting data to the AP; sending the error rate to the AP; receiving a priority adjustment instruction sent by the AP; adjusting a random wait time to a specified duration; and beginning from detecting that a transmission resource is at a non-idle state, waiting for DIFS and the specified duration, if detecting that the transmission resource is at an idle state, transmitting data to the AP. When the AP determines that the error rate of the terminal when transmitting data to the AP is not smaller than a preset threshold, the terminal is controlled to adjust the random wait time to the specified duration, in order to improve the priority of the terminal when transmitting data to the AP. Since the terminal with the error rate not smaller than the preset threshold is a terminal with weaker signals, the priority of the terminal when transmitting data to the AP is improved to ensure that the terminal with the weaker signal can preferentially transmit data to the AP, so that the terminal with the weaker signals can obtain services with certain speeds provided by the AP.
Description
Technical field
The disclosure relates to wireless communication technology field, particularly a kind of data transmission method, terminal and wireless access points.
Background technology
Along with developing rapidly of wireless communication technology, the terminal quantity accessing same AP (WirelessAccessPoint, wireless access points) often has multiple.Such as, when AP is home router, the terminal accessing this home router comprises mobile phone, panel computer, intelligent television etc.Each terminal of access AP, when transmitting data to AP, needs the transfer resource using AP to provide.Such as, each terminal, when transmitting data to AP, needs the channel resource etc. using AP to provide.Particularly, the transfer resource that each terminal time-sharing multiplex AP provides, thus realize the transfer of data between AP.
Each terminal, when transmitting data to AP, is realized by DCF (DistributedCoordinatedFunction, distributed coordination function) usually.Particularly, DCF is based on CSMA/CA (CarrierSenseMultipleAccesswithCollisionAvoidance, csma/collision is avoided) protocol realization.Under DCF pattern, terminal is before transmitting data to AP, and whether the transfer resource that needing first to detect AP provides is in idle condition.If transfer resource is in idle condition, then terminal sends data to AP.If transfer resource is in busy state, then after terminal needs to wait for DIFS (DistributedInter-frameSpacing, distributed interframe gap), again detect transfer resource and whether be in idle condition.Wherein, DIFS is a fixing duration.In such cases, if synchronization detects that the terminal that transfer resource is in busy state has multiple, then each terminal is after wait DIFS, again detects transfer resource simultaneously and whether is in idle condition.Now, when transfer resource is in idle condition, multiple terminal attempts transmitting data to AP simultaneously.Now, by there will be multiple terminal simultaneously to the situation of AP transmission data, the conflict of transfer of data is namely produced.
In order to avoid data transmission conflict, each terminal, after wait DIFS, also can continue wait Random Waiting Time, and when arriving this Random Waiting Time, again detecting transfer resource and whether being in idle condition.Wherein, the different random stand-by period makes terminal have different priority when transmitting data to AP.Due to the terminal that the terminal that Random Waiting Time is shorter is longer relative to Random Waiting Time, first can detect transfer resource and whether be in idle condition, and when detecting that transfer resource is in idle condition, first transmit data to AP, therefore, the terminal that Random Waiting Time is shorter has higher data transport priority.
Summary of the invention
The disclosure provides a kind of data transmission method, terminal and AP.
According to the first aspect of disclosure embodiment, provide a kind of data transmission method, described method comprises:
When the transfer resource detecting that AP provides is in busy state, sense terminals is from the error rate in time transmitting data to described AP;
The described error rate is sent to described AP;
Receive the priority adjustment instruction that described AP sends, described priority adjustment instruction is used for when described AP determines that the described error rate is not less than predetermined threshold value, indicate described terminal that Random Waiting Time is adjusted to appointment duration, to improve the priority of described terminal when transmitting data to described AP;
According to described priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
If from detecting that described transfer resource is in busy state, wait for DIFS and after specifying duration, detect that described transfer resource is in idle condition, then transmit data to described AP.
In conjunction with first aspect, in the first possible implementation of first aspect, described method also comprises:
The signal strength signal intensity of sense terminals self;
Described signal strength signal intensity being sent to described AP, making described AP determine whether to improve the priority of described terminal when transmitting data to described AP according to the described error rate and described signal strength signal intensity.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described sense terminals, from the error rate in time transmitting data to described AP, comprising:
Obtain the data transmission frequency sending data to described AP;
Obtain the data receiver frequency that described AP receives described terminal data;
According to described data transmission frequency and described data receiver frequency, determine the error rate of described terminal when in transmission data.
In conjunction with first aspect, in the third possible implementation of first aspect, described according to described priority adjustment instruction, Random Waiting Time is adjusted to appointment duration, comprises:
According to the appointment duration carried in described priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
Or, according to described priority adjustment instruction and default reference Random Waiting Time scope, determine to specify duration, described appointment duration is the arbitrary value in target Random Waiting Time scope, the initial time of described target Random Waiting Time scope is the described initial time with reference to Random Waiting Time scope, and described target Random Waiting Time scope accounts for the described designated ratio with reference to Random Waiting Time scope; Random Waiting Time is adjusted to appointment duration.
According to the second aspect of disclosure embodiment, provide a kind of data transmission method, described method comprises:
Receive the corresponding error rate of each terminal transmission connected;
According to the error rate of each terminal described, determine that the error rate is not less than the terminal of predetermined threshold value;
Sending priority adjustment instruction to described terminal, making described terminal the Random Waiting Time of described terminal is adjusted to appointment duration, to improve the priority of described terminal when transmitting data according to described priority adjustment instruction.
In conjunction with second aspect, in the first possible implementation of second aspect, described method also comprises:
Receive the respective signal intensity that each terminal described sends;
The error rate of each terminal described in described basis, determine that the error rate is not less than the terminal of predetermined threshold value, comprising:
According to the error rate and the signal strength signal intensity of each terminal described, determine the error rate be not less than predetermined threshold value and signal strength signal intensity not higher than specifying the terminal of numerical value.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, in described priority adjustment instruction, carry the fixed time, described to described terminal transmission priority adjustment instruction, comprising:
When the quantity of described terminal is multiple, according to the current handled type of service of each terminal, determine the appointment duration that each terminal is corresponding;
Appointment duration corresponding for described each terminal is carried in described priority adjustment instruction and is sent to described each terminal.
According to the third aspect of disclosure embodiment, provide a kind of terminal, described terminal comprises:
First detection module, during for being in busy state when the transfer resource detecting that AP provides, sense terminals is from the error rate in time transmitting data to described AP;
First sending module, for being sent to described AP by the described error rate;
Receiver module, for receiving the priority adjustment instruction that described AP sends, described priority adjustment instruction is used for when described AP determines that the described error rate is not less than predetermined threshold value, indicate described terminal that Random Waiting Time is adjusted to appointment duration, to improve the priority of described terminal when transmitting data to described AP;
Adjusting module, for according to described priority adjustment instruction, is adjusted to appointment duration by Random Waiting Time;
Second sending module, for when from detecting that described transfer resource is in busy state, waits for DIFS and after specifying duration, when detecting that described transfer resource is in idle condition, transmits data to described AP.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described terminal also comprises:
Second detection module, for the signal strength signal intensity of sense terminals self;
3rd sending module, for described signal strength signal intensity is sent to described AP, makes described AP determine whether to improve the priority of described terminal when transmitting data to described AP according to the described error rate and described signal strength signal intensity.
In conjunction with the third aspect, in the implementation that the second of the third aspect is possible, described first detection module comprises:
First acquiring unit, for obtaining the data transmission frequency sending data to described AP;
Second acquisition unit, receives the data receiver frequency of described terminal data for obtaining described AP;
Determining unit, for according to described data transmission frequency and described data receiver frequency, determines the error rate of described terminal when in transmission data.
In conjunction with the third aspect, in the third possible implementation of the third aspect, described adjusting module, for according to the appointment duration carried in described priority adjustment instruction, is adjusted to appointment duration by Random Waiting Time;
Or, according to described priority adjustment instruction and default reference Random Waiting Time scope, determine to specify duration, described appointment duration is the arbitrary value in target Random Waiting Time scope, the initial time of described target Random Waiting Time scope is the described initial time with reference to Random Waiting Time scope, and described target Random Waiting Time scope accounts for the described designated ratio with reference to Random Waiting Time scope; Random Waiting Time is adjusted to appointment duration.
According to the fourth aspect of disclosure embodiment, provide a kind of AP, described AP comprises:
First receiver module, for receiving the corresponding error rate of each terminal transmission connected;
Determination module, for the error rate according to each terminal described, determines that the error rate is not less than the terminal of predetermined threshold value;
Sending module, for sending priority adjustment instruction to described terminal, makes described terminal the Random Waiting Time of described terminal is adjusted to appointment duration, to improve the priority of described terminal when transmitting data according to described priority adjustment instruction.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described AP also comprises:
Second receiver module, for receiving the respective signal intensity that each terminal described sends;
Described determination module, for according to the error rate of each terminal described and signal strength signal intensity, determine the error rate be not less than predetermined threshold value and signal strength signal intensity not higher than the terminal of specifying numerical value.
In conjunction with fourth aspect, in the implementation that the second of the third aspect is possible, carry the fixed time in described priority adjustment instruction, described sending module comprises:
Determining unit, for when the quantity of described terminal is multiple, according to the current handled type of service of each terminal, determines the appointment duration that each terminal is corresponding;
Transmitting element, is sent to described each terminal for being carried on by appointment duration corresponding for described each terminal in described priority adjustment instruction.
According to the 5th aspect of disclosure embodiment, provide a kind of terminal, described terminal comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When the transfer resource detecting that AP provides is in busy state, sense terminals is from the error rate in time transmitting data to described AP;
The described error rate is sent to described AP;
Receive the priority adjustment instruction that described AP sends, described priority adjustment instruction is used for when described AP determines that the described error rate is not less than predetermined threshold value, indicate described terminal that Random Waiting Time is adjusted to appointment duration, to improve the priority of described terminal when transmitting data to described AP;
According to described priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
If from detecting that described transfer resource is in busy state, wait for DIFS and after specifying duration, detect that described transfer resource is in idle condition, then transmit data to described AP.
According to the 6th aspect of disclosure embodiment, provide a kind of AP, described AP comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the corresponding error rate of each terminal transmission connected;
According to the error rate of each terminal described, determine that the error rate is not less than the terminal of predetermined threshold value;
Sending priority adjustment instruction to described terminal, making described terminal the Random Waiting Time of described terminal is adjusted to appointment duration, to improve the priority of described terminal when transmitting data according to described priority adjustment instruction.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
When AP determines that terminal is not less than predetermined threshold value to error rate during AP transmission data, Random Waiting Time is adjusted to appointment duration by control terminal, to improve the priority of terminal when transmitting data to AP.The terminal being not less than predetermined threshold value due to the error rate is the more weak terminal of signal, therefore, by improve its to AP transmit data time priority, can guarantee that the more weak terminal of signal preferentially can transmit data to AP, thus guarantee that the weak terminal of signal can obtain the service of the certain speed that AP provides.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is the implementation environment schematic diagram involved by a kind of data transmission method according to an exemplary embodiment.
Fig. 2 is the schematic diagram of a kind of CSMA/CA according to an exemplary embodiment.
Fig. 3 is the flow chart of a kind of data transmission method according to an exemplary embodiment.
Fig. 4 is the flow chart of a kind of data transmission method according to an exemplary embodiment.
Fig. 5 is the flow chart of a kind of data transmission method according to an exemplary embodiment.
Fig. 6 is a kind of software hierarchy configuration diagram according to an exemplary embodiment.
Fig. 7 is the block diagram of a kind of terminal according to an exemplary embodiment.
Fig. 8 is the block diagram of a kind of terminal according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of first detection module according to an exemplary embodiment.
Figure 10 is the block diagram of a kind of terminal according to an exemplary embodiment.
Figure 11 is the block diagram of a kind of AP according to an exemplary embodiment.
Figure 12 is the block diagram of a kind of AP according to an exemplary embodiment.
Figure 13 is the block diagram of a kind of sending module according to an exemplary embodiment.
Figure 14 is the block diagram of a kind of AP according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the implementation environment schematic diagram involved by a kind of data transmission method according to an exemplary embodiment.As shown in Figure 1, this implementation environment comprises AP101 and at least two terminal 102.Wherein, each terminal 102 is connected by wireless network with AP101.
Wherein, each terminal 102 when transmitting data to AP101, the transfer resource provided by AP101, as transmission channel realizes, and the transfer resource that each terminal 102 time-sharing multiplex AP101 provides.That is, when a terminal 102 transmits data by this transfer resource to AP101,102, other terminal can not transmit data to AP101.
Each terminal 102, when transmitting data to AP101, is realized by DCF usually.Particularly, DCF is based on CSMA/CA protocol realization.Under DCF pattern, any terminal 102 is before transmitting data to AP101, and whether the transfer resource that needing first to detect AP101 provides is in idle condition.If transfer resource is in idle condition, then terminal 102 transmits data to AP101.If transfer resource is in busy state, then, after terminal 102 needs to wait for DIFS, continue wait Random Waiting Time, thus avoid multiple terminal 102 to occur conflict when AP transmits data.Terminal at wait DIFS, and after waiting for Random Waiting Time again, again detects transfer resource and whether is in idle condition, until when detecting that transfer resource is in idle condition, transmit data to AP101.
As shown in Figure 2, it illustrates the schematic diagram of a kind of CSMA/CA.DIFS is a fixing duration, the numeral Random Waiting Time such as 10,7,5.Can be obtained by Fig. 2, different terminals 102 has different Random Waiting Time.Wherein, the different random stand-by period makes terminal 102 have different priority when transmitting data to AP101, and the shorter terminal 102 of Random Waiting Time has higher data transport priority.
To sum up, each terminal 102, when transmitting data to AP, needs first to compete the transfer resource that AP provides, and terminal 102 competition has relation to the possibility of transfer resource and the length of Random Waiting Time.Therefore, by adjusting the Random Waiting Time of each terminal 102, each terminal 102 transmits priority from data to AP101 can be adjusted.Based on this, disclosure embodiment provides a kind of data transmission method.Concrete data transmission method refers to each embodiment following:
Wherein, AP101 can be router, also can be the network equipments such as base station.Terminal 102 can be desktop computer, smart mobile phone, panel computer, E-book reader, MP3 (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3) player, MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect 3) player, pocket computer on knee and wearable smart machine, as Intelligent bracelet etc.
Fig. 3 is the flow chart of a kind of data transmission method according to an exemplary embodiment, and data transmission method is used in terminal.As shown in Figure 3, the data transmission method that disclosure embodiment provides comprises the following steps.
In step S301, when the transfer resource detecting that AP provides is in busy state, sense terminals is from the error rate in time transmitting data to AP.
In step s 302, the error rate is sent to AP.
In step S303, receive the priority adjustment instruction that AP sends, wherein, priority adjustment instruction is used for when AP determines that the error rate is not less than predetermined threshold value, Random Waiting Time is adjusted to appointment duration by indicating terminal, to improve the priority of terminal when transmitting data to AP.
In step s 304, according to priority adjustment instruction, Random Waiting Time is adjusted to appointment duration.
In step S305, if from detecting that transfer resource is in busy state, wait for DIFS and after specifying duration, detect that transfer resource is in idle condition, then transmit data to AP.
The method that disclosure embodiment provides, by detecting and the error rate being sent to AP, make when AP determines that terminal is not less than predetermined threshold value to error rate during AP transmission data, Random Waiting Time is adjusted to appointment duration by control terminal, to improve the priority of terminal when transmitting data to AP.The terminal being not less than predetermined threshold value due to the error rate is the more weak terminal of signal, therefore, by improve its to AP transmit data time priority, can guarantee that the more weak terminal of signal preferentially can transmit data to AP, thus guarantee that the weak terminal of signal can obtain the service of the certain speed that AP provides.
In another embodiment, method also comprises:
The signal strength signal intensity of sense terminals self;
Signal strength signal intensity being sent to AP, making AP determine whether to improve the priority of terminal when transmitting data to AP according to the error rate and signal strength signal intensity.
In another embodiment, sense terminals, from the error rate in time transmitting data to AP, comprising:
Obtain the data transmission frequency sending data to AP;
Obtain the data receiver frequency of AP receiving terminal data;
According to data transmission frequency and data receiver frequency, determine the error rate of terminal when in transmission data.
In another embodiment, according to priority adjustment instruction, Random Waiting Time is adjusted to appointment duration, comprises:
According to the appointment duration carried in priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
Or, according to priority adjustment instruction and default reference Random Waiting Time scope, determine to specify duration, wherein, appointment duration is the arbitrary value in target Random Waiting Time scope, the initial time of target Random Waiting Time scope is the initial time with reference to Random Waiting Time scope, and target Random Waiting Time scope accounts for the designated ratio with reference to Random Waiting Time scope; Random Waiting Time is adjusted to appointment duration.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 4 is the flow chart of a kind of data transmission method according to an exemplary embodiment, and data transmission method is used in AP.As shown in Figure 4, the data transmission method that disclosure embodiment provides comprises the following steps.
In step S401, receive the corresponding error rate of each terminal transmission connected.
In step S402, according to the error rate of each terminal, determine that the error rate is not less than the terminal of predetermined threshold value.
In step S403, sending priority adjustment instruction to terminal, making terminal, according to priority adjustment instruction, the Random Waiting Time of terminal is adjusted to appointment duration, to improve the priority of terminal when transmitting data.
The method that disclosure embodiment provides, when determining that terminal is not less than predetermined threshold value to error rate during AP transmission data, Random Waiting Time is adjusted to appointment duration by control terminal, to improve the priority of terminal when transmitting data to AP.The terminal being not less than predetermined threshold value due to the error rate is the more weak terminal of signal, therefore, by improve its to AP transmit data time priority, can guarantee that the more weak terminal of signal preferentially can transmit data to AP, thus guarantee that the weak terminal of signal can obtain the service of the certain speed that AP provides.
In another embodiment, method also comprises:
Receive the respective signal intensity that each terminal sends;
According to the error rate of each terminal, determine that the error rate is not less than the terminal of predetermined threshold value, comprising:
According to the error rate and the signal strength signal intensity of each terminal, determine the error rate be not less than predetermined threshold value and signal strength signal intensity not higher than specifying the terminal of numerical value.
In another embodiment, in priority adjustment instruction, carry the fixed time, send priority adjustment instruction to terminal, comprising:
When the quantity of terminal is multiple, according to the current handled type of service of each terminal, determine the appointment duration that each terminal is corresponding;
Appointment duration corresponding for each terminal is carried in priority adjustment instruction and is sent to each terminal.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 5 is the flow chart of a kind of data transmission method according to an exemplary embodiment.Disclosure embodiment carries out alternately, being described the data transmission method that disclosure embodiment provides with terminal and AP.Composition graphs 5, for convenience of explanation, disclosure embodiment comprises terminal A and terminal B with the implementation environment shown in Fig. 1, and priority when AP transmits data to terminal A to AP is adjusted to example, explains the data transmission method that disclosure embodiment provides.As shown in Figure 5, the data transmission method that disclosure embodiment provides comprises the following steps.
In step S501, when terminal A detects that the transfer resource that AP provides is in busy state, sense terminals A is from the error rate in time transmitting data to AP.
When the transfer resource that AP provides is in busy state, the transfer resource that other terminal of current time is using AP to provide is described.Now, terminal A needs to wait for DIFS, and after continuing to wait for Random Waiting Time, again detects this transfer resource and whether be in idle condition, until when detecting that transfer resource is in idle condition, transmits data to AP.In the disclosed embodiments, when terminal A detects that transfer resource is in busy state, terminal A, can the error rate of sense terminals A when in transmission data in the process waited for, thus the step that the Random Waiting Time of triggering following to terminal A adjusts.
Illustratively, terminal A, when detecting the error rate certainly in time transmitting data to AP, includes but not limited to that S5011 to step S5013 realizes as follows:
In step S5011, terminal A obtains the data transmission frequency sending data to AP.
Wherein, terminal A according to oneself number to the packet of AP transmission within the unit interval, can obtain the data transmission frequency sending data to AP.Such as, if terminal A have sent 500 packets to AP in 10 seconds, then the data transmission frequency that terminal A sends data to AP is 50/second.
In step S5012, terminal A obtains the data receiver frequency of AP receiving terminal data.
Illustratively, by the number carrying out the packet of self terminal A received in the AP statistical unit time, can determine that the data of receiving terminal A data connect frequency.Such as, if AP received 400 packets of self terminal A in 10 seconds, then AP can determine that the data receiver frequency of receiving terminal A data is 40/second.
On this basis, terminal A is when obtaining the data receiver frequency of AP receiving terminal A data, the request of data receiver frequency acquisition can be sent to AP, the mark of this data receiver frequency carried terminal, as the MAC (MediaAccessControl of terminal A, media interviews control) address or IMEI (InternationalMobileEquipmentIdentity, mobile device international identity code); After AP receives this data receiver frequency acquisition request, obtain the data receiver frequency of terminal A according to terminal iidentification, and according to terminal iidentification to terminal A return data receive frequency.
In step S5013, terminal A, according to data transmission frequency and data receiver frequency, determines the error rate of terminal A when in transmission data.
Wherein, terminal A can determine the ratio between data receiver frequency and data transmission frequency, using the difference between the ratio between data receiver frequency and data transmission frequency and 1 as the error rate.Such as, if data transmission frequency is 50/second, data receiver frequency is 40/second, then terminal A can determine that its error rate is 1-40/50=0.2.
As shown in Figure 6, it illustrates a kind of software hierarchy configuration diagram, this software hierarchy framework obtains based on the implementation environment schematic diagram shown in Fig. 1.As shown in Figure 6, the common application module in terminal is used for the common application module proper communication with network side, and multiple Special controlling module controls for coordinating the Intelligent Dynamic of the Special controlling module in AP and other Implement of Function Module network.Wherein, terminal A, when detecting the error rate certainly in time transmitting data to AP, can be realized by the Special controlling module in terminal A.
In step S502, the error rate is sent to AP by terminal A.
Wherein, the error rate, when the error rate is sent to AP, can be carried in the communication message between AP and sends by terminal A.
It should be noted that, foregoing is only determined to be illustrated from the error rate in time transmitting data to AP and the process that the error rate is sent to AP with terminal A.But determine that in order to make AP priority when transmitting data to which terminal in network to AP adjusts, each terminal being connected to AP all needs to perform above-mentioned steps S501 and step S502.Composition graphs 5, terminal B also should perform above-mentioned steps S501 and step S502.
In step S503, after AP receives the corresponding error rate that each terminal of having connected sends, according to the error rate of each terminal, determine that the terminal that the error rate is not less than predetermined threshold value is terminal A.
When the error rate of any terminal is not less than predetermined threshold value, can determine that the current signal of this terminal is poor, when improving this terminal and sending the priority of data to AP, can guarantee that the terminal of signal difference also can get the service of the certain speed that AP provides.Therefore, the disclosure embodiment adjustment error rate is not less than the priority of terminal when transmitting data to AP of predetermined threshold value.Now, AP needs to determine that the error rate of which terminal is not less than predetermined threshold value.In the disclosed embodiments, the terminal being not less than predetermined threshold value for the error rate is described for terminal A.
About the concrete numerical value of predetermined threshold value, disclosure embodiment does not do concrete restriction, when specifically implementing, can set as required.Such as, predetermined threshold value can be 0.4,0.5 etc.
In step S504, AP sends priority adjustment instruction to terminal A, and wherein, priority adjustment instruction is used to indicate terminal A and Random Waiting Time is adjusted to appointment duration, to improve the priority of this terminal A when transmitting data to AP.
Implementation environment shown in composition graphs 1, the communication protocol between terminal and AP, as defined the scope of Random Waiting Time in 802.11.In the disclosed embodiments, the scope definition of Random Waiting Time communication protocol limited is reference Random Waiting Time scope.The terminal shorter due to Random Waiting Time has higher priority when transmitting data to AP, and therefore, the appointment duration in disclosure embodiment is with reference to the smaller value in Random Waiting Time scope.Such as, when being 0.5 second to 1 second with reference to Random Waiting Time scope, specify duration can be 0.6 second etc.
In step S505, terminal A adjusts instruction according to priority, Random Waiting Time is adjusted to appointment duration.
Wherein, terminal A adjusts instruction according to priority, when Random Waiting Time being adjusted to appointment duration, includes but not limited to be realized by the following two kinds mode:
First kind of way: specify duration to be determined by AP, and priority adjusts in instruction the appointment duration carrying AP and determine.Now, Random Waiting Time, according to the appointment duration carried in priority adjustment instruction, is adjusted to appointment duration by terminal A.
Under this kind of mode, carry the fixed time in priority adjustment instruction, AP, when sending priority adjustment instruction to terminal A, needs the appointment duration first determining that terminal A is corresponding.Determine the mode of the appointment duration that terminal A is corresponding about AP, can have a variety of.Such as, AP first can select a target Random Waiting Time scope from reference to Random Waiting Time scope, and is worth as appointment duration corresponding to terminal A from Stochastic choice one within the scope of this target Random Waiting Time.
Wherein, the initial time of target Random Waiting Time scope is the initial time with reference to Random Waiting Time scope, and target Random Waiting Time scope accounts for the designated ratio with reference to Random Waiting Time scope.About the concrete numerical value of designated ratio, disclosure embodiment does not do concrete restriction.Such as, this designated ratio can be 1/2nd, three/first-class.Such as, when designated ratio is 1/2nd, and when being 0.5 second to 1 second with reference to Random Waiting Time scope, target Random Waiting Time scope is 0.5 second to 0.75 second.
In another embodiment, when the terminal quantity that the error rate that AP determines in step S503 is not less than predetermined threshold value has multiple, the terminal being not less than predetermined threshold value in order to avoid these error rates clashes when AP transmits data, and each terminal that AP should be not less than predetermined threshold value for the error rate determines different appointment durations.
Illustratively, when the quantity that the error rate is not less than the terminal of predetermined threshold value is multiple, AP according to the current handled type of service of each terminal, can determine the appointment duration that each terminal is corresponding.
As, for being the appointment duration that terminal that requirement of real-time is higher is determined when the type of service of pre-treatment, be less than for when the type of service of pre-treatment being the appointment duration that terminal that requirement of real-time is not high is determined.Such as, if terminal A and terminal C is the terminal that the error rate is not less than predetermined threshold value, terminal A is current carries out video traffic, terminal C is current carries out speech business, because the real-time of video traffic is higher than the real-time of speech business, therefore, the appointment duration determined for terminal A can be less than the appointment duration for terminal C determines.
After the second way: terminal A receives priority adjustment instruction, from the reference Random Waiting Time scope preset, determine one according to priority adjustment instruction and specify duration; Then, Random Waiting Time is adjusted to the appointment duration determined by terminal A.
Wherein, terminal A is that the appointment duration oneself determined can for the arbitrary value in target Random Waiting Time scope.Be illustrated about in the superincumbent content of content of target Random Waiting Time scope, repeat no more herein.
The definition of based target Random Waiting Time can obtain, target Random Waiting Time scope is with reference to the less scope of a numerical value in Random Waiting Time scope, by the Random Waiting Time of terminal A being adjusted to the appointment duration in target Random Waiting Time scope, can guarantee that Random Waiting Time that terminal A obtains is meet one of communications protocol between AP and terminal comparatively fractional value, thus realize on the basis meeting communication protocol, improve priority when terminal A transmits data to AP.
In step S506, if terminal A is from detecting that transfer resource is in busy state, waits for DIFS and after specifying duration, detect that transfer resource is in idle condition, then transmit data to AP.
Wherein, DIFS is fixing duration, and each terminal, when detecting that transfer resource is in busy state, after all needing first to wait for DIFS, then waits for Random Waiting Time.In disclosure embodiment, the error rate being not less than to each terminal of predetermined threshold value, when detecting that transfer resource is in busy state, all needing first to wait for DIFS, then wait for corresponding appointment duration; The error rate being less than to each terminal of predetermined threshold value, when detecting that transfer resource is in busy state, all needing first to wait for DIFS, then wait for reference to a Random Waiting Time within the scope of Random Waiting Time.
In addition, if terminal A is from detecting that transfer resource is in busy state, waits for DIFS and after specifying duration, detect that transfer resource is still in busy state, then this terminal A needs to continue to wait for DIFS and after specifying duration sum, again detect transfer resource and whether be in idle condition.And so forth, until when terminal A detects that transfer resource is in idle condition, transmit data by this transfer resource to AP.
In another embodiment, terminal A, when sense terminals is to self the error rate, can also continue the signal strength signal intensity of sense terminals A self.On this basis, when the error rate is sent to AP, signal strength signal intensity can also be sent to AP.After the error rate that AP receiving terminal A sends and signal strength signal intensity, determine whether to improve the priority of terminal A when transmitting data to AP according to the error rate of terminal A and signal strength signal intensity.Detect the mode of the signal strength signal intensity of self about terminal A, disclosure embodiment does not do concrete restriction.
Illustratively, AP is when determining whether to improve the priority of terminal A when transmitting data to AP according to the error rate of terminal and signal strength signal intensity, when determining that the error rate of terminal A is not less than predetermined threshold value, and signal strength signal intensity not higher than appointment numerical value time, determine to need to improve the priority of this terminal A when transmitting data to AP.Now, AP sends priority adjustment instruction to terminal A.About the concrete numerical value of specifying numerical value, can set as required, disclosure embodiment does not do concrete restriction to this.
The method that disclosure embodiment provides, during by determining that as AP terminal is not less than predetermined threshold value to error rate during AP transmission data, Random Waiting Time is adjusted to appointment duration by control terminal, to improve the priority of terminal when transmitting data to AP.The terminal being not less than predetermined threshold value due to the error rate is the more weak terminal of signal, therefore, by improve its to AP transmit data time priority, can guarantee that the more weak terminal of signal preferentially can transmit data to AP, thus guarantee that the weak terminal of signal can obtain the service of the certain speed that AP provides.
Fig. 7 is the block diagram of a kind of terminal according to an exemplary embodiment.With reference to Fig. 7, this terminal comprises first detection module 701, first sending module 702, receiver module 703, adjusting module 704 and the second sending module 705, wherein:
This first detection module 701 is configured to when the transfer resource detecting that AP provides is in busy state, and sense terminals is from the error rate in time transmitting data to AP;
This first sending module 702 is configured to the error rate to be sent to AP;
This receiver module 703 is configured to the priority adjustment instruction receiving AP transmission, wherein, priority adjustment instruction is used for when AP determines that the error rate is not less than predetermined threshold value, and Random Waiting Time is adjusted to appointment duration by indicating terminal, to improve the priority of terminal when transmitting data to AP;
This adjusting module 704 is configured to, according to priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
This second sending module 705 is configured to when from detecting that transfer resource is in busy state, waits for DIFS and after specifying duration, when detecting that transfer resource is in idle condition, transmits data to AP.
The terminal that disclosure embodiment provides, by detecting and the error rate being sent to AP, make when AP determines that terminal is not less than predetermined threshold value to error rate during AP transmission data, Random Waiting Time is adjusted to appointment duration by control terminal, to improve the priority of terminal when transmitting data to AP.The terminal being not less than predetermined threshold value due to the error rate is the more weak terminal of signal, therefore, by improve its to AP transmit data time priority, can guarantee that the more weak terminal of signal preferentially can transmit data to AP, thus guarantee that the weak terminal of signal can obtain the service of the certain speed that AP provides.
In another embodiment, see Fig. 8, terminal also comprises the second detection module 706 and the 3rd sending module 707, wherein:
This second detection module 706 is configured to the signal strength signal intensity of sense terminals self;
3rd sending module 707 is configured to signal strength signal intensity to be sent to AP, makes AP determine whether to improve the priority of terminal when transmitting data to AP according to the error rate and signal strength signal intensity.
In another embodiment, see Fig. 9, first detection module 701 comprises the first acquiring unit 7011, second acquisition unit 7012 and determining unit 7013, wherein:
This first acquiring unit 7011 is configured to obtain the data transmission frequency sending data to AP;
This second acquisition unit 7012 is configured to the data receiver frequency obtaining AP receiving terminal data;
This determining unit 7013 is configured to according to data transmission frequency and data receiver frequency, determines the error rate of terminal when in transmission data.
In another embodiment, adjusting module 704 is configured to, according to the appointment duration carried in priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
Or, according to priority adjustment instruction and default reference Random Waiting Time scope, determine to specify duration, wherein, appointment duration is the arbitrary value in target Random Waiting Time scope, the initial time of target Random Waiting Time scope is the initial time with reference to Random Waiting Time scope, and target Random Waiting Time scope accounts for the designated ratio with reference to Random Waiting Time scope; Random Waiting Time is adjusted to appointment duration.
About the terminal described in embodiment corresponding to above-mentioned Fig. 7 to Fig. 9, may be used for performing the function performed by terminal in the data transmission method that in embodiment corresponding to above-mentioned Fig. 3 to Fig. 5, any embodiment provides, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Figure 10 is the block diagram of a kind of terminal 1000 according to an exemplary embodiment, and described terminal may be used for performing the function in the data transmission method that in embodiment corresponding to above-mentioned Fig. 3 to Fig. 5, any embodiment provides performed by terminal.Such as, terminal 1000 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 10, terminal 1000 can comprise following one or more assembly: processing components 1002, memory 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, I/O (Input/Output, I/O) interface 1012, sensor cluster 1014, and communications component 1016.
The integrated operation of the usual control terminal 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assembly is mutual.Such as, processing components 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.
Memory 1004 is configured to store various types of data to be supported in the operation of terminal 1000.The example of these data comprises for any application program of operation in terminal 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as SRAM (StaticRandomAccessMemory, static RAM), EEPROM (Electrically-ErasableProgrammableRead-OnlyMemory, Electrically Erasable Read Only Memory), EPROM (ErasableProgrammableReadOnlyMemory, Erasable Programmable Read Only Memory EPROM), PROM (ProgrammableRead-OnlyMemory, programmable read only memory), ROM (Read-OnlyMemory, read-only memory), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 1006 is terminal 1000 provide electric power.Power supply module 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for terminal 1000 and be associated.
Multimedia groupware 1008 is included in the screen providing an output interface between described terminal 1000 and user.In certain embodiments, screen can comprise LCD (LiquidCrystalDisplay, liquid crystal display) and TP (TouchPanel, touch panel).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 1008 comprises a front-facing camera and/or post-positioned pick-up head.When terminal 1000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a MIC (Microphone, microphone), and when terminal 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loud speaker, for output audio signal.
I/O interface 1012 is for providing interface between processing components 1002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1014 comprises one or more transducer, for providing the state estimation of various aspects for terminal 1000.Such as, sensor cluster 1014 can detect the opening/closing state of terminal 1000, the relative positioning of assembly, such as assembly is display and the keypad of terminal 1000, the position of all right sense terminals 1000 of sensor cluster 1014 or terminal 1000 assemblies changes, the presence or absence that user contacts with terminal 1000, the variations in temperature of terminal 1000 orientation or acceleration/deceleration and terminal 1000.Sensor cluster 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1014 can also comprise optical sensor, as CMOS (ComplementaryMetalOxideSemiconductor, CMOS (Complementary Metal Oxide Semiconductor)) or CCD (Charge-coupledDevice, charge coupled cell) imageing sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between terminal 1000 and other equipment.Terminal 1000 can access the wireless network based on communication references, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1016 also comprises NFC (NearFieldCommunication, near-field communication) module, to promote junction service.Such as, can based on RFID (RadioFrequencyIdentification in NFC module, radio-frequency (RF) identification) technology, IrDA (Infra-redDataAssociation, Infrared Data Association) technology, UWB (UltraWideband, ultra broadband) technology, BT (Bluetooth, bluetooth) technology and other technology realize.
In the exemplary embodiment, terminal 1000 can by one or more ASIC (ApplicationSpecificIntegratedCircuit, application specific integrated circuit), DSP (DigitalsignalProcessor, digital signal processor), DSPD (DigitalsignalProcessorDevice, digital signal processing appts), PLD (ProgrammableLogicDevice, programmable logic device), FPGA (FieldProgrammableGateArray, field programmable gate array), controller, microcontroller, microprocessor or other electron component realize, for performing above-mentioned data transmission method.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1004 of instruction, above-mentioned instruction can perform said method by the processor 1020 of terminal 1000.Such as, described non-transitory computer-readable recording medium can be ROM, RAM (RandomAccessMemory, random access memory), CD-ROM (CompactDiscRead-OnlyMemory, compact disc read-only memory), tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of terminal, make mobile terminal can perform a kind of data transmission method, described method comprises:
When the transfer resource detecting that AP provides is in busy state, sense terminals is from the error rate in time transmitting data to AP;
The error rate is sent to AP;
Receive the priority adjustment instruction that AP sends, wherein, priority adjustment instruction is used for when AP determines that the error rate is not less than predetermined threshold value, and Random Waiting Time is adjusted to appointment duration by indicating terminal, to improve the priority of terminal when transmitting data to AP;
According to priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
If from detecting that transfer resource is in busy state, wait for DIFS and after specifying duration, detect that transfer resource is in idle condition, then transmit data to AP.
Suppose that above-mentioned is the first possible execution mode, in the execution mode that the second then provided based on the execution mode that the first is possible is possible, in the memory of terminal, also comprise the instruction for performing following operation: the signal strength signal intensity of sense terminals self;
Signal strength signal intensity being sent to AP, making AP determine whether to improve the priority of terminal when transmitting data to AP according to the error rate and signal strength signal intensity.
In the third the possible execution mode provided based on the execution mode that the first is possible, in the memory of terminal, also comprise the instruction for performing following operation: sense terminals, from the error rate in time transmitting data to AP, comprising:
Obtain the data transmission frequency sending data to AP;
Obtain the data receiver frequency of AP receiving terminal data;
According to data transmission frequency and data receiver frequency, determine the error rate of terminal when in transmission data.
In the third the possible execution mode provided based on the execution mode that the first is possible, in the memory of terminal, also comprise the instruction for performing following operation: according to priority adjustment instruction, Random Waiting Time is adjusted to appointment duration, comprises:
According to the appointment duration carried in priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
Or, according to priority adjustment instruction and default reference Random Waiting Time scope, determine to specify duration, wherein, appointment duration is the arbitrary value in target Random Waiting Time scope, the initial time of target Random Waiting Time scope is the initial time with reference to Random Waiting Time scope, and target Random Waiting Time scope accounts for the designated ratio with reference to Random Waiting Time scope; Random Waiting Time is adjusted to appointment duration.
The non-transitory computer-readable recording medium that disclosure embodiment provides, by detecting and the error rate being sent to AP, make when AP determines that terminal is not less than predetermined threshold value to error rate during AP transmission data, Random Waiting Time is adjusted to appointment duration by control terminal, to improve the priority of terminal when transmitting data to AP.The terminal being not less than predetermined threshold value due to the error rate is the more weak terminal of signal, therefore, by improve its to AP transmit data time priority, can guarantee that the more weak terminal of signal preferentially can transmit data to AP, thus guarantee that the weak terminal of signal can obtain the service of the certain speed that AP provides.
Figure 11 is the block diagram of a kind of AP according to an exemplary embodiment.The first receiver module 1101, determination module 1102 and sending module 1103 is comprised with reference to Figure 11, this AP, wherein:
This first receiver module 1101 is configured to the corresponding error rate receiving each terminal transmission connected;
This determination module 1102 is configured to the error rate according to each terminal, determines that the error rate is not less than the terminal of predetermined threshold value;
This sending module 1103 is configured to send priority adjustment instruction to terminal, makes terminal, according to priority adjustment instruction, the Random Waiting Time of terminal is adjusted to appointment duration, to improve the priority of terminal when transmitting data.
The AP that disclosure embodiment provides, when determining that terminal is not less than predetermined threshold value to error rate during AP transmission data, Random Waiting Time is adjusted to appointment duration by control terminal, to improve the priority of terminal when transmitting data to AP.The terminal being not less than predetermined threshold value due to the error rate is the more weak terminal of signal, therefore, by improve its to AP transmit data time priority, can guarantee that the more weak terminal of signal preferentially can transmit data to AP, thus guarantee that the weak terminal of signal can obtain the service of the certain speed that AP provides.
In another embodiment, also comprise the second receiver module 1104 see Figure 12, AP, wherein:
This second receiver module 1104 is configured to the respective signal intensity receiving the transmission of each terminal;
This determination module 1102 is configured to the error rate according to each terminal and signal strength signal intensity, determine the error rate be not less than predetermined threshold value and signal strength signal intensity not higher than the terminal of specifying numerical value.
In another embodiment, see Figure 13, carry the fixed time in priority adjustment instruction, sending module 1103 comprises determining unit 11031 and transmitting element 11032, wherein:
This determining unit 11031 is configured to when the quantity of terminal is multiple, according to the current handled type of service of each terminal, determines the appointment duration that each terminal is corresponding;
This transmitting element 11032 is configured to be carried on by appointment duration corresponding for each terminal in priority adjustment instruction and is sent to each terminal.
About the AP in embodiment corresponding to above-mentioned Figure 11 to Figure 13, may be used for performing the function performed by AP in the data transmission method that in embodiment corresponding to above-mentioned Fig. 3 to Fig. 5, any embodiment provides, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Figure 14 is the block diagram of a kind of AP1400 according to an exemplary embodiment.Comprise processing components 1422 with reference to Figure 14, AP1400, it comprises one or more processor further, and the memory resource representated by memory 1432, can such as, by the instruction of the execution of processing components 1422, application program for storing.The application program stored in memory 1432 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1422 is configured to perform instruction, to perform above-mentioned data transmission method.
AP1400 can also comprise the power management that a power supply module 1426 is configured to perform AP1400, and a wired or wireless network interface 1450 is configured to AP1400 to be connected to network, and input and output (I/O) interface 1458.AP1400 can operate the operating system based on being stored in memory 1432, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Wherein, the one or more instruction stored in memory 1432, make AP can perform a kind of data transmission method, described method comprises:
Receive the corresponding error rate of each terminal transmission connected;
According to the error rate of each terminal, determine that the error rate is not less than the terminal of predetermined threshold value;
Sending priority adjustment instruction to terminal, making terminal, according to priority adjustment instruction, the Random Waiting Time of terminal is adjusted to appointment duration, to improve the priority of terminal when transmitting data.
Suppose that above-mentioned is the first possible execution mode, then, in the execution mode that the second provided based on the execution mode that the first is possible is possible, in the memory of AP, also comprise the instruction for performing following operation: method also comprises:
Receive the respective signal intensity that each terminal sends;
According to the error rate of each terminal, determine that the error rate is not less than the terminal of predetermined threshold value, comprising:
According to the error rate and the signal strength signal intensity of each terminal, determine the error rate be not less than predetermined threshold value and signal strength signal intensity not higher than specifying the terminal of numerical value.
In the third the possible execution mode provided based on the execution mode that the first is possible, in the memory of AP, also comprising the instruction for performing following operation: in priority adjustment instruction, carry the fixed time, sending priority adjustment instruction to terminal, comprising:
When the quantity of terminal is multiple, according to the current handled type of service of each terminal, determine the appointment duration that each terminal is corresponding;
Appointment duration corresponding for each terminal is carried in priority adjustment instruction and is sent to each terminal.
The AP that disclosure embodiment provides, when determining that terminal is not less than predetermined threshold value to error rate during AP transmission data, Random Waiting Time is adjusted to appointment duration by control terminal, to improve the priority of terminal when transmitting data to AP.The terminal being not less than predetermined threshold value due to the error rate is the more weak terminal of signal, therefore, by improve its to AP transmit data time priority, can guarantee that the more weak terminal of signal preferentially can transmit data to AP, thus guarantee that the weak terminal of signal can obtain the service of the certain speed that AP provides.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.
Claims (16)
1. a data transmission method, is characterized in that, described method comprises:
When the transfer resource detecting that wireless access points AP provides is in busy state, sense terminals is from the error rate in time transmitting data to described AP;
The described error rate is sent to described AP;
Receive the priority adjustment instruction that described AP sends, described priority adjustment instruction is used for when described AP determines that the described error rate is not less than predetermined threshold value, indicate described terminal that Random Waiting Time is adjusted to appointment duration, to improve the priority of described terminal when transmitting data to described AP;
According to described priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
If from detecting that described transfer resource is in busy state, to wait between distributed frame clearance D IFS and after specifying duration, detect that described transfer resource is in idle condition, then transmit data to described AP.
2. method according to claim 1, is characterized in that, described method also comprises:
The signal strength signal intensity of sense terminals self;
Described signal strength signal intensity being sent to described AP, making described AP determine whether to improve the priority of described terminal when transmitting data to described AP according to the described error rate and described signal strength signal intensity.
3. method according to claim 1, is characterized in that, described sense terminals, from the error rate in time transmitting data to described AP, comprising:
Obtain the data transmission frequency sending data to described AP;
Obtain the data receiver frequency that described AP receives described terminal data;
According to described data transmission frequency and described data receiver frequency, determine the error rate of described terminal when in transmission data.
4. method according to claim 1, is characterized in that, described according to described priority adjustment instruction, Random Waiting Time is adjusted to appointment duration, comprises:
According to the appointment duration carried in described priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
Or, according to described priority adjustment instruction and default reference Random Waiting Time scope, determine to specify duration, described appointment duration is the arbitrary value in target Random Waiting Time scope, the initial time of described target Random Waiting Time scope is the described initial time with reference to Random Waiting Time scope, and described target Random Waiting Time scope accounts for the described designated ratio with reference to Random Waiting Time scope; Random Waiting Time is adjusted to appointment duration.
5. a data transmission method, is characterized in that, described method comprises:
Receive the corresponding error rate of each terminal transmission connected;
According to the error rate of each terminal described, determine that the error rate is not less than the terminal of predetermined threshold value;
Sending priority adjustment instruction to described terminal, making described terminal the Random Waiting Time of described terminal is adjusted to appointment duration, to improve the priority of described terminal when transmitting data according to described priority adjustment instruction.
6. method according to claim 5, is characterized in that, described method also comprises:
Receive the respective signal intensity that each terminal described sends;
The error rate of each terminal described in described basis, determine that the error rate is not less than the terminal of predetermined threshold value, comprising:
According to the error rate and the signal strength signal intensity of each terminal described, determine the error rate be not less than predetermined threshold value and signal strength signal intensity not higher than specifying the terminal of numerical value.
7. method according to claim 5, is characterized in that, carries the fixed time in described priority adjustment instruction, described to described terminal transmission priority adjustment instruction, comprising:
When the quantity of described terminal is multiple, according to the current handled type of service of each terminal, determine the appointment duration that each terminal is corresponding;
Appointment duration corresponding for described each terminal is carried in described priority adjustment instruction and is sent to described each terminal.
8. a terminal, is characterized in that, described terminal comprises:
First detection module, during for being in busy state when the transfer resource detecting that wireless access points AP provides, sense terminals is from the error rate in time transmitting data to described AP;
First sending module, for being sent to described AP by the described error rate;
Receiver module, for receiving the priority adjustment instruction that described AP sends, described priority adjustment instruction is used for when described AP determines that the described error rate is not less than predetermined threshold value, indicate described terminal that Random Waiting Time is adjusted to appointment duration, to improve the priority of described terminal when transmitting data to described AP;
Adjusting module, for according to described priority adjustment instruction, is adjusted to appointment duration by Random Waiting Time;
Second sending module, for when from detecting that described transfer resource is in busy state, to wait between distributed frame clearance D IFS and after specifying duration, when detecting that described transfer resource is in idle condition, transmits data to described AP.
9. terminal according to claim 8, is characterized in that, described terminal also comprises:
Second detection module, for the signal strength signal intensity of sense terminals self;
3rd sending module, for described signal strength signal intensity is sent to described AP, makes described AP determine whether to improve the priority of described terminal when transmitting data to described AP according to the described error rate and described signal strength signal intensity.
10. terminal according to claim 8, is characterized in that, described first detection module comprises:
First acquiring unit, for obtaining the data transmission frequency sending data to described AP;
Second acquisition unit, receives the data receiver frequency of described terminal data for obtaining described AP;
Determining unit, for according to described data transmission frequency and described data receiver frequency, determines the error rate of described terminal when in transmission data.
11. terminals according to claim 8, is characterized in that, described adjusting module, for according to the appointment duration carried in described priority adjustment instruction, Random Waiting Time are adjusted to appointment duration;
Or, according to described priority adjustment instruction and default reference Random Waiting Time scope, determine to specify duration, described appointment duration is the arbitrary value in target Random Waiting Time scope, the initial time of described target Random Waiting Time scope is the described initial time with reference to Random Waiting Time scope, and described target Random Waiting Time scope accounts for the described designated ratio with reference to Random Waiting Time scope; Random Waiting Time is adjusted to appointment duration.
12. 1 kinds of wireless access points, is characterized in that, described wireless access points comprises:
First receiver module, for receiving the corresponding error rate of each terminal transmission connected;
Determination module, for the error rate according to each terminal described, determines that the error rate is not less than the terminal of predetermined threshold value;
Sending module, for sending priority adjustment instruction to described terminal, makes described terminal the Random Waiting Time of described terminal is adjusted to appointment duration, to improve the priority of described terminal when transmitting data according to described priority adjustment instruction.
13. wireless access points according to claim 12, is characterized in that, described wireless access points also comprises:
Second receiver module, for receiving the respective signal intensity that each terminal described sends;
Described determination module, for according to the error rate of each terminal described and signal strength signal intensity, determine the error rate be not less than predetermined threshold value and signal strength signal intensity not higher than the terminal of specifying numerical value.
14. wireless access points according to claim 12, is characterized in that, carry the fixed time in described priority adjustment instruction, described sending module comprises:
Determining unit, for when the quantity of described terminal is multiple, according to the current handled type of service of each terminal, determines the appointment duration that each terminal is corresponding;
Transmitting element, is sent to described each terminal for being carried on by appointment duration corresponding for described each terminal in described priority adjustment instruction.
15. 1 kinds of terminals, is characterized in that, described terminal comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When the transfer resource detecting that wireless access points AP provides is in busy state, sense terminals is from the error rate in time transmitting data to described AP;
The described error rate is sent to described AP;
Receive the priority adjustment instruction that described AP sends, described priority adjustment instruction is used for when described AP determines that the described error rate is not less than predetermined threshold value, indicate described terminal that Random Waiting Time is adjusted to appointment duration, to improve the priority of described terminal when transmitting data to described AP;
According to described priority adjustment instruction, Random Waiting Time is adjusted to appointment duration;
If from detecting that described transfer resource is in busy state, to wait between distributed frame clearance D IFS and after specifying duration, detect that described transfer resource is in idle condition, then transmit data to described AP.
16. 1 kinds of wireless access points, is characterized in that, described wireless access points comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the corresponding error rate of each terminal transmission connected;
According to the error rate of each terminal described, determine that the error rate is not less than the terminal of predetermined threshold value;
Sending priority adjustment instruction to described terminal, making described terminal the Random Waiting Time of described terminal is adjusted to appointment duration, to improve the priority of described terminal when transmitting data according to described priority adjustment instruction.
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 true CN105163391A (en) | 2015-12-16 |
CN105163391B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107333297A (en) * | 2017-07-07 | 2017-11-07 | 上海斐讯数据通信技术有限公司 | Data transmission time method of adjustment and device, radio reception device |
CN108141788A (en) * | 2016-02-22 | 2018-06-08 | 三菱电机株式会社 | Communication device, communication means and signal procedure |
CN109803284A (en) * | 2017-11-16 | 2019-05-24 | 展讯通信(上海)有限公司 | A kind of wireless communications method and communication equipment |
CN112000605A (en) * | 2020-08-26 | 2020-11-27 | 北京控制与电子技术研究所 | Method and device for transmitting instructions and data |
CN112611083A (en) * | 2020-11-20 | 2021-04-06 | 青岛海尔空调电子有限公司 | Multi-split internal and external machine communication method and multi-split machine |
Citations (4)
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 |
-
2015
- 2015-09-11 CN CN201510578846.8A patent/CN105163391B/en active Active
Patent Citations (4)
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)
Title |
---|
BECHIR BENGOUISSEM等: ""Data centric cimmunication using the wireless control area networks"", 《IEEE》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108141788A (en) * | 2016-02-22 | 2018-06-08 | 三菱电机株式会社 | Communication device, communication means and signal procedure |
CN108141788B (en) * | 2016-02-22 | 2019-11-05 | 三菱电机株式会社 | The recording medium that communication device, communication means and computer capacity are read |
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 |
CN112000605A (en) * | 2020-08-26 | 2020-11-27 | 北京控制与电子技术研究所 | Method and device for transmitting instructions and data |
CN112611083A (en) * | 2020-11-20 | 2021-04-06 | 青岛海尔空调电子有限公司 | Multi-split internal and external machine communication method and multi-split machine |
WO2021233475A1 (en) * | 2020-11-20 | 2021-11-25 | 青岛海尔空调电子有限公司 | Communication method for indoor and outdoor units of multi-split air conditioner, and multi-split air conditioner |
CN112611083B (en) * | 2020-11-20 | 2022-07-12 | 青岛海尔空调电子有限公司 | Multi-split internal and external machine communication method and multi-split machine |
Also Published As
Publication number | Publication date |
---|---|
CN105163391B (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10237901B2 (en) | Method and apparatus for connecting with controlled smart device, and storage medium | |
CN107018496B (en) | Paging method and device | |
CN109451798A (en) | The instruction of hybrid automatic repeat-request feedback, feedback method and device and base station | |
CN105472778A (en) | Method and device for establishing wireless connection | |
CN105099526B (en) | Polling data packet transmission method and device | |
CN106231640B (en) | Wireless access point switching method and device | |
CN104980820A (en) | Multimedia file playing method and multimedia file playing device | |
CN107439023A (en) | Acquisition request and the method and device for sending system information | |
CN104301308B (en) | Call control method and device | |
US11503642B2 (en) | Method and device for determining an uplink-downlink switching point | |
CN105246135A (en) | Wireless network accessing method and device, and mobile terminal | |
CN105163391A (en) | Data transmission method, terminal and wireless access point | |
WO2021046674A1 (en) | Data processing method and apparatus, and electronic device and computer readable storage medium | |
CN104168605A (en) | Data transmission control method and apparatus | |
CN104093216A (en) | Method and device for wireless data transmission | |
CN106604230B (en) | The method and device of region configuration | |
US11864205B2 (en) | Scheduling method, base station, terminal and storage medium | |
JP2021532676A (en) | Transmission block processing methods and equipment, electronic devices, and computer-readable storage media | |
CN109565717A (en) | The configuration method and device of portions of bandwidth | |
US11394515B2 (en) | Information transmission method, device, and system, and storage medium | |
US20210307104A1 (en) | Method and apparatus for controlling intelligent voice control device and storage medium | |
EP3836433A1 (en) | Monitoring method and apparatus, device, and storage medium | |
EP3905773A1 (en) | Carrier configuration method and device | |
CN108702255A (en) | Control the method and device of mixed automatic retransfer feedback | |
CN110637502B (en) | Data processing method and device, electronic equipment and computer readable 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 |