Method and device for measuring frame error rate
Patent Information
- Application Number
- CN202280101589.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-22
- Publication Date
- 2025-06-24
AI Technical Summary
The existing frame error rate measurement method takes a long time in scenarios with high latency requirements and cannot complete the measurement within a limited time. Especially for equipment in 5G high-reliability and low-latency communication scenarios, the traditional Monte Carlo method measurement time It could be months or even years.
By obtaining the channel information and interference information corresponding to the error frame, the number of transmitted test frames is reduced, and a method is used to determine the frame error rate based on the channel information and interference information of the error frame. For example, the error frame is determined by generating test frames and decoding frames. And calculate the frame error rate based on the weight of the error frame.
It significantly reduces the time required for frame error rate measurement and improves measurement efficiency, allowing measurements to be completed in a shorter time even in scenarios with high frame error rate requirements, meeting the need for delay requirements.
Smart Images

Figure CN120202643A_ABST
Abstract
Description
Method and device for measuring frame error rate Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method and device for measuring a frame error rate. Background Art
[0002] In the performance testing of communications equipment, receiver performance is a key technical indicator for measuring device performance, typically measured by the frame error rate (FER). The FER refers to the average probability of an information frame transmission error during data transmission.
[0003] Traditional 2G / 3G / 4G mobile broadband (MBB) services generally require a frame error rate of FER = 10 -1 ~10 -2 However, with the emergence of scenarios with higher latency requirements, such as 5G ultra reliable and low latency communications (URLLC), higher requirements are placed on the frame error rate index (e.g. FER=10 -6 ~10 -8 This poses a greater challenge to measuring the device's frame error rate, resulting in lengthy measurements and potentially making it impossible to complete the measurement within the specified timeframe. Currently, the Monte Carlo (MC) method is commonly used to measure frame error rates, which takes a long time and cannot meet the requirements of scenarios with high latency requirements.
[0004] Summary of the Invention
[0005] The present application provides a method and apparatus for measuring a frame error rate (FER), so as to reduce the measurement time of the FER.
[0006] In a first aspect, the present application provides a method for measuring a frame error rate, which can be applied to a first device, a functional module in the first device, a processor or chip in the first device, etc. Taking application to the first device as an example, the method may include: the first device obtaining an error frame and obtaining channel information and / or interference information corresponding to the error frame, and determining the frame error rate based on the channel information and / or interference information corresponding to the error frame.
[0007] Through the above method, the method of determining the frame error rate based on the channel information and / or interference information corresponding to the error frame can reduce the number of transmitted test frames. For example, the total number of frames only needs to be one percent of the total number of frames required by the current MC method, or even fewer frames. That is, the number of test frames used to obtain an accurate frame error rate only needs to be one percent of the total number of frames required by the current MC method, or even fewer frames. Therefore, the measurement time can be reduced and the measurement efficiency can be improved.
[0008] In one possible design, the first device obtains the channel information and / or interference information corresponding to the error frame, and the method may be: the first device determines the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all frames generated by the first device; or, the first device receives the channel information and / or interference information corresponding to all frames from the second device, and determines the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all frames; or, the first device sends the frame identifier of the error frame to the second device, and the frame identifier of the error frame is used to determine the channel information and / or interference information corresponding to the error frame; the first device receives the channel information and / or interference information corresponding to the error frame from the second device. In this way, the first device can accurately obtain the channel information and / or interference information corresponding to the error frame, and then accurately determine the frame error rate based on the channel information and / or interference information corresponding to the error frame.
[0009] In one possible design, the first device receives channel information and / or interference information corresponding to all frames from the second device, and the method may be: the first device may receive the channel information corresponding to all frames from the second device through a first interface, and / or, receive the interference information corresponding to all frames from the second device through a second interface. In this way, the first device can accurately receive the channel information and / or interference information corresponding to all frames through the corresponding interface, and then accurately obtain the channel information and / or interference information corresponding to the error frame.
[0010] In one possible design, the first device sends the frame identifier of the error frame to the second device by: the first device may send the frame identifier of the error frame to the second device via a third interface; the first device receives the channel information and / or interference information corresponding to the error frame from the second device by: the first device may receive the channel information corresponding to the error frame from the second device via a fourth interface, and / or receive the interference information corresponding to the error frame from the second device via a fifth interface. In this way, the first device can accurately obtain the channel information and / or interference information corresponding to the error frame.
[0011] In one possible design, when the first device receives the channel information and / or interference information corresponding to all frames from the second device, the first device may also receive frame identifiers corresponding to all frames from the second device, where the frame identifier of each frame corresponds to the channel information and / or interference information of each frame; or, when the first device receives the channel information and / or interference information corresponding to the error frame from the second device, the first device may also receive the frame identifier of the error frame from the second device, where the frame identifier of each error frame corresponds to the channel information and / or interference information of each error frame. In this way, the first device can accurately identify the correspondence between the channel information and / or interference information of each frame.
[0012] In one possible design, the first device may determine multiple channel information and / or multiple interference information, so that the analog channel meets the channel requirements.
[0013] In one possible design, the first device sends the multiple channel information and / or multiple interference information to the second device, so that the second device provides channel information and / or interference information for the communication link between the sending device and the receiving device.
[0014] In one possible design, the first device determines the frame error rate based on the channel information and / or interference information corresponding to the error frame. The method may be: the first device determines the weight of the error frame based on the channel information and / or interference information corresponding to the error frame, and determines the frame error rate based on the weight of the error frame. This can reduce the number of test frames in the process of measuring the frame error rate and improve measurement efficiency.
[0015] In one possible design, the frame error rate may conform to the following formula:
[0016]
[0017] Wherein, FER is the frame error rate; N is the number of frames, N is a positive integer; I is the error indication function, when the i-th frame is an error frame, I i is 1, otherwise I i is 0; w i is the weight of the i-th frame, w i The determination is based on channel information and / or interference information corresponding to the i-th frame.
[0018] In one possible design, the first device obtains the error frame by: the first device determines multiple test frames, obtains multiple decoded frames, and determines the error frame based on the multiple test frames and the multiple decoded frames. In this way, the first device can accurately obtain the error frame, so as to measure the frame error rate based on the channel information and / or interference information of the error frame.
[0019] In a second aspect, the present application provides a method for measuring a frame error rate, which can be applied to a second device, a functional module in the second device, a processor or chip in the second device, etc. Taking application to the second device as an example, the method may include: the second device determines channel information and / or interference information corresponding to all frames, and sends the channel information and / or interference information corresponding to all frames to the first device. Based on this, the first device can determine the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all frames, and then determine the frame error rate based on the channel information and / or interference information corresponding to the error frame.
[0020] In one possible design, the second device sends the channel information and / or interference information corresponding to all frames to the first device, and the method may be: the second device may send the channel information corresponding to all frames to the first device through the first interface, and / or send the interference information corresponding to all frames to the first device through the second interface. In this way, the first device can accurately receive the channel information and / or interference information corresponding to all frames through the corresponding interface, and then accurately obtain the channel information and / or interference information corresponding to the error frame.
[0021] In one possible design, when the second device sends the channel information and / or interference information corresponding to all frames to the first device, the second device may also send frame identifiers corresponding to all frames to the first device, where the frame identifier of each frame corresponds to the channel information and / or interference information of each frame. This enables the first device to accurately identify the correspondence between the channel information and / or interference information of each frame.
[0022] In a third aspect, the present application provides a method for measuring a frame error rate, which can be applied to a second device, a functional module in the second device, a processor or chip in the second device, etc. Taking application to the second device as an example, the method may include: the second device receives a frame identifier of the error frame from the first device, and the frame identifier of the error frame is used to determine the channel information and / or interference information corresponding to the error frame; then, the second device determines the channel information and / or interference information corresponding to the error frame based on the frame identifier of the error frame, and sends the channel information and / or interference information corresponding to the error frame to the first device. Based on this, the first device can obtain the channel information and / or interference information corresponding to the error frame, and then determine the frame error rate based on the channel information and / or interference information corresponding to the error frame.
[0023] In one possible design, the second device receives the frame identifier of the error frame from the first device. The method may be: the second device receives the frame identifier of the error frame from the first device through a third interface.
[0024] In one possible design, the second device sends the channel information and / or interference information corresponding to the error frame to the first device, and the method may be: the second device sends the channel information corresponding to the error frame to the first device through the fourth interface, and / or sends the interference information corresponding to the error frame to the first device through the fifth interface. In this way, the first device can accurately receive the channel information and / or interference information corresponding to the error frame through the corresponding interface.
[0025] In one possible design, when the second device sends the channel information and / or interference information corresponding to the error frame to the first device, the second device may also send a frame identifier of the error frame to the first device, where the frame identifier of each error frame corresponds to the channel information and / or interference information of each error frame. This enables the first device to accurately identify the correspondence between the error frame and the channel information and / or interference information of the error frame.
[0026] In a fourth aspect, the present application further provides an apparatus for measuring a frame error rate. The apparatus for measuring a frame error rate may be a first device, and the apparatus for measuring a frame error rate has the function of implementing the method of the first aspect or various possible design examples of the first aspect. The function may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
[0027] In one possible design, the structure of the device for measuring the frame error rate includes a storage unit and a processing unit, which can perform the corresponding functions in the above-mentioned first aspect or each possible design example of the first aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
[0028] In one possible design, the structure of the apparatus for measuring frame error rates includes a communication interface and a processor, and optionally a memory. The communication interface is used to send and receive information or data, and to communicate and interact with other devices in the system. The processor is configured to support the apparatus for measuring frame error rates in performing the corresponding functions described in the first aspect or various possible design examples of the first aspect. The memory is coupled to the processor and stores program instructions and data necessary for the apparatus for measuring frame error rates.
[0029] In a fifth aspect, the present application further provides an apparatus for measuring a frame error rate, which may be a second device. The apparatus for measuring a frame error rate has the function of implementing the method described in the second aspect or each possible design example of the second aspect, or the third aspect or each possible design example of the third aspect. The function may be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0030] In one possible design, the structure of the device for measuring the frame error rate includes a communication unit and a processing unit. These units can perform the corresponding functions in the above-mentioned second aspect or each possible design example of the second aspect, or the above-mentioned third aspect or each possible design example of the third aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
[0031] In one possible design, the structure of the apparatus for measuring frame error rates includes a communication interface and a processor, and optionally a memory. The communication interface is used to send and receive information or data, and to communicate and interact with other devices in the system. The processor is configured to support the apparatus for measuring frame error rates in performing the corresponding functions of the second aspect or each possible design example of the second aspect, or the third aspect or each possible design example of the third aspect. The memory is coupled to the processor and stores the necessary program instructions and data for the apparatus for measuring frame error rates.
[0032] In a sixth aspect, an embodiment of the present application provides a system, which may include the first device mentioned above, or may also include the first device and the second device mentioned above.
[0033] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores program instructions. When the program instructions are run on a computer, the computer executes the method described in the first aspect of the embodiment of the present application and any possible design thereof, or the second aspect and any possible design thereof, or the third aspect and any possible design thereof. Exemplarily, the computer-readable storage medium can be any available medium that can be accessed by a computer. Taking this as an example but not limited to: the computer-readable medium can include non-transitory computer-readable media, random-access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), CD-ROM or other optical disk storage, magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.
[0034] In an eighth aspect, an embodiment of the present application provides a computer program product comprising computer program code or instructions, which, when running on a computer, enables the computer to implement the method described in the above-mentioned first aspect or any possible design of the first aspect, or the above-mentioned second aspect or any possible design of the second aspect, or the above-mentioned third aspect or any possible design of the third aspect.
[0035] In the ninth aspect, the present application also provides a chip, including a processor, which is coupled to a memory and is used to read and execute program instructions stored in the memory so that the chip implements the method described in the above-mentioned first aspect or any possible design of the first aspect, or the above-mentioned second aspect or any possible design of the second aspect, or the above-mentioned third aspect or any possible design of the third aspect.
[0036] For each of the above-mentioned aspects 4 to 9 and the technical effects that may be achieved by each of the aspects, please refer to the above-mentioned description of the technical effects that can be achieved by the first aspect or the various possible solutions in the first aspect, or the second aspect or the various possible solutions in the second aspect, or the third aspect or the various possible solutions in the third aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] FIG1 is a schematic diagram of a scenario for measuring frame error rate provided by the present application;
[0038] FIG2 is a schematic diagram of a communication link between a sending device and a receiving device provided by the present application;
[0039] FIG3 is a flow chart of a method for measuring frame error rate provided by the present application;
[0040] FIG4 is a schematic diagram of another scenario for measuring frame error rate provided by the present application;
[0041] FIG5 is a schematic diagram of another scenario for measuring frame error rate provided by the present application;
[0042] FIG6 is a schematic diagram of another scenario for measuring frame error rate provided by the present application;
[0043] FIG7 is a flowchart of an example of a method for measuring a frame error rate provided by the present application;
[0044] FIG8 is a flowchart of an example of another method for measuring frame error rate provided by the present application;
[0045] FIG9 is a schematic structural diagram of a device for measuring frame error rate provided by the present application;
[0046] FIG10 is a schematic structural diagram of another device for measuring frame error rate provided by the present application;
[0047] FIG11 is a structural diagram of a device for measuring frame error rate provided in this application. DETAILED DESCRIPTION
[0048] The embodiments of the present application provide a method and apparatus for measuring frame error rate (FR) to reduce the FR measurement time. The method and apparatus described in this application are based on the same technical concept. Since the method and apparatus solve similar problems, the implementation of the apparatus and method can refer to each other, and the repetitive parts will not be repeated.
[0049] In the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description and cannot be understood as indicating or implying relative importance or order.
[0050] In the description of this application, "at least one" means one or more, and "more" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or plural.
[0051] In the description of this application, "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural. " / " means "or", for example, a / b means a or b.
[0052] The embodiments of the present application can be applied to scenarios where frame error rates are measured on receiving devices and sending devices. For example, FIG1 shows a schematic diagram of a scenario for measuring frame error rates applicable to the embodiments of the present application. In this scenario, a sending device, a receiving device, and a device for measuring frame error rates can be included. The device for measuring frame error rates can generate test frames for the sending device to send to the receiving device, and receive decoded frames from the receiving device, and determine error frames based on the test frames and decoded frames, thereby determining the frame error rate. The sending device can be a communication device such as a network device or a terminal device, and the receiving device can also be a communication device such as a network device or a terminal device.
[0053] Among them, the network device is a device with wireless transceiver functions or a chip that can be set in the network device. The network device includes but is not limited to: evolved Node B (eNB), generation node B (gNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (BBU), access point (AP) in wireless fidelity (Wi-Fi) system, wireless relay node, macro base station, micro base station (or small station), wireless backhaul node, transmission point (TRP or transmission point, TP), satellite, high-altitude platform, drone, etc. It can also be a network node constituting a gNB or transmission point, such as a baseband unit (BBU) or a distributed unit (DU), or a network device that performs base station functions in a communication system.
[0054] A terminal device may also be referred to as user equipment (UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device. The terminal device in the embodiments of the present application can be a mobile phone, a wireless data card, a personal digital assistant (PDA), a tablet computer, a computer with wireless transceiver function, a wireless modem, a handheld device, a laptop computer, a machine type communication (MTC) terminal, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a smart wearable device (smart glasses, smart watches, smart headphones, etc.), a wireless terminal in a smart home, a drone, etc., and can also be a chip or chip module (or chip system) that can be set in the above devices. In this application, the terminal device with wireless transceiver function and the chip that can be set in the aforementioned terminal device are collectively referred to as terminal device.
[0055] It should be noted that the device for measuring the frame error rate in Figure 1 can be a general term for devices that implement measuring the frame error rate. The device for measuring the frame error rate can be one device (for example, a device that combines the functions of a channel simulation device and a test device), or it can include two devices (for example, a test device and a channel simulation device), or it can include more than two devices, which is not limited in this application.
[0056] To facilitate understanding, some technical terms involved in the embodiments of this application are explained below:
[0057] Frame Error Rate:
[0058] The communication link between a typical transmitting device and a receiving device can be shown in Figure 2. Here, x is the transmitted signal sequence, h is the channel coefficient, z is Gaussian white noise, and y is the received signal sequence. These parameters conform to the formula y = hx + z. Let x = {xi} be a series of complex signal sequences obtained by encoding and modulating the original information frame (frame) or information block (block) m, and y = {yi} be the received signal sequence. The signal frame obtained by the receiving device after demodulating and decoding the received signal sequence y is denoted as m'. When m' = m, information frame m is considered to have been transmitted correctly. Conversely, when m' ≠ m, information frame m is considered to have been transmitted in error. The frame error rate (or block error rate) refers to the average probability of an information frame or information block being transmitted incorrectly during data transmission.
[0059] Taking the additive white Gaussian noise (AWGN) channel as an example, the frame error rate can be in accordance with the following formula 1:
[0060]
[0061] Where P(e) is the frame error rate, z∈cN n is n-dimensional complex Gaussian white noise, f(z) is the noise joint density function, and f(z) can meet the following formula 2:
[0062]
[0063] Where σ is the noise power, z i is the Gaussian white noise corresponding to the i-th frame.
[0064] I() represents the error indication function, and I() conforms to the following formula 3:
[0065]
[0066] That is, when the frame transmission is incorrect, the value of function I() is 1, and when the frame transmission is correct, the value of function I() is 0.
[0067] Some communication equipment needs to be tested in accordance with standardized indicators before leaving the factory to ensure that the equipment meets the design requirements set by industry standards. For example, in the performance test of communication equipment, receiver performance is an important technical indicator to measure the performance of the equipment, which is generally expressed by measuring the frame error rate. At present, the MC method is usually used to measure the frame error rate. The MC method is usually based on the law of large numbers, which can ensure that when the total number of frames is large enough (generally hundreds of times the inverse of the frame error rate), the ratio between the number of error frames and the total number of frames can approach the true value of the frame error rate. For the requirement of frame error rate = 10 -1 ~10 -2For devices with a high frame error rate, the MC method can complete the frame error rate measurement in a short time (such as 5 minutes). However, for devices with higher frame error rate requirements, such as those with a frame error rate of 10 -6 ~10 -8 For equipment with this type of equipment, the traditional MC method takes a long time, for example, the measurement time may take one month or even one year, which reduces the measurement efficiency.
[0068] Based on this, an embodiment of the present application provides a method for measuring frame error rate to reduce measurement time and improve measurement efficiency.
[0069] Based on the above description, the method for measuring the frame error rate provided in the embodiment of the present application is described in detail below. The method for measuring the frame error rate provided in the embodiment of the present application can be applied to the scenario shown in Figure 1. Referring to Figure 3, the detailed process of the method for measuring the frame error rate provided in the embodiment of the present application may include the following steps:
[0070] Step 301: The first device obtains an error frame.
[0071] Step 302: The first device obtains channel information and / or interference information corresponding to the error frame.
[0072] Step 303: The first device determines a frame error rate according to channel information and / or interference information corresponding to the error frame.
[0073] The above-mentioned method of determining the frame error rate based on the channel information and / or interference information corresponding to the error frame can reduce the number of transmitted test frames. For example, the total number of frames only needs to be one percent of the total number of frames required by the current MC method, or even fewer frames. That is, the number of test frames used to obtain an accurate frame error rate only needs to be one percent of the total number of frames required by the current MC method, or even fewer frames. Therefore, the measurement time can be reduced and the measurement efficiency can be improved.
[0074] Optionally, the first device may be a test device; or the first device may be a device with both test and channel simulation functions. Alternatively, the first device may be understood as a combination of a test device and a channel simulation device. It should be understood that the terms "test device" and "channel simulation device" are merely example device names and do not limit this application. This application is described solely as an example. The following describes different scenarios of the first device using Examples A and B.
[0075] Embodiment a: The first device is a device with testing and channel simulation functions, such as the first device in the scenario of measuring frame error rate shown in Figure 4. This embodiment a can be understood as the scenario shown in Figure 1, where the device for measuring frame error rate includes one device.
[0076] In this embodiment a, the first device can generate channel information and / or interference information corresponding to each frame, can provide test frames for the sending device, can obtain decoded frames from the receiving device, can determine the frame error rate and output the frame error rate.
[0077] Optionally, the first device may generate multiple channel information and / or multiple interference information. For example, the first device may determine channel parameters such as channel power and / or interference noise power, and then generate multiple channel information and / or multiple interference information based on the channel parameters.
[0078] Optionally, in the present application, the interference information may include interference signals and noise, etc. The interference signal may be an interference sequence, etc., as shown in FIG4 . The channel information may be a channel sequence, as shown in FIG4 .
[0079] In an optional embodiment, the first device obtains the channel information and / or interference information corresponding to the error frame. The method may be: the first device determines the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all frames generated by the first device.
[0080] In one example, the first device obtains the error frame by: the first device determines multiple test frames, obtains multiple decoded frames, and determines the error frame based on the multiple test frames and the multiple decoded frames.
[0081] Specifically, the first device generates multiple test frames and sends the multiple test frames (for example, N test frame sequences {m1, m2, ..., m N}, where N is an integer greater than or equal to 2), the transmitting device inputs multiple test frames into the communication link between the transmitting device and the receiving device, which can also be understood as the transmitting device sending multiple test frames to the receiving device. The receiving device receives and decodes the test frames to obtain multiple decoded frames (for example, N corresponding decoded frames {m1', m2', ..., m N '}), and sends multiple decoded frames to the first device through the decoded frame interface of the first device. The first device compares the multiple test frames and the multiple decoded frames. When the i-th test frame is not equal to the i-th decoded frame, the i-th frame is determined to be an error frame, which can be recorded as when m i ≠m i ', the i-th frame is an error frame Ii=1, otherwise Ii=0. For details, please refer to the above formula 3. Based on this, the first device can determine the error frame according to multiple test frames and multiple decoded frames. Exemplarily, the number of error frames can be one or more.
[0082] The communication link for transmitting the test frame between the sending device and the receiving device can be specifically shown in FIG2 , and will not be described in detail here.
[0083] In an optional embodiment, the first device may determine the frame error rate based on the channel information and / or interference information corresponding to the error frame by the following method: the first device determines the weight of the error frame based on the channel information and / or interference information corresponding to the error frame; and then, the first device determines the frame error rate based on the weight of the error frame.
[0084] Exemplarily, the first device determines the weight of the error frame according to the interference information corresponding to the error frame, which may comply with the following formula 4:
[0085]
[0086] Among them, w i is the weight of the i-th frame, when the i-th frame is an error frame, w i is the weight of the error frame, z i is the interference information corresponding to the i-th frame, σ1 is the real noise power corresponding to the simulated signal-to-noise ratio, σ2 is the noise power used by the importance sampling method, and generally σ2 needs to satisfy σ2>σ1. The typical value of σ2 is an integer multiple of σ1, and n is the noise dimension.
[0087] Optionally, the frame error rate determined by the first device may comply with the following formula 5:
[0088]
[0089] Where FER is the frame error rate; N is the number of frames, N is a positive integer; I is the error indication function, when the i-th frame is an error frame, I i is 1, otherwise I i is 0; w i is the weight of the i-th frame, w i The determination is based on channel information and / or interference information corresponding to the i-th frame.
[0090] It should be noted that, since the i-th frame is a correct frame, that is, not an error frame, I in Formula 5 i It is 0, so it can be understood that the frame error rate is determined based on the weight of the error frame.
[0091] Illustratively, in this embodiment a, when the first device implements the above operation, it can be implemented through one module in the first device, or it can also be implemented through two modules in the first device.
[0092] In an optional embodiment, when implemented by two modules in the first device, the two modules may be shown as the channel simulation module and the test module in Figure 5. It should be understood that the two modules in Figure 5 are merely examples and do not limit the present application. The following description only uses the channel simulation module and the test module as examples.
[0093] Optionally, in the scenario shown in FIG5 , the test module can provide a test frame to the transmitting device, obtain a decoded frame from the receiving device, determine the frame error rate, and output the frame error rate. The test module can determine channel parameters such as channel power and / or interference noise power, and transmit the channel parameters to the channel simulation module. The channel simulation module can generate multiple channel information and / or multiple interference information based on the channel parameters. Alternatively, the test module can also generate multiple channel information and / or multiple interference information based on the channel parameters, and transmit the multiple channel information and / or multiple interference information to the channel simulation module.
[0094] Among them, the test module can obtain the channel information and / or interference information corresponding to the error frame. For example, the test module obtains the channel information and / or interference information corresponding to all frames from the channel simulation module, and determines the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all frames. For another example, after the test module determines the error frame, it transmits the frame identifier of the error frame to the channel simulation module. The channel simulation module determines the channel information and / or interference information corresponding to the error frame based on the frame identifier of the error frame, and transmits the channel information and / or interference information corresponding to the error frame to the test module.
[0095] Optionally, when the channel simulation module transmits the channel information and / or interference information corresponding to the error frame to the test module, it can also transmit the frame identifier of the error frame to the test module so that the test module can identify the channel information and / or interference information corresponding to the error frame.
[0096] It should be understood that the interaction between the above-mentioned test module and the channel simulation module is an internal implementation of the first device.
[0097] Optionally, when the aforementioned operations of the first device are implemented by a single module, for example, the module may be a combined test module and channel simulation module, or another module that implements the functions of the first device. It should be understood that when the module is a combined test module and channel simulation module, the aforementioned interactive operations between the test device and the channel simulation module do not exist.
[0098] Through the above embodiment a, generation of channel information and / or interference information and measurement of frame error rate can be achieved through one device, which can improve the efficiency of measuring the frame error rate and reduce the deployment of measurement devices.
[0099] Embodiment B: The first device is a test device, such as the test device shown in Figure 6. This embodiment B can be understood as referring to the scenario shown in Figure 1, where the device for measuring the frame error rate includes two devices: a first device and a second device. The second device in this application is described using a channel simulation device as an example and is not intended to limit this application.
[0100] In this embodiment (b), the test device can provide test frames to the transmitting device, obtain decoded frames from the receiving device, determine the frame error rate (FR) and output the FR. The channel simulation device can generate channel information and / or interference information, or the test device can generate the channel information and / or interference information and transmit the channel information and / or interference information to the channel simulation device.
[0101] Optionally, the test device may determine channel parameters such as channel power and / or interference noise power, and send the channel parameters to the channel simulation device, so that the channel simulation device generates multiple channel information and / or interference information based on the channel parameters. Alternatively, the test device may determine channel parameters such as channel power and / or interference noise power, and generate multiple channel information and / or interference information based on the channel parameters, and send the multiple channel information and / or interference information to the channel simulation device.
[0102] In this embodiment b, the method for the test device to obtain the error frame can refer to the method for the first device to obtain the error frame in the above embodiment a, and the method for the test device to determine the frame error rate based on the channel information and / or interference information corresponding to the error frame can refer to the method for determining the frame error rate based on the channel information and / or interference information corresponding to the error frame in the above embodiment a, which will not be described in detail here.
[0103] In an optional manner c1, the test device may obtain the channel information and / or interference information corresponding to the error frame in the following manner: the test device receives the channel information and / or interference information corresponding to all frames from the channel simulation device, and determines the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all frames. Accordingly, the channel simulation device determines the channel information and / or interference information corresponding to all frames and sends the channel information and / or interference information corresponding to all frames to the test device.
[0104] Exemplarily, the test device may receive channel information corresponding to all frames from the channel simulation device through a first interface, and / or receive interference information corresponding to all frames from the channel simulation device through a second interface.
[0105] Optionally, the first interface and the second interface may be the same interface or two different interfaces.
[0106] In one example, when the test device receives channel information and / or interference information corresponding to all frames from the channel simulation device, the test device can also receive frame identifiers corresponding to all frames from the channel simulation device, and the frame identifier of each frame corresponds to the channel information and / or interference information of each frame, so that the test device can determine the correspondence between the error frame and the channel information and / or interference information of the error frame.
[0107] Based on the method c1, an example of a method for measuring a frame error rate may be shown in FIG7 , and the process may be:
[0108] Step 701: The testing device determines channel parameters, which may include channel power and / or interference noise power, etc.
[0109] Step 702: The test device sends channel parameters to the channel simulation device.
[0110] Step 703: The channel simulation device generates a plurality of channel information and / or interference information according to the channel parameters.
[0111] The plurality of channel information and / or interference information is used for a communication link between a transmitting device and a receiving device.
[0112] Step 704: The test device generates a plurality of test frames.
[0113] Step 705: The testing device sends multiple test frames to the sending device.
[0114] Step 706: The sending device transmits multiple test frames to the receiving device.
[0115] Step 707: The receiving device decodes the multiple test frames to obtain multiple decoded frames.
[0116] Step 708: The receiving device sends multiple decoded frames to the testing device.
[0117] Step 709: The test equipment determines an error frame according to the multiple test frames and the multiple decoded frames.
[0118] Step 710: The channel simulation device sends channel information and / or interference information of all frames to the test device.
[0119] Step 711: The test device determines the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all frames.
[0120] Step 712: The test device determines a frame error rate according to the channel information and / or interference information corresponding to the error frame.
[0121] Specifically, the specific implementation method of each step in the above example can be found in the above related description, which will not be repeated here.
[0122] In an optional method c2, the test device can obtain the channel information and / or interference information corresponding to the error frame in the following manner: the test device sends a frame identifier of the error frame to the channel simulation device, and the frame identifier of the error frame is used to determine the channel information and / or interference information corresponding to the error frame; the test device receives the channel information and / or interference information corresponding to the error frame from the channel simulation device. Accordingly, the channel simulation device receives the frame identifier of the error frame from the test device, determines the channel information and / or interference information corresponding to the error frame based on the frame identifier of the error frame, and sends the channel information and / or interference information corresponding to the error frame to the test device.
[0123] Exemplarily, the test device can send the frame identifier of the error frame to the channel simulation device through the third interface; the test device can receive channel information corresponding to the error frame from the channel simulation device through the fourth interface, and / or receive interference information corresponding to the error frame from the channel simulation device through the fifth interface.
[0124] Optionally, the fourth interface and the fifth interface may be the same interface or two different interfaces.
[0125] Optionally, the third interface can be implemented through the same interface as the fourth interface and the fifth interface. For example, when the test device sends information to the channel simulation device, the interface can function as the third interface and can be understood as a downlink interface; when the test device receives information from the channel simulation device, the interface can function as the fourth interface and the fifth interface and can be understood as an uplink interface.
[0126] In one example, when the test device receives channel information and / or interference information corresponding to an error frame from a channel simulation device, the test device can also receive a frame identifier of the error frame from the channel simulation device, and the frame identifier of each error frame corresponds to the channel information and / or interference information of each error frame, so that the test device can determine the correspondence between the error frame and the channel information and / or interference information of the error frame.
[0127] Based on the method c2, an example of a method for measuring a frame error rate may be shown in FIG8 , and the process may be:
[0128] Steps 801 to 809 are similar to the above-mentioned steps 701 to 709 and can be referred to each other, so they will not be described in detail here.
[0129] Step 810: The test device sends a frame identifier of the error frame to the channel simulation device.
[0130] Step 811: The channel simulation device determines the channel information and / or interference information corresponding to the error frame according to the frame identifier of the error frame.
[0131] Step 812: The channel simulation device sends the channel information and / or interference information corresponding to the error frame to the test device.
[0132] Step 813: The test device determines a frame error rate according to the channel information and / or interference information corresponding to the error frame.
[0133] Specifically, the specific implementation method of each step in the above example can be found in the above related description, which will not be repeated here.
[0134] Based on the above approach c2, the data throughput between the channel simulation device and the test device can be reduced.
[0135] Based on the above embodiments, the present application also provides an apparatus for measuring a frame error rate. Referring to FIG9 , the apparatus 900 for measuring a frame error rate may include a storage unit 901 and a processing unit 902. The storage unit 901 is configured to store program instructions, and the processing unit 902 is configured to call the program instructions in the storage unit 901 to control and manage the operation of the apparatus 900 for measuring a frame error rate.
[0136] Exemplarily, the apparatus 900 for measuring a frame error rate may be the first device in the above embodiment, a processor of the first device, or a chip, or a chip system, or a functional module, etc.
[0137] In one embodiment, when the device 900 for measuring the frame error rate is used to implement the function of the first device in the above embodiment, it may include: the processing unit 902 is used to call the program instructions in the storage unit 901 to perform the following operations: obtaining an error frame, and obtaining the channel information and / or interference information corresponding to the error frame; determining the frame error rate based on the channel information and / or interference information corresponding to the error frame.
[0138] In an optional embodiment, when obtaining the channel information and / or interference information corresponding to the error frame, the processing unit 902 can be used to: determine the channel information and / or interference information corresponding to the error frame among the channel information and / or interference information corresponding to all frames generated by the first device.
[0139] In another optional embodiment, the device 900 for measuring the frame error rate may further include a communication unit, which is used to receive the channel information and / or interference information corresponding to all the frames from the second device; when the processing unit 902 obtains the channel information and / or interference information corresponding to the error frame, it can be used to: determine the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all the frames.
[0140] In another optional embodiment, the device 900 for measuring the frame error rate may further include a communication unit, wherein the communication unit is used to send a frame identifier of the error frame to the second device, and the frame identifier of the error frame is used to determine the channel information and / or interference information corresponding to the error frame; and receive the channel information and / or interference information corresponding to the error frame from the second device; when the processing unit 902 obtains the channel information and / or interference information corresponding to the error frame, it can be used to: the processing unit 902 is used to control the communication unit to perform the above-mentioned sending and receiving operations.
[0141] In one example, when the communication unit is used to receive the channel information and / or interference information corresponding to all frames from the second device, it can be used to: receive the channel information corresponding to all frames from the second device through the first interface, and / or, receive the interference information corresponding to all frames from the second device through the second interface;
[0142] or
[0143] The communication unit is configured to, when sending the frame identifier of the error frame to the second device, be configured to: send the frame identifier of the error frame to the second device through the third interface;
[0144] The communication unit is used to receive the channel information and / or interference information corresponding to the error frame from the second device, and can be used to: receive the channel information corresponding to the error frame from the second device through the fourth interface, and / or, receive the interference information corresponding to the error frame from the second device through the fifth interface.
[0145] Optionally, when receiving the channel information and / or interference information corresponding to all frames from the second device, the communication unit is further configured to: receive frame identifiers corresponding to all frames from the second device, where the frame identifier of each frame corresponds to the channel information and / or interference information of each frame; or
[0146] The communication unit is used to, when receiving the channel information and / or interference information corresponding to the error frame from the second device, also be used: the first device receives the frame identifier of the error frame from the second device, and the frame identifier of each error frame corresponds to the channel information and / or interference information of each error frame.
[0147] Exemplarily, the processing unit 902 is further configured to determine a plurality of channel information and / or a plurality of interference information.
[0148] Optionally, the apparatus 900 for measuring a frame error rate may further include a communication unit, and the communication unit is configured to send the multiple channel information and / or multiple interference information to the second device.
[0149] As an optional method, when determining the frame error rate based on the channel information and / or interference information corresponding to the error frame, the processing unit 902 is used to: determine the weight of the error frame based on the channel information and / or interference information corresponding to the error frame; and determine the frame error rate based on the weight of the error frame.
[0150] Exemplarily, the frame error rate conforms to the following formula:
[0151]
[0152] Wherein, FER is the frame error rate; N is the number of frames, N is a positive integer; I is the error indication function, when the i-th frame is an error frame, I i is 1, otherwise I i is 0; w i is the weight of the i-th frame, w i The determination is based on channel information and / or interference information corresponding to the i-th frame.
[0153] Optionally, when acquiring the error frame, the processing unit 902 may be configured to: determine a plurality of test frames; acquire a plurality of decoded frames; and determine the error frame according to the plurality of test frames and the plurality of decoded frames.
[0154] Based on the above embodiments, the present application also provides another apparatus for measuring a frame error rate. Referring to FIG. 10 , the apparatus 1000 for measuring a frame error rate may include a communication unit 1001 and a processing unit 1002. The communication unit 1001 is configured to communicate with other devices, and the processing unit 1002 is configured to control and manage the operations of the apparatus 1000 for measuring a frame error rate. The processing unit 1002 may also control the steps performed by the communication unit 1001.
[0155] Illustratively, the apparatus 1000 for measuring a frame error rate may be the second device in the above embodiment, a processor of the second device, or a chip, or a chip system, or a functional module, etc.
[0156] In one embodiment, when the device 1000 for measuring the frame error rate is used to implement the function of the second device in the above embodiment, it may include: the processing unit 1002 is used to determine the channel information and / or interference information corresponding to all frames; the communication unit 1001 is used to send the channel information and / or interference information corresponding to all frames to the first device.
[0157] Optionally, when sending the channel information and / or interference information corresponding to all the frames to the first device, the communication unit 1001 can be used to: send the channel information corresponding to all the frames to the first device through the first interface, and / or, send the interference information corresponding to all the frames to the first device through the second interface.
[0158] Exemplarily, when the communication unit 1001 sends the channel information and / or interference information corresponding to all the frames to the first device, it is also used to: send the frame identifiers corresponding to all the frames to the first device, and the frame identifier of each frame corresponds to the channel information and / or interference information of each frame.
[0159] In another embodiment, when the device 1000 for measuring the frame error rate is used to implement the function of the second device in the above embodiment, it may include: the communication unit 1001 is used to receive the frame identifier of the error frame from the first device, and the frame identifier of the error frame is used to determine the channel information and / or interference information corresponding to the error frame; the processing unit 1002 is used to determine the channel information and / or interference information corresponding to the error frame based on the frame identifier of the error frame; the communication unit 1001 is also used to send the channel information and / or interference information corresponding to the error frame to the first device.
[0160] Optionally, when receiving the frame identifier of the error frame from the first device, the communication unit 1001 may be configured to: receive the frame identifier of the error frame from the first device through a third interface.
[0161] Optionally, when the communication unit 1001 sends the channel information and / or interference information corresponding to the error frame to the first device, it can be used to: send the channel information corresponding to the error frame to the first device through the fourth interface, and / or, send the interference information corresponding to the error frame to the first device through the fifth interface.
[0162] Exemplarily, when the communication unit 1001 sends the channel information and / or interference information corresponding to the error frame to the first device, it can also be used to: send the frame identifier of the error frame to the first device, the frame identifier of each error frame corresponds to the channel information and / or interference information of each error frame.
[0163] It should be noted that the division of units in the embodiments of the present application is schematic and is merely a logical functional division. In actual implementation, other division methods may be used. The functional units in the embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0164] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0165] Based on the above embodiments, embodiments of the present application further provide a device for measuring a frame error rate. Referring to FIG. 11 , the device 1100 for measuring a frame error rate may include a communication interface 1101 and a processor 1102. Optionally, the device 1100 for measuring a frame error rate may further include a memory 1103. The memory 1103 may be disposed within the device 1100 for measuring a frame error rate or may be disposed externally thereto. The processor 1102 may control the communication interface 1101 to receive and transmit information or data, such as frames. The processor 1102 and the memory 1103 may also be integrated.
[0166] The processor 1102 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor 1102 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0167] The communication interface 1101, the processor 1102, and the memory 1103 are interconnected. Optionally, the communication interface 1101, the processor 1102, and the memory 1103 are interconnected via a bus 1104; the bus 1104 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be classified as an address bus, a data bus, a control bus, and the like. For ease of illustration, FIG11 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.
[0168] In an optional embodiment, the memory 1103 is used to store programs, etc. The programs may include program code, which includes computer operating instructions. The memory 1103 may include RAM or non-volatile memory, such as one or more disk storage devices. The processor 1102 executes the application stored in the memory 1103 to implement the above functions, thereby realizing the functions of the device 1100 for measuring frame error rate.
[0169] Exemplarily, the apparatus 1100 for measuring a frame error rate may be the first device in the above embodiment; or the second device in the above embodiment (such as a channel simulation device).
[0170] In one embodiment, when the apparatus 1100 for measuring a frame error rate functions as the first device in the above-described embodiment, the communication interface 1101 may implement the transceiver operations performed by the first device in the above-described embodiment; and the processor 1102 may implement other operations performed by the first device in the above-described embodiment, except for the transceiver operations. For detailed descriptions, please refer to the relevant descriptions in the above-described embodiment and will not be described in detail here.
[0171] In another embodiment, when the apparatus 1100 for measuring frame error rate functions as the second device (e.g., a channel simulation device) in the above embodiment, the communication interface 1101 may implement the transceiver operations performed by the second device (e.g., a channel simulation device) in the above embodiment; and the processor 1102 may implement other operations other than the transceiver operations performed by the second device (e.g., a channel simulation device) in the above embodiment. For detailed descriptions, please refer to the relevant descriptions in the above embodiment and will not be described in detail here.
[0172] Based on the above embodiments, an embodiment of the present application provides a system, which may include the first device involved in the above embodiments, or include the first device and the second device involved in the above embodiments.
[0173] An embodiment of the present application further provides a computer-readable storage medium, which is used to store a computer program. When the computer program is executed by a computer, the computer can implement the method for measuring the frame error rate provided in the above method embodiment.
[0174] An embodiment of the present application further provides a computer program product, which is used to store a computer program. When the computer program is executed by a computer, the computer can implement the method for measuring the frame error rate provided in the above method embodiment.
[0175] An embodiment of the present application further provides a chip, including a processor, which is coupled to a memory and is configured to call a program in the memory so that the chip implements the method for measuring a frame error rate provided in the above method embodiment.
[0176] The embodiment of the present application further provides a chip, which is coupled to a memory and is used to implement the method for measuring the frame error rate provided in the above method embodiment. Alternatively, the memory can also be integrated into the chip.
[0177] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0178] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.
[0179] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0180] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0181] Obviously, those skilled in the art may make various modifications and variations to this application without departing from the scope of protection of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A method for measuring a frame error rate, characterized in that: include: The first device obtains an error frame; The first device obtains channel information and / or interference information corresponding to the error frame; The first device determines a frame error rate according to channel information and / or interference information corresponding to the error frame.
2. The method according to claim 1, wherein The first device obtaining channel information and / or interference information corresponding to the error frame includes: The first device determines the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all frames generated by the first device; or The first device receives the channel information and / or interference information corresponding to all the frames from the second device, and determines the channel information and / or interference information corresponding to the error frame from the channel information and / or interference information corresponding to all the frames; or The first device sends the frame identifier of the error frame to the second device, and the frame identifier of the error frame is used to determine the channel information and / or interference information corresponding to the error frame; the first device receives the channel information and / or interference information corresponding to the error frame from the second device.
3. The method according to claim 2, wherein The first device receiving channel information and / or interference information corresponding to all frames from the second device includes: The first device receives the channel information corresponding to all the frames from the second device through a first interface, and / or receives the interference information corresponding to all the frames from the second device through a second interface; or The first device sending the frame identifier of the error frame to the second device includes: The first device sends the frame identifier of the error frame to the second device through the third interface; The first device receiving, from the second device, channel information and / or interference information corresponding to the error frame, includes: The first device receives channel information corresponding to the error frame from the second device through a fourth interface, and / or receives interference information corresponding to the error frame from the second device through a fifth interface.
4. The method according to claim 2 or 3, wherein: When the first device receives the channel information and / or interference information corresponding to all frames from the second device, the method further includes: the first device receives frame identifiers corresponding to all frames from the second device, where the frame identifier of each frame corresponds to the channel information and / or interference information of each frame; or When the first device receives the channel information and / or interference information corresponding to the error frame from the second device, it also includes: the first device receives the frame identifier of the error frame from the second device, and the frame identifier of each error frame corresponds to the channel information and / or interference information of each error frame.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The first device determines a plurality of channel information and / or a plurality of interference information.
6. The method according to claim 5, wherein The method further comprises: The first device sends the plurality of channel information and / or the plurality of interference information to the second device.
7. The method according to any one of claims 1 to 6, wherein: The first device determines a frame error rate according to channel information and / or interference information corresponding to the error frame, including: The first device determines the weight of the error frame according to channel information and / or interference information corresponding to the error frame; The first device determines the frame error rate according to the weight of the error frame.
8. The method according to any one of claims 1 to 7, wherein: The frame error rate complies with the following formula: Wherein, FER is the frame error rate; N is the number of frames, N is a positive integer; I is the error indication function, when the i-th frame is an error frame, I i is 1, otherwise I i is 0; w i is the weight of the i-th frame, w i The determination is based on channel information and / or interference information corresponding to the i-th frame.
9. The method according to any one of claims 1 to 8, wherein The first device obtaining the error frame includes: The first device determines a plurality of test frames; The first device obtains a plurality of decoded frames; The first device determines the error frame according to the multiple test frames and the multiple decoded frames.
10. A method for measuring frame error rate, characterized in that: include: The second device determines channel information and / or interference information corresponding to all frames; The second device sends the channel information and / or interference information corresponding to all the frames to the first device.
11. The method according to claim 10, wherein The second device sending the channel information and / or interference information corresponding to all the frames to the first device includes: The second device sends the channel information corresponding to all the frames to the first device through the first interface, and / or sends the interference information corresponding to all the frames to the first device through the second interface.
12. The method according to claim 10 or 11, characterized in that When the second device sends the channel information and / or interference information corresponding to all frames to the first device, the method further includes: The second device sends frame identifiers corresponding to all the frames to the first device, where the frame identifier of each frame corresponds to the channel information and / or interference information of each frame.
13. A method for measuring frame error rate, characterized in that: include: The second device receives a frame identifier of the error frame from the first device, where the frame identifier of the error frame is used to determine channel information and / or interference information corresponding to the error frame; The second device determines, according to the frame identifier of the error frame, channel information and / or interference information corresponding to the error frame; The second device sends the channel information and / or interference information corresponding to the error frame to the first device.
14. The method according to claim 13, wherein The second device receiving the frame identifier of the error frame from the first device includes: The second device receives the frame identifier of the error frame from the first device through the third interface.
15. The method according to claim 13 or 14, characterized in that The second device sending the channel information and / or interference information corresponding to the error frame to the first device includes: The second device sends the channel information corresponding to the error frame to the first device through the fourth interface, and / or sends the interference information corresponding to the error frame to the first device through the fifth interface.
16. The method according to any one of claims 13 to 15, wherein: When the second device sends the channel information and / or interference information corresponding to the error frame to the first device, the method further includes: The second device sends the frame identifiers of the error frames to the first device, where the frame identifier of each error frame corresponds to the channel information and / or interference information of each error frame.
17. A device for measuring frame error rate, characterized in that: The method comprises a module or a unit for executing the method according to any one of claims 1 to 9.
18. A device for measuring frame error rate, characterized in that: The method comprises a module or a unit for executing the method according to any one of claims 10 to 12.
19. A device for measuring frame error rate, characterized in that: The method comprises a module or a unit for executing the method according to any one of claims 13 to 16.
20. A device for measuring frame error rate, characterized in that: comprising a memory, a processor, wherein: The memory is used to store computer instructions; The processor is coupled to the memory and is configured to call computer instructions in the memory to enable the apparatus for measuring the frame error rate to execute the method according to any one of claims 1 to 9.
21. A device for measuring frame error rate, characterized in that: comprising a memory, a processor, wherein: The memory is used to store computer instructions; The processor is coupled to the memory and is configured to call computer instructions in the memory to enable the apparatus for measuring the frame error rate to execute the method according to any one of claims 10 to 12.
22. A device for measuring frame error rate, characterized in that: comprising a memory, a processor, wherein: The memory is used to store computer instructions; The processor is coupled to the memory and is configured to call computer instructions in the memory to enable the apparatus for measuring the frame error rate to execute the method according to any one of claims 13 to 16.
23. The device according to any one of claims 17 to 22, characterized in that The device is a chip.
24. A system for measuring frame error rate, characterized in that: comprising a first device, or comprising a first device and a second device; wherein: The first device is used to perform the method according to any one of claims 1 to 9; The second device is used to execute the method according to any one of claims 10 to 12, or execute the method according to any one of claims 13 to 16.
25. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which, when called by the computer, are used to cause the computer to execute the method described in any one of claims 1 to 9, or the method described in any one of claims 10 to 12, or the method described in any one of claims 13 to 16.
26. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 9, or the method according to any one of claims 10 to 12, or the method according to any one of claims 13 to 16.