[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN100382514C - Voice quality testing method for network voice device - Google Patents

Voice quality testing method for network voice device Download PDF

Info

Publication number
CN100382514C
CN100382514C CNB2005100018307A CN200510001830A CN100382514C CN 100382514 C CN100382514 C CN 100382514C CN B2005100018307 A CNB2005100018307 A CN B2005100018307A CN 200510001830 A CN200510001830 A CN 200510001830A CN 100382514 C CN100382514 C CN 100382514C
Authority
CN
China
Prior art keywords
network
port
line
speech
speech apparatus
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.)
Expired - Fee Related
Application number
CNB2005100018307A
Other languages
Chinese (zh)
Other versions
CN1805380A (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.)
Comtrend Corp
Original Assignee
Comtrend Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comtrend Corp filed Critical Comtrend Corp
Priority to CNB2005100018307A priority Critical patent/CN100382514C/en
Publication of CN1805380A publication Critical patent/CN1805380A/en
Application granted granted Critical
Publication of CN100382514C publication Critical patent/CN100382514C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

本发明提出一种测试网络语音装置的方法,该方法不需要购置昂贵的特殊测试设备,也不限于一定要在被测的网络语音装置的附近实施,被测的网络语音装置内部也不需要特别的硬件上的安排,只需要简单的连线,本发明提出的方法更可以同时用来测试接口品质以及线路品质,而不需要准备两套不同的测试设备和环境。本发明提出的方法可以通过局域网络、以及广域网络(像是公众网际网络)进行,所以被测的网络语音装置可以是位于任何通过公众网际网络所能达到的地点。

Figure 200510001830

The present invention provides a method for testing a network voice device. The method does not require the purchase of expensive special test equipment, nor is it limited to being implemented near the network voice device being tested. The network voice device being tested does not require special hardware arrangements, only simple wiring is required. The method provided by the present invention can also be used to test interface quality and line quality at the same time without preparing two different sets of test equipment and environments. The method provided by the present invention can be performed through a local area network and a wide area network (such as the public Internet), so the network voice device being tested can be located at any location that can be reached through the public Internet.

Figure 200510001830

Description

网络语音装置语音品质测试方法 Voice Quality Testing Method for Internet Voice Devices

技术领域 technical field

本发明是关于检测网络语音装置,尤其是有关于检测网络语音装置语音品质的方法。The invention relates to detecting network voice devices, in particular to a method for detecting voice quality of network voice devices.

背景技术 Background technique

随着网际网络的风行与成长,各种崭新的网络应用不断的出现,也对人们的生活产生许多新的变化与冲击。在这些崭新的网络应用中,其中最引人注目的就是各种名为网络电话、Voice over IP(VoIP)、IP电话的装置、系统、或软件。以下,为了统一起见,统称这些使双方得通过网际网络交谈通话的技术或做法为网络语音。With the popularity and growth of the Internet, various brand-new network applications continue to appear, which also have many new changes and impacts on people's lives. Among these new network applications, the most eye-catching ones are various devices, systems, or software called VoIP, Voice over IP (VoIP), and IP telephony. Hereinafter, for the sake of uniformity, these technologies or practices that enable both parties to talk and talk through the Internet are collectively referred to as VoIP.

网络语音之所以有逐渐取代传统、经由公众电话交换网络(publicswitched telephone network,PSTN)通话的趋势,主要是由于经济的因素。传统的PSTN通话一般是以每次通话受话方所在的地点与通话时间长短来计费的,而网络语音因为网际网络已经打破了距离与国家、区域的界限,而且网络服务业者也不针对属于网络语音的资料流量收费,因此网络语音的成本非常低廉。但是过去因为网络频宽的有限、相关技术未甄完善、协议标准的不一等,网络语音只是属于一些玩家之间的游戏,还无法进入家庭、办公室等环境成为人们生活中可靠的通迅媒介。The reason why VoIP gradually replaces traditional calls via the public switched telephone network (PSTN) is mainly due to economic factors. Traditional PSTN calls are generally billed based on the location of the callee and the length of the call. VoIP has broken the boundaries of distance, country, and region because of the Internet, and network service providers do not target users who belong to it. The data traffic of VoIP is charged, so the cost of VoIP is very low. However, in the past, due to limited network bandwidth, undeveloped related technologies, and different protocol standards, Internet voice was only a game among some players, and it could not enter the home, office and other environments to become a reliable communication medium in people's lives. .

近年来,这些限制网络语音成长的因素一一的被解决,而网络语音的应用也开始呈现爆炸性的成长。但是无论如何,传统的电话已经存在有百年以上,传统的电话就像水电一样已经是人们生活的一部份,一般的家户中都至少有一台以上的传统电话、都有已经布设好的内部网络、还有类似录音机、传真机的装置。所以目前市面上成长最快的是一端衔接网络、一端衔接传统电话的网络语音装置。如第1a图所示,这类网络语音装置100具有一个网络端口110(通常是属于RJ-45的插口),以通过一个局域网络(未标号)、以及像是ADSL调制解调器120、Cable调制解调器等装置与公众网际网络800联机,此外这个网络语音装置100还具有至少一个话机端口(通常是属于RJ-11的插口)130以衔接一般的电话机140。使用者可以像使用传统电话一般,拿起听筒、通过装置的一个使用接口(未图标)或是话机的数字按键来拨号、然后等待对方接听。对方则通过一个和网络语音装置100相同或兼容的装置150来应答。网络语音装置100还可以有另一个线路端口160与公众电话交换网络900连接,以便和传统电话机一样发话给使用传统电话网络的受话方。人们的语音是连续的模拟信号,网络语音是将这个连续的模拟信号数字化、压缩、编码,然后以一个个的分别的数据封包依序传送出去。反之,在接收端将这些数据封包依序收集起来、译码、然后转为人耳可听的连续模拟信号。在这些转换的过程,再加上封包通过网络传输所经历的各种延迟或者丢失等传输上的状况,都会影响通话双方所感受到的通话品质。传统上,这些网络语音装置的品质,主要可以分为接口品质(interface quality)与线路品质(linequality)两大部分。前者主要是有关于网络语音装置所产生的语音的电气信号的品质,包括像是插入损失(insertion loss)、总谐波失真(total harmonydistortion,THD)、互调失真(inter-modulation distortion,IMD)、噪音值、信噪比(S/N ratio)等。后者则和网络语音装置承受与补偿封包传送的延迟、封包与封包之间间隔的变化(jitter)、封包的损坏与丢失的能力有关。In recent years, these factors that limit the growth of VoIP have been solved one by one, and the application of VoIP has also begun to show explosive growth. But in any case, traditional telephones have existed for more than a hundred years. Traditional telephones are already a part of people’s lives just like water and electricity. There are at least one traditional telephone in a general household, and there are already installed interiors. Internet, and devices like tape recorders and fax machines. Therefore, the fastest growing device on the market is the VoIP device with one end connected to the Internet and the other end connected to the traditional telephone. As shown in Figure 1a, this type of VoIP device 100 has a network port 110 (usually an RJ-45 jack) to pass through a local area network (not numbered), and devices such as ADSL modem 120, Cable modem, etc. It is connected to the public Internet 800 . In addition, the VoIP device 100 also has at least one phone port (usually an RJ-11 jack) 130 to connect to a general phone 140 . Like using a traditional telephone, the user can pick up the handset, dial a number through an interface (not shown) of the device or the number keys of the phone, and then wait for the other party to answer. The other party answers through a device 150 that is the same as or compatible with the VoIP device 100 . The VoIP device 100 can also have another line port 160 connected to the public switched telephone network 900, so as to send a call to the receiver using the traditional telephone network like a traditional telephone. People's speech is a continuous analog signal. Internet voice digitizes, compresses, and encodes this continuous analog signal, and then transmits it sequentially in separate data packets. On the contrary, these data packets are collected sequentially at the receiving end, decoded, and then converted into a continuous analog signal audible to the human ear. During these conversion processes, coupled with various transmission conditions such as delays or losses experienced by packets transmitted through the network, it will affect the call quality experienced by both parties in the call. Traditionally, the quality of these VoIP devices can be mainly divided into two parts: interface quality and line quality. The former is mainly related to the quality of the electrical signal of the voice generated by the VoIP device, including insertion loss (insertion loss), total harmonic distortion (total harmonic distortion, THD), intermodulation distortion (inter-modulation distortion, IMD) , noise value, signal-to-noise ratio (S/N ratio), etc. The latter is related to the VoIP device's ability to withstand and compensate for delays in packet delivery, jitter between packets, damage and loss of packets.

传统上要检测网络语音装置这两方面的品质通常需要购买昂贵与专属的设备,还需要对于待测的网络语音装置设置一些特殊的安排。以第1a图所示的网络语音装置100为例,如果要测试接口品质,如第1b图所示,一个专属的测试设备170直接和网络语音装置100的话机和线路端口130、160用RJ-11的缆线(未标号)连接。网络语音装置100的内部还需要安排一个话机端口和线路端口130、160之间的回接(loop back)(图中以虚线表示)。在进行测试时,测试设备170通过线路端口160送出特殊的测试信号进入网络语音装置100,测试信号经由回接、话机端口130回送到测试设备170。测试设备170借着比对当初送出的、以及后来收回的测试信号,就可以计算出相关的接口品质参数。除了特殊测试设备的投资、还有待测装置的回路的设置以外,这种测试方法还有其它的缺点,像是测试设备一定要和待测装置位于同一地点且相隔不能太远,才能将两者连结起来。如果待测装置位于另一地点,那么就会需要将测试设备搬到当地来进行测试。Traditionally, it is necessary to purchase expensive and exclusive equipment to test the quality of these two aspects of the VoIP device, and it is also necessary to set some special arrangements for the VoIP device to be tested. Taking the VoIP device 100 shown in Figure 1a as an example, if the quality of the interface is to be tested, as shown in Figure 1b, a dedicated test device 170 is directly connected to the phone and line ports 130, 160 of the VoIP device 100 using RJ- 11 cables (not numbered) are connected. It is also necessary to arrange a loop back (loop back) between the telephone port and the line port 130, 160 inside the VoIP device 100 (shown by a dotted line in the figure). When performing a test, the test equipment 170 sends a special test signal through the line port 160 into the VoIP device 100 , and the test signal is sent back to the test equipment 170 through the return connection and the telephone port 130 . The test equipment 170 can calculate the relevant interface quality parameters by comparing the test signals sent initially and received later. In addition to the investment of special test equipment and the setting of the circuit of the device under test, this test method has other disadvantages, such as the test equipment and the device under test must be located at the same place and not too far apart, in order to connect the two are connected. If the device under test is located at another location, then the test equipment will need to be moved there for testing.

如果是测试线路品质,如第1c图所示,就更复杂了,需要另外的特殊测试设备180、190,分别和网络语音装置100和150的话机端口130连接。特殊的测试设备180发出一些已知的测试信号,经由网络语音装置100、公众网际网络或是一个模拟的网络810(可以提供不同程度的延迟、封包丢失率等)、网络语音装置150到达测试设备190。然后经由比对已知的测试信号,就可以得到相关的品质数据。除了特殊测试设备的投资、还有模拟网络的设置以外,这种测试方法也有其它的缺点,像是测试设备一定要和待测装置位于同一地点且相隔不能太远,才能将两者连结起来。If it is to test the line quality, as shown in FIG. 1c, it is more complicated, and additional special test equipment 180, 190 is required to be connected to the telephone port 130 of the VoIP devices 100 and 150 respectively. Special test equipment 180 sends out some known test signals, via VoIP device 100, the public Internet or a simulated network 810 (can provide different degrees of delay, packet loss rate, etc.), VoIP device 150 to the test device 190. Then by comparing known test signals, relevant quality data can be obtained. In addition to the investment in special test equipment and the setup of a simulated network, this test method also has other disadvantages. For example, the test equipment and the device under test must be located at the same place and not too far apart to connect the two.

发明内容 Contents of the invention

为了克服公知的测试网络语音装置的缺点,本发明提出一种测试网络语音装置的方法,该方法不需要购置昂贵的特殊测试设备,也不限于一定要在被测的网络语音装置的附近实施,被测的网络语音装置内部也不需要特别的硬件上的安排,只需要简单的联机,本发明提出的方法还可以同时用来测试接口品质以及线路品质,而不需要准备两套不同的测试设备和环境。In order to overcome the shortcoming of known testing VoIP device, the present invention proposes a kind of method of testing VoIP device, this method does not need to buy expensive special test equipment, is not limited to must implement near the VoIP device under test, The VoIP device under test does not require any special hardware arrangements, only a simple connection is required. The method proposed by the present invention can also be used to test the quality of the interface and the quality of the line at the same time, without the need to prepare two sets of different test equipment and environment.

本发明所提出的测试方法,可以软件模块的方式在一般的运算装置上执行。这个运算装置是通过一个标准的局域网络和被测的网络语音装置联机,然后经由这个软件的执行来进行测试。只要将一或多个待测的网络语音装置连接在这个局域网络上后,就可以以本发明提出的方法一一加以测试,所以测试的环境以及设置非常简单,也不需要对被测的网络语音装置实施什么修改。The test method proposed by the present invention can be executed on a general computing device in the form of a software module. The computing device is connected to the VoIP device under test through a standard local area network, and then the test is performed through the execution of the software. As long as one or more VoIP devices to be tested are connected to this local area network, they can be tested one by one by the method proposed by the present invention, so the test environment and settings are very simple, and it is not necessary to test the network voice devices under test. What modification does the speech device implement.

除了局域网络以外,本发明提出的方法也可以通过广域网络(像是公众网际网络)进行,所以被测的网络语音装置可以是位于任何通过公众网际网络所能达到的地点,所以本发明可以用来对安装在远程客户环境里的网络语音装置来进行测试,而不需要派遣人员、携带装置到客户所在地来进行测试。Except local area network, the method that the present invention proposes also can be carried out by wide area network (like public Internet), so the VoIP device tested can be positioned at any place that can be reached by public Internet, so the present invention can be used to test VoIP devices installed in remote customer environments without the need to send personnel carrying devices to customer locations for testing.

本发明所提出的方法可以适用于具有一或多个话机端口的网络语音装置,也可以适用于没有、或者是有线路端口的网络语音装置。以最常见的具有一个话机端口以及一个线路端口的网络语音装置为例,只要用一个标准的RJ-11缆线将这二个端口串接起来,就可以进行接口品质与线路品质的相关测试,而不需要架设两套不同的环境。The method proposed by the present invention can be applied to the VoIP device with one or more telephone ports, and can also be applied to the VoIP device without or with a line port. Taking the most common VoIP device with one phone port and one line port as an example, as long as the two ports are connected in series with a standard RJ-11 cable, the related tests of interface quality and line quality can be carried out. There is no need to set up two different environments.

兹配合所附图标、实施例详细说明及申请专利的保护范围,将上述及本发明的其它目的与优点在后面详述。然而,所附图标纯是为说明本发明而标注,不应当视为用于限定本发明的保护。有关本发明的保护范围,请参照所附的权利要求中的专利范围。The above and other purposes and advantages of the present invention will be described in detail below in conjunction with the accompanying diagrams, detailed descriptions of the embodiments and the protection scope of the patent application. However, the attached icons are marked purely for illustrating the present invention, and should not be regarded as limiting the protection of the present invention. For the protection scope of the present invention, please refer to the patent scope in the appended claims.

附图说明 Description of drawings

图1a是公知的网络语音装置的联机示意图。FIG. 1a is a schematic diagram of connection of a known VoIP device.

图1b是公知的网络语音装置测试接口品质的联机示意图。FIG. 1b is a schematic diagram of connection of a known voice over network device testing interface quality.

图1c是公知的网络语音装置测试线路品质的联机示意图。FIG. 1c is a connection schematic diagram of a known VoIP device testing line quality.

图2a是依据本发明的第一实施例架构于一局域网络的示意图。FIG. 2a is a schematic diagram of a local area network according to the first embodiment of the present invention.

图2b是依据本发明的第二实施例架构于一局域网络的示意图。FIG. 2b is a schematic diagram of a second embodiment of the present invention based on a local area network.

图2c是依据本发明的第三实施例架构于一局域网络的示意图。FIG. 2c is a schematic diagram of a third embodiment of the present invention based on a local area network.

图2d是依据本发明的第四实施例架构于一广域网络的示意图。FIG. 2d is a schematic diagram of a fourth embodiment of the present invention based on a wide area network.

图3是依据本发明的第五实施例的一耦合装置的示意图。FIG. 3 is a schematic diagram of a coupling device according to a fifth embodiment of the present invention.

图中in the picture

100  网络语音装置                 110  网络端口100 VoIP device 110 Network port

120  ADSL调制解调器               130  话机端口120 ADSL modem 130 phone port

140  电话机                       150  网络语音装置140 Telephone 150 VoIP device

160  线路端口                     170  测试设备160 Line ports 170 Test equipment

180  测试设备                     190  测试设备180 Test Equipment                     190 Test Equipment

200  网络语音装置                 202  网络端口200 VoIP device 202 Network port

210  测试程序                     212  使用接口210 Test procedure 212 Use interface

214  测试数据产生模块             216  数据分析模块214 Test data generation module 216 Data analysis module

220  有线以太局域网络             230  网络语音装置220 Wired Ethernet Local Area Network 230 VoIP Device

232  线路端口                     234  话机端口232 Line port 234 Phone port

236  网络端口                     238  编码译码模块236 Network port 238 Encoding and decoding module

240  RJ11缆线                     250  网络语音装置240 RJ11 cable 250 VoIP device

300  耦合装置                     310  网络语音装置300 Coupling device 310 VoIP device

312  话机端口                     314  话机端口312 phone port 314 phone port

322  Tip导线                      324  Ring导线322 Tip wire                                                                                                                        

332  Tip导线                334  Ring导线332 Tip Wire 334 Ring Wire

800  公众网际网络           810  模拟网络800 Public Internet Network 810 Analog Network

900  公众电话交换网络900 Public Switched Telephone Network

具体实施方式 Detailed ways

本发明提出的测试网络语音装置的方法,可以是以一种软件模块的方式安装于一般的运算装置上执行。这个运算装置包括(但不限于)桌上型计算机、笔记型计算机、甚至PDA。本发明所提出的方法也可是以固体的方式实施于一个专属的独立装置里。这些独立或运算装置的特征是需要具有一个网络接口,可以和待测的网络语音装置通过一个网络相通信。通常这个网络接口是一个RJ-45的网络端口,然后运算装置和待测的网络语音装置是通过一个有线的以太网络相连接。在其它的实施例里,网络接口也可以是一个光纤的接口、或是一个支持802.11协议的无线网络。也就是说,本发明不限定使用哪一种特定的和待测网络语音装置联机的方式和网络,只要能达成运算装置和待测语音装置联机的各种网络接口与网络都可以。The method for testing the VoIP device proposed by the present invention can be installed on a general computing device in the form of a software module for execution. Such computing devices include (but are not limited to) desktop computers, notebook computers, and even PDAs. The method proposed by the present invention can also be implemented in a dedicated independent device in a solid state. The feature of these independent or computing devices is that they need to have a network interface, which can communicate with the VoIP device to be tested through a network. Usually the network interface is an RJ-45 network port, and then the computing device and the VoIP device to be tested are connected through a wired Ethernet network. In other embodiments, the network interface may also be an optical fiber interface, or a wireless network supporting the 802.11 protocol. That is to say, the present invention does not limit the specific method and network used for connecting the voice device under test, as long as various network interfaces and networks can be used to connect the computing device and the voice device under test.

图2a是依据本发明的第一实施例架构于一局域网络的示意图。如图2a所示,本发明所提出的方法是以一测试程序210的形式安装于运算装置200里。测试程序210主要包含使用接口212、测试数据产生模块214、以及数据分析模块216。当测试程序210被执行起来后,使用接口212容许使用者通过运算装置200的键盘、屏幕(未图标)等输入相关的测试参数、激活测试的执行、以及将测试的结果呈现出来。运算装置200有诸多细节被省略,例如处理器、内存、总线、硬盘、操作系统等,因为这些细节应为此一领域具一般普通技术人员所熟知,故于此不再赘述。FIG. 2a is a schematic diagram of a local area network according to the first embodiment of the present invention. As shown in FIG. 2 a , the method proposed by the present invention is installed in the computing device 200 in the form of a test program 210 . The test program 210 mainly includes a user interface 212 , a test data generation module 214 , and a data analysis module 216 . After the test program 210 is executed, the user interface 212 allows the user to input relevant test parameters, activate test execution, and display test results through the keyboard and screen (not shown) of the computing device 200 . Many details of the computing device 200 are omitted, such as processor, memory, bus, hard disk, operating system, etc., because these details should be well known to those skilled in the art, so they are not repeated here.

运算装置200是以一网络端口202和一有线以太局域网络220联机。测试数据产生模块214是产生一系列特定的测试数据封包(未图标),经由网络端口202以及局域网络220传送给被测的网络语音装置230,经由网络语音装置230处理过的封包会经由局域网络220以及网络端口202而由数据分析模块216所接收并与先前送出去的一系列测试封包加以比对分析,而得出有关网络语音装置230的品质分析。局域网络220也有相当的细节被省略,比如说构成局域网络220一部份的交换器等。The computing device 200 is connected with a network port 202 and a wired Ethernet LAN 220 . The test data generation module 214 generates a series of specific test data packets (not shown), and transmits them to the VoIP device 230 under test via the network port 202 and the local area network 220, and the packets processed by the VoIP device 230 will pass through the local area network. 220 and the network port 202 are received by the data analysis module 216 and compared with a series of test packets previously sent out to analyze the quality of the VoIP device 230 . The local area network 220 also has considerable details omitted, such as switches forming part of the local area network 220 .

被测的网络语音装置230具有一个线路端口232和一个话机端口234。这是最常见的一种小型的网络语音设备。线路端口232一般是具有所谓FXO的接口,也就是一般话机对局端的接口,具有接收振铃(ring)信号、挂断(on-hook)、接听(off-hook)、发出DTMF的按键音的功能,是用来和公众电话交换网络联机的接口。话机端口234一般是具有所谓FXS的接口,也就是局端对话机的接口,具有提供回路电流(loop current)、发出振聆信号、提供拨号音(dial tone)、侦测挂断与接听的功能,是用来和话机联机的接口。The VoIP device 230 under test has a line port 232 and a phone port 234 . This is the most common small VoIP device. The line port 232 generally has the so-called FXO interface, that is, the interface of the general telephone set to the central office, and has functions for receiving ringing (ring) signals, hanging up (on-hook), answering (off-hook), and sending out DTMF key sounds. The function is an interface used to connect with the public telephone switching network. The phone port 234 generally has a so-called FXS interface, that is, the interface of the central office dialogue phone, which has the functions of providing loop current, sending out vibration signals, providing dial tone, and detecting hangup and answering. , is the interface used to connect with the phone.

这里请注意到,一般网络语音装置230的线路端口232具有两种作用,一是容许一个连接于话机端口234的话机直接发话到线路端口232所连接的公众电话交换网络,另一是容许从网络端口236进来的一通网络语音来话转接到线路端口232所连接的公众电话交换网络。对于后者,网络语音来话的最早的封包里会记录有所要拨号到公众电话交换网络的受话方电话号码,网络语音装置230收到这个封包后,就会透过线路端口232的FXO接口,仿真一般电话拿起话筒(off-hook)、侦测拨号音、发出代表受话方电话号码的按键音、然后将受话方和发话方经过编码译码模块238连结起来。另一方面,经由话机端口234发话到网际网络的另一个相同或兼容装置的方式是,当话机端口234所连接的电话话筒被拿起时(off-hook),话机端口234的FXS接口侦测到这个状况后提供拨号音给话机端口234所连接的电话,这个时候发话人可以直接用电话的按键输入对方相同或兼容装置的网络地址,网络语音装置230然后会将发话的电话、经由话机端口234、编码译码模块238,和对方的装置连结起来。Please note here that the line port 232 of the general VoIP device 230 has two functions, one is to allow a phone connected to the phone port 234 to directly send a call to the public switched telephone network connected to the line port 232, and the other is to allow a call from the network An incoming VoIP call at port 236 is forwarded to the public switched telephone network connected to line port 232 . For the latter, the earliest packet of the VoIP incoming call will record the telephone number of the recipient to be dialed to the public switched telephone network. After the VoIP device 230 receives this packet, it will pass through the FXO interface of the line port 232 , simulating a general telephone to pick up the handset (off-hook), detect the dial tone, send out a key tone representing the phone number of the called party, and then connect the called party and the calling party through the encoding and decoding module 238 . On the other hand, another way to send a call to the same or compatible device on the Internet via the phone port 234 is that when the handset of the phone connected to the phone port 234 is picked up (off-hook), the FXS interface of the phone port 234 detects After this situation, a dial tone is provided to the phone connected to the phone port 234. At this time, the caller can directly use the keys of the phone to input the network address of the same or compatible device of the other party, and the VoIP device 230 will send the calling phone through the phone port. 234. The encoding and decoding module 238 is connected with the other party's device.

如图2a图所示,线路端口232和话机端口234之间是以一条RJ11缆线240连接。这样一个简单的联机再加上FXS与FXO接口的特性就完成了一个简单的回接(loop back)的联机。在这样的回接下,对线路端口232而言,话机端口234扮演了公众电话交换网络的角色,而对话机端口234而言,线路端口232扮演了话机的角色。As shown in FIG. 2 a , the line port 232 and the phone port 234 are connected by an RJ11 cable 240 . Such a simple connection plus the characteristics of the FXS and FXO interfaces completes a simple loop back connection. Under such back connection, for the line port 232, the telephone port 234 plays the role of the public telephone switching network, and for the telephone port 234, the line port 232 plays the role of the telephone.

本发明提出的测试方法运作方式说明如下。首先,测试数据产生模块214产生的测试封包里注明了要通过线路端口232发话给公众电话交换网络的某个电话号码,这个电话号码其实就是运算装置200的网络地址。这个测试封包然后被发送给网络语音装置230。网络语音装置230收到这个封包后,依照前述FXO接口的流程,先是模拟一般电话拿起话筒(提机、off-hook),经由回接的线路240,话机端口234侦测到提机,于是发出拨号音,线路端口232侦测到拨号音后,将运算装置200的网络地址的电话号码用DTMF的按键音发出,话机端口234收到这个网络地址后,即试图与这个网络地址所在的运算装置200建立起网络语音通话的管道。至此,网络运算装置200、与网络语音装置即构成了一个如图2a中虚线所示的测试回路。The operation mode of the test method proposed by the present invention is described as follows. Firstly, the test packet generated by the test data generation module 214 indicates a telephone number to be sent to the public switched telephone network through the line port 232 , and this telephone number is actually the network address of the computing device 200 . This test packet is then sent to the VoIP device 230 . After VoIP device 230 receives this packet, according to the flow of the aforementioned FXO interface, it first picks up the handset (off-hook, off-hook) by simulating a normal telephone, and detects off-hook via the line 240 connected back, and the phone port 234, so Send a dial tone, after the line port 232 detects the dial tone, the telephone number of the network address of the computing device 200 is sent out with a DTMF key tone, after the phone port 234 receives the network address, it tries to communicate with the network address where the network address is located. The device 200 establishes a channel for voice over Internet calls. So far, the network computing device 200 and the network voice device constitute a test loop as shown by the dotted line in FIG. 2a.

接下来,测试数据产生模块214继续产生与送出特定的测试数据封包,这些封包经由虚线所示的路径,先被编码译码模块238译码成模拟的信号,经由线路端口232、以及话机端口234,再被编码译码模块238编码成数据封包,经过局域网络220而由数据分析模块216所接收。这些封包然后和当初发送的测试封包比对、分析,就可以得出接口与线路相关的品质分析出来。请注意到,在这个测试的过程中,网络语音装置230与运算装置200的网络地址必须都是已知的。而且上述FXO、FXS的接口功能均系一般网络语音装置230所具备的,不需要额外的设定与软硬件的修改。另外在数据分析方面,可以用任何公知的技术或算法进行,因为算法的内容非本发明精神所在,所以不予赘述于此。Next, the test data generation module 214 continues to generate and send specific test data packets. These packets are first decoded into analog signals by the encoding and decoding module 238 through the path shown by the dotted line, and then pass through the line port 232 and the telephone port 234. , and then encoded by the encoding and decoding module 238 into a data packet, which is received by the data analysis module 216 through the local area network 220 . These packets are then compared and analyzed with the original test packets, and the quality of the interface and line can be analyzed. Please note that during this test, the network addresses of the VoIP device 230 and the computing device 200 must be known. Moreover, the interface functions of the above-mentioned FXO and FXS are all possessed by the general VoIP device 230 , and no additional setting and modification of software and hardware are required. In addition, in terms of data analysis, any known technology or algorithm can be used. Since the content of the algorithm is not the spirit of the present invention, it will not be described in detail here.

从以上的说明可以清楚得知,本发明利用网络语音装置本身具备的接口与功能,以及非常简单的联机方式,即可对于网络语音装置的接口品质与线路品质予以检测。对于其它待测的网络语音装置,只要知道其网络地址,然后依此方式连接,重新执行测试程序即可,既不需要购买特殊测试设备,测试环境的架设也非常简单。From the above description, it can be clearly seen that the present invention can detect the interface quality and line quality of the VoIP device by utilizing the interface and functions of the VoIP device itself and a very simple connection method. For other VoIP devices to be tested, just know their network addresses, connect in this way, and execute the test program again. There is no need to purchase special test equipment, and the setup of the test environment is very simple.

当网络语音装置230提供一个以上的话机端口234时,可以采用如图2b所示的联机方式,对于每一个话机端口234,一一予以测试。当网络语音装置只有一个话机端口234时,则可以采用如图2c所示的联机方式,利用另外一台具有FXO接口的网络语音装置250来搭配测试。When the VoIP device 230 provides more than one phone port 234, the connection method shown in FIG. 2b can be used to test each phone port 234 one by one. When the VoIP device has only one phone port 234, the connection mode shown in FIG. 2c can be used, and another VoIP device 250 with an FXO interface can be used for testing.

基于同样的架构,本发明也可以用公众网际网络800来取代局域网络220,如第2d图所示。在这样的架构下,本发明可以透过公众网际网络对于远程的网络语音装置予以检测。Based on the same architecture, the present invention can also use the public Internet 800 to replace the local area network 220, as shown in FIG. 2d. Under such a framework, the present invention can detect remote VoIP devices through the public Internet.

以上的实施例都需要利用到一个FXO的接口(不论是直接位于被测的网络语音装置、还是利用另外一台网络语音装置的FXO接口),对于不具有FXO接口的网络语音装置,或是无法取得另外一台具有FXO接口的网络语音装置时,本发明可以通过如第3图所示的一个耦合装置来测试网络语音装置的FXS接口。The above embodiments all need to utilize a FXO interface (whether it is directly located in the VoIP device under test or utilizes the FXO interface of another VoIP device), for VoIP devices without FXO interfaces, or cannot When obtaining another VoIP device with FXO interface, the present invention can test the FXS interface of the VoIP device through a coupling device as shown in FIG. 3 .

如图3所示,耦合装置300是包含一有被动组件如电感和电容等(未标号)所构成的简单电路。当被测的网络语音装置310的话机端口312的FXS接口中习称为Tip和Ring的两条导线322、324,以及话机端口314的FXS接口中Tip和Ring导线332、334,分别如图3所示的方式和耦合装置300连接后,会导致话机端口312有回路电流流经导线322和324、以及话机端口314有回路电流流经导线332和334。换言之,接上耦合装置300后,会使得话机端口312和314都被提机,而耦合装置300里的电感会使得两边导线上的语音的电气信号得以从一侧耦合到另外一侧,而使得话机端口312和314可以直接交谈。然后运算装置(未图标)可以分别对话机端口312和314发出封包,首先要求两个话机端口都停止发出拨号音(在一些实施例中,如果可以将拨号音等过滤的话,这个步骤可以被省略)。请注意到,封包里有字段可以注明是给哪一个话机端口的,而测试程序(未图标)也需要被告之目前测试的是哪两个话机端口。接着测试程序的测试数据产生模块可以针对其中任一个话机端口发出测试数据封包,以话机端口312为例,这些封包经由编码译码模块(未图标)译码成模拟的信号,经由话机端口312、耦合装置300、话机端口314,再被编码译码模块编码成数据封包,经过网络而由测试程序的数据分析模块所接收。这些封包然后和当初发送的测试封包比对、分析,就可以得出接口与线路相关的品质分析出来。除了适用于具有多个话机端口的网络语音装置外,本发明可以将两个网络语音装置的话机端口依照图3所示的方式联机起来进行测试。同样的图3所示的测试方式也都适用于局域网络或广域网络的环境。As shown in FIG. 3 , the coupling device 300 is a simple circuit composed of passive components such as inductors and capacitors (not labeled). In the FXS interface of the phone port 312 of the VoIP device 310 under test, two wires 322, 324 known as Tip and Ring, and the Tip and Ring wires 332, 334 in the FXS interface of the phone port 314, as shown in Figure 3 Connecting to coupling device 300 in the manner shown results in loop current flowing through wires 322 and 324 at phone port 312 and loop current flowing through wires 332 and 334 at phone port 314 . In other words, after connecting the coupling device 300, both the phone ports 312 and 314 will be on-hook, and the inductance in the coupling device 300 will enable the electrical signal of the voice on the wires on both sides to be coupled from one side to the other side, so that Phone ports 312 and 314 allow direct conversation. Then the computing device (not shown in the figure) can send packets to the phone ports 312 and 314 respectively, and first requires both phone ports to stop sending dial tone (in some embodiments, if the dial tone can be filtered, this step can be omitted ). Please note that there is a field in the packet to indicate which phone port it is for, and the test program (not shown) also needs to be told which two phone ports are currently being tested. Then the test data generation module of the test program can send test data packets for any one of the phone ports. Take the phone port 312 as an example. The coupling device 300 and the telephone port 314 are encoded into data packets by the encoding and decoding module, and then received by the data analysis module of the test program through the network. These packets are then compared and analyzed with the original test packets, and the quality of the interface and line can be analyzed. In addition to being applicable to VoIP devices with multiple phone ports, the present invention can connect the phone ports of two VoIP devices in the manner shown in FIG. 3 for testing. The same test methods shown in FIG. 3 are also applicable to the environment of a local area network or a wide area network.

藉由以上较佳具体实施例的详述,是希望能更加清楚描述本发明的特征与精神,而并非以上述所揭露的较佳具体实施例来对本申请的范围加以限制。相反地,其目的是希望能涵盖各种改变及具相等性的安排均属于本申请所要保护的范围。Through the detailed description of the preferred embodiments above, it is hoped that the characteristics and spirit of the present invention can be described more clearly, and the scope of the application is not limited by the preferred embodiments disclosed above. On the contrary, the purpose is to cover various changes and equivalent arrangements, all of which belong to the scope of protection of this application.

Claims (12)

1. method for testing speech quality of network speech apparatus, be imposed in an arithmetic unit, and the speech quality by a network measuring one network speech apparatus, this arithmetic unit have a network port with this network on-line, this network speech apparatus comprises a network port at least and has the phone port of FXS interface with the line port and that has a FXO interface with this network on-line,, and this method of testing comprises the following step at least:
This network port of this arithmetic unit and this network on-line have caused one first network address, this network port of this network speech apparatus and this network on-line have caused one second network address, and with this line port and this phone port of online this network speech apparatus of a cable;
This arithmetic unit produces a package and is sent to this second network address, this package records this first network address, and after this network speech apparatus that is positioned at this second network address is received this package, cause this network speech apparatus via its line port its phone port to be carried out a dial action, the number that this dial action is dialled is this first network address;
This arithmetic unit is accepted by the voice-over-net calling on-line that this network speech apparatus sent that is positioned at this second network address;
This arithmetic unit produces the good a plurality of test packets of decision in advance, and is sent to this second network address; And
Receive and analyze the plurality of packets of passing back by this network speech apparatus that is positioned at this second network address.
2. method for testing speech quality of network speech apparatus as claimed in claim 1, wherein, this network is a LAN.
3. method for testing speech quality of network speech apparatus as claimed in claim 1, wherein, this network is a Wide Area Network.
4. method for testing speech quality of network speech apparatus, be imposed in an arithmetic unit, and the speech quality by a network measuring one first network speech apparatus, this arithmetic unit have a network port with this network on-line, this first network speech apparatus comprises a network port at least to have the phone port of FXS interface with this network on-line and, and this method of testing comprises the following step at least:
Prepare one second network speech apparatus, this second network speech apparatus comprises a network port at least to have the line port of FXO interface with this network on-line and;
This network port of this arithmetic unit and this network on-line have caused one first network address, this network port of this first network speech apparatus and this network on-line have caused one second network address, this network port of this second network speech apparatus and this network on-line have caused one the 3rd network address, and connect this line port of this second network speech apparatus and this phone port of this first network speech apparatus with a cable;
This arithmetic unit produces a package and is sent to the 3rd network address, this package records this first network address, and after this second network speech apparatus that is positioned at the 3rd network address is received this package, cause this second network speech apparatus via its line port this phone port of this first network speech apparatus to be carried out a dial action, the number that this dial action is dialled is this first network address;
The voice-over-net calling on-line that this arithmetic unit acceptance is sent by this first network speech apparatus that is positioned at this second network address;
This arithmetic unit produces the good a plurality of test packets of decision in advance, and is sent to the 3rd network address; And
Receive and analyze the plurality of packets of passing back by this first network speech apparatus that is positioned at this second network address.
5. method for testing speech quality of network speech apparatus as claimed in claim 4, wherein, this network is a LAN.
6. method for testing speech quality of network speech apparatus as claimed in claim 4, wherein, this network is a Wide Area Network.
7. method for testing speech quality of network speech apparatus, be imposed in an arithmetic unit, and the speech quality by a network measuring one network speech apparatus, this arithmetic unit have a network port with this network on-line, this network speech apparatus comprises a network port at least to have the phone port of a plurality of FXS interfaces with this network on-line and, and this method of testing comprises the following step at least:
This network port of this arithmetic unit and this network on-line have caused one first network address, this network port of this network speech apparatus and this network on-line have caused one second network address, one first phone port of this network speech apparatus and one second phone port, the electrical couplings that is connected with each other is also carried machine;
This arithmetic unit produces the good a plurality of test packets of decision in advance, and is sent to this second network address, and this plurality of packets records the address of this first phone port; And
Receive and analyze the plurality of packets of being passed back by the second phone port of this network speech apparatus that is positioned at this second network address.
8. method for testing speech quality of network speech apparatus as claimed in claim 7, wherein, this network is a LAN.
9. method for testing speech quality of network speech apparatus as claimed in claim 7, wherein, this network is a Wide Area Network.
10. method for testing speech quality of network speech apparatus, be imposed in an arithmetic unit, and the speech quality by a network measuring one first network speech apparatus, this arithmetic unit have a network port with this network on-line, this first network speech apparatus comprises a network port at least to have the phone port of FXS interface with this network on-line and, and this method of testing comprises the following step at least:
Prepare one second network speech apparatus, this second network speech apparatus comprises a network port at least to have the line port of FXS interface with this network on-line and;
This network port of this arithmetic unit and this network on-line have caused one first network address, this network port of this first network speech apparatus and this network on-line have caused one second network address, this network port of this second network speech apparatus and this network on-line have caused one the 3rd network address, this phone port of this first network speech apparatus and this line port of this second network speech apparatus are connected with each other and reach electrical couplings and carried machine;
This arithmetic unit produces the good a plurality of test packets of decision in advance, and is sent to the 3rd network address, and this plurality of packets records the address of this phone port of this second network speech apparatus; And
Receive and analyze the plurality of packets of being passed back by this phone port of this first network speech apparatus that is positioned at this second network address.
11. method for testing speech quality of network speech apparatus as claimed in claim 10, wherein, this network is a LAN.
12. method for testing speech quality of network speech apparatus as claimed in claim 10, wherein, this network is a Wide Area Network.
CNB2005100018307A 2005-01-13 2005-01-13 Voice quality testing method for network voice device Expired - Fee Related CN100382514C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100018307A CN100382514C (en) 2005-01-13 2005-01-13 Voice quality testing method for network voice device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100018307A CN100382514C (en) 2005-01-13 2005-01-13 Voice quality testing method for network voice device

Publications (2)

Publication Number Publication Date
CN1805380A CN1805380A (en) 2006-07-19
CN100382514C true CN100382514C (en) 2008-04-16

Family

ID=36867234

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100018307A Expired - Fee Related CN100382514C (en) 2005-01-13 2005-01-13 Voice quality testing method for network voice device

Country Status (1)

Country Link
CN (1) CN100382514C (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118648A1 (en) * 2001-02-15 2002-08-29 Olaf Zaencker Method and arrangement for testing the transmission system and method for quality of a speech transmission
US20020167936A1 (en) * 2001-05-14 2002-11-14 Lee Goodman Service level agreements based on objective voice quality testing for voice over IP (VOIP) networks
WO2002099567A2 (en) * 2001-06-01 2002-12-12 Tollgrade Communications, Inc. Remote testing of high speed data and voice communication networks
CN1538667A (en) * 2003-10-24 2004-10-20 武汉大学 An Objective Evaluation Method for Wideband Speech Quality
CN1556594A (en) * 2004-01-07 2004-12-22 戈志勇 Communication quality testing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118648A1 (en) * 2001-02-15 2002-08-29 Olaf Zaencker Method and arrangement for testing the transmission system and method for quality of a speech transmission
US20020167936A1 (en) * 2001-05-14 2002-11-14 Lee Goodman Service level agreements based on objective voice quality testing for voice over IP (VOIP) networks
WO2002099567A2 (en) * 2001-06-01 2002-12-12 Tollgrade Communications, Inc. Remote testing of high speed data and voice communication networks
CN1538667A (en) * 2003-10-24 2004-10-20 武汉大学 An Objective Evaluation Method for Wideband Speech Quality
CN1556594A (en) * 2004-01-07 2004-12-22 戈志勇 Communication quality testing system

Also Published As

Publication number Publication date
CN1805380A (en) 2006-07-19

Similar Documents

Publication Publication Date Title
US6826174B1 (en) Voice-over-IP interface for standard household telephone
US7092379B1 (en) Internet telephony arrangement and method
US7016475B2 (en) Extendable call agents simulator
US6597687B1 (en) Method and apparatus for switching voice calls using a computer system
US20060018448A1 (en) Routing telephone calls via a data network
CN100525209C (en) Method and apparatus for localizing in-house wiring defects
US20050152338A1 (en) System and method for managing voice communications between a telephone, a circuit switching network and/or a packet switching network
US20070025338A1 (en) Software-based solutions for telephone network bridging
US7170987B2 (en) Customer premises equipment that can support multiple call control languages or multiple call agents
US20120201239A1 (en) Multi-Line Telephone Calling
WO2005079141A2 (en) Internet voip chat cord apparatus
CN101610428B (en) Digital exchange test system, digital exchange and computer
CA2664706C (en) Embedded media terminal adapter (emta) endpoint redirect mode
JP4272379B2 (en) Method and system for providing telephone service and article
CN100382514C (en) Voice quality testing method for network voice device
CN101917523B (en) Method and device for tracing voice signaling
TWI296470B (en)
US20060018310A1 (en) Data network call routing
TWI404401B (en) Multiplex communication apparatus and multiplex communication method
Harnack et al. Telephone network interfacing
KR20000030120A (en) An internet telephone system haing multi-channel hook switch and method thereof
US20020191587A1 (en) Communication system
WO2006050655A1 (en) A voice quality testing method and testing apparatus of ip telephone
CN100474869C (en) Transmission channel detecting method and calling control system
CN101212524A (en) Call system and call method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080416

Termination date: 20120113