WO2007006185A1 - Procédé de protection du canal du traitement du signal numérique voip - Google Patents
Procédé de protection du canal du traitement du signal numérique voip Download PDFInfo
- Publication number
- WO2007006185A1 WO2007006185A1 PCT/CN2005/001814 CN2005001814W WO2007006185A1 WO 2007006185 A1 WO2007006185 A1 WO 2007006185A1 CN 2005001814 W CN2005001814 W CN 2005001814W WO 2007006185 A1 WO2007006185 A1 WO 2007006185A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- queue
- packet
- protection
- sequence number
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/752—Media network packet handling adapting media to network capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
Definitions
- the invention relates to a chip protection method for DSP (Digital Signal Processing) in the field of communication, in particular to improving the reliability and VOIP of a DSP channel by filtering invalid RTP (Real Time Transmission Protocol, for transmission media) messages.
- RTP Real Time Transmission Protocol, for transmission media
- Voice over IP IP-based voice service
- the traditional communication service adopts circuit-switching technology.
- the two parties establish a service by establishing a fixed-bandwidth circuit. In this way, the bandwidth utilization is low, the communication cost is high, and the development and promotion of value-added services are difficult.
- the bearer network is an IP packet switching network, such as the Internet.
- IP packet switching network such as the Internet.
- the advantages of packet switching are high network utilization, low cost of communication, and the development and promotion of new services is relatively fast due to the use of an open architecture.
- the DSP When using IP or other packet-switched networks as the bearer network, the DSP is usually used to perform PCM (Pulse Code Modulation) voice-to-packet voice bidirectional conversion. A user's voice is converted to a data packet on the packet network after being converted by the DSP. After the packet arrives at the peer, it is converted to voice by the other party's DSP, and vice versa.
- PCM Pulse Code Modulation
- the packet is also sent to the DSP because the port meets the requirements, which affects the normal operation of the DSP, resulting in a drop in voice quality or DSP anomalies.
- the source of the packet may be from a network error, such as an IP or UDP port error.
- the device needs to periodically send media packets because it needs to maintain the internal mapping of NAT.
- This packet is a kind of interference to the DSP channel of the receiver and causes the same problem.
- DSP can only support one voice stream at the same time, all messages except this voice stream will have adverse effects on the DSP, and introduce delay and jitter, which will affect the voice quality.
- the amount, the heavy, causes software anomalies inside the DSP chip.
- Chinese Patent Application discloses a method of sorting time stamps of RTP packets to eliminate their jitter delay.
- the method uses the buffer storage queue to receive the RTP data packet.
- the first normally arrived data packet is first stored in the start address of the buffer queue, and the time stamp is used as the reference time stamp;
- a data packet based on its timestamp, determines its storage address in the buffer queue and stores it in the corresponding address.
- the reference timestamp is used as the transmission timestamp, and the corresponding first normally arrived data packet is output to the next interface; then the sum of the transmission timestamp and the timestamp interval is used as the sum of The new transmission time stamp, and then check whether there is a data packet in the storage address corresponding to the new transmission time stamp, and then output the data packet to the next interface.
- This method uses the timestamp to debounce and cannot filter invalid packets. If an invalid message appears, it is also entered into the DSP. Summary of the invention
- the technical problem to be solved by the present invention is to provide a method for protecting a VOIP DSP channel, which overcomes the defects in the VOIP DSP chip receiving process, and solves the problem of sound quality degradation and abnormality when the voice channel receives invalid data, thereby improving the DSP channel.
- the reliability of the work makes the VOIP equipment highly robust and anti-interference.
- the present invention provides a method for protecting a VOIP digital signal processing channel, wherein a plurality of buffered message queues to the digital signal processing channel are set, and according to an incoming real-time transmission protocol message sequence The continuity of the number and/or the timestamp, filtering the invalid message in the message, and inputting the filtered message to the digital signal processing channel.
- the method includes the following steps:
- Step 1 Set a plurality of buffered message queues to the digital signal processing channel, the queue including at least a normal queue and a protection queue;
- Step 2 extract the sequence number of the newly arrived real-time transport protocol packet, and determine whether the packet is a suspicious packet according to the continuity of the sequence number and/or the timestamp of the preceding and succeeding messages; if yes, the suspicious report is The text is stored in the protection queue; if not, the message is placed in a normal queue;
- Step 3 determining, according to the sequence number of the subsequent new packet, whether the suspicious packet in the protection queue is an invalid packet; if yes, discarding the suspicious packet, and clearing the protection queue; if not, using the The protection queue replaces the normal queue.
- the method further comprising the step of transmitting a message in the normal queue to a digital signal processing channel.
- the method further includes setting a variable V to record a sequence number of a last message in the current normal queue.
- the method further includes: determining whether the incoming message is the first message after the channel is opened, and if yes, assigning the initial value of the variable V to the sequence of the first message number.
- the method further includes the step of continuously updating the variable V when the new message is stored in the normal queue.
- step 2 further comprises:
- Step 21 set threshold values A, B;
- Step 22 Determine whether the absolute value of the sequence number M of the newly arrived message and the current value of the variable V is less than the threshold A. If not, the message is a suspicious message. If yes, determining whether the timestamp of the new packet with the sequence number M and the timestamp of the old packet whose sequence number is the current value of V is less than the threshold B; if yes, The new packet is not a suspicious packet, and the new packet with the sequence number M is included in the normal queue, and the value of the variable V is updated to be M. If not, the packet is a suspicious packet.
- step 3 further comprises:
- Step 31 setting a threshold C
- Step 32 Record the serial number L of the subsequent new message
- the third step it is determined whether the absolute value of the value of the variable V is less than the value of the variable V. If yes, the message stored in the protection queue is an invalid message, and the sequence number is L's new The message is a valid message and is stored in the normal queue, and the value of the variable V is updated as L; if not, the absolute value of the L is subtracted from the sequence number of the last message in the protection queue. Whether it is less than the threshold C; if yes, the newly received subsequent message with the sequence number L is also a suspicious message, and is stored in the protection queue. If not, the The packet in the protection queue is an invalid packet, and the protection queue is emptied, and the packet with the sequence number L is stored as a suspicious packet in the protection queue.
- step three or three further comprises:
- Step 3 31, setting a threshold value of the number of protection queue packets D;
- step 3:32 it is determined whether the number of the packets stored in the protection queue is greater than or equal to the threshold D. If yes, the original normal queue is cleared, and the original queue is replaced by the protection queue to form a new one. a normal queue, and further updating the value of the variable V as the serial number of the last message in the new normal queue; if not, the V value is unchanged, continue to extract the serial number of the new message and transfer.
- the method of the step, wherein the step 323 further includes: when the number of packets in the protection queue is greater than or equal to the threshold D, using the original normal queue as a new protection queue. A step of.
- the invention solves the defects in the VOIP DSP packet processing in the prior art, and avoids the degradation of the sound quality and the abnormality when the invalid data is received.
- the received packet When the received packet is normal, it does not affect the original packet processing process, and does not introduce packet loss, jitter, and delay.
- these invalid messages can be filtered out to avoid abnormalities, improve sound quality, and not introduce new packet loss, jitter, and delay.
- media/call switching is performed, a delay of several tens of milliseconds is introduced at the time of switching, which can be ignored, but an abnormality can be avoided and the sound quality is improved.
- FIG. 2 is a sequence diagram of an RTP message entering a DSP before applying the method of the present invention
- FIG. 3 is a sequence diagram of an RTP message entering a DSP after applying the method of the present invention. detailed description:
- the normal RTP packets are continuous. Occasionally, due to out-of-order and packet loss, they fluctuate within a small range.
- media switching refers to the switching of normal voice RTP streams
- the sequence number jumps, but subsequent The message should be continuous again.
- the suspicious packet can be temporarily placed in the protection queue. If the subsequent packet proves that the suspicious packet is invalid, the temporary queue is cleared; if the subsequent packet proves that the suspicious packet is indeed valid Then, replace the normal queue with the protection queue and pass the data to the DSP.
- the original normal queue acts as a new protection queue.
- the method of the present invention can be implemented by judging the continuity of the message sequence number or the continuity of the time stamp, or in combination, by simultaneously determining the continuity of the sequence number and the time stamp.
- Figure 1 shows a process flow diagram of the method of the invention, the method of the invention being as follows:
- Each DSP channel is assigned a number of buffered message queues, including the normal queue and the protection queue.
- the variable is reassigned to record the sequence number of the last message entering the current normal queue, assuming that a variable named V is assigned.
- step 110 When receiving the subsequent RTP message, extract the serial number of the message (assumed to be equal to L) (step 110), and determine whether the difference between L and variable V is not large (ie, the absolute value of L minus V) If it is less than the threshold A) (step 111), if yes, it is considered that the suspected packet in the protection queue is an invalid packet, clear the protection queue, put the packet with the serial number L into the normal queue, and record the new variable with the variable V.
- the serial number, ie v L (step 112).
- the thresholds A, B, and C are all configurable in the above steps.
- the threshold D is also configurable.
- the larger the value of the threshold value D the smaller the possibility of false switching, but the larger the switching delay.
- other applications are similar.
- 2 is a sequence diagram of an RTP message entering the DSP before applying the method of the present invention.
- 3 is a sequence diagram of an RTP message entering a DSP after applying the method of the present invention.
- threshold A is configured to 10
- threshold B is configured to 100ms
- threshold C is configured to 5
- threshold D is configured to 2.
- the third step is to receive the packet with the sequence number 4.
- the sequence number of the packet is not continuous, but the difference is not large (less than the threshold A).
- the fourth step receiving the packet with the serial number of 1000, the serial number of the packet is completely discontinuous (greater than the threshold A), indicating that the packet is suspicious. Since it is currently impossible to determine whether the packet is invalid or media switching occurs, so this is The message is placed in the protection queue, the initial protection queue 33 shown in FIG.
- the packet with the sequence number 5 is received, and the sequence number of the packet is consecutive with the current sequence number of the normal queue.
- the suspected packet in the protection queue is an invalid packet, and the 1000 packet in the protection queue is cleared, and the serial number is The 5 packet is placed in the normal queue, waiting for the DSP driver to input the message into the DSP. Record the current serial number - 5.
- the packet with the sequence number 1001 is received, and the sequence number of the packet is completely discontinuous (greater than the threshold A), indicating that the packet is suspicious. Since it is currently impossible to determine whether the packet is an invalid message or a media switch occurs, this is The message is placed in the protection queue.
- the packet with the sequence number 1002 is received, and the sequence number of the packet and the current sequence number of the normal queue are not consecutive, but compared with the 1001 message in the protection queue is continuous (less than the threshold C), the packet is first placed.
- the protection queue check whether the number of packets in the protection queue reaches the threshold D. Since the threshold D is now set to 2, the threshold has been reached. At this time, it can be determined that the media switching has occurred.
- the packet with the sequence number 10 is received, and the sequence number of the packet is discontinuous (greater than the threshold A), indicating that the packet is suspicious. Since the packet cannot be determined to be an invalid message or a media switch occurs, the report is sent. The text is placed in the protection queue, the switched protection queue 34 shown in FIG.
- the packet with the sequence number 1005 is received, and the sequence number of the packet is very close to the current sequence number of the normal queue (less than the threshold A). At this time, it can be determined that the suspected packet in the protection queue is an invalid packet, and the protection queue is cleared.
- the packet with the serial number of 2000 is received, and the sequence number of the packet is completely discontinuous (greater than the threshold A), indicating that the packet is suspicious. Since it is currently impossible to determine whether the packet is an invalid message or a media switch occurs, This message is placed in the protection queue.
- the packet with the serial number of 3000 is received, the sequence number of the packet is not continuous with the normal queue (greater than the threshold A), and the packet in the protection queue is not continuous (greater than the threshold C:), indicating that the packet is suspicious and cannot be Determine whether the message is invalid or media switch, delete the 2000 packet in the protection queue, and put the packet with the serial number 3000 into the protection queue.
- Figure 2 is a sequence diagram of the RTP message entering the DSP after applying the method.
- Figure 2 uses the prior art single-queue mode. In this way, all messages enter the DSP directly.
- Figure 3 uses the dual queue mode to set the normal queue and the protection queue respectively. Only the packets in the normal queue enter the DSP. It can be seen from the comparison before and after the method of the present invention that only the packets in the normal queue enter the DSP, and the original RTP packets with many interferences are processed into a very regular, very "clean" voice.
- the RTP stream is input to the DSP to protect the DSP.
- the conditions for judging valid messages in the above process can be flexibly configured, for example: Threshold A, Threshold B, Threshold C, Threshold D.
- the above conditions can be combined as appropriate and flexibly modified. Achieve the best value for the project.
- the invention solves the defects in the VOIP DSP packet processing in the prior art, and avoids the degradation of the sound quality and the abnormality when the invalid data is received.
- the received packet When the received packet is normal, it does not affect the original packet processing process, and does not introduce packet loss, jitter, and delay.
- these invalid messages can be filtered out to avoid abnormalities, improve sound quality, and not introduce new packet loss, jitter, and delay.
- media/call switching is performed, a delay of several tens of milliseconds is introduced at the time of switching, which can be ignored, but an abnormality can be avoided and the sound quality is improved.
- This method can be applied to all communication systems that use RT as a media transport protocol. There is no need to modify existing call control protocols.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
L’invention concerne un procédé de protection du canal du traitement du signal numérique VoIP, comprenant les étapes de : définition d’une pluralité de files d’attente de stockage en mémoire tampon de message pour le canal de traitement du signal numérique et filtrage du message ineffectif dans ledit message en fonction de la succession de numéros de séquence et/ou d’estampilles temporelles du message arrivé du protocole de transport en temps réel, et entrée du message filtré dans le canal de traitement du signal numérique. La présente invention résout le défaut constaté lors du traitement de réception de paquets de la puce DSP VoIP, résout le problème d’anormalité de la qualité sonore et de la chute de la qualité sonore lors de la réception de données ineffectives dans le canal vocal, améliorant ainsi la fiabilité de fonctionnement du canal DSP, et confère à l’équipement VoIP une robustesse élevée et une capacité anti-interférence.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510012152.4 | 2005-07-12 | ||
CN200510012152.4A CN100479425C (zh) | 2005-07-12 | 2005-07-12 | 一种保护voip数字信号处理通道的方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007006185A1 true WO2007006185A1 (fr) | 2007-01-18 |
Family
ID=37609942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2005/001814 WO2007006185A1 (fr) | 2005-07-12 | 2005-11-01 | Procédé de protection du canal du traitement du signal numérique voip |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100479425C (fr) |
WO (1) | WO2007006185A1 (fr) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051883B (zh) * | 2007-05-11 | 2011-04-20 | 杭州华三通信技术有限公司 | 一种主用语音服务器故障恢复后的业务切换方法和系统 |
CN103236896B (zh) * | 2013-04-07 | 2016-09-28 | 北京全路通信信号研究设计院集团有限公司 | 一种车载控制设备的时钟调整方法和系统 |
CN103279442B (zh) * | 2013-06-14 | 2017-01-11 | 浪潮电子信息产业股份有限公司 | 一种高速互联总线的报文过滤系统及方法 |
CN107743054A (zh) * | 2017-08-25 | 2018-02-27 | 杭州德泽机器人科技有限公司 | 一种多传感器同步对时系统 |
CN110995947B (zh) * | 2019-11-05 | 2021-04-20 | 深圳震有科技股份有限公司 | 一种通道密度的检测方法、装置和计算机设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040156380A1 (en) * | 2003-01-24 | 2004-08-12 | Silverman Steven P. | Multi-level expedited forwarding per hop behavior |
CN1549535A (zh) * | 2003-05-09 | 2004-11-24 | 华为技术有限公司 | 用rtp数据包的序号进行排序以消除其抖动延时的方法 |
CN1549536A (zh) * | 2003-05-09 | 2004-11-24 | ��Ϊ��������˾ | 用rtp数据包的时戳进行排序以消除其抖动延时的方法 |
US20050105532A1 (en) * | 2003-11-13 | 2005-05-19 | Yun Bin Y. | Router for scheduling packet and method therefor |
-
2005
- 2005-07-12 CN CN200510012152.4A patent/CN100479425C/zh not_active Expired - Fee Related
- 2005-11-01 WO PCT/CN2005/001814 patent/WO2007006185A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040156380A1 (en) * | 2003-01-24 | 2004-08-12 | Silverman Steven P. | Multi-level expedited forwarding per hop behavior |
CN1549535A (zh) * | 2003-05-09 | 2004-11-24 | 华为技术有限公司 | 用rtp数据包的序号进行排序以消除其抖动延时的方法 |
CN1549536A (zh) * | 2003-05-09 | 2004-11-24 | ��Ϊ��������˾ | 用rtp数据包的时戳进行排序以消除其抖动延时的方法 |
US20050105532A1 (en) * | 2003-11-13 | 2005-05-19 | Yun Bin Y. | Router for scheduling packet and method therefor |
Also Published As
Publication number | Publication date |
---|---|
CN100479425C (zh) | 2009-04-15 |
CN1897561A (zh) | 2007-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1805616B1 (fr) | Procedes et systemes de refus automatique de protection de service dans un dispositif ip | |
US7548539B2 (en) | Method and apparatus for Voice-over-IP call recording | |
US6934258B1 (en) | Quality of service based transitioning between alternate transport paths | |
US7873035B2 (en) | Method and apparatus for voice-over-IP call recording and analysis | |
US7809128B2 (en) | Methods and systems for per-session traffic rate policing in a media gateway | |
US20130058238A1 (en) | Method and system for automated call troubleshooting and resolution | |
JP4515979B2 (ja) | Ip電話機 | |
CN102025483A (zh) | 无线路由器及利用该无线路由器预防恶意扫描的方法 | |
WO2007006185A1 (fr) | Procédé de protection du canal du traitement du signal numérique voip | |
US8089962B2 (en) | Method, system and apparatus for filtering packets | |
JP2011147007A (ja) | 通話録音装置及び通話録音システム | |
US7180863B1 (en) | Method and apparatus for overload control in multi-branch packet networks | |
CN1992650A (zh) | 一种ip分组承载网的呼叫导通检测方法 | |
US9559978B2 (en) | Methods, systems, and computer readable media for intelligent optimization of digital signal processor (DSP) resource utilization in a media gateway | |
WO2008001580A1 (fr) | Dispositif de communication et procédé | |
CN102932568B (zh) | 嵌入式VoIP电话系统及实现VoIP电话语音质量管理的方法 | |
US8526424B2 (en) | Enhancing voice QoS over unmanaged bandwidth limited packet network | |
CN1653795A (zh) | 用于端接直接通向ip网络的调制解调器中继信道的设备 | |
CN101622823A (zh) | 对网络地址转换学习操作的业务量进行节流 | |
CN1889514A (zh) | 承载与控制分离的分组交换网络中路由控制的方法 | |
KR100376133B1 (ko) | 데이터 전송 지연 방지 방법 | |
JP2008017075A (ja) | 通信制御装置及びそれに用いる通信制御方法並びにそのプログラム | |
Sun et al. | Possibilities of Voice Resource DoS Attacks Based on H. 323 Protocol in Softswitch Network | |
KR20020076578A (ko) | 음성전달 인터넷 프로토콜을 이용한 실시간 음성 전송방법 | |
CN1859296A (zh) | 在路由器上对实时业务进行控制的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWW | Wipo information: withdrawn in national office |
Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 05802197 Country of ref document: EP Kind code of ref document: A1 |