CN102932568B - Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone - Google Patents

Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone Download PDF

Info

Publication number
CN102932568B
CN102932568B CN201210480398.4A CN201210480398A CN102932568B CN 102932568 B CN102932568 B CN 102932568B CN 201210480398 A CN201210480398 A CN 201210480398A CN 102932568 B CN102932568 B CN 102932568B
Authority
CN
China
Prior art keywords
module
rtp
message
rtp protocol
voice
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
CN201210480398.4A
Other languages
Chinese (zh)
Other versions
CN102932568A (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.)
Shanghai Gongjin Communication Technology Co Ltd
Original Assignee
Shanghai Gongjin Communication Technology Co Ltd
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 Shanghai Gongjin Communication Technology Co Ltd filed Critical Shanghai Gongjin Communication Technology Co Ltd
Priority to CN201210480398.4A priority Critical patent/CN102932568B/en
Publication of CN102932568A publication Critical patent/CN102932568A/en
Application granted granted Critical
Publication of CN102932568B publication Critical patent/CN102932568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to an embedded VoIP (Voice Over Internet Protocol) telephone system and a method for realizing voice quality management of a VoIP telephone, and belongs to the technical field of embedded communication. The embedded VoIP telephone system of the invention comprises a voice quality management module, wherein the voice quality management module comprises a fast cache region, a message checkout module, an RTP (Real Time Protocol) error processing module, an RTP voice compensation module and an RTP protocol message transmitting module, and used for error correction and compensation a RTP protocol message acquired from an RTP protocol processing module. By adopting the method provided by the invention, voice data can be compensated by the voice quality management module when signals of a VoIP network is weaker, so that a user can feel the integrality and the reliability of the information during call, so as to significantly improve the user experience; and moreover, the embedded VoIP telephone system and the method for realizing voice quality management of the VoIP telephone are simple in systematical structure, low in cost, simple and convenient in application mode, and wider in application range.

Description

Embedded VoIP telephone system and method for realizing VoIP telephone voice quality management
Technical Field
The invention relates to the technical field of embedded communication, in particular to the technical field of VoIP, and specifically relates to an embedded VoIP telephone system and a method for realizing VoIP telephone voice quality management.
Background
The embedded system is growing day by day, the embedded VoIP telephone system occupies a considerable part in the whole communication industry, the domestic VoIP technology is not mature, but several relatively good companies with strong competition have also made a rapid development in the field of VoIP technology. In order for VoIP to be a pioneer to composite networks, new services must preserve the feature of both users making simple POTS telephone calls. However, the industry has been struggling with the problem that any packet-based technique will introduce delay into the voice stream, which is often experienced during the user's conversation, and the result will lead to user dissatisfaction. VoIP technology in public networks must overcome this potential problem and reduce the delay to an imperceptible level. Another factor is the combination of VoIP voice quality transmission and the latest voice compression techniques. If there is a potential delay problem with the inevitable degradation of speech quality due to speech compression, the result will also be a deterioration of the user experience. Speech quality can now be measured in an objective way, and the differences between them can also be compensated with a variety of available data, information and knowledge from practical experience.
The IP telephony field uses the RTP protocol for voice data transmission, and the RTP protocol provides end-to-end real-time data (including audio and video) transmission, and can be used for media on demand and interactive communication. RTP consists of two parts, data and control, the control part being done by RTCP protocol. The RTCP protocol supports real-time conferences of any size in the Internet. RTCP monitors quality of service and conveys information about conference participants and also supports synchronization between different media. It should be noted that RTP itself does not provide any mechanism to guarantee timely delivery, nor any quality of service, but relies on lower layer protocols to provide these services. RTP in this sense seems ill-behaved, but it should be understood that the Internet is originally a network that does not provide quality of service guarantees, and there is no end-to-end protocol that can ensure timely delivery. RTP provides a time stamp and a mechanism for controlling the synchronization characteristics of different data streams, so that a receiving end can reassemble data packets of a transmitting end, and can provide service quality feedback from the receiving end to a multipoint transmission group. The RTP protocol itself consists of two parts: the RTP protocol is responsible for real-time transmission of data; the RTCP protocol is responsible for controlling data transfer. In order to reliably and efficiently transmit real-time data, the RTCP protocol is used in conjunction with the RTP protocol for flow control and congestion control. Typically the number of RTCP packets accounts for 5% of the total transmission.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides an embedded VoIP telephone system and a method for realizing VoIP telephone voice quality management, wherein the embedded VoIP telephone system is used for safely processing VoIP voice data in the transmission process and compensating the voice data under the condition of weak network signals, so that a user feels the integrity and reliability of information in the conversation, the user experience is greatly improved, and the embedded VoIP telephone system has the advantages of simple structure, low cost, simple and convenient application mode and wide application range.
In order to achieve the above object, an embedded VoIP telephone system of the present invention is configured as follows:
the system comprises: the system comprises a SOCKET API network processing unit, a call service control module, an SIP/H248 protocol stack, a bottom layer processing module, a bottom layer pick-up and hang-up event polling module, a polling bottom layer media message module, an RTP protocol processing module and a voice quality management module.
Wherein, the SOCKET API network processing unit is used for connecting an external network;
the call service control module is used for processing the starting and registration of the H248 protocol stack, and is responsible for the initialization of the terminal system, the task of receiving and transmitting media packets and the starting of the event detection task;
the SIP/H248 protocol stack is connected with the call service control module and is responsible for receiving, transmitting and retransmitting the H248 protocol packet;
the bottom layer processing module is used for processing bottom layer event reporting, media processing and sound playing;
the bottom pick-up and hang-up event polling module is connected between the bottom processing module and the call service control module and is used for waiting for taking out an event from the queue by a task in the call service control module for upper layer processing after polling the event and putting the event into the queue;
the polling bottom media message module is connected between the bottom processing module and the SOCKET API network processing unit and is used for sending the bottom media message through the SOCKET API network processing unit;
the RTP protocol processing module is connected with the SOCKET API network processing unit and is used for receiving RTP protocol packets and sending the RTP protocol packets to the DSP voice hardware through the bottom layer processing module;
the voice quality management module is connected between the RTP protocol processing module and the bottom layer processing module and is used for correcting and compensating the RTP protocol message obtained from the RTP protocol processing module.
In the embedded VoIP phone system, the voice quality management module includes: the device comprises a high-speed cache region, a message checking module, an RTP error processing module, an RTP voice compensation module and an RTP protocol message sending module.
Wherein, the high-speed buffer area is used for storing the message obtained from the RTP protocol processing module;
the message checking module is used for detecting whether the message stored in the cache region is an RTP protocol message or not and discarding a non-RTP protocol message in the RTP protocol message;
the RTP error processing module is used for detecting an RTP protocol message with an error;
the RTP voice compensation module is used for repairing the RTP protocol message with errors;
the RTP protocol message sending module is used for sending the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module.
The invention also provides a method for realizing the voice quality management of the embedded VoIP phone based on the system, which comprises the following steps:
(1) the high-speed buffer area stores the message obtained from the RTP protocol processing module;
(2) the message checking module detects whether the message stored in the cache region is an RTP protocol message, and discards a non-RTP protocol message therein;
(3) the RTP error processing module detects an RTP protocol message with an error;
(4) the RTP voice compensation module repairs the RTP protocol message with errors;
(5) the RTP protocol message sending module sends the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module.
In the method for implementing embedded VoIP phone voice quality management, the step (2) specifically comprises the following steps:
(21) the message checking module detects whether the message stored in the cache region is an RTP protocol message by using an incremental hash method and using a hash table as an index;
(22) the message checking module discards a non-RTP protocol message;
(23) the message checking module stores the RTP protocol message hash table into the cache region.
In the method for realizing the speech quality management of the embedded VoIP phone, the RTP error processing module detects an RTP protocol message with errors, specifically;
and the RTP error processing module polls the RTP protocol message in the hash table and detects the RTP protocol message with errors.
In the method for realizing the voice quality management of the embedded VoIP phone, the RTP voice compensation module repairs the RTP protocol message with errors, and the method specifically comprises the following steps:
the RTP voice compensation module utilizes the balance voice packet to compensate the RTP protocol message with errors.
In the method for realizing the voice quality management of the embedded VoIP phone, the RTP protocol message sending module sends the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module, and the method specifically comprises the following steps:
the RTP protocol message sending module merges the repaired RTP protocol message into a hash table and sends the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module.
The embedded VoIP telephone system comprises a SOCKET API network processing unit, a call service control module, an SIP/H248 protocol stack, a bottom layer processing module, a bottom layer pick-up event polling module, a polling bottom layer media message module, an RTP protocol processing module and a voice quality management module; the voice quality management module comprises: the device comprises a high-speed cache region, a message checking module, an RTP error processing module, an RTP voice compensation module and an RTP protocol message sending module, and is used for correcting and compensating the RTP protocol message obtained from the RTP protocol processing module. Therefore, the system and the method can compensate the voice data under the condition of weaker VoIP network signals, so that a user can feel the integrity and the reliability of information in the conversation, and the user experience is greatly improved.
Drawings
Fig. 1 is a schematic diagram of an embedded VoIP telephone system according to the present invention.
Fig. 2 is a flow chart of a method for implementing voice quality management of an embedded VoIP phone by using the system of the present invention in practical application.
Fig. 3 is a schematic diagram illustrating the principle of the incremental hash algorithm used in the method for implementing voice quality management of an embedded VoIP phone according to the present invention.
Detailed Description
In order to clearly understand the technical contents of the present invention, the following examples are given in detail.
Fig. 1 is a schematic diagram of an embedded VoIP phone system according to the present invention.
In one embodiment, the embedded VoIP phone system includes a SOCKET API network processing unit, a call service control module, an SIP/H248 protocol stack, a bottom layer processing module, a bottom layer off-hook event polling module, a polling bottom layer media message module, an RTP protocol processing module, and a voice quality management module. Wherein,
the SOCKET API network processing unit is used for connecting an external network;
the call service control module is used for processing the starting and registration of the H248 protocol stack, and is responsible for the initialization of the terminal system, the task of receiving and transmitting media packets and the starting of the event detection task;
the SIP/H248 protocol stack is connected with the call service control module and is responsible for receiving, transmitting and retransmitting the H248 protocol packet;
the bottom layer processing module is used for processing bottom layer event reporting, media processing and sound playing;
the bottom pick-up and hang-up event polling module is connected between the bottom processing module and the call service control module and is used for waiting for taking out an event from the queue by a task in the call service control module for upper layer processing after polling the event and putting the event into the queue;
the polling bottom media message module is connected between the bottom processing module and the SOCKET API network processing unit and is used for sending the bottom media message through the SOCKET API network processing unit;
the RTP protocol processing module is connected with the SOCKET API network processing unit and is used for receiving RTP protocol packets and sending the RTP protocol packets to the DSP voice hardware through the bottom layer processing module;
the voice quality management module is connected between the RTP protocol processing module and the bottom layer processing module and is used for correcting and compensating the RTP protocol message obtained from the RTP protocol processing module.
The voice quality management module comprises a high-speed cache region, a message checking module, an RTP error processing module, an RTP voice compensation module and an RTP protocol message sending module. Wherein,
the high-speed buffer area is used for storing the message obtained from the RTP protocol processing module;
the message checking module is used for detecting whether the message stored in the cache region is an RTP protocol message or not and discarding a non-RTP protocol message in the RTP protocol message;
the RTP error processing module is used for detecting an RTP protocol message with an error;
the RTP voice compensation module is used for repairing the RTP protocol message with errors;
the RTP protocol message sending module is used for sending the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module.
The invention also provides a method for realizing embedded VoIP phone voice quality management based on the system, in one embodiment, as shown in FIG. 2, the method comprises the following steps:
(1) the high-speed buffer area stores the message obtained from the RTP protocol processing module;
(2) the message checking module detects whether the message stored in the cache region is an RTP protocol message, and discards a non-RTP protocol message therein;
(3) the RTP error processing module detects an RTP protocol message with an error;
(4) the RTP voice compensation module repairs the RTP protocol message with errors;
(5) the RTP protocol message sending module sends the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module.
In a preferred embodiment, the step (2) specifically comprises the following steps:
(21) the message checking module detects whether the message stored in the cache region is an RTP protocol message by using an incremental hash method and using a hash table as an index;
(22) the message checking module discards a non-RTP protocol message;
(23) the message checking module stores the RTP protocol message hash table into the cache region.
In a more preferred embodiment, the RTP error processing module in step (3) detects an RTP protocol packet with an error, specifically: and the RTP error processing module polls the RTP protocol message in the hash table and detects the RTP protocol message with errors.
The RTP voice compensation module in step (4) repairs the RTP protocol message with errors, specifically: the RTP voice compensation module utilizes the balance voice packet to compensate the RTP protocol message with errors.
The RTP protocol message sending module in step (5) sends the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module, which specifically includes: the RTP protocol message sending module merges the repaired RTP protocol message into a hash table and sends the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module.
In practical application, the embedded VoIP system of the present invention is shown in fig. 1, and integrates the voice quality and data security processing module (FastCache) of the system, and the message received from the network side is processed by error, and the voice loss is compensated, and the repackaged message is sent to the DSP for processing.
The voice message firstly enters a packet check module in a FastCache module to carry out RTP message filtering, which is similar to packet filtering processing in a computer network and mainly aims at the RTP message filtering. And (3) voice message error processing, which mainly checks whether the RTP message subjected to packet verification is an abnormal packet or a normal packet, and filters the RTP message with the correct format for transmission. The invention relates to a method for compensating voice loss, wherein the method comprises the following steps that a module is used for carrying out endless loop, the loss and the time delay of an RTP message are mainly continuously detected in a calling process, the RTP message is reflected to a user, namely the voice quality is relatively poor, or the voice is unclear, the designed algorithm can automatically detect the network connection condition, and the analysis and the processing can be carried out through the algorithm from the RTP flow statistics or the processing of unclear calling caused by incomplete messages.
The message is re-distributed to be sent to the DSP for processing, and the message is a forwarding module aiming at the message of the previous okay processing. And uniformly sending accurate and safe messages passing through the Fastcache module to a bottom layer module for processing.
The main reason for poor voice quality is the delay and loss of data packets, which is similar to the slow driving of automobiles due to traffic congestion on highways. The reason for the poor speech quality is not one, nor can one approach solve this problem. The reasons for this may be that the ISP limits the bandwidth, the speed of the data traffic is affected by firewalls and address translation mechanisms, or the phone conflicts with the video file being downloaded by a neighbor. Early adopters of VoIP may be willing to accept a poor quality VoIP conversation, but mainstream consumers and enterprise customers are unwilling. Quality of service is very important and VoIP providers who wish to obtain more revenue need to provide a consistent high quality experience. The invention aims to solve the problem by using a newly added Fastcache module in the system.
The Fastcache is mainly integrated in a VoIP telephone system, and the invention is implemented on the VoIP system under an improved scheme and can be used as a scheme adopted by a better terminal voice product design.
Two ports will be used when an application starts an RTP session: one for RTP and one for RTCP. RTP itself does not provide a reliable transport mechanism for transporting packets in sequence, nor does it provide flow control or congestion control, and relies on RTCP to provide these services. These RTCP packets are periodically sent between sessions in RTP to monitor quality of service and exchange session user information. The RTCP packets contain statistics such as the number of data packets that have been sent, the number of lost data packets, etc. Thus, the server can use this information to dynamically change the transmission rate and even the payload type. RTP and RTCP are used in conjunction, typically over UDP, to optimize transmission efficiency with efficient feedback and minimal overhead, and are therefore particularly well suited for transmitting real-time data over a network. According to the data transmission feedback information among users, a flow control strategy can be formulated, and the conversation control strategy can be formulated through the interaction of the conversation user information. Then the Fastcache is used as a better selection scheme to realize the session control, the loss of the session message is compensated, and the session is sent to the DSP for correct processing after being updated.
In order to realize the Fastcache function, the invention basically comprises the following main parts:
1. an embedded VoIP system is firstly established on the overall architecture of the VoIP system, the VoIP mainly comprises a CallClient module, an SIP/H248stack, a bottom layer processing module (ENDPT), an RTP module, a polling pick-up event module, a polling bottom layer media packet module and a FastCache module, which are system software parts, and a hardware part is mainly a DSP (digital signal processor), an SLIC (serial interface circuit) and a peripheral circuit which are related to voice.
2. The CallClient module processes the starting of the H248 protocol stack and registers the corresponding call-back, and is responsible for the initialization of endpoint, the starting of the task of receiving and sending the media package and the event detection task.
3. The SIP/H248 module of the protocol stack is a core module of the H248 protocol stack and is responsible for receiving, transmitting, retransmitting and the like of protocol packets.
4. The bottom layer module is a bottom layer processing module and is used for processing bottom layer event reporting, media processing, sound playing and the like.
5. The RTP module is only responsible for receiving the RTP packet and transmitting the RTP packet to the DSP.
6. Polling the bottom pick-up and hang-up event, putting the event into a queue after polling to the event, and waiting for a task in the CallClient module to take out the event from the queue for upper-layer processing.
7. Polling the bottom media message module and sending the message through SOCKETAPI.
8. The FastCache module mainly processes media messages sent from the socket api, because RTP is carried on UDP (unsafe protocol) for transmission, the messages may be lost, and normal voice communication is affected in terms of error control.
The FastCache module is implemented by using an embedded linux platform, which mainly comprises three parts, as shown in fig. 2:
1. the software operation comprises the following steps:
1.1, starting and initializing a process, and enabling the whole system to enter an idle state (initialization is also completed by Fastcache), including initialization of each module;
1.2 when receiving the voice RTP message from the SOCKETAPI side, the message logs in the Fastcache module, and firstly enters a high-speed cache region to cache all the received RTP messages in the secondary buffer region. Then, the first packet checking module will quickly detect the packet in the cache in the fastest way, and determine to remove the non-RTP packet, where the packet detection can be implemented by using an index algorithm (for example, the packet detection is implemented by using an incremental hash algorithm), and the problem to be solved by using a hash table as an index is: how can be the bucket dynamic growth. The existing solution is to expand the hash, but the algorithm is also complex, and when different keys have the same hash value, the problem of infinite expansion occurs. The incremental hash algorithm i introduce here is relatively simple and efficient to implement. As can be seen with reference to fig. 3.
The principle of the incremental hash algorithm is that it consists of multiple layers of buckets, as shown in the upper part of fig. 3. A packet may have n elements, each element having a fixed format as shown in the first column of fig. 3.
The flag field holds what type of element this element belongs to, as shown in the lower part of fig. 3, there are 3 cases as follows:
(1) when flag is equal to 0, this element is indicated as empty (for the third last column of FIG. 3).
(2) When flag is equal to 1, this indicates that this element is a pointer to the data record (for the penultimate column of FIG. 3).
(3) When flag is equal to-1, this indicates that this element is a pointer to the next layer (the first last column for FIG. 3).
As can be seen from FIG. 3, when flag is equal to 0, this element is empty, and nothing is saved. And when flag is 1, it indicates that this element is a pointer to a data record, the offset field is the file offset of the data file, the key _ length field is the length of key, and the data _ length is the length of data. When flag is equal to-1, it indicates that this element is a pointer to the next packet, the step field is the hash algorithm increment, the packet _ size field is the size of the next packet, and the offset field is the file offset of the next packet.
1.3 after RTP message rapid survey in RTP message 1.2 that logs on before, can return the correct RTP to and deposit in the hashtable cache again, abandon non-RTP message, in the process, it is the message error detection and voice make-up module that is parallel with it and also will poll the message after RTP check-up module constantly checks simultaneously, take away from the hashtable immediately, get into the message and make-up the module, this module will need to send the RTP message of DSP to detect once more, and after through flow statistics, lost RTP can compensate the transmission according to a special balanced voice packet, reach the effect that lost RTP will be supplemented in time.
1.4 after the compensation module and the check module finish the error control of the voice media message together, the voice media message is merged into a hash table and then is sent to the DSP one by one.
The VoIP telephone system is realized after the customization and cutting based on the linux of the embedded operating system, so the lowest layer is a TCP/IP protocol stack provided by the linux system, and IP, TCP, UDP and the like are mainly used. Above the basic protocol stacks, the SIP protocol or the H248 is used as a signaling control protocol, the UDP-based RTP/RTCP protocol is used as a real-time voice transmission protocol, and meanwhile, some applications of P2P are realized, some control hardware is also used above the protocol, during session establishment, the UDP-based RTP/RTCP messages are processed by the FastCache module in the text, so that excellent management is performed in the aspects of improving voice quality and data security, and the method is worthy of reference. The VoIP system has the advantages of simple structure, relatively small system overhead, powerful function and wide application range.
The above design scheme of the invention can be used as an efficient means for improving quality assurance and management, and is mainly applied to a voice terminal system and can also be used on local side equipment.
The embedded VoIP telephone system comprises a SOCKET API network processing unit, a call service control module, an SIP/H248 protocol stack, a bottom layer processing module, a bottom layer pick-up event polling module, a polling bottom layer media message module, an RTP protocol processing module and a voice quality management module; the voice quality management module comprises: the device comprises a high-speed cache region, a message checking module, an RTP error processing module, an RTP voice compensation module and an RTP protocol message sending module, and is used for correcting and compensating the RTP protocol message obtained from the RTP protocol processing module. Therefore, the system and the method can compensate the voice data under the condition of weaker VoIP network signals, so that a user can feel the integrity and the reliability of information in the conversation, and the user experience is greatly improved.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (4)

1. A method for realizing embedded VoIP phone voice quality management based on an embedded VoIP phone system, the embedded VoIP phone system comprises:
the SOCKET API network processing unit is used for connecting an external network;
the call service control module is used for processing the starting and registration of the H248 protocol stack and corresponding call-back, and is responsible for the initialization of the terminal system, the task of receiving and transmitting the media packet and the starting of the event detection task;
the SIP/H248 protocol stack is connected with the call service control module and is responsible for receiving, transmitting and retransmitting the H248 protocol packet;
the bottom layer processing module is used for processing bottom layer event report, media processing and sound playing;
the bottom pick-up and hang-up event polling module is connected between the bottom processing module and the call service control module and is used for waiting for taking out an event from the queue by a task in the call service control module for upper layer processing after polling the event and putting the event into the queue;
the polling bottom media message module is connected between the bottom processing module and the SOCKET API network processing unit and is used for sending the bottom media message through the SOCKET API network processing unit;
the RTP protocol processing module is connected with the SOCKET API network processing unit and is used for receiving an RTP protocol packet and sending the RTP protocol packet to the DSP voice hardware through the bottom layer processing module;
the voice quality management module is connected between the RTP protocol processing module and the bottom layer processing module and is used for correcting and compensating the RTP protocol message obtained from the RTP protocol processing module;
the voice quality management module comprises:
the high-speed buffer area is used for storing the message obtained from the RTP protocol processing module;
the message checking module is used for detecting whether the message stored in the cache region is an RTP protocol message or not and discarding a non-RTP protocol message;
the RTP error processing module is used for detecting an RTP protocol message with an error;
the RTP voice compensation module is used for repairing the RTP protocol message with errors;
the RTP protocol message sending module is used for sending the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module;
the method is characterized by comprising the following steps:
(1) the high-speed buffer area stores the message obtained from the RTP protocol processing module;
(2) the message checking module detects whether the message stored in the cache region is an RTP protocol message, and discards a non-RTP protocol message therein;
(3) the RTP error processing module detects an RTP protocol message with an error;
(4) the RTP voice compensation module repairs the RTP protocol message with errors;
(5) the RTP protocol message sending module sends the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module;
the step (2) specifically comprises the following steps:
(21) the message checking module detects whether the message stored in the cache region is an RTP protocol message by using an incremental hash method and using a hash table as an index;
(22) the message checking module discards a non-RTP protocol message;
(23) the message checking module stores the RTP protocol message hash table into the cache region.
2. The method for implementing embedded VoIP phone voice quality management based on embedded VoIP phone system according to claim 1, wherein the RTP protocol packet with error detected by the RTP error processing module specifically comprises:
and the RTP error processing module polls the RTP protocol message in the hash table and detects the RTP protocol message with errors.
3. The method for implementing embedded VoIP phone voice quality management based on embedded VoIP phone system according to claim 2, wherein the RTP voice compensation module repairs the RTP protocol packet having errors, specifically:
the RTP voice compensation module utilizes the balance voice packet to compensate the RTP protocol message with errors.
4. The method for implementing embedded voice quality management of VoIP phone based on embedded VoIP phone system according to claim 3, wherein the RTP protocol packet sending module sends the repaired RTP protocol packet to the DSP voice hardware through the bottom layer processing module, specifically:
the RTP protocol message sending module merges the repaired RTP protocol message into a hash table and sends the repaired RTP protocol message to the DSP voice hardware through the bottom layer processing module.
CN201210480398.4A 2012-11-23 2012-11-23 Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone Active CN102932568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210480398.4A CN102932568B (en) 2012-11-23 2012-11-23 Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210480398.4A CN102932568B (en) 2012-11-23 2012-11-23 Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone

Publications (2)

Publication Number Publication Date
CN102932568A CN102932568A (en) 2013-02-13
CN102932568B true CN102932568B (en) 2014-03-12

Family

ID=47647260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210480398.4A Active CN102932568B (en) 2012-11-23 2012-11-23 Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone

Country Status (1)

Country Link
CN (1) CN102932568B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487710B (en) * 2016-10-10 2019-09-13 福建星网智慧科技股份有限公司 The method and system of frame buffer Discarded Packets compensation are realized based on linux kernel
CN109936526B (en) * 2017-12-15 2021-09-28 中国移动通信集团山东有限公司 Method and device for determining voice quality
CN109842559B (en) * 2018-12-28 2021-04-09 中兴通讯股份有限公司 Network communication method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685342A (en) * 2012-05-11 2012-09-19 深圳市共进电子股份有限公司 Method and system for improving instantaneity of VOIP (Voice Over Internet Protocol) voice signal based on Linux system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090135724A1 (en) * 2007-11-27 2009-05-28 Tellabs Operations, Inc. Method and apparatus of RTP control protocol (RTCP) processing in real-time transport protocol (RTP) intermediate systems

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685342A (en) * 2012-05-11 2012-09-19 深圳市共进电子股份有限公司 Method and system for improving instantaneity of VOIP (Voice Over Internet Protocol) voice signal based on Linux system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑旭.基于嵌入式Linux的RTP协议栈实现.《基于嵌入式Linux的RTP协议栈实现》.2009,论文摘要,正文第4页,第9页,第47-52页,第62页. *

Also Published As

Publication number Publication date
CN102932568A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
US8379631B2 (en) System, method and computer program product for point-to-point bandwidth conservation in an IP network
US7873035B2 (en) Method and apparatus for voice-over-IP call recording and analysis
EP2067348B1 (en) Process for scalable conversation recording
US8660016B2 (en) Testing and monitoring voice over internet protocol (VoIP) service using instrumented test streams to determine the quality, capacity and utilization of the VoIP network
US8983046B2 (en) Method and apparatus for providing end-to-end call completion status
US20130242981A1 (en) Method and apparatus for enabling peer-to-peer communication between endpoints on a per call basis
US9054887B2 (en) Method and apparatus for enabling communications assistance for law enforcement act services
CN101146100B (en) A realization method of SIP network phone based on transmission protocol SCTP and DCCP
US8638656B2 (en) Method and apparatus for routing calls to an alternative endpoint during network disruptions
WO2011109492A1 (en) Desktop recording architecture for recording call sessions over a telephony network
CN110430102A (en) Call recording method based on IMS
US8654788B2 (en) Method and apparatus for dynamically adjusting broadband access bandwidth
US7746771B1 (en) Method and apparatus for controlling logging in a communication network
CN102932568B (en) Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone
US8538005B2 (en) Method and apparatus for providing user access via multiple partner carriers for international calls
US7475003B1 (en) Method and apparatus for initiating call analysis using an internet protocol phone
US20050180446A1 (en) Telecommunications surveillance
US8553863B2 (en) Method and apparatus for providing dynamic international calling rates
US7764600B1 (en) Providing an alternative service application to obtain a communication service when the current service application is inhibited
US7852991B1 (en) Method and apparatus for updating a speed dialing list
EP1768344A1 (en) Method and apparatus for dynamically establishing links between IP private branch exchanges
US7974292B1 (en) Method and apparatus for dynamically adjusting broadband access bandwidth
CN104702807A (en) VoIP communication system
US8737575B1 (en) Method and apparatus for transparently recording media communications between endpoint devices
US7646726B2 (en) System for detecting packetization delay of packets in a network

Legal Events

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