WO2018103008A1 - Digital communication system and bit error rate calculation method - Google Patents

Digital communication system and bit error rate calculation method Download PDF

Info

Publication number
WO2018103008A1
WO2018103008A1 PCT/CN2016/108850 CN2016108850W WO2018103008A1 WO 2018103008 A1 WO2018103008 A1 WO 2018103008A1 CN 2016108850 W CN2016108850 W CN 2016108850W WO 2018103008 A1 WO2018103008 A1 WO 2018103008A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
channel
encoded data
tested
error rate
Prior art date
Application number
PCT/CN2016/108850
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 PCT/CN2016/108850 priority Critical patent/WO2018103008A1/en
Publication of WO2018103008A1 publication Critical patent/WO2018103008A1/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
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a digital communication system and a method for calculating a bit error rate.
  • the bit error rate can be used to characterize the channel quality to some extent.
  • the bit error rate is the ratio of the number of error bits to the number of all bits. If the bit error rate is large, the number of error bits is large, that is, the channel quality is poor; if the bit error rate is small, the number of error bits is small, that is, the channel quality is good; therefore, the bit error rate can be used to characterize the channel quality. .
  • the sender device and the receiver device store the same source data in advance, and then the sender device transmits the source data to the receiver device through the channel, and then the receiver device will receive the source data.
  • the number of error bits in the received source data is determined, and finally, the quotient of the number of error bits and the number of bits of the source data is determined as the bit error rate.
  • the current calculation of the error rate is based on the premise that both the sender device and the receiver device store the same source data in advance.
  • the source data to be transmitted by the sender device is known data.
  • the transmission of known data by the communicating parties is a waste of channel resources, which affects the use of channel resources by other services.
  • the present application provides a method for calculating a bit error rate so that the bit error rate can be calculated without the pre-stored source data in the receiver device, thereby improving channel resource utilization.
  • a method for calculating a bit error rate including:
  • the source data obtained after the error correction decoding is inversely encoded to obtain the second encoded data
  • the method further includes:
  • setting the error rate of the channel to be tested is a preset character.
  • the method further includes:
  • the first data symbol is obtained from the first encoded data
  • the method further includes:
  • the error rate of the channel to be tested is set as a preset character.
  • the method before performing the error correction decoding operation on the first encoded data, the method further includes: performing an operation of acquiring a frame synchronization data in the first encoded data;
  • the error correction decoding of the first encoded data fails, or if the data type field is not successfully decoded, or if the data type field is successfully decoded but the data type field is not a preset type, it is determined whether the first encoded data is successfully obtained.
  • the method further includes:
  • the method further includes:
  • the average error rate of the channel to be tested is determined based on the multiple error rates of the channel to be tested.
  • the determining, according to the multiple error rates of the channel to be tested, the average error rate of the channel to be tested including:
  • the average value of the multiple bit error rates of the channel to be tested is determined as the average bit error rate of the channel to be tested.
  • the method further includes:
  • the multiple error rate of the channel to be tested includes a preset character, it is determined whether more than half of the preset characters are included in the multiple error rate;
  • the bit error rate of the channel to be tested is set to a preset value.
  • the method further includes:
  • each preset character is assigned a value of 5%, and an average value is calculated with the error rate of the other non-preset characters, and the average value is determined as The average bit error rate of the channel to be tested;
  • the average value of the error rate of the other non-preset characters is calculated, and the average value is determined as the channel to be tested. The average bit error rate.
  • a digital communication system comprising:
  • a sender device configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
  • a receiving device configured to receive and store the first encoded data, perform an error correction decoding operation on the first encoded data, and after decoding and decoding the first encoded data successfully, after decoding the error correction
  • the obtained source data is inversely encoded to obtain second encoded data; and based on the first encoded data and the second encoded data, a bit error rate of the channel to be tested is calculated.
  • a method for calculating a bit error rate including:
  • the method further includes:
  • a digital communication system comprising:
  • a sender device configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
  • a receiving device configured to receive, by using the first encoded data sent by the sending device by using the channel to be tested, performing an operation of acquiring frame synchronization data in the first encoded data; and successfully obtaining a first frame synchronization in the first encoded data Data, storing the first frame synchronization data; determining second frame synchronization data in the storage space; calculating a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
  • a method for calculating a bit error rate including:
  • the first data symbol is obtained from the first encoded data
  • the method further includes:
  • the bit error rate is set as a preset character.
  • a digital communication system comprising:
  • a sender device configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
  • the receiving device is configured to receive the first encoded data sent by the sending device through the channel to be tested, and perform error correction decoding on the first encoded data to determine whether the data type field can be decoded; if the data is successfully decoded
  • the type field and the data type field are preset types, the first data symbol is obtained from the first encoded data; the data content corresponding to the preset type is determined, and the data content is inversely encoded to obtain the first Two data symbols; calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
  • a receiver device comprising:
  • a first communication module configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
  • a memory configured to store first encoded data that is sent by the sending device through the channel to be tested
  • a first processor configured to perform an error correction decoding operation on the first encoded data, and after performing error correction decoding on the first encoded data, performing reverse coding on the source data obtained after error correction decoding to obtain a second Encoding data, based on the first encoded data and the second encoded data, calculating a bit error rate of the channel to be tested.
  • a receiver device comprising:
  • a second communication module configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
  • a second processor configured to perform an operation of acquiring frame synchronization data in the first encoded data, and if the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data, and storing The second frame synchronization data is determined in the space; and the error rate of the channel to be tested is calculated based on the first frame synchronization data and the second frame synchronization data.
  • a receiver device comprising:
  • a third communication module configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
  • a third processor in the process of performing error correction decoding on the first encoded data, determining whether the data type field can be decoded, and if the data type field is successfully decoded and the data type field is a preset type, Obtaining a first data symbol in an encoded data, determining a data content corresponding to the preset type, and performing inverse encoding on the data content to obtain a second data symbol, Calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
  • the present application provides a method for calculating a bit error rate.
  • the receiver of the present application obtains source data by error correction decoding based on the first encoded data, and does not need to store the source data in the receiving device; and then reverses the source data.
  • the encoding obtains the second encoded data, and the error rate of the channel to be tested is obtained by comparing the first encoded data with the second encoded data.
  • the recipient device Since the present application does not need to store source data in the recipient device, the recipient device does not know the source data transmitted by the sender device. That is, in the present application, the sender device and the receiver device do not transmit the known data, so no waste of channel resources is caused, so as to improve the utilization of channel resources.
  • 1a-1c are schematic diagrams showing the structure of a digital communication system.
  • FIG. 2 is a flowchart of a method for calculating a bit error rate provided by the present application
  • FIG. 3 is a flowchart of still another method for calculating a bit error rate provided by the present application.
  • FIG. 5 is a flowchart of still another method for calculating a bit error rate provided by the present application.
  • FIG. 6 is a flowchart of calculating a bit error rate based on multiple error rates provided by the present application.
  • the application scenario of the present application is described below.
  • the two parties are called a sender device and a receiver device.
  • the solution provided by the present application may be set on the receiver device, so that the receiver device can determine the channel quality of the channel based on the data object after receiving the data object through the channel.
  • the communication parties may be a base station and a terminal, and the base station (sender device) may send data to the terminal (receiver device) through the channel; the terminal (sender device) may also send data to the base station (receiver device) through the channel. .
  • the communication parties can also be terminals and a transfer station.
  • the transfer station (sender device) can transmit data to the terminal (receiver device) through the channel; the terminal (sender device) can also transmit data to the transfer station (receiver device) through the channel.
  • the two communication parties may also be two terminals: a first terminal and a second terminal.
  • the first terminal (sender device) may send data to the second terminal (receiver device) through the channel;
  • the second terminal (sender device) may also transmit data to the first terminal (receiver device) through the channel.
  • the terminal in FIG. 1a - FIG. 1c is represented by a digital walkie-talkie in the illustration, but the scope of the terminal in the present application is not limited to a digital walkie-talkie, and may also be a device such as a smart phone, a tablet computer, or a desktop computer.
  • the two communication parties in the digital communication system may also have other implementation manners, which are not enumerated here.
  • the present application takes a channel of multiple channels as an example to describe in detail the process of determining channel quality.
  • the channel is referred to as a channel to be tested.
  • a DMR frame in a Digital Mobile Radio has a length of 60 ms, which occupies 2 time slots, and each time slot occupies 30 ms.
  • One time slot is called a Protocol Data Unit (Protocol Data Unit), that is, each PDU frame occupies 30 ms.
  • Protocol Data Unit Protocol Data Unit
  • the terminal corresponding to the receiver device can calculate only the error rate of one of the time slots, that is, the 30 ms source data. If the bit error rate between the terminal and the transfer station, or the bit error rate is calculated between the terminal and the base station, since the transfer station and the base station are transmitting data in both time slots of one DMR frame, the receiver The device may select one time slot in the DMR frame to calculate the error rate, and may also use the source data of the two time slots in the DME frame to calculate the bit error rate.
  • the present application provides various implementation manners of a method for calculating a bit error rate, and various implementation manners are respectively described in detail below.
  • the first implementation manner uses the first encoded data to calculate the bit error rate.
  • this embodiment provides a first embodiment of a method for calculating a bit error rate, which specifically includes the following steps:
  • Step S201 The sender device sends the first coded data to the receiver device through the channel to be tested.
  • the first encoded data is obtained by channel coding the source data.
  • channel coding is to overcome the effects of noise and interference in the channel on the source data.
  • the process of channel coding is to add some necessary supervised symbols in the symbols (artificial) of the information to be transmitted according to a certain (supervised) law. This can facilitate the receiver device to utilize the supervision rules between these supervised symbols and information symbols to find and correct errors, thereby improving the reliability of transmission of information symbols.
  • the technician can set the preset encoding rule before this step.
  • the sender device may perform channel coding on the source data according to a preset coding rule, and obtain channel-coded first encoded data.
  • the sender device can obtain the first encoded data, and then send the first encoded data to the receiving device through the channel to be tested.
  • Step S202 The receiver device receives and stores the first encoded data.
  • the receiving device After receiving the first encoded data, the receiving device first stores the first encoded data for use in subsequent calculation of the error rate.
  • Step S203 The receiving device performs an error correction decoding operation on the first encoded data. If the error correction decoding is successful, the process proceeds to step S204. If the error correction decoding fails, the process proceeds to step S206.
  • Step S204 Perform reverse coding on the source data obtained after error correction decoding, and obtain the second series. Code data.
  • the receiving device After receiving the first encoded data, the receiving device performs error correction decoding on the first encoded data, so as to find the erroneous bits in the first encoded data in the process of restoring the first encoded data into the source data.
  • the error bit is corrected to obtain error-corrected decoded source data.
  • the source data obtained after error correction decoding is regarded as the correct source data. That is, the present application considers that the source data obtained after error correction decoding is consistent with the source data before the channel coding by the sender device.
  • the error correction decoded is also performed.
  • the source data is channel coded.
  • the channel coding and the error correction decoding are mutually inverse processes. Therefore, the process of coding the channel data of the source data may also be referred to as reverse coding.
  • the encoded data obtained in this step is referred to as second encoded data.
  • the first encoded data is channel-encoded by the source data and transmitted through the channel to be tested;
  • the second encoded data is channel-encoded by the source data (the correct source data). If the channel to be tested does not have interference and noise, the first encoded data and the second encoded data should be identical.
  • the first coded data may be interfered by the channel to be tested and an erroneous bit may occur.
  • Step S205 Calculate a bit error rate of the channel to be tested based on the first encoded data and the second encoded data.
  • the first encoded data and the second encoded data may be compared. Since the second encoded data does not pass through the channel to be tested, it is considered that all bits in the second encoded data are correct.
  • the first encoded data and the second encoded data are compared to determine the number of erroneous bits in the first encoded data; then, the BER of the number of erroneous bits and the total number of bits of the second encoded data is used to calculate the bit error rate. If the bit error rate is large, the channel quality of the channel to be tested is poor. If the bit error rate is small, the channel quality of the channel to be tested is good.
  • Step S206 If the error correction decoding of the first encoded data fails, the error rate is set to a preset character.
  • the receiving sensitivity is generally required to be -118dB to -120dB in the field of digital communication, and the corresponding bit error rate is about 5%.
  • the first encoded data received in this case can be decoded by error correction. If the received first encoded data cannot pass the error correction encoding, the error rate is directly given as a preset character.
  • the meaning of the preset character is equivalent to the bit error rate exceeding 5%, that is, the wireless signal field strength is equivalent to -120dB.
  • the default character can be represented by NULL, or by MAX, or by other symbols.
  • the present application further provides a receiver device, which specifically includes:
  • a first communication module configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
  • a memory configured to store first encoded data that is sent by the sending device through the channel to be tested
  • a first processor configured to perform an error correction decoding operation on the first encoded data, in the first After the error correction decoding of the encoded data is successful, the source data obtained after the error correction decoding is inversely encoded to obtain the second encoded data, and the channel to be tested is calculated based on the first encoded data and the second encoded data. Bit error rate.
  • the second implementation using frame synchronization data to calculate the bit error rate.
  • this embodiment provides a second embodiment of a method for calculating a bit error rate, which specifically includes the following steps:
  • Step S301 The sender device sends the first encoded data to the receiver device through the channel to be tested.
  • the first encoded data is obtained by channel coding the source data.
  • step S201 The execution process of this step is the same as that of step S201, and details are not described herein again.
  • Step S302 The receiving device receives the first encoded data, and performs the operation of acquiring the frame synchronization data in the first encoded data; if the frame synchronization data is successfully acquired, the process proceeds to step S303; otherwise, the process proceeds to step S306.
  • the frame synchronization data is data that the receiving device can distinguish between the start and end of the frame from the received first encoded data.
  • each frame is 60 ms, divided into two time slots, each frame being a data frame or a voice frame.
  • Each individual data frame is synchronized in the middle, and the middle of the first speech frame of each of the six speech frames is synchronized.
  • the receiving device receiving the first encoded data does not necessarily have frame synchronization data.
  • the receiving device may acquire the frame synchronization data in the first encoded data. If the frame synchronization data can be successfully acquired, the process proceeds to step 303.
  • Step S303 If the first frame synchronization data is successfully obtained in the first encoded data, the storage office The first frame sync data is described.
  • the frame synchronization data in the first encoded data is referred to as first frame synchronization data. Since the first frame synchronization data exists in the first encoded data, after the first encoded data is transmitted through the channel to be tested, an error may occur in the first frame synchronization data. Therefore, the bit error rate can be calculated based on the first frame sync data.
  • Step S304 The receiver device determines the second frame synchronization data in the storage space.
  • the sender device and the receiver device have previously agreed on the specific values of the frame synchronization data, for example, 10110000. That is to say: the correct data value of the frame synchronization data is stored in the receiver device. In order to facilitate distinguishing the frame synchronization data stored in the receiver device, it is referred to as second frame synchronization data.
  • Step S305 Calculate a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
  • the first frame sync data and the second frame sync data may be compared. Since the second frame sync data does not pass through the channel to be tested, it is considered that all bits in the second frame sync data are correct.
  • Step S306 If the first frame synchronization data is not successfully obtained in the first encoded data, the error rate is set as a preset character. For details, refer to step S206, and details are not described herein again.
  • the present application further provides a receiver device, and a specific package.
  • a receiver device and a specific package.
  • a specific package include:
  • a second communication module configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
  • a second processor configured to perform an operation of acquiring frame synchronization data in the first encoded data, and if the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data, and storing The second frame synchronization data is determined in the space; and the error rate of the channel to be tested is calculated based on the first frame synchronization data and the second frame synchronization data.
  • the third implementation manner calculating the bit error rate by using the data value corresponding to the preset type.
  • this embodiment provides a third embodiment of a method for calculating a bit error rate, which specifically includes the following steps:
  • Step S401 The sender device sends the first encoded data to the receiver device through the channel to be tested.
  • the first encoded data is obtained by channel coding the source data.
  • step S401 is the same as the process of step S201, and details are not described herein again.
  • Step S402 The receiving device receives the first encoded data, and determines whether the data type field can be decoded in the process of performing error correction decoding on the first encoded data. If the data type field is successfully decoded, the process proceeds to step S403. If the data type field is not successfully decoded, the process proceeds to step S407.
  • the sender device can send multiple types of source data to the receiver device, and one source data has only one data type.
  • a variety of data types include: Boolean types, character types, integer types, IDLE types.
  • Step S403 determining whether the data type field is a preset type; if it is a preset type, entering Step S404, if it is not a preset type field, it proceeds to step S407.
  • IDLE type indicates idle data, that is, indicates an idle frame.
  • the source data corresponding to the idle frame is predetermined. In the current digital communication system, only the source data corresponding to the IDLE type is determined, and it is not excluded that the subsequent source corresponding to other data types is determined.
  • Step S404 If the data type field is a preset type, the first data symbol is obtained from the first encoded data.
  • the data symbols are obtained from the first encoded data for subsequent calculation of the bit error rate.
  • Step S405 The receiver device determines data content corresponding to the preset type, and performs inverse encoding on the data content to obtain a second data symbol.
  • the receiver device can determine the data content sent by the sender device according to the preset type.
  • the data content is then inversely encoded and represented by the second symbol data for differentiation from the first data symbol.
  • Step S406 Calculate a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
  • the first data symbol and the second data symbol can be compared. Since the second data symbol does not pass the channel to be tested, it is considered that all bits in the second data symbol are correct.
  • the bit error rate is used to calculate the bit error rate. If the bit error rate is large, the channel quality of the channel to be tested is poor. If the bit error rate is small, the channel quality of the channel to be tested is good.
  • Step S407 setting the bit error rate as a preset character. For details, refer to step S206, and details are not described herein again.
  • the present application further provides a receiver device, which specifically includes:
  • a third communication module configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
  • a third processor in the process of performing error correction decoding on the first encoded data, determining whether the data type field can be decoded, and if the data type field is successfully decoded and the data type field is a preset type, Obtaining a first data symbol in an encoded data, determining a data content corresponding to the preset type, and performing inverse encoding on the data content to obtain a second data symbol, based on the first data symbol and The second data symbol calculates a bit error rate of the channel to be tested.
  • the fourth implementation manner an integrated manner of the first implementation manner, the second implementation manner, and the third implementation manner.
  • this embodiment provides a fourth embodiment of a method for calculating a bit error rate, which specifically includes the following steps:
  • Step S501 The sender device sends the first encoded data to the receiver device through the channel to be tested.
  • the first encoded data is obtained by channel coding the source data.
  • Step S502 The receiver device receives and stores the first encoded data.
  • Step S503 The receiving device performs an operation of acquiring a frame synchronization data in the first encoded data.
  • the frame synchronization process is performed; if the frame synchronization data is not successfully acquired, the frame synchronization process is not performed.
  • Step S504 Perform error correction decoding on the first encoded data, if the error correction decoding is successful, proceed to step S505; if the first encoded data error correction decoding fails, proceed to step S506.
  • Step S505 Perform reverse coding on the source data obtained after error correction decoding of the first encoded data, obtain second encoded data, and calculate error codes of the channel to be tested based on the first encoded data and the second encoded data. rate.
  • Step S506 determining whether the first frame synchronization data is successfully acquired in step S503; if yes, proceeding to step S507; if not, proceeding to step S508.
  • Step S507 If the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data, determining the second frame synchronization data in the storage space, and based on the first frame synchronization data and the second Frame synchronization data, calculating the bit error rate of the channel to be tested.
  • Step S508 determining whether the data type field is error-corrected and decoding successfully; if successful, proceeding to step S509, otherwise proceeding to step S510.
  • Step S509 If the data type field is a preset type, the first data symbol is obtained from the first encoded data, and the receiver device determines the data content corresponding to the preset type, and reverses the data content. Encoding, obtaining a second data symbol, and calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
  • Step S510 setting the error rate to a preset character.
  • the fifth implementation obtain the bit error rate through the application interface.
  • the program interface may be set in the receiver device or on a third party device other than the receiver device and the sender device.
  • the receiving device may call an application program interface for calculating a bit error rate, and if the calling process is normal, the error rate is obtained; if an abnormality occurs during the calling process, if the error rate is set to a preset character .
  • source data has two types, data types and voice types.
  • the two types of processing are slightly different, so the application interface for calculating the bit error rate has two: a standard error correction algorithm interface corresponding to the data type, and a codec interface in the vocoder corresponding to the voice type. .
  • the first implementation to the fifth implementation described above are merely a process of determining a bit error rate. It can be understood that the bit error rate determined according to one source data may be inaccurate. Therefore, the above process of calculating the bit error rate may be performed multiple times to obtain multiple bit error rates of the channel to be tested, and then based on multiple The bit error rate determines the average bit error rate of the channel to be tested, and the average bit error rate is the channel quality of the channel to be tested.
  • FIG. 6 a flow chart for determining a channel to be tested based on a plurality of bit error rates.
  • Step S601 Determine whether a plurality of error rates of the channel to be tested include a preset character. If no, the process proceeds to step S602, and if so, the process proceeds to step S603.
  • bit error rate is a preset character
  • bit error rate has no determined value, so special processing is required. Therefore, in the case where there are a plurality of bit error rates, it is first determined whether or not a plurality of bit error rates include a preset character.
  • Step S602 If the preset error characters are not included in the multiple error rates, the average value of the multiple error rate is determined as the average error rate of the channel to be tested.
  • the process of averaging is performed directly without special processing.
  • Step S603 If a plurality of error rates include preset characters, determine whether more than half of the preset characters are included in the plurality of error rates; if yes, proceed to step S604; otherwise, proceed to step S605.
  • Step S604 Set the error rate of the channel to be tested to a preset value.
  • the error rate of the channel to be tested is very high, and the error rate of the channel to be tested can be directly set to a preset value.
  • the preset value is a value indicating the maximum value of the channel error rate to be measured.
  • Step S605 determining whether a plurality of 1/4 or more preset characters are included in the plurality of error rates; if yes, proceeding to step S606; otherwise, proceeding to step S607.
  • Step S606 Assign each preset character to 5%, and calculate an average value with the error rate of other non-preset characters, and determine the average value as the average bit error rate of the channel to be tested.
  • the meaning of the preset character is equivalent to the error rate exceeding 5%. If multiple error rates include more than 1/4 of the preset characters, the default characters below 1/2. In this case, the channel to be tested has a certain bit error rate. In order to accurately calculate the error rate of the channel to be tested, the preset character is set to 5%, and then the average of all the bit error rates is calculated, thereby obtaining the average bit error rate of the channel to be tested.
  • Step S607 If a plurality of BERs do not include more than 1/4 of the preset characters, after excluding each preset character, calculate an average value of the error rate of the other non-preset characters, and determine the average value as The average bit error rate of the channel to be tested.
  • the quality of the channel to be tested is good, and occasionally one or two preset characters may appear, which may be a special case. Therefore, in this case, the preset character can be excluded, and the remaining bit error rate is directly used to calculate the average bit error rate.
  • each NULL value is given a 5% bit error rate and averaged with other bit error rates.
  • the present application provides a method for calculating a bit error rate.
  • the receiver of the present application obtains source data by error correction decoding based on the first encoded data, and does not need to store the source data in the receiving device; and then reverses the source data.
  • the encoding obtains the second encoded data, and the error rate of the channel to be tested is obtained by comparing the first encoded data with the second encoded data.
  • the recipient device Since the present application does not need to store source data in the recipient device, the recipient device does not know the source data transmitted by the sender device. That is, in the present application, the sender device and the receiver device do not transmit the known data, so no waste of channel resources is caused, so as to improve the utilization of channel resources.
  • the functions described in the method of this embodiment are implemented in the form of software functional units and are independent When the product is sold or used, it can be stored in a readable storage medium of a computing device. Based on such understanding, a portion of the embodiments of the present application that contributes to the prior art or a portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a
  • the computing device (which may be a personal computer, server, mobile computing device, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

The present application provides a digital communication system and a bit error rate calculation method. The method comprises: receiving and storing first coded data sent by a sender device via a channel to be tested, wherein the first coded data is obtained by channel coding of source data; performing an error correction decoding operation on the first coded data; reverse encoding the source data, obtained after the error correction decoding of the first coded data is successful, to obtain second coded data; and calculating, on the basis of the first coded data and the second coded data, a bit error rate of the channel to be tested. The bit error rate calculation method provided in the application can calculate a bit error rate without requiring a receiver device to pre-store source data, thereby improving channel resource utilization.

Description

一种数字通信系统及误码率的计算方法Digital communication system and calculation method of bit error rate 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种数字通信系统及误码率的计算方法。The present application relates to the field of communications technologies, and in particular, to a digital communication system and a method for calculating a bit error rate.
背景技术Background technique
在数字通信系统中,信道质量是判断系统性能的重要依据。误码率在一定程度上可以表征信道质量。误码率即错误比特数与所有比特数的比值。若误码率较大则表示错误比特数较多,即信道质量较差;若误码率较小则表示错误比特数较少,即信道质量较好;所以可以利用误码率来表征信道质量。In digital communication systems, channel quality is an important basis for judging system performance. The bit error rate can be used to characterize the channel quality to some extent. The bit error rate is the ratio of the number of error bits to the number of all bits. If the bit error rate is large, the number of error bits is large, that is, the channel quality is poor; if the bit error rate is small, the number of error bits is small, that is, the channel quality is good; therefore, the bit error rate can be used to characterize the channel quality. .
为了计算误码率,通常方法为:发送方设备和接收方设备预先存储相同的信源数据,然后发送方设备通过信道向接收方设备发送信源数据,然后接收方设备将接收到信源数据与预先存储的信源数据进行对比,从而确定出接收到的信源数据中的错误比特数,最后,将错误比特数与信源数据的比特数的商值、确定为误码率。In order to calculate the bit error rate, the usual method is: the sender device and the receiver device store the same source data in advance, and then the sender device transmits the source data to the receiver device through the channel, and then the receiver device will receive the source data. Compared with the pre-stored source data, the number of error bits in the received source data is determined, and finally, the quotient of the number of error bits and the number of bits of the source data is determined as the bit error rate.
虽然,利用误码率来确定信道质量是最准确的。但是,目前计算误码率的前提为发送方设备和接收方设备均预先存储相同的信源数据,对于接收方设备而言,发送方设备即将发送的信源数据是已知数据。在数字通信系统中,通信双方发送已知数据是对信道资源的浪费,这样会影响其它业务使用信道资源。 Although using the bit error rate to determine channel quality is the most accurate. However, the current calculation of the error rate is based on the premise that both the sender device and the receiver device store the same source data in advance. For the receiver device, the source data to be transmitted by the sender device is known data. In a digital communication system, the transmission of known data by the communicating parties is a waste of channel resources, which affects the use of channel resources by other services.
发明内容Summary of the invention
鉴于此,本申请提供了一种误码率的计算方法,以便可以在接收方设备未预先存储信源数据的情况下计算误码率,从而提升信道资源利用率。In view of this, the present application provides a method for calculating a bit error rate so that the bit error rate can be calculated without the pre-stored source data in the receiver device, thereby improving channel resource utilization.
为了实现上述目的,本申请提供了以下技术手段:In order to achieve the above object, the present application provides the following technical means:
一种误码率的计算方法,包括:A method for calculating a bit error rate, including:
接收并存储发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;Receiving and storing first encoded data that is sent by the sending device through the channel to be tested; wherein the first encoded data is obtained by channel encoding the source data;
对所述第一编码数据进行纠错解码操作;Performing an error correction decoding operation on the first encoded data;
在对第一编码数据纠错解码成功后,对纠错解码后获得的信源数据进行反向编码,获得第二编码数据;After the error correction decoding of the first encoded data is successful, the source data obtained after the error correction decoding is inversely encoded to obtain the second encoded data;
基于所述第一编码数据和所述第二编码数据,计算所述待测信道的误码率。Calculating a bit error rate of the channel to be tested based on the first encoded data and the second encoded data.
优选的,还包括:Preferably, the method further includes:
在对第一编码数据纠错解码失败时,设置待测信道的误码率为预设字符。When the error correction decoding of the first encoded data fails, setting the error rate of the channel to be tested is a preset character.
优选的,还包括:Preferably, the method further includes:
在对第一编码数据纠错解码失败时,判断能否解码出数据类型字段;When the error correction decoding of the first encoded data fails, it is determined whether the data type field can be decoded;
若成功解码出数据类型字段,且,数据类型字段为预设类型,则从所述第一编码数据中获取第一数据码元;If the data type field is successfully decoded, and the data type field is a preset type, the first data symbol is obtained from the first encoded data;
确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元;Determining data content corresponding to the preset type, and performing inverse encoding on the data content to obtain a second data symbol;
基于所述第一数据码元和所述第二数据码元,计算所述待测信道的误 码率。Calculating the error of the channel to be tested based on the first data symbol and the second data symbol Code rate.
优选的,还包括:Preferably, the method further includes:
若未成功解码出数据类型字段,或,解码获得的数据类型字段非预设类型,则设置待测信道的误码率为预设字符。If the data type field is not successfully decoded, or the data type field obtained by the decoding is not a preset type, the error rate of the channel to be tested is set as a preset character.
优选的,在对所述第一编码数据进行纠错解码操作之前,还包括:在第一编码数据中执行获取帧同步数据操作;则所述方法还包括:Preferably, before performing the error correction decoding operation on the first encoded data, the method further includes: performing an operation of acquiring a frame synchronization data in the first encoded data;
若对第一编码数据纠错解码失败、或者若未成功解码出数据类型字段、或者若成功解码出数据类型字段但数据类型字段非预设类型,则判断在第一编码数据中是否成功获取第一帧同步数据;If the error correction decoding of the first encoded data fails, or if the data type field is not successfully decoded, or if the data type field is successfully decoded but the data type field is not a preset type, it is determined whether the first encoded data is successfully obtained. One frame of synchronous data;
若在第一编码数据中成功获取第一帧同步数据,则存储所述第一帧同步数据;If the first frame synchronization data is successfully acquired in the first encoded data, storing the first frame synchronization data;
在存储空间中确定出第二帧同步数据;Determining the second frame synchronization data in the storage space;
基于所述第一帧同步数据和所述第二帧同步数据,计算所述待测信道的误码率。And calculating a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
优选的,还包括:Preferably, the method further includes:
若在第一编码数据中未成功获得第一帧同步数据,则设置待测信道的误码率为预设字符。If the first frame synchronization data is not successfully obtained in the first encoded data, setting a bit error rate of the channel to be tested is a preset character.
优选的,还包括:Preferably, the method further includes:
计算待测信道的多个误码率;Calculating multiple error rates of the channel to be tested;
基于待测信道的多个误码率,确定待测信道的平均误码率。The average error rate of the channel to be tested is determined based on the multiple error rates of the channel to be tested.
优选的,所述基于待测信道的多个误码率,确定待测信道的平均误码率,包括: Preferably, the determining, according to the multiple error rates of the channel to be tested, the average error rate of the channel to be tested, including:
判断待测信道的多个误码率是否包含预设字符;Determining whether multiple error rates of the channel to be tested include preset characters;
若待测信道的多个误码率不包含预设字符,则将待测信道的多个误码率的平均值,确定为待测信道的平均误码率。If the multiple error rate of the channel to be tested does not include the preset character, the average value of the multiple bit error rates of the channel to be tested is determined as the average bit error rate of the channel to be tested.
优选的,还包括:Preferably, the method further includes:
若待测信道的多个误码率包含预设字符,则判断多个误码率中是否包含半数以上的预设字符;If the multiple error rate of the channel to be tested includes a preset character, it is determined whether more than half of the preset characters are included in the multiple error rate;
若多个误码率中包含半数以上的预设字符,则设置待测信道的误码率为预设数值。If more than half of the preset characters are included in the multiple bit error rate, the bit error rate of the channel to be tested is set to a preset value.
优选的,还包括:Preferably, the method further includes:
若多个误码率中不包含半数以上的预设字符,则判断在多个误码率中是否包含1/4以上的预设字符;If more than half of the preset characters are not included in the plurality of bit error rates, it is determined whether more than 1/4 of the preset characters are included in the plurality of bit error rates;
若多个误码率中包含1/4以上的预设字符,则将每个预设字符赋值为5%,并和其它非预设字符的误码率计算平均值,将该平均值确定为待测信道的平均误码率;If a plurality of BERs include more than 1/4 of the preset characters, each preset character is assigned a value of 5%, and an average value is calculated with the error rate of the other non-preset characters, and the average value is determined as The average bit error rate of the channel to be tested;
若多个误码率中不包含1/4以上的预设字符,则在排除各个预设字符后,计算其它非预设字符的误码率的平均值,将该平均值确定为待测信道的平均误码率。If a plurality of BERs do not include more than 1/4 of the preset characters, after the preset characters are excluded, the average value of the error rate of the other non-preset characters is calculated, and the average value is determined as the channel to be tested. The average bit error rate.
一种数字通信系统,包括:A digital communication system comprising:
发送方设备,用于通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a sender device, configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
接收方设备,用于接收并存储所述第一编码数据,对所述第一编码数据进行纠错解码操作;在对第一编码数据纠错解码成功后,对纠错解码后 获得的信源数据进行反向编码,获得第二编码数据;基于所述第一编码数据和所述第二编码数据,计算所述待测信道的误码率。a receiving device, configured to receive and store the first encoded data, perform an error correction decoding operation on the first encoded data, and after decoding and decoding the first encoded data successfully, after decoding the error correction The obtained source data is inversely encoded to obtain second encoded data; and based on the first encoded data and the second encoded data, a bit error rate of the channel to be tested is calculated.
一种误码率的计算方法,包括:A method for calculating a bit error rate, including:
接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;Receiving first encoded data that is sent by the sending device through the channel to be tested; wherein the first encoded data is obtained by channel encoding the source data;
在所述第一编码数据中执行获取帧同步数据的操作;Performing an operation of acquiring frame synchronization data in the first encoded data;
若成功在第一编码数据中获得第一帧同步数据,则存储所述第一帧同步数据;If the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data;
在存储空间中确定出第二帧同步数据;Determining the second frame synchronization data in the storage space;
基于所述第一帧同步数据和所述第二帧同步数据,计算待测信道的误码率。And calculating a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
优选的,还包括:Preferably, the method further includes:
若未成功在第一编码数据中获得第一帧同步数据,则设置待测信道的误码率为预设字符。If the first frame synchronization data is not successfully obtained in the first encoded data, setting a bit error rate of the channel to be tested is a preset character.
一种数字通讯系统,包括:A digital communication system comprising:
发送方设备,用于通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a sender device, configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
接收方设备,用于接收发送方设备通过待测信道发送的第一编码数据,在所述第一编码数据中执行获取帧同步数据的操作;若成功在第一编码数据中获得第一帧同步数据,则存储所述第一帧同步数据;在存储空间中确定出第二帧同步数据;基于所述第一帧同步数据和所述第二帧同步数据,计算待测信道的误码率。 a receiving device, configured to receive, by using the first encoded data sent by the sending device by using the channel to be tested, performing an operation of acquiring frame synchronization data in the first encoded data; and successfully obtaining a first frame synchronization in the first encoded data Data, storing the first frame synchronization data; determining second frame synchronization data in the storage space; calculating a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
一种误码率的计算方法,包括:A method for calculating a bit error rate, including:
接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;Receiving first encoded data that is sent by the sending device through the channel to be tested; wherein the first encoded data is obtained by channel encoding the source data;
对所述第一编码数据进行纠错解码的过程中,判断能否解码出数据类型字段;In the process of performing error correction decoding on the first encoded data, determining whether the data type field can be decoded;
若成功解码出数据类型字段且数据类型字段为预设类型,则从第一编码数据中获取第一数据码元;If the data type field is successfully decoded and the data type field is a preset type, the first data symbol is obtained from the first encoded data;
确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元;Determining data content corresponding to the preset type, and performing inverse encoding on the data content to obtain a second data symbol;
基于所述第一数据码元和所述第二数据码元,计算待测信道的误码率。Calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
优选的,还包括:Preferably, the method further includes:
若未成功解码出数据类型字段,或,数据类型字段非预设类型,则设置误码率为预设字符。If the data type field is not successfully decoded, or the data type field is not a preset type, the bit error rate is set as a preset character.
一种数字通讯系统,包括:A digital communication system comprising:
发送方设备,用于通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a sender device, configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
接收方设备,用于接收发送方设备通过待测信道发送的第一编码数据,对所述第一编码数据进行纠错解码的过程中,判断能否解码出数据类型字段;若成功解码出数据类型字段且数据类型字段为预设类型,则从第一编码数据中获取第一数据码元;确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元;基于所述第一数据码元和所述第二数据码元,计算待测信道的误码率。 The receiving device is configured to receive the first encoded data sent by the sending device through the channel to be tested, and perform error correction decoding on the first encoded data to determine whether the data type field can be decoded; if the data is successfully decoded The type field and the data type field are preset types, the first data symbol is obtained from the first encoded data; the data content corresponding to the preset type is determined, and the data content is inversely encoded to obtain the first Two data symbols; calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
一种接收方设备,包括:A receiver device, comprising:
第一通讯模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a first communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
存储器,用于存储发送方设备通过待测信道发送的第一编码数据;a memory, configured to store first encoded data that is sent by the sending device through the channel to be tested;
第一处理器,用于对所述第一编码数据进行纠错解码操作,在对第一编码数据纠错解码成功后,对纠错解码后获得的信源数据进行反向编码,获得第二编码数据,基于所述第一编码数据和所述第二编码数据,计算所述待测信道的误码率。a first processor, configured to perform an error correction decoding operation on the first encoded data, and after performing error correction decoding on the first encoded data, performing reverse coding on the source data obtained after error correction decoding to obtain a second Encoding data, based on the first encoded data and the second encoded data, calculating a bit error rate of the channel to be tested.
一种接收方设备,包括:A receiver device, comprising:
第二通讯模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a second communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
第二处理器,用于在所述第一编码数据中执行获取帧同步数据的操作,若成功在第一编码数据中获得第一帧同步数据,则存储所述第一帧同步数据,在存储空间中确定出第二帧同步数据;基于所述第一帧同步数据和所述第二帧同步数据,计算待测信道的误码率。a second processor, configured to perform an operation of acquiring frame synchronization data in the first encoded data, and if the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data, and storing The second frame synchronization data is determined in the space; and the error rate of the channel to be tested is calculated based on the first frame synchronization data and the second frame synchronization data.
一种接收方设备,包括:A receiver device, comprising:
第三通信模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a third communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
第三处理器,用于对所述第一编码数据进行纠错解码的过程中,判断能否解码出数据类型字段,若成功解码出数据类型字段且数据类型字段为预设类型,则从第一编码数据中获取第一数据码元,确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元, 基于所述第一数据码元和所述第二数据码元,计算待测信道的误码率。a third processor, in the process of performing error correction decoding on the first encoded data, determining whether the data type field can be decoded, and if the data type field is successfully decoded and the data type field is a preset type, Obtaining a first data symbol in an encoded data, determining a data content corresponding to the preset type, and performing inverse encoding on the data content to obtain a second data symbol, Calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
通过以上技术手段,可以实现以下有益效果:Through the above technical means, the following beneficial effects can be achieved:
本申请提供一种误码率的计算方法,本申请接收方基于第一编码数据通过纠错解码获得信源数据,无需在接收方设备中存储信源数据;然后再对信源数据进行反向编码获得第二编码数据,通过将第一编码数据和第二编码数据进行对比来获得待测信道的误码率。The present application provides a method for calculating a bit error rate. The receiver of the present application obtains source data by error correction decoding based on the first encoded data, and does not need to store the source data in the receiving device; and then reverses the source data. The encoding obtains the second encoded data, and the error rate of the channel to be tested is obtained by comparing the first encoded data with the second encoded data.
由于本申请不需要在接收方设备中存储信源数据,所以,接收方设备不知晓发送方设备发送的信源数据。即,本申请中发送方设备和接收方设备未发送已知数据,所以不会对信道资源的造成浪费,以便提升信道资源的利用率。Since the present application does not need to store source data in the recipient device, the recipient device does not know the source data transmitted by the sender device. That is, in the present application, the sender device and the receiver device do not transmit the known data, so no waste of channel resources is caused, so as to improve the utilization of channel resources.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1a-1c为数字通信系统的结构示意图。1a-1c are schematic diagrams showing the structure of a digital communication system.
图2为本申请提供的一种误码率的计算方法的流程图;2 is a flowchart of a method for calculating a bit error rate provided by the present application;
图3为本申请提供的又一种误码率的计算方法的流程图;3 is a flowchart of still another method for calculating a bit error rate provided by the present application;
图4为本申请提供的又一种误码率的计算方法的流程图;4 is a flowchart of still another method for calculating a bit error rate provided by the present application;
图5为本申请提供的又一种误码率的计算方法的流程图; FIG. 5 is a flowchart of still another method for calculating a bit error rate provided by the present application;
图6为本申请提供的基于多个误码率计算误码率的流程图。FIG. 6 is a flowchart of calculating a bit error rate based on multiple error rates provided by the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
下面介绍本申请的应用场景,在数字通信系统中通信双方称为发送方设备和接收方设备。本申请提供的方案可以设置在接收方设备上,以便接收方设备在通过信道接收数据对象后,可以基于数据对象来确定信道的信道质量。The application scenario of the present application is described below. In the digital communication system, the two parties are called a sender device and a receiver device. The solution provided by the present application may be set on the receiver device, so that the receiver device can determine the channel quality of the channel based on the data object after receiving the data object through the channel.
下面对数字通信系统中的通信双方进行举例说明,以便本领域技术人员可以清楚了解本申请的应用场景。The following describes the communication parties in the digital communication system, so that those skilled in the art can clearly understand the application scenario of the present application.
参见图1a,通信双方可以为基站和终端,基站(发送方设备)可以通过信道向终端(接收方设备)发送数据;终端(发送方设备)也可以通过信道向基站(接收方设备)发送数据。Referring to FIG. 1a, the communication parties may be a base station and a terminal, and the base station (sender device) may send data to the terminal (receiver device) through the channel; the terminal (sender device) may also send data to the base station (receiver device) through the channel. .
参见图1b,通信双方还可以为终端和转信台。转信台(发送方设备)可以通过信道向终端(接收方设备)发送数据;终端(发送方设备)也可以通过信道向转信台(接收方设备)发送数据。Referring to FIG. 1b, the communication parties can also be terminals and a transfer station. The transfer station (sender device) can transmit data to the terminal (receiver device) through the channel; the terminal (sender device) can also transmit data to the transfer station (receiver device) through the channel.
参见图1c,通信双方还可以为两个终端:第一终端和第二终端。第一终端(发送方设备)可以通过信道向第二终端(接收方设备)发送数据; 第二终端(发送方设备)也可以通过信道向第一终端(接收方设备)发送数据。Referring to FIG. 1c, the two communication parties may also be two terminals: a first terminal and a second terminal. The first terminal (sender device) may send data to the second terminal (receiver device) through the channel; The second terminal (sender device) may also transmit data to the first terminal (receiver device) through the channel.
图1a-图1c中的终端在图示中采用数字对讲机来表示,但本申请中终端的范围不限定为数字对讲机,还可以为智能手机、平板电脑、台式机等设备。The terminal in FIG. 1a - FIG. 1c is represented by a digital walkie-talkie in the illustration, but the scope of the terminal in the present application is not limited to a digital walkie-talkie, and may also be a device such as a smart phone, a tablet computer, or a desktop computer.
当然,数字通信系统中的通信双方还可以具有其它的实现方式,在此不再一一列举。Of course, the two communication parties in the digital communication system may also have other implementation manners, which are not enumerated here.
在数字通信系统中的通信双方之间具有多条信道,确定每条信道的信道质量的过程是一致的。因此,本申请以多条信道中的一条信道为例,对确定信道质量的过程进行详细描述。为了便于描述,将该条信道称为待测信道。There are multiple channels between the communicating parties in the digital communication system, and the process of determining the channel quality of each channel is consistent. Therefore, the present application takes a channel of multiple channels as an example to describe in detail the process of determining channel quality. For convenience of description, the channel is referred to as a channel to be tested.
在数字通信系统中,一个数字移动终端(Digital Mobile Radio,DMR)中的DMR帧长度为60ms,占2个时隙,每个时隙占30ms。一个时隙称为协议数据单元(Protocol Data Unit,协议数据单元),即,每个PDU帧占30ms。In a digital communication system, a DMR frame in a Digital Mobile Radio (DMR) has a length of 60 ms, which occupies 2 time slots, and each time slot occupies 30 ms. One time slot is called a Protocol Data Unit (Protocol Data Unit), that is, each PDU frame occupies 30 ms.
若在终端与终端之间计算误码率,则接收方设备对应的终端可以仅计算其中一个时隙也就是30ms信源数据的误码率。若在终端和转信台之间的误码率,或者在终端与基站之间计算误码率,因为转信台和基站在一个DMR帧的两个时隙中都在发送数据,所以接收方设备可以选择DMR帧中的一个时隙计算误码率,也可以将DME帧中的两个时隙的信源数据都用来计算误码率。 If the error rate is calculated between the terminal and the terminal, the terminal corresponding to the receiver device can calculate only the error rate of one of the time slots, that is, the 30 ms source data. If the bit error rate between the terminal and the transfer station, or the bit error rate is calculated between the terminal and the base station, since the transfer station and the base station are transmitting data in both time slots of one DMR frame, the receiver The device may select one time slot in the DMR frame to calculate the error rate, and may also use the source data of the two time slots in the DME frame to calculate the bit error rate.
本申请提供了一种误码率的计算方法的多种实现方式,下面对多种实现方式分别进行详细介绍。The present application provides various implementation manners of a method for calculating a bit error rate, and various implementation manners are respectively described in detail below.
第一种实现方式:利用第一编码数据来计算误码率。The first implementation manner uses the first encoded data to calculate the bit error rate.
如图2所示,本实施例提供一种误码率的计算方法的实施例一,具体包括以下步骤:As shown in FIG. 2, this embodiment provides a first embodiment of a method for calculating a bit error rate, which specifically includes the following steps:
步骤S201:发送方设备通过待测信道向接收方设备发送第一编码数据。其中,第一编码数据由信源数据经过信道编码后获得。Step S201: The sender device sends the first coded data to the receiver device through the channel to be tested. The first encoded data is obtained by channel coding the source data.
信道编码的目的是为了克服信道中的噪声和干扰对信源数据的影响。信道编码的过程为根据一定的(监督)规律在待发送信息的码元中(人为的)加入一些必要的监督码元。这样可以便于接收方设备利用这些监督码元与信息码元之间的监督规律,发现和纠正差错,从而可以提高信息码元的传输的可靠性。The purpose of channel coding is to overcome the effects of noise and interference in the channel on the source data. The process of channel coding is to add some necessary supervised symbols in the symbols (artificial) of the information to be transmitted according to a certain (supervised) law. This can facilitate the receiver device to utilize the supervision rules between these supervised symbols and information symbols to find and correct errors, thereby improving the reliability of transmission of information symbols.
在本步骤之前技术人员可以设定预设编码规律。发送方设备可以按照预设编码规律对信源数据进行信道编码,并获得信道编码后的第一编码数据。发送方设备可以获得第一编码数据,然后将第一编码数据通过待测信道发送至接收方设备。The technician can set the preset encoding rule before this step. The sender device may perform channel coding on the source data according to a preset coding rule, and obtain channel-coded first encoded data. The sender device can obtain the first encoded data, and then send the first encoded data to the receiving device through the channel to be tested.
步骤S202:接收方设备接收并存储所述第一编码数据。Step S202: The receiver device receives and stores the first encoded data.
接收方设备在接收第一编码数据后,首先存储第一编码数据,以便后续计算误码率时使用。After receiving the first encoded data, the receiving device first stores the first encoded data for use in subsequent calculation of the error rate.
步骤S203:接收方设备对所述第一编码数据进行纠错解码操作,若纠错解码成功,则进入步骤S204;若纠错解码失败则进入步骤S206。Step S203: The receiving device performs an error correction decoding operation on the first encoded data. If the error correction decoding is successful, the process proceeds to step S204. If the error correction decoding fails, the process proceeds to step S206.
步骤S204:对纠错解码后获得的信源数据进行反向编码,获得第二编 码数据。Step S204: Perform reverse coding on the source data obtained after error correction decoding, and obtain the second series. Code data.
因为第一编码数据在传输过程中受待测信道的影响,可能会出现错误。因此,接收方设备在接收第一编码数据后,会对第一编码数据进行纠错解码,以便在将第一编码数据还原成信源数据的过程中,发现第一编码数据中的错误比特并对错误比特进行纠正,从而获得纠错解码后的信源数据。Since the first encoded data is affected by the channel to be tested during transmission, an error may occur. Therefore, after receiving the first encoded data, the receiving device performs error correction decoding on the first encoded data, so as to find the erroneous bits in the first encoded data in the process of restoring the first encoded data into the source data. The error bit is corrected to obtain error-corrected decoded source data.
在本申请中,将纠错解码后获得的信源数据,看作是正确的信源数据。即本申请认为:纠错解码后获得的信源数据,与,发送方设备进行信道编码之前的信源数据是一致的。In the present application, the source data obtained after error correction decoding is regarded as the correct source data. That is, the present application considers that the source data obtained after error correction decoding is consistent with the source data before the channel coding by the sender device.
由于在待测信道中传输的对信源数据进行编码后的第一编码数据,所以,为了计算误码率,在步骤S204获得纠错解码后的信源数据后,也对纠错解码后的信源数据进行信道编码。信道编码与纠错解码相互为逆过程,所以,对信源数据进行信道的编码的过程,也可以称为是反向编码。Since the first encoded data encoded by the source data is transmitted in the channel to be tested, in order to calculate the error rate, after the error correction decoded source data is obtained in step S204, the error correction decoded is also performed. The source data is channel coded. The channel coding and the error correction decoding are mutually inverse processes. Therefore, the process of coding the channel data of the source data may also be referred to as reverse coding.
为了与第一编码数据进行区分,将本步骤获得编码数据称为第二编码数据。第一编码数据由信源数据经过信道编码,并且,经过待测信道传输;第二编码数据由信源数据(正确的信源数据)进行信道编码。若待测信道不存在干扰和噪声的话,第一编码数据和第二编码数据理应一致。In order to distinguish from the first encoded data, the encoded data obtained in this step is referred to as second encoded data. The first encoded data is channel-encoded by the source data and transmitted through the channel to be tested; the second encoded data is channel-encoded by the source data (the correct source data). If the channel to be tested does not have interference and noise, the first encoded data and the second encoded data should be identical.
但是,实际上并不如此,第一编码数据在待测信道的传输过程中,会受到待测信道的干扰而出现错误比特。待测信道的信道质量越差,则第一编码数据中出现的错误比特越多,待测信道的信道质量越好,则第一编码数据中出现的错误比特越少。However, this is not the case. In the transmission process of the channel to be tested, the first coded data may be interfered by the channel to be tested and an erroneous bit may occur. The worse the channel quality of the channel to be tested is, the more error bits appear in the first encoded data, and the better the channel quality of the channel to be tested, the fewer error bits appear in the first encoded data.
步骤S205:基于所述第一编码数据和所述第二编码数据,计算待测信道的误码率。 Step S205: Calculate a bit error rate of the channel to be tested based on the first encoded data and the second encoded data.
为了确定信道质量,可以将第一编码数据和第二编码数据进行对比。由于第二编码数据未经过待测信道,所以认为第二编码数据中所有比特均是正确的。In order to determine the channel quality, the first encoded data and the second encoded data may be compared. Since the second encoded data does not pass through the channel to be tested, it is considered that all bits in the second encoded data are correct.
将第一编码数据和第二编码数据进行对比,从而确定出第一编码数据中的错误比特数;然后,将错误比特数与第二编码数据的所有比特数的商值,计算误码率。若误码率较大,则说明待测信道的信道质量较差;若误码率较小,则说明待测信道的信道质量较好。The first encoded data and the second encoded data are compared to determine the number of erroneous bits in the first encoded data; then, the BER of the number of erroneous bits and the total number of bits of the second encoded data is used to calculate the bit error rate. If the bit error rate is large, the channel quality of the channel to be tested is poor. If the bit error rate is small, the channel quality of the channel to be tested is good.
步骤S206:若对第一编码数据纠错解码失败,则设置误码率为预设字符。Step S206: If the error correction decoding of the first encoded data fails, the error rate is set to a preset character.
目前在数字通信领域中接收灵敏度一般要求为-118dB~-120dB,对应的误码率是大约5%。这种情况下接收到的第一编码数据是能通过纠错解码的,如果接收到的第一编码数据不能通过纠错编码,则直接给出误码率为预设字符。At present, the receiving sensitivity is generally required to be -118dB to -120dB in the field of digital communication, and the corresponding bit error rate is about 5%. The first encoded data received in this case can be decoded by error correction. If the received first encoded data cannot pass the error correction encoding, the error rate is directly given as a preset character.
预设字符的含义等同于误码率超出了5%,即无线信号场强等同于-120dB。预设字符可以采用NULL表示,或者,采用MAX表示,或者,采用其它符号进行表示。The meaning of the preset character is equivalent to the bit error rate exceeding 5%, that is, the wireless signal field strength is equivalent to -120dB. The default character can be represented by NULL, or by MAX, or by other symbols.
与图2所示的方法对应的,本申请还提供了一种接收方设备,具体包括:Corresponding to the method shown in FIG. 2, the present application further provides a receiver device, which specifically includes:
第一通讯模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a first communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
存储器,用于存储发送方设备通过待测信道发送的第一编码数据;a memory, configured to store first encoded data that is sent by the sending device through the channel to be tested;
第一处理器,用于对所述第一编码数据进行纠错解码操作,在对第一 编码数据纠错解码成功后,对纠错解码后获得的信源数据进行反向编码,获得第二编码数据,基于所述第一编码数据和所述第二编码数据,计算所述待测信道的误码率。a first processor, configured to perform an error correction decoding operation on the first encoded data, in the first After the error correction decoding of the encoded data is successful, the source data obtained after the error correction decoding is inversely encoded to obtain the second encoded data, and the channel to be tested is calculated based on the first encoded data and the second encoded data. Bit error rate.
第二种实现方式:利用帧同步数据来计算误码率。The second implementation: using frame synchronization data to calculate the bit error rate.
如图3所示,本实施例提供一种误码率的计算方法的实施例二,具体包括以下步骤:As shown in FIG. 3, this embodiment provides a second embodiment of a method for calculating a bit error rate, which specifically includes the following steps:
步骤S301:发送方设备通过待测信道向接收方设备发送第一编码数据。其中,第一编码数据由信源数据经过信道编码后获得。Step S301: The sender device sends the first encoded data to the receiver device through the channel to be tested. The first encoded data is obtained by channel coding the source data.
本步骤的执行过程与步骤S201一致,在此不再赘述。The execution process of this step is the same as that of step S201, and details are not described herein again.
步骤S302:接收方设备接收第一编码数据,并在第一编码数据中执行获取帧同步数据操作;若成功获取帧同步数据,则进入步骤S303;否则进入步骤S306。Step S302: The receiving device receives the first encoded data, and performs the operation of acquiring the frame synchronization data in the first encoded data; if the frame synchronization data is successfully acquired, the process proceeds to step S303; otherwise, the process proceeds to step S306.
帧同步数据是接收方设备能从接收到的第一编码数据中区分出帧的起始与终止的数据。在时分多址系统中每个帧为60ms,分为两个时隙,每个帧为数据帧或语音帧。每个单独的数据帧中间带同步,每六个语音帧的第一个语音帧的中间带同步。The frame synchronization data is data that the receiving device can distinguish between the start and end of the frame from the received first encoded data. In a time division multiple access system, each frame is 60 ms, divided into two time slots, each frame being a data frame or a voice frame. Each individual data frame is synchronized in the middle, and the middle of the first speech frame of each of the six speech frames is synchronized.
因为,接收方设备接收的第一编码数据为一帧信源数据,或者为一个时隙的信源数据,所以接收方设备接收第一编码数据不一定具有帧同步数据。接收方设备可以在第一编码数据中获取帧同步数据,若能够成功获取帧同步数据,则进入步骤303。Because the first encoded data received by the receiving device is one frame of source data, or is one slot of source data, the receiving device receiving the first encoded data does not necessarily have frame synchronization data. The receiving device may acquire the frame synchronization data in the first encoded data. If the frame synchronization data can be successfully acquired, the process proceeds to step 303.
步骤S303:若成功在第一编码数据中获得第一帧同步数据,则存储所 述第一帧同步数据。Step S303: If the first frame synchronization data is successfully obtained in the first encoded data, the storage office The first frame sync data is described.
为了后续描述,将第一编码数据中的帧同步数据称为第一帧同步数据。由于第一帧同步数据存在于第一编码数据中,在第一编码数据在经过待测信道传输后,可能会导致第一帧同步数据出现错误。因此,可以基于第一帧同步数据来计算误码率。For the subsequent description, the frame synchronization data in the first encoded data is referred to as first frame synchronization data. Since the first frame synchronization data exists in the first encoded data, after the first encoded data is transmitted through the channel to be tested, an error may occur in the first frame synchronization data. Therefore, the bit error rate can be calculated based on the first frame sync data.
步骤S304:接收方设备在存储空间中确定第二帧同步数据。Step S304: The receiver device determines the second frame synchronization data in the storage space.
由于帧同步数据是用来进行帧同步的,因此发送方设备和接收方设备已经预先约定好帧同步数据的具体值,例如,均为10110000。也就是说:接收方设备中存储有帧同步数据的正确数据值。为了便于区分将接收方设备中存储的帧同步数据,称为第二帧同步数据。Since the frame synchronization data is used for frame synchronization, the sender device and the receiver device have previously agreed on the specific values of the frame synchronization data, for example, 10110000. That is to say: the correct data value of the frame synchronization data is stored in the receiver device. In order to facilitate distinguishing the frame synchronization data stored in the receiver device, it is referred to as second frame synchronization data.
步骤S305:基于第一帧同步数据和第二帧同步数据,计算待测信道的误码率。Step S305: Calculate a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
为了确定信道质量,可以将第一帧同步数据和第二帧同步数据进行对比。由于第二帧同步数据未经过待测信道,所以认为第二帧同步数据中所有比特均是正确的。In order to determine the channel quality, the first frame sync data and the second frame sync data may be compared. Since the second frame sync data does not pass through the channel to be tested, it is considered that all bits in the second frame sync data are correct.
将第一帧同步数据和第二帧同步数据进行对比,从而确定出第一帧同步数据中的错误比特数;然后,将错误比特数与第二帧同步数据的所有比特数的商值,计算误码率。若误码率较大,则说明待测信道的信道质量较差;若误码率较小,则说明待测信道的信道质量较好。Comparing the first frame synchronization data and the second frame synchronization data to determine the number of error bits in the first frame synchronization data; and then calculating the quotient of the number of errors and the number of bits of the second frame synchronization data Bit error rate. If the bit error rate is large, the channel quality of the channel to be tested is poor. If the bit error rate is small, the channel quality of the channel to be tested is good.
步骤S306:若未成功在第一编码数据中取得第一帧同步数据,则设置误码率为预设字符。详见步骤S206,在此不再赘述。Step S306: If the first frame synchronization data is not successfully obtained in the first encoded data, the error rate is set as a preset character. For details, refer to step S206, and details are not described herein again.
与图3所示的方法对应的,本申请还提供了一种接收方设备,具体包 括:Corresponding to the method shown in FIG. 3, the present application further provides a receiver device, and a specific package. include:
第二通讯模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a second communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
第二处理器,用于在所述第一编码数据中执行获取帧同步数据的操作,若成功在第一编码数据中获得第一帧同步数据,则存储所述第一帧同步数据,在存储空间中确定出第二帧同步数据;基于所述第一帧同步数据和所述第二帧同步数据,计算待测信道的误码率。a second processor, configured to perform an operation of acquiring frame synchronization data in the first encoded data, and if the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data, and storing The second frame synchronization data is determined in the space; and the error rate of the channel to be tested is calculated based on the first frame synchronization data and the second frame synchronization data.
第三种实现方式:利用预设类型对应的数据值来计算误码率。The third implementation manner: calculating the bit error rate by using the data value corresponding to the preset type.
如图4所示,本实施例提供一种误码率的计算方法的实施例三,具体包括以下步骤:As shown in FIG. 4, this embodiment provides a third embodiment of a method for calculating a bit error rate, which specifically includes the following steps:
步骤S401:发送方设备通过待测信道向接收方设备发送第一编码数据。其中,第一编码数据由信源数据经过信道编码后获得。Step S401: The sender device sends the first encoded data to the receiver device through the channel to be tested. The first encoded data is obtained by channel coding the source data.
步骤S401的过程与步骤S201的过程一致,在此不再赘述。The process of step S401 is the same as the process of step S201, and details are not described herein again.
步骤S402:接收方设备接收所述第一编码数据,并对所述第一编码数据进行纠错解码的过程中判断能否解码出数据类型字段;若成功解码出数据类型字段则进入步骤S403。若未成功解码出数据类型字段,则进入步骤S407。Step S402: The receiving device receives the first encoded data, and determines whether the data type field can be decoded in the process of performing error correction decoding on the first encoded data. If the data type field is successfully decoded, the process proceeds to step S403. If the data type field is not successfully decoded, the process proceeds to step S407.
数据类型的字段(data type),用于表示信源数据的类型。发送方设备可以向接收方设备发送多种类型的信源数据,一个信源数据只有一个数据类型。多种数据类型包括:布尔类型、字符类型、整数类型、IDLE类型。A data type field used to indicate the type of source data. The sender device can send multiple types of source data to the receiver device, and one source data has only one data type. A variety of data types include: Boolean types, character types, integer types, IDLE types.
步骤S403:判断数据类型字段是否为预设类型;若为预设类型则进入 步骤S404,若非预设类型字段则进入步骤S407。Step S403: determining whether the data type field is a preset type; if it is a preset type, entering Step S404, if it is not a preset type field, it proceeds to step S407.
在发送方发送的多个类型中,一些数据类型对应的数据内容是确定的。如,IDLE类型,IDLE类型表示空闲数据,即表示空闲帧。空闲帧对应的信源数据是预先确定的。在目前的数字通信系统中暂且只有IDLE类型对应的信源数据是确定的,不排除后续出现其它数据类型对应的信源也是确定的。Among the multiple types sent by the sender, the data content corresponding to some data types is determined. For example, IDLE type, IDLE type indicates idle data, that is, indicates an idle frame. The source data corresponding to the idle frame is predetermined. In the current digital communication system, only the source data corresponding to the IDLE type is determined, and it is not excluded that the subsequent source corresponding to other data types is determined.
步骤S404:若数据类型字段为预设类型,则从第一编码数据中获取第一数据码元。Step S404: If the data type field is a preset type, the first data symbol is obtained from the first encoded data.
由于第一编码数据包含数据码元和数据类型字段等内容,所以,从第一编码数据中获取数据码元,以用于后续计算误码率。Since the first encoded data contains content such as data symbols and data type fields, the data symbols are obtained from the first encoded data for subsequent calculation of the bit error rate.
步骤S405:接收方设备确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元。Step S405: The receiver device determines data content corresponding to the preset type, and performs inverse encoding on the data content to obtain a second data symbol.
由于与预设类型对应的数据内容是发送方设备和接收方设备公知的,所以,接收方设备可以根据预设类型确定出发送方设备发送而来的数据内容。然后,将数据内容进行反向编码,为了与第一数据码元进行区分,用第二码元数据表示。Since the data content corresponding to the preset type is well-known by the sender device and the receiver device, the receiver device can determine the data content sent by the sender device according to the preset type. The data content is then inversely encoded and represented by the second symbol data for differentiation from the first data symbol.
步骤S406:基于第一数据码元和第二数据码元,计算待测信道的误码率。Step S406: Calculate a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
为了确定信道质量,可以将第一数据码元和第二数据码元进行对比。由于第二数据码元未经过待测信道,所以认为第二数据码元中所有比特均是正确的。To determine channel quality, the first data symbol and the second data symbol can be compared. Since the second data symbol does not pass the channel to be tested, it is considered that all bits in the second data symbol are correct.
将第一数据码元和第二数据码元进行对比,从而确定出第一数据码元 中的错误比特数;然后,将错误比特数与第二数据码元的所有比特数的商值,计算误码率。若误码率较大,则说明待测信道的信道质量较差;若误码率较小,则说明待测信道的信道质量较好。Comparing the first data symbol and the second data symbol to determine the first data symbol The number of erroneous bits; then, the BER of the number of erroneous bits and the total number of bits of the second data symbol is used to calculate the bit error rate. If the bit error rate is large, the channel quality of the channel to be tested is poor. If the bit error rate is small, the channel quality of the channel to be tested is good.
步骤S407:设置误码率为预设字符。详见步骤S206,在此不再赘述。Step S407: setting the bit error rate as a preset character. For details, refer to step S206, and details are not described herein again.
与图4所述的方法对应的,本申请还提供了一种接收方设备,具体包括:Corresponding to the method described in FIG. 4, the present application further provides a receiver device, which specifically includes:
第三通信模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a third communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
第三处理器,用于对所述第一编码数据进行纠错解码的过程中,判断能否解码出数据类型字段,若成功解码出数据类型字段且数据类型字段为预设类型,则从第一编码数据中获取第一数据码元,确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元,基于所述第一数据码元和所述第二数据码元,计算待测信道的误码率。a third processor, in the process of performing error correction decoding on the first encoded data, determining whether the data type field can be decoded, and if the data type field is successfully decoded and the data type field is a preset type, Obtaining a first data symbol in an encoded data, determining a data content corresponding to the preset type, and performing inverse encoding on the data content to obtain a second data symbol, based on the first data symbol and The second data symbol calculates a bit error rate of the channel to be tested.
第四种实现方式:第一种实现方式、第二种实现方式和第三种实现方式的综合方式。The fourth implementation manner: an integrated manner of the first implementation manner, the second implementation manner, and the third implementation manner.
如图5所示,本实施例提供一种误码率的计算方法的实施例四,具体包括以下步骤:As shown in FIG. 5, this embodiment provides a fourth embodiment of a method for calculating a bit error rate, which specifically includes the following steps:
步骤S501:发送方设备通过待测信道向接收方设备发送第一编码数据。其中,第一编码数据由信源数据经过信道编码后获得。Step S501: The sender device sends the first encoded data to the receiver device through the channel to be tested. The first encoded data is obtained by channel coding the source data.
步骤S502:接收方设备接收并存储所述第一编码数据。Step S502: The receiver device receives and stores the first encoded data.
步骤S503:接收方设备在第一编码数据中执行获取帧同步数据操作。 Step S503: The receiving device performs an operation of acquiring a frame synchronization data in the first encoded data.
若成功获取帧同步数据,则进行帧同步过程;若未成功获取帧同步数据则不执行帧同步过程。If the frame synchronization data is successfully acquired, the frame synchronization process is performed; if the frame synchronization data is not successfully acquired, the frame synchronization process is not performed.
步骤S504:对所述第一编码数据进行纠错解码,若纠错解码成功,则进入步骤S505;若对第一编码数据纠错解码失败则进入步骤S506。Step S504: Perform error correction decoding on the first encoded data, if the error correction decoding is successful, proceed to step S505; if the first encoded data error correction decoding fails, proceed to step S506.
步骤S505:对第一编码数据纠错解码后获得的信源数据进行反向编码,获得第二编码数据,基于所述第一编码数据和所述第二编码数据,计算待测信道的误码率。Step S505: Perform reverse coding on the source data obtained after error correction decoding of the first encoded data, obtain second encoded data, and calculate error codes of the channel to be tested based on the first encoded data and the second encoded data. rate.
步骤S506:判断步骤S503中是否成功获取第一帧同步数据;若是,则进入步骤S507;若否,则进入步骤S508。Step S506: determining whether the first frame synchronization data is successfully acquired in step S503; if yes, proceeding to step S507; if not, proceeding to step S508.
步骤S507:若在第一编码数据中成功获得第一帧同步数据,则存储所述第一帧同步数据,在存储空间中确定出第二帧同步数据,并基于第一帧同步数据和第二帧同步数据,计算待测信道的误码率。Step S507: If the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data, determining the second frame synchronization data in the storage space, and based on the first frame synchronization data and the second Frame synchronization data, calculating the bit error rate of the channel to be tested.
步骤S508:判断数据类型字段是否纠错解码成功;若成功,则进入步骤S509,否则进入步骤S510。Step S508: determining whether the data type field is error-corrected and decoding successfully; if successful, proceeding to step S509, otherwise proceeding to step S510.
步骤S509:若数据类型字段为预设类型,则从第一编码数据中获取第一数据码元,接收方设备确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元,基于第一数据码元和第二数据码元,计算待测信道的误码率。Step S509: If the data type field is a preset type, the first data symbol is obtained from the first encoded data, and the receiver device determines the data content corresponding to the preset type, and reverses the data content. Encoding, obtaining a second data symbol, and calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
步骤S510:设置误码率为预设字符。Step S510: setting the error rate to a preset character.
第五种实现方式:通过应用程序接口获取误码率。The fifth implementation: obtain the bit error rate through the application interface.
申请人发现在数字通信系统中具有计算误码率的应用程序接口。应用 程序接口可以设置与接收方设备内,也可以设置于接收方设备和发送方设备之外的第三方设备上。Applicants have found an application interface that calculates a bit error rate in a digital communication system. Application The program interface may be set in the receiver device or on a third party device other than the receiver device and the sender device.
所以接收方设备在接收第一编码数据后,可以调用计算误码率的应用程序接口,若调用过程正常则获得误码率;若调用过程中出现异常,则若设置误码率为预设字符。Therefore, after receiving the first encoded data, the receiving device may call an application program interface for calculating a bit error rate, and if the calling process is normal, the error rate is obtained; if an abnormality occurs during the calling process, if the error rate is set to a preset character .
在数字通信系统中,信源数据具有两种类型,数据类型和语音类型。两种类型的处理方式略有不同,所以,计算误码率的应用程序接口具有两个:与数据类型对应的标准纠错算法接口,和,与语音类型对应的声码器中的编解码接口。In digital communication systems, source data has two types, data types and voice types. The two types of processing are slightly different, so the application interface for calculating the bit error rate has two: a standard error correction algorithm interface corresponding to the data type, and a codec interface in the vocoder corresponding to the voice type. .
上述第一种实现方式至第五种实现方式,仅仅为确定一次误码率的过程。可以理解的是,依据一个信源数据确定的误码率可能不准确,所以,可以将上述计算误码率的过程执行多次,从而获得待测信道的多个误码率,然后再基于多个误码率确定待测信道的平均误码率,平均误码率即为待测信道的信道质量。The first implementation to the fifth implementation described above are merely a process of determining a bit error rate. It can be understood that the bit error rate determined according to one source data may be inaccurate. Therefore, the above process of calculating the bit error rate may be performed multiple times to obtain multiple bit error rates of the channel to be tested, and then based on multiple The bit error rate determines the average bit error rate of the channel to be tested, and the average bit error rate is the channel quality of the channel to be tested.
参见图6,为基于多个误码率确定待测信道的流程图。Referring to FIG. 6, a flow chart for determining a channel to be tested based on a plurality of bit error rates.
步骤S601:判断待测信道的多个误码率中是否包含预设字符。如否,则进入步骤S602,若是,则进入步骤S603。Step S601: Determine whether a plurality of error rates of the channel to be tested include a preset character. If no, the process proceeds to step S602, and if so, the process proceeds to step S603.
若误码率为预设字符则说明误码率没有确定的数值,因此需要进行特殊处理。因此,在有多个误码率的情况下,首先判断多个误码率中是否包含预设字符。If the bit error rate is a preset character, the bit error rate has no determined value, so special processing is required. Therefore, in the case where there are a plurality of bit error rates, it is first determined whether or not a plurality of bit error rates include a preset character.
步骤S602:若多个误码率中不包含预设字符,则将多个误码率的平均值,确定为待测信道的平均误码率。 Step S602: If the preset error characters are not included in the multiple error rates, the average value of the multiple error rate is determined as the average error rate of the channel to be tested.
若多个误码率中不包含预设字符,则无需进行特殊处理,直接进行取平均值的过程。If the preset error characters are not included in the multiple bit error rates, the process of averaging is performed directly without special processing.
步骤S603:若多个误码率中包含预设字符,判断多个误码率中是否包含半数以上的预设字符;若是,则进入步骤S604;否则进入步骤S605。Step S603: If a plurality of error rates include preset characters, determine whether more than half of the preset characters are included in the plurality of error rates; if yes, proceed to step S604; otherwise, proceed to step S605.
若多个误码率中包含预设字符,则进行特殊处理。由于预设字符的数量不同,处理过程也不尽相同。首先确定多个误码率中的预设字符是否超过半数以上。If multiple error codes contain preset characters, special processing is performed. Due to the different number of preset characters, the processing is not the same. First, it is determined whether the preset characters in the plurality of bit error rates exceed more than half.
步骤S604:设置待测信道的误码率为预设数值。Step S604: Set the error rate of the channel to be tested to a preset value.
若多个误码率包含超过半数以上的预设字符,则说明待测信道的误码率非常高,可直接设置待测信道的误码率为预设数值。预设数值为表示待测信道误码率最大值的数值。If the multiple error rate includes more than half of the preset characters, the error rate of the channel to be tested is very high, and the error rate of the channel to be tested can be directly set to a preset value. The preset value is a value indicating the maximum value of the channel error rate to be measured.
步骤S605:判断在多个误码率中是否包含1/4以上的预设字符;若是,则进入步骤S606;否则进入步骤S607。Step S605: determining whether a plurality of 1/4 or more preset characters are included in the plurality of error rates; if yes, proceeding to step S606; otherwise, proceeding to step S607.
步骤S606:将每个预设字符赋值为5%,并和其它非预设字符的误码率计算平均值,将该平均值确定为待测信道的平均误码率。Step S606: Assign each preset character to 5%, and calculate an average value with the error rate of other non-preset characters, and determine the average value as the average bit error rate of the channel to be tested.
预设字符的含义等同于误码率超出了5%,若多个误码率中包含1/4以上的预设字符,1/2以下的预设字符。在此情况下,说明待测信道的有一定的误码率。为了准确计算待测信道的误码率,设置将预设字符赋值为5%,然后计算所有误码率的平均值,从而获得待测信道的平均误码率。The meaning of the preset character is equivalent to the error rate exceeding 5%. If multiple error rates include more than 1/4 of the preset characters, the default characters below 1/2. In this case, the channel to be tested has a certain bit error rate. In order to accurately calculate the error rate of the channel to be tested, the preset character is set to 5%, and then the average of all the bit error rates is calculated, thereby obtaining the average bit error rate of the channel to be tested.
步骤S607:若多个误码率中不包含1/4以上的预设字符,则在排除各个预设字符后,计算其它非预设字符的误码率的平均值,将该平均值确定为待测信道的平均误码率。 Step S607: If a plurality of BERs do not include more than 1/4 of the preset characters, after excluding each preset character, calculate an average value of the error rate of the other non-preset characters, and determine the average value as The average bit error rate of the channel to be tested.
若多个误码率中包含1/4以上的预设字符,则说明待测信道的质量良好,偶尔出现一两个预设字符,可能是特殊情况。因此,此情况下可以排除预设字符,直接使用剩余的误码率来计算平均误码率。If more than 1/4 of the preset characters are included in the multiple bit error rate, the quality of the channel to be tested is good, and occasionally one or two preset characters may appear, which may be a special case. Therefore, in this case, the preset character can be excluded, and the remaining bit error rate is directly used to calculate the average bit error rate.
下面一个具体实例,对上述步骤进行详细说明:The following steps are described in detail in a specific example:
例如,获得10个误码率为例,假设预设字符为NULL。For example, obtain 10 error rate examples, assuming the default character is NULL.
如果NULL的数量等于或者超过一半(即5个误码率值为NULL),则不需要再计算,可以直接得出误码率大于5%(误码率最大值),等同场强为-120dB。If the number of NULLs is equal to or exceeds half (that is, the 5 bit error rate values are NULL), then no further calculation is needed, and the bit error rate is directly greater than 5% (bit error rate maximum), and the equivalent field strength is -120 dB. .
如果10个误码率中有3到4个NULL值,则将每个NULL值赋予5%的误码率,并和其它误码率取平均值。If there are 3 to 4 NULL values out of 10 bit error rates, each NULL value is given a 5% bit error rate and averaged with other bit error rates.
如果10个误码率中值中有1到2个NULL值,则计算误码率值时仅计算其它误码率的平均值。If there are 1 to 2 NULL values in the median of the 10 bit error rates, only the average of the other bit error rates is calculated when calculating the bit error rate value.
通过以上技术手段,可以实现以下有益效果:Through the above technical means, the following beneficial effects can be achieved:
本申请提供一种误码率的计算方法,本申请接收方基于第一编码数据通过纠错解码获得信源数据,无需在接收方设备中存储信源数据;然后再对信源数据进行反向编码获得第二编码数据,通过将第一编码数据和第二编码数据进行对比来获得待测信道的误码率。The present application provides a method for calculating a bit error rate. The receiver of the present application obtains source data by error correction decoding based on the first encoded data, and does not need to store the source data in the receiving device; and then reverses the source data. The encoding obtains the second encoded data, and the error rate of the channel to be tested is obtained by comparing the first encoded data with the second encoded data.
由于本申请不需要在接收方设备中存储信源数据,所以,接收方设备不知晓发送方设备发送的信源数据。即,本申请中发送方设备和接收方设备未发送已知数据,所以不会对信道资源的造成浪费,以便提升信道资源的利用率。Since the present application does not need to store source data in the recipient device, the recipient device does not know the source data transmitted by the sender device. That is, in the present application, the sender device and the receiver device do not transmit the known data, so no waste of channel resources is caused, so as to improve the utilization of channel resources.
本实施例方法所述的功能如果以软件功能单元的形式实现并作为独立 的产品销售或使用时,可以存储在一个计算设备可读取存储介质中。基于这样的理解,本申请实施例对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一台计算设备(可以是个人计算机,服务器,移动计算设备或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions described in the method of this embodiment are implemented in the form of software functional units and are independent When the product is sold or used, it can be stored in a readable storage medium of a computing device. Based on such understanding, a portion of the embodiments of the present application that contributes to the prior art or a portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a The computing device (which may be a personal computer, server, mobile computing device, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts of the respective embodiments may be referred to each other.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments enables those skilled in the art to make or use the application. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the application is not limited to the embodiments shown herein, but is to be accorded the broadest scope of the principles and novel features disclosed herein.

Claims (20)

  1. 一种误码率的计算方法,其特征在于,包括:A method for calculating a bit error rate, comprising:
    接收并存储发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;Receiving and storing first encoded data that is sent by the sending device through the channel to be tested; wherein the first encoded data is obtained by channel encoding the source data;
    对所述第一编码数据进行纠错解码操作;Performing an error correction decoding operation on the first encoded data;
    在对第一编码数据纠错解码成功后,对纠错解码后获得的信源数据进行反向编码,获得第二编码数据;After the error correction decoding of the first encoded data is successful, the source data obtained after the error correction decoding is inversely encoded to obtain the second encoded data;
    基于所述第一编码数据和所述第二编码数据,计算所述待测信道的误码率。Calculating a bit error rate of the channel to be tested based on the first encoded data and the second encoded data.
  2. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    在对第一编码数据纠错解码失败时,设置待测信道的误码率为预设字符。When the error correction decoding of the first encoded data fails, setting the error rate of the channel to be tested is a preset character.
  3. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    在对第一编码数据纠错解码失败时,判断能否解码出数据类型字段;When the error correction decoding of the first encoded data fails, it is determined whether the data type field can be decoded;
    若成功解码出数据类型字段,且,数据类型字段为预设类型,则从所述第一编码数据中获取第一数据码元;If the data type field is successfully decoded, and the data type field is a preset type, the first data symbol is obtained from the first encoded data;
    确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元;Determining data content corresponding to the preset type, and performing inverse encoding on the data content to obtain a second data symbol;
    基于所述第一数据码元和所述第二数据码元,计算所述待测信道的误码率。Calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
  4. 如权利要求3所述的方法,其特征在于,还包括:The method of claim 3, further comprising:
    若未成功解码出数据类型字段,或,解码获得的数据类型字段非预设 类型,则设置待测信道的误码率为预设字符。If the data type field is not successfully decoded, or the decoded data type field is not preset. Type, set the error rate of the channel to be tested as the default character.
  5. 如权利要求3所述的方法,其特征在于,在对所述第一编码数据进行纠错解码操作之前,还包括:在第一编码数据中执行获取帧同步数据操作;则所述方法还包括:The method according to claim 3, further comprising: performing an operation of acquiring a frame synchronization data in the first encoded data before performing an error correction decoding operation on the first encoded data; :
    若对第一编码数据纠错解码失败、或者若未成功解码出数据类型字段、或者若成功解码出数据类型字段但数据类型字段非预设类型,则判断在第一编码数据中是否成功获取第一帧同步数据;If the error correction decoding of the first encoded data fails, or if the data type field is not successfully decoded, or if the data type field is successfully decoded but the data type field is not a preset type, it is determined whether the first encoded data is successfully obtained. One frame of synchronous data;
    若在第一编码数据中成功获取第一帧同步数据,则存储所述第一帧同步数据;If the first frame synchronization data is successfully acquired in the first encoded data, storing the first frame synchronization data;
    在存储空间中确定出第二帧同步数据;Determining the second frame synchronization data in the storage space;
    基于所述第一帧同步数据和所述第二帧同步数据,计算所述待测信道的误码率。And calculating a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
  6. 如权利要求5所述的方法,其特征在于,还包括:The method of claim 5, further comprising:
    若在第一编码数据中未成功获得第一帧同步数据,则设置待测信道的误码率为预设字符。If the first frame synchronization data is not successfully obtained in the first encoded data, setting a bit error rate of the channel to be tested is a preset character.
  7. 如权利要求1-6任一项所述的方法,其特征在于,还包括:The method of any of claims 1-6, further comprising:
    计算待测信道的多个误码率;Calculating multiple error rates of the channel to be tested;
    基于待测信道的多个误码率,确定待测信道的平均误码率。The average error rate of the channel to be tested is determined based on the multiple error rates of the channel to be tested.
  8. 如权利要求7所述的方法,其特征在于,所述基于待测信道的多个误码率,确定待测信道的平均误码率,包括:The method according to claim 7, wherein the determining the average bit error rate of the channel to be tested based on the plurality of bit error rates of the channel to be tested comprises:
    判断待测信道的多个误码率是否包含预设字符;Determining whether multiple error rates of the channel to be tested include preset characters;
    若待测信道的多个误码率不包含预设字符,则将待测信道的多个误码 率的平均值,确定为待测信道的平均误码率。If multiple error rates of the channel to be tested do not include preset characters, multiple errors of the channel to be tested The average of the rates is determined as the average bit error rate of the channel to be tested.
  9. 如权利要求8所述的方法,其特征在于,还包括:The method of claim 8 further comprising:
    若待测信道的多个误码率包含预设字符,则判断多个误码率中是否包含半数以上的预设字符;If the multiple error rate of the channel to be tested includes a preset character, it is determined whether more than half of the preset characters are included in the multiple error rate;
    若多个误码率中包含半数以上的预设字符,则设置待测信道的误码率为预设数值。If more than half of the preset characters are included in the multiple bit error rate, the bit error rate of the channel to be tested is set to a preset value.
  10. 如权利要求9所述的方法,其特征在于,还包括:The method of claim 9 further comprising:
    若多个误码率中不包含半数以上的预设字符,则判断在多个误码率中是否包含1/4以上的预设字符;If more than half of the preset characters are not included in the plurality of bit error rates, it is determined whether more than 1/4 of the preset characters are included in the plurality of bit error rates;
    若多个误码率中包含1/4以上的预设字符,则将每个预设字符赋值为5%,并和其它非预设字符的误码率计算平均值,将该平均值确定为待测信道的平均误码率;If a plurality of BERs include more than 1/4 of the preset characters, each preset character is assigned a value of 5%, and an average value is calculated with the error rate of the other non-preset characters, and the average value is determined as The average bit error rate of the channel to be tested;
    若多个误码率中不包含1/4以上的预设字符,则在排除各个预设字符后,计算其它非预设字符的误码率的平均值,将该平均值确定为待测信道的平均误码率。If a plurality of BERs do not include more than 1/4 of the preset characters, after the preset characters are excluded, the average value of the error rate of the other non-preset characters is calculated, and the average value is determined as the channel to be tested. The average bit error rate.
  11. 一种数字通信系统,其特征在于,包括:A digital communication system, comprising:
    发送方设备,用于通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a sender device, configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
    接收方设备,用于接收并存储所述第一编码数据,对所述第一编码数据进行纠错解码操作;在对第一编码数据纠错解码成功后,对纠错解码后获得的信源数据进行反向编码,获得第二编码数据;基于所述第一编码数据和所述第二编码数据,计算所述待测信道的误码率。 a receiving device, configured to receive and store the first encoded data, perform an error correction decoding operation on the first encoded data, and obtain a source obtained after error correction decoding after successfully decoding and decoding the first encoded data. The data is inversely encoded to obtain second encoded data; and based on the first encoded data and the second encoded data, a bit error rate of the channel to be tested is calculated.
  12. 一种误码率的计算方法,其特征在于,包括:A method for calculating a bit error rate, comprising:
    接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;Receiving first encoded data that is sent by the sending device through the channel to be tested; wherein the first encoded data is obtained by channel encoding the source data;
    在所述第一编码数据中执行获取帧同步数据的操作;Performing an operation of acquiring frame synchronization data in the first encoded data;
    若成功在第一编码数据中获得第一帧同步数据,则存储所述第一帧同步数据;If the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data;
    在存储空间中确定出第二帧同步数据;Determining the second frame synchronization data in the storage space;
    基于所述第一帧同步数据和所述第二帧同步数据,计算待测信道的误码率。And calculating a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
  13. 如权利要求12所述的方法,其特征在于,还包括:The method of claim 12, further comprising:
    若未成功在第一编码数据中获得第一帧同步数据,则设置待测信道的误码率为预设字符。If the first frame synchronization data is not successfully obtained in the first encoded data, setting a bit error rate of the channel to be tested is a preset character.
  14. 一种数字通讯系统,其特征在于,包括:A digital communication system, comprising:
    发送方设备,用于通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a sender device, configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
    接收方设备,用于接收发送方设备通过待测信道发送的第一编码数据,在所述第一编码数据中执行获取帧同步数据的操作;若成功在第一编码数据中获得第一帧同步数据,则存储所述第一帧同步数据;在存储空间中确定出第二帧同步数据;基于所述第一帧同步数据和所述第二帧同步数据,计算待测信道的误码率。 a receiving device, configured to receive, by using the first encoded data sent by the sending device by using the channel to be tested, performing an operation of acquiring frame synchronization data in the first encoded data; and successfully obtaining a first frame synchronization in the first encoded data Data, storing the first frame synchronization data; determining second frame synchronization data in the storage space; calculating a bit error rate of the channel to be tested based on the first frame synchronization data and the second frame synchronization data.
  15. 一种误码率的计算方法,其特征在于,包括:A method for calculating a bit error rate, comprising:
    接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;Receiving first encoded data that is sent by the sending device through the channel to be tested; wherein the first encoded data is obtained by channel encoding the source data;
    对所述第一编码数据进行纠错解码的过程中,判断能否解码出数据类型字段;In the process of performing error correction decoding on the first encoded data, determining whether the data type field can be decoded;
    若成功解码出数据类型字段且数据类型字段为预设类型,则从第一编码数据中获取第一数据码元;If the data type field is successfully decoded and the data type field is a preset type, the first data symbol is obtained from the first encoded data;
    确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元;Determining data content corresponding to the preset type, and performing inverse encoding on the data content to obtain a second data symbol;
    基于所述第一数据码元和所述第二数据码元,计算待测信道的误码率。Calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
  16. 如权利要求15所述的方法,其特征在于,还包括:The method of claim 15 further comprising:
    若未成功解码出数据类型字段,或,数据类型字段非预设类型,则设置误码率为预设字符。If the data type field is not successfully decoded, or the data type field is not a preset type, the bit error rate is set as a preset character.
  17. 一种数字通讯系统,其特征在于,包括:A digital communication system, comprising:
    发送方设备,用于通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a sender device, configured to transmit first encoded data by using a channel to be tested; wherein the first encoded data is obtained by channel coding of the source data;
    接收方设备,用于接收发送方设备通过待测信道发送的第一编码数据,对所述第一编码数据进行纠错解码的过程中,判断能否解码出数据类型字段;若成功解码出数据类型字段且数据类型字段为预设类型,则从第一编码数据中获取第一数据码元;确定与所述预设类型对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元;基于所述第一数据码元 和所述第二数据码元,计算待测信道的误码率。The receiving device is configured to receive the first encoded data sent by the sending device through the channel to be tested, and perform error correction decoding on the first encoded data to determine whether the data type field can be decoded; if the data is successfully decoded The type field and the data type field are preset types, the first data symbol is obtained from the first encoded data; the data content corresponding to the preset type is determined, and the data content is inversely encoded to obtain the first Two data symbols; based on the first data symbol And the second data symbol, calculating a bit error rate of the channel to be tested.
  18. 一种接收方设备,其特征在于,包括:A receiver device, comprising:
    第一通讯模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a first communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
    存储器,用于存储发送方设备通过待测信道发送的第一编码数据;a memory, configured to store first encoded data that is sent by the sending device through the channel to be tested;
    第一处理器,用于对所述第一编码数据进行纠错解码操作,在对第一编码数据纠错解码成功后,对纠错解码后获得的信源数据进行反向编码,获得第二编码数据,基于所述第一编码数据和所述第二编码数据,计算所述待测信道的误码率。a first processor, configured to perform an error correction decoding operation on the first encoded data, and after performing error correction decoding on the first encoded data, performing reverse coding on the source data obtained after error correction decoding to obtain a second Encoding data, based on the first encoded data and the second encoded data, calculating a bit error rate of the channel to be tested.
  19. 一种接收方设备,其特征在于,包括:A receiver device, comprising:
    第二通讯模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a second communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
    第二处理器,用于在所述第一编码数据中执行获取帧同步数据的操作,若成功在第一编码数据中获得第一帧同步数据,则存储所述第一帧同步数据,在存储空间中确定出第二帧同步数据;基于所述第一帧同步数据和所述第二帧同步数据,计算待测信道的误码率。a second processor, configured to perform an operation of acquiring frame synchronization data in the first encoded data, and if the first frame synchronization data is successfully obtained in the first encoded data, storing the first frame synchronization data, and storing The second frame synchronization data is determined in the space; and the error rate of the channel to be tested is calculated based on the first frame synchronization data and the second frame synchronization data.
  20. 一种接收方设备,其特征在于,包括:A receiver device, comprising:
    第三通信模块,用于接收发送方设备通过待测信道发送的第一编码数据;其中,第一编码数据由信源数据经过信道编码后获得;a third communication module, configured to receive first encoded data that is sent by the sending device by using the channel to be tested; where the first encoded data is obtained by channel encoding the source data;
    第三处理器,用于对所述第一编码数据进行纠错解码的过程中,判断能否解码出数据类型字段,若成功解码出数据类型字段且数据类型字段为预设类型,则从第一编码数据中获取第一数据码元,确定与所述预设类型 对应的数据内容,并对所述数据内容进行反向编码,获得第二数据码元,基于所述第一数据码元和所述第二数据码元,计算待测信道的误码率。 a third processor, in the process of performing error correction decoding on the first encoded data, determining whether the data type field can be decoded, and if the data type field is successfully decoded and the data type field is a preset type, Obtaining a first data symbol in an encoded data, determining the preset type Corresponding data content, and inversely encoding the data content, obtaining a second data symbol, and calculating a bit error rate of the channel to be tested based on the first data symbol and the second data symbol.
PCT/CN2016/108850 2016-12-07 2016-12-07 Digital communication system and bit error rate calculation method WO2018103008A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/108850 WO2018103008A1 (en) 2016-12-07 2016-12-07 Digital communication system and bit error rate calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/108850 WO2018103008A1 (en) 2016-12-07 2016-12-07 Digital communication system and bit error rate calculation method

Publications (1)

Publication Number Publication Date
WO2018103008A1 true WO2018103008A1 (en) 2018-06-14

Family

ID=62490518

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108850 WO2018103008A1 (en) 2016-12-07 2016-12-07 Digital communication system and bit error rate calculation method

Country Status (1)

Country Link
WO (1) WO2018103008A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022199556A1 (en) * 2021-03-23 2022-09-29 华为技术有限公司 Data sending method and apparatus, and signal processing method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6163571A (en) * 1998-04-24 2000-12-19 Ericsson Inc. Method for measuring received signal quality in a mobile wireless communication system
CN1448012A (en) * 2000-06-21 2003-10-08 艾利森电话股份有限公司 Bit error rate estimation
CN1557063A (en) * 2001-09-20 2004-12-22 �ʼҷ����ֵ��ӹɷ����޹�˾ Frame error rate estimation in a receiver
CN101489241A (en) * 2009-01-13 2009-07-22 中兴通讯股份有限公司 Apparatus and method for detecting multimedia signal receiving performance of mobile terminal
US20150106666A1 (en) * 2013-10-10 2015-04-16 Lsi Corporation Speculative Bit Error Rate Calculator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6163571A (en) * 1998-04-24 2000-12-19 Ericsson Inc. Method for measuring received signal quality in a mobile wireless communication system
CN1448012A (en) * 2000-06-21 2003-10-08 艾利森电话股份有限公司 Bit error rate estimation
CN1557063A (en) * 2001-09-20 2004-12-22 �ʼҷ����ֵ��ӹɷ����޹�˾ Frame error rate estimation in a receiver
CN101489241A (en) * 2009-01-13 2009-07-22 中兴通讯股份有限公司 Apparatus and method for detecting multimedia signal receiving performance of mobile terminal
US20150106666A1 (en) * 2013-10-10 2015-04-16 Lsi Corporation Speculative Bit Error Rate Calculator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022199556A1 (en) * 2021-03-23 2022-09-29 华为技术有限公司 Data sending method and apparatus, and signal processing method and apparatus

Similar Documents

Publication Publication Date Title
US10587320B2 (en) Configurable beam failure event design
US20200059934A1 (en) Coding/decoding method, apparatus, and device
US10887067B2 (en) Coding scheme determining method and apparatus
JP2020061749A (en) Systems and methods for signaling and generating variable length block acknowledgment fields in wireless network
US10887048B2 (en) Bluetooth transmission using low density parity check
WO2021057461A1 (en) Method for polar code segment encoding, and communication device
US11728931B2 (en) Communication method, network device, and terminal
CN101689972B (en) Method and apparatus for indicating a temporary block flow using a piggybacked ack/nack field
WO2018223841A1 (en) Downlink multi-user superposition transmission method and apparatus, storage medium and program product
WO2020063634A1 (en) Data transmission method and device and storage medium
WO2015117407A1 (en) Processing method and device for terminal information
WO2018103008A1 (en) Digital communication system and bit error rate calculation method
CN106788811A (en) A kind of computational methods of digital communication system and the bit error rate
US10623140B2 (en) Method for processing signaling sub-segment, processing apparatus, access point, and station
WO2018177258A1 (en) Method and device for processing identification information
EP3847771A1 (en) Acqi decoding confidence detection
JP6517366B2 (en) Downlink information receiving method and downlink information transmitting method, user equipment, and network device
TWI741089B (en) Method for transmitting information, terminal equipment, and network equipment
CN115276886A (en) Code identification method and device
WO2019169966A1 (en) Method for processing information data block and transmitting terminal
CN114095116B (en) DCI analysis method, transmission method, terminal and network equipment
CN112217597B (en) Method and equipment for demodulating physical broadcast channel PBCH
WO2020052664A1 (en) Information sending and receiving method, device and apparatus
WO2023125762A1 (en) Communication method and apparatus
EP4351048A1 (en) Communication method and communication apparatus

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: 16923387

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 25/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16923387

Country of ref document: EP

Kind code of ref document: A1