CN107919935B - Method and device for improving voice communication quality - Google Patents

Method and device for improving voice communication quality Download PDF

Info

Publication number
CN107919935B
CN107919935B CN201610878054.7A CN201610878054A CN107919935B CN 107919935 B CN107919935 B CN 107919935B CN 201610878054 A CN201610878054 A CN 201610878054A CN 107919935 B CN107919935 B CN 107919935B
Authority
CN
China
Prior art keywords
message
cyclic redundancy
redundancy check
compression mode
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610878054.7A
Other languages
Chinese (zh)
Other versions
CN107919935A (en
Inventor
武见
贺保国
马德宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610878054.7A priority Critical patent/CN107919935B/en
Publication of CN107919935A publication Critical patent/CN107919935A/en
Application granted granted Critical
Publication of CN107919935B publication Critical patent/CN107919935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention provides a method and a device for improving voice communication quality, wherein the method comprises the following steps: when the first stage adopts a first compression mode to compress and transmit the message to be transmitted and the number of the compressed messages reaches a preset threshold value, the second stage adopts a second compression mode to compress and transmit the next message to be transmitted; and the cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode. The method and the device for improving the voice communication quality overcome the defect that the cyclic redundancy check in the compressed message is unreliable in checking the compressed message in the conventional voice communication technology, effectively improve the validity of the cyclic redundancy check in the compressed message in checking the compressed message, and further effectively improve the voice communication quality.

Description

Method and device for improving voice communication quality
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for improving voice communication quality.
Background
Currently, in the field of voice communication technology, in order to fully utilize bandwidth, a protocol Header in a voice communication service message is compressed by ROHC (RObust Header Compression). Header compression techniques related to voice communication services include: the profile4 may compress an IP (Internet Protocol, Protocol for interconnection between networks) Protocol header, the profile2 may compress an IP/UDP (User Datagram Protocol) Protocol header, and the profile1 may compress an IP/UDP/RTP (Real-time Transport Protocol) Protocol header.
Wherein, some compressed messages have 3bit CRC (Cyclic Redundancy Check) messages, some compressed messages have 7bit CRC messages, some compressed messages have 8bit CRC messages, and some messages do not have CRC messages; CRC is calculated at the voice communication sending end according to the content of the sent message, and CRC is calculated at the voice communication receiving end according to the decompressed message content. If the CRC content calculated by the voice communication sending end is the same as the CRC content calculated by the voice communication receiving end, the message content is considered to be correct, and the context of the message received by the voice communication receiving end is updated.
However, the short CRC (e.g. 3bit CRC or 7bit CRC) existing in the compressed message in the prior art has an unreliable problem for checking the compressed message.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a device for improving voice communication quality, which overcome the defect that the cyclic redundancy check in the compressed message is unreliable in checking the compressed message in the existing voice communication technology.
The technical scheme adopted by the invention is that the method for improving the voice communication quality comprises the following steps:
when the first stage adopts a first compression mode to compress and transmit the message to be transmitted and the number of the compressed messages reaches a preset threshold value, the second stage adopts a second compression mode to compress and transmit the next message to be transmitted;
and the cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode.
Further, the method further comprises:
when the first stage adopts the second compression mode to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the next message to be transmitted is compressed and transmitted by adopting the first compression mode in the second stage, and after the number of the compressed messages reaches the preset threshold value, the next message to be transmitted is compressed and transmitted by adopting the second compression mode in the third stage.
Further, the first compression mode is a compression mode with a first type of cyclic redundancy check or a compression mode with a second type of cyclic redundancy check;
the second compression mode is a compression mode with a third type of cyclic redundancy check.
Further, when the first stage compresses and transmits the message to be transmitted in the first compression mode and the number of the compressed messages reaches the preset threshold, the second stage compresses and transmits the next message to be transmitted in the second compression mode, which specifically includes:
when a compression mode with a first type of cyclic redundancy check is adopted to compress and transmit a message to be transmitted and the number of the first type of cyclic redundancy check compressed messages reaches a preset first threshold value, a compression mode with a third type of cyclic redundancy check is adopted to compress and transmit the message to be transmitted;
or when the message to be sent is compressed and sent by adopting a compression mode with a second type of cyclic redundancy check and the number of the compressed messages of the second type of cyclic redundancy check reaches a preset second threshold value, the message to be sent is compressed and sent by adopting a compression mode with a third type of cyclic redundancy check;
the first threshold value is greater than or equal to the second threshold value; the length of the second type of cyclic redundancy check is greater than that of the first type of cyclic redundancy check; the length of the third type of cyclic redundancy check is greater than the length of the second type of cyclic redundancy check.
Further, the first-type cyclic redundancy check is a 3-bit cyclic redundancy check;
the second type of cyclic redundancy check is a 7-bit cyclic redundancy check;
the third type of cyclic redundancy check is an 8-bit cyclic redundancy check.
The invention also provides a device for improving the voice communication quality, which comprises:
the sending module is used for compressing and sending the message to be sent in a first compression mode in a first stage and compressing and sending the next message to be sent in a second compression mode in a second stage after the number of the compressed messages reaches a preset threshold value;
and the cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode.
Further, the sending module is further configured to:
when the first stage adopts the second compression mode to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the next message to be transmitted is compressed and transmitted by adopting the first compression mode in the second stage, and after the number of the compressed messages reaches the preset threshold value, the next message to be transmitted is compressed and transmitted by adopting the second compression mode in the third stage.
Further, the first compression mode is a compression mode with a first type of cyclic redundancy check or a compression mode with a second type of cyclic redundancy check;
the second compression mode is a compression mode with a third type of cyclic redundancy check.
Further, the first sending module is specifically configured to:
when a compression mode with a first type of cyclic redundancy check is adopted to compress and transmit a message to be transmitted and the number of the first type of cyclic redundancy check compressed messages reaches a preset first threshold value, a compression mode with a third type of cyclic redundancy check is adopted to compress and transmit the message to be transmitted;
or when the message to be sent is compressed and sent by adopting a compression mode with a second type of cyclic redundancy check and the number of the compressed messages of the second type of cyclic redundancy check reaches a preset second threshold value, the message to be sent is compressed and sent by adopting a compression mode with a third type of cyclic redundancy check;
the first threshold value is greater than or equal to the second threshold value; the length of the second type of cyclic redundancy check is greater than that of the first type of cyclic redundancy check; the length of the third type of cyclic redundancy check is greater than the length of the second type of cyclic redundancy check.
Further, the first-type cyclic redundancy check is a 3-bit cyclic redundancy check;
the second type of cyclic redundancy check is a 7-bit cyclic redundancy check;
the third type of cyclic redundancy check is an 8-bit cyclic redundancy check.
By adopting the technical scheme, the invention at least has the following advantages:
the method and the device for improving the voice communication quality overcome the defect that the cyclic redundancy check in the compressed message is unreliable in checking the compressed message in the conventional voice communication technology, effectively improve the validity of the cyclic redundancy check in the compressed message in checking the compressed message, and further effectively improve the voice communication quality.
Drawings
Fig. 1 is a flowchart of a method for improving voice communication quality according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for improving voice communication quality according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an apparatus for improving voice communication quality according to a fourth embodiment of the present invention;
fig. 4 is a flowchart of a method for improving voice communication quality according to a seventh embodiment of the present invention;
fig. 5 is a flowchart of a method for improving voice communication quality according to an eighth embodiment of the present invention;
fig. 6 is a flowchart of a method for improving voice communication quality according to a ninth embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
A first embodiment of the present invention provides a method for improving voice communication quality, as shown in fig. 1, including the following specific steps:
step S101, analyzing the message to be sent.
Step S102, according to the analysis result of the message to be sent, when the message to be sent is compressed and sent in the first stage by adopting the first compression mode and the number of the compressed messages reaches the preset threshold value, the next message to be sent is compressed and sent in the second stage by adopting the second compression mode.
And the cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode.
For example: and according to the analysis result of the message to be sent, compressing and sending the message to be sent by adopting a compression mode with 3-bit cyclic redundancy check or 7-bit cyclic redundancy check in the first stage, and after the number M of the compressed messages reaches a preset threshold value N, compressing and sending the next message to be sent by adopting a compression mode with 8-bit cyclic redundancy check in the second stage.
Wherein, the number M of the compressed messages is a positive integer;
the threshold N is a positive integer.
A second embodiment of the present invention provides a method for improving voice communication quality, as shown in fig. 2, including the following specific steps:
step S201, parsing the message to be sent.
Step S202, according to the analysis result of the message to be sent, a first mode is selected to compress and send the message to be sent, or a second mode is selected to compress and send the message to be sent.
The first mode is that when the first compression mode is adopted in the first stage to compress and transmit the message to be transmitted and the number of the compressed messages reaches the preset threshold value, the second compression mode is adopted to compress and transmit the next message to be transmitted in the second stage.
The second mode is that when the first stage adopts the second compression mode to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the next message to be transmitted is compressed and transmitted by adopting the first compression mode in the second stage, and after the number of the compressed messages reaches the preset threshold value, the next message to be transmitted is compressed and transmitted by adopting the second compression mode in the third stage.
The cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode.
For example: and selecting a first mode to compress and transmit the message to be transmitted or selecting a second mode to compress and transmit the message to be transmitted according to the analysis result of the message to be transmitted.
The first mode is that when the first stage adopts a compression mode with 3-bit cyclic redundancy check or 7-bit cyclic redundancy check to compress and transmit the message to be transmitted, and the number M of the compressed messages reaches a preset threshold value N, the next message to be transmitted is compressed and transmitted in a compression mode with 8-bit cyclic redundancy check in the second stage.
The second mode is that when the first stage adopts a compression mode with 8-bit cyclic redundancy check to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the second stage adopts a compression mode with 3-bit cyclic redundancy check or 7-bit cyclic redundancy check to compress and transmit the message to be transmitted for the next message to be transmitted, and after the number M of the compressed messages reaches a preset threshold value N, the third stage adopts a compression mode with 8-bit cyclic redundancy check to compress and transmit the next message to be transmitted.
The number M of the compressed messages is a positive integer;
the threshold N is a positive integer.
In a third embodiment of the present invention, a method for improving voice communication quality includes the following steps:
step S301, the message to be sent is analyzed.
Step S302, according to the analysis result of the message to be sent, a first mode is selected to compress and send the message to be sent, or a second mode is selected to compress and send the message to be sent.
The first mode is that when a compression mode with a first type of cyclic redundancy check is adopted to compress and transmit the message to be transmitted and the number of the first type of cyclic redundancy check compressed messages reaches a preset first threshold value, a compression mode with a third type of cyclic redundancy check is adopted to compress and transmit the message to be transmitted; or when the message to be sent is compressed and sent by adopting a compression mode with a second type of cyclic redundancy check and the number of the compressed messages of the second type of cyclic redundancy check reaches a preset second threshold value, the message to be sent is compressed and sent by adopting a compression mode with a third type of cyclic redundancy check;
the first threshold value is greater than or equal to the second threshold value; the length of the second type of cyclic redundancy check is greater than that of the first type of cyclic redundancy check; the length of the third type of cyclic redundancy check is greater than the length of the second type of cyclic redundancy check.
The second mode is that when the first stage adopts the second compression mode to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the next message to be transmitted is compressed and transmitted by adopting the first compression mode in the second stage, and after the number of the compressed messages reaches the preset threshold value, the next message to be transmitted is compressed and transmitted by adopting the second compression mode in the third stage.
The cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode.
For example: and selecting a first mode to compress and transmit the message to be transmitted or selecting a second mode to compress and transmit the message to be transmitted according to the analysis result of the message to be transmitted.
The first mode is that when a compression mode with 3-bit cyclic redundancy check is adopted to compress and transmit the message to be transmitted, and the number K of the compressed messages with 3-bit cyclic redundancy check reaches a preset first threshold value A, the compression mode with 8-bit cyclic redundancy check is adopted to compress and transmit the message to be transmitted; or when the message to be transmitted is compressed and transmitted by adopting a compression mode with 7-bit cyclic redundancy check and the number L of the compressed messages with 7-bit cyclic redundancy check reaches a preset second threshold value B, the message to be transmitted is compressed and transmitted by adopting a compression mode with 8-bit cyclic redundancy check.
The second mode is that when the first stage adopts a compression mode with 8-bit cyclic redundancy check to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the second stage adopts a compression mode with 3-bit cyclic redundancy check or 7-bit cyclic redundancy check to compress and transmit the message to be transmitted for the next message to be transmitted, and after the number M of the compressed messages reaches a preset threshold value N, the third stage adopts a compression mode with 8-bit cyclic redundancy check to compress and transmit the next message to be transmitted.
The number M of the compressed messages is a positive integer;
the threshold N is a positive integer;
the number K of the 3-bit cyclic redundancy check compressed messages is a positive integer;
the number L of the 7-bit cyclic redundancy check compressed messages is a positive integer;
the first threshold value A is a positive integer;
the second threshold value B is a positive integer;
A≥B。
a fourth embodiment of the present invention, which is corresponding to the first embodiment, introduces an apparatus for improving voice communication quality, as shown in fig. 3, including the following components:
the parsing module 100 is configured to parse a message to be sent.
And a sending module 200, configured to, according to an analysis result of the analysis module 100, compress and send a message to be sent in a first stage in a first compression manner, and after the number of compressed messages reaches a preset threshold, compress and send a next message to be sent in a second compression manner in a second stage.
And the cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode.
For example: and a sending module 200, configured to, according to an analysis result of the analysis module 100, compress and send a message to be sent in a first stage by using a compression method with 3-bit cyclic redundancy check or 7-bit cyclic redundancy check, and compress and send a next message to be sent in a second stage by using a compression method with 8-bit cyclic redundancy check after the number M of compressed messages reaches a preset threshold N.
Wherein, the number M of the compressed messages is a positive integer;
the threshold N is a positive integer.
A fifth embodiment of the present invention, which is corresponding to the second embodiment, introduces an apparatus for improving voice communication quality, including the following components:
and the analysis module is used for analyzing the message to be sent.
And the sending module is used for selecting a first mode to compress and send the message to be sent or selecting a second mode to compress and send the message to be sent according to the analysis result of the analysis module.
The first mode is that when the first compression mode is adopted in the first stage to compress and transmit the message to be transmitted and the number of the compressed messages reaches the preset threshold value, the second compression mode is adopted to compress and transmit the next message to be transmitted in the second stage.
The second mode is that when the first stage adopts the second compression mode to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the next message to be transmitted is compressed and transmitted by adopting the first compression mode in the second stage, and after the number of the compressed messages reaches the preset threshold value, the next message to be transmitted is compressed and transmitted by adopting the second compression mode in the third stage.
The cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode.
For example: and the sending module is used for selecting a first mode to compress and send the message to be sent or selecting a second mode to compress and send the message to be sent according to the analysis result of the analysis module.
The first mode is that when the first stage adopts a compression mode with 3-bit cyclic redundancy check or 7-bit cyclic redundancy check to compress and transmit the message to be transmitted, and the number M of the compressed messages reaches a preset threshold value N, the next message to be transmitted is compressed and transmitted in a compression mode with 8-bit cyclic redundancy check in the second stage.
The second mode is that when the first stage adopts a compression mode with 8-bit cyclic redundancy check to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the second stage adopts a compression mode with 3-bit cyclic redundancy check or 7-bit cyclic redundancy check to compress and transmit the message to be transmitted for the next message to be transmitted, and after the number M of the compressed messages reaches a preset threshold value N, the third stage adopts a compression mode with 8-bit cyclic redundancy check to compress and transmit the next message to be transmitted.
The number M of the compressed messages is a positive integer;
the threshold N is a positive integer.
A sixth embodiment of the present invention, which is corresponding to the third embodiment, introduces an apparatus for improving voice communication quality, including the following components:
and the analysis module is used for analyzing the message to be sent.
And the sending module is used for selecting a first mode to compress and send the message to be sent or selecting a second mode to compress and send the message to be sent according to the analysis result of the analysis module.
The first mode is that when a compression mode with a first type of cyclic redundancy check is adopted to compress and transmit the message to be transmitted and the number of the first type of cyclic redundancy check compressed messages reaches a preset first threshold value, a compression mode with a third type of cyclic redundancy check is adopted to compress and transmit the message to be transmitted; or when the message to be sent is compressed and sent by adopting a compression mode with a second type of cyclic redundancy check and the number of the compressed messages of the second type of cyclic redundancy check reaches a preset second threshold value, the message to be sent is compressed and sent by adopting a compression mode with a third type of cyclic redundancy check;
the first threshold value is greater than or equal to the second threshold value; the length of the second type of cyclic redundancy check is greater than that of the first type of cyclic redundancy check; the length of the third type of cyclic redundancy check is greater than the length of the second type of cyclic redundancy check.
The second mode is that when the first stage adopts the second compression mode to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the next message to be transmitted is compressed and transmitted by adopting the first compression mode in the second stage, and after the number of the compressed messages reaches the preset threshold value, the next message to be transmitted is compressed and transmitted by adopting the second compression mode in the third stage.
The cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode.
For example: and the sending module is used for selecting a first mode to compress and send the message to be sent or selecting a second mode to compress and send the message to be sent according to the analysis result of the analysis module.
The first mode is that when a compression mode with 3-bit cyclic redundancy check is adopted to compress and transmit the message to be transmitted, and the number K of the compressed messages with 3-bit cyclic redundancy check reaches a preset first threshold value A, the compression mode with 8-bit cyclic redundancy check is adopted to compress and transmit the message to be transmitted; or when the message to be transmitted is compressed and transmitted by adopting a compression mode with 7-bit cyclic redundancy check and the number L of the compressed messages with 7-bit cyclic redundancy check reaches a preset second threshold value B, the message to be transmitted is compressed and transmitted by adopting a compression mode with 8-bit cyclic redundancy check.
The second mode is that when the first stage adopts a compression mode with 8-bit cyclic redundancy check to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the second stage adopts a compression mode with 3-bit cyclic redundancy check or 7-bit cyclic redundancy check to compress and transmit the message to be transmitted for the next message to be transmitted, and after the number M of the compressed messages reaches a preset threshold value N, the third stage adopts a compression mode with 8-bit cyclic redundancy check to compress and transmit the next message to be transmitted.
The number M of the compressed messages is a positive integer;
the threshold N is a positive integer;
the number K of the 3-bit cyclic redundancy check compressed messages is a positive integer;
the number L of the 7-bit cyclic redundancy check compressed messages is a positive integer;
the first threshold value A is a positive integer;
the second threshold value B is a positive integer;
A≥B。
a seventh embodiment of the present invention is based on the above embodiments, and an application example of the present invention is described with reference to fig. 4 by taking a method for improving voice communication quality as an example.
Step S701, the message to be sent is analyzed.
Step S702, according to the analysis result of the message to be sent, whether a compression mode with 3bit CRC or 7bit CRC is selected to compress the message to be sent is judged.
If the compression mode of 3-bit CRC or 7-bit CRC is judged to be selected according to the analysis result of the message to be transmitted for compressing the message to be transmitted, executing the step S703; otherwise, step S707 is executed.
Step S703, counting the compressed message with 3bit CRC or 7bit CRC to obtain a count M;
step S704, judging whether the count M of the compressed message with 3bit CRC or 7bit CRC is larger than a preset threshold value N;
if the count M of the compressed message with the 3-bit crc or the 7-bit crc is determined to be greater than the preset threshold N, executing step S705; otherwise, step S706 is performed.
Step S705, a compression mode with 8-bit CRC is selected to compress the next message to be sent, the compressed message with 8-bit CRC is sent, and the count M of the compressed message with 3-bit CRC or 7-bit CRC is set as an initial value.
Step S706, sending the compressed message with 3bit CRC or 7bit CRC.
And step S707, judging whether to select a compression mode with 8-bit CRC to compress the message to be transmitted according to the analysis result of the message to be transmitted.
If the compression mode with 8-bit CRC is judged to be selected according to the analysis result of the message to be transmitted to compress the message to be transmitted, the step S708 is executed; otherwise, step S709 is executed.
Step S708, sending the compressed message with 8-bit CRC, and setting the count M of the compressed message with 3-bit CRC or 7-bit CRC as an initial value.
Step S709, according to the analysis result of the message to be sent, selecting a compression mode with other verification modes to compress and send the message to be sent.
An eighth embodiment of the present invention is, on the basis of the above embodiments, an application example of the present invention is described with reference to fig. 5, taking a method for improving voice communication quality as an example.
Step S8001, parsing the packet to be sent.
And step S8002, judging whether a 3-bit CRC or 7-bit CRC compression mode is selected to compress the message to be sent according to the analysis result of the message to be sent.
If the compression mode with 3bit CRC or 7bit CRC is judged to be selected to compress the message to be transmitted according to the analysis result of the message to be transmitted, executing the step S8003; otherwise, step S8009 is performed.
Step S8003, whether a compression mode with 3bit CRC is selected to compress the message to be sent is judged according to the analysis result of the message to be sent; if the compression mode with 3-bit CRC is judged to be selected to compress the message to be sent, step S8004 is executed, and if the compression mode with 7-bit CRC is judged to be selected to compress the message to be sent, step S8005 is executed.
And step S8004, counting the compressed messages with the 3-bit CRC to obtain a count K, counting the compressed messages to obtain a count M, and executing step S8006.
Step S8005, the compressed message with 7-bit CRC is counted to obtain a count L, a count K is set as an initial value, the compressed message is counted to obtain a count M, and step S8006 is executed.
Step S8006, judging whether the count M of the compressed message is larger than a preset threshold value N;
if the count M of the compressed message is judged to be larger than the preset threshold value N, executing the step S8007; otherwise, step S8008 is performed.
Step S8007, a compression mode with 8-bit CRC is selected to compress the message to be sent, the compressed message with 8-bit CRC is sent, and the count M of the compressed message is set as an initial value.
Step S8008, sending the compressed message with 3bit CRC or 7bit CRC.
And step S8009, judging whether a compression mode with 8-bit CRC is selected to compress the message to be sent according to the analysis result of the message to be sent.
And if the compression mode with 8-bit CRC is judged to be selected to compress the message to be sent according to the analysis result of the message to be sent, executing the step S8010, otherwise executing the step S8011.
Step S8010, sends the compressed message with 8bit CRC, and sets the count M of the compressed message as the initial value.
Step S8011, the message to be transmitted is compressed and transmitted by selecting a compression mode with other check modes according to the analysis result of the message to be transmitted.
A ninth embodiment of the present invention is based on the above embodiments, and an application example of the present invention is described with reference to fig. 6 by taking a method for improving voice communication quality as an example.
Step S9001, parsing the message to be sent.
Step S9002, judging whether a 3-bit CRC or 7-bit CRC compression mode is selected to compress the message to be sent according to the analysis result of the message to be sent.
If the compression mode with 3-bit CRC is judged to be selected to compress the message to be sent according to the analysis result of the message to be sent, executing the step S9003; if the compression mode with 7-bit CRC is judged to be selected to compress the message to be sent according to the analysis result of the message to be sent, executing the step S9004; otherwise, step S9008 is executed.
Step S9003, counting the compressed message with 3-bit CRC to obtain a count K, and executing step S9005.
Step S9004, count the compressed packet with 7-bit crc to obtain a count L, and execute step S9005.
Step S9005, judging whether the compressed message count K with 3-bit CRC is greater than a preset threshold A or judging whether the compressed message count L with 7-bit CRC is greater than a preset threshold B;
if the compressed message count K with 3-bit crc is greater than the preset threshold a or the compressed message count L with 7-bit crc is greater than the preset threshold B, executing step S9006; otherwise, step S9007 is executed.
Step S9006, if the count K of the compressed message with the 3-bit CRC is larger than a preset threshold A, selecting a compression mode with the 8-bit CRC to compress the message to be sent, sending the compressed message with the 8-bit CRC, and setting the count K of the compressed message with the 3-bit CRC as an initial value; if the compressed message count L with 7-bit CRC is larger than the preset threshold B, the message to be sent is compressed by selecting the compression mode with 8-bit CRC, the compressed message with 8-bit CRC is sent, and the compressed message count L with 7-bit CRC is set as an initial value.
Step S9007, sending the compressed message with 3-bit CRC or 7-bit CRC.
And S9008, judging whether a compression mode with 8-bit CRC is selected to compress the message to be transmitted according to the analysis result of the message to be transmitted.
And if the compression mode with the 8-bit CRC is judged to be selected to compress the message to be sent according to the analysis result of the message to be sent, executing the step S9010, otherwise executing the step S9011.
Step S9009, sending the compressed message with 8-bit CRC, and setting the count M of the compressed message as an initial value.
And step S9010, selecting a compression mode with other verification modes according to the analysis result of the message to be sent, and compressing and sending the message to be sent.
While the invention has been described in connection with specific embodiments thereof, it is to be understood that it is intended by the appended drawings and description that the invention may be embodied in other specific forms without departing from the spirit or scope of the invention.

Claims (8)

1. A method for improving voice communication quality, comprising:
when the first stage adopts a first compression mode to compress and transmit the message to be transmitted and the number of the compressed messages reaches a preset threshold value, the second stage adopts a second compression mode to compress and transmit the next message to be transmitted;
the cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode;
the method further comprises the following steps:
when the first stage adopts the second compression mode to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the next message to be transmitted is compressed and transmitted by adopting the first compression mode in the second stage, and after the number of the compressed messages reaches the preset threshold value, the next message to be transmitted is compressed and transmitted by adopting the second compression mode in the third stage.
2. The method of improving the quality of voice communication according to claim 1,
the first compression mode is a compression mode with a first type of cyclic redundancy check or a compression mode with a second type of cyclic redundancy check;
the second compression mode is a compression mode with a third type of cyclic redundancy check.
3. The method according to claim 2, wherein when the first stage compresses and transmits the message to be transmitted in the first compression mode and the number of compressed messages reaches a preset threshold, the second stage compresses and transmits the next message to be transmitted in the second compression mode, and specifically comprises:
when a compression mode with a first type of cyclic redundancy check is adopted to compress and transmit a message to be transmitted and the number of the first type of cyclic redundancy check compressed messages reaches a preset first threshold value, a compression mode with a third type of cyclic redundancy check is adopted to compress and transmit the message to be transmitted;
or when the message to be sent is compressed and sent by adopting a compression mode with a second type of cyclic redundancy check and the number of the compressed messages of the second type of cyclic redundancy check reaches a preset second threshold value, the message to be sent is compressed and sent by adopting a compression mode with a third type of cyclic redundancy check;
the first threshold value is greater than or equal to the second threshold value; the length of the second type of cyclic redundancy check is greater than that of the first type of cyclic redundancy check; the length of the third type of cyclic redundancy check is greater than the length of the second type of cyclic redundancy check.
4. The method of claim 3, wherein the first type of cyclic redundancy check is a 3-bit cyclic redundancy check;
the second type of cyclic redundancy check is a 7-bit cyclic redundancy check;
the third type of cyclic redundancy check is an 8-bit cyclic redundancy check.
5. An apparatus for improving voice communication quality, comprising:
the sending module is used for compressing and sending the message to be sent in a first compression mode in a first stage and compressing and sending the next message to be sent in a second compression mode in a second stage after the number of the compressed messages reaches a preset threshold value;
the cyclic redundancy check length of the first compression mode is smaller than that of the second compression mode;
the sending module is further configured to:
when the first stage adopts the second compression mode to compress and transmit the message to be transmitted, only the first message in the message to be transmitted is compressed and transmitted, the next message to be transmitted is compressed and transmitted by adopting the first compression mode in the second stage, and after the number of the compressed messages reaches the preset threshold value, the next message to be transmitted is compressed and transmitted by adopting the second compression mode in the third stage.
6. The apparatus according to claim 5, wherein the first compression mode is a compression mode with a first kind of cyclic redundancy check or a compression mode with a second kind of cyclic redundancy check;
the second compression mode is a compression mode with a third type of cyclic redundancy check.
7. The apparatus for improving voice communication quality according to claim 6, wherein the sending module is specifically configured to:
when a compression mode with a first type of cyclic redundancy check is adopted to compress and transmit a message to be transmitted and the number of the first type of cyclic redundancy check compressed messages reaches a preset first threshold value, a compression mode with a third type of cyclic redundancy check is adopted to compress and transmit the message to be transmitted;
or when the message to be sent is compressed and sent by adopting a compression mode with a second type of cyclic redundancy check and the number of the compressed messages of the second type of cyclic redundancy check reaches a preset second threshold value, the message to be sent is compressed and sent by adopting a compression mode with a third type of cyclic redundancy check;
the first threshold value is greater than or equal to the second threshold value; the length of the second type of cyclic redundancy check is greater than that of the first type of cyclic redundancy check; the length of the third type of cyclic redundancy check is greater than the length of the second type of cyclic redundancy check.
8. The apparatus according to claim 7, wherein the cyclic redundancy check of the first type is a 3-bit cyclic redundancy check;
the second type of cyclic redundancy check is a 7-bit cyclic redundancy check;
the third type of cyclic redundancy check is an 8-bit cyclic redundancy check.
CN201610878054.7A 2016-10-08 2016-10-08 Method and device for improving voice communication quality Active CN107919935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610878054.7A CN107919935B (en) 2016-10-08 2016-10-08 Method and device for improving voice communication quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610878054.7A CN107919935B (en) 2016-10-08 2016-10-08 Method and device for improving voice communication quality

Publications (2)

Publication Number Publication Date
CN107919935A CN107919935A (en) 2018-04-17
CN107919935B true CN107919935B (en) 2022-04-15

Family

ID=61892056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610878054.7A Active CN107919935B (en) 2016-10-08 2016-10-08 Method and device for improving voice communication quality

Country Status (1)

Country Link
CN (1) CN107919935B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1339877A (en) * 2000-08-17 2002-03-13 松下电器产业株式会社 Header label compressor and header label compressing method
CN101217615A (en) * 2007-12-27 2008-07-09 北京中星微电子有限公司 An image compression bit rate control method and device
CN103384884A (en) * 2012-12-11 2013-11-06 华为技术有限公司 File compression method and device, file decompression method and device, and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4592935B2 (en) * 2000-09-11 2010-12-08 パナソニック株式会社 Header restoration apparatus and header restoration method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1339877A (en) * 2000-08-17 2002-03-13 松下电器产业株式会社 Header label compressor and header label compressing method
CN101217615A (en) * 2007-12-27 2008-07-09 北京中星微电子有限公司 An image compression bit rate control method and device
CN103384884A (en) * 2012-12-11 2013-11-06 华为技术有限公司 File compression method and device, file decompression method and device, and server

Also Published As

Publication number Publication date
CN107919935A (en) 2018-04-17

Similar Documents

Publication Publication Date Title
KR101722719B1 (en) Backward looking robust header compression receiver
US8351363B2 (en) Method and apparatus for enhanced file distribution in multicast or broadcast
US7730380B2 (en) Method and apparatus for transmitting/receiving voice over internet protocol packets with a user datagram protocol checksum in a mobile communication system
US20080031253A1 (en) Apparatus and Method for Efficiently Processing Voice Packet Data in Mobile Communication System Providing Voice Service Using Packet Network
JP5278532B2 (en) Reception device, transmission device, reception method, transmission method, communication system, and communication method
EP1786170B1 (en) Header compression in voice packets
US9392082B2 (en) Communication interface and method for robust header compression of data flows
US20070047551A1 (en) Header compression for real time internet applications
EP2806631A1 (en) Video reception terminal, home gateway device, quality management system, and quality deterioration isolation system
JP2005515651A (en) Payload header suppression including removal of fields that change with known patterns
CN107566330B (en) Apparatus adapted to maintain received data quality and method for receiving data
US20120281589A1 (en) Audio quality measurement apparatus, audio quality measurement method, and program
EP2190162A1 (en) Method and device for decoding by using wlsb in robust header compression
EP2534799B1 (en) Enhanced resequencing of data received over a wireless communication system
Nguyen et al. A dynamic rate adaptation algorithm using WB E-model for voice traffic over LTE network
EP2903224B1 (en) Method for transmitting audio information and packet communication system
CN107919935B (en) Method and device for improving voice communication quality
CN111181688B (en) ROHC compressor and implementation method thereof
EP2190163A1 (en) A method for repairing the window-based least significant bits decoding in the robust header compression
Maeder et al. Performance evaluation of ROHC reliable and optimistic mode for voice over LTE
CN108574684B (en) Decompression method and device
CN108737349B (en) Voice data packet processing method and device
CN105635182A (en) Data compression transmission method and system
CN108696894B (en) Voice communication method and device
CN113784389B (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant