CN102932568A - 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
CN102932568A
CN102932568A CN2012104803984A CN201210480398A CN102932568A CN 102932568 A CN102932568 A CN 102932568A CN 2012104803984 A CN2012104803984 A CN 2012104803984A CN 201210480398 A CN201210480398 A CN 201210480398A CN 102932568 A CN102932568 A CN 102932568A
Authority
CN
China
Prior art keywords
module
real
transport protocol
time transport
message
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.)
Granted
Application number
CN2012104803984A
Other languages
Chinese (zh)
Other versions
CN102932568B (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

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

The method of embedded voip phone system and the management of realization voip phone voice quality
Technical field
The present invention relates to the embedded communication technical field, particularly the voip technology field specifically refers to a kind of embedded voip phone system and realizes the method that the voip phone voice quality is managed.
Background technology
The growth that embedded system is maked rapid progress, embedded voip phone system has occupied very important part in the whole communications industry, domestic voip technology is not very ripe, but reasonable company of several families relatively with keen competition has also obtained the development of advancing by leaps and bounds in the voip technology field.In order to make VoIP become the pioneer of comprise network, new service must keep the characteristic that user both sides carry out simple POTS call.But industry is debated endlessly for this problem always, and namely any technology based on bag all will be introduced time-delay in voice flow, often can experience in the user's communication process, and its result will cause being discontented with of user.Voip technology in the common network must overcome this potential problem, and time-delay is reduced to the rank that can not perceive.Another factor is the combination of VoIP voice quality transmission and up-to-date voice compression technique.If there is potential latency issue, the inevitable voice quality that has again simultaneously compress speech to bring reduces, and the result also will be that user's impression degenerates so.Can measure voice quality with objective mode now, difference therebetween also can remedy with multiple data available from practical experience, information and knowledge.
The IP phone field uses Real-time Transport Protocol to carry out the transmission of speech data, and Real-time Transport Protocol provides end to end real time data (comprising Voice ﹠ Video) transmission, can be used for the aspects such as media-on-demand and interactive type communication.RTP comprises data and control two parts, and control section is finished by rtcp protocol.Rtcp protocol is supported the real-time conferencing of any scale in the Internet.RTCP Monitoring Service quality also transmits convention goer's information, also support between the different media synchronously.It is pointed out that RTP itself does not provide any mechanism in time to transmit, also do not guarantee any service quality, provide these services but depend on lower layer protocol.As if fall short of the reality from this meaning RTP, but will be appreciated that Internet is exactly a kind of network that quality of service guarantee is not provided originally, does not also have a kind of end to end agreement can guarantee timely transmission at present.RTP provides the mechanism of time tag and control different data streams synchronizing characteristics, can allow the packet of receiving terminal restructuring transmitting terminal, the quality of service feedback of receiving terminal to multiple spot transmission group can be provided, have stronger temporal characteristics, it is a kind of real time transport protocol from this meaning.Itself comprises two parts Real-time Transport Protocol: Real-time Transport Protocol is responsible for the real-time transmission of data; Rtcp protocol is responsible for controlling data and is transmitted.In order to transmit reliably, efficiently real time data, rtcp protocol and Real-time Transport Protocol are used together, carry out flow control and congestion control.Usually the quantity of RTCP grouping accounts for 5% of all transmission quantities.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art, safe handling in a kind of VoIP voice data transmission process is provided and in the weak situation of network signal, compensates speech data, allow the user in conversation, feel information integrity, reliability, experience thereby significantly promote the user, and simple in structure, with low cost, application mode is easy, and range of application is embedded voip phone system and realize the method for voip phone voice quality management comparatively widely.
In order to realize above-mentioned purpose, embedded voip phone of the present invention system has following formation:
This system comprises: SOCKET API network processing unit, call business control module, SIP/H248 protocol stack, bottom layer treatment module, bottom dislodging machine event polling module, poll bottom media message module, Real-time Transport Protocol processing module and voice quality administration module.
Wherein, SOCKET API network processing unit is in order to connect external network;
The call business control module starts in order to process the H248 protocol stack, the corresponding readjustment of registration, is responsible for the startup of initialization, transmitting-receiving media bag task and the event detection task of terminal system;
The SIP/H248 protocol stack is connected in described call business control module, is responsible for transmitting-receiving and the re-transmission of H248 protocol package;
The bottom layer treatment module is play in order to Treated Base reporting events, media processing and sound;
Bottom dislodging machine event polling module is connected between described bottom layer treatment module and the call business control module, in order to be polled to event, with it and after putting into formation, the task taking-up event from formation in the Waiting for Call message control module is carried out the upper strata and is processed;
Poll bottom media message module is connected between described bottom layer treatment module and the SOCKET API network processing unit, in order to the bottom media message is sent by SOCKET API network processing unit;
The Real-time Transport Protocol processing module is connected in described SOCKET API network processing unit, receives the Real-time Transport Protocol bag in order to responsible, and it is sent to DSP voice hardware by described bottom layer treatment module;
The voice quality administration module is connected between described Real-time Transport Protocol processing module and the described bottom layer treatment module, in order to the Real-time Transport Protocol message that obtains from the Real-time Transport Protocol processing module is carried out error correction and remedy.
In this embedded voip phone system, described voice quality administration module comprises: cache memory section, message checking module, RTP mistake processing module, RTP voice remedy module and Real-time Transport Protocol message sending module.
Wherein, cache memory section is in order to the message of storage from described Real-time Transport Protocol processing module acquisition;
The message checking module is abandoned non-Real-time Transport Protocol message wherein in order to detect whether the message of storing in the described cache memory section is the Real-time Transport Protocol message;
RTP mistake processing module is in order to detect the Real-time Transport Protocol message that has mistake;
The RTP voice remedy module in order to the Real-time Transport Protocol message that has mistake is repaired;
Real-time Transport Protocol message sending module will be in order to being sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing.
The present invention also provides a kind of and realizes the method that embedded voip phone voice quality is managed based on described system, and the method may further comprise the steps:
(1) described cache memory section storage is from the message of described Real-time Transport Protocol processing module acquisition;
(2) described message checking module detects whether the message of storage in the described cache memory section is the Real-time Transport Protocol message, abandons non-Real-time Transport Protocol message wherein;
(3) described RTP mistake processing module detects the Real-time Transport Protocol message that has mistake;
(4) described RTP voice remedy module the Real-time Transport Protocol message that has mistake are repaired;
(5) described Real-time Transport Protocol message sending module will be sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing.
This realizes that described step (2) specifically may further comprise the steps in the method for embedded voip phone voice quality management:
(21) described message checking module is utilized the increment hash method, utilizes Hash table to detect as index whether the message of storing in the described cache memory section is the Real-time Transport Protocol message;
(22) described message checking module is abandoned non-Real-time Transport Protocol message;
(23) described message checking module deposits Real-time Transport Protocol message Hash table in described cache memory section.
This realizes that described RTP mistake processing module detects the Real-time Transport Protocol message that has mistake, is specially in the method for embedded voip phone voice quality management;
Real-time Transport Protocol message in the described Hash table of described RTP mistake processing module poll detects the Real-time Transport Protocol message that has mistake.
This realizes that described RTP voice remedy module the Real-time Transport Protocol message that has mistake is repaired, and are specially in the method for embedded voip phone voice quality management:
Described RTP voice remedy the Real-time Transport Protocol message that module is utilized the balance voice packet to remedy to have mistake.
This realizes in the method for embedded voip phone voice quality management that described Real-time Transport Protocol message sending module will be sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing, and be specially:
Described Real-time Transport Protocol message sending module will be sent to DSP voice hardware by described bottom layer treatment module after will being integrated into Hash table through the Real-time Transport Protocol message of repairing.
Adopted the embedded voip phone system of this invention, it comprises SOCKET API network processing unit, call business control module, SIP/H248 protocol stack, bottom layer treatment module, bottom dislodging machine event polling module, poll bottom media message module, Real-time Transport Protocol processing module and voice quality administration module; Described voice quality administration module comprises: cache memory section, message checking module, RTP mistake processing module, RTP voice remedy module and Real-time Transport Protocol message sending module, in order to the Real-time Transport Protocol message that obtains from the Real-time Transport Protocol processing module is carried out error correction and remedy.Thereby utilize system and method for the present invention in the weak situation of voip network signal, to compensate speech data, allow the user in conversation, feel information integrity, reliability, significantly promoting the user experiences, and the system configuration of the method for embedded voip phone system of the present invention and the management of realization voip phone voice quality is simple, with low cost, the method application mode is easy, and range of application is comparatively extensive.
Description of drawings
Fig. 1 is the configuration diagram of embedded voip phone of the present invention system.
Utilize system of the present invention to realize the schematic flow sheet of the method for embedded voip phone voice quality management in Fig. 2 practical application.
Fig. 3 is the principle schematic of the employed increment hash of the method algorithm of the embedded voip phone voice quality management of realization of the present invention.
Embodiment
In order more clearly to understand technology contents of the present invention, describe in detail especially exemplified by following examples.
See also shown in Figure 1ly, be the configuration diagram of embedded voip phone of the present invention system.
In one embodiment, this embedded voip phone system comprises SOCKET API network processing unit, call business control module, SIP/H248 protocol stack, bottom layer treatment module, bottom dislodging machine event polling module, poll bottom media message module, Real-time Transport Protocol processing module and voice quality administration module.Wherein,
SOCKET API network processing unit is in order to connect external network;
The call business control module starts in order to process the H248 protocol stack, the corresponding readjustment of registration, is responsible for the startup of initialization, transmitting-receiving media bag task and the event detection task of terminal system;
The SIP/H248 protocol stack is connected in described call business control module, is responsible for transmitting-receiving and the re-transmission of H248 protocol package;
The bottom layer treatment module is play in order to Treated Base reporting events, media processing and sound;
Bottom dislodging machine event polling module is connected between described bottom layer treatment module and the call business control module, in order to be polled to event, with it and after putting into formation, the task taking-up event from formation in the Waiting for Call message control module is carried out the upper strata and is processed;
Poll bottom media message module is connected between described bottom layer treatment module and the SOCKET API network processing unit, in order to the bottom media message is sent by SOCKET API network processing unit;
The Real-time Transport Protocol processing module is connected in described SOCKET API network processing unit, receives the Real-time Transport Protocol bag in order to responsible, and it is sent to DSP voice hardware by described bottom layer treatment module;
The voice quality administration module is connected between described Real-time Transport Protocol processing module and the described bottom layer treatment module, in order to the Real-time Transport Protocol message that obtains from the Real-time Transport Protocol processing module is carried out error correction and remedy.
This voice quality administration module comprises that cache memory section, message checking module, RTP mistake processing module, RTP voice remedy module and Real-time Transport Protocol message sending module.Wherein,
The message that cache memory section obtains from described Real-time Transport Protocol processing module in order to storage;
The message checking module is abandoned non-Real-time Transport Protocol message wherein in order to detect whether the message of storing in the described cache memory section is the Real-time Transport Protocol message;
RTP mistake processing module is in order to detect the Real-time Transport Protocol message that has mistake;
The RTP voice remedy module in order to the Real-time Transport Protocol message that has mistake is repaired;
Real-time Transport Protocol message sending module will be in order to being sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing.
The present invention also provides a kind of and realizes the method that embedded voip phone voice quality is managed based on described system, and in one embodiment, as shown in Figure 2, the method may further comprise the steps:
(1) described cache memory section storage is from the message of described Real-time Transport Protocol processing module acquisition;
(2) described message checking module detects whether the message of storage in the described cache memory section is the Real-time Transport Protocol message, abandons non-Real-time Transport Protocol message wherein;
(3) described RTP mistake processing module detects the Real-time Transport Protocol message that has mistake;
(4) described RTP voice remedy module the Real-time Transport Protocol message that has mistake are repaired;
(5) described Real-time Transport Protocol message sending module will be sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing.
A kind of preferred embodiment in, described step (2) specifically may further comprise the steps:
(21) described message checking module is utilized the increment hash method, utilizes Hash table to detect as index whether the message of storing in the described cache memory section is the Real-time Transport Protocol message;
(22) described message checking module is abandoned non-Real-time Transport Protocol message;
(23) described message checking module deposits Real-time Transport Protocol message Hash table in described cache memory section.
In preferred execution mode, the described RTP mistake of step (3) processing module detects the Real-time Transport Protocol message that has mistake, be specially: the Real-time Transport Protocol message in the described Hash table of described RTP mistake processing module poll detects the Real-time Transport Protocol message that has mistake.
The described RTP voice of step (4) remedy module the Real-time Transport Protocol message that has mistake is repaired, and are specially: described RTP voice remedy the Real-time Transport Protocol message that module is utilized the balance voice packet to remedy to have mistake.
The described Real-time Transport Protocol message of step (5) sending module will be sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing, be specially: described Real-time Transport Protocol message sending module will be sent to DSP voice hardware by described bottom layer treatment module after will being integrated into Hash table through the Real-time Transport Protocol message of repairing.
In actual applications, embedded VoIP system of the present invention as shown in Figure 1, the voice quality of integrated native system and data safe processing module (FastCache), the message of receiving from network side carries out mistake to be processed, loss of voice remedies, and the Reseal message is sent to DSP and processes.
Voice message at first enters the bag correction verification module in the FastCache module, carries out the RTP packet filtering, and this processes similar with packet filtering in the computer network, filter mainly for the RTP message.The voice message mistake is processed, and is that unusual bag or normal bag are investigated again mainly for the RTP message through the bag verification, and the RTP message that again filters out correct format is used for transmission.Loss of voice remedies, the algorithm that relates to also is difficult point of the present invention, do an endless loop in this module, main constantly the detection in communication process after RTP message dropping and the time-delay, is reflected to the user and is exactly that voice quality compares is relatively poor there, perhaps sound is unintelligible, here the algorithm of design can automatic Sampling network connection, causes unsharp processing of conversing from rtp streaming amount statistics or according to message is imperfect, can analyze and process by this algorithm.
Message again divides to install to and sends to DSP and process, and all is a forwarding module for the message of previous processed okay here.The unified accurate and safe message of process FastCache module that sends is to the bottom resume module.
The poor main cause of voice quality is the delay of packet and loses that the slow reason of this similar running car is that the highway traffic congestion is the same.The poor reason of voice quality is not one, and a kind of method also can't address this problem.Reason wherein may be that ISP has limited bandwidth, and the speed of data traffic has been subject to the impact of fire compartment wall and address transition mechanism, or phone has occured to conflict with the video file that neighbours are downloading.The early purchasers of VoIP may be ready to accept second-rate VoIP conversation, but main flow consumer and corporate client are unwilling.Service quality is extremely important, wishes that the VoIP provider that obtains more revenue need to provide uniform high-quality to experience.Purpose of the present invention is exactly to utilize FastCache module newly-increased in the system to address this problem.
This is applied in the voice quality and data safety management module in the VoIP field of embedded technology, described FastCache mainly is integrated in the voip phone system, the invention process can be used as a kind of scheme that the product design of reasonable terminal voice is adopted on the VoIP system under the improvement project.
When beginning a RTP session, application program will use two ports: give RTP for one, give RTCP for one.RTP itself can not provide reliable transfer mechanism for transmitting in order packet, and flow control or congestion control are not provided yet, and it relies on RTCP that these services are provided.Periodically between the session of RTP send a little RTCP groupings and be used for the functions such as Monitoring Service quality and exchange session user profile.Contain the quantity of the own packet that sends, the statistics such as quantity of missing data grouping in the RTCP grouping.Therefore, server can utilize these information dynamically to change transmission rate, even changes PT Payload Type.RTP and RTCP are used, and are generally used on the UDP, and they can make the efficiency of transmission optimization with effective feedback and minimum expense, thereby are particularly suitable for the real time data on the transport network.According to the transfer of data feedback information between the user, can formulate the strategy of flow control, and session subscriber information is mutual, can formulate the strategy of session control.FastCache realizes session control as a kind of reasonable selection scheme so, and the session message dropping remedies, and mails to the correct process of processing of DSP after the session updates.
In order to realize this FastCache function, the present invention comprises following major part substantially:
1, embedded VoIP system, model is on the general frame of VoIP system, VoIP mainly comprises (CallClient module, SIP/H248stack, bottom layer treatment module (ENDPT), the RTP module, poll dislodging machine event module, poll bottom media bag module, FastCache module), these all are the systems soft ware parts, and hardware components mainly is that voice relevant DSP, SLIC add peripheral circuit.
2, the corresponding readjustment of the startup of CallClient resume module H248 protocol stack and registration is responsible for initialization, and the startup of transmitting-receiving media bag task, event detection task of endpoint.
3, protocol stack SIP/H248 module is the nucleus module of H248 protocol stack, the transmitting-receiving of responsible protocol package and re-transmission etc.
4, the bottom module is the bottom layer treatment module, Treated Base reporting events, media processing, sound broadcast etc.
5, the RTP module just is responsible for the reception of RTP bag, and passes to DSP.
6, bottom dislodging machine event polling is polled to after the event and puts into formation, and the task taking-up event from formation in the CallClient module waited for is carried out the upper strata and processed.
7, poll bottom media message module, and send by SOCKETAPI.
8, the FastCache module is mainly processed the media message that sends over from SOCKETAPI, because RTP is carried on the UDP(insecure protocol) upper transmission, may lose message, the error control aspect affects normal voice call, here process turnover RTP message with this module, finally guarantee the security control of speech data and the improvement of voice quality aspect.
The FastCache Model Implement adopts the embedded Linux platform, mainly comprises three parts, can be with reference to shown in Figure 2:
1, running software may further comprise the steps:
1.1 process initiation, initialization, whole system enters idle condition (FastCache also finishes initialization), comprises the initialization of modules;
1.2 after receiving the voice RTP message that the SOCKETAPI side sends, this message logs in the FastCache module, at first can enter all RTP packet buffers that a cache memory section will receive to time buffering area.Then first message checking module can be with the message in the high-speed cache according to the fastest mode fast detecting, determine to remove non-RTP message, here the available index algorithm is realized packet check (such as realizing with increment hash algorithm) here, and uses hashtable as the problem that index will solve to be: how can be the bucket dynamic growth.The solution that has existed now is to expand hash, but also more complicated of this algorithm, and when different key had same hash value, the problem of infinite expanding can appear.Here I realize fairly simple and efficient at the increment hash algorithm that will introduce.Can be with reference to shown in Figure 3.
The principle of increment hash algorithm is comprised of multilayer bucket, shown in Fig. 3 top is divided.Can have n element among the bucket, each element, each element have the set form as shown in Fig. 3 the first hurdle.
What the flag field was preserved is the element what type this element belongs to, and shown in Fig. 3 bottom is divided, following 3 kinds of situations is arranged:
(1) equals 0 as flag, represent that this element is empty (for Fig. 3 hurdle third from the bottom).
(2) equal 1 as flag, represent that this element is a pointer (for Fig. 3 hurdle second from the bottom) that points to data record.
(3) equal-1 as flag, represent that this element is the pointer (for Fig. 3 hurdle last) of one deck under the sensing.
As can be seen from Figure 3, represent this element for empty when flag equals 0, then what does not all have to preserve.And representing that when flag is 1 this element is a pointer that points to data record, the offset field is the document misregistration amount of data file, and the key_length field is the length of key, data_length is the length of data.When flag equals-1, represent that this element is a pointer that points to next bucket, the step field is hash algorithm increment, and the bucket_size field is the size of next bucket, and the offset field is the document misregistration amount of next bucket.
1.3 when before after the RTP message that the logs in RTP message fast detecting in through 1.2, can again correct RTP be turned back in the hashtable high-speed cache and deposit, abandon non-RTP message, in this process, parallel is that message error detection occurs and voice remedy module also simultaneously with the message after the continuous verification of poll RTP correction verification module with it, followed by from hashtable, taking away, enter message and remedy module, this module detects the RTP message that needs mail to DSP again, and by after the traffic statistics, the RTP that loses can remedy transmission according to a kind of special equilibrium voice packet, and reaching the RTP that loses can timely effect of replenishing.
1.4 after remedying module and correction verification module and jointly finishing the error control of voice medium message, send to one by one DSP after being integrated into hashtable.
Voip phone of the present invention system is based on the realization after the embedded OS linux customization cutting, so the ICP/IP protocol stack that lowermost layer is the linux system to be provided, that mainly uses has IP, TCP, a UDP etc.At these more than basic agreement stack, use Session Initiation Protocol or H248 as signaling control protocol, and based on the RTP/RTCP agreement of UDP as the Real-Time Voice Transmission agreement, also realized simultaneously the application of some P2P, on agreement, done again some control hardwares, during session establishment, based on the RTP/RTCP message of UDP in the processing through herein FastCache module, made outstanding management in raising voice quality and secure data area, be worth using for reference.And this is applied to the simple in structure of VoIP system, and overhead is relatively little, and is powerful, and range of application is comparatively extensive.
The above-mentioned design of the present invention can be mainly used in the voice terminal system improving quality assurance and managing as efficient means, also can be placed on the local side apparatus and use.
Adopted the embedded voip phone system of this invention, it comprises SOCKET API network processing unit, call business control module, SIP/H248 protocol stack, bottom layer treatment module, bottom dislodging machine event polling module, poll bottom media message module, Real-time Transport Protocol processing module and voice quality administration module; Described voice quality administration module comprises: cache memory section, message checking module, RTP mistake processing module, RTP voice remedy module and Real-time Transport Protocol message sending module, in order to the Real-time Transport Protocol message that obtains from the Real-time Transport Protocol processing module is carried out error correction and remedy.Thereby utilize system and method for the present invention in the weak situation of voip network signal, to compensate speech data, allow the user in conversation, feel information integrity, reliability, significantly promoting the user experiences, and the system configuration of the method for embedded voip phone system of the present invention and the management of realization voip phone voice quality is simple, with low cost, the method application mode is easy, and range of application is comparatively extensive.
In this specification, the present invention is described with reference to its specific embodiment.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.

Claims (7)

1. embedded voip phone system is characterized in that described system comprises:
SOCKET API network processing unit is in order to connect external network;
The call business control module starts, registers corresponding readjustment in order to process the H248 protocol stack, is responsible for the startup of initialization, transmitting-receiving media bag task and the event detection task of terminal system;
The SIP/H248 protocol stack is connected in described call business control module, is responsible for transmitting-receiving and the re-transmission of H248 protocol package;
The bottom layer treatment module is play in order to Treated Base reporting events, media processing and sound;
Bottom dislodging machine event polling module, be connected between described bottom layer treatment module and the call business control module, in order to be polled to event, with it and after putting into formation, the task taking-up event from formation in the Waiting for Call message control module is carried out the upper strata and is processed;
Poll bottom media message module is connected between described bottom layer treatment module and the SOCKET API network processing unit, in order to the bottom media message is sent by SOCKET API network processing unit;
The Real-time Transport Protocol processing module is connected in described SOCKET API network processing unit, receives the Real-time Transport Protocol bag in order to responsible, and it is sent to DSP voice hardware by described bottom layer treatment module;
The voice quality administration module is connected between described Real-time Transport Protocol processing module and the described bottom layer treatment module, in order to the Real-time Transport Protocol message that obtains from the Real-time Transport Protocol processing module is carried out error correction and remedy.
2. embedded voip phone according to claim 1 system is characterized in that described voice quality administration module comprises:
Cache memory section is in order to the message of storage from described Real-time Transport Protocol processing module acquisition;
The message checking module in order to detect whether the message of storing in the described cache memory section is the Real-time Transport Protocol message, is abandoned non-Real-time Transport Protocol message wherein;
RTP mistake processing module is in order to detect the Real-time Transport Protocol message that has mistake;
The RTP voice remedy module, in order to the Real-time Transport Protocol message that has mistake is repaired;
Real-time Transport Protocol message sending module will be in order to being sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing.
3. method that realizes the management of embedded voip phone voice quality based on system claimed in claim 2 is characterized in that described method may further comprise the steps:
(1) described cache memory section storage is from the message of described Real-time Transport Protocol processing module acquisition;
(2) described message checking module detects whether the message of storage in the described cache memory section is the Real-time Transport Protocol message, abandons non-Real-time Transport Protocol message wherein;
(3) described RTP mistake processing module detects the Real-time Transport Protocol message that has mistake;
(4) described RTP voice remedy module the Real-time Transport Protocol message that has mistake are repaired;
(5) described Real-time Transport Protocol message sending module will be sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing.
4. the method for the embedded voip phone voice quality of realization according to claim 3 management is characterized in that described step (2) specifically may further comprise the steps:
(21) described message checking module is utilized the increment hash method, utilizes Hash table to detect as index whether the message of storing in the described cache memory section is the Real-time Transport Protocol message;
(22) described message checking module is abandoned non-Real-time Transport Protocol message;
(23) described message checking module deposits Real-time Transport Protocol message Hash table in described cache memory section.
5. the method for the embedded voip phone voice quality of realization according to claim 4 management is characterized in that described RTP mistake processing module detects the Real-time Transport Protocol message that has mistake, is specially:
Real-time Transport Protocol message in the described Hash table of described RTP mistake processing module poll detects the Real-time Transport Protocol message that has mistake.
6. the method for the embedded voip phone voice quality of realization according to claim 5 management is characterized in that described RTP voice remedy module the Real-time Transport Protocol message that has mistake is repaired, and are specially:
Described RTP voice remedy the Real-time Transport Protocol message that module is utilized the balance voice packet to remedy to have mistake.
7. the method for the embedded voip phone voice quality of realization according to claim 6 management, it is characterized in that, described Real-time Transport Protocol message sending module will be sent to DSP voice hardware by described bottom layer treatment module through the Real-time Transport Protocol message of repairing, and be specially:
Described Real-time Transport Protocol message sending module will be sent to DSP voice hardware by described bottom layer treatment module after will being integrated into Hash table through the Real-time Transport Protocol message of repairing.
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 true CN102932568A (en) 2013-02-13
CN102932568B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487710A (en) * 2016-10-10 2017-03-08 福建星网智慧科技股份有限公司 Realize the method and system of frame buffer Discarded Packets compensation based on linux kernel
CN109842559A (en) * 2018-12-28 2019-06-04 中兴通讯股份有限公司 A kind of network communication method and system
CN109936526A (en) * 2017-12-15 2019-06-25 中国移动通信集团山东有限公司 A kind of method and device of determining voice quality

Citations (2)

* 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
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

Patent Citations (2)

* 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
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协议栈实现》", 4 March 2009 *

Cited By (5)

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

Also Published As

Publication number Publication date
CN102932568B (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN101448006B (en) Method and system for realizing access for a great amount of terminals for streaming media server
US8379631B2 (en) System, method and computer program product for point-to-point bandwidth conservation in an IP network
CN101179790B (en) Serial port communication method between mobile terminal processor
CN102231863B (en) Transmission method of multichannel video streams and system thereof
CN101110791A (en) Method and system for implementing short message business bifurcation transmission in multimedia subsystem
CN101146100B (en) A realization method of SIP network phone based on transmission protocol SCTP and DCCP
CN101854286A (en) UDP (User Datagram Protocol)-based data stream sending-receiving method and device
CN103338184A (en) Data transmitting method and apparatus, data receiving apparatus and data transmission system
CN102932568B (en) Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone
CN102131114A (en) Method and system for providing playlist
CN101616156A (en) A kind of signal negotiation method and device of realizing the RTP data stream multiplexing
EP1914933A1 (en) Method and apparatus for retransmission request reduction in a network
US8068515B2 (en) Faster multimedia synchronization of broadcast streams using router caching of RTCP packets
US9191427B2 (en) Interworking between H.320/H.324 and SIP
CN102984402A (en) Processing method of voice over internet phone (VoIP) data package and processing system of VoIP data package
CN101931632A (en) Method for ensuring service quality by real-time transmission protocol path
CN101610249A (en) Wobble buffer and jitter buffer method
CN101453474B (en) Terminal, information inserting system and method
US7948971B2 (en) Method and device for controlling media resources, method and system for establishing calls
CN105591879A (en) Data transmission method and apparatus
CN108881182B (en) IOS-based mobile terminal network telephone realization method and system
CN101064671A (en) Method for processing P2P technique based network video signal
CN101369975A (en) Detection method and system for time-delay package loss
CN101616072A (en) Network address conversion device and method for processing packet thereof
CN101159746B (en) Self-adaptive method and system

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