[go: up one dir, main page]

CN100373907C - Realization method and system of fax automation test - Google Patents

Realization method and system of fax automation test Download PDF

Info

Publication number
CN100373907C
CN100373907C CNB2006100336535A CN200610033653A CN100373907C CN 100373907 C CN100373907 C CN 100373907C CN B2006100336535 A CNB2006100336535 A CN B2006100336535A CN 200610033653 A CN200610033653 A CN 200610033653A CN 100373907 C CN100373907 C CN 100373907C
Authority
CN
China
Prior art keywords
fax
sending
receiving
voice
voice card
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
CNB2006100336535A
Other languages
Chinese (zh)
Other versions
CN1859540A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100336535A priority Critical patent/CN100373907C/en
Publication of CN1859540A publication Critical patent/CN1859540A/en
Application granted granted Critical
Publication of CN100373907C publication Critical patent/CN100373907C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

本发明提供一种传真自动化测试的实现方法,包括以下步骤:(1)语音卡接收传真命令;(2)语音卡收到所述传真命令后,解析传真命令的参数,根据解析后的参数,语音卡确定对应的收发端口,分别指示对应的语音卡端口启动传真发送和接收任务;以及(3)传真过程结束后,语音卡根据所收集的数据信息输出发送报告和接收报告。本发明还提供一种传真自动化测试系统。本发明可实现传真业务的自动化测试,提高测试效率,节约人力成本;节约仪器设备采购成本;能够实现普通语音业务与传真业务的混合应用测试。

Figure 200610033653

The invention provides a method for realizing the fax automation test, which comprises the following steps: (1) the voice card receives the fax command; (2) after the voice card receives the fax command, it parses the parameters of the fax command, and according to the parsed parameters, The voice card determines the corresponding sending and receiving ports, and instructs the corresponding voice card ports to start fax sending and receiving tasks; and (3) after the facsimile process ends, the voice card outputs sending reports and receiving reports according to the collected data information. The invention also provides a fax automatic test system. The invention can realize the automatic test of the fax service, improve the test efficiency, save labor costs, save the purchase cost of instruments and equipment, and can realize the mixed application test of the ordinary voice service and the fax service.

Figure 200610033653

Description

传真自动化测试的实现方法及系统 Realization method and system of fax automation test

技术领域technical field

本发明属于传真领域,尤其涉及一种传真自动化测试的实现方法及系统。The invention belongs to the field of fax, and in particular relates to a method and system for realizing automatic test of fax.

背景技术Background technique

传真,是把记录在纸上的图像通过扫描传输出去,再在接收端的记录纸上重现图像的通信手段。传真分为四类(即G1、G2、G3、G4),其中一、二类传真机已被淘汰,四类传真机用于ISDN,目前广泛应用的是G3类传真。Fax is a means of communication that transmits images recorded on paper by scanning, and reproduces the images on recording paper at the receiving end. Faxes are divided into four categories (ie G1, G2, G3, G4), of which the first and second types of fax machines have been eliminated, and the fourth type of fax machines are used for ISDN, and G3 type of fax is widely used at present.

传真过程一般分为如下5个阶段:The facsimile process is generally divided into the following five stages:

阶段A:传真呼叫建立阶段,这一阶段与电话呼叫建立的过程相似;Phase A: Fax call establishment phase, this phase is similar to the process of telephone call establishment;

阶段B:报文前过程,这一阶段主要进行能力的协商与训练;Phase B: the pre-message process, this phase is mainly for capability negotiation and training;

阶段C:报文传输过程以及报文传输控制过程;Phase C: message transmission process and message transmission control process;

阶段D:报文后过程,这一阶段主要进行报文的证实、纠错、多页续发的操作;Stage D: Post-message process, this stage mainly performs operations of message verification, error correction, and multi-page reissue;

阶段E:传真呼叫释放的过程。Phase E: The process of fax call release.

传真业务在PSTN网络上有着广泛和成熟的应用,而随着NGN(下一代网络,Next Generation Network)逐渐普及和规模应用,也要求传真在IP分组网络上同样得到很好的应用,即FoIP(IP传真,Fax over IP)。Fax services are widely and maturely applied on PSTN networks. With the gradual popularization and large-scale application of NGN (Next Generation Network), fax services are also required to be well applied on IP packet networks, that is, FoIP ( Fax over IP, Fax over IP).

在IP网上承载传真业务,有一系列新的问题需要解决,比如压缩编码的问题、网络不稳定带来的问题等等。正是因为有这些问题,传真业务在NGN上进行严格和充分的测试才显得非常重要。There are a series of new problems to be solved when carrying the fax service on the IP network, such as the problem of compression and coding, problems caused by network instability, and so on. It is because of these problems that it is very important for the fax service to be strictly and adequately tested on NGN.

目前传真业务的测试除了直接使用传真机进行手工测试外,还会使用某些传真测试仪器,比如常见的传真测试仪器FaxLab,可以预定义一组测试项目,然后可以连续进行传真业务测试。At present, in addition to the manual test of the fax machine, some fax test instruments, such as the common fax test instrument FaxLab, can be used to pre-define a set of test items, and then the fax service test can be carried out continuously.

然而,通过FaxLab等传真测试仪器进行传真业务测试存在以下缺点:However, there are the following disadvantages in the fax service test by fax test instruments such as FaxLab:

(1)不能进行真正意义的自动化测试。它是通过预定义传真类型、过程参数等来定义一套配置文件,而传真过程无法通过脚本进行灵活控制。(1) No real automated testing can be performed. It defines a set of configuration files through predefined fax types, process parameters, etc., and the fax process cannot be flexibly controlled through scripts.

(2)成本相对较高。FaxLab本身价格较高,且一台FaxLab只能用做一台传真机。(2) The cost is relatively high. FaxLab itself is expensive, and a FaxLab can only be used as a fax machine.

(3)不能灵活选择所发送的单页、多页图像文件,并且没有较好的手段直观查看图像文件。(3) The single-page and multi-page image files to be sent cannot be flexibly selected, and there is no better means to visually view the image files.

(4)不能实现普通语音业务与传真业务的混合应用测试(比如,要测试验证传真前或传真后的语音通话)。(4) The mixed application test of ordinary voice service and fax service cannot be realized (for example, it is necessary to test and verify the voice call before or after fax).

发明内容Contents of the invention

本发明要解决的技术问题是克服上述现有技术存在的不足,提供一种实现传真业务的自动化测试、成本低廉、而且可以与语音业务无缝集成的传真自动化测试的实现方法及系统。The technical problem to be solved by the present invention is to overcome the above-mentioned deficiencies in the prior art, and provide a method and system for realizing automated testing of fax services with low cost and seamless integration with voice services.

本发明提供一种传真自动化测试的实现方法,包括以下步骤:The invention provides a method for realizing automated fax testing, which includes the following steps:

(1)语音卡接收传真命令;(1) The voice card receives the fax command;

(2)语音卡收到所述传真命令后,解析传真命令的参数,根据解析后的参数,语音卡确定对应的收发端口,分别指示对应的语音卡端口启动传真发送和接收任务;以及(3)传真过程结束后,语音卡根据所收集的数据信息输出发送报告和接收报告。(2) After the voice card receives the fax command, it parses the parameters of the fax command, and according to the parsed parameters, the voice card determines the corresponding sending and receiving ports, and instructs the corresponding voice card ports to start the fax sending and receiving tasks respectively; and (3 ) After the facsimile process ends, the voice card outputs sending reports and receiving reports according to the collected data information.

所述传真命令包括:传真收发双方使用的语音卡端口、发送和接收图像文件、传真最高速率、调制协议、编码方式、传真分辨率、错误纠正模式、多页处理、传真页面宽度和长度等参数。The fax command includes: the voice card port used by both the fax sender and receiver, sending and receiving image files, fax maximum rate, modulation protocol, encoding method, fax resolution, error correction mode, multi-page processing, fax page width and length and other parameters .

所述参数中传真最高速率、调制协议、编码方式、传真分辨率、错误纠正模式、多页处理、传真页面宽度和长度为可选择参数,若未指定所述可选参数,则对应默认参数。Among the parameters, the maximum fax rate, modulation protocol, encoding method, fax resolution, error correction mode, multi-page processing, fax page width and length are optional parameters. If the optional parameters are not specified, they correspond to default parameters.

所述步骤(2)进一步包括:Described step (2) further comprises:

(6)语音卡分别向所述收发端口下达发送传真和接收传真的指令,按设定的参数进行传真的发送和接收。(6) The voice card issues fax sending and receiving instructions to the sending and receiving ports respectively, and sends and receives faxes according to the set parameters.

如果需要测试传真收发双方能力不同的情况,所述传真命令包括发送传真和接收传真两个命令。If it is necessary to test the fact that the capabilities of the sending and receiving parties of the fax are different, the fax command includes two commands of sending fax and receiving fax.

语音与传真业务混用时,所述语音业务和传真业务分别使用各自独立的逻辑通道进行处理,所述传真逻辑通道和语音逻辑通道共同体现在同一物理通道中。When the voice service and the fax service are used together, the voice service and the fax service are processed using independent logical channels, and the fax logical channel and the voice logical channel are embodied in the same physical channel.

本发明还提供一种传真自动化测试系统,包括软交换设备、IP承载网、发送媒体网关和接收媒体网关还包括语音卡,其接收传真命令后指示对应的语音卡端口分别启动传真发送和接收任务,所述语音卡端口分别向发送媒体网关和接收媒体网关指示发送传真和接收传真。The present invention also provides a facsimile automation test system, which includes a softswitch, an IP bearer network, a sending media gateway, and a receiving media gateway, and also includes a voice card, which instructs the corresponding voice card ports to start fax sending and receiving tasks after receiving a fax command , the port of the voice card respectively instructs the sending media gateway and the receiving media gateway to send the fax and receive the fax.

本发明具有以下有益的效果:可实现传真业务的自动化测试,提高测试效率,节约人力成本;节约仪器设备采购成本;能够实现普通语音业务与传真业务的混合应用测试。The invention has the following beneficial effects: it can realize the automatic test of the fax service, improve the test efficiency and save labor cost; it can save the purchase cost of instruments and equipment; it can realize the mixed application test of the common voice service and the fax service.

附图说明Description of drawings

图1是本发明传真自动化测试的实现方法及系统的原理图。FIG. 1 is a schematic diagram of the method and system for implementing fax automation testing in the present invention.

图2是本发明传真自动化测试的实现方法的流程图。Fig. 2 is a flow chart of the implementation method of the fax automation test of the present invention.

图3是本发明传真自动化测试的实现方法中物理通道与逻辑通道的关系图。FIG. 3 is a relationship diagram between physical channels and logical channels in the implementation method of fax automation test of the present invention.

具体实施方式Detailed ways

本发明传真自动化测试的实现方法是利用语音卡,控制两部电话建立基本的语音通话,然后通过传真命令控制一方发送传真,另一方接收传真,其中传真发送和接收都可以通过一系列的参数来控制传真的能力数据,如传真速率、编码方式、分辨率、ECM(错误纠正模式,Error Correction Mode)等,传真结束后,可根据传真过程中收集的所有信息给出传真发送和接收报告。本文以G3类传真为例进行阐述。The realization method of the fax automation test of the present invention is to use the voice card to control two telephones to establish a basic voice call, and then control one party to send a fax and the other party to receive a fax through a fax command, wherein both fax sending and receiving can be controlled by a series of parameters Control the capability data of fax, such as fax rate, encoding method, resolution, ECM (Error Correction Mode), etc. After the fax is finished, the fax sending and receiving report can be given according to all the information collected during the faxing process. This article takes G3 fax as an example to illustrate.

语音卡是安装在PC机PCI槽上的一种板卡,它提供4个或更多POTS(传统普通电话业务,Plain Old Telephone Service)接口,可以通过编程控制其行为,实现普通电话和传真的功能。The voice card is a board installed on the PCI slot of the PC, which provides 4 or more POTS (Plain Old Telephone Service) interfaces, and its behavior can be controlled by programming to realize the communication of ordinary telephone and fax. Function.

本发明以NGN中两个MGW(媒体网关,Media Gateway)所带用户间进行传真为例说明,本实施例中设定MGW1为发送媒体网关,MGW2为接收媒体网关。本发明提供的一种传真自动化测试系统,包括软交换设备、IP承载网、发送媒体网关和接收媒体网关,还包括语音卡,其接收传真命令后指示对应的语音卡端口分别启动传真发送和接收任务,所述语音卡端口分别向发送媒体网关和接收媒体网关指示发送传真和接收传真。The present invention is illustrated by taking two MGWs (Media Gateways, Media Gateways) in the NGN to perform faxing between users as an example. In this embodiment, MGW1 is set as the sending media gateway, and MGW2 is set as the receiving media gateway. A facsimile automatic test system provided by the present invention includes a soft switch device, an IP bearer network, a sending media gateway and a receiving media gateway, and also includes a voice card, which instructs the corresponding voice card ports to respectively start fax sending and receiving after receiving a fax command task, the port of the voice card instructs the sending media gateway and the receiving media gateway to send and receive faxes respectively.

请结合参照图1及图2所示(图1中的①-⑤步体现的只是与传真收发相关的步骤,并没有包括呼叫建立和释放的过程):Please refer to Figure 1 and Figure 2 (steps ①-⑤ in Figure 1 only reflect the steps related to fax sending and receiving, and do not include the process of call establishment and release):

步骤①:呼叫建立后,由测试者根据需要向语音卡控制程序模块发送传真命令,命令中应包含传真收发双方使用的语音卡端口、发送和接收图像文件、传真最高速率、调制协议、编码方式、传真分辨率、错误纠正模式、多页处理、传真页面宽度和长度等参数。其格式如下(方括号内的参数为可选):Fax ChSend ChRecv SendFiles RecvFile[Rate[/Modulation][Resolution[ECM[Encoding[PostCmd[Width[Length]]]]]]]Step ①: After the call is established, the tester sends a fax command to the voice card control program module according to the need. The command should include the voice card port used by the fax sender and receiver, sending and receiving image files, the maximum fax rate, modulation protocol, and encoding method , fax resolution, error correction mode, multi-page handling, fax page width and length and other parameters. The format is as follows (parameters in square brackets are optional): Fax ChSend ChRecv SendFiles RecvFile[Rate[/Modulation][Resolution[ECM[Encoding[PostCmd[Width[Length]]]]]]]

命令中各参数含义如下:The meanings of the parameters in the command are as follows:

ChSend:发送传真一方的端口标识名ChSend: The port identification name of the party sending the fax

ChRecv:接收传真一方的端口标识名ChRecv: The port identification name of the party receiving the fax

SendFiles:发送的传真文件,支持TIFF格式的图像文件和ASCII文本文件。SendFiles: Fax files sent, support image files in TIFF format and ASCII text files.

RecvFile:存储接收传真的文件,支持TIFF格式的图像格式。当收到多页传真时,此文件会自动分为多页RecvFile: Store the received fax files, and support the image format of TIFF format. When a multi-page fax is received, the document is automatically divided into multiple pages

Rate:传真最高速率Rate: the highest fax rate

Modulation:调制解调协议,如V17、V29、V27ter、V34等Modulation: modulation and demodulation protocol, such as V17, V29, V27ter, V34, etc.

Resolution:传真分辨率,分为三级:Standard、Fine、PhotoResolution: Fax resolution, divided into three levels: Standard, Fine, Photo

ECM:是否启用ECM功能ECM: Whether to enable the ECM function

Encoding:传真编码方式,可取值为:MH、MR、MMREncoding: fax encoding method, possible values: MH, MR, MMR

PostCmd:传真D阶段后处理命令。当传送多页时,在一页发送完成后,由传真发送方向接收方发送此命令,通知对方下一页的发送方式PostCmd: Fax D stage post-processing command. When sending multiple pages, after one page is sent, the fax sender sends this command to the receiver to inform the other party how to send the next page

Width:传真页面宽度Width: Fax page width

Length:传真页面长度Length: fax page length

步骤②、③:控制模块收到传真命令后,首先解析命令中的所有参数(当用户没有指定可选参数时,模块本身应该有对应的默认参数值),然后根据解析后的参数,找到对应的语音卡发送端口(ChSend)和接收端口(ChRecv),分别向两个端口下达发送传真和接收传真的指令,按用户指定的参数进行传真的发送和接收。Steps ② and ③: After the control module receives the fax command, it first parses all the parameters in the command (when the user does not specify an optional parameter, the module itself should have a corresponding default parameter value), and then finds the corresponding The sending port (ChSend) and receiving port (ChRecv) of the voice card issue commands to send and receive faxes to the two ports respectively, and send and receive faxes according to the parameters specified by the user.

如果用户需要测试传真收发双方能力不同的情况(比如发送和接收的最大速率不相同),这时可以分别提供发送传真和接收传真两个命令,如:FaxSend ChSend Files[Rate[/Modulation][Resolution[ECM[EncodingIf the user needs to test the situation that the sending and receiving parties of the fax have different capabilities (for example, the maximum rate of sending and receiving is not the same), then you can provide two commands for sending and receiving faxes, such as: FaxSend ChSend Files[Rate[/Modulation][Resolution [ECM[Encoding

[PostCmd[Width[Length]]]]]]][PostCmd[Width[Length]]]]]]]

FaxRecv ChRecv File[Rate[/Modulation][Resolution[Encoding]]]FaxRecv ChRecv File[Rate[/Modulation][Resolution[Encoding]]]

这两个命令的参数功能与前面介绍的基本相同,不再详述。The parameter functions of these two commands are basically the same as those described above, and will not be described in detail here.

步骤④、⑤:传真过程结束后,控制程序会根据所收集的数据信息给出确定格式的发送和接收报告,并把报告返回给测试者,供测试都根据所需的标准分析得出结论。Step ④, ⑤: After the facsimile process is over, the control program will give a sending and receiving report in a certain format based on the collected data information, and return the report to the tester for the test to draw conclusions based on the required standard analysis.

为了便于自动化分析实现,传真报告格式应该简洁、统一。报告样式如下:In order to facilitate the realization of automated analysis, the fax report format should be concise and uniform. The report style is as follows:

Send Report(发送报告):Send Report:

Start Time:2005-10-16 15:08:11Start Time: 2005-10-16 15:08:11

Duration:00:00:23Duration: 00:00:23

Peer ID:B1C2Peer ID: B1C2

Send Files:P2.GIFSend Files: P2.GIF

PageNum:1PageNum: 1

Bytes:5323Bytes: 5323

Total Lines:1149Total Lines: 1149

BadLines:0BadLines: 0

Rate:9600Rate: 9600

Modulation:V17Modulation: V17

Resolution:StandardResolution: Standard

ECM:OFFECM: OFF

Encoding:MHEncoding: MH

Conclusion:PassedConclusion: Passed

Receive Report(接收报告):Receive Report:

Start Time:2005-10-16 15:08:11Start Time: 2005-10-16 15:08:11

Duration:00:00:24Duration: 00:00:24

Peer ID:B1C1Peer ID: B1C1

Store File:R2.GIFStore File: R2.GIF

Page Num:2Page Num: 2

Bytes:5292Bytes: 5292

Total Lines:1148Total Lines: 1148

Bad Lines:0Bad Lines: 0

RTN Pages:0RTN Pages: 0

Rate:9600Rate: 9600

Modulation:V17Modulation: V17

Resolution:StandardResolution: Standard

ECM:OFFECM: OFF

Encoding:MHEncoding: MH

Width:210Width: 210

Auto Answer:NOAuto Answer: NO

Conclusion:PassedConclusion: Passed

其中,发送和接收报告的最后一项都是定性结论(Conclusion),定性结论有4种,是通过对传真过程数据进行分析和判别得到的,分别对应如下情况:Among them, the last item of the sending and receiving report is the qualitative conclusion (Conclusion), and there are 4 kinds of qualitative conclusions, which are obtained by analyzing and judging the fax process data, corresponding to the following situations:

Passed:传真发送/接收成功,且期间中没有出现错误和重传;Passed: The fax was sent/received successfully, and there were no errors and retransmissions during the period;

Wamed:传真发送/接收成功,但其中出现错线、丢帧或页面重传等问题;Wamed: The fax is sent/received successfully, but there are problems such as wrong line, frame loss or page retransmission;

Failed:传真已经开始发送/接收,但期间由于某些原因(如网络状况恶劣、协商失败、对端连接中断等)导致发送/接收失败;Failed: The fax has started to be sent/received, but the sending/receiving failed due to some reasons (such as poor network conditions, negotiation failure, peer connection interruption, etc.);

Aborted:传真已经开始发送/接收,但期间由于用户主动终止了传真而导致发送/接收没有完成。Aborted: The sending/receiving of the fax has started, but the sending/receiving has not been completed because the user actively terminated the fax.

本发明还可保证语音业务和传真业务是无缝集成和互不影响的,用户可以随时使用语音业务和传真业务,比如传真结束后可以立即进行语音通话测试而无需做任何切换。对于实现这一点,作说明如下:The present invention can also ensure that the voice service and the fax service are seamlessly integrated and independent of each other, and the user can use the voice service and the fax service at any time, for example, the voice call test can be performed immediately after the fax is finished without any switching. To achieve this, the description is as follows:

A、每个物理通道占用独立的线程,而同一物理通道的语音和传真业务应该由同一线程处理。A. Each physical channel occupies an independent thread, and the voice and fax services of the same physical channel should be processed by the same thread.

B、命令的执行应采用同步而非异步方式,一个命令正在执行的过程中,再收到的其它命令应该在消息队列中排队,依次执行。B. Commands should be executed in a synchronous rather than asynchronous manner. During the execution of a command, other commands received should be queued in the message queue and executed sequentially.

C、传真与语音业务的操作和处理保持独立和互不影响,即传真的发送和接收不会影响语音业务状态,反之亦然。每个命令执行完成后需要确保状态完整和准确地恢复。C. The operation and processing of fax and voice services remain independent and independent of each other, that is, the sending and receiving of faxes will not affect the status of voice services, and vice versa. It is necessary to ensure that the state is fully and accurately restored after each command execution completes.

D、请参照图3所示,引入逻辑通道的概念,语音业务和传真业务分别使用各自的逻辑通道,互不影响,同一物理通道对应着语音和传真两个逻辑通道。图中虚线框中的部分体现了在同一物理通道中,语音与传真分别使用各自独立的逻辑通道处理业务,完成后又进入同样的模块进行结果分析与后续处理,这样在用户使用看来,语音业务与传真业务便没有本质区别,只是不同命令对应的不同操作而已,从而实现了无缝集成。D. Referring to Figure 3, the concept of logical channels is introduced. The voice service and the fax service use their own logical channels without affecting each other. The same physical channel corresponds to the two logical channels of voice and fax. The part in the dotted line box in the figure shows that in the same physical channel, voice and fax use their own independent logical channels to process services, and after completion, they enter the same module for result analysis and subsequent processing. In this way, from the user's point of view, voice There is no essential difference between business and fax business, just different operations corresponding to different commands, thus realizing seamless integration.

可以理解的是,本发明以G3类传真为例进行说明,同样的原理可适用于G4类传真机。本发明所述的传真命令和传真报告格式,只是一种具体的形式,而实现时并不限于实施例中所述形式。本发明以NGN组网方式为例进行说明,但同样可适用于其它任何应用传真业务的组网或领域。本发明中使用的语音卡,可以是Intel Dialogic的语音卡或任何其它具有类似功能的产品。It can be understood that the present invention is described by taking the G3 fax machine as an example, and the same principle can be applied to the G4 fax machine. The format of the fax command and the fax report described in the present invention is only a specific form, and the implementation is not limited to the form described in the embodiment. The present invention is described by taking the NGN networking mode as an example, but it can also be applied to any other networking or field where the facsimile service is applied. The voice card used in the present invention can be the voice card of Intel Dialogic or any other products with similar functions.

本发明可实现传真业务的自动化测试,提高测试效率,节约人力成本;节约仪器设备采购成本;能够实现普通语音业务与传真业务的混合应用测试。The invention can realize the automatic test of the fax service, improve the test efficiency, save labor costs, save the purchase cost of instruments and equipment, and can realize the mixed application test of the ordinary voice service and the fax service.

Claims (7)

1.一种传真自动化测试的实现方法,包括以下步骤:1. A method for implementing automated fax testing, comprising the following steps: (1)语音卡接收传真命令;(1) The voice card receives the fax command; (2)语音卡收到所述传真命令后,解析传真命令的参数,根据解析后的参数,语音卡确定对应的收发端口,分别指示对应的语音卡端口启动传真发送和接收任务;以及(2) After the voice card receives the fax command, it parses the parameters of the fax command, and according to the parsed parameters, the voice card determines the corresponding sending and receiving ports, and respectively instructs the corresponding voice card ports to start the fax sending and receiving tasks; and (3)传真过程结束后,语音卡根据所收集的数据信息输出发送报告和接收报告。(3) After the facsimile process is over, the voice card outputs sending reports and receiving reports according to the collected data information. 2.根据权利要求1所述的方法,其特征在于:所述传真命令包括:传真收发双方使用的语音卡端口、发送和接收图像文件、传真最高速率、调制协议、编码方式、传真分辨率、错误纠正模式、多页处理、传真页面宽度和长度等参数。2. The method according to claim 1, wherein the fax command includes: the voice card port used by the fax sender and receiver, sending and receiving image files, the highest fax rate, modulation protocol, encoding method, fax resolution, Parameters such as error correction mode, multipage handling, fax page width and length, etc. 3.根据权利要求2所述的方法,其特征在于:所述参数中传真最高速率、调制协议、编码方式、传真分辨率、错误纠正模式、多页处理、传真页面宽度和长度为可选择参数,若未指定所述可选参数,则对应默认参数。3. The method according to claim 2, characterized in that: among the parameters, the maximum fax rate, modulation protocol, encoding method, fax resolution, error correction mode, multi-page processing, fax page width and length are optional parameters , if the optional parameter is not specified, it corresponds to the default parameter. 4.根据权利要求3所述的方法,其特征在于:所述步骤(2)进一步包括:4. method according to claim 3, is characterized in that: described step (2) further comprises: 语音卡分别向所述收发端口下达发送传真和接收传真的指令,按设定的参数进行传真的发送和接收。The voice card issues instructions for sending and receiving faxes to the sending and receiving ports respectively, and sends and receives faxes according to set parameters. 5.根据权利要求1所述的方法,其特征在于:如果需要测试传真收发双方能力不同的情况,所述传真命令包括发送传真和接收传真两个命令。5. The method according to claim 1, wherein if it is necessary to test the fact that the capabilities of the sending and receiving parties of the fax are different, the fax command includes two commands of sending fax and receiving fax. 6.根据权利要求1所述的方法,其特征在于:语音与传真业务混用时,所述语音业务和传真业务分别使用各自独立的逻辑通道进行处理,所述传真逻辑通道和语音逻辑通道共同体现在同一物理通道中。6. The method according to claim 1, characterized in that: when the voice service and the fax service are mixed, the voice service and the fax service are respectively processed using independent logical channels, and the fax logical channel and the voice logical channel are jointly embodied in in the same physical channel. 7.一种传真自动化测试系统,包括软交换设备、IP承载网、发送媒体网关和接收媒体网关,其特征在于:还包括语音卡,其接收传真命令后,解析传真命令的参数,根据解析后的参数,语音卡确定对应的收发端口,指示对应的语音卡端口分别启动传真发送和接收任务,所述语音卡端口分别向发送媒体网关和接收媒体网关指示发送传真和接收传真。7. A facsimile automation test system, comprising softswitch equipment, IP bearer network, sending media gateway and receiving media gateway, is characterized in that: also comprises voice card, after it receives fax command, parses the parameter of fax command, according to after parsing parameters, the voice card determines the corresponding sending and receiving port, and instructs the corresponding voice card port to start the fax sending and receiving tasks respectively, and the voice card port instructs the sending media gateway and the receiving media gateway to send fax and receive fax respectively.
CNB2006100336535A 2006-02-14 2006-02-14 Realization method and system of fax automation test Expired - Fee Related CN100373907C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100336535A CN100373907C (en) 2006-02-14 2006-02-14 Realization method and system of fax automation test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100336535A CN100373907C (en) 2006-02-14 2006-02-14 Realization method and system of fax automation test

Publications (2)

Publication Number Publication Date
CN1859540A CN1859540A (en) 2006-11-08
CN100373907C true CN100373907C (en) 2008-03-05

Family

ID=37298401

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100336535A Expired - Fee Related CN100373907C (en) 2006-02-14 2006-02-14 Realization method and system of fax automation test

Country Status (1)

Country Link
CN (1) CN100373907C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457784B (en) * 2012-06-01 2018-03-23 腾讯科技(深圳)有限公司 Performance test methods and device
CN103517032B (en) * 2013-08-01 2016-12-28 烽火通信科技股份有限公司 A kind of multi-channel implementation method of audio/video communication system
CN105471680A (en) * 2015-12-09 2016-04-06 上海斐讯数据通信技术有限公司 Network voice communication testing system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5396342A (en) * 1992-02-20 1995-03-07 Meyer; Richard R. Automatic remote facsimile testing system
US5933475A (en) * 1997-06-04 1999-08-03 Interactive Quality Services, Inc. System and method for testing a telecommunications apparatus
US6710893B1 (en) * 1999-11-02 2004-03-23 Ricoh Co., Ltd. Automated system and method of testing a facsimile machine
CN1671175A (en) * 2004-03-19 2005-09-21 华为技术有限公司 Test method for fax quality

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5396342A (en) * 1992-02-20 1995-03-07 Meyer; Richard R. Automatic remote facsimile testing system
US5933475A (en) * 1997-06-04 1999-08-03 Interactive Quality Services, Inc. System and method for testing a telecommunications apparatus
US6710893B1 (en) * 1999-11-02 2004-03-23 Ricoh Co., Ltd. Automated system and method of testing a facsimile machine
CN1671175A (en) * 2004-03-19 2005-09-21 华为技术有限公司 Test method for fax quality

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
基Dialogic高密度新产品的新一代电力呼叫中心解决方案. 深圳市意科特实业有限公司.电力设备,第3卷第3期. 2002 *
基于Dialogic语音卡实时数据采集的电话语音识别系统. 肖熙,王侠,王作英.计算机工程与应用,第2003年第17期. 2003 *
基于语音识别的IVR系统设计. 谭保华,熊健民,刘幺和.数据通信,第2005年第1期. 2005 *

Also Published As

Publication number Publication date
CN1859540A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
US8339646B2 (en) Systems and methods for the reliable transmission of facsimiles over packet networks
JP2002185802A (en) Color facsimile machine
EP2429164A1 (en) Universal Facsimile Engine
CN100373907C (en) Realization method and system of fax automation test
JP2003087541A (en) Method for controlling transmission of communication terminal
KR20060044421A (en) Communication control method and communication device
US9137396B2 (en) Facsimile apparatus that connects via session initiation protocol and control method therefor, as well as storage medium
CN100334872C (en) Method and system for realizing T38 protocol fax automatic test
CN102148808A (en) Fax switching method, access device and fax system
CN101127647A (en) Fax test equipment and network equipment based on T38 protocol
JP3767000B2 (en) Communication device
JP4186428B2 (en) Facsimile apparatus and facsimile communication method
US20020067514A1 (en) Communication apparatus
JP4188848B2 (en) Network facsimile machine
CN1206283A (en) Facsimile system
JP3657144B2 (en) Network facsimile machine and network facsimile machine program
CN100407754C (en) Test method for fax quality
JP3977160B2 (en) Network facsimile machine
CN100589511C (en) Method and system for detecting and demodulating facsimiles from pulse code modulated data
CN111107231A (en) Method and system for automatically switching to T.38 fax, computer equipment and medium
KR940005253B1 (en) Computer file transmission control for computer-fax system
JP2002135515A (en) Internet facsimile machine
KR100277736B1 (en) How to Send / Receive Fax Data
JP2005086314A (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
JP2009225290A (en) Multifunction device

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: 20080305

Termination date: 20100214