CN103327149A - Method for realizing anomaly detection of PCM (Pulse Code Modulation) channel in VoIP (Voice over Internet Protocol) network terminal equipment - Google Patents

Method for realizing anomaly detection of PCM (Pulse Code Modulation) channel in VoIP (Voice over Internet Protocol) network terminal equipment Download PDF

Info

Publication number
CN103327149A
CN103327149A CN2013102849244A CN201310284924A CN103327149A CN 103327149 A CN103327149 A CN 103327149A CN 2013102849244 A CN2013102849244 A CN 2013102849244A CN 201310284924 A CN201310284924 A CN 201310284924A CN 103327149 A CN103327149 A CN 103327149A
Authority
CN
China
Prior art keywords
terminal equipment
network terminal
pcm
fxs
time slot
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.)
Pending
Application number
CN2013102849244A
Other languages
Chinese (zh)
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 CN2013102849244A priority Critical patent/CN103327149A/en
Publication of CN103327149A publication Critical patent/CN103327149A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Monitoring And Testing Of Exchanges (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a method for realizing anomaly detection of a PCM (Pulse Code Modulation) channel in VoIP (Voice over Internet Protocol) network terminal equipment. The method comprises the following steps that: a signal input end of a first external switching station and a signal output end of a second external switching station occupy the same time slot and a signal output end of the first external switching station and a signal input end of the second external switching station occupy the same time slot, so that a PCM code stream is directly accessed between the first external switching station and the second external switching station after two telephones are at off-hook states; and a transmission function of the PCM channel between the first external switching station and the second external switching station is tested through testing conversation quality. With the adoption of the method for realizing the anomaly detection of the PCM channel in the VoIP network terminal equipment, a hardware problem of the PCM channel in the VoIP network terminal equipment can be eliminated to guarantee the stable transmission of PCM data; and furthermore, normal and stable work of the VoIP network terminal equipment is guaranteed, the operation is simple and convenient and the method has a wider application range.

Description

Realize the method that the PCM channel abnormal detects in the voip network terminal equipment
Technical field
The present invention relates to field of telephone communication, relate in particular to the voip network terminal equipment and detect, specifically refer to realize in a kind of voip network terminal equipment the method that the PCM channel abnormal detects.
Background technology
VoIP(Voice over Internet Protocol) be will the simulation sound signal after overcompression and package, under the environment of IP network, carry out the transmission of speech sound signal with the form of data packet, be commonly called Internet Protocol telephone, the networking telephone or be called for short IP phone.
The basic principle of VoIP is: the compression algorithm by voice is compressed processing to encoded speech data, then these speech datas are packed by the TCP/IP standard, through IP network packet is delivered to reception ground, again these VoPs are stringed together, through after the decompression processing, revert to original voice signal, thereby reach the purpose that is transmitted voice by the Internet.The core of IP phone and key equipment are IP gateway, and it is mapped as corresponding regional gateway ip address to the each department area code.These information leave in the database, and the data process software that continues will be finished the functions such as call treatment, digital speech packing, routing management.
SLIC (Subscriber Line Interface Circuit) subscriber line phone interface chip, the treatment of simulated telephone signal, generate the PCM signal, generally include two parts SLAC numerical portion and SLIC simulation part, the subscriber line interface slic circuit is the interface with telephone line, the direct connection telephone machine; Subscribers feeder speech processes SLAC circuit is realized the PCM encoding and decoding of user's analog voice.The SLIC chip links to each other with DSP in the embedded device by pcm bus, sends the PCM data to DSP and processes.
PCM is a kind of message interface of four-wire type, and the analysis of PCM serial protocol has used four signal line as transmission medium, is respectively SCLK: synchronizing frequency, FS: the frame synchronization frequency has comprised FSO/FSI, DR: input data, DX: output data.The general speed of PCM serial protocol analysis is 64Kbps, is a kind of coded system that the speech sound signal direct sample is quantized, and a sampling point speed is about 8KHz, and each sampling point shows with the 8bits/16bits binary mode.
The PCM data of speech interface chip SLIC are initial data of audio user data in the modern network terminal equipment, whether the PCM passage of SLIC is normal, determined that can the PCM data normal transmission, so need a kind of method that detects SLIC chip PCM channel abnormal in the voip network terminal equipment to ensure the transfer function of PCM passage.
Summary of the invention
The objective of the invention is to overcome the shortcoming of above-mentioned prior art, provide a kind of can realize the PCM channel capacity in the voip network terminal equipment detected, ensured in the normal transmission of PCB data, easy to use, the voip network terminal equipment that is easy to realize, have the broader applications scope realize the method that the PCM channel abnormal detects.
To achieve these goals, realize in the voip network terminal equipment of the present invention that the method that the PCM channel abnormal detects has following formation:
Realize the method that the PCM channel abnormal detects in this voip network terminal equipment, its main feature is that described method may further comprise the steps:
(1) output that the first FXS in the described voip network terminal equipment is set accounts for the first time slot, and the input of this first FXS accounts for the second time slot;
(2) output that the second FXS in the described voip network terminal equipment is set accounts for the second time slot, and the input of this second FXS accounts for the first time slot;
(3) with corresponding the first phone of described first external switch and corresponding the second receiver off-book of second external switch;
(4) input test signal in each described phone is respectively verified the transfer function of PCM passage between described the first FXS and the second FXS.
Preferably, the described output that the first FXS in the described voip network terminal equipment is set accounts for the first time slot, and the input of this first FXS accounts for before the second time slot, and is further comprising the steps of:
(0) sample frequency that the PCM passage in the described voip network terminal equipment is set is 8kHz, and every road voice signal accounted for for 2 channel time slots.
More preferably, the described output that the first FXS in the described voip network terminal equipment is set accounts for the first time slot, and the input of this first FXS accounts for the second time slot, is specially:
The output that the first FXS in the described voip network terminal equipment is set accounted for for the 0th channel time slot, and the input of this first FXS accounted for for the 2nd channel time slot.
Further, the described output that the second FXS in the described voip network terminal equipment is set accounts for the second time slot, and the input of this second FXS accounts for the first time slot, is specially:
The output that the second FXS in the described voip network terminal equipment is set accounted for for the 2nd channel time slot, and the input of this second FXS accounted for for the 0th channel time slot.
Again further, described respectively input test signal in each described phone, verify to may further comprise the steps the transfer function of PCM passage between described the first FXS and the second FXS:
(41) input test signal in described the first phone;
Whether the test signal of (42) inputting in output signal and described first phone of described the second phone of test is consistent, if so, then continues step (43), if not, then points out test crash, and then end is withdrawed from;
(43) input test signal in described the second phone;
Whether the test signal of (44) inputting in output signal and described second phone of described the first phone of test is consistent, if so, then points out and tests successfully, if not, then points out test crash.
Adopted and realized the method that the PCM channel abnormal detects in the voip network terminal equipment in this invention, had following beneficial effect:
The method of SLIC chip PCM channel abnormal on a kind of easy detection voip network terminal equipment is provided, can tentatively get rid of SLIC chip pcm bus hardware problem, the hardware problem of getting rid of the PCM passage of SLIC chip, ensure the stable transfer of PCM data, and then the normal steady operation of guarantee voip network terminal equipment, easy and simple to handle, be easy to realize to have widely range of application.
Description of drawings
Fig. 1 is the flow chart of realizing the method that the PCM channel abnormal detects in the voip network terminal equipment of the present invention.
Embodiment
In order more clearly to describe technology contents of the present invention, conduct further description below in conjunction with specific embodiment.
Technical scheme of the present invention is, on detecting the voip network terminal equipment during SLIC chip PCM channel abnormal, adopt the sample frequency of 8kHz by FS frame signal, every road voice took for 2 channel time slots, take 16bit sample as example, the frequency range hypothesis adopts narrow-band, accounted for for the 0th channel time slot by the PCM DX that first via voice mouth FXS1 is set under serial ports, DR accounted for for the 2nd channel time slot, the PCM DX that the second road voice mouth FXS2 is set accounted for for the 2nd channel time slot, DR accounted for for the 0th channel time slot, the thereby the so that the 0th, the data of the DX of FXS1 output just are input to the DR of FXS2 on the 1 channel time slot pcm bus, the data of the DX of FXS2 output just are input to the DR of FXS1 on the 2nd, the 3 channel time slot pcm bus, thereby realize that FXS1 and FXS2 mouth directly connect pcm stream behind the two-way receiver off-book, thereby whether the PCM passage that detects the SLIC chip by call scenarios is normal, and then gets rid of the hardware problem of SLIC PCM passage.Wherein, FXS refers to FXS, is responsible for connecting between digital telephone exchange system and the subscriber phone.
Be illustrated in figure 1 as the flow chart of realizing the method that the PCM channel abnormal detects in the voip network terminal equipment of the present embodiment.
In the present embodiment, realize in this voip network terminal equipment that the method that the PCM channel abnormal detects may further comprise the steps:
(0) sample frequency that the PCM passage in the described voip network terminal equipment is set is 8kHz, and every road voice signal accounted for for 2 channel time slots;
(1) DX that the FXS1PCM of SLIC chip on the voip network terminal equipment is set accounted for for the 0th channel time slot, and DR accounted for for the 2nd channel time slot;
(2) DX that the FXS2PCM of SLIC chip on the voip network terminal equipment is set accounted for for the 2nd channel time slot, and DR accounted for for the 0th channel time slot;
Guarantee that the output data DX of FXS1 and the input data DR of FXS2 take identical time slot, the input data DR of FXS1 and the output data DX of FXS2 take identical time slot.
The data of the DX output of FXS1 just are input to the DR of FXS2 on this moment the 0th, the 1 channel time slot pcm bus, and the data of the DX output of FXS2 just are input to the DR of FXS1 on the 2nd, the 3 channel time slot pcm bus.
Whether (3) two receiver off-books are connected phone, can directly connect pcm stream, can normal by the PCM passage of phone conversation situation checking SLIC;
The method of concrete checking is as follows:
(4) input test signal successively in each described phone is respectively verified the transfer function of PCM passage between described the first FXS and the second FXS.
Described respectively input test signal successively in each described phone, verify to may further comprise the steps the transfer function of PCM passage between described the first FXS and the second FXS:
(41) input test signal in described the first phone;
Whether the test signal of (42) inputting in output signal and described first phone of described the second phone of test is consistent, if so, then continues step (43), if not, then points out test crash, and then end is withdrawed from;
(43) input test signal in described the second phone;
Whether the test signal of (44) inputting in output signal and described second phone of described the first phone of test is consistent, if so, then points out and tests successfully, if not, then points out test crash.
Adopted and realized the method that the PCM channel abnormal detects in the voip network terminal equipment in this invention, had following beneficial effect:
The method of SLIC chip PCM channel abnormal on a kind of easy detection voip network terminal equipment is provided, can tentatively get rid of SLIC chip pcm bus hardware problem, the hardware problem of getting rid of the PCM passage of SLIC chip, ensure the stable transfer of PCM data, and then the normal steady operation of guarantee voip network terminal equipment, easy and simple to handle, be easy to realize to have widely range of application.
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 (5)

1. realize the method that the PCM channel abnormal detects in a voip network terminal equipment, it is characterized in that, described method may further comprise the steps:
(1) output that the first FXS in the described voip network terminal equipment is set accounts for the first time slot, and the input of this first FXS accounts for the second time slot;
(2) output that the second FXS in the described voip network terminal equipment is set accounts for the second time slot, and the input of this second FXS accounts for the first time slot;
(3) with corresponding the first phone of described first external switch and corresponding the second receiver off-book of second external switch;
(4) input test signal in each described phone is respectively verified the transfer function of PCM passage between described the first FXS and the second FXS.
2. realize the method that the PCM channel abnormal detects in the voip network terminal equipment according to claim 1, it is characterized in that, the described output that the first FXS in the described voip network terminal equipment is set accounts for the first time slot, the input of this first FXS accounts for before the second time slot, and is further comprising the steps of:
(0) sample frequency that the PCM passage in the described voip network terminal equipment is set is 8kHz, and every road voice signal accounted for for 2 channel time slots.
3. realize the method that the PCM channel abnormal detects in the voip network terminal equipment according to claim 2, it is characterized in that, the described output that the first FXS in the described voip network terminal equipment is set accounts for the first time slot, the input of this first FXS accounts for the second time slot, is specially:
The output that the first FXS in the described voip network terminal equipment is set accounted for for the 0th channel time slot, and the input of this first FXS accounted for for the 2nd channel time slot.
4. realize the method that the PCM channel abnormal detects in the voip network terminal equipment according to claim 3, it is characterized in that, the described output that the second FXS in the described voip network terminal equipment is set accounts for the second time slot, the input of this second FXS accounts for the first time slot, is specially:
The output that the second FXS in the described voip network terminal equipment is set accounted for for the 2nd channel time slot, and the input of this second FXS accounted for for the 0th channel time slot.
5. realize the method that the PCM channel abnormal detects in the voip network terminal equipment according to claim 4, it is characterized in that, described respectively input test signal in each described phone, verify the transfer function of PCM passage between described the first FXS and the second FXS, may further comprise the steps:
(41) input test signal in described the first phone;
Whether the test signal of (42) inputting in output signal and described first phone of described the second phone of test is consistent, if so, then continues step (43), if not, then points out test crash, and then end is withdrawed from;
(43) input test signal in described the second phone;
Whether the test signal of (44) inputting in output signal and described second phone of described the first phone of test is consistent, if so, then points out and tests successfully, if not, then points out test crash.
CN2013102849244A 2013-07-08 2013-07-08 Method for realizing anomaly detection of PCM (Pulse Code Modulation) channel in VoIP (Voice over Internet Protocol) network terminal equipment Pending CN103327149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102849244A CN103327149A (en) 2013-07-08 2013-07-08 Method for realizing anomaly detection of PCM (Pulse Code Modulation) channel in VoIP (Voice over Internet Protocol) network terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102849244A CN103327149A (en) 2013-07-08 2013-07-08 Method for realizing anomaly detection of PCM (Pulse Code Modulation) channel in VoIP (Voice over Internet Protocol) network terminal equipment

Publications (1)

Publication Number Publication Date
CN103327149A true CN103327149A (en) 2013-09-25

Family

ID=49195668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102849244A Pending CN103327149A (en) 2013-07-08 2013-07-08 Method for realizing anomaly detection of PCM (Pulse Code Modulation) channel in VoIP (Voice over Internet Protocol) network terminal equipment

Country Status (1)

Country Link
CN (1) CN103327149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447330A (en) * 2020-03-04 2020-07-24 深圳震有科技股份有限公司 Audio fault detection method, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489306A (en) * 2002-10-10 2004-04-14 华为技术有限公司 Measuring device
CN101489004A (en) * 2009-03-03 2009-07-22 中兴通讯股份有限公司 Remote diagnosis method and system for VoIP terminal
CN101662542A (en) * 2008-08-26 2010-03-03 福建星网锐捷通讯股份有限公司 System and method for testing foreign exchange station interface
CN101754259A (en) * 2009-12-08 2010-06-23 三维通信股份有限公司 System and method for auto-dial testing GSM (global system for mobile communications) voice quality
CN102055631A (en) * 2010-12-30 2011-05-11 北京佳讯飞鸿电气股份有限公司 Remote dispatching desk access method based on PCM (pulse code modulation)
US20130021899A1 (en) * 2011-07-20 2013-01-24 Adc Dsl Systems, Inc. M-pair mode protection switching

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489306A (en) * 2002-10-10 2004-04-14 华为技术有限公司 Measuring device
CN101662542A (en) * 2008-08-26 2010-03-03 福建星网锐捷通讯股份有限公司 System and method for testing foreign exchange station interface
CN101489004A (en) * 2009-03-03 2009-07-22 中兴通讯股份有限公司 Remote diagnosis method and system for VoIP terminal
CN101754259A (en) * 2009-12-08 2010-06-23 三维通信股份有限公司 System and method for auto-dial testing GSM (global system for mobile communications) voice quality
CN102055631A (en) * 2010-12-30 2011-05-11 北京佳讯飞鸿电气股份有限公司 Remote dispatching desk access method based on PCM (pulse code modulation)
US20130021899A1 (en) * 2011-07-20 2013-01-24 Adc Dsl Systems, Inc. M-pair mode protection switching

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447330A (en) * 2020-03-04 2020-07-24 深圳震有科技股份有限公司 Audio fault detection method, terminal and storage medium

Similar Documents

Publication Publication Date Title
KR20010084869A (en) Internet based telephone apparatus
CN101422028A (en) Techniques for facilitating emergency calls
CN1118166C (en) Speech transmission between terminals in different networks
CN102271196B (en) Communication system with low bit rate voice gateway
CN102800318B (en) The transmission of audio data stream, receiving trap and method
Abualhaj et al. Effective Voice Frame Pruning Method to Increase VoIP Call Capacity.
CN104050288A (en) Calling method and system based on web browser and soft switch server
US20110235632A1 (en) Method And Apparatus For Performing High-Quality Speech Communication Across Voice Over Internet Protocol (VoIP) Communications Networks
CN103327149A (en) Method for realizing anomaly detection of PCM (Pulse Code Modulation) channel in VoIP (Voice over Internet Protocol) network terminal equipment
CN101282284B (en) Gateway-across dual-tone multi-frequency conveying method and apparatus
CN210016520U (en) Voice conversion processing device suitable for Ethernet transmission
CN204350045U (en) A kind of signal transmission apparatus of IP phone
US7313233B2 (en) Tone clamping and replacement
CN101442575A (en) Method for implementing network voice system
WO2006050655A1 (en) A voice quality testing method and testing apparatus of ip telephone
CN106302073A (en) A kind of method and apparatus realizing calling
CN213342350U (en) Ethernet-analog telephone transmission equipment
JP6314550B2 (en) Communication apparatus and IP telephone system
CN100579160C (en) Obtain the method that the media gateway impulse coding modulation code stream carries out voice quality analysis
JP2019161342A (en) Rtp conversion device and rtp conversion method
CN207099227U (en) One kind chat networking telephone
EP1295444A1 (en) Method to reduce the distortion in a voice transmission over data networks
KR100620490B1 (en) Apparatus of servicing data of voice communication system and method thereof
WO2010015210A1 (en) Device and method of realizing official call by master control board
CN100350791C (en) Method for realizing network IP telephone function using cable television digital set-top box

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130925

RJ01 Rejection of invention patent application after publication