A codec method, system and computer readable storage medium for a DECT system

CN115954009BActive Publication Date: 2026-08-07YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
Filing Date
2022-12-13
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0005]本发明提供了一种针对DECT系统的编解码方法、系统和计算机可读存储介质,以解决语音传输产生较多误码影响语音质量、抗干扰能力和语音传输距离的技术问题

Benefits of technology

[0041]本发明实施例提供了一种可实现以上编解码方法的系统,系统操作简单方便,易于用户随时查询通信质量。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115954009B_ABST
    Figure CN115954009B_ABST
Patent Text Reader

Abstract

The application discloses a kind of encoding and decoding method, system and computer readable storage medium for DECT system, applied to the communication terminal of DECT system, the first communication terminal receives the first packet data sent by the second communication terminal and unpacks it to it, error correction decoding, output first error report, first voice bit rate, first error correction level, and according to the first error correction level, the first voice bit rate is decoded, and output first voice data, according to first error report, adjust the expected error correction level of preset.The application scheme adds error correction algorithm in the encoding and decoding process, so as to reduce the influence of excessive error code quantity generated in the process of voice transmission on voice data quality, and therefore improve the anti-interference ability of voice transmission and the transmission distance of voice transmission;By analyzing the error report information and adjusting the expected error correction level, the error correction level during voice encoding is flexibly adjusted, and the energy use efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication, and more particularly to an encoding / decoding method, system, and computer-readable storage medium for DECT systems. Background Technology

[0002] Enhanced Digital Cordless Telecommunications (DECT) is a second-generation digital cordless telephone technology developed by the European Institute for Standardization (ETSI). DECT is a world-leading digital communication wireless standard, offering superior voice quality and a high level of anti-eavesdropping protection.

[0003] However, in existing wireless communication systems, due to unreliable channels, bit errors may occur when the terminal is far from the base station or when there is interference from other terminals. Moreover, these errors may occur continuously, meaning that there are bit errors in many consecutive packets. If all of these packets are discarded and packet loss compensation is performed, the compensation effect will be very poor, affecting voice quality.

[0004] In the existing technology, most voice codecs used in DECT systems do not support error correction. Therefore, if errors occur during transmission, they cannot be corrected, but only packet loss compensation can be provided. This greatly affects the voice quality and anti-interference ability of the transmission, and also imposes a significant limitation on the transmission distance. Summary of the Invention

[0005] This invention provides an encoding and decoding method, system, and computer-readable storage medium for DECT systems to solve the technical problem that voice transmission generates many bit errors, affecting voice quality, anti-interference ability, and voice transmission distance.

[0006] To address the aforementioned technical problems, this invention provides an encoding / decoding method for a DECT system, applied to the communication terminal of the DECT system, wherein the DECT system includes a first communication terminal and a second communication terminal, and the decoding method includes:

[0007] The first communication terminal receives the first packet data sent by the second communication terminal, unpacks it, and outputs the first unpacked data;

[0008] The first communication terminal performs error correction decoding on the first unpacked data and outputs a first error report, a first voice bitrate, and a first error correction level;

[0009] The first communication terminal performs voice decoding on the first voice bit rate according to the first error correction level, outputs the first voice data, and adjusts the preset first expected error correction level according to the first error report to obtain the second expected error correction level, and transmits the first voice data to the next level device corresponding to the first communication terminal.

[0010] Wherein, the first error correction level is the error correction level used by the second communication terminal when performing voice encoding.

[0011] This invention, through unpacking, error correction decoding, and voice decoding of received first packet data sent by the second communication terminal of the DECT system, obtains first voice data and a first error report. The first voice data is then transmitted to the next-level device, and a preset first expected error correction level is adjusted based on the first error report to derive a second expected error correction level. Compared to existing technologies that compensate for packet loss caused by errors during transmission, this invention utilizes error correction algorithms to further protect the data during encoding and decoding. Therefore, if the number of errors generated during transmission is not greater than the number of errors that can be corrected by the error correction algorithm, the transmitted voice data can be received completely. This application, by incorporating an error correction algorithm, reduces the impact of the number of errors generated during voice transmission on voice data quality, thereby improving the anti-interference capability and transmission distance of voice transmission.

[0012] Similarly, the technical solution of the present invention also provides a method for adjusting a preset first expected error correction level according to a first error report to obtain a second expected error correction level. This method forms an adjustment mechanism that adaptively adjusts the expected error correction level, thereby improving the flexibility and rationality of the error correction level used in the speech coding step. It avoids unnecessary energy waste caused by frequently using the highest error correction level to ensure the quality of speech transmission data, and thus improves energy utilization efficiency. It also avoids the situation where using a lower error correction level all the time would be unable to cope with sudden errors.

[0013] As a preferred example, after obtaining the second desired error correction level, the method further includes:

[0014] The first communication terminal receives the second voice data fed back by the next-level device corresponding to the first communication terminal;

[0015] The first communication terminal performs voice encoding on the second voice data and the second expected error correction level according to the second expected error correction level, and outputs the first compressed data;

[0016] The first communication terminal sequentially performs error correction encoding and packetization on the first compressed data to obtain the second packet data;

[0017] The first communication terminal sends the second packet data to the second communication terminal, so that the second communication terminal decodes the second packet data and transmits the obtained voice data to the next-level device corresponding to the second communication terminal.

[0018] This invention provides an encoding method corresponding to the decoding method. When the first communication end uses this encoding method for speech encoding, it adopts the second expected error correction level, which flexibly adjusts the error correction level during speech encoding and improves the efficiency of energy use. At the same time, this encoding method incorporates the encoding process of the error correction algorithm, which corresponds to the decoding method, so that the transmission and error correction of speech data can be carried out smoothly. It also improves the anti-interference capability and security of speech data transmission between the transmitting end and the receiving end of the DECT system.

[0019] Similarly, the encoding method provided by the present invention incorporates the second desired error correction level into the first compressed data during speech encoding and sends the first compressed data to the second communication terminal. Combined with the adjustment mechanism, it forms a feedback mechanism that flexibly adjusts the error correction levels of the first and second communication terminals based on error reports, thereby deepening the correlation between the two communication terminals.

[0020] As a preferred example, the first communication terminal sequentially performs error correction encoding and packetization on the first compressed data to obtain the second packetized data, specifically as follows:

[0021] The first communication terminal sequentially performs standard base generation, generator polynomial construction codeword generation, and packetization on the first compressed data, and outputs the second packet data.

[0022] This invention provides an error correction coding method suitable for DECT systems, including standard steps such as generating a standard base, constructing a generator polynomial, and generating codewords. Compared with the adaptive differential pulse code modulation (ADPCM) or RS16 coding methods commonly used in the prior art, this error correction coding method reduces the higher requirements on the CPU clock frequency and power consumption of the first and second communication terminals, saving the CPU clock frequency consumption of the first and second communication terminals.

[0023] As a preferred example, the first error report specifically includes the following related parameters: whether the first valid data contains an error, the number of errors detected and corrected, and whether the error correction capability of the error correction decoder is exceeded;

[0024] The step of adjusting the preset first expected error correction level to obtain the second expected error correction level based on the first error report is as follows:

[0025] Based on the first error report, determine whether there is a situation that exceeds the error correction capacity. If there is a situation that exceeds the error correction capacity, adjust the number of errors in the current frame and count the maximum number of errors and error packets within a preset time period.

[0026] Determine whether the number of received packets exceeds the statistical threshold. If it exceeds the statistical threshold, compare the maximum number of errors with several pre-set level thresholds. If all of them exceed the several level thresholds, set the optimal error correction level to the error correction level corresponding to the highest level threshold.

[0027] Calculate the error packet rate within the preset time period, and adjust the first expected error correction level according to the error packet rate and the preset error packet rate threshold range, the first expected error correction level and the optimal error correction level, until the error packet rate is less than the maximum error packet rate threshold and greater than the minimum error packet rate threshold and the first expected error correction level is equal to the optimal error correction level, and obtain the second expected error correction level.

[0028] Wherein, the number of packets received is the number of packets received within the preset time period; the error packet rate is the result of calculating the number of error packets divided by the number of packets received.

[0029] This invention provides a method for analyzing and judging information in a first error report and forming a second desired error correction level based on the analysis results. The second desired error correction level is generated by performing a series of judgments, comparisons, and analyses on the information provided in the error report.

[0030] Similarly, the error report generated during error correction decoding provided in this embodiment of the invention includes information such as whether the detected data has errors, the number of detected errors, and whether the error correction capability has been exceeded.

[0031] In addition to the information mentioned above, users can add more specific content to the error report provided in this embodiment of the invention as needed. That is, the report includes, but is not limited to, all the information mentioned above.

[0032] As a preferred example, the step of adjusting the preset first expected error correction level to obtain a second expected error correction level based on the first error report specifically includes the following steps:

[0033] Based on the first error report, determine whether there is a situation that exceeds the error correction capacity. If there is no situation that exceeds the error correction capacity, then count the maximum number of errors and the number of error packets within a certain period of time, and then determine whether the number of received packets exceeds the statistical threshold.

[0034] If the error does not exceed the limit, then there is no need to adjust the first expected error correction level, and the second expected error correction level is equal to the preset first expected error correction level.

[0035] An embodiment of the present invention provides another method for obtaining a second expected error correction level by analyzing and judging the information in the first error report and adjusting the first expected error correction level according to the analysis results, in order to supplement the shortcomings of the above method.

[0036] As a preferred example, the first communication terminal performs error correction decoding on the first unpacked data, specifically as follows:

[0037] The first communication terminal sequentially performs synergistic calculation, key equation solving, Chan search, and error estimation on the first unpacked data to obtain a first error report, a first voice bit rate, and a first error correction level.

[0038] This invention provides an error correction decoding method suitable for DECT systems, including the standard steps of synaptic calculation, key equation solving, Chan search, and error estimation. This error correction decoding method, combined with the above-mentioned error correction coding method, yields a coding and decoding method suitable for DECT systems, which can not only effectively improve the anti-interference capability of voice data transmission, but also increase the transmission distance of voice data.

[0039] Accordingly, embodiments of the present invention also provide a DECT system, including: a first communication terminal and a second communication terminal;

[0040] The first communication terminal is connected to the second communication terminal via a network; the first communication terminal and the second communication terminal can execute an encoding and decoding method for a DECT system as described above.

[0041] This invention provides a system that can implement the above encoding and decoding methods. The system is simple and convenient to operate, and users can easily check the communication quality at any time.

[0042] As a preferred example, the first communication terminal includes: a voice transmission module, an encoding module, a decoding module, a sending module, and a receiving module;

[0043] The voice transmission module is connected to the encoding module, the encoding module is connected to the decoding module, and the decoding module is connected to both the sending module and the receiving module.

[0044] The voice transmission module is used to transmit the first voice data to the next-level device corresponding to the first communication terminal, and to receive the second voice data fed back by the next-level device corresponding to the first communication terminal.

[0045] The encoding module is used to perform speech encoding on the second speech data and the second expected error correction level according to the second expected error correction level, output the first compressed data, and perform error correction encoding on the first compressed data.

[0046] The decoding module is used to perform error correction decoding on the first unpacked data, output a first error report, a first speech bitrate, a first error correction level, and perform speech decoding on the first speech bitrate according to the first error correction level to output first speech data, and adjust the preset first expected error correction level according to the first error report to obtain a second expected error correction level.

[0047] The sending module is used to encapsulate the first compressed data to obtain the second encapsulated data;

[0048] The receiving module is used to receive the first packet data sent by the second communication terminal, unpack it, and output the first unpacked data.

[0049] As a preferred example, the encoding module further includes: a speech encoding module and an error correction encoding module; the decoding module further includes: a speech decoding module, an error correction decoding module, and an adaptive error correction level adjustment module;

[0050] The speech encoding module is used to perform speech encoding on the second speech data and the second expected error correction level according to the second expected error correction level, and output the first compressed data.

[0051] The error correction coding module is used to perform error correction coding on the first compressed data;

[0052] The voice decoding module is used to perform voice decoding on the first voice bit rate according to the first error correction level and output the first voice data.

[0053] The error correction decoding module is used to perform error correction decoding on the first unpacked data and output a first error report, a first voice bitrate, and a first error correction level;

[0054] The adaptive error correction level adjustment module is used to adjust the preset first expected error correction level to obtain a second expected error correction level based on the first error report.

[0055] Accordingly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed, implements the method as described in any of the above descriptions. Attached Figure Description

[0056] Figure 1 : A flowchart illustrating an embodiment of a decoding method for a DECT system provided by the present invention;

[0057] Figure 2 : A flowchart illustrating an embodiment of an encoding method for a DECT system provided by the present invention;

[0058] Figure 3 : A flowchart illustrating an embodiment of a method for adjusting a first desired error correction level provided by the present invention;

[0059] Figure 4 : A schematic diagram of the structure of an embodiment of a DECT system provided by the present invention;

[0060] Figure 5 : A schematic diagram of an embodiment of an encoding module and a decoding module provided by the present invention. Detailed Implementation

[0061] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0062] Example 1

[0063] Please refer to Figure 1 This is a flowchart illustrating an embodiment of a decoding method for a DECT system provided by the present invention, including steps 101 to 104, each step being as follows:

[0064] Step 101: The first communication terminal receives the first packet data sent by the second communication terminal and unpacks it, outputting the first unpacked data.

[0065] In this embodiment, most existing voice codecs used in DECT systems do not support error correction. Therefore, if errors occur during transmission, they cannot be corrected, and only packet loss compensation can be performed. This significantly affects the quality of transmitted voice and its anti-interference capability, while also greatly limiting the transmission distance. To solve these problems, the present invention improves upon existing technology by using an error correction algorithm during the encoding and decoding process to further protect the transmitted voice data. Therefore, if the number of errors generated during transmission is not greater than the number of errors that can be corrected by the error correction algorithm, the transmitted voice data can be received completely. Thus, by incorporating an error correction algorithm, this application not only reduces the impact of the number of errors generated during voice transmission on voice data quality but also improves the anti-interference capability and transmission distance of voice transmission.

[0066] In this embodiment, all operations performed by the first communication terminal can also be performed by the second communication terminal, and all operations performed by the second communication terminal can also be performed by the first communication terminal. That is, the first communication terminal and the second communication terminal have exactly the same functions.

[0067] In this embodiment, the first communication terminal is preferably the local terminal. The second communication terminal is preferably the peer terminal.

[0068] In this embodiment, the first packet data received by the first communication terminal from the second communication terminal is transmitted through channels including but not limited to the network.

[0069] In this embodiment, the first packet data is unpacked. The unpacking method and the corresponding packetization method are not further limited in this embodiment, and the user can adjust the packetization and unpacking methods as needed.

[0070] Step 102: The first communication terminal performs error correction decoding on the first unpacked data and outputs the first error report, the first voice bit rate, and the first error correction level.

[0071] In this embodiment, the first unpacked data is processed by error correction decoding to output a first voice bit rate, a first error report, and a first error correction level, wherein the first error correction level is the error correction level used by the second communication end when performing voice encoding.

[0072] In this embodiment, error correction decoding of the first unpacked data includes sequentially performing synodal calculation, key equation solving, Chan's search, and error estimation on the first unpacked data. All of these steps can be adjusted by the user as needed. Compared to the adaptive differential pulse code modulation (ADPCM) or RS16 coding methods commonly used in the prior art, this embodiment does not further limit the error correction coding method. The error correction algorithm includes, but is not limited to, RS codes, convolutional codes, Trubo codes, and LDPC codes. Since RS codes are more suitable for DECT systems, this embodiment prefers to use RS codes. Furthermore, since the RS256 error correction algorithm consumes less energy than other error correction algorithms, this embodiment preferably uses the RS256 error correction algorithm.

[0073] Error correction can be divided into several levels or modes based on different error correction capabilities or redundancy levels, which can be set according to user needs. In this embodiment, error correction is divided into four levels. The four levels are: Level 1, no error correction coding, only CRC check, suitable for normal transmission and large data transmission processes; Level 2, error correction coding with redundancy length less than or equal to 20% of the total length, suitable for transmission problems that are minor; Level 3, error correction coding with redundancy length less than or equal to 30% of the total length, suitable for transmission problems that are serious; Level 4, error correction coding with redundancy length less than or equal to 50% of the total length, suitable for transmission problems that are severe. This embodiment does not further limit the levels of the error correction methods. The first and second error correction levels mentioned in this embodiment refer to several error correction methods and the error correction levels corresponding to the several error correction methods. In this embodiment, the FEC level is preferred.

[0074] Step 103: Based on the first error report, adjust the preset first expected error correction level to obtain the second expected error correction level.

[0075] In this embodiment, the preset first expected error correction level is the error correction level used when the first communication terminal, before acting as a receiver, transmits voice data to the second communication terminal for voice encoding; that is, the error correction level used when the second communication terminal, before acting as a receiver, receives the voice data transmitted by the first communication terminal and decodes the voice data. Furthermore, the first error correction level is obtained by the second communication terminal adjusting the first expected error correction level based on error reports. Therefore, through the entire process described above, the error correction level is adjusted via feedback between the first and second communication terminals, ensuring that the error correction level used by each communication terminal during voice encoding is optimal for the current transmission situation, greatly improving energy efficiency.

[0076] In this embodiment, the CRC check is a cyclic redundancy check, which uses the principle of division and remainder to perform error verification. The sending end calculates the first CRC value based on the voice data to be transmitted, and the receiving end calculates the second CRC value based on the received data. The first CRC value and the second CRC value are compared to determine whether an error has occurred during the transmission process.

[0077] Step 104: The first communication terminal performs voice decoding on the first voice bit rate according to the first error correction level, outputs the first voice data, and transmits the first voice data to the next-level device corresponding to the first communication terminal.

[0078] In this embodiment, the next-level device corresponding to the first communication terminal is the first speaker, but this invention does not further limit the next-level device, and the user can determine the next-level device according to their needs.

[0079] As another example of this embodiment, see Figure 2 , Figure 2 A flowchart illustrating an embodiment of an encoding method for a DECT system provided by the present invention includes steps 201 to 204, each step being as follows:

[0080] Step 201: The first communication terminal receives the second voice data fed back by the next-level device corresponding to the first communication terminal.

[0081] In this example, the channels through which the first communication terminal receives data include, but are not limited to, receiving voice data from the second communication terminal from the network, and receiving voice data fed back by the device from the next-level device of the first communication terminal.

[0082] Step 202: The first communication terminal performs voice encoding on the second voice data and the second expected error correction level according to the second expected error correction level, and outputs the first compressed data.

[0083] In this example, the first communication terminal adjusts the first expected error correction level based on the first error report to obtain a second expected error correction level. This second expected error correction level is then used as the error correction level during speech coding and is incorporated into the first compressed data. This data is transmitted to the second communication terminal, which decodes the second packet data according to the second expected error correction level. This implements a feedback adjustment mechanism for the expected error correction level, improving the flexibility and rationality of the error correction level adjustment. It avoids unnecessary energy waste caused by frequently using the highest error correction level to ensure voice transmission data quality, thus improving energy efficiency. It also avoids the inability to handle sudden errors if a lower error correction level is consistently used. Furthermore, it avoids excessive redundant data generated by using a higher error correction level, which could lead to insufficient transmitted effective data and low voice quality.

[0084] Step 203: The first communication terminal sequentially performs error correction encoding and packetization on the first compressed data to obtain the second packet data.

[0085] In this example, the first communication terminal performs error correction encoding on the first compressed data, including but not limited to standard basis generation, generator polynomial codeword generation, and packet encapsulation steps, and outputs second packet data. These steps can be adjusted by the user as needed, and this application does not limit them.

[0086] Step 204: The first communication terminal sends the second packet data to the second communication terminal.

[0087] In this example, the first communication terminal sends the second packet data to the second communication terminal via the network.

[0088] As another example of this embodiment, see Figure 3 , Figure 3 This is a flowchart illustrating an embodiment of a method for adjusting a first desired error correction level provided by the present invention. The method includes determining, based on a first error report, whether a situation exceeds the error correction capability; if such a situation exists, adjusting the error count of the current frame to the level threshold corresponding to the first error correction level plus 2, and calculating the maximum number of errors and error packets within a preset time period; if no such situation exists, calculating the maximum number of errors and error packets within the preset time period.

[0089] Further, it is determined whether the number of received packets exceeds a statistical threshold. If it does, the maximum number of errors is compared with several level thresholds, and the optimal error correction level is adjusted to the different error correction levels corresponding to the different level thresholds based on the comparison results. In this example, there are specifically four level thresholds, corresponding to four error correction levels. This invention does not impose any restrictions on the setting of these level thresholds; the user can decide whether to adjust them.

[0090] The error packet rate within the preset time period is further calculated. Based on a comparison of the error packet rate with a preset error packet rate threshold, a comparison of the first expected error correction level with the optimal error correction level, and whether the error correction capacity is exceeded, it is determined whether the first expected error correction level needs adjustment. If the error packet rate is less than or equal to the minimum error packet rate and the first expected error correction level is greater than the optimal error correction level, the first expected error correction level is decreased. If the error packet rate is greater than or equal to the maximum error packet rate, or the first expected error correction level is less than the optimal error correction level, or the error correction capacity is exceeded, the first expected error correction level is increased. If both of the above judgments are negative, the first expected error correction level does not need adjustment. The second expected error correction level is then equal to the adjusted or unadjusted first expected error correction level.

[0091] In this example, the specific level of lowering or raising the first expected error correction level is 1. Users can set this level number as needed, and this invention does not specifically limit this point.

[0092] In this example, the number of packets received is the number of packets received within the preset time period, and the error packet rate is the result of dividing the number of error packets by the number of packets received. Since the time interval for receiving each packet is fixed and constant, the threshold time can be calculated based on the number of packets received, which is the statistical threshold. This statistical threshold can be adjusted and determined by the user. "Exceeding the error correction capability" refers to whether the algorithm's error correction capability has been exceeded. Since error correction decoding is equivalent to solving equations, if the equation has no solution, then the error correction capability has been exceeded.

[0093] In this example, a series of judgments and comparisons are used to determine whether the first expected error correction level needs to be adjusted, and if so, how to adjust it. This improves the accuracy of error correction level adjustment and avoids the problems of frequent and incorrect adjustments.

[0094] To better illustrate the working principle and steps of the encoding and decoding system for DECT systems of the present invention, please refer to the relevant description above, but not limited to.

[0095] Accordingly, see Figure 4 , Figure 4 This is a schematic diagram of an embodiment of a DECT system provided by the present invention. The system includes a first communication terminal 401 and a second communication terminal 402;

[0096] The first communication terminal 401 is connected to the second communication terminal 402 via a network; the first communication terminal 401 and the second communication terminal 402 can execute an encoding and decoding method for a DECT system as described above.

[0097] Furthermore, the first communication terminal includes: a voice transmission module 401A, an encoding module 401B, a decoding module 401C, a sending module 401D, and a receiving module 401E;

[0098] The voice transmission module 401A is connected to the encoding module 401B, the encoding module 401B is connected to the decoding module 401C, and the decoding module 401C is connected to the sending module 401D and the receiving module 401E respectively.

[0099] The voice transmission module 401A is used to transmit the first voice data to the next-level device corresponding to the first communication terminal 401, and to receive the second voice data fed back by the next-level device corresponding to the first communication terminal 401.

[0100] The encoding module 401B is used to perform speech encoding on the second speech data and the second expected error correction level according to the second expected error correction level, output the first compressed data, and perform error correction encoding on the first compressed data.

[0101] The decoding module 401C is used to perform error correction decoding on the first unpacked data, output a first error report, a first speech bitrate, a first error correction level, and perform speech decoding on the first speech bitrate according to the first error correction level to output first speech data, and adjust the preset first expected error correction level according to the first error report to obtain a second expected error correction level.

[0102] The sending module 401D is used to encapsulate the first compressed data to obtain the second encapsulated data.

[0103] The receiving module 401E is used to receive the first packet data sent by the second communication terminal, unpack it, and output the first unpacked data.

[0104] Further, see Figure 5 , Figure 5 This is a schematic diagram of an embodiment of an encoding module and a decoding module provided by the present invention. The encoding module 401B of the first communication terminal 401 further includes: a voice encoding module 401BA and an error correction encoding module 401BB; the decoding module 401C further includes: a voice decoding module 401CA, an error correction decoding module 401CB, and an adaptive error correction level adjustment module 401CC.

[0105] The speech encoding module 401BA is used to perform speech encoding on the second speech data and the second expected error correction level according to the second expected error correction level, and output the first compressed data.

[0106] The error correction coding module 401BB is used to perform error correction coding on the first compressed data;

[0107] The voice decoding module 401CA is used to perform voice decoding on the first voice bit rate according to the first error correction level and output the first voice data.

[0108] The error correction decoding module 401CB is used to perform error correction decoding on the first unpacked data and output a first error report, a first voice bitrate, and a first error correction level.

[0109] The adaptive error correction level adjustment module 401CC is used to adjust the preset first expected error correction level to obtain a second expected error correction level based on the first error report.

[0110] In summary, this invention provides an encoding / decoding method, system, and computer-readable storage medium for DECT systems, applied to the communication end of DECT systems. By incorporating error correction algorithms during the encoding / decoding process, the impact of the number of bit errors generated during voice transmission on voice data quality is reduced, thereby improving the anti-interference capability and transmission distance of voice transmission. By analyzing and adjusting the expected error correction level based on error report information, the error correction level during voice encoding can be flexibly adjusted, improving energy efficiency.

[0111] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A method for encoding and decoding a DECT system, characterized in that, A communication terminal for a DECT system, wherein the DECT system includes a first communication terminal and a second communication terminal; The decoding method includes: The first communication terminal receives the first packet data sent by the second communication terminal, unpacks it, and outputs the first unpacked data; The first communication terminal performs error correction decoding on the first unpacked data and outputs a first error report, a first voice bitrate, and a first error correction level; The first communication terminal performs voice decoding on the first voice bitrate according to the first error correction level, outputs first voice data, and adjusts the preset first expected error correction level to obtain a second expected error correction level according to the first error report, and transmits the first voice data to the next-level device corresponding to the first communication terminal; wherein, the first error correction level is the error correction level adopted by the second communication terminal when performing voice encoding, and the first error report specifically includes the following related parameters: whether the first valid data has an error, the number of errors detected and corrected, and whether the error correction capability of the error correction decoding is exceeded. The step of adjusting the preset first expected error correction level to obtain the second expected error correction level based on the first error report is as follows: based on the first error report, it is determined whether there is a situation that exceeds the error correction capability. If there is a situation that exceeds the error correction capability, the number of errors in the current frame is adjusted, and the maximum number of errors and the number of error packets within the preset time period are counted. Determine whether the number of received packets exceeds the statistical threshold. If it exceeds the statistical threshold, compare the maximum number of errors with several pre-set level thresholds. If all of them exceed the several level thresholds, set the optimal error correction level to the error correction level corresponding to the highest level threshold. Calculate the error packet rate within the preset time period, and adjust the first expected error correction level according to the error packet rate and the preset error packet rate threshold range, the first expected error correction level and the optimal error correction level, until the error packet rate is less than the maximum error packet rate threshold and greater than the minimum error packet rate threshold and the first expected error correction level is equal to the optimal error correction level, and obtain the second expected error correction level. Wherein, the number of packets received is the number of packets received within the preset time period; the error packet rate is the result of calculating the number of error packets divided by the number of packets received.

2. The encoding and decoding method for a DECT system as described in claim 1, characterized in that, After obtaining the second desired error correction level, the process also includes: The first communication terminal receives the second voice data fed back by the next-level device corresponding to the first communication terminal; The first communication terminal performs voice encoding on the second voice data and the second expected error correction level according to the second expected error correction level, and outputs the first compressed data; The first communication terminal sequentially performs error correction encoding and packetization on the first compressed data to obtain the second packet data; The first communication terminal sends the second packet data to the second communication terminal, so that the second communication terminal decodes the second packet data and transmits the obtained voice data to the next-level device corresponding to the second communication terminal.

3. The encoding and decoding method for a DECT system as described in claim 2, characterized in that, The first communication terminal sequentially performs error correction encoding and packetization on the first compressed data to obtain the second packet data, specifically as follows: The first communication terminal sequentially performs standard base generation, generator polynomial construction codeword generation, and packetization on the first compressed data, and outputs the second packet data.

4. The encoding and decoding method for a DECT system as described in claim 1, characterized in that, The step of adjusting the preset first expected error correction level to obtain the second expected error correction level based on the first error report specifically includes the following steps: Based on the first error report, determine whether there is a situation that exceeds the error correction capacity. If there is no situation that exceeds the error correction capacity, then count the maximum number of errors and the number of error packets within a certain period of time to determine whether the number of received packets exceeds the statistical threshold. If the error does not exceed the limit, then there is no need to adjust the first expected error correction level, and the second expected error correction level is equal to the preset first expected error correction level.

5. The encoding and decoding method for a DECT system as described in claim 1, characterized in that, The first communication terminal performs error correction decoding on the first unpacked data, specifically as follows: The first communication terminal sequentially performs synergistic calculation, key equation solving, Chan search, and error estimation on the first unpacked data to obtain a first error report, a first voice bit rate, and a first error correction level.

6. A DECT system, characterized in that, include: First communication terminal and second communication terminal; The first communication terminal is connected to the second communication terminal via a network; the first communication terminal and the second communication terminal can execute an encoding and decoding method for a DECT system as described in any one of claims 1-5.

7. A DECT system as described in claim 6, characterized in that, The first communication terminal includes: a voice transmission module, an encoding module, a decoding module, a sending module, and a receiving module; The voice transmission module is connected to the encoding module, the encoding module is connected to the decoding module, and the decoding module is connected to both the sending module and the receiving module. The voice transmission module is used to transmit the first voice data to the next-level device corresponding to the first communication terminal, and to receive the second voice data fed back by the next-level device corresponding to the first communication terminal. The encoding module is used to perform speech encoding on the second speech data and the second expected error correction level according to the second expected error correction level, output the first compressed data, and perform error correction encoding on the first compressed data. The decoding module is used to perform error correction decoding on the first unpacked data, output a first error report, a first speech bitrate, a first error correction level, and perform speech decoding on the first speech bitrate according to the first error correction level to output first speech data, and adjust the preset first expected error correction level according to the first error report to obtain a second expected error correction level. The sending module is used to encapsulate the first compressed data to obtain the second encapsulated data; The receiving module is used to receive the first packet data sent by the second communication terminal, unpack it, and output the first unpacked data.

8. A DECT system as described in claim 7, characterized in that, The encoding module further includes: a speech encoding module and an error correction encoding module; the decoding module further includes: a speech decoding module, an error correction decoding module, and an adaptive error correction level adjustment module; The speech encoding module is used to perform speech encoding on the second speech data and the second expected error correction level according to the second expected error correction level, and output the first compressed data. The error correction coding module is used to perform error correction coding on the first compressed data; The voice decoding module is used to perform voice decoding on the first voice bit rate according to the first error correction level and output the first voice data; The error correction decoding module is used to perform error correction decoding on the first unpacked data and output a first error report, a first voice bitrate, and a first error correction level; The adaptive error correction level adjustment module is used to adjust the preset first expected error correction level to obtain a second expected error correction level based on the first error report.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the encoding / decoding method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Forward error correction feedback information transmission method and device

    CN107483144A

  • Signal diagnosis method and system, equipment and storage medium

    CN113133031A