WO2021081889A1 - Method for determining frame error ratio and related device - Google Patents

Method for determining frame error ratio and related device Download PDF

Info

Publication number
WO2021081889A1
WO2021081889A1 PCT/CN2019/114695 CN2019114695W WO2021081889A1 WO 2021081889 A1 WO2021081889 A1 WO 2021081889A1 CN 2019114695 W CN2019114695 W CN 2019114695W WO 2021081889 A1 WO2021081889 A1 WO 2021081889A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
difference
value
sending end
quality parameter
Prior art date
Application number
PCT/CN2019/114695
Other languages
French (fr)
Chinese (zh)
Inventor
高林
李文俊
郭湛
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201980101599.9A priority Critical patent/CN114586300A/en
Priority to PCT/CN2019/114695 priority patent/WO2021081889A1/en
Publication of WO2021081889A1 publication Critical patent/WO2021081889A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the embodiments of the present application relate to the field of communications, and in particular, to a method for determining a frame error rate and related devices.
  • WLAN Wireless local area networks
  • the sender Compared with a stable and reliable wired environment, the time-varying characteristics of wireless channels require that various transceiver parameters be automatically adjusted to adapt to the channel environment, thereby ensuring quality of service (QoS).
  • the sender generally automatically adjusts in accordance with the IEEE 802.11 protocol, a wireless network standard of the Institute of Electrical and Electronics Engineers (IEEE). For example, in the rate adaptation algorithm (autorate), the sending end sends detection frames to the receiving end by using different modulation and coding schemes (MCS). After receiving the detection frame, the receiving end sends the information of the receiving end to the sending end for the sending end to adjust various sending parameters.
  • MCS modulation and coding schemes
  • the sender when the sender performs frame error ratio (FER) statistics based on the information of the receiver, the sender does not analyze the cause of the frame loss, and the statistically obtained frame error rate cannot accurately reflect the link status. .
  • FER frame error ratio
  • the sender when most of the frames sent from the sender to the receiver are lost due to interference, reducing the link rate cannot solve the problem of frame loss due to interference, but the frame error rate counted by the sender is still high at this time. Optimized measures to reduce the link rate have been taken.
  • the embodiment of the present application provides a method and related device for determining the frame error rate.
  • the sending end can assign the corresponding weight to the channel measurement frame according to different frame loss reasons, and the statistically obtained frame error rate can accurately reflect the link status, and make the error
  • the frame rate statistics are more accurate.
  • the first aspect of the embodiments of the present application provides a method for determining a frame error rate, which is applied to a wireless local area network, and includes: a sending end sends N channel measurement frames to a receiving end, and the channel measurement frames are used to instruct the receiving end to send N channel measurement frames to the receiving end.
  • the sending end sends the channel quality parameter statistical value corresponding to the channel measurement frame, where N is a positive integer; the sending end receives the channel quality parameter statistical value; the sending end according to the channel quality parameter statistical value
  • the weight corresponding to the channel measurement frame is determined; the sending end determines the frame error rate between the sending end and the receiving end according to the weight and the N.
  • the sending end sends N channel measurement frames to the receiving end, and the receiving end determines the channel quality parameter statistical value corresponding to each channel measurement frame according to the reception of the channel measurement frame, and feeds it back to the sending end, and then sends it
  • the terminal receives the statistical value of the channel quality parameter.
  • the sending end may determine the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter.
  • the sending end determines the frame error rate between the sending end and the receiving end according to the weight and the number of channel measurement frames N.
  • different frame loss causes can obtain different channel quality parameter statistical values.
  • the sending end can determine the weight corresponding to each frame loss cause according to the channel quality parameter statistical value.
  • the sending end can Set a higher weight.
  • the sender can set a lower weight, and then determine the frame error rate according to the weight and the number of channel measurement frames.
  • the frame error rate calculated by the sending end according to the weight can accurately reflect the link status, and the effect is better when the sending end performs optimization and adjustment.
  • the sender associates the second condition and a lower second weight in advance according to the cause of frame loss such as interference. If the channel quality parameter received by the sender satisfies the second condition, it means that the cause of the frame loss of the channel measurement frame is Interference, the sender determines the second weight corresponding to the channel measurement frame.
  • the frame error rate even if there is a large number of frame loss caused by interference, because the second weight is low, the frame error rate can still be low, and the sender will not mistakenly drop the link rate due to the frame loss caused by the interference.
  • the channel quality parameter statistical value includes the maximum value, the minimum value, and the average value of the channel quality parameter;
  • the sending end determining the weight corresponding to the channel measurement frame according to the channel quality parameter statistical value includes: the sending end obtains a first difference value, where the first difference value is the average value minus the minimum value; The sending end obtains a second difference value, where the second difference value is the maximum value minus the average value; the sending end obtains a comprehensive difference value, and the comprehensive difference value is the first difference value and the sum The absolute value of the difference between the second difference; if the comprehensive difference is less than a first preset threshold, the sending end determines the first weight corresponding to the channel measurement frame.
  • the sending end sends N channel measurements to the receiving end.
  • the method further includes: the sending end obtains the first weight, where the first weight is used to indicate that the cause of the frame loss is attenuation; and the sending end obtains the first weight corresponding to the cause of the frame loss as the attenuation.
  • a condition, the first condition includes that the comprehensive difference is less than the first preset threshold; the sending end establishes an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation .
  • the sending After obtaining the integrated difference at the terminal the method further includes: if the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to a second preset threshold, and the channel quality parameter The statistical value is carried in the block confirmation frame BA frame or the multi-user block confirmation frame MBA frame, and the first difference is greater than or equal to the second difference, the sending end determines the second weight corresponding to the channel measurement frame , Wherein the BA frame or the MBA frame is a frame sent by the receiving end to the sending end; if the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or Equal to the second preset threshold, and the channel quality parameter statistical value is carried in the BA frame or the MBA frame, and the first difference is less than the second difference, the sending end determines the channel measurement frame corresponding to
  • the method further includes: the sending end obtains the second weight, where the second weight is used to indicate that the cause of the frame loss is interference;
  • the terminal obtains a second condition corresponding to the cause of the frame loss as interference, where the second condition includes that the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second A preset threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and the first difference is greater than or equal to the second difference; the sending end establishes the second condition, the first difference The correlation between the second weight and the frame loss cause is interference.
  • the method further includes: the sending end obtains the first weight, where the first weight is used to indicate that the cause of the frame loss is attenuation;
  • the terminal obtains the first condition corresponding to the attenuation due to the frame loss, the first condition includes that the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second preset Threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and the first difference is smaller than the second difference;
  • the sending end establishes the first condition, the first weight, and the The reason for the frame loss is the correlation relationship of attenuation.
  • the method further includes: if the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second preset threshold, and The channel quality parameter statistical value is carried in the ACK frame of the confirmation frame, and the first difference is greater than or equal to the second difference, then the sending end determines the second weight corresponding to the channel measurement frame, wherein the An ACK frame is a frame sent by the receiving end to the sending end after hardware retransmission; if the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset And the channel quality parameter statistical value is carried in the ACK frame, and the first difference is smaller than the second difference, the sending end determines the first weight corresponding to the channel measurement frame.
  • the method further includes: the sending end obtains the second weight, where the second weight is used to indicate that the cause of the frame loss is interference;
  • the terminal obtains a second condition corresponding to interference that the cause of the frame loss is interference, where the second condition includes that the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to a second preset Threshold, and the channel quality parameter statistical value is carried in the ACK frame, and the first difference is greater than or equal to the second difference;
  • the sending end establishes the second condition, the second weight, and the The cause of frame loss is the correlation of interference.
  • the method further includes: the sending end obtains the first weight, where the first weight is used to indicate that the cause of the frame loss is attenuation;
  • the terminal obtains the first condition corresponding to the attenuation due to the frame loss, the first condition includes that the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second preset Threshold, and the channel quality parameter statistical value is carried in the ACK frame, and the first difference is smaller than the second difference; the sending end establishes the first condition, the first weight, and the frame loss The reason is the attenuation relationship.
  • the statistical value of the channel quality parameter is carried in an ACK frame, a BA frame or an MBA frame.
  • the receiving end carries the channel quality parameter statistical value in the ACK frame, the BA frame or the MBA frame by multiplexing the ACK frame, the BA frame or the field in the MBA frame .
  • the receiving end carries the channel quality parameter statistical value in the ACK frame, the BA frame or the MBA frame by inserting additional fields in the ACK frame, the BA frame or the MBA frame in.
  • the sending end determining the frame error rate between the sending end and the receiving end according to the weight and the N specifically includes: the sending end obtains the frame error condition of the channel measurement frame, and The error frame condition includes an error frame with a count value of 1 and a correct frame with a count value of 0; the sending end determines the target count value of the error frame through the count value of the error frame and the weight; The terminal determines the frame error rate according to the target count value of the error frame and the N.
  • the method further includes: if the frame error rate is greater than a third threshold, Then the transmitting end adjusts the transmitting parameters of the transmitting end according to the preset adjustment algorithm.
  • a second aspect of the embodiments of the present application provides an apparatus for determining a frame error rate, including: a sending unit, configured to send N channel measurement frames to a receiving end, and the channel measurement frames are used to instruct the receiving end to send
  • the terminal sends the channel quality parameter statistical value corresponding to the channel measurement frame, where N is a positive integer; the acquiring unit is configured to receive the channel quality parameter statistical value; and the processing unit is configured to determine according to the channel quality parameter statistical value
  • the weight corresponding to the channel measurement frame; the processing unit is further configured to determine the frame error rate between the sending end and the receiving end according to the weight and the N.
  • the channel quality parameter statistical value includes the maximum value, the minimum value, and the average value of the channel quality parameter;
  • the processing unit is also used to obtain a first difference value, where the first difference value is the average value minus the minimum value; the processing unit is also used to obtain a second difference value, where the second difference value is The maximum value minus the average value;
  • the processing unit is further configured to obtain a comprehensive difference value, the comprehensive difference value being the absolute value of the difference between the first difference value and the second difference value;
  • the processing The unit is further configured to determine the first weight corresponding to the channel measurement frame if the comprehensive difference value is less than a first preset threshold.
  • the processing unit is further configured to obtain The first weight, the first weight is used to indicate that the cause of the frame loss is attenuation; the processing unit is further configured to obtain a first condition corresponding to the cause of the frame loss as the attenuation, and the first condition includes the comprehensive The difference is less than the first preset threshold; the processing unit is further configured to establish an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation.
  • the processing unit is further configured to: if the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in the block confirmation Frame BA frame or multi-user block confirmation frame MBA frame, and the first difference is greater than or equal to the second difference, the second weight corresponding to the channel measurement frame is determined, wherein, the BA frame or the The MBA frame is a frame sent by the receiving end to the sending end; the processing unit is further configured to: if the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second If the threshold is preset, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and the first difference is smaller than the second difference, the first weight corresponding to the channel measurement
  • the processing unit is further configured to obtain the second weight, and the second weight is used to indicate that the cause of the frame loss is interference; the processing unit is further configured to obtain a second condition corresponding to the cause of the frame loss to be interference, The second condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in the BA frame Or in an MBA frame, and the first difference is greater than or equal to the second difference; the processing unit is further configured to establish an association relationship between the second condition, the second weight, and the cause of the frame loss as interference .
  • the processing unit is further configured to obtain the first weight, and the first weight is used to indicate that the cause of the frame loss is attenuation; the processing unit is also configured to obtain the first condition corresponding to the cause of the frame loss as the attenuation,
  • the first condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in a BA frame or MBA In the frame, and the first difference is smaller than the second difference;
  • the processing unit is further configured to establish an association relationship in which the first condition, the first weight, and the cause of the frame loss are attenuation.
  • the processing unit is further configured to: if the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in the confirmation frame In the ACK frame, and the first difference is greater than or equal to the second difference, the second weight corresponding to the channel measurement frame is determined, wherein the ACK frame is retransmitted by the receiving end after hardware retransmission.
  • the frame sent by the sending end; the processing unit is further configured to: if the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to a second preset threshold, and the channel quality
  • the parameter statistical value is carried in the ACK frame, and the first difference is smaller than the second difference, then the first weight corresponding to the channel measurement frame is determined.
  • the processing unit is further configured to obtain the second weight, and the second weight is used to indicate that the cause of the frame loss is interference; the processing unit is further configured to obtain a second condition corresponding to the cause of the frame loss to be interference, The second condition includes that the comprehensive difference value is not less than the first preset threshold value, and the comprehensive difference value is greater than or equal to a second preset threshold value, and the channel quality parameter statistical value is carried in an ACK frame, And the first difference is greater than or equal to the second difference; the processing unit is further configured to establish an association relationship between the second condition, the second weight, and the cause of the frame loss being interference.
  • the processing unit is further configured to obtain the first weight, and the first weight is used to indicate that the cause of the frame loss is attenuation; the processing unit is also configured to obtain the first condition corresponding to the cause of the frame loss as the attenuation, The first condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in an ACK frame, And the first difference is smaller than the second difference; the processing unit is further configured to establish an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation.
  • the statistical value of the channel quality parameter is carried in an ACK frame, a BA frame or an MBA frame.
  • the receiving end carries the channel quality parameter statistical value in the ACK frame, the BA frame or the MBA frame by multiplexing the ACK frame, the BA frame or the fields in the MBA frame.
  • the receiving end carries the channel quality parameter statistical value in the ACK frame, the BA frame or the MBA frame by inserting an extra field in the ACK frame, the BA frame or the MBA frame .
  • any one of the first to the eleventh implementation manners of the second aspect of the embodiments of the present application in the twelfth implementation manner of the second aspect of the embodiments of the present application
  • the processing unit is also used to obtain the error frame condition of the channel measurement frame, and the error frame condition includes an error frame with a count value of 1 and a correct frame with a count value of 0; the processing unit is also used to pass The count value of the errored frame and the weight determine the target count value of the errored frame; the processing unit is further configured to determine the frame error rate according to the target count value of the errored frame and the N.
  • the processing unit is further configured to adjust the transmission parameters of the transmitting end according to a preset adjustment algorithm if the frame error rate is greater than a third threshold.
  • a third aspect of the embodiments of the present application provides an access point, including a processor, and a radio frequency transceiving circuit coupled to the processor; the processor is configured to send N channel measurements to a station through the radio frequency transceiving circuit Frame, the channel measurement frame is used to instruct the station to send the channel quality parameter statistical value corresponding to the channel measurement frame to the access point, and the N is a positive integer; the processor is further used to: The radio frequency transceiver circuit receives the channel quality parameter statistical value fed back by the station; determines the weight corresponding to the channel measurement frame according to the channel quality parameter statistical value; and determines the interface according to the weight and the N The frame error rate between the entry point and the site.
  • the processor is further configured to execute any method of the first aspect described above.
  • the fourth aspect of the embodiments of the present application provides a data processing system, including an access point and a station; the access point is used to send N channel measurement frames to the station, where N is a positive integer; the station is used for Send the channel quality parameter statistical value corresponding to the channel measurement frame to the access point; the access point is also used to receive the channel quality parameter statistical value; the access point is also used to receive the channel quality parameter statistical value according to the channel quality
  • the parameter statistical value determines the weight corresponding to the channel measurement frame; the access point is further configured to determine the frame error rate between the access point and the station according to the weight and the N.
  • the access point is further configured to execute any method of the first aspect described above.
  • a fifth aspect of the embodiments of the present application provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute any method as described in the first aspect.
  • the sixth aspect of the embodiments of the present application provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any method as in the first aspect described above.
  • the sending end sends N channel measurement frames to the receiving end, and the receiving end determines the channel quality parameter statistical value corresponding to each channel measurement frame according to the reception of the channel measurement frame, and feeds it back to the sending end , And then the sender receives the statistical value of the channel quality parameter.
  • the sending end may determine the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter.
  • the sending end determines the frame error rate between the sending end and the receiving end according to the weight and the number of channel measurement frames N.
  • different frame loss causes can obtain different channel quality parameter statistical values.
  • the sending end can determine the weight corresponding to each frame loss cause according to the channel quality parameter statistical value.
  • the sending end can Set a higher weight.
  • the sender can set a lower weight, and then determine the frame error rate according to the weight and the number of channel measurement frames.
  • the frame error rate calculated by the sending end according to the weight can accurately reflect the link status, and the effect is better when the sending end performs optimization and adjustment.
  • FIG. 1 is an example diagram of communication between the sending end and the receiving end through WLAN frames in an embodiment of the application
  • Figure 2 is a diagram showing an example of a channel between the current transmitting end and the receiving end;
  • FIG. 3 is a schematic diagram of a method for determining a frame error rate in an embodiment of the application
  • FIG. 4 is an example diagram of communication between the sending end and the receiving end in an embodiment of this application.
  • FIG. 5 is an example diagram of a MAC frame in an embodiment of the application.
  • FIG. 6 is an example diagram of a channel measurement frame in an embodiment of this application.
  • FIG. 7 is an example diagram of an ACK frame in an embodiment of the application.
  • FIG. 8 is an example diagram of a confirmation frame in an embodiment of this application.
  • FIG. 9 is an example diagram of a BA frame in an embodiment of the application.
  • FIG. 10 is another example diagram of the confirmation frame in the embodiment of this application.
  • FIG. 11 is an example diagram of an access point in an embodiment of this application.
  • FIG. 12 is an example diagram of a site in an embodiment of this application.
  • FIG. 13 is an example diagram of a data processing system in an embodiment of this application.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • Wireless local area networks refers to the application of wireless communication technology to interconnect computer devices to form a network system that can communicate with each other and share resources.
  • the essential feature of the wireless local area network is that it no longer uses a communication cable to connect the computer to the network, but connects it wirelessly, which makes the construction of the network and the movement of the terminal more flexible.
  • wireless communication (wireless communication) technology is a communication method that uses the characteristic that electromagnetic wave signals can propagate in free space for information exchange.
  • the sender and receiver generally exchange information in a certain channel through WLAN frames.
  • a channel may be a wireless channel in the embodiment of the present application, which is a data signal transmission channel that uses a wireless signal as a transmission medium, and is generally divided according to the frequency band used by the wireless signal.
  • wireless signals are transmitted in the form of WLAN frames in the link layer.
  • WLAN frames may include, but are not limited to, data frames, control frames, management frames, detection frames, service frames, and non-service frames.
  • FIG. 1 is an example diagram of communication between a sending end and a receiving end through a WLAN frame in an embodiment of the application. It can be seen that one sending end 101 can communicate with multiple receiving ends 102.
  • the sending end 101 and the receiving end 102 may be the same type of equipment or different types of equipment, and specifically may be a base station, a wireless access point (AP), a router, an electronic device, and so on.
  • the electronic device may be a mobile phone, a smart watch, a smart speaker, etc., which is not limited in the embodiment of the present application.
  • the sending and receiving relationship between the sending end 101 and the receiving end 102 can be exchanged.
  • a mobile phone can also be used as a sender to communicate with other mobile phones.
  • the time-varying characteristics of the wireless channel require that various sending and receiving parameters can be automatically adjusted to adapt to the channel environment, thereby ensuring the quality of service (QoS).
  • the sender generally adjusts automatically according to the IEEE 802.11 protocol.
  • FIG. 2 is an example diagram of the current channel between the sending end and the receiving end.
  • the first channel 21 and the second channel 22 are included in FIG. 2.
  • the first channel 21 is divided into an upper part and a lower part by arrows.
  • the upper part of the first channel 21 shows the WLAN frame sent by the sender to the receiver, and the lower part of the first channel 21 shows the receiver sends to the sender.
  • the second channel 22 is similar to the first channel 21, and will not be repeated here.
  • the sending end first sends a detection frame 201 to the receiving end through the first channel 21.
  • the detection frame 201 may be a data frame, a management frame, a control frame or other proprietary format frames.
  • the detection frame 201 may include additional information, which is used to instruct the receiving end to send an information feedback frame 203 to the sending end. After receiving the detection frame 201, the receiving end returns an acknowledgement frame 202 to the sending end through the first channel according to the IEEE 802.11 protocol. . In addition, the receiving end responds to the additional information in the detection frame 201 to obtain channel quality information through statistics.
  • Channel quality information may include, but is not limited to, queue length, channel load, packet error rate, signal-to-noise ratio (SNR)/error vector magnitude (EVM)/received signal strength of detection frame 201 Statistics of indicators (received signal strength indication, RSSI) at the granularity of each spatial stream, each symbol, and each 20MHz bandwidth, etc.
  • the sending end may send multiple wireless signals at the same time, and each wireless signal may be referred to as a spatial stream.
  • the spatial stream can be sent through the antenna at the transmitting end, and each spatial stream can reach the receiving end through a different path.
  • the receiving end may generate an information feedback frame 203, and the information feedback frame may carry channel quality information obtained by statistics of the receiving end.
  • the information feedback frame 203 may be one of a data frame, a management frame, a control frame, a service frame, and a non-service frame.
  • the receiving end may determine through channel competition that the channel used when the information feedback frame 203 is transmitted is the second channel 22. Then the receiving end sends an information feedback frame 203 to the sending end through the second channel 22.
  • the sending end may return an acknowledgement frame 204 to the receiving end according to the IEEE 802.11 protocol.
  • the sending end can automatically adjust various transmission parameters according to the channel quality information in the information feedback frame 203.
  • the transmitting end can adjust the link rate, adjust the signal transmission power, or adjust the signal frequency.
  • the embodiment of the present application does not specifically limit the adjustment algorithm of the adjustment parameter of the sender. In practical applications, the sending end may also adjust other transmission parameters, such as link rate, etc.
  • the embodiment of the present application does not specifically limit the type of adjusting transmission parameters.
  • an embodiment of the present application provides a method for determining a frame error rate, as shown in FIG. 3, which includes:
  • the sending end sends a channel measurement frame to the receiving end;
  • the channel measurement frame refers to a WLAN frame used for channel measurement, which may be a service frame or a non-service frame constructed by the sender itself.
  • the channel measured by the channel measurement frame is the channel currently used by the channel measurement frame.
  • the channel measurement frame includes additional information, which is similar to the aforementioned detection frame 201, and will not be repeated here.
  • the receiving end determines the channel quality parameter statistical value according to the reception situation of the channel measurement frame.
  • the channel measurement frame may include multiple subframes, and each subframe may include multiple symbols.
  • a certain channel measurement frame includes 10 subframes, and each subframe includes 14 symbols, then the channel measurement frame includes 140 symbols.
  • the receiving end may determine the SNR corresponding to each symbol in the channel measurement frame according to the reception of the channel measurement frame. Exemplarily, if 140 symbols are included in the channel measurement frame, the receiving end can determine 140 SNRs. Then, the receiving end can count the maximum, minimum, and average values of all SNRs. Exemplarily, after the receiving end determines 140 SNRs, the maximum, minimum, and average values of the 140 SNRs can be counted.
  • the receiving end may determine the EVM corresponding to each symbol in the channel measurement frame according to the reception of the channel measurement frame. Exemplarily, if 140 symbols are included in the channel measurement frame, the receiving end can determine 140 EVMs. Then, the receiving end can count the maximum, minimum, and average values of all EVMs. Exemplarily, after the receiving end determines 140 SNRs, the maximum, minimum, and average values of these 140 EVMs can be counted.
  • the receiving end can also determine other channel quality parameters in the channel measurement frame according to the reception of the channel measurement frame, and determine the maximum value, minimum value, and average value, which will not be repeated here.
  • the channel quality parameter may be the aforementioned SNR, EVM, or RSSI, which is not limited in the embodiment of the present application.
  • the channel quality parameter statistical value may be the maximum value, the minimum value, and the average value of the channel quality parameter. In practical applications, it may also be other statistical values, such as standard deviation, which are not limited in the embodiment of the present application.
  • the channel corresponding to the above-mentioned channel quality parameter may be the channel used by the channel measurement frame currently received by the receiving end. As shown in FIG. 4, the transmitting end sends the channel measurement frame to the receiving end through the third channel 41. Then the channel corresponding to the channel quality parameter is the third channel 41.
  • the receiving end sends the channel quality parameter statistical value to the sending end.
  • the receiving end may send the channel quality parameter statistical value to the sending end through an acknowledgement frame.
  • the receiving end may carry the channel quality parameter statistical value in the confirmation frame, and then send the confirmation frame to the sending end.
  • the receiving end may directly carry the channel quality parameter statistical value in the confirmation frame, and there is no need to transmit the channel quality parameter statistical value through the information feedback frame. Therefore, the receiving end can send the channel quality parameter statistics to the transmitting end without channel competition, avoiding collision overhead caused by channel competition.
  • the acknowledgement frame may be an acknowledgement (acknowledge, ACK) frame.
  • the ACK frame is a control frame that is used to feed back to the sender confirming the receipt of the channel measurement frame.
  • the confirmation frame may be a block ack (BA) frame or a multi-user block ack (MBA) frame.
  • BA block ack
  • MSA multi-user block ack
  • the frame aggregation technology Fraggregation
  • the receiver usually uses a BA frame or an MBA frame to feed back to the sender to confirm receipt of the channel measurement frame.
  • the frame aggregation technology may include aggregation for MSDU (A-MSDU) and aggregation for MPDU (A-MPDU), which is not limited in the embodiment of the present application.
  • the transmitting end determines the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter.
  • the sending end first receives the confirmation frame from the receiving end, and the confirmation frame carries the channel quality parameter statistical value. Then, the sending end can determine the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter.
  • the sender pre-sets the association relationship between the cause of frame loss, the judgment condition, and the weight. Exemplarily, Table 1 is an example of the association relationship in the embodiment of the application.
  • the judgment condition may include a first condition and a second condition. For ease of description, the embodiments of the present application are collectively referred to as the judgment condition.
  • D min avg-min
  • D max max-avg
  • D
  • avg is the average value of 140 SNRs
  • min is the minimum value of 140 SNRs
  • max is the maximum value of 140 SNRs.
  • the sending end can receive avg, min, and max, and then calculate D min , D max and D.
  • the sending end may preset D th1 and D th2 .
  • D th1 is the first preset threshold
  • D th2 is the second preset threshold.
  • a worker inputs specific values of D th1 and D th2 into the sending end, and the sending end may record these two values as the first preset threshold and the second preset threshold.
  • the sending end records the first preset threshold value and the second preset threshold value can be realized by the sending end storing the first preset threshold value and the second preset threshold value in the database, or the sending end can save the first preset threshold value and the second preset threshold value in the memory The preset threshold and the second preset threshold.
  • D th1 may be equal to D th2 . In other embodiments, D th1 may be smaller than D th2 . At this time, it may happen that the statistical values of the channel quality parameters carried in the confirmation frame do not meet all the judgment conditions in Table 1. If the sending end determines that the statistical values of the channel quality parameters carried in the confirmation frame do not satisfy all the judgment conditions in Table 1, the sending end can set the weight of the corresponding channel measurement frame as the third weight.
  • the sending end may pre-set the association relationship between the cause of the frame loss, the judgment condition and the weight.
  • a worker can connect to the sending end through a terminal, and input the frame loss cause, judgment condition, and weight into the sending end through an input device of the terminal, so that the sending end establishes an association relationship between the frame loss cause, judgment condition, and weight.
  • the sending end is a home router
  • the worker can connect to the home router through a computer, and input the frame loss reason, judgment condition and weight into the home router, so that the home router establishes an association relationship between the frame loss reason, judgment condition and weight.
  • the weight of the corresponding channel measurement frame can be determined according to the pre-established association relationship.
  • the sending end can determine the type of the confirmation frame, and extract avg, min, and max from the confirmation frame, and then calculate D min , D max and D.
  • the type of confirmation frame can be ACK frame, BA frame or MBA frame. Then determine the weight of the corresponding channel measurement frame according to the judgment conditions as shown in Table 1.
  • the sender defaults that the acknowledgement frame of the receiver is a BA frame or an MBA frame.
  • the sender determines that the acknowledgement frame of the receiver is an ACK frame, and further determines whether the ACK frame is passed by the receiver.
  • ACK frame sent after hardware retransmission.
  • the frame loss reasons in Table 1 are related to weights.
  • the frame loss cause associated with the first weight is attenuation
  • the frame loss cause associated with the second weight is interference.
  • the sending end may also set other judgment conditions, weights, and frame loss reasons, which are not limited in the embodiment of the present application.
  • SINR signal to interference plus noise ratio
  • the sending end sets different weights according to the two situations, so that the sending end makes different judgments on the channel quality in the two situations.
  • the cause of frame loss is attenuation
  • the power of the useful signal measured by the receiving end is relatively small. Therefore, when adjusting at the transmitting end, the power of the useful signal can be increased to reduce frame loss.
  • the sender can assign a higher weight to the error frame count value to make appropriate adjustments when counting the frame loss situations where the cause of the frame loss is attenuation.
  • the cause of frame loss is interference
  • the Interference is relatively large, that is, the power of the channel interference signal is large, and it is generally difficult for the sender to adjust at this time, and the interference should be checked manually.
  • the sender can assign a lower weight to the error frame count value when counting the frame loss situations where the cause of the frame loss is interference, so as to avoid erroneous adjustments due to interference.
  • the first weight set by the sending end is greater than the second weight.
  • the transmitting end may set the first weight of the attenuation association to 0.8, and the second weight of the interference association to 0.1.
  • the weight corresponding to the channel measurement frame at the transmitting end and the total number of channel measurement frames determine the frame error rate.
  • the sending end may send N channel measurement frames to the receiving end, and N is a positive integer.
  • the sending end may determine the weights of the N channel measurement frames according to the received statistical values of channel quality parameters and preset judgment conditions.
  • the sender can obtain the error frame condition of the channel measurement frame.
  • the error frame condition includes the error frame with a count value of 1 and the correct frame with a count value of 0.
  • the implementation method for the sender to obtain the error frame condition is the same as traditional calculations.
  • the frame error rate method is similar and will not be repeated here. Exemplarily, after the sending end sends 1000 channel measurement frames to the receiving end, the sending end determines that the error frame condition is that 5 of the channel measurement frames are error frames, and the remaining 995 channel measurement frames are correct frames.
  • the sending end may multiply the error frame count value with the weight corresponding to the error frame to obtain the target technical value of the error frame.
  • the weights of the 5 errored frames are 0.1, 0.8, 0.1, 0.1, 0.1
  • the sender multiplies the count value and the weight to obtain the target count value of the 5 errored frames is 0.1, 0.8 , 0.1, 0.1, 0.1.
  • the sending end may calculate the sum of the target count values of error frames, and then divide the sum of the target count values by the total number of channel measurement frames N to obtain the frame error rate.
  • the target count values of 5 errored frames are 0.1, 0.8, 0.1, 0.1, 0.1
  • the sum of the target count values is 1.2
  • the total number of channel measurement frames N is 1000
  • the frame error rate is 1.2 per thousand.
  • the sending end can automatically adjust according to the determined frame error rate.
  • the automatic adjustment rule set by the sender is: if the frame error rate is greater than or equal to the preset threshold (5 parts per thousand), then the link rate is reduced; if the frame error rate is less than the preset threshold value (5 parts per thousand), ), the link rate is not reduced.
  • 5 of the 1000 channel measurement frames sent by the sender are errored frames, and the errored frames are caused by interference, attenuation, interference, interference, and interference.
  • the sending end can determine the weights of the five error frames to be 0.1, 0.8, 0.1, 0.1, 0.1 according to the judgment rule in step 304, and finally calculate the frame error rate to be 1.2 per thousand.
  • the sender will not reduce the link rate according to the above-mentioned automatic adjustment rule.
  • the sending end calculates the frame error rate of 5 per thousand.
  • the link rate will be dropped by mistake. Therefore, the embodiment of the present application can actually analyze the cause of frame loss, and solve the technical problem that the current method of calculating the frame error rate will mistakenly drop the link rate due to the interference of the frame loss.
  • FIG. 4 is a diagram of an example of communication between the sending end and the receiving end in an embodiment of this application.
  • the third channel 41 is divided by arrows into an upper part and a lower part.
  • the upper part shows the WLAN frame sent by the sender to the receiver
  • the lower part shows the WLAN frame sent by the receiver to the sender.
  • the sending end first sends a channel measurement frame 401 to the receiving end through the third channel 41.
  • the channel measurement frame 401 is similar to the detection frame 201 corresponding to FIG. 2, and will not be repeated here.
  • the channel measurement frame 401 includes additional information 402, and the additional information 402 is used to instruct the receiving end to send an acknowledgement frame 403 to the sending end.
  • the channel measurement frame 401 is formed by an existing MAC frame with additional information 402, and the existing MAC frame is shown in FIG. 5.
  • Fig. 5 is a diagram of an example of a MAC frame in an embodiment of the application.
  • the MAC frame may include a frame header field 501, a high throughput control (HTcomtrol, HTC) field 502, a key field (payload) 503, and a frame check sequence (FCS) 504.
  • the frame header part 501 includes a frame control part, an address, etc., which are not specifically limited in the embodiment of the present application.
  • the HTC field 502 is mainly used to support high-throughput data transmission.
  • the key field 503 may also be referred to as a frame body field, which is the main part of the MAC frame and is used to transmit data.
  • the FCS field is also called the frame tail, which is used to verify the MAC frame.
  • the sending end can insert the additional information 402 into the MAC frame shown in FIG. 5 to form the channel measurement frame 401 shown in FIG. 6.
  • the sender can insert the additional information 402 after the HTC field 502 and before the key field 503.
  • the sending end may also use a bit in the HTC field to indicate that the channel measurement frame 401 has additional information 402.
  • the sender can use the reserved bit in the HTC field. When the sender sets the value of the reserved bit to 1, it means that the channel measurement frame 401 has additional information 402. When the sender sets the value of the reserved bit When it is 0, it means that the channel measurement frame 401 does not have additional information 402.
  • the HTC field 502 is specifically a very high throughput control field (VHT HTC), and the sending end can multiplex the coding type field in the VHT HTC to indicate whether the channel measurement frame 401 contains additional information 402.
  • the HTC field 502 can also adopt other variants. The sender can multiplex the HTC field or use reserved bits to indicate whether the channel measurement frame 401 contains additional information 402. This is the case in this application. No longer.
  • the receiving end may respond to the additional information 402 in the channel measurement frame 401 to obtain feedback information 404 by statistics.
  • the feedback information 404 may be the channel quality parameter statistical value in the embodiment corresponding to FIG. 3 described above.
  • the receiving end may add the feedback information 404 to the confirmation frame 403.
  • the confirmation frame 403 may be an ACK frame, a BA frame, or an MBA frame.
  • FIG. 7 is an example diagram of an ACK frame in an embodiment of the application.
  • the ACK frame includes a frame header field 701, a key field 702, and a frame check sequence 703.
  • the frame header field 701 includes fields such as the frame control field, which is not specifically limited in the embodiment of the present application.
  • the key field 702 is used to indicate the confirmed address, associated information, etc., which is not specifically limited in the embodiment of the present application.
  • the frame check sequence 703 is used to check the ACK frame.
  • the receiving end can insert the feedback information 404 into the ACK frame as shown in FIG. 7 to obtain the confirmation frame 403 as shown in FIG. 8.
  • the receiving end may insert the feedback information 404 after the key field 702 and before the frame check sequence 703.
  • the receiving end may insert a magic number 404a before the feedback information 404 to indicate that the confirmation frame 403 has the feedback information 404.
  • the magic number 404a may be 0x5A5A5A5A.
  • the receiving end may also use other codes to represent the magic number 404a, and the specific code of the magic number is not limited in the embodiment of the present application.
  • the receiving end may append the feedback information 404 to the BA frame.
  • Fig. 9 is an example diagram of a BA frame in an embodiment of the application.
  • the BA frame includes a frame header field 901, a key field 902, and a frame check sequence 903.
  • the frame header field 901 includes fields such as the frame control field, which is not specifically limited in the embodiment of the present application.
  • the key field 902 is used to indicate the confirmed address, associated information, etc., which is not specifically limited in the embodiment of the present application.
  • the frame check sequence 903 is used to check the ACK frame.
  • the receiving end can insert the feedback information 404 into the BA frame as shown in FIG. 9 to obtain the confirmation frame 403 as shown in FIG. 10.
  • the receiving end may insert the feedback information 404 after the frame header field 901 and before the key field 903.
  • the receiving end may also insert a magic number 404a before the feedback information 404 to indicate that the confirmation frame 403 has feedback information 404.
  • the code of the magic number is similar to the magic number in the embodiment shown in FIG. 8, and will not be repeated here.
  • the receiving end may add the feedback information 404 to the MBA frame, which is similar to the embodiments corresponding to FIG. 9 and FIG. 10 and will not be repeated here.
  • the receiving end may also add the feedback information 404 to the confirmation frame 403 by multiplexing certain fields in the confirmation frame 403.
  • the multiplexing manner is similar to the multiplexing manner of the HTC field in the foregoing embodiment corresponding to FIG. 6, which is not repeated in the embodiment of the present application.
  • the confirmation frame 403 may be returned to the transmitting end.
  • the sender sends a WLAN frame to the receiver, the receiver will quickly return an acknowledgement frame without channel competition. Therefore, in the embodiment of the present application, the feedback information 404 is added to the confirmation frame 403, which can return the feedback information 404 without channel competition, avoiding competition overhead, and speeding up the information feedback.
  • Fig. 11 is an example diagram of an access point in an embodiment of the application.
  • an access point access point (access point, AP) may be the sending end or the receiving end.
  • the AP may include a processor 1101 and a radio frequency (RF) transceiver circuit 1102.
  • the processor 1101 may be a microprocessor (microcontroller unit, MCU), processor, main processor, controller, or application specific integrated circuit (ASIC), etc., and may be connected to the AP by using various interfaces and lines.
  • the various other modules of the AP execute various types of digital storage instructions, perform various functions of the AP and process data, thereby realizing various functions of the AP.
  • the RF transceiver circuit 1102 is coupled to the processor 1101.
  • the RF transceiver circuit 1102 may include a transceiver, a power amplifier, a frequency filter and other devices for filtering and power amplifying the channel measurement frame. This is not done in this embodiment of the application. Specific restrictions. In practical applications, the AP can add other modules or reduce modules according to actual needs, such as media access control (MAC) or physical layer (PHY), which is not specifically limited in the embodiment of the present application.
  • MAC media access control
  • PHY physical layer
  • the AP can communicate with a station (STA).
  • STA can be a client in a WLAN, a computer equipped with a wireless network card, or a smart phone with a WiFi module, and it can be mobile. , It can also be fixed.
  • the STA includes but is not limited to a mobile phone, a tablet computer, a desktop computer, etc., which is not limited in the embodiment of the present application.
  • Figure 12 is an example diagram of a station STA.
  • the STA may include a processor 1201 and an RF transceiver circuit 1202 coupled to the processor 1201.
  • the processor 1201 may be an element such as a microprocessor, a processor, a main processor, a controller, or an application specific integrated circuit.
  • the RF transceiver circuit 1202 may include devices such as transceivers, power amplifiers, and frequency filters. The embodiment of the application does not specifically limit this.
  • the processor 1101 may generate additional information. Then, the processor 1101 can insert the additional information into the WLAN frame, and multiplex some reserved bits in the WLAN frame to indicate that the WLAN frame has additional information. For the specific process, refer to the aforementioned embodiments in FIGS. 4 to 10 , I won’t repeat it here.
  • the WLAN frame with additional information inserted may also be referred to as a channel measurement frame.
  • the processor 1101 may transmit the generated channel measurement frame to the RF transceiver circuit 1102. Then, the RF transceiver circuit 1102 can send the channel measurement frame to the STA through the antenna.
  • the specific process is similar to step 301 in the foregoing embodiment, and will not be repeated here.
  • the processor 1201 may respond to the channel measurement frame and determine the channel quality parameter statistics according to the reception of the channel measurement frame.
  • the specific process is the same as the previous embodiment. Step 302 in is similar and will not be repeated here.
  • the processor 1201 may add the channel quality parameter statistical value as feedback information to the confirmation frame corresponding to the channel measurement frame, and send it to the AP through the RF transceiver circuit 1202.
  • the specific process is similar to step 303 in the foregoing embodiment. I won't repeat it here.
  • the AP may receive the acknowledgement frame through the RF transceiver circuit 1102.
  • the RF transceiver circuit 1102 can perform processing such as filtering and power amplification on the confirmation frame. Then the RF transceiver circuit 1102 transmits the processed confirmation frame to the processor 1101.
  • the processor 1101 can extract the feedback information in the confirmation frame, and then determine the weight corresponding to the channel measurement frame according to the feedback information, and then determine the frame error rate. This process is similar to steps 304 and 305 in the embodiment corresponding to FIG. 3, I won't repeat them here.
  • the processor 1101 can adjust the parameters in the processor 1101 or the RF transceiver circuit 1102 according to the frame error rate.
  • the rule of the AP automatic adjustment algorithm may be that the frame error rate exceeds five thousandths and the signal transmission power is increased. Then, when the frame error rate determined by the processor 1101 exceeds five thousandths, the processor 1101 can transmit and receive RF The amplification factor of the power amplifier in the circuit is increased.
  • the processor 1101 may also perform other similar adjustments according to the frame error rate and the automatic adjustment algorithm, which is not specifically limited in the embodiment of the present application.
  • the AP may also include memory.
  • the memory is connected to the processor 1101 and is used to store additional information or feedback information.
  • the memory may be a direct memory access (DMA).
  • FIG. 13 is an example diagram of a data processing system provided by an embodiment of the application.
  • the data processing system includes an access point 1301 and a station, where the access point 1301 can be a router, a modem with wireless connection function, portable wifi and other access devices, which can be set in a room, living room, public place, etc. local.
  • the types of sites may include, but are not limited to, mobile phone terminals 1302, notebook computers 1303, and tablet computers 1304. In actual applications, sites may also be other devices that can realize wireless Internet access, which is not described in detail in the embodiment of the present application.
  • one access point 1301 can be connected to multiple mobile phone terminals 1302 at the same time, and can also be connected to multiple laptop computers 1303 or tablet computers 1304. It is understandable that the station can connect to the Internet through the access point 1301.
  • the access point 1301 may execute the steps of the sending end in each embodiment corresponding to FIG. 3, such as step 301, step 304, and step 305.
  • the station may execute the steps of the receiving end in each embodiment corresponding to FIG. 3, such as step 302 and step 303. This is not repeated in the embodiment of the application.
  • the station may perform the steps of the sending end in the various embodiments corresponding to FIG. 3, and the access point 1301 may perform the steps of the receiving end in the various embodiments corresponding to FIG. 3.
  • the mobile terminal 1302 may execute the steps of the sending end in the embodiments corresponding to FIG. 3, and the access point 1302 may execute the steps of the receiving end in the embodiments corresponding to FIG. 3.
  • the mobile phone terminal 1302 can determine the frame error rate, and then adjust the transmission parameters of the mobile phone terminal 1302 according to the frame error rate to improve the upload rate.
  • the mobile phone terminal 1302 can open a "mobile phone hotspot" and connect with other mobile phone terminals 1302, so that the other mobile phone terminals 1302 can communicate through the mobile phone terminal 1302 that opens the "mobile phone hotspot".
  • the mobile terminal 1302 that opens the "mobile phone hotspot” can perform steps similar to the above-mentioned access point 1301.
  • the laptop 1303 or the tablet 1304 can also open a similar hotspot and perform the steps similar to the access point 1301 described above.
  • the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physically separate.
  • the physical unit can be located in one place or distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the connection relationship between the modules indicates that they have a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative work.
  • this application can be implemented by means of software plus necessary general hardware.
  • it can also be implemented by dedicated hardware including dedicated integrated circuits, dedicated CPUs, dedicated memory, Dedicated components and so on to achieve.
  • all functions completed by computer programs can be easily implemented with corresponding hardware.
  • the specific hardware structures used to achieve the same function can also be diverse, such as analog circuits, digital circuits or special-purpose circuits. Circuit etc.
  • software program implementation is a better implementation in more cases.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a computer floppy disk.
  • a readable storage medium such as a computer floppy disk.
  • U disk mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc., including several instructions to make a computer device (which can be A personal computer, server, or network device, etc.) execute the method described in each embodiment of the present application.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • wired such as coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless such as infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Abstract

Embodiments of the present application provide a method for determining a frame error ratio and a related device. In the technical solution, a sender sends N channel measurement frames to a receiver; the receiver determines, according to the reception states of the channel measurement frames, a channel quality parameter statistical value corresponding to each channel measurement frame, and feeds same back to the sender; then the sender receives the channel quality parameter statistical value. The sender can determine weights corresponding to the channel measurement frames according to the channel quality parameter statistical values. Finally, the sender determines the frame error ratio between the sender and the receiver according to the weights and the number N of the channel measurement frames. In the embodiments of the present application, different channel quality parameter statistical values can be obtained for different frame loss reasons, and a sender can determine weights corresponding to the frame loss reasons according to the channel quality parameter statistical values. The frame error ratio calculated by the sender according to the weights can accurately reflect the link state, and the effect will be better when the sender performs optimization adjustment.

Description

一种确定误帧率的方法以及相关装置Method for determining frame error rate and related device 技术领域Technical field
本申请实施例涉及通信领域,尤其涉及一种确定误帧率的方法以及相关装置。The embodiments of the present application relate to the field of communications, and in particular, to a method for determining a frame error rate and related devices.
背景技术Background technique
随着通信技术的发展,网络通信在终端设备中广泛应用。终端设备通过网络通信与其他终端设备或服务器连接,实现信息传输。无线局域网(wireless local area networks,WLAN)使各种终端设备摆脱线缆的束缚,方便了人们的生活。With the development of communication technology, network communication is widely used in terminal equipment. The terminal device is connected with other terminal devices or servers through network communication to realize information transmission. Wireless local area networks (WLAN) frees various terminal devices from the shackles of cables and facilitates people's lives.
相对于稳定可靠的有线环境,无线信道的时变特性要求各种收发参数能够自动调整,以适应信道环境,从而保证服务质量(quality of service,QoS)。在目前的自动调整方案中,发送端一般按照电气和电子工程师协会(institute of electrical and electronics engineers,IEEE)的无线网络标准IEEE 802.11协议进行自动调整。例如在速率自适应算法(autorate)中,发送端通过使用不同的调制编码方式(modulation and coding scheme,MCS)向接收端发送探测帧。接收端接收到探测帧后,将接收端的信息发送至发送端,以供发送端调整各种发送参数。Compared with a stable and reliable wired environment, the time-varying characteristics of wireless channels require that various transceiver parameters be automatically adjusted to adapt to the channel environment, thereby ensuring quality of service (QoS). In the current automatic adjustment scheme, the sender generally automatically adjusts in accordance with the IEEE 802.11 protocol, a wireless network standard of the Institute of Electrical and Electronics Engineers (IEEE). For example, in the rate adaptation algorithm (autorate), the sending end sends detection frames to the receiving end by using different modulation and coding schemes (MCS). After receiving the detection frame, the receiving end sends the information of the receiving end to the sending end for the sending end to adjust various sending parameters.
然而,速率自适应算法中,发送端根据接收端的信息进行误帧率(frame error ratio,FER)统计时,发送端没有对丢帧原因进行分析,统计得到的误帧率不能准确体现链路状况。例如,发送端向接收端发送的帧大部分因为干扰导致了丢帧时,降低链路速率并不能解决由于干扰导致的丢帧问题,但是此时发送端统计到的误帧率偏高,仍然采取了降低链路速率的优化措施。However, in the rate adaptation algorithm, when the sender performs frame error ratio (FER) statistics based on the information of the receiver, the sender does not analyze the cause of the frame loss, and the statistically obtained frame error rate cannot accurately reflect the link status. . For example, when most of the frames sent from the sender to the receiver are lost due to interference, reducing the link rate cannot solve the problem of frame loss due to interference, but the frame error rate counted by the sender is still high at this time. Optimized measures to reduce the link rate have been taken.
发明内容Summary of the invention
本申请实施例提供了一种确定误帧率的方法以及相关装置,发送端能够根据不同的丢帧原因赋予信道测量帧对应的权重,统计得到的误帧率能够准确体现链路状况,使得误帧率的统计更加准确。The embodiment of the present application provides a method and related device for determining the frame error rate. The sending end can assign the corresponding weight to the channel measurement frame according to different frame loss reasons, and the statistically obtained frame error rate can accurately reflect the link status, and make the error The frame rate statistics are more accurate.
本申请实施例的第一方面提供一种确定误帧率的方法,应用于无线局域网,包括:发送端向接收端发送N个信道测量帧,所述信道测量帧用于指示所述接收端向所述发送端发送所述信道测量帧对应的信道质量参数统计值,所述N为正整数;所述发送端接收所述信道质量参数统计值;所述发送端根据所述信道质量参数统计值确定所述信道测量帧对应的权重;所述发送端根据所述权重以及所述N确定所述发送端与所述接收端之间的误帧率。The first aspect of the embodiments of the present application provides a method for determining a frame error rate, which is applied to a wireless local area network, and includes: a sending end sends N channel measurement frames to a receiving end, and the channel measurement frames are used to instruct the receiving end to send N channel measurement frames to the receiving end. The sending end sends the channel quality parameter statistical value corresponding to the channel measurement frame, where N is a positive integer; the sending end receives the channel quality parameter statistical value; the sending end according to the channel quality parameter statistical value The weight corresponding to the channel measurement frame is determined; the sending end determines the frame error rate between the sending end and the receiving end according to the weight and the N.
在本申请实施例中,发送端向接收端发送N个信道测量帧,接收端根据信道测量帧的接收情况确定每个信道测量帧对应的信道质量参数统计值,并反馈至发送端,然后发送端接收到该信道质量参数统计值。发送端可以根据信道质量参数统计值确定该信道测量帧对应的权重。最后发送端根据权重以及信道测量帧的数量N确定发送端与接收端之间的误帧率。本申请实施例中,不同的丢帧原因能够得到不同的信道质量参数统计值,发送端根据该信道质量参数统计值可以确定各个丢帧原因对应的权重,对于重要的丢帧原因,发送端 可以设定较高的权重,对于无关的丢帧原因,发送端可以设定较低的权重,然后根据权重以及信道测量帧的数量确定误帧率。发送端根据权重计算得到的误帧率能够准确体现链路状况,发送端进行优化调整时效果更好。例如,发送端预先根据干扰这种丢帧原因关联了第二条件以及较低的第二权重,若发送端接收到的信道质量参数满足第二条件,则说明该信道测量帧的丢帧原因为干扰,发送端确定了该信道测量帧对应的第二权重。在统计误帧率时即使有干扰导致的大量丢帧,由于其第二权重较低,误帧率仍然可以较低,发送端不会因为干扰的丢帧原因而误降链路速率。In the embodiment of this application, the sending end sends N channel measurement frames to the receiving end, and the receiving end determines the channel quality parameter statistical value corresponding to each channel measurement frame according to the reception of the channel measurement frame, and feeds it back to the sending end, and then sends it The terminal receives the statistical value of the channel quality parameter. The sending end may determine the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter. Finally, the sending end determines the frame error rate between the sending end and the receiving end according to the weight and the number of channel measurement frames N. In the embodiments of the present application, different frame loss causes can obtain different channel quality parameter statistical values. The sending end can determine the weight corresponding to each frame loss cause according to the channel quality parameter statistical value. For important frame loss reasons, the sending end can Set a higher weight. For irrelevant frame loss reasons, the sender can set a lower weight, and then determine the frame error rate according to the weight and the number of channel measurement frames. The frame error rate calculated by the sending end according to the weight can accurately reflect the link status, and the effect is better when the sending end performs optimization and adjustment. For example, the sender associates the second condition and a lower second weight in advance according to the cause of frame loss such as interference. If the channel quality parameter received by the sender satisfies the second condition, it means that the cause of the frame loss of the channel measurement frame is Interference, the sender determines the second weight corresponding to the channel measurement frame. When calculating the frame error rate, even if there is a large number of frame loss caused by interference, because the second weight is low, the frame error rate can still be low, and the sender will not mistakenly drop the link rate due to the frame loss caused by the interference.
结合本申请实施例的第一方面,在本申请实施例的第一方面的第一种实现方式中,所述信道质量参数统计值包括信道质量参数的最大值、最小值和平均值;所述发送端根据所述信道质量参数统计值确定所述信道测量帧对应的权重包括:所述发送端获取第一差值,所述第一差值为所述平均值减去所述最小值;所述发送端获取第二差值,所述第二差值为所述最大值减去所述平均值;所述发送端获取综合差值,所述综合差值为所述第一差值和所述第二差值之差的绝对值;若所述综合差值小于第一预设阈值,则所述发送端确定所述信道测量帧对应的第一权重。With reference to the first aspect of the embodiments of the present application, in the first implementation of the first aspect of the embodiments of the present application, the channel quality parameter statistical value includes the maximum value, the minimum value, and the average value of the channel quality parameter; The sending end determining the weight corresponding to the channel measurement frame according to the channel quality parameter statistical value includes: the sending end obtains a first difference value, where the first difference value is the average value minus the minimum value; The sending end obtains a second difference value, where the second difference value is the maximum value minus the average value; the sending end obtains a comprehensive difference value, and the comprehensive difference value is the first difference value and the sum The absolute value of the difference between the second difference; if the comprehensive difference is less than a first preset threshold, the sending end determines the first weight corresponding to the channel measurement frame.
结合本申请实施例的第一方面、本申请实施例的第一种实现方式,在本申请实施例的第一方面的第二种实现方式中,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:所述发送端获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;所述发送端获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值小于所述第一预设阈值;所述发送端建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。In combination with the first aspect of the embodiments of the present application and the first implementation manner of the embodiments of the present application, in the second implementation manner of the first aspect of the embodiments of the present application, the sending end sends N channel measurements to the receiving end. Before the frame, the method further includes: the sending end obtains the first weight, where the first weight is used to indicate that the cause of the frame loss is attenuation; and the sending end obtains the first weight corresponding to the cause of the frame loss as the attenuation. A condition, the first condition includes that the comprehensive difference is less than the first preset threshold; the sending end establishes an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation .
结合本申请实施例的第一方面、本申请实施例的第一种至第二种实现方式中的任意一种,在本申请实施例的第一方面的第三种实现方式中,所述发送端获取综合差值之后,所述方法还包括:若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在块确认帧BA帧或多用户块确认帧MBA帧中,且所述第一差值大于或等于第二差值,则所述发送端确定所述信道测量帧对应的第二权重,其中,所述BA帧或所述MBA帧为所述接收端向所述发送端发送的帧;若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值小于第二差值,则所述发送端确定所述信道测量帧对应的所述第一权重。With reference to the first aspect of the embodiments of the present application and any one of the first to second implementation manners of the embodiments of the present application, in the third implementation manner of the first aspect of the embodiments of the present application, the sending After obtaining the integrated difference at the terminal, the method further includes: if the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to a second preset threshold, and the channel quality parameter The statistical value is carried in the block confirmation frame BA frame or the multi-user block confirmation frame MBA frame, and the first difference is greater than or equal to the second difference, the sending end determines the second weight corresponding to the channel measurement frame , Wherein the BA frame or the MBA frame is a frame sent by the receiving end to the sending end; if the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or Equal to the second preset threshold, and the channel quality parameter statistical value is carried in the BA frame or the MBA frame, and the first difference is less than the second difference, the sending end determines the channel measurement frame corresponding to the The first weight.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第三种实现方式中的任意一种,在本申请实施例的第一方面的第四种实现方式中,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:所述发送端获取所述第二权重,所述第二权重用于指示丢帧原因为干扰;所述发送端获取与所述丢帧原因为干扰对应的第二条件,所述第二条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于所述第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值大于或等于第二差值;所述发送端建立所述第二条件、所述第二权重和所述丢帧原因为干扰的关联关系。In combination with the first aspect of the embodiments of the present application and any one of the first to third implementation manners of the first aspect of the embodiments of the present application, in the fourth implementation manner of the first aspect of the embodiments of the present application Before the sending end sends N channel measurement frames to the receiving end, the method further includes: the sending end obtains the second weight, where the second weight is used to indicate that the cause of the frame loss is interference; The terminal obtains a second condition corresponding to the cause of the frame loss as interference, where the second condition includes that the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second A preset threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and the first difference is greater than or equal to the second difference; the sending end establishes the second condition, the first difference The correlation between the second weight and the frame loss cause is interference.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第四种实现方式中的任意一种,在本申请实施例的第一方面的第五种实现方式中,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:所述发送端获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;所述发送端获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值小于第二差值;所述发送端建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。In combination with the first aspect of the embodiments of the present application and any one of the first to fourth implementation manners of the first aspect of the embodiments of the present application, in the fifth implementation manner of the first aspect of the embodiments of the present application Before the sending end sends N channel measurement frames to the receiving end, the method further includes: the sending end obtains the first weight, where the first weight is used to indicate that the cause of the frame loss is attenuation; The terminal obtains the first condition corresponding to the attenuation due to the frame loss, the first condition includes that the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second preset Threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and the first difference is smaller than the second difference; the sending end establishes the first condition, the first weight, and the The reason for the frame loss is the correlation relationship of attenuation.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第五种实现方式中的任意一种,在本申请实施例的第一方面的第六种实现方式中,所述发送端获取综合差值之后,所述方法还包括:若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在确认帧ACK帧中,且所述第一差值大于或等于第二差值,则所述发送端确定所述信道测量帧对应的第二权重,其中,所述ACK帧为所述接收端经过硬件重传后向所述发送端发送的帧;若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值小于第二差值,则所述发送端确定所述信道测量帧对应的所述第一权重。In combination with the first aspect of the embodiments of the present application and any one of the first to fifth implementation manners of the first aspect of the embodiments of the present application, in the sixth implementation manner of the first aspect of the embodiments of the present application After the sending end obtains the integrated difference, the method further includes: if the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second preset threshold, and The channel quality parameter statistical value is carried in the ACK frame of the confirmation frame, and the first difference is greater than or equal to the second difference, then the sending end determines the second weight corresponding to the channel measurement frame, wherein the An ACK frame is a frame sent by the receiving end to the sending end after hardware retransmission; if the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset And the channel quality parameter statistical value is carried in the ACK frame, and the first difference is smaller than the second difference, the sending end determines the first weight corresponding to the channel measurement frame.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第六种实现方式中的任意一种,在本申请实施例的第一方面的第七种实现方式中,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:所述发送端获取所述第二权重,所述第二权重用于指示丢帧原因为干扰;所述发送端获取与所述丢帧原因为干扰对应的第二条件,所述第二条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值大于或等于第二差值;所述发送端建立所述第二条件、所述第二权重和所述丢帧原因为干扰的关联关系。In combination with the first aspect of the embodiments of the present application and any one of the first to sixth implementation manners of the first aspect of the embodiments of the present application, in the seventh implementation manner of the first aspect of the embodiments of the present application Before the sending end sends N channel measurement frames to the receiving end, the method further includes: the sending end obtains the second weight, where the second weight is used to indicate that the cause of the frame loss is interference; The terminal obtains a second condition corresponding to interference that the cause of the frame loss is interference, where the second condition includes that the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to a second preset Threshold, and the channel quality parameter statistical value is carried in the ACK frame, and the first difference is greater than or equal to the second difference; the sending end establishes the second condition, the second weight, and the The cause of frame loss is the correlation of interference.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第七种实现方式中的任意一种,在本申请实施例的第一方面的第八种实现方式中,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:所述发送端获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;所述发送端获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值小于第二差值;所述发送端建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。In combination with the first aspect of the embodiments of the present application and any one of the first to seventh implementation manners of the first aspect of the embodiments of the present application, in the eighth implementation manner of the first aspect of the embodiments of the present application Before the sending end sends N channel measurement frames to the receiving end, the method further includes: the sending end obtains the first weight, where the first weight is used to indicate that the cause of the frame loss is attenuation; The terminal obtains the first condition corresponding to the attenuation due to the frame loss, the first condition includes that the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second preset Threshold, and the channel quality parameter statistical value is carried in the ACK frame, and the first difference is smaller than the second difference; the sending end establishes the first condition, the first weight, and the frame loss The reason is the attenuation relationship.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第八种实现方式中的任意一种,在本申请实施例的第一方面的第九种实现方式中,所述信道质量参数统计值携带在ACK帧,BA帧或MBA帧中。In combination with the first aspect of the embodiments of the present application and any one of the first to eighth implementation manners of the first aspect of the embodiments of the present application, in the ninth implementation manner of the first aspect of the embodiments of the present application , The statistical value of the channel quality parameter is carried in an ACK frame, a BA frame or an MBA frame.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第九种实现方式中的任意一种,在本申请实施例的第一方面的第十种实现方式中,所述接收端通过复用所述ACK帧,所述BA帧或所述MBA帧中的字段将所述信道质量参数统计值携带在所述ACK帧,所述BA帧或所述MBA帧中。In combination with the first aspect of the embodiments of the present application and any one of the first to the ninth implementation manners of the first aspect of the embodiments of the present application, in the tenth implementation manner of the first aspect of the embodiments of the present application The receiving end carries the channel quality parameter statistical value in the ACK frame, the BA frame or the MBA frame by multiplexing the ACK frame, the BA frame or the field in the MBA frame .
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第十种实现方式中的任意一种,在本申请实施例的第一方面的第十一种实现方式中,所述接收端通过在所述ACK帧,所述BA帧或所述MBA帧中插入额外字段将所述信道质量参数统计值携带在所述ACK帧,所述BA帧或所述MBA帧中。In combination with the first aspect of the embodiments of the present application and any one of the first to tenth implementation manners of the first aspect of the embodiments of the present application, in the eleventh implementation manner of the first aspect of the embodiments of the present application Wherein, the receiving end carries the channel quality parameter statistical value in the ACK frame, the BA frame or the MBA frame by inserting additional fields in the ACK frame, the BA frame or the MBA frame in.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第十一种实现方式中的任意一种,在本申请实施例的第一方面的第十二种实现方式中,所述发送端根据所述权重以及所述N确定所述发送端与所述接收端之间的误帧率具体包括:所述发送端获取所述信道测量帧的误帧情况,所述误帧情况包括计数值为1的误帧以及计数值为0的正确帧;所述发送端通过所述误帧的计数值和所述权重确定所述误帧的目标计数值;所述发送端根据所述误帧的所述目标计数值和所述N确定所述误帧率。In combination with the first aspect of the embodiments of the present application, any one of the first to the eleventh implementation manners of the first aspect of the embodiments of the present application, in the twelfth implementation of the first aspect of the embodiments of the present application In the manner, the sending end determining the frame error rate between the sending end and the receiving end according to the weight and the N specifically includes: the sending end obtains the frame error condition of the channel measurement frame, and The error frame condition includes an error frame with a count value of 1 and a correct frame with a count value of 0; the sending end determines the target count value of the error frame through the count value of the error frame and the weight; The terminal determines the frame error rate according to the target count value of the error frame and the N.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第十二种实现方式中的任意一种,在本申请实施例的第一方面的第十三种实现方式中,所述发送端根据所述权重以及所述N确定所述发送端与所述接收端之间的误帧率之后,所述方法还包括:若所述误帧率大于第三阈值,则所述发送端根据预设调整算法调整所述发送端的发射参数。Combining any one of the first aspect of the embodiments of the present application, the first to the twelfth implementation manners of the first aspect of the embodiments of the present application, and the thirteenth implementation of the first aspect of the embodiments of the present application In the manner, after the transmitting end determines the frame error rate between the transmitting end and the receiving end according to the weight and the N, the method further includes: if the frame error rate is greater than a third threshold, Then the transmitting end adjusts the transmitting parameters of the transmitting end according to the preset adjustment algorithm.
本申请实施例第二方面提供一种确定误帧率的装置,包括:发送单元,用于向接收端发送N个信道测量帧,所述信道测量帧用于指示所述接收端向所述发送端发送所述信道测量帧对应的信道质量参数统计值,所述N为正整数;获取单元,用于接收所述信道质量参数统计值;处理单元,用于根据所述信道质量参数统计值确定所述信道测量帧对应的权重;所述处理单元,还用于根据所述权重以及所述N确定所述发送端与所述接收端之间的误帧率。A second aspect of the embodiments of the present application provides an apparatus for determining a frame error rate, including: a sending unit, configured to send N channel measurement frames to a receiving end, and the channel measurement frames are used to instruct the receiving end to send The terminal sends the channel quality parameter statistical value corresponding to the channel measurement frame, where N is a positive integer; the acquiring unit is configured to receive the channel quality parameter statistical value; and the processing unit is configured to determine according to the channel quality parameter statistical value The weight corresponding to the channel measurement frame; the processing unit is further configured to determine the frame error rate between the sending end and the receiving end according to the weight and the N.
结合本申请实施例的第二方面,在本申请实施例的第二方面的第一种实现方式中,所述信道质量参数统计值包括信道质量参数的最大值、最小值和平均值;所述处理单元还用于获取第一差值,所述第一差值为所述平均值减去所述最小值;所述处理单元还用于获取第二差值,所述第二差值为所述最大值减去所述平均值;所述处理单元还用于获取综合差值,所述综合差值为所述第一差值和所述第二差值之差的绝对值;所述处理单元还用于若所述综合差值小于第一预设阈值,则确定所述信道测量帧对应的第一权重。With reference to the second aspect of the embodiments of the present application, in the first implementation of the second aspect of the embodiments of the present application, the channel quality parameter statistical value includes the maximum value, the minimum value, and the average value of the channel quality parameter; The processing unit is also used to obtain a first difference value, where the first difference value is the average value minus the minimum value; the processing unit is also used to obtain a second difference value, where the second difference value is The maximum value minus the average value; the processing unit is further configured to obtain a comprehensive difference value, the comprehensive difference value being the absolute value of the difference between the first difference value and the second difference value; the processing The unit is further configured to determine the first weight corresponding to the channel measurement frame if the comprehensive difference value is less than a first preset threshold.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种实现方式,在本申请实施例的第二方面的第二种实现方式中,所述处理单元还用于获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;所述处理单元还用于获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值小于所述第一预设阈值;所述处理单元还用于建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。With reference to the second aspect of the embodiments of the present application and the first implementation manner of the second aspect of the embodiments of the present application, in the second implementation manner of the second aspect of the embodiments of the present application, the processing unit is further configured to obtain The first weight, the first weight is used to indicate that the cause of the frame loss is attenuation; the processing unit is further configured to obtain a first condition corresponding to the cause of the frame loss as the attenuation, and the first condition includes the comprehensive The difference is less than the first preset threshold; the processing unit is further configured to establish an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第二种实现方式中的任意一种,在本申请实施例的第二方面的第三种实现方式中,所述处理单元还用于若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在块确认帧BA帧或多用户块确认帧MBA帧中,且所述第一差值大于或等于第二差值,则确定所述信道测量帧对应的第二权重,其中,所述BA帧或所述MBA帧为所述接收端向所述发送端发送的帧;所述处理单元还用于若所述综合差值不小于所述 第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值小于第二差值,则确定所述信道测量帧对应的所述第一权重。With reference to the second aspect of the embodiments of the present application and any one of the first to second implementation manners of the second aspect of the embodiments of the present application, in the third implementation manner of the second aspect of the embodiments of the present application, The processing unit is further configured to: if the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in the block confirmation Frame BA frame or multi-user block confirmation frame MBA frame, and the first difference is greater than or equal to the second difference, the second weight corresponding to the channel measurement frame is determined, wherein, the BA frame or the The MBA frame is a frame sent by the receiving end to the sending end; the processing unit is further configured to: if the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second If the threshold is preset, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and the first difference is smaller than the second difference, the first weight corresponding to the channel measurement frame is determined.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第三种实现方式中的任意一种,在本申请实施例的第二方面的第四种实现方式中,所述处理单元还用于获取所述第二权重,所述第二权重用于指示丢帧原因为干扰;所述处理单元还用于获取与所述丢帧原因为干扰对应的第二条件,所述第二条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于所述第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值大于或等于第二差值;所述处理单元还用于建立所述第二条件、所述第二权重和所述丢帧原因为干扰的关联关系。With reference to the second aspect of the embodiments of the present application and any one of the first to third implementation manners of the second aspect of the embodiments of the present application, in the fourth implementation manner of the second aspect of the embodiments of the present application, The processing unit is further configured to obtain the second weight, and the second weight is used to indicate that the cause of the frame loss is interference; the processing unit is further configured to obtain a second condition corresponding to the cause of the frame loss to be interference, The second condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in the BA frame Or in an MBA frame, and the first difference is greater than or equal to the second difference; the processing unit is further configured to establish an association relationship between the second condition, the second weight, and the cause of the frame loss as interference .
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第四种实现方式中的任意一种,在本申请实施例的第二方面的第五种实现方式中,所述处理单元还用于获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;所述处理单元还用于获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值小于第二差值;所述处理单元还用于建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。With reference to the second aspect of the embodiments of the present application and any one of the first to fourth implementation manners of the second aspect of the embodiments of the present application, in the fifth implementation manner of the second aspect of the embodiments of the present application, The processing unit is further configured to obtain the first weight, and the first weight is used to indicate that the cause of the frame loss is attenuation; the processing unit is also configured to obtain the first condition corresponding to the cause of the frame loss as the attenuation, The first condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in a BA frame or MBA In the frame, and the first difference is smaller than the second difference; the processing unit is further configured to establish an association relationship in which the first condition, the first weight, and the cause of the frame loss are attenuation.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第五种实现方式中的任意一种,在本申请实施例的第二方面的第六种实现方式中,所述处理单元还用于若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在确认帧ACK帧中,且所述第一差值大于或等于第二差值,则确定所述信道测量帧对应的第二权重,其中,所述ACK帧为所述接收端经过硬件重传后向所述发送端发送的帧;所述处理单元还用于若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值小于第二差值,则确定所述信道测量帧对应的所述第一权重。With reference to the second aspect of the embodiments of the present application and any one of the first to fifth implementation manners of the second aspect of the embodiments of the present application, in the sixth implementation manner of the second aspect of the embodiments of the present application, The processing unit is further configured to: if the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in the confirmation frame In the ACK frame, and the first difference is greater than or equal to the second difference, the second weight corresponding to the channel measurement frame is determined, wherein the ACK frame is retransmitted by the receiving end after hardware retransmission. The frame sent by the sending end; the processing unit is further configured to: if the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to a second preset threshold, and the channel quality The parameter statistical value is carried in the ACK frame, and the first difference is smaller than the second difference, then the first weight corresponding to the channel measurement frame is determined.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第六种实现方式中的任意一种,在本申请实施例的第二方面的第七种实现方式中,所述处理单元还用于获取所述第二权重,所述第二权重用于指示丢帧原因为干扰;所述处理单元还用于获取与所述丢帧原因为干扰对应的第二条件,所述第二条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值大于或等于第二差值;所述处理单元还用于建立所述第二条件、所述第二权重和所述丢帧原因为干扰的关联关系。With reference to the second aspect of the embodiments of the present application and any one of the first to sixth implementation manners of the second aspect of the embodiments of the present application, in the seventh implementation manner of the second aspect of the embodiments of the present application, The processing unit is further configured to obtain the second weight, and the second weight is used to indicate that the cause of the frame loss is interference; the processing unit is further configured to obtain a second condition corresponding to the cause of the frame loss to be interference, The second condition includes that the comprehensive difference value is not less than the first preset threshold value, and the comprehensive difference value is greater than or equal to a second preset threshold value, and the channel quality parameter statistical value is carried in an ACK frame, And the first difference is greater than or equal to the second difference; the processing unit is further configured to establish an association relationship between the second condition, the second weight, and the cause of the frame loss being interference.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第七种实现方式中的任意一种,在本申请实施例的第二方面的第八种实现方式中,所述处理单元还用于获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;所述处理单元还用于获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧 中,且所述第一差值小于第二差值;所述处理单元还用于建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。With reference to the second aspect of the embodiments of the present application and any one of the first to seventh implementation manners of the second aspect of the embodiments of the present application, in the eighth implementation manner of the second aspect of the embodiments of the present application, The processing unit is further configured to obtain the first weight, and the first weight is used to indicate that the cause of the frame loss is attenuation; the processing unit is also configured to obtain the first condition corresponding to the cause of the frame loss as the attenuation, The first condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in an ACK frame, And the first difference is smaller than the second difference; the processing unit is further configured to establish an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第八种实现方式中的任意一种,在本申请实施例的第二方面的第九种实现方式中,所述信道质量参数统计值携带在ACK帧,BA帧或MBA帧中。With reference to the second aspect of the embodiments of the present application and any one of the first to eighth implementation manners of the second aspect of the embodiments of the present application, in the ninth implementation manner of the second aspect of the embodiments of the present application, The statistical value of the channel quality parameter is carried in an ACK frame, a BA frame or an MBA frame.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第九种实现方式中的任意一种,在本申请实施例的第二方面的第十种实现方式中,所述接收端通过复用所述ACK帧,所述BA帧或所述MBA帧中的字段将所述信道质量参数统计值携带在所述ACK帧,所述BA帧或所述MBA帧中。With reference to the second aspect of the embodiments of the present application and any one of the first to ninth implementation manners of the second aspect of the embodiments of the present application, in the tenth implementation manner of the second aspect of the embodiments of the present application, The receiving end carries the channel quality parameter statistical value in the ACK frame, the BA frame or the MBA frame by multiplexing the ACK frame, the BA frame or the fields in the MBA frame.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第十种实现方式中的任意一种,在本申请实施例的第二方面的第十一种实现方式中,所述接收端通过在所述ACK帧,所述BA帧或所述MBA帧中插入额外字段将所述信道质量参数统计值携带在所述ACK帧,所述BA帧或所述MBA帧中。In combination with the second aspect of the embodiments of the present application and any one of the first to tenth implementation manners of the second aspect of the embodiments of the present application, in the eleventh implementation manner of the second aspect of the embodiments of the present application The receiving end carries the channel quality parameter statistical value in the ACK frame, the BA frame or the MBA frame by inserting an extra field in the ACK frame, the BA frame or the MBA frame .
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第十一种实现方式中的任意一种,在本申请实施例的第二方面的第十二种实现方式中,所述处理单元还用于获取所述信道测量帧的误帧情况,所述误帧情况包括计数值为1的误帧以及计数值为0的正确帧;所述处理单元还用于通过所述误帧的计数值和所述权重确定所述误帧的目标计数值;所述处理单元还用于根据所述误帧的所述目标计数值和所述N确定所述误帧率。In combination with the second aspect of the embodiments of the present application, any one of the first to the eleventh implementation manners of the second aspect of the embodiments of the present application, in the twelfth implementation manner of the second aspect of the embodiments of the present application The processing unit is also used to obtain the error frame condition of the channel measurement frame, and the error frame condition includes an error frame with a count value of 1 and a correct frame with a count value of 0; the processing unit is also used to pass The count value of the errored frame and the weight determine the target count value of the errored frame; the processing unit is further configured to determine the frame error rate according to the target count value of the errored frame and the N.
结合本申请实施例的第二方面、本申请实施例第二方面的第一种至第十二种实现方式中的任意一种,在本申请实施例的第二方面的第十三种实现方式中,所述处理单元还用于若所述误帧率大于第三阈值,则根据预设调整算法调整所述发送端的发射参数。In combination with the second aspect of the embodiments of the present application and any one of the first to twelfth implementation manners of the second aspect of the embodiments of the present application, in the thirteenth implementation manner of the second aspect of the embodiments of the present application Wherein, the processing unit is further configured to adjust the transmission parameters of the transmitting end according to a preset adjustment algorithm if the frame error rate is greater than a third threshold.
本申请实施例第三方面提供一种接入点,包括处理器,以及耦合至所述处理器的射频收发电路;所述处理器,用于通过所述射频收发电路向站点发送N个信道测量帧,所述信道测量帧用于指示所述站点向所述接入点发送所述信道测量帧对应的信道质量参数统计值,所述N为正整数;所述处理器,还用于:通过所述射频收发电路接收所述站点反馈的所述信道质量参数统计值;根据所述信道质量参数统计值确定所述信道测量帧对应的权重;以及根据所述权重以及所述N确定所述接入点与所述站点之间的误帧率。A third aspect of the embodiments of the present application provides an access point, including a processor, and a radio frequency transceiving circuit coupled to the processor; the processor is configured to send N channel measurements to a station through the radio frequency transceiving circuit Frame, the channel measurement frame is used to instruct the station to send the channel quality parameter statistical value corresponding to the channel measurement frame to the access point, and the N is a positive integer; the processor is further used to: The radio frequency transceiver circuit receives the channel quality parameter statistical value fed back by the station; determines the weight corresponding to the channel measurement frame according to the channel quality parameter statistical value; and determines the interface according to the weight and the N The frame error rate between the entry point and the site.
结合本申请实施例的第三方面,在本申请实施例的第三方面的一种实现方式中,所述处理器还用于执行如上述第一方面的任意一种方法。With reference to the third aspect of the embodiments of the present application, in an implementation manner of the third aspect of the embodiments of the present application, the processor is further configured to execute any method of the first aspect described above.
本申请实施例第四方面提供一种数据处理的系统,包括接入点和站点;所述接入点用于向站点发送N个信道测量帧,所述N为正整数;所述站点用于向所述接入点发送所述信道测量帧对应的信道质量参数统计值;所述接入点还用于接收所述信道质量参数统计值;所述接入点还用于根据所述信道质量参数统计值确定所述信道测量帧对应的权重;所述接入点还用于根据所述权重以及所述N确定所述接入点与所述站点之间的误帧率。The fourth aspect of the embodiments of the present application provides a data processing system, including an access point and a station; the access point is used to send N channel measurement frames to the station, where N is a positive integer; the station is used for Send the channel quality parameter statistical value corresponding to the channel measurement frame to the access point; the access point is also used to receive the channel quality parameter statistical value; the access point is also used to receive the channel quality parameter statistical value according to the channel quality The parameter statistical value determines the weight corresponding to the channel measurement frame; the access point is further configured to determine the frame error rate between the access point and the station according to the weight and the N.
结合本申请实施例的第四方面,在本申请实施例的第四方面的一种实现方式中,所述接入点还用于执行如上述第一方面的任意一种方法。With reference to the fourth aspect of the embodiments of the present application, in an implementation manner of the fourth aspect of the embodiments of the present application, the access point is further configured to execute any method of the first aspect described above.
本申请实施例第五方面提供一种计算机可读存储介质,包括指令,当所述指令在计算 机上运行时,使得计算机执行如上述第一方面的任意一种方法。A fifth aspect of the embodiments of the present application provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute any method as described in the first aspect.
本申请实施例第六方面提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如上述第一方面的任意一种方法。The sixth aspect of the embodiments of the present application provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any method as in the first aspect described above.
本申请实施例提供的技术方案中,发送端向接收端发送N个信道测量帧,接收端根据信道测量帧的接收情况确定每个信道测量帧对应的信道质量参数统计值,并反馈至发送端,然后发送端接收到该信道质量参数统计值。发送端可以根据信道质量参数统计值确定该信道测量帧对应的权重。最后发送端根据权重以及信道测量帧的数量N确定发送端与接收端之间的误帧率。本申请实施例中,不同的丢帧原因能够得到不同的信道质量参数统计值,发送端根据该信道质量参数统计值可以确定各个丢帧原因对应的权重,对于重要的丢帧原因,发送端可以设定较高的权重,对于无关的丢帧原因,发送端可以设定较低的权重,然后根据权重以及信道测量帧的数量确定误帧率。发送端根据权重计算得到的误帧率能够准确体现链路状况,发送端进行优化调整时效果更好。In the technical solution provided by the embodiments of the present application, the sending end sends N channel measurement frames to the receiving end, and the receiving end determines the channel quality parameter statistical value corresponding to each channel measurement frame according to the reception of the channel measurement frame, and feeds it back to the sending end , And then the sender receives the statistical value of the channel quality parameter. The sending end may determine the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter. Finally, the sending end determines the frame error rate between the sending end and the receiving end according to the weight and the number of channel measurement frames N. In the embodiments of the present application, different frame loss causes can obtain different channel quality parameter statistical values. The sending end can determine the weight corresponding to each frame loss cause according to the channel quality parameter statistical value. For important frame loss reasons, the sending end can Set a higher weight. For irrelevant frame loss reasons, the sender can set a lower weight, and then determine the frame error rate according to the weight and the number of channel measurement frames. The frame error rate calculated by the sending end according to the weight can accurately reflect the link status, and the effect is better when the sending end performs optimization and adjustment.
附图说明Description of the drawings
图1为本申请实施例中,发送端与接收端通过WLAN帧通信的示例图;FIG. 1 is an example diagram of communication between the sending end and the receiving end through WLAN frames in an embodiment of the application;
图2为当前发送端与接收端之间的信道示例图;Figure 2 is a diagram showing an example of a channel between the current transmitting end and the receiving end;
图3为本申请实施例中确定误帧率的方法的示意图;FIG. 3 is a schematic diagram of a method for determining a frame error rate in an embodiment of the application;
图4为本申请是实施例中,发送端与接收端的通信示例图;FIG. 4 is an example diagram of communication between the sending end and the receiving end in an embodiment of this application;
图5为本申请实施例中MAC帧的一种示例图;FIG. 5 is an example diagram of a MAC frame in an embodiment of the application;
图6为本申请实施例中信道测量帧的一种示例图;FIG. 6 is an example diagram of a channel measurement frame in an embodiment of this application;
图7为本申请实施例中ACK帧的一种示例图;FIG. 7 is an example diagram of an ACK frame in an embodiment of the application;
图8为本申请实施例中确认帧的一种示例图;FIG. 8 is an example diagram of a confirmation frame in an embodiment of this application;
图9为本申请实施例中BA帧的一种示例图;FIG. 9 is an example diagram of a BA frame in an embodiment of the application;
图10为本申请实施例中确认帧的另一种示例图;FIG. 10 is another example diagram of the confirmation frame in the embodiment of this application;
图11为本申请实施例中接入点的一种示例图;FIG. 11 is an example diagram of an access point in an embodiment of this application;
图12为本申请实施例中站点的一种示例图;FIG. 12 is an example diagram of a site in an embodiment of this application;
图13为本申请实施例中数据处理的系统示例图。FIG. 13 is an example diagram of a data processing system in an embodiment of this application.
具体实施方式Detailed ways
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“对应于”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, without having to use To describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "corresponding to" and any variations of them are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to a clearly listed Instead, it may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本 申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
为了下述各实施例的描述清楚简洁,首先给出相关技术的简要介绍:In order to make the description of the following embodiments clear and concise, a brief introduction of related technologies is first given:
无线局域网(wireless local area networks,WLAN)指应用无线通信技术将计算机设备互联起来,构成可以互相通信和实现资源共享的网络体系。无线局域网本质的特点是不再使用通信电缆将计算机与网络连接起来,而是通过无线的方式连接,从而使网络的构建和终端的移动更加灵活。Wireless local area networks (WLAN) refers to the application of wireless communication technology to interconnect computer devices to form a network system that can communicate with each other and share resources. The essential feature of the wireless local area network is that it no longer uses a communication cable to connect the computer to the network, but connects it wirelessly, which makes the construction of the network and the movement of the terminal more flexible.
其中,无线通信(wireless communication)技术是利用电磁波信号可以在自由空间中传播的特性进行信息交换的一种通信方式。在WLAN中,发送端和接收端一般通过WLAN帧在一定的信道中交换信息。信道(channel)在本申请实施例中可以是无线信道,是以无线信号作为传输媒体的数据信号传送通道,一般依据无线信号所用的频段划分。其中,无线信号在链路层中以WLAN帧的形式传输。WLAN帧可以包括但不限于数据帧,控制帧,管理帧,探测帧,业务帧以及非业务帧等。Among them, wireless communication (wireless communication) technology is a communication method that uses the characteristic that electromagnetic wave signals can propagate in free space for information exchange. In WLAN, the sender and receiver generally exchange information in a certain channel through WLAN frames. A channel may be a wireless channel in the embodiment of the present application, which is a data signal transmission channel that uses a wireless signal as a transmission medium, and is generally divided according to the frequency band used by the wireless signal. Among them, wireless signals are transmitted in the form of WLAN frames in the link layer. WLAN frames may include, but are not limited to, data frames, control frames, management frames, detection frames, service frames, and non-service frames.
图1为本申请实施例中,发送端与接收端通过WLAN帧通信的示例图。可见,一个发送端101可以与多个接收端102通信。发送端101和接收端102可以是相同类型的设备,也可以是不同类型的设备,具体可以是基站,无线接入点(access point,AP),路由器,电子设备等。其中,电子设备可以是手机、智能手表、智能音箱等,本申请实施例对此不做限定。可以理解的是,在一些实施例中,发送端101和接收端102的收发关系可以互换。例如,手机也可以作为发送端与其他手机通信。FIG. 1 is an example diagram of communication between a sending end and a receiving end through a WLAN frame in an embodiment of the application. It can be seen that one sending end 101 can communicate with multiple receiving ends 102. The sending end 101 and the receiving end 102 may be the same type of equipment or different types of equipment, and specifically may be a base station, a wireless access point (AP), a router, an electronic device, and so on. Among them, the electronic device may be a mobile phone, a smart watch, a smart speaker, etc., which is not limited in the embodiment of the present application. It can be understood that, in some embodiments, the sending and receiving relationship between the sending end 101 and the receiving end 102 can be exchanged. For example, a mobile phone can also be used as a sender to communicate with other mobile phones.
在发送端与接收端的通信过程中,无线信道的时变特性要求各种收发参数能够自动调整,以适应信道环境,从而保证服务质量(quality of service,QoS)。目前发送端一般按照IEEE 802.11协议进行自动调整。In the communication process between the sending end and the receiving end, the time-varying characteristics of the wireless channel require that various sending and receiving parameters can be automatically adjusted to adapt to the channel environment, thereby ensuring the quality of service (QoS). At present, the sender generally adjusts automatically according to the IEEE 802.11 protocol.
图2为当前发送端与接收端之间的信道示例图。图2中包括第一信道21和第二信道22。第一信道21被箭头分割为上半部分和下半部分,第一信道21的上半部分显示发送端向接收端发送的WLAN帧,第一信道21的下半部分显示接收端向发送端发送的WLAN帧。第二信道22与第一信道21类似,此处不再赘述。发送端首先通过第一信道21向接收端发送探测帧201。探测帧201可以是数据帧,管理帧,控制帧或者其他私有格式帧。探测帧201中可以包括附加信息,该附加信息用于指示接收端向发送端发送信息反馈帧203,接收端接收到探测帧201后,按照IEEE 802.11协议通过第一信道向发送端返回确认帧202。并且,接收端响应于探测帧201中的附加信息,统计得到信道质量信息。信道质量信息可以包括但不限于队列长度、信道负载、误包率、探测帧201的信噪比(signal-to-noise ratio,SNR)/误差向量幅度(error vector magnitude,EVM)/接收信号强度(received signal strength indication,RSSI)等指标在每空间流、每符号、每20MHz带宽等粒度上的统计等等。在一些实施例中,发送端可以在同一时间发送多个无线信号,每一份无线信号都可以称为一个空间流。空间流可以通过发送端的天线进行发送,每个空间流可以通过不同的路径到达接收端。然后,接收端可以生成信息反馈帧203,该信息反馈帧中可以携带接收 端统计得到的信道质量信息。信息反馈帧203可以是数据帧,管理帧,控制帧、业务帧、非业务帧中的一种。示例性的,接收端可以通过信道竞争确定信息反馈帧203传输时所用的信道为第二信道22。然后接收端通过第二信道22向该发送端发送信息反馈帧203。Figure 2 is an example diagram of the current channel between the sending end and the receiving end. The first channel 21 and the second channel 22 are included in FIG. 2. The first channel 21 is divided into an upper part and a lower part by arrows. The upper part of the first channel 21 shows the WLAN frame sent by the sender to the receiver, and the lower part of the first channel 21 shows the receiver sends to the sender. WLAN frame. The second channel 22 is similar to the first channel 21, and will not be repeated here. The sending end first sends a detection frame 201 to the receiving end through the first channel 21. The detection frame 201 may be a data frame, a management frame, a control frame or other proprietary format frames. The detection frame 201 may include additional information, which is used to instruct the receiving end to send an information feedback frame 203 to the sending end. After receiving the detection frame 201, the receiving end returns an acknowledgement frame 202 to the sending end through the first channel according to the IEEE 802.11 protocol. . In addition, the receiving end responds to the additional information in the detection frame 201 to obtain channel quality information through statistics. Channel quality information may include, but is not limited to, queue length, channel load, packet error rate, signal-to-noise ratio (SNR)/error vector magnitude (EVM)/received signal strength of detection frame 201 Statistics of indicators (received signal strength indication, RSSI) at the granularity of each spatial stream, each symbol, and each 20MHz bandwidth, etc. In some embodiments, the sending end may send multiple wireless signals at the same time, and each wireless signal may be referred to as a spatial stream. The spatial stream can be sent through the antenna at the transmitting end, and each spatial stream can reach the receiving end through a different path. Then, the receiving end may generate an information feedback frame 203, and the information feedback frame may carry channel quality information obtained by statistics of the receiving end. The information feedback frame 203 may be one of a data frame, a management frame, a control frame, a service frame, and a non-service frame. Exemplarily, the receiving end may determine through channel competition that the channel used when the information feedback frame 203 is transmitted is the second channel 22. Then the receiving end sends an information feedback frame 203 to the sending end through the second channel 22.
发送端通过第二信道22接收到信息反馈帧203后,可以按照IEEE 802.11协议向接收端返回确认帧204。并且,发送端可以根据信息反馈帧203中的信道质量信息进行自动调整各种发射参数。例如,发送端可以调整链路速率,调整信号发送功率或者调整信号频率。本申请实施例对发送端调整参数的调整算法不做具体限定。在实际应用中,发送端还可以调整其他发射参数,例如链路速率等,本申请实施例对调整发射参数的类型不做具体限定。After receiving the information feedback frame 203 through the second channel 22, the sending end may return an acknowledgement frame 204 to the receiving end according to the IEEE 802.11 protocol. In addition, the sending end can automatically adjust various transmission parameters according to the channel quality information in the information feedback frame 203. For example, the transmitting end can adjust the link rate, adjust the signal transmission power, or adjust the signal frequency. The embodiment of the present application does not specifically limit the adjustment algorithm of the adjustment parameter of the sender. In practical applications, the sending end may also adjust other transmission parameters, such as link rate, etc. The embodiment of the present application does not specifically limit the type of adjusting transmission parameters.
当大部分的探测帧201因为干扰导致了丢帧时,发送端降低链路速率并不能解决由于干扰导致的丢帧问题。但是此时发送端根据信道质量信息统计到的误帧率偏高,发送端仍然采取了降低链路速率的调整措施。因此,上述方式容易导致误降链路速率的技术问题。When most of the detection frames 201 are lost due to interference, reducing the link rate at the transmitting end cannot solve the problem of frame loss due to interference. However, at this time, the frame error rate calculated by the sender according to the channel quality information is too high, and the sender still takes adjustment measures to reduce the link rate. Therefore, the above method is likely to cause the technical problem of erroneously lowering the link rate.
为解决上述问题,本申请实施例提供了一种确定误帧率的方法,如图3所示,包括:In order to solve the foregoing problem, an embodiment of the present application provides a method for determining a frame error rate, as shown in FIG. 3, which includes:
301、发送端向接收端发送信道测量帧;301. The sending end sends a channel measurement frame to the receiving end;
在一些实施例中,信道测量帧是指用于信道测量的WLAN帧,可以是业务帧,也可以是发送端自行构造的非业务帧。信道测量帧所测量的信道为信道测量帧当前所用的信道。In some embodiments, the channel measurement frame refers to a WLAN frame used for channel measurement, which may be a service frame or a non-service frame constructed by the sender itself. The channel measured by the channel measurement frame is the channel currently used by the channel measurement frame.
在一些实施例中,信道测量帧中包括附加信息,与前述探测帧201类似,此处不再赘述。In some embodiments, the channel measurement frame includes additional information, which is similar to the aforementioned detection frame 201, and will not be repeated here.
302、接收端根据信道测量帧接收情况确定信道质量参数统计值;302. The receiving end determines the channel quality parameter statistical value according to the reception situation of the channel measurement frame.
在本申请实施例中,信道测量帧可以包括多个子帧,每个子帧可以包括多个符号。示例性的,某个信道测量帧包括10个子帧,每个子帧包括14个符号,则该信道测量帧包括140个符号。In the embodiment of the present application, the channel measurement frame may include multiple subframes, and each subframe may include multiple symbols. Exemplarily, a certain channel measurement frame includes 10 subframes, and each subframe includes 14 symbols, then the channel measurement frame includes 140 symbols.
在一些实施例中,接收端可以根据信道测量帧接收情况确定信道测量帧中每个符号对应的SNR。示例性的,信道测量帧中包括140个符号,则接收端可以确定140个SNR。然后,接收端可以统计所有SNR的最大值、最小值和平均值。示例性的,接收端确定140个SNR后,可以统计这140个SNR的最大值、最小值和平均值。In some embodiments, the receiving end may determine the SNR corresponding to each symbol in the channel measurement frame according to the reception of the channel measurement frame. Exemplarily, if 140 symbols are included in the channel measurement frame, the receiving end can determine 140 SNRs. Then, the receiving end can count the maximum, minimum, and average values of all SNRs. Exemplarily, after the receiving end determines 140 SNRs, the maximum, minimum, and average values of the 140 SNRs can be counted.
在一些实施例中,接收端可以根据信道测量帧接收情况确定信道测量帧中每个符号对应的EVM。示例性的,信道测量帧中包括140个符号,则接收端可以确定140个EVM。然后,接收端可以统计所有EVM的最大值、最小值和平均值。示例性的,接收端确定140个SNR后,可以统计这140个EVM的最大值、最小值和平均值。In some embodiments, the receiving end may determine the EVM corresponding to each symbol in the channel measurement frame according to the reception of the channel measurement frame. Exemplarily, if 140 symbols are included in the channel measurement frame, the receiving end can determine 140 EVMs. Then, the receiving end can count the maximum, minimum, and average values of all EVMs. Exemplarily, after the receiving end determines 140 SNRs, the maximum, minimum, and average values of these 140 EVMs can be counted.
在实际应用中,接收端还可以根据信道测量帧接收情况确定信道测量帧中的其他信道质量参数,并确定其最大值、最小值和平均值,此处不再赘述。可以理解的是,信道质量参数可以是上述的SNR、EVM,还可以是RSSI等,本申请实施例对此不做限定。信道质量参数统计值可以是信道质量参数的最大值、最小值和平均值,在实际应用中,还可以是其他统计值,例如标准差等,本申请实施例对此不做限定。在本申请实施例中,上述信道质量参数所对应的信道可以为接收端当前接收的信道测量帧所用的信道,如图4所示,发送端通过第三信道41向接收端发送信道测量帧,则信道质量参数对应的信道为第三信道41。In practical applications, the receiving end can also determine other channel quality parameters in the channel measurement frame according to the reception of the channel measurement frame, and determine the maximum value, minimum value, and average value, which will not be repeated here. It is understandable that the channel quality parameter may be the aforementioned SNR, EVM, or RSSI, which is not limited in the embodiment of the present application. The channel quality parameter statistical value may be the maximum value, the minimum value, and the average value of the channel quality parameter. In practical applications, it may also be other statistical values, such as standard deviation, which are not limited in the embodiment of the present application. In the embodiment of the present application, the channel corresponding to the above-mentioned channel quality parameter may be the channel used by the channel measurement frame currently received by the receiving end. As shown in FIG. 4, the transmitting end sends the channel measurement frame to the receiving end through the third channel 41. Then the channel corresponding to the channel quality parameter is the third channel 41.
303、接收端向发送端发送信道质量参数统计值;303. The receiving end sends the channel quality parameter statistical value to the sending end.
在本申请实施例中,接收端可以通过确认帧将信道质量参数统计值发送至发送端。示例性的,接收端可以在确认帧中携带信道质量参数统计值,然后将确认帧发送至发送端。在本申请实施例中,接收端可以直接在确认帧中携带信道质量参数统计值,不需要通过信息反馈帧传输该信道质量参数统计值。因此接收端不需要信道竞争便可以将信道质量参数统计值发送至发送端,避免了信道竞争带来的碰撞开销。In the embodiment of the present application, the receiving end may send the channel quality parameter statistical value to the sending end through an acknowledgement frame. Exemplarily, the receiving end may carry the channel quality parameter statistical value in the confirmation frame, and then send the confirmation frame to the sending end. In the embodiment of the present application, the receiving end may directly carry the channel quality parameter statistical value in the confirmation frame, and there is no need to transmit the channel quality parameter statistical value through the information feedback frame. Therefore, the receiving end can send the channel quality parameter statistics to the transmitting end without channel competition, avoiding collision overhead caused by channel competition.
在一些实施例中,确认帧可以为确认(acknowledge,ACK)帧。ACK帧是一种控制帧,用于向发送端反馈确认收到信道测量帧。In some embodiments, the acknowledgement frame may be an acknowledgement (acknowledge, ACK) frame. The ACK frame is a control frame that is used to feed back to the sender confirming the receipt of the channel measurement frame.
在另一些实施例中,确认帧可以为块确认(block ack,BA)帧或多用户块确认(multi-user block ack,MBA)帧。当发送端和接收端之间的通信采用帧聚合技术(FrameAggregation)时,接收端通常采用BA帧或MBA帧向发送端反馈确认收到信道测量帧。帧聚合技术可以包括针对MSDU的聚合(A-MSDU)和针对MPDU的聚合(A-MPDU),本申请实施例对此不做限定。In other embodiments, the confirmation frame may be a block ack (BA) frame or a multi-user block ack (MBA) frame. When the frame aggregation technology (Frame Aggregation) is used for the communication between the sender and the receiver, the receiver usually uses a BA frame or an MBA frame to feed back to the sender to confirm receipt of the channel measurement frame. The frame aggregation technology may include aggregation for MSDU (A-MSDU) and aggregation for MPDU (A-MPDU), which is not limited in the embodiment of the present application.
304、发送端根据信道质量参数统计值确定信道测量帧对应的权重;304. The transmitting end determines the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter.
在本申请实施例中,发送端首先接收到接收端的确认帧,确认帧中携带有信道质量参数统计值。然后,发送端可以根据信道质量参数统计值确定信道测量帧对应的权重。在一些实施例中,发送端预先设定丢帧原因、判断条件和权重的关联关系。示例性的,表1为本申请实施例中该关联关系的一种示例。在一些实施例中,判断条件可以包括第一条件、第二条件,为方便描述,本申请实施例统一称为判断条件。In the embodiment of the present application, the sending end first receives the confirmation frame from the receiving end, and the confirmation frame carries the channel quality parameter statistical value. Then, the sending end can determine the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter. In some embodiments, the sender pre-sets the association relationship between the cause of frame loss, the judgment condition, and the weight. Exemplarily, Table 1 is an example of the association relationship in the embodiment of the application. In some embodiments, the judgment condition may include a first condition and a second condition. For ease of description, the embodiments of the present application are collectively referred to as the judgment condition.
表1Table 1
判断条件Analyzing conditions 权重Weights 丢帧原因Reasons for frame loss
D<D th1 D<D th1 第一权重First weight 衰减attenuation
D≥D th2,确认帧为BA帧或MBA帧,D min≥D max D≥D th2 , the confirmation frame is BA frame or MBA frame, D min ≥D max 第二权重Second weight 干扰interference
D≥D th2,确认帧为BA帧或MBA帧,D min<D max D≥D th2 , the confirmation frame is BA frame or MBA frame, D min <D max 第一权重First weight 衰减attenuation
D≥D th2,确认帧为ACK帧,且发生过硬件重传,D min≥D max D≥D th2 , the confirmation frame is an ACK frame, and hardware retransmission has occurred, D min ≥D max 第二权重Second weight 干扰interference
D≥D th2,确认帧为ACK帧,且发生过硬件重传,D min<D max D≥D th2 , the confirmation frame is an ACK frame, and hardware retransmission has occurred, D min <D max 第一权重First weight 衰减attenuation
表1中,D min=avg-min,D max=max-avg,D=|D min-D max|,其中,avg为信道质量参数的平均值,min为信道质量参数的最小值,max为信道质量参数的最大值。示例性的,接收端统计的得到140个SNR,则avg为140个SNR的平均值,min为140个SNR中的最小值,max为140个SNR中的最大值。发送端可以接收到avg、min和max,然后计算得到D min、D max和D。 In Table 1, D min =avg-min, D max =max-avg, D=|D min -D max |, where avg is the average value of channel quality parameters, min is the minimum value of channel quality parameters, and max is The maximum value of the channel quality parameter. Exemplarily, if the receiving end obtains 140 SNR statistics, avg is the average value of 140 SNRs, min is the minimum value of 140 SNRs, and max is the maximum value of 140 SNRs. The sending end can receive avg, min, and max, and then calculate D min , D max and D.
在一些实施例中,发送端可以预先设定D th1和D th2。其中,D th1为第一预设阈值,D th2为第二预设阈值。示例性的,工作人员将D th1和D th2的具体数值输入发送端,则发送端可以记录这两个数值并作为第一预设阈值和第二预设阈值。发送端记录第一预设阈值和第二预设阈值的实现方式可以是发送端将第一预设阈值和第二预设阈值存储在数据库,也可以是发送端通过芯片的存储器保存该第一预设阈值和第二预设阈值。 In some embodiments, the sending end may preset D th1 and D th2 . Wherein, D th1 is the first preset threshold, and D th2 is the second preset threshold. Exemplarily, a worker inputs specific values of D th1 and D th2 into the sending end, and the sending end may record these two values as the first preset threshold and the second preset threshold. The sending end records the first preset threshold value and the second preset threshold value can be realized by the sending end storing the first preset threshold value and the second preset threshold value in the database, or the sending end can save the first preset threshold value and the second preset threshold value in the memory The preset threshold and the second preset threshold.
在一些实施例中,D th1可以等于D th2。在另一些实施例中,D th1可以小于D th2。此时可能出现确认帧携带的信道质量参数统计值不满足表1中的所有判断条件的情况。若发送端确 定该确认帧携带的信道质量参数统计值不满足表1中的所有判断条件,则发送端可以设定对应的信道测量帧的权重为第三权重。 In some embodiments, D th1 may be equal to D th2 . In other embodiments, D th1 may be smaller than D th2 . At this time, it may happen that the statistical values of the channel quality parameters carried in the confirmation frame do not meet all the judgment conditions in Table 1. If the sending end determines that the statistical values of the channel quality parameters carried in the confirmation frame do not satisfy all the judgment conditions in Table 1, the sending end can set the weight of the corresponding channel measurement frame as the third weight.
在一些实施例中,发送端可以预先设定丢帧原因、判断条件和权重的关联关系。示例性的,工作人员可以通过终端与发送端连接,并通过终端的输入设备将丢帧原因、判断条件和权重输入发送端,使得发送端建立丢帧原因、判断条件和权重的关联关系。例如,发送端为家庭路由器,则工作人员可以通过计算机连接家庭路由器,并将丢帧原因、判断条件和权重输入家庭路由器,使得家庭路由器建立丢帧原因、判断条件和权重的关联关系。当发送端接收到接收端的确认帧后,可以根据预先建立的关联关系确定对应信道测量帧的权重。In some embodiments, the sending end may pre-set the association relationship between the cause of the frame loss, the judgment condition and the weight. Exemplarily, a worker can connect to the sending end through a terminal, and input the frame loss cause, judgment condition, and weight into the sending end through an input device of the terminal, so that the sending end establishes an association relationship between the frame loss cause, judgment condition, and weight. For example, if the sending end is a home router, the worker can connect to the home router through a computer, and input the frame loss reason, judgment condition and weight into the home router, so that the home router establishes an association relationship between the frame loss reason, judgment condition and weight. After the sending end receives the confirmation frame from the receiving end, the weight of the corresponding channel measurement frame can be determined according to the pre-established association relationship.
在一些实施例中,发送端接收到接收端的确认帧后,可以判断该确认帧的类型,并且从确认帧中提取avg、min和max,然后计算得到D min、D max和D。确认帧的类型可以是ACK帧、BA帧或MBA帧。然后根据如表1的判断条件确定对应的信道测量帧的权重。 In some embodiments, after receiving the confirmation frame from the receiving end, the sending end can determine the type of the confirmation frame, and extract avg, min, and max from the confirmation frame, and then calculate D min , D max and D. The type of confirmation frame can be ACK frame, BA frame or MBA frame. Then determine the weight of the corresponding channel measurement frame according to the judgment conditions as shown in Table 1.
在一些实施例中,若发送端和接收端通信时采用帧聚合技术,则发送端默认接收端的确认帧为BA帧或MBA帧。在一些实施例中,若发送端和接收端通信时采用自动重传请求(automatic repeat request,ARQ),则发送端确定接收端的确认帧为ACK帧,并进一步判断该ACK帧是否为接收端经过硬件重传后发送的ACK帧。In some embodiments, if the frame aggregation technology is adopted for the communication between the sender and the receiver, the sender defaults that the acknowledgement frame of the receiver is a BA frame or an MBA frame. In some embodiments, if an automatic repeat request (ARQ) is used during the communication between the sender and the receiver, the sender determines that the acknowledgement frame of the receiver is an ACK frame, and further determines whether the ACK frame is passed by the receiver. ACK frame sent after hardware retransmission.
可以理解的是,表1中的丢帧原因与权重具有关联关系,例如第一权重关联的丢帧原因为衰减,第二权重关联的丢帧原因为干扰。在实际应用中,发送端还可以设定其他判断条件、权重和丢帧原因,本申请实施例对此不做限定。It can be understood that the frame loss reasons in Table 1 are related to weights. For example, the frame loss cause associated with the first weight is attenuation, and the frame loss cause associated with the second weight is interference. In practical applications, the sending end may also set other judgment conditions, weights, and frame loss reasons, which are not limited in the embodiment of the present application.
在本申请实施例中,SNR是信号与干扰加噪声比(signal to interference plus noise ratio,SINR)的简写,SINR=Signal/(Interference+Noise),其中,Signal表示接收端测量到的有用信号的功率,Interference表示接收端测量到的信号或信道干扰信号的功率,包括本系统其他小区的干扰,以及异系统的干扰,Noise表示低噪,与具体测量带宽和接收机噪声系数有关。基于这个SINR的计算公式,可以认为衰减是指Signal比较小的情形,干扰(或者碰撞)是Interference比较大的情形。衰减和干扰这两种情形均会导致SINR值较小,使得发送端在这两种情形时对信道质量作出相同的判断。因此,在一些实施例中,发送端根据这两种情形设定不同的权重,以使得发送端在这两种情形时对信道质量作出不同的判断。In the embodiments of this application, SNR is the abbreviation of signal to interference plus noise ratio (SINR), SINR=Signal/(Interference+Noise), where Signal represents the value of the useful signal measured by the receiving end Power, Interference represents the power of the signal or channel interference signal measured at the receiving end, including interference from other cells in the system and interference from different systems. Noise represents low noise, which is related to the specific measurement bandwidth and receiver noise figure. Based on this SINR calculation formula, it can be considered that the attenuation refers to the situation where the Signal is relatively small, and the interference (or collision) is the situation where the Interference is relatively large. Both the attenuation and interference will cause the SINR value to be small, so that the sender makes the same judgment on the channel quality in these two situations. Therefore, in some embodiments, the sending end sets different weights according to the two situations, so that the sending end makes different judgments on the channel quality in the two situations.
其中,丢帧原因为衰减时,接收端测量到的有用信号的功率比较小,因此在发送端进行调整时,可以加大有用信号的功率以减少丢帧。发送端在统计丢帧原因为衰减的丢帧情况时,可以对误帧计数值赋予较高的权重,以进行适当的调整。而丢帧原因为干扰时,一般是Interference比较大的情形,即信道干扰信号的功率较大,此时发送端一般难以进行调整,而应该人工排查干扰情况。因此,发送端在统计丢帧原因为干扰的丢帧情况时,可以对误帧计数值赋予较低的权重,避免由于干扰导致错误调整。在一些实施例中,发送端设定的第一权重比第二权重大。示例性的,发送端可以设定衰减关联的第一权重为0.8,干扰关联的第二权重为0.1。Among them, when the cause of frame loss is attenuation, the power of the useful signal measured by the receiving end is relatively small. Therefore, when adjusting at the transmitting end, the power of the useful signal can be increased to reduce frame loss. The sender can assign a higher weight to the error frame count value to make appropriate adjustments when counting the frame loss situations where the cause of the frame loss is attenuation. When the cause of frame loss is interference, it is generally the case that the Interference is relatively large, that is, the power of the channel interference signal is large, and it is generally difficult for the sender to adjust at this time, and the interference should be checked manually. Therefore, the sender can assign a lower weight to the error frame count value when counting the frame loss situations where the cause of the frame loss is interference, so as to avoid erroneous adjustments due to interference. In some embodiments, the first weight set by the sending end is greater than the second weight. Exemplarily, the transmitting end may set the first weight of the attenuation association to 0.8, and the second weight of the interference association to 0.1.
305、发送端信道测量帧对应的权重以及信道测量帧的总数确定误帧率。305. The weight corresponding to the channel measurement frame at the transmitting end and the total number of channel measurement frames determine the frame error rate.
在本申请实施例中,发送端可以向接收端发送N个信道测量帧,N为正整数。发送端可以根据接收到的信道质量参数统计值以及预设的判断条件确定这N个信道测量帧的权重。In the embodiment of the present application, the sending end may send N channel measurement frames to the receiving end, and N is a positive integer. The sending end may determine the weights of the N channel measurement frames according to the received statistical values of channel quality parameters and preset judgment conditions.
在一些实施例中,发送端可以获取信道测量帧的误帧情况,误帧情况包括计数值为1的误帧以及计数值为0的正确帧,发送端获取误帧情况的实现方式与传统计算误帧率的方式类似,此处不再赘述。示例性的,发送端向接收端发送1000个信道测量帧后,发送端确定误帧情况为其中5个信道测量帧为误帧,其余995个信道测量帧为正确帧。In some embodiments, the sender can obtain the error frame condition of the channel measurement frame. The error frame condition includes the error frame with a count value of 1 and the correct frame with a count value of 0. The implementation method for the sender to obtain the error frame condition is the same as traditional calculations. The frame error rate method is similar and will not be repeated here. Exemplarily, after the sending end sends 1000 channel measurement frames to the receiving end, the sending end determines that the error frame condition is that 5 of the channel measurement frames are error frames, and the remaining 995 channel measurement frames are correct frames.
在一些实施例中,发送端可以将误帧的计数值与误帧对应的权重相乘,得到误帧的目标技术值。示例性的,这5个误帧的权重分别是0.1、0.8、0.1、0.1、0.1,则发送端将计数值和权重相乘后,可以得到这5个误帧的目标计数值为0.1、0.8、0.1、0.1、0.1。In some embodiments, the sending end may multiply the error frame count value with the weight corresponding to the error frame to obtain the target technical value of the error frame. Exemplarily, the weights of the 5 errored frames are 0.1, 0.8, 0.1, 0.1, 0.1, and the sender multiplies the count value and the weight to obtain the target count value of the 5 errored frames is 0.1, 0.8 , 0.1, 0.1, 0.1.
在一些实施例中,发送端可以计算误帧的目标计数值之和,然后用目标计数值之和除以信道测量帧总数N,得到误帧率。示例性的,5个误帧的目标计数值为0.1、0.8、0.1、0.1、0.1,目标计数值之和为1.2,信道测量帧总数N为1000,则误帧率为千分之1.2。In some embodiments, the sending end may calculate the sum of the target count values of error frames, and then divide the sum of the target count values by the total number of channel measurement frames N to obtain the frame error rate. Exemplarily, the target count values of 5 errored frames are 0.1, 0.8, 0.1, 0.1, 0.1, the sum of the target count values is 1.2, and the total number of channel measurement frames N is 1000, then the frame error rate is 1.2 per thousand.
在一些实施例中,发送端可以根据确定的误帧率进行自动调整。示例性的,发送端设定的自动调整规则为:若误帧率大于或等于预设阈值(千分之5),则降低链路速率,若误帧率小于预设阈值(千分之5),则不降低链路速率。假设发送端发送的1000个信道测量帧中有5个为误帧,分别由于干扰、衰减、干扰、干扰、干扰而导致了误帧。则发送端可以根据步骤304的判断规则确定这5个误帧的权重是0.1、0.8、0.1、0.1、0.1,最终计算得到误帧率为千分之1.2。则发送端根据上述自动调整规则不会降低链路速率。但是,若采用传统的方式计算误帧率,则发送端计算得到误帧率为千分之5,根据上述自动调整规则将会导致误降链路速率。因此,本申请实施例实际上能够对丢帧原因进行分析,解决当前计算误帧率的方式会因为干扰的丢帧原因而误降链路速率的技术问题。In some embodiments, the sending end can automatically adjust according to the determined frame error rate. Exemplarily, the automatic adjustment rule set by the sender is: if the frame error rate is greater than or equal to the preset threshold (5 parts per thousand), then the link rate is reduced; if the frame error rate is less than the preset threshold value (5 parts per thousand), ), the link rate is not reduced. Assume that 5 of the 1000 channel measurement frames sent by the sender are errored frames, and the errored frames are caused by interference, attenuation, interference, interference, and interference. Then the sending end can determine the weights of the five error frames to be 0.1, 0.8, 0.1, 0.1, 0.1 according to the judgment rule in step 304, and finally calculate the frame error rate to be 1.2 per thousand. Then the sender will not reduce the link rate according to the above-mentioned automatic adjustment rule. However, if the traditional method is used to calculate the frame error rate, the sending end calculates the frame error rate of 5 per thousand. According to the above-mentioned automatic adjustment rule, the link rate will be dropped by mistake. Therefore, the embodiment of the present application can actually analyze the cause of frame loss, and solve the technical problem that the current method of calculating the frame error rate will mistakenly drop the link rate due to the interference of the frame loss.
在实际应用中,发送端还可以通过其他自动调整算法,根据确定的误帧率进行发射参数的调整。例如发送端可以通过速率自适应算法(autorate)进行调整,本申请实施例对此不作具体限定。图4为本申请是实施例中,发送端与接收端的通信示例图。图4中第三信道41被箭头分割为上半部分和下半部分,上半部分显示发送端向接收端发送的WLAN帧,下半部分显示接收端向发送端发送的WLAN帧。发送端首先通过第三信道41向接收端发送信道测量帧401。信道测量帧401与前述图2对应的探测帧201类似,此处不再赘述。In practical applications, the sender can also adjust the transmission parameters according to the determined frame error rate through other automatic adjustment algorithms. For example, the sending end may adjust through a rate adaptive algorithm (autorate), which is not specifically limited in the embodiment of the present application. FIG. 4 is a diagram of an example of communication between the sending end and the receiving end in an embodiment of this application. In Fig. 4, the third channel 41 is divided by arrows into an upper part and a lower part. The upper part shows the WLAN frame sent by the sender to the receiver, and the lower part shows the WLAN frame sent by the receiver to the sender. The sending end first sends a channel measurement frame 401 to the receiving end through the third channel 41. The channel measurement frame 401 is similar to the detection frame 201 corresponding to FIG. 2, and will not be repeated here.
在本申请实施例中,信道测量帧401中包括附加信息402,附加信息402用于指示接收端向发送端发送确认帧403。示例性的,信道测量帧401由现有的MAC帧带上附加信息402形成,现有的MAC帧如图5所示。图5为本申请实施例中MAC帧的一种示例图。该MAC帧可以包括帧头字段501、高吞吐量控制(HT comtrol,HTC)字段502、关键字段(payload)503、帧校验序列(frame check sequence,FCS)504。其中,帧头部分501包括帧控制部分、地址等,本申请实施例对此不做具体限定。HTC字段502主要用于支持大吞吐量的数据传输。关键字段503也可以称为帧体字段,是MAC帧的主体部分,用于传输数据。FCS字段也称为帧尾,用于对MAC帧进行校验。发送端可以将附加信息402插入至如图5所示的MAC帧,形成如图6所示的信道测量帧401。发送端可以将附加信息402插入HTC字段 502之后,关键字段503之前。In the embodiment of the present application, the channel measurement frame 401 includes additional information 402, and the additional information 402 is used to instruct the receiving end to send an acknowledgement frame 403 to the sending end. Exemplarily, the channel measurement frame 401 is formed by an existing MAC frame with additional information 402, and the existing MAC frame is shown in FIG. 5. Fig. 5 is a diagram of an example of a MAC frame in an embodiment of the application. The MAC frame may include a frame header field 501, a high throughput control (HTcomtrol, HTC) field 502, a key field (payload) 503, and a frame check sequence (FCS) 504. Wherein, the frame header part 501 includes a frame control part, an address, etc., which are not specifically limited in the embodiment of the present application. The HTC field 502 is mainly used to support high-throughput data transmission. The key field 503 may also be referred to as a frame body field, which is the main part of the MAC frame and is used to transmit data. The FCS field is also called the frame tail, which is used to verify the MAC frame. The sending end can insert the additional information 402 into the MAC frame shown in FIG. 5 to form the channel measurement frame 401 shown in FIG. 6. The sender can insert the additional information 402 after the HTC field 502 and before the key field 503.
在一些实施例中,发送端还可以使用HTC字段中某一位用于指示该信道测量帧401具有附加信息402。示例性的,发送端可以使用HTC字段中的保留位,当发送端将该保留位的数值设置为1时,表示该信道测量帧401具有附加信息402,当发送端将该保留位的数值设置为0时,表示该信道测量帧401不具有附加信息402。在另一种示例中,HTC字段502具体为超高吞吐量控制字段(VHT HTC),则发送端可以复用VHT HTC中的coding type字段来表示该信道测量帧401中是否包含附加信息402。在实际应用中,HTC字段502还可以采用其他变体,发送端均可以通过复用HTC中的字段或使用保留位来表示该信道测量帧401中是否包含附加信息402,本申请实施例对此不再赘述。In some embodiments, the sending end may also use a bit in the HTC field to indicate that the channel measurement frame 401 has additional information 402. Exemplarily, the sender can use the reserved bit in the HTC field. When the sender sets the value of the reserved bit to 1, it means that the channel measurement frame 401 has additional information 402. When the sender sets the value of the reserved bit When it is 0, it means that the channel measurement frame 401 does not have additional information 402. In another example, the HTC field 502 is specifically a very high throughput control field (VHT HTC), and the sending end can multiplex the coding type field in the VHT HTC to indicate whether the channel measurement frame 401 contains additional information 402. In practical applications, the HTC field 502 can also adopt other variants. The sender can multiplex the HTC field or use reserved bits to indicate whether the channel measurement frame 401 contains additional information 402. This is the case in this application. No longer.
接收端接收到发送端的信道测量帧401后,可以响应于信道测量帧401中的附加信息402,统计得到反馈信息404。在一些实施例中,反馈信息404可以为前述图3对应的实施例中的信道质量参数统计值。并且,接收端可以将反馈信息404附加到确认帧403中。确认帧403可以是ACK帧、BA帧或MBA帧。After receiving the channel measurement frame 401 from the transmitting end, the receiving end may respond to the additional information 402 in the channel measurement frame 401 to obtain feedback information 404 by statistics. In some embodiments, the feedback information 404 may be the channel quality parameter statistical value in the embodiment corresponding to FIG. 3 described above. In addition, the receiving end may add the feedback information 404 to the confirmation frame 403. The confirmation frame 403 may be an ACK frame, a BA frame, or an MBA frame.
在一些实施例中,接收端可以将反馈信息404附加到ACK帧中。图7为本申请实施例中ACK帧的一种示例图。该ACK帧包括帧头字段701、关键字段702以及帧校验序列703。其中,帧头字段701包括帧控制域等字段,本申请实施例对此不做具体限定。关键字段702用于表示确认的地址、关联信息等,本申请实施例对此不做具体限定。帧校验序列703用于对ACK帧进行校验。接收端可以将反馈信息404插入到如图7所示的ACK帧,得到如图8所示的确认帧403。在一些实施例中,接收端可以将反馈信息404插入到关键字段702之后,帧校验序列703之前。并且接收端可以在反馈信息404之前插入幻数(magic number)404a用于表示该确认帧403具有反馈信息404。示例性的,幻数404a可以是0x5A5A5A5A。在实际应用中,接收端还可以采用其他代码表示幻数404a,本申请实施例对幻数的具体代码不做限定。In some embodiments, the receiving end may append the feedback information 404 to the ACK frame. FIG. 7 is an example diagram of an ACK frame in an embodiment of the application. The ACK frame includes a frame header field 701, a key field 702, and a frame check sequence 703. Wherein, the frame header field 701 includes fields such as the frame control field, which is not specifically limited in the embodiment of the present application. The key field 702 is used to indicate the confirmed address, associated information, etc., which is not specifically limited in the embodiment of the present application. The frame check sequence 703 is used to check the ACK frame. The receiving end can insert the feedback information 404 into the ACK frame as shown in FIG. 7 to obtain the confirmation frame 403 as shown in FIG. 8. In some embodiments, the receiving end may insert the feedback information 404 after the key field 702 and before the frame check sequence 703. In addition, the receiving end may insert a magic number 404a before the feedback information 404 to indicate that the confirmation frame 403 has the feedback information 404. Exemplarily, the magic number 404a may be 0x5A5A5A5A. In practical applications, the receiving end may also use other codes to represent the magic number 404a, and the specific code of the magic number is not limited in the embodiment of the present application.
在另一些实施例中,接收端可以将反馈信息404附加到BA帧中。图9为本申请实施例中BA帧的一种示例图。该BA帧包括帧头字段901、关键字段902和帧校验序列903。其中,帧头字段901包括帧控制域等字段,本申请实施例对此不做具体限定。关键字段902用于表示确认的地址、关联信息等,本申请实施例对此不做具体限定。帧校验序列903用于对ACK帧进行校验。接收端可以将反馈信息404插入到如图9所示的BA帧,得到如图10所示的确认帧403。在一些实施例中,接收端可以将反馈信息404插入到帧头字段901之后,关键字段903之前。并且,接收端还可以在反馈信息404之前插入幻数(magic number)404a用于表示该确认帧403具有反馈信息404。幻数的代码与图8所示的实施例中的幻数类似,此处不再赘述。In other embodiments, the receiving end may append the feedback information 404 to the BA frame. Fig. 9 is an example diagram of a BA frame in an embodiment of the application. The BA frame includes a frame header field 901, a key field 902, and a frame check sequence 903. Wherein, the frame header field 901 includes fields such as the frame control field, which is not specifically limited in the embodiment of the present application. The key field 902 is used to indicate the confirmed address, associated information, etc., which is not specifically limited in the embodiment of the present application. The frame check sequence 903 is used to check the ACK frame. The receiving end can insert the feedback information 404 into the BA frame as shown in FIG. 9 to obtain the confirmation frame 403 as shown in FIG. 10. In some embodiments, the receiving end may insert the feedback information 404 after the frame header field 901 and before the key field 903. In addition, the receiving end may also insert a magic number 404a before the feedback information 404 to indicate that the confirmation frame 403 has feedback information 404. The code of the magic number is similar to the magic number in the embodiment shown in FIG. 8, and will not be repeated here.
在另一些实施例中,接收端可以将反馈信息404附加到MBA帧中,与前述图9和图10对应的实施例类似,此处不再赘述。In other embodiments, the receiving end may add the feedback information 404 to the MBA frame, which is similar to the embodiments corresponding to FIG. 9 and FIG. 10 and will not be repeated here.
在一些实施例中,接收端还可以通过复用确认帧403中的某些字段,将反馈信息404附加到确认帧403中。复用的方式与前述图6对应的实施例中复用HTC字段的方式类似,本申请实施例对此不再赘述。In some embodiments, the receiving end may also add the feedback information 404 to the confirmation frame 403 by multiplexing certain fields in the confirmation frame 403. The multiplexing manner is similar to the multiplexing manner of the HTC field in the foregoing embodiment corresponding to FIG. 6, which is not repeated in the embodiment of the present application.
在本申请实施例中,接收端生成包含反馈信息404的确认帧403后,可以将确认帧403返回至发送端。在WLAN技术中,当发送端向接收端发送一个WLAN帧后,接收端会迅速返回一个确认帧,期间不会经过信道竞争。因此,本申请实施例将反馈信息404附加到确认帧403中,能够在没有信道竞争的情况下返回反馈信息404,避免竞争开销,加快了信息反馈的速度。In the embodiment of the present application, after the receiving end generates the confirmation frame 403 containing the feedback information 404, the confirmation frame 403 may be returned to the transmitting end. In WLAN technology, after the sender sends a WLAN frame to the receiver, the receiver will quickly return an acknowledgement frame without channel competition. Therefore, in the embodiment of the present application, the feedback information 404 is added to the confirmation frame 403, which can return the feedback information 404 without channel competition, avoiding competition overhead, and speeding up the information feedback.
图11为本申请实施例中接入点的示例图。在本申请实施例中,接入点(access point,AP)可以是发送端,也可以是接收端。为方便描述,本申请实施例以AP为发送端进行描述。该AP可以包括处理器1101和射频(radio frequency,RF)收发电路1102。其中,处理器1101可以为微处理器(microcontroller unit,MCU)、处理器、主处理器、控制器或者专用集成电路(application specific integrated circuit,ASIC)等等元件,可以利用各接口和线路连接AP的各个其他模块,执行各种类型的数字存储指令,执行AP的各种功能和处理数据,从而实现AP的各种功能。RF收发电路1102耦合至处理器1101,RF收发电路1102可以包括收发机、功率放大器、频率滤波器等器件,用于对信道测量帧进行滤波、功率放大等处理,本申请实施例对此不做具体限定。在实际应用中,AP可以根据实际需要增加其他模块或减少模块,例如媒体访问控制层(media access control,MAC)或物理层(physical layer,PHY),本申请实施例对此不做具体限定。Fig. 11 is an example diagram of an access point in an embodiment of the application. In this embodiment of the present application, an access point (access point, AP) may be the sending end or the receiving end. For ease of description, the embodiment of the present application uses the AP as the transmitting end for description. The AP may include a processor 1101 and a radio frequency (RF) transceiver circuit 1102. Among them, the processor 1101 may be a microprocessor (microcontroller unit, MCU), processor, main processor, controller, or application specific integrated circuit (ASIC), etc., and may be connected to the AP by using various interfaces and lines. The various other modules of the AP execute various types of digital storage instructions, perform various functions of the AP and process data, thereby realizing various functions of the AP. The RF transceiver circuit 1102 is coupled to the processor 1101. The RF transceiver circuit 1102 may include a transceiver, a power amplifier, a frequency filter and other devices for filtering and power amplifying the channel measurement frame. This is not done in this embodiment of the application. Specific restrictions. In practical applications, the AP can add other modules or reduce modules according to actual needs, such as media access control (MAC) or physical layer (PHY), which is not specifically limited in the embodiment of the present application.
在一些实施例中,该AP可以与站点(station,STA)通信,STA可以为WLAN中的客户端,可以是装有无线网卡的计算机,也可以是有WiFi模块的智能手机,可以是移动的,也可以是固定的。具体地,该STA包括但不限于手机、平板电脑、台式电脑等,本申请实施例对此不做限定。图12为站点STA的示例图。在本申请实施例中,STA可以包括处理器1201,以及耦合至处理器1201的RF收发电路1202。处理器1201可以为微处理器、处理器、主处理器、控制器或者专用集成电路等等元件。RF收发电路1202可以包括收发机、功率放大器、频率滤波器等器件。本申请实施例对此不做具体限定。In some embodiments, the AP can communicate with a station (STA). The STA can be a client in a WLAN, a computer equipped with a wireless network card, or a smart phone with a WiFi module, and it can be mobile. , It can also be fixed. Specifically, the STA includes but is not limited to a mobile phone, a tablet computer, a desktop computer, etc., which is not limited in the embodiment of the present application. Figure 12 is an example diagram of a station STA. In this embodiment of the present application, the STA may include a processor 1201 and an RF transceiver circuit 1202 coupled to the processor 1201. The processor 1201 may be an element such as a microprocessor, a processor, a main processor, a controller, or an application specific integrated circuit. The RF transceiver circuit 1202 may include devices such as transceivers, power amplifiers, and frequency filters. The embodiment of the application does not specifically limit this.
在一些实施例中,当AP需要确定误帧率时,处理器1101可以生成附加信息。然后,处理器1101可以将该附加信息插入WLAN帧中,并复用WLAN帧中的一些保留位,用于表示该WLAN帧具有附加信息,具体过程可参照前述图4至图10对应的实施例,此处不再赘述。插入了附加信息的WLAN帧也可以称为信道测量帧。处理器1101可以将生成好的信道测量帧传输至RF收发电路1102。然后,RF收发电路1102可以将该信道测量帧通过天线发送至STA,具体过程与前述实施例中的步骤301类似,此处不再赘述。In some embodiments, when the AP needs to determine the frame error rate, the processor 1101 may generate additional information. Then, the processor 1101 can insert the additional information into the WLAN frame, and multiplex some reserved bits in the WLAN frame to indicate that the WLAN frame has additional information. For the specific process, refer to the aforementioned embodiments in FIGS. 4 to 10 , I won’t repeat it here. The WLAN frame with additional information inserted may also be referred to as a channel measurement frame. The processor 1101 may transmit the generated channel measurement frame to the RF transceiver circuit 1102. Then, the RF transceiver circuit 1102 can send the channel measurement frame to the STA through the antenna. The specific process is similar to step 301 in the foregoing embodiment, and will not be repeated here.
在一些实施例中,STA通过RF收发电路1202接收到信道测量帧后,处理器1201可以响应于该信道测量帧,根据信道测量帧的接收情况确定信道质量参数统计值,具体过程与前述实施例中的步骤302类似,此处不再赘述。然后,处理器1201可以将信道质量参数统计值作为反馈信息添加至信道测量帧所对应的的确认帧中,通过RF收发电路1202发送至AP,具体过程与前述实施例中的步骤303类似,此处不再赘述。In some embodiments, after the STA receives the channel measurement frame through the RF transceiver circuit 1202, the processor 1201 may respond to the channel measurement frame and determine the channel quality parameter statistics according to the reception of the channel measurement frame. The specific process is the same as the previous embodiment. Step 302 in is similar and will not be repeated here. Then, the processor 1201 may add the channel quality parameter statistical value as feedback information to the confirmation frame corresponding to the channel measurement frame, and send it to the AP through the RF transceiver circuit 1202. The specific process is similar to step 303 in the foregoing embodiment. I won't repeat it here.
在一些实施例中,当STA向AP返回携带反馈信息的确认帧时,AP可以通过RF收发电路1102接收到该确认帧。RF收发电路1102可以对该确认帧进行滤波、功率放大等处理。然后RF收发电路1102将处理后的确认帧传输至处理器1101。处理器1101可以将确认帧 中的反馈信息提取出来,然后根据反馈信息确定信道测量帧对应的权重,进而确定误帧率,该过程与前述图3对应的实施例中步骤304和步骤305类似,此处不再赘述。In some embodiments, when the STA returns an acknowledgement frame carrying feedback information to the AP, the AP may receive the acknowledgement frame through the RF transceiver circuit 1102. The RF transceiver circuit 1102 can perform processing such as filtering and power amplification on the confirmation frame. Then the RF transceiver circuit 1102 transmits the processed confirmation frame to the processor 1101. The processor 1101 can extract the feedback information in the confirmation frame, and then determine the weight corresponding to the channel measurement frame according to the feedback information, and then determine the frame error rate. This process is similar to steps 304 and 305 in the embodiment corresponding to FIG. 3, I won't repeat them here.
在一些实施例中,处理器1101确定误帧率后,可以根据误帧率对处理器1101或RF收发电路1102中的参数进行调整。示例性的,AP自动调整算法的规则可以为误帧率超过千分之五则提高信号发送功率,则当处理器1101确定的误帧率超过千分之五时,处理器1101可以将RF收发电路中的功率放大器的放大倍数提高。在实际应用中,处理器1101还可以根据误帧率以及自动调整算法进行其他类似的调整,本申请实施例对此不做具体限定。In some embodiments, after the processor 1101 determines the frame error rate, it can adjust the parameters in the processor 1101 or the RF transceiver circuit 1102 according to the frame error rate. Exemplarily, the rule of the AP automatic adjustment algorithm may be that the frame error rate exceeds five thousandths and the signal transmission power is increased. Then, when the frame error rate determined by the processor 1101 exceeds five thousandths, the processor 1101 can transmit and receive RF The amplification factor of the power amplifier in the circuit is increased. In practical applications, the processor 1101 may also perform other similar adjustments according to the frame error rate and the automatic adjustment algorithm, which is not specifically limited in the embodiment of the present application.
在一些实施例中,该AP还可以包括存储器。存储器与处理器1101连接,用于存储附加信息或反馈信息。示例性的,存储器可以为直接访问存储器(direct memory access,DMA)。In some embodiments, the AP may also include memory. The memory is connected to the processor 1101 and is used to store additional information or feedback information. Exemplarily, the memory may be a direct memory access (DMA).
图13为本申请实施例提供的数据处理的系统示例图。该数据处理的系统包括接入点1301和站点,其中,接入点1301可以是路由器、具有无线连接功能的调制解调器(modem)、随身wifi等接入设备,可以设置在房间、客厅、公共场所等地方。站点的种类可以包括但不限于手机终端1302、笔记本电脑1303和平板电脑1304,在实际应用中,站点还可以是其他能够实现无线上网的设备,本申请实施例对此不做赘述。在一些实施例中,一个接入点1301可以同时与多个手机终端1302连接,也可以与多个笔记本电脑1303或平板电脑1304连接。可以理解的是,站点可以通过接入点1301连接互联网。FIG. 13 is an example diagram of a data processing system provided by an embodiment of the application. The data processing system includes an access point 1301 and a station, where the access point 1301 can be a router, a modem with wireless connection function, portable wifi and other access devices, which can be set in a room, living room, public place, etc. local. The types of sites may include, but are not limited to, mobile phone terminals 1302, notebook computers 1303, and tablet computers 1304. In actual applications, sites may also be other devices that can realize wireless Internet access, which is not described in detail in the embodiment of the present application. In some embodiments, one access point 1301 can be connected to multiple mobile phone terminals 1302 at the same time, and can also be connected to multiple laptop computers 1303 or tablet computers 1304. It is understandable that the station can connect to the Internet through the access point 1301.
在本申请实施例中,接入点1301可以执行如图3对应的各个实施例中发送端的步骤,例如步骤301、步骤304以及步骤305。站点可以执行如图3对应的各个实施例中接收端的步骤,例如步骤302以及步骤303。本申请实施例对此不再赘述。In the embodiment of the present application, the access point 1301 may execute the steps of the sending end in each embodiment corresponding to FIG. 3, such as step 301, step 304, and step 305. The station may execute the steps of the receiving end in each embodiment corresponding to FIG. 3, such as step 302 and step 303. This is not repeated in the embodiment of the application.
在一些实施例中,站点可以执行如图3对应的各个实施例中发送端的步骤,同时接入点1301可以执行如图3对应的各个实施例中接收端的步骤。示例性的,手机终端1302上传视频文件时,手机终端1302可以执行如图3对应的各个实施例中发送端的步骤,同时接入点1302可以执行如图3对应的各个实施例中接收端的步骤。在这种情况下,手机终端1302可以确定误帧率,然后根据误帧率调节手机终端1302的发射参数,改善上传速率。In some embodiments, the station may perform the steps of the sending end in the various embodiments corresponding to FIG. 3, and the access point 1301 may perform the steps of the receiving end in the various embodiments corresponding to FIG. 3. Exemplarily, when the mobile terminal 1302 uploads a video file, the mobile terminal 1302 may execute the steps of the sending end in the embodiments corresponding to FIG. 3, and the access point 1302 may execute the steps of the receiving end in the embodiments corresponding to FIG. 3. In this case, the mobile phone terminal 1302 can determine the frame error rate, and then adjust the transmission parameters of the mobile phone terminal 1302 according to the frame error rate to improve the upload rate.
在一些实施例中,手机终端1302可以开放“手机热点”,与其他手机终端1302连接,使得其他手机终端1302可以通过开放“手机热点”的手机终端1302通信。此时,开放“手机热点”的手机终端1302可以执行类似上述接入点1301的步骤。同理,笔记本电脑1303或平板电脑1304也可以开放类似热点,执行类似上述接入点1301的步骤。In some embodiments, the mobile phone terminal 1302 can open a "mobile phone hotspot" and connect with other mobile phone terminals 1302, so that the other mobile phone terminals 1302 can communicate through the mobile phone terminal 1302 that opens the "mobile phone hotspot". At this time, the mobile terminal 1302 that opens the "mobile phone hotspot" can perform steps similar to the above-mentioned access point 1301. In the same way, the laptop 1303 or the tablet 1304 can also open a similar hotspot and perform the steps similar to the access point 1301 described above.
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。In addition, it should be noted that the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physically separate. The physical unit can be located in one place or distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. In addition, in the drawings of the device embodiments provided in the present application, the connection relationship between the modules indicates that they have a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative work.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软 件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general hardware. Of course, it can also be implemented by dedicated hardware including dedicated integrated circuits, dedicated CPUs, dedicated memory, Dedicated components and so on to achieve. Under normal circumstances, all functions completed by computer programs can be easily implemented with corresponding hardware. Moreover, the specific hardware structures used to achieve the same function can also be diverse, such as analog circuits, digital circuits or special-purpose circuits. Circuit etc. However, for this application, software program implementation is a better implementation in more cases. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a computer floppy disk. , U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc., including several instructions to make a computer device (which can be A personal computer, server, or network device, etc.) execute the method described in each embodiment of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Claims (28)

  1. 一种确定误帧率的方法,其特征在于,应用于无线局域网,包括:A method for determining frame error rate, which is characterized in that it is applied to a wireless local area network and includes:
    发送端向接收端发送N个信道测量帧,所述信道测量帧用于指示所述接收端向所述发送端发送所述信道测量帧对应的信道质量参数统计值,所述N为正整数;The sending end sends N channel measurement frames to the receiving end, where the channel measurement frames are used to instruct the receiving end to send channel quality parameter statistical values corresponding to the channel measurement frames to the sending end, where N is a positive integer;
    所述发送端接收所述信道质量参数统计值;Receiving, by the sending end, the channel quality parameter statistical value;
    所述发送端根据所述信道质量参数统计值确定所述信道测量帧对应的权重;Determining, by the sending end, the weight corresponding to the channel measurement frame according to the statistical value of the channel quality parameter;
    所述发送端根据所述权重以及所述N确定所述发送端与所述接收端之间的误帧率。The sending end determines the frame error rate between the sending end and the receiving end according to the weight and the N.
  2. 根据权利要求1所述的方法,其特征在于,所述信道质量参数统计值包括信道质量参数的最大值、最小值和平均值;The method according to claim 1, wherein the channel quality parameter statistical value comprises a maximum value, a minimum value and an average value of the channel quality parameter;
    所述发送端根据所述信道质量参数统计值确定所述信道测量帧对应的权重包括:The sending end determining the weight corresponding to the channel measurement frame according to the channel quality parameter statistical value includes:
    所述发送端获取第一差值,所述第一差值为所述平均值减去所述最小值;Acquiring, by the sending end, a first difference value, where the first difference value is the average value minus the minimum value;
    所述发送端获取第二差值,所述第二差值为所述最大值减去所述平均值;Acquiring, by the sending end, a second difference value, where the second difference value is the maximum value minus the average value;
    所述发送端获取综合差值,所述综合差值为所述第一差值和所述第二差值之差的绝对值;Acquiring, by the sending end, a comprehensive difference value, where the comprehensive difference value is the absolute value of the difference between the first difference value and the second difference value;
    若所述综合差值小于第一预设阈值,则所述发送端确定所述信道测量帧对应的第一权重。If the comprehensive difference is less than the first preset threshold, the sending end determines the first weight corresponding to the channel measurement frame.
  3. 根据权利要求1或2所述的方法,其特征在于,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:The method according to claim 1 or 2, characterized in that, before the sending end sends N channel measurement frames to the receiving end, the method further comprises:
    所述发送端获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;Acquiring, by the sending end, the first weight, where the first weight is used to indicate that the cause of frame loss is attenuation;
    所述发送端获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值小于所述第一预设阈值;Acquiring, by the sending end, a first condition corresponding to the cause of frame loss being attenuation, where the first condition includes that the comprehensive difference is less than the first preset threshold;
    所述发送端建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。The sending end establishes an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation.
  4. 根据权利要求1至3任意一项所述的方法,其特征在于,所述发送端获取综合差值之后,所述方法还包括:The method according to any one of claims 1 to 3, wherein after the sending end obtains the integrated difference, the method further comprises:
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在块确认帧BA帧或多用户块确认帧MBA帧中,且所述第一差值大于或等于第二差值,则所述发送端确定所述信道测量帧对应的第二权重,其中,所述BA帧或所述MBA帧为所述接收端向所述发送端发送的帧;If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in a block confirmation frame BA frame or a multi-user block In the confirmation frame MBA frame, and the first difference is greater than or equal to the second difference, the sending end determines the second weight corresponding to the channel measurement frame, where the BA frame or the MBA frame is The frame sent by the receiving end to the sending end;
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值小于第二差值,则所述发送端确定所述信道测量帧对应的所述第一权重。If the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and If the first difference is less than the second difference, the sending end determines the first weight corresponding to the channel measurement frame.
  5. 根据权利要求1至4任意一项所述的方法,其特征在于,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein before the sending end sends N channel measurement frames to the receiving end, the method further comprises:
    所述发送端获取所述第二权重,所述第二权重用于指示丢帧原因为干扰;Acquiring, by the sending end, the second weight, where the second weight is used to indicate that the cause of frame loss is interference;
    所述发送端获取与所述丢帧原因为干扰对应的第二条件,所述第二条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于所述第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值大于或等于第二差值;The sending end obtains a second condition corresponding to the cause of the frame loss as interference, where the second condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to all The second preset threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and the first difference is greater than or equal to the second difference;
    所述发送端建立所述第二条件、所述第二权重和所述丢帧原因为干扰的关联关系。The sending end establishes an association relationship in which the second condition, the second weight, and the cause of frame loss are interference.
  6. 根据权利要求1至5任意一项所述的方法,其特征在于,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:The method according to any one of claims 1 to 5, wherein before the sending end sends N channel measurement frames to the receiving end, the method further comprises:
    所述发送端获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;Acquiring, by the sending end, the first weight, where the first weight is used to indicate that the cause of frame loss is attenuation;
    所述发送端获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值小于第二差值;The sending end obtains a first condition corresponding to the cause of the frame loss being attenuation, where the first condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the first 2. A preset threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and the first difference is smaller than the second difference;
    所述发送端建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。The sending end establishes an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation.
  7. 根据权利要求1至6任意一项所述的方法,其特征在于,所述发送端获取综合差值之后,所述方法还包括:The method according to any one of claims 1 to 6, wherein after the sending end obtains the integrated difference, the method further comprises:
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在确认帧ACK帧中,且所述第一差值大于或等于第二差值,则所述发送端确定所述信道测量帧对应的第二权重,其中,所述ACK帧为所述接收端经过硬件重传后向所述发送端发送的帧;If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in the ACK frame of the confirmation frame, and the If the first difference is greater than or equal to the second difference, the sending end determines the second weight corresponding to the channel measurement frame, where the ACK frame is retransmitted by the receiving end to the sending end after hardware retransmission. Frames sent;
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值小于第二差值,则所述发送端确定所述信道测量帧对应的所述第一权重。If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in an ACK frame, and the first If the difference is less than the second difference, the sending end determines the first weight corresponding to the channel measurement frame.
  8. 根据权利要求1至7任意一项所述的方法,其特征在于,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:The method according to any one of claims 1 to 7, wherein before the sending end sends N channel measurement frames to the receiving end, the method further comprises:
    所述发送端获取所述第二权重,所述第二权重用于指示丢帧原因为干扰;Acquiring, by the sending end, the second weight, where the second weight is used to indicate that the cause of frame loss is interference;
    所述发送端获取与所述丢帧原因为干扰对应的第二条件,所述第二条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值大于或等于第二差值;The sending end obtains a second condition corresponding to the cause of the frame loss as interference, where the second condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the first 2. A preset threshold, and the channel quality parameter statistical value is carried in the ACK frame, and the first difference is greater than or equal to the second difference;
    所述发送端建立所述第二条件、所述第二权重和所述丢帧原因为干扰的关联关系。The sending end establishes an association relationship in which the second condition, the second weight, and the cause of frame loss are interference.
  9. 根据权利要求1至8任意一项所述的方法,其特征在于,所述发送端向接收端发送N个信道测量帧之前,所述方法还包括:The method according to any one of claims 1 to 8, wherein before the sending end sends N channel measurement frames to the receiving end, the method further comprises:
    所述发送端获取所述第一权重,所述第一权重用于指示丢帧原因为衰减;Acquiring, by the sending end, the first weight, where the first weight is used to indicate that the cause of frame loss is attenuation;
    所述发送端获取与所述丢帧原因为衰减对应的第一条件,所述第一条件包括所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值小于第二差值;The sending end obtains a first condition corresponding to the cause of the frame loss being attenuation, where the first condition includes that the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the first 2. A preset threshold value, and the channel quality parameter statistical value is carried in an ACK frame, and the first difference value is smaller than the second difference value;
    所述发送端建立所述第一条件、所述第一权重和所述丢帧原因为衰减的关联关系。The sending end establishes an association relationship in which the first condition, the first weight, and the cause of frame loss are attenuation.
  10. 根据权利要求1至9任意一项所述的方法,其特征在于,所述信道质量参数统计值携带在ACK帧,BA帧或MBA帧中。The method according to any one of claims 1 to 9, wherein the statistical value of the channel quality parameter is carried in an ACK frame, a BA frame or an MBA frame.
  11. 根据权利要求1至10任意一项所述的方法,其特征在于,所述接收端通过复用所述ACK帧,所述BA帧或所述MBA帧中的字段将所述信道质量参数统计值携带在所述ACK帧,所述BA帧或所述MBA帧中。The method according to any one of claims 1 to 10, wherein the receiving end multiplexes the ACK frame, the BA frame or the field in the MBA frame to calculate the channel quality parameter statistical value It is carried in the ACK frame, the BA frame or the MBA frame.
  12. 根据权利要求1至10任意一项所述的方法,其特征在于,所述接收端通过在所述 ACK帧,所述BA帧或所述MBA帧中插入额外字段将所述信道质量参数统计值携带在所述ACK帧,所述BA帧或所述MBA帧中。The method according to any one of claims 1 to 10, wherein the receiving end inserts an additional field into the ACK frame, the BA frame or the MBA frame to obtain the statistical value of the channel quality parameter. It is carried in the ACK frame, the BA frame or the MBA frame.
  13. 根据权利要求1至12任意一项所述的方法,其特征在于,所述发送端根据所述权重以及所述N确定所述发送端与所述接收端之间的误帧率具体包括:The method according to any one of claims 1 to 12, wherein the sending end determining the frame error rate between the sending end and the receiving end according to the weight and the N specifically comprises:
    所述发送端获取所述信道测量帧的误帧情况,所述误帧情况包括计数值为1的误帧以及计数值为0的正确帧;Acquiring, by the sending end, an error frame condition of the channel measurement frame, where the error frame condition includes an error frame with a count value of 1 and a correct frame with a count value of 0;
    所述发送端通过所述误帧的计数值和所述权重确定所述误帧的目标计数值;Determining, by the sending end, the target count value of the error frame according to the count value of the error frame and the weight;
    所述发送端根据所述误帧的所述目标计数值和所述N确定所述误帧率。The sending end determines the frame error rate according to the target count value of the error frame and the N.
  14. 根据权利要求1至13任一所述的方法,其特征在于,所述发送端根据所述权重以及所述N确定所述发送端与所述接收端之间的误帧率之后,所述方法还包括:The method according to any one of claims 1 to 13, wherein after the sending end determines the frame error rate between the sending end and the receiving end according to the weight and the N, the method Also includes:
    若所述误帧率大于第三阈值,则所述发送端根据预设调整算法调整所述发送端的发射参数。If the frame error rate is greater than the third threshold, the transmitting end adjusts the transmitting parameters of the transmitting end according to a preset adjustment algorithm.
  15. 一种接入点,其特征在于,包括:处理器,以及耦合至所述处理器的射频收发电路;An access point, characterized by comprising: a processor, and a radio frequency transceiver circuit coupled to the processor;
    所述处理器,用于通过所述射频收发电路向站点发送N个信道测量帧,所述信道测量帧用于指示所述站点向所述接入点发送所述信道测量帧对应的信道质量参数统计值,所述N为正整数;The processor is configured to send N channel measurement frames to a station through the radio frequency transceiver circuit, where the channel measurement frame is used to instruct the station to send the channel quality parameter corresponding to the channel measurement frame to the access point Statistical value, the N is a positive integer;
    所述处理器,还用于:The processor is also used for:
    通过所述射频收发电路接收所述站点反馈的所述信道质量参数统计值;Receiving the channel quality parameter statistical value fed back by the station through the radio frequency transceiver circuit;
    根据所述信道质量参数统计值确定所述信道测量帧对应的权重;以及Determining the weight corresponding to the channel measurement frame according to the channel quality parameter statistical value; and
    根据所述权重以及所述N确定所述接入点与所述站点之间的误帧率。The frame error rate between the access point and the station is determined according to the weight and the N.
  16. 根据权利要求15所述的接入点,其特征在于,所述信道质量参数统计值包括信道质量参数的最大值、最小值和平均值;The access point according to claim 15, wherein the statistical value of the channel quality parameter comprises a maximum value, a minimum value and an average value of the channel quality parameter;
    所述处理器还用于:The processor is also used for:
    获取第一差值,所述第一差值为所述平均值减去所述最小值;Obtaining a first difference value, where the first difference value is the average value minus the minimum value;
    获取第二差值,所述第二差值为所述最大值减去所述平均值;以及Obtaining a second difference value, where the second difference value is the maximum value minus the average value; and
    获取综合差值,所述综合差值为所述第一差值和所述第二差值之差的绝对值;Obtaining a comprehensive difference, where the comprehensive difference is the absolute value of the difference between the first difference and the second difference;
    若所述综合差值小于第一预设阈值,则所述处理器确定所述信道测量帧对应的第一权重。If the comprehensive difference is less than the first preset threshold, the processor determines the first weight corresponding to the channel measurement frame.
  17. 根据权利要求15或16所述的接入点,其特征在于,The access point according to claim 15 or 16, characterized in that:
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在块确认帧BA帧或多用户块确认帧MBA帧中,且所述第一差值大于或等于第二差值,则所述处理器确定所述信道测量帧对应的第二权重,其中,所述BA帧或所述MBA帧为所述站点向所述接入点发送的帧;If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in a block confirmation frame BA frame or a multi-user block In the confirmation frame MBA frame, and the first difference is greater than or equal to the second difference, the processor determines the second weight corresponding to the channel measurement frame, where the BA frame or the MBA frame is The frame sent by the station to the access point;
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值小于第二差值,则所述处理器确定所述信道测量帧对应的所述第一权重。If the integrated difference is not less than the first preset threshold, and the integrated difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and If the first difference is less than the second difference, the processor determines the first weight corresponding to the channel measurement frame.
  18. 根据权利要求15至17任意一项所述的接入点,其特征在于,The access point according to any one of claims 15 to 17, wherein:
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在确认帧ACK帧中,且所述第一差值大于或等于第二差值,则所述处理器确定所述信道测量帧对应的第二权重,其中,所述ACK帧为所述站点经过硬件重传后向所述接入点发送的帧;If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in the ACK frame of the confirmation frame, and the If the first difference value is greater than or equal to the second difference value, the processor determines the second weight corresponding to the channel measurement frame, where the ACK frame is retransmitted by the station to the access point after hardware retransmission. Frames sent;
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值小于第二差值,则所述处理器确定所述信道测量帧对应的所述第一权重。If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in an ACK frame, and the first If the difference is less than the second difference, the processor determines the first weight corresponding to the channel measurement frame.
  19. 根据权利要求15至18任意一项所述的接入点,其特征在于,所述处理器还用于:The access point according to any one of claims 15 to 18, wherein the processor is further configured to:
    获取所述信道测量帧的误帧情况,所述误帧情况包括计数值为1的误帧以及计数值为0的正确帧;Acquiring an error frame condition of the channel measurement frame, where the error frame condition includes an error frame with a count value of 1 and a correct frame with a count value of 0;
    通过所述误帧的计数值和所述权重确定所述误帧的目标计数值;以及Determining the target count value of the error frame according to the count value of the error frame and the weight; and
    根据所述误帧的所述目标计数值和所述N确定所述误帧率。The frame error rate is determined according to the target count value of the error frame and the N.
  20. 根据权利要求15至19任意一项所述的接入点,其特征在于,The access point according to any one of claims 15 to 19, characterized in that:
    若所述误帧率大于第三阈值,则所述处理器根据预设调整算法调整所述接入点的发射参数。If the frame error rate is greater than the third threshold, the processor adjusts the transmission parameters of the access point according to a preset adjustment algorithm.
  21. 一种数据处理的系统,其特征在于,包括接入点和站点;A data processing system, which is characterized in that it includes an access point and a station;
    所述接入点用于向站点发送N个信道测量帧,所述N为正整数;The access point is used to send N channel measurement frames to the station, where N is a positive integer;
    所述站点用于向所述接入点发送所述信道测量帧对应的信道质量参数统计值;The station is configured to send the channel quality parameter statistical value corresponding to the channel measurement frame to the access point;
    所述接入点还用于接收所述信道质量参数统计值;The access point is also used to receive the channel quality parameter statistical value;
    所述接入点还用于根据所述信道质量参数统计值确定所述信道测量帧对应的权重;The access point is further configured to determine the weight corresponding to the channel measurement frame according to the channel quality parameter statistical value;
    所述接入点还用于根据所述权重以及所述N确定所述接入点与所述站点之间的误帧率。The access point is further configured to determine a frame error rate between the access point and the station according to the weight and the N.
  22. 根据权利要求21所述的系统,其特征在于,所述信道质量参数统计值包括信道质量参数的最大值、最小值和平均值;The system according to claim 21, wherein the channel quality parameter statistical value comprises a maximum value, a minimum value and an average value of the channel quality parameter;
    所述接入点还用于:The access point is also used for:
    获取第一差值,所述第一差值为所述平均值减去所述最小值;Obtaining a first difference value, where the first difference value is the average value minus the minimum value;
    获取第二差值,所述第二差值为所述最大值减去所述平均值;以及Obtaining a second difference value, where the second difference value is the maximum value minus the average value; and
    获取综合差值,所述综合差值为所述第一差值和所述第二差值之差的绝对值;Obtaining a comprehensive difference, where the comprehensive difference is the absolute value of the difference between the first difference and the second difference;
    若所述综合差值小于第一预设阈值,则所述接入点确定所述信道测量帧对应的第一权重。If the comprehensive difference is less than the first preset threshold, the access point determines the first weight corresponding to the channel measurement frame.
  23. 根据权利要求21或22所述的系统,其特征在于,The system according to claim 21 or 22, wherein:
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在块确认帧BA帧或多用户块确认帧MBA帧中,且所述第一差值大于或等于第二差值,则所述接入点确定所述信道测量帧对应的第二权重,其中,所述BA帧或所述MBA帧为所述站点向所述接入点发送的帧;If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in a block confirmation frame BA frame or a multi-user block In the confirmation frame MBA frame, and the first difference is greater than or equal to the second difference, the access point determines the second weight corresponding to the channel measurement frame, where the BA frame or the MBA frame Is the frame sent by the station to the access point;
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值, 且所述信道质量参数统计值携带在BA帧或MBA帧中,且所述第一差值小于第二差值,则所述接入点确定所述信道测量帧对应的所述第一权重。If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in a BA frame or an MBA frame, and If the first difference is less than the second difference, the access point determines the first weight corresponding to the channel measurement frame.
  24. 根据权利要求21至23任意一项所述的系统,其特征在于,The system according to any one of claims 21 to 23, wherein:
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在确认帧ACK帧中,且所述第一差值大于或等于第二差值,则所述接入点确定所述信道测量帧对应的第二权重,其中,所述ACK帧为所述站点经过硬件重传后向所述接入点发送的帧;If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to the second preset threshold, and the channel quality parameter statistical value is carried in the ACK frame of the confirmation frame, and the If the first difference is greater than or equal to the second difference, the access point determines the second weight corresponding to the channel measurement frame, where the ACK frame is the hardware retransmission of the station to the access point. Point sent frame;
    若所述综合差值不小于所述第一预设阈值,且所述综合差值大于或等于第二预设阈值,且所述信道质量参数统计值携带在ACK帧中,且所述第一差值小于第二差值,则所述接入点确定所述信道测量帧对应的所述第一权重。If the comprehensive difference is not less than the first preset threshold, and the comprehensive difference is greater than or equal to a second preset threshold, and the channel quality parameter statistical value is carried in an ACK frame, and the first If the difference is less than the second difference, the access point determines the first weight corresponding to the channel measurement frame.
  25. 根据权利要求21至24任意一项所述的系统,其特征在于,所述接入点还用于:The system according to any one of claims 21 to 24, wherein the access point is further used for:
    获取所述信道测量帧的误帧情况,所述误帧情况包括计数值为1的误帧以及计数值为0的正确帧;Acquiring an error frame condition of the channel measurement frame, where the error frame condition includes an error frame with a count value of 1 and a correct frame with a count value of 0;
    通过所述误帧的计数值和所述权重确定所述误帧的目标计数值;以及Determining the target count value of the error frame according to the count value of the error frame and the weight; and
    根据所述误帧的所述目标计数值和所述N确定所述误帧率。The frame error rate is determined according to the target count value of the error frame and the N.
  26. 根据权利要求21至25任意一项所述的系统,其特征在于,若所述误帧率大于第三阈值,则所述接入点根据预设调整算法调整所述接入点的发射参数。The system according to any one of claims 21 to 25, wherein if the frame error rate is greater than a third threshold, the access point adjusts the transmission parameters of the access point according to a preset adjustment algorithm.
  27. 一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1至14中任意一项所述的方法。A computer-readable storage medium, comprising instructions, which when run on a computer, cause the computer to execute the method according to any one of claims 1 to 14.
  28. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1至14中任意一项所述的方法。A computer program product containing instructions that, when run on a computer, causes the computer to execute the method according to any one of claims 1 to 14.
PCT/CN2019/114695 2019-10-31 2019-10-31 Method for determining frame error ratio and related device WO2021081889A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980101599.9A CN114586300A (en) 2019-10-31 2019-10-31 Method for determining frame error rate and related device
PCT/CN2019/114695 WO2021081889A1 (en) 2019-10-31 2019-10-31 Method for determining frame error ratio and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/114695 WO2021081889A1 (en) 2019-10-31 2019-10-31 Method for determining frame error ratio and related device

Publications (1)

Publication Number Publication Date
WO2021081889A1 true WO2021081889A1 (en) 2021-05-06

Family

ID=75714846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/114695 WO2021081889A1 (en) 2019-10-31 2019-10-31 Method for determining frame error ratio and related device

Country Status (2)

Country Link
CN (1) CN114586300A (en)
WO (1) WO2021081889A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542215A (en) * 2021-05-31 2021-10-22 浙江大华技术股份有限公司 Method for improving streaming media transmission performance and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801513B1 (en) * 1999-06-23 2004-10-05 At&T Wireless Services, Inc. Methods and apparatus for dynamically assigning time slots in a wireless communication system
CN101582738A (en) * 2008-05-12 2009-11-18 中兴通讯股份有限公司 Device and method for measuring frame error rate in transmission link
CN101741488A (en) * 2010-01-29 2010-06-16 华为技术有限公司 Time-division system-based link adaptive method and device
CN102752786A (en) * 2011-04-18 2012-10-24 中国移动通信集团公司 Method, system and device for determining channel quality of communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7548589B2 (en) * 2005-06-13 2009-06-16 Qualcomm Incorporated Method and apparatus for generating weights for transmit diversity in wireless communication
MY151716A (en) * 2008-02-14 2014-06-30 Mimos Berhad Dynamic harq with adaptive power control for wireless transmission
WO2016145662A1 (en) * 2015-03-19 2016-09-22 华为技术有限公司 Uplink multi-user access method and apparatus
EP3714552A4 (en) * 2017-11-21 2021-07-07 ZTE Corporation Methods, apparatus and systems for performing channel measurement in a multi-beam wireless communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801513B1 (en) * 1999-06-23 2004-10-05 At&T Wireless Services, Inc. Methods and apparatus for dynamically assigning time slots in a wireless communication system
CN101582738A (en) * 2008-05-12 2009-11-18 中兴通讯股份有限公司 Device and method for measuring frame error rate in transmission link
CN101741488A (en) * 2010-01-29 2010-06-16 华为技术有限公司 Time-division system-based link adaptive method and device
CN102752786A (en) * 2011-04-18 2012-10-24 中国移动通信集团公司 Method, system and device for determining channel quality of communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542215A (en) * 2021-05-31 2021-10-22 浙江大华技术股份有限公司 Method for improving streaming media transmission performance and related device
CN113542215B (en) * 2021-05-31 2023-04-25 浙江大华技术股份有限公司 Method and related device for improving streaming media transmission performance

Also Published As

Publication number Publication date
CN114586300A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
US20230353273A1 (en) Aggregated-mpdu, method for transmitting response frame thereto, and wireless communication terminal using same
US8832515B2 (en) Block acknowledgement mechanism including sequence number acknowledgement and retry bit
US20100272056A1 (en) Terminal assisted wlan access point rate adaptation
CN110506403B (en) Method and apparatus for flow control of wireless devices
JP7383161B2 (en) Method and communication device for determining reception status of data frames
KR20150079906A (en) A method for adjusting aggregation size based on acknowledgement(ack) bitmap
US8270437B2 (en) Wireless network and method for communicating aggregated packets
WO2020011264A1 (en) Channel quality notification method, receiving method and device
WO2021081889A1 (en) Method for determining frame error ratio and related device
EP3790213B1 (en) Mac-based hybrid automatic repeat request (harq)
CN107548104B (en) Data transmission method, access point and station
US20230040554A1 (en) Multi-link communication method and related apparatus
US9887802B2 (en) Method and apparatus for controlling transmission rate of physical layer
Abu-Sharkh et al. The impact of multi-rate operation on A-MSDU, A-MPDU and block acknowledgment in greenfield IEEE802. 11n wireless LANs
CN113015220A (en) Wireless local area network transmission method and equipment and transceiver
CN101925117A (en) Frame aggregation control method and device of WLAN (Wireless Local Area Network)
JP2017022478A (en) Integrated circuit for radio communication
EP4340270A1 (en) Method for performing adaptive multi-link aggregation dispatching control in multi-link operation architecture, and associated apparatus
CN113573359B (en) Multilink communication method and related device
JP2019037008A (en) Wireless communication apparatus and wireless communication method
KR101770598B1 (en) Method and apparatus for transmitting packet in wireless LAN
WO2020253511A1 (en) Method for reshaping data volume, network apparatus, and computer program product
CN111698771B (en) Power control method and device
US11974162B2 (en) Communication method and device
CN106165331B (en) Apparatus and method for dynamic transmission window

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19951199

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19951199

Country of ref document: EP

Kind code of ref document: A1