CN108260161A - A kind of file transmitting method and device - Google Patents

A kind of file transmitting method and device Download PDF

Info

Publication number
CN108260161A
CN108260161A CN201710722880.7A CN201710722880A CN108260161A CN 108260161 A CN108260161 A CN 108260161A CN 201710722880 A CN201710722880 A CN 201710722880A CN 108260161 A CN108260161 A CN 108260161A
Authority
CN
China
Prior art keywords
rice
wine
quality
transmission rate
eating dishes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710722880.7A
Other languages
Chinese (zh)
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710722880.7A priority Critical patent/CN108260161A/en
Publication of CN108260161A publication Critical patent/CN108260161A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0205Traffic management, e.g. flow control or congestion control at the air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of file transmitting method and device, this method include:Determine the quality of eating dishes without rice or wine of AP;The AP is controlled to carry out message transmission with the corresponding message transmitting spped rate of the quality of eating dishes without rice or wine of the AP.The reasonability and efficiency of message transmitting spped rate selection can be improved using the present invention, while the message transmission probability of success is improved, avoids the waste of interface-free resources.

Description

A kind of file transmitting method and device
Technical field
The present invention relates to network communication technology field more particularly to a kind of file transmitting methods and device.
Background technology
In current AC (Access Controller, access controller)+FIT (thin) AP (Access Point, access Point) network environment in, FIT AP are begun attempt to when sending message or using flank speed, if send failure, reduction of speed It retransmits;Started using minimum speed limit, if sending successfully, raising speed, if retransmiting success, then raising speed, if failure, drops Speed retransmits.
However practice is found, in above-mentioned message transmitting party case, if starting to send message using flank speed, can be existed big The re-transmission message of amount;If using lowest speed, the time for sending each message is long, wastes interface-free resources significantly, and In boosting velocity procedure or there can be a large amount of re-transmission messages.
Invention content
The present invention provides a kind of file transmitting method and device, while the message transmission probability of success is improved, to avoid The waste of interface-free resources.
It is according to embodiments of the present invention in a first aspect, provide a kind of file transmitting method, including:
Determine the quality of eating dishes without rice or wine of AP;
The AP is controlled to carry out message transmission with the corresponding transmission rate of the quality of eating dishes without rice or wine of the AP.
Second aspect according to embodiments of the present invention provides a kind of packet transmission device, including:
Determination unit, for determining the quality of eating dishes without rice or wine of AP;
Control unit, for the AP to be controlled to carry out message transmission with the corresponding transmission rate of the quality of eating dishes without rice or wine of the AP.
The third aspect according to embodiments of the present invention provides a kind of packet transmission device, including:Processor and machine readable Storage medium, the machine readable storage medium is stored with the machine-executable instruction that can be performed by the processor, described Processor is promoted by the machine-executable instruction:
Determine the quality of eating dishes without rice or wine of AP;
The AP is controlled to carry out message transmission with the corresponding transmission rate of the quality of eating dishes without rice or wine of the AP.
Using the embodiment of the present invention, by determining the quality of eating dishes without rice or wine of AP, and AP is controlled with the corresponding report of quality of eating dishes without rice or wine of AP Literary transmission rate carries out message transmission, improves the reasonability and efficiency of message transmitting spped rate selection, improve message send into While work(probability, the waste of interface-free resources is avoided.
Description of the drawings
Fig. 1 is a kind of flow diagram of file transmitting method provided in an embodiment of the present invention;
Fig. 2 is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of the correspondence of a kind of eat dishes without rice or wine quality and message transmitting spped rate provided in an embodiment of the present invention;
Fig. 4 is a kind of hardware architecture diagram of packet transmission device provided in an embodiment of the present invention;
Fig. 5 is the functional structure chart that a kind of message provided in an embodiment of the present invention sends control logic.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the technical solution in the embodiment of the present invention, and make of the invention real Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention Case is described in further detail.
Fig. 1 is referred to, is a kind of flow diagram of file transmitting method provided in an embodiment of the present invention, wherein, the report Literary sending method can be applied to the AC in the network environment of the AC+Fit AP or AP in FAT (fat) AP network environments, alternatively, It can also be applied to the AP or AC of other network environments, the present embodiment is simultaneously not limited.It should be understood that the present embodiment In illustrated with a kind of networking model therein, but should not be with this as limitation.As shown in Figure 1, the message transmitting party Method may comprise steps of:
For ease of description, below using the executive agent of step 101~102 as the networking of AC+Fit AP (hereinafter referred to as AP) It is illustrated for AC in environment.
Step 101, the quality of eating dishes without rice or wine for determining AP.
In the embodiment of the present invention, in order to improve the reasonability of message transmitting spped rate selection, when AC is needed through AP to STA When (website) sends message, AC can first determine the quality of eating dishes without rice or wine of AP, and so as to the quality of eating dishes without rice or wine according to AP, determine that AP is sent out to STA Deliver newspaper text message transmitting spped rate.
In the present invention in one embodiment, the quality of eating dishes without rice or wine of above-mentioned determining AP can include:
Receive the mass parameter of eating dishes without rice or wine in the predetermined period that AP is reported;
Mass parameter of eating dishes without rice or wine according to receiving determines that the first quality and second of eating dishes without rice or wine is eated dishes without rice or wine quality respectively, wherein, institute The first quality of eating dishes without rice or wine is stated to eat dishes without rice or wine more than second quality.
In this embodiment, AP periodically can report mass parameter of eating dishes without rice or wine to AC, wherein, which can To include but not limited to one or more of following parameter:
Utilization rate (Util), conflict (Conf), packet loss (Per) and interference (Intf).
Wherein, the ratio for the message for needing itself processing that utilization rate is detected for AP in predetermined period;Conflict for AP What is detected in predetermined period does not need to the ratio of the message of itself processing;Packet loss is sent out for AP in predetermined period to STA Deliver newspaper text packet loss;Interfere the shadow for non-WLAN (Wireless Local Area Network, WLAN) signal It rings, the determining associated description that may refer in existing related realization of concrete numerical value.
It in this embodiment, can be according to the matter of eating dishes without rice or wine received after AC receives the mass parameter of eating dishes without rice or wine that AP is reported Amount parameter determines eat dishes without rice or wine quality of the AP in predetermined period.
For example, AC can determine eat dishes without rice or wine quality Qs of the AP in predetermined period by the following formula:
Q=100%- (Util+Conf/2)-Per/N-2*Intf;
Wherein, N be the client (client, i.e. STA) that the client actual influences that detect lose mark rate in networking etc. Valence mumber amount.In general, increasing with the quantity of the client in networking, packet loss are not linearly to increase, but are increased After to a certain extent, tend to gentle.For example, when client quantity is between 20-30, then can be considered as practical to packet loss The quantity for the client having an impact is 5, and the client for generating packet loss can be equivalent to 5, i.e. equivalent number N at this time =5;When client be more than 30, equivalent number N=8;When client is between 10-20, equivalent number N=4;When client is less than 10, equivalent number N=2.Specifically, the mapping relations between client and N, can carry out true according to practical test result It is fixed, and then be pre-configured in AC.It can not also be discussed by theoretical calculation, specific computational methods the present embodiment.
Above-mentioned formula is only to determine a kind of embodiment for quality of eating dishes without rice or wine, certainly, in the mass parameter difference of eating dishes without rice or wine of consideration When, the formula for the quality that determines to eat dishes without rice or wine can then generate variation accordingly, will not enumerate in the present embodiment.
In this embodiment, in order to improve the reference value for quality of eating dishes without rice or wine, AC can (can root in preset quantity according to AP Quality of eating dishes without rice or wine in factually border scene settings, such as 3,5) predetermined period determines the quality of eating dishes without rice or wine of AP, and according to the matter of eating dishes without rice or wine Amount determines that AP sends the transmission rate of message.
For example, can by AP the quality of eating dishes without rice or wine of the predetermined period of the preset quantity arithmetic number average value or weighted average Value is determined as the quality of eating dishes without rice or wine of AP;Alternatively, AP can be determined in the small value of the quality of eating dishes without rice or wine of the predetermined period of the preset quantity Quality of eating dishes without rice or wine for AP etc..
Correspondingly, in the present invention in one embodiment, quality that above-mentioned basis received eat dishes without rice or wine determines the respectively One quality and second of eating dishes without rice or wine is eated dishes without rice or wine quality, can be included:
Determine that first eats dishes without rice or wine quality according to the average value of the quality of eating dishes without rice or wine of predetermined period, according to the quality of eating dishes without rice or wine of predetermined period Minimum value determine that second eats dishes without rice or wine quality.
As an example it is assumed that nearest 3 periods that AC is determined according to the mass parameter of eating dishes without rice or wine in nearest 3 periods that AP is reported Quality of eating dishes without rice or wine be respectively Q1, Q2 and Q3, then the first quality of eating dishes without rice or wine that AC is determined can be (Q1+Q2+Q3)/3;Second eats dishes without rice or wine matter Amount can be MIN (Q1, Q2, Q3), and MIN is the function being minimized.
Step 102, control AP carry out message transmission with the corresponding transmission rate of the quality of eating dishes without rice or wine of AP.
In the embodiment of the present invention, after AC determines the quality of eating dishes without rice or wine of AP, can be determined according to the quality of eating dishes without rice or wine of AP AP into The transmission rate that row message is sent, and the transmission rate is sent to AP, so that AP carries out message transmission according to the transmission rate.
As it can be seen that in method flow shown in Fig. 1, since according to the characteristics of WLAN, radio frequency is in eat dishes without rice or wine to use one section Between within, maintain certain trend, and within subsequent certain time, still can maximum probability keep this trend, thus, adopt Determine that the first quality of eating dishes without rice or wine can preferably predict the quality of eating dishes without rice or wine of follow-up a period of time with average value.According to matter of eating dishes without rice or wine Amount determines that transmission rate can avoid the waste of interface-free resources while the message transmission probability of success is improved.
Further, in the present invention in one embodiment, above-mentioned control AP is with the corresponding transmission of quality of eating dishes without rice or wine of AP Rate carries out message transmission, including:
Control AP eats dishes without rice or wine the progress message transmission of quality corresponding first transmission rate using first;
When AP using the first transmission rate send message failure when, control AP using second eat dishes without rice or wine quality it is corresponding second send out Transmission rate carries out reduction of speed transmission to message.
In this embodiment, it eats dishes without rice or wine when AC defines first respectively according to the mass parameter of eating dishes without rice or wine that the AP received is reported Quality and second is eated dishes without rice or wine after quality, and AC first can determine corresponding transmission rate (referred to herein as according to the first quality of eating dishes without rice or wine First transmission rate), for example, AC can be according to mapping relations (the wherein mapping pass of preset eat dishes without rice or wine quality and transmission rate System can be by counting or determining based on experience value), determine transmission rate corresponding with quality of eating dishes without rice or wine.
After AC determines the first transmission rate, AP can be controlled to carry out message transmission with the first transmission rate, if message Transmission failure a, for example, message at least occur sends failure, alternatively, the probability of message transmission failure reaches in preset duration To predetermined threshold value, AC then determines that the first transmission rate is excessively high, at this point, AC can eat dishes without rice or wine according to the second of AP, quality determines another Less than the transmission rate (i.e. the second transmission rate) of the first transmission rate, and AP is controlled to carry out message hair with the second transmission rate It send.
Wherein, in embodiments of the present invention, the mapping relations of quality of eating dishes without rice or wine and transmission rate can be quality section of eating dishes without rice or wine With the mapping relations of transmission rate, a quality section of eating dishes without rice or wine corresponds to a transmission rate, when the lower limit that one eats dishes without rice or wine quality section More than or equal to another quality section of eating dishes without rice or wine the upper limit when, the corresponding transmission speed in quality section of eating dishes without rice or wine is more than another matter of eating dishes without rice or wine Measure the corresponding transmission rate in section;And the same difference eated dishes without rice or wine in quality section is eated dishes without rice or wine, the corresponding transmission rate of quality is identical.
Correspondingly, in order to avoid the first quality of eating dishes without rice or wine eats dishes without rice or wine with second that (i.e. first sends speed to the corresponding transmission rate of quality Rate and the second transmission rate) it is identical, when second eat dishes without rice or wine quality with first eat dishes without rice or wine quality belong to it is same eat dishes without rice or wine quality section when, need It will eat dishes without rice or wine that quality section is adjacent with this and the corresponding transmission rate in the smaller quality section of eating dishes without rice or wine of numerical value is determined as the second transmission speed Rate, to ensure that the second transmission rate is less than the first transmission rate.
What deserves to be explained is in embodiments of the present invention, due to AP to different types of STA send message when, optionally Transmission rate is also not exactly the same, and therefore, AC, can also be according to the type of STA when determining that AP sends the transmission rate of message It determines, i.e. AC can determine that AP sends the transmission rate of message to different types of STA respectively.
Correspondingly, the mapping relations of above-mentioned eat dishes without rice or wine quality and transmission rate can respectively include STA pairs of variant type The mapping relations of eat dishes without rice or wine quality and transmission rate answered;As AC it needs to be determined that AP sends report to certain STA (being properly termed as target STA) During the transmission rate of text, it is corresponding can target STA types to be inquired according to the type of target STA and the quality of eating dishes without rice or wine of AP The mapping relations of quality of eating dishes without rice or wine and transmission rate send the transmission rate of message to determine AP to target STA.
For example, it is assumed that the type of STA includes Class1, type 2 and type 3, then it can preset and preserve quality of eating dishes without rice or wine With mapping relations 1 (abbreviation mapping relations 1, corresponding with STA Class1), the mapping relations 2 (being corresponded to STA types 2) of transmission rate And mapping relations 3 (corresponding with STA types 3);As AC it needs to be determined that AP sends the transmission rate of message to the STA of STA types 2 When, AC can send speed according to the quality inquiry mapping relations 2 of eating dishes without rice or wine of identified AP to determine that the quality of eating dishes without rice or wine is corresponding Rate, and AP is controlled to send message to the STA of STA types 2 with the transmission rate.
Further, in another embodiment, above-mentioned control AP sends speed so that the quality of eating dishes without rice or wine of AP is corresponding Rate carries out message transmission, including:
Control AP eats dishes without rice or wine the progress message transmission of quality corresponding first transmission rate using first;
When AP is successfully transmitted the quantity of message with the first transmission rate reaches predetermined threshold value, the first transmission rate is promoted, And AP is controlled to carry out message transmission with the transmission rate after being promoted;
If AP sends message failure with the transmission rate after being promoted, when transmission rate is reduced to last send successfully Transmission rate, and control AP with the transmission rate carry out message transmission.
In this embodiment, when AP with the first transmission rate be successfully transmitted message quantity reach predetermined threshold value (can root Factually border scene settings) when, AC can promote the first transmission rate of AP, and AP is controlled to be reported with the transmission rate after being promoted Text is sent;If AP is successfully transmitted the quantity of message with the transmission rate after being promoted when reaching above-mentioned predetermined threshold value, AC can be after It is continuous to carry out speed-raising processing;If AP sends message failure with the transmission rate after being promoted, transmission rate can be reduced to by AC Transmission rate when once sending successfully, and AP is controlled to carry out message transmission with the transmission rate.
Further, in the present invention in one embodiment, above-mentioned control AP is with the corresponding transmission of quality of eating dishes without rice or wine of AP After rate carries out message transmission, it can also include:
Timing updates the quality of eating dishes without rice or wine of AP;
According to the updated quality update transmission rates of eating dishes without rice or wine of AP, and AP is controlled to carry out message with updated transmission rate It sends.
In this embodiment, it is contemplated that the quality of eating dishes without rice or wine of AP not is changeless, and correspondingly, AP is most appropriate for reporting The message transmitting spped rate that text is sent is also can be changed, and therefore, AC determines transmission rate, and control according to the quality of eating dishes without rice or wine of AP After AP processed sends message with transmission rate, AC can also periodically update the quality of eating dishes without rice or wine of AP, and according to the updated skies of AP Mouth quality update transmission rate, and AP is controlled to carry out message transmission with updated transmission rate.
What deserves to be explained is in this embodiment, after the quality of eating dishes without rice or wine of AC updates AP, in addition to can be sent according to first Except rate, the second transmission rate can also be updated, and when AP sends message failure with updated first transmission rate, control AP processed carries out message transmission with updated second transmission rate.
In order to which those skilled in the art is made to more fully understand technical solution provided in an embodiment of the present invention, with reference to specific Application scenarios illustrate technical solution provided in an embodiment of the present invention.
As shown in Fig. 2, for a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention, as shown in Fig. 2, In the application scenarios, AP1 (AP2) reports quality report of eating dishes without rice or wine using 2s as the period to AC, which includes AP1 (AP2) mass parameter of eating dishes without rice or wine in nearest 2s;AC determines AP1 according to the AP1 (AP2) received the mass parameters of eating dishes without rice or wine reported (AP2) quality of eating dishes without rice or wine, and determine that AP1 (AP2) sends the message transmitting spped rate of message according to the quality of eating dishes without rice or wine of AP1 (AP2), It is following (by taking the realization of AP1 as an example, i.e., by above-mentioned AP for for AP1) to implement flow:
1st, AP1 reports quality report of eating dishes without rice or wine every 2s to AC, which includes skies of the AP1 in nearest 2s Mouth mass parameter;Wherein, the mass parameter of eating dishes without rice or wine is including the use of rate (Util), conflict (Conf), packet loss (Per) and interference (Intf);
2nd, AC determines eat dishes without rice or wine quality of the AP1 in signal period according to the mass parameter of eating dishes without rice or wine of AP1 using the following formula:
Q=100%- (Util+Conf/2)-Per/N-2*Intf;
3rd, AC according to (assuming that respectively T1, T2, T3) in AP1 nearest 3 periods quality of eating dishes without rice or wine (assuming that respectively Q1, Q2, Q3) determine that the first of the AP1 quality Q a and second that eats dishes without rice or wine eats dishes without rice or wine quality Q b respectively:Wherein:
Qa=(Q1+Q2+Q3)/3
Qb=MIN (Q1, Q2, Q3)
Wherein, MIN (Q1, Q2, Q3) is the minimum value taken in Q1, Q2 and Q3;
4th, AC eats dishes without rice or wine quality (i.e. Qa) and the type of target STA according to the first of AP1, the type pair of inquiry target STA The mapping relations of eat dishes without rice or wine quality and transmission rate answered are eated dishes without rice or wine corresponding first transmission rate of quality with determine AP1 first, and AP1 is controlled to carry out message transmission with the first transmission rate;
Wherein, in this embodiment, the type of STA can include but is not limited to Leagcy types (i.e. traditional mode), 11n Type, 11ac types;Wherein, 20M and 40M can be divided into again for the STA of 11n types;
In this embodiment, by taking the type of target STA is 11ac types as an example, corresponding quality and the transmission rate of eating dishes without rice or wine Mapping relations can be as shown in Figure 3;Wherein (quality of eating dishes without rice or wine shown in figure is percentages, i.e., 20 are for 20%, 20-25 20%-25%):
The available message transmitting spped rate that AP sends message to the STA of 11ac types includes:6Mbps、9Mbps、12Mbps、 18Mbps、24Mbps、36Mbps、48Mbps、54Mbps.According to practical experience, by AP to the transmission message of the STA of 11ac types Available message transmitting spped rate distinguish 5 parts, respectively [6] [9,12,18] [24] [36] [48,54], correspond to respectively different Quality of eating dishes without rice or wine section, for example, when quality of eating dishes without rice or wine is in 60-70,36 be best message transmitting spped rate;When eating dishes without rice or wine, quality is During 50-60,48 be best message transmitting spped rate.
It should be noted that in embodiments of the present invention, AC is also needed in the message transmitting spped rate for selecting AP with reference to AP Signal strength (can be according to RSSI (Receive Signal Strength Indicator, received signal strength indicator device) Determine), for example, when AP determines to send message with the rate of 48Mbps, need to ensure that signal strength is not less than 15;When AP is determined When sending message with the rate of 54Mbps, need to ensure that signal strength is not less than 17.
Correspondingly, when AC determines corresponding transmission rate according to the quality of eating dishes without rice or wine of AP, it is also necessary to determine current AP's Whether signal strength meets the Minimum requirements of transmission rate;If not satisfied, then reduction of speed is needed to handle.
For example, when the first of AP1 eat dishes without rice or wine quality for 85% when, AC is that the first transmission rate that AP1 is determined is 54Mbps, if The signal strength of AP1 is 16 at this time, i.e., less than 17 namely AP1 can not send message with the rate of 54Mbps to target STA, this When, AC needs to carry out reduction of speed processing, and the first transmission rate of AP1 is determined as 48Mbps, and determine AP1 signal strength whether It meets the requirements, since 16 more than 15, the first transmission rate for the AP1 that AC is finally determined is 48Mbps.
In addition, in embodiments of the present invention, first eats dishes without rice or wine, and (or second eat dishes without rice or wine quality pair corresponding first transmission rate of quality The second transmission rate answered) two values (maximum value and a minimum value) can be included, for example, to eat dishes without rice or wine shown in Fig. 3 For the mapping relations of quality and transmission rate, when first eat dishes without rice or wine quality be in 25-30 when, corresponding first transmission rate is most Big value is 12, minimum value 9;When first eat dishes without rice or wine quality be in 30-50 when, the maximum value of corresponding first transmission rate is 18, Minimum value is 9.Correspondingly, when AC includes maximum value and minimum according to the first of AP1 the first transmission rate that quality determines of eating dishes without rice or wine During value, AC can first control AP1 to carry out message transmission with the maximum value, if message sends failure, then control AP1 with the minimum value Carry out message transmission;If still failing, the second transmission rate is further determined according to the second quality of eating dishes without rice or wine, and control AP1 with Second transmission rate carries out message transmission;Wherein, if the second transmission rate is there is also maximum value and minimum value, AC is first controlled AP1 carries out message transmission with the maximum value of the second transmission rate;If failure, then AP1 is controlled with the minimum value of the second transmission rate Carry out message transmission.
If the 5, AP1 with the first transmission rate send message failure, AC can be eated dishes without rice or wine according to the second of AP1 quality (Qb) with And the type of target STA, the mapping relations of type corresponding eat dishes without rice or wine quality and the transmission rate of inquiry target STA, to determine AP1 Second eat dishes without rice or wine corresponding second transmission rate of quality, and AP1 is controlled to carry out message transmission with the second transmission rate;
It should be noted that in embodiments of the present invention, when AP1 sends message with the second transmission rate still to fail, AC can continue reduction of speed processing, and specific implementation does not repeat herein.
6th, AC can be with every 2 seconds the first skies according to 3 parts of AP1 transmissions the be most recently received quality report update AP1 that eat dishes without rice or wine Mouthful quality and second is eated dishes without rice or wine quality, and then updates the first transmission rate and the second transmission rate of AP;
7th, when AP1 continuously successfully transmits N (N is the positive integer more than or equal to 2) a message using the first transmission rate, AC1 can carry out raising speed processing, if after raising speed, AP1 sends message success, then can be continuous with the transmission rate after raising speed in AP1 When successfully transmitting N number of message, raising speed is carried out again;If after raising speed, AP1 sends message failure, then can be by the transmission rate of AP1 Control transmission rate when being sent successfully for the last time.
By above description as can be seen that in technical solution provided in an embodiment of the present invention, by determining eating dishes without rice or wine for AP Quality, and AP is controlled to carry out message transmission with the corresponding transmission rate of the quality of eating dishes without rice or wine of AP, improve message transmitting spped rate selection Reasonability and efficiency, improve message send the probability of success while, avoid the waste of interface-free resources.
Method provided by the invention is described above.Device provided by the invention is described below:
Fig. 4 is a kind of hardware architecture diagram of packet transmission device provided in an embodiment of the present invention.The message sends dress Put the machine readable storage medium 402 that may include processor 401, be stored with machine-executable instruction.Processor 401 can with machine Reading storage medium 402 can communicate via system bus 403.Also, by read and perform in machine readable storage medium 402 with Message sends the corresponding machine-executable instruction of control logic, and processor 401 can perform above-described file transmitting method.
Machine readable storage medium 402 referred to herein can be any electronics, magnetism, optics or other physical stores Device can include or store information, such as executable instruction, data, etc..For example, machine readable storage medium can be: RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage are driven Dynamic device (such as hard disk drive), solid state disk, any kind of storage dish (such as CD, dvd) or similar storage are situated between Matter or combination thereof.
As shown in figure 5, functionally dividing, above-mentioned message sends control logic and can include determining that unit 501 and control Unit 502.Wherein:
Determination unit 501, for determining the quality of eating dishes without rice or wine of AP;
Control unit 502, for the AP to be controlled to carry out message hair with the corresponding transmission rate of the quality of eating dishes without rice or wine of the AP It send.
Preferably, message shown in fig. 5 sends control logic and can also include:
Receiving unit 503, for receiving the mass parameter of eating dishes without rice or wine for the predetermined period that AP is reported;
The determination unit 501, the mass parameter that is additionally operable to eat dishes without rice or wine according to determine that first eats dishes without rice or wine quality and the respectively Two eat dishes without rice or wine quality, wherein, the described first quality of eating dishes without rice or wine is eated dishes without rice or wine quality more than second.
Preferably, described control unit 502, for control the AP using first eat dishes without rice or wine quality it is corresponding first send speed Rate carries out message transmission, when the AP sends message failure using the first transmission rate, the AP is controlled to eat dishes without rice or wine using second Corresponding second transmission rate of quality carries out reduction of speed transmission to message.
Preferably, described control unit 502, for control the AP using first eat dishes without rice or wine quality it is corresponding first send speed Rate carries out message transmission;When the AP reaches predetermined threshold value with the quantity that first transmission rate is successfully transmitted message, carry First transmission rate is risen, and the AP is controlled to carry out message transmission with the transmission rate after being promoted;If the AP is to be promoted Transmission rate afterwards sends message failure, then transmission rate is reduced to transmission rate during last send successfully, and control The AP carries out message transmission with the transmission rate.
Preferably, the determination unit 501 is determined specifically for the average value of the quality of eating dishes without rice or wine according to the predetermined period First eats dishes without rice or wine quality, determines that second eats dishes without rice or wine quality according to the minimum value of the quality of eating dishes without rice or wine of the predetermined period.
Preferably, message shown in fig. 5 sends control logic and can also include:
Updating unit 504, for periodically updating the quality of eating dishes without rice or wine of the AP;
The determination unit 501 is additionally operable to update the transmission rate according to the updated quality of eating dishes without rice or wine of the AP;
Described control unit 502 is additionally operable to that the AP is controlled to carry out message transmission with updated transmission rate.
Preferably, the mass parameter of eating dishes without rice or wine includes one below or multiple:
Utilization rate, conflict, packet loss and interference.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of protection of the invention.

Claims (15)

1. a kind of file transmitting method, which is characterized in that including:
Determine the quality of eating dishes without rice or wine of AP;
The AP is controlled to carry out message transmission with the corresponding transmission rate of the quality of eating dishes without rice or wine of the AP.
2. according to the method described in claim 1, it is characterized in that, the quality of eating dishes without rice or wine of the determining AP includes:
Receive the mass parameter of eating dishes without rice or wine of predetermined period that AP is reported;
Determine that the first quality and second of eating dishes without rice or wine is eated dishes without rice or wine quality respectively according to the mass parameter of eating dishes without rice or wine, wherein, described first is empty Mouthful quality is eated dishes without rice or wine quality more than second.
3. according to the method described in claim 2, it is characterized in that, the AP is controlled with the corresponding hair of quality of eating dishes without rice or wine of the AP Transmission rate carries out message transmission, including:
The AP is controlled to carry out message transmission using the first corresponding first transmission rate of quality of eating dishes without rice or wine,
When the AP sends message failure using the first transmission rate, the AP is controlled to eat dishes without rice or wine quality corresponding the using second Two transmission rates carry out reduction of speed transmission to message.
4. according to the method described in claim 2, it is characterized in that, the AP is controlled with the corresponding hair of quality of eating dishes without rice or wine of the AP Transmission rate carries out message transmission, including:
The AP is controlled to carry out message transmission using the first corresponding first transmission rate of quality of eating dishes without rice or wine;
When the AP reaches predetermined threshold value with the quantity that first transmission rate is successfully transmitted message, first hair is promoted Transmission rate, and the AP is controlled to carry out message transmission with the transmission rate after being promoted;
If the AP sends message failure with the transmission rate after being promoted, when transmission rate is reduced to last send successfully Transmission rate, and control the AP with the transmission rate carry out message transmission.
5. according to the method described in claim 2, it is characterized in that, mass parameter of eating dishes without rice or wine described in the basis determines respectively One eats dishes without rice or wine quality and the second quality of eating dishes without rice or wine includes:
Determine that first eats dishes without rice or wine quality according to the average value of the quality of eating dishes without rice or wine of the predetermined period, according to eating dishes without rice or wine for the predetermined period The minimum value of quality determines that second eats dishes without rice or wine quality.
6. according to the method described in claim 1, it is characterized in that, the control AP is corresponded to the quality of eating dishes without rice or wine of the AP Transmission rate carry out message transmission after, further include:
Timing updates the quality of eating dishes without rice or wine of the AP;
The transmission rate is updated, and control the AP with updated transmission rate according to the updated quality of eating dishes without rice or wine of the AP Carry out message transmission.
7. according to claim 1-6 any one of them methods, which is characterized in that the mass parameter of eating dishes without rice or wine includes one below It is or multiple:
Utilization rate, conflict, packet loss and interference.
8. a kind of packet transmission device, which is characterized in that including:
Determination unit, for determining the quality of eating dishes without rice or wine of AP;
Control unit, for the AP to be controlled to carry out message transmission with the corresponding transmission rate of the quality of eating dishes without rice or wine of the AP.
9. device according to claim 8, which is characterized in that described device further includes:
Receiving unit, for receiving the mass parameter of eating dishes without rice or wine for the predetermined period that AP is reported;
The determination unit, the mass parameter that is additionally operable to eat dishes without rice or wine according to determine that the first quality and second of eating dishes without rice or wine is eated dishes without rice or wine matter respectively Amount, wherein, the described first quality of eating dishes without rice or wine is eated dishes without rice or wine quality more than second.
10. device according to claim 9, which is characterized in that
Described control unit, for the AP to be controlled to carry out message hair using the first corresponding first transmission rate of quality of eating dishes without rice or wine It send, when the AP sends message failure using the first transmission rate, the AP is controlled to eat dishes without rice or wine quality corresponding the using second Two transmission rates carry out reduction of speed transmission to message.
11. device according to claim 9, which is characterized in that
Described control unit, for the AP to be controlled to carry out message hair using the first corresponding first transmission rate of quality of eating dishes without rice or wine It send;When the AP reaches predetermined threshold value with the quantity that first transmission rate is successfully transmitted message, first hair is promoted Transmission rate, and the AP is controlled to carry out message transmission with the transmission rate after being promoted;If the AP is with the transmission rate after being promoted Message failure is sent, then transmission rate is reduced to transmission rate during last send successfully, and control the AP with the hair Transmission rate carries out message transmission.
12. device according to claim 9, which is characterized in that the determination unit, specifically for according to the default week The average value of the quality of eating dishes without rice or wine of phase determines that first eats dishes without rice or wine quality, and is determined according to the minimum value of the quality of eating dishes without rice or wine of the predetermined period Two eat dishes without rice or wine quality.
13. device according to claim 8, which is characterized in that described device further includes:
Updating unit, for periodically updating the quality of eating dishes without rice or wine of the AP;
The determination unit is additionally operable to update the transmission rate according to the updated quality of eating dishes without rice or wine of the AP;
Described control unit is additionally operable to that the AP is controlled to carry out message transmission with updated transmission rate.
14. according to the device described in claim 8-13, which is characterized in that the mass parameter of eating dishes without rice or wine includes one below or more It is a:
Utilization rate, conflict, packet loss and interference.
15. a kind of packet transmission device, which is characterized in that described machine readable including processor and machine readable storage medium Storage medium is stored with the machine-executable instruction that can be performed by the processor, and the processor can perform by the machine Instruction promotes:
Determine the quality of eating dishes without rice or wine of AP;
The AP is controlled to carry out message transmission with the corresponding transmission rate of the quality of eating dishes without rice or wine of the AP.
CN201710722880.7A 2017-08-22 2017-08-22 A kind of file transmitting method and device Pending CN108260161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710722880.7A CN108260161A (en) 2017-08-22 2017-08-22 A kind of file transmitting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710722880.7A CN108260161A (en) 2017-08-22 2017-08-22 A kind of file transmitting method and device

Publications (1)

Publication Number Publication Date
CN108260161A true CN108260161A (en) 2018-07-06

Family

ID=62720824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710722880.7A Pending CN108260161A (en) 2017-08-22 2017-08-22 A kind of file transmitting method and device

Country Status (1)

Country Link
CN (1) CN108260161A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050942A1 (en) * 2003-11-19 2005-06-02 Nec Corporation Radio communication system, method for controlling transmission of reception acknowledgement signal, and radio station used therein
CN101651967A (en) * 2009-09-21 2010-02-17 杭州华三通信技术有限公司 Method and equipment for adjusting flow speed in wireless local area network
CN102523608A (en) * 2011-12-26 2012-06-27 福建星网锐捷网络有限公司 Message sending method and device
CN105392157A (en) * 2014-09-09 2016-03-09 中国移动通信集团公司 Congestion window adjustment method, related device, and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050942A1 (en) * 2003-11-19 2005-06-02 Nec Corporation Radio communication system, method for controlling transmission of reception acknowledgement signal, and radio station used therein
CN101651967A (en) * 2009-09-21 2010-02-17 杭州华三通信技术有限公司 Method and equipment for adjusting flow speed in wireless local area network
CN102523608A (en) * 2011-12-26 2012-06-27 福建星网锐捷网络有限公司 Message sending method and device
CN105392157A (en) * 2014-09-09 2016-03-09 中国移动通信集团公司 Congestion window adjustment method, related device, and system

Similar Documents

Publication Publication Date Title
TWI596913B (en) Devices, systems and methods for scheduling communication between wireless devices to reduce interference associated with full duplex communication in multi-cell networks
CN106060948A (en) Method and device for sending uplink information, method and device for sending downlink information, method and device for receiving downlink information and method and device for system scheduling
CN110536458A (en) Repetitive transmission method, device, the network equipment and computer readable storage medium
CN102197671A (en) Adaptive semi-static interference avoidance in cellular networks
CN108476503A (en) Channel-aware resource allocation
CN108633007A (en) The method, apparatus and system of transmission control information
CN110167062A (en) Channel status information reports method of sending and receiving and device
CN102090083A (en) Recovery schemes for group switching procedures for multi-group frequency division duplex wireless networks
CN113507328B (en) Time slot MAC protocol method, system, device and medium for underwater acoustic network
Liu et al. Coexistence of 802.11 ah and 802.15. 4g networks
Hauweele et al. Pushing 6TiSCH minimal scheduling function (MSF) to the limits
WO2019214695A1 (en) Method for transmitting and receiving control information, apparatus for transmitting and receiving control information, and communication system
CN108260161A (en) A kind of file transmitting method and device
CN108696335B (en) Transmission method, sending end and receiving end
CN104661240B (en) Send method and the base station of system information
CN109348515A (en) The adjusting method and device of transmission in wireless network rate
IL294745A (en) Method for processing discontinuous reception parameter, storage medium, and processor
Jeong et al. A²-Trickle: Adaptive & Aligned Trickle for Rapid and Reliable Dissemination in Low-Power Wireless Networks
CN111769900B (en) Method and device for scheduling channel state information reference signal
Fawwaz et al. Adaptive Trickle Timer for Efficient 6TiSCH Network Formation using Q-Learning
CN105337637B (en) node and communication system
JP2019525641A (en) Method, apparatus and system for transmitting control information
CN102547868B (en) Method for dispatching message, device and the network equipment
Zhang et al. Using reinforcement learning in slotted aloha for ad-hoc networks
CN107113118A (en) Response message transmission method and the network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180706