CN104202489A - Method for testing phone devices - Google Patents

Method for testing phone devices Download PDF

Info

Publication number
CN104202489A
CN104202489A CN201410495302.0A CN201410495302A CN104202489A CN 104202489 A CN104202489 A CN 104202489A CN 201410495302 A CN201410495302 A CN 201410495302A CN 104202489 A CN104202489 A CN 104202489A
Authority
CN
China
Prior art keywords
telephone plant
test
main frame
slave
telephone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410495302.0A
Other languages
Chinese (zh)
Other versions
CN104202489B (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.)
Fujian Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment 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 Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN201410495302.0A priority Critical patent/CN104202489B/en
Publication of CN104202489A publication Critical patent/CN104202489A/en
Application granted granted Critical
Publication of CN104202489B publication Critical patent/CN104202489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method for testing phone devices. The method comprises the following steps: S10: presetting the test program process, and introducing in a phone device mainframe and a phone device slave machine; S20: carrying out mutual communication between the phone device mainframe and the phone device slave machine according to the test program process; S30: when anomalies occur in the mutual communication process, automatically recovering the site, redialing for communication by the dialing part, and recording the reason for the anomalies; S40: if no anomalies occur in the mutual communication process, allowing the phone device mainframe to pass the test; S50: if any anomalies occur, showing that the phone device mainframe fails the test. The method solves the problems that manual intervention is required in the talking test of the phone devices, and the talking test is complicated in process and low in test efficiency; the mutual communication operation is carried out between the two phone devices according to the preset test program process to complete the specified test content; when any anomalies occur, the rest operation can be continued by recovering the site, the failure cause is recorded, and manual intervention is not needed.

Description

A kind of method of telephone plant test
Technical field
The present invention relates to communication technique field, specifically be the method for a kind of telephone plant test.
Background technology
In the method for testing of legacy telephony equipment, need manually telephone plant to be carried out to complicated incoming/sending call operation, not only expended manpower, also having increased people is possible of makeing mistakes, and efficiency is extremely low.And adopt third party device (call equipment or computer) to test telephone plant, once there is mistake in test process, just need artificial adjustment, still cannot break away from human intervention, and process is complicated, based on this reason, be necessary to provide design a kind of method that can solve automatic call test between telephone plant, realize the real-time automatic test between telephone plant.
Summary of the invention
Technical problem to be solved by this invention is: a kind of method of telephone plant test is provided, and the speaking test that solves telephone plant needs human intervention, the problem that process complexity and testing efficiency are not high.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: a kind of method of telephone plant test, comprising:
S10: default test program flow process, and import telephone plant main frame and telephone plant slave;
S20: telephone plant main frame intercoms according to test program flow process mutually with telephone plant slave;
S30: at mutual communication process, there is automatic restoring scene when abnormal, by dialing party again dialcom, and recording exceptional reason;
S40: if communication process without extremely, telephone plant main frame is by test;
S50: if occur extremely, telephone plant main frame is by test.
Beneficial effect of the present invention is: the test process that is different from the telephone plant of prior art needs artificial or third party device to carry out complicated incoming/sending call operation to telephone plant, labor intensive not only, also increases people and is the inefficient method of testing of the possibility of makeing mistakes.The invention provides a kind of third party device that do not rely on, the method of directly testing between two telephone plants, by importing in telephone plant main frame and equipment slave after the test program flow process that prior Programming is good, telephone plant main frame according to program circuit intercommunication mutually voluntarily, carries out the test of telephony feature with telephone plant slave to telephone plant main frame.And in test process, break down, and cannot continue next when test, automatic decision restoring scene is continued to next step, and record trouble information, to analyze.Whole test process completes automatically, and without the cooperation of manual intervention and third party device, test process is simple and convenient.
Accompanying drawing explanation
Fig. 1 is the test flow chart of the method for a kind of telephone plant test of an embodiment of the present invention;
Fig. 2 is the flowchart of telephone plant main frame in the method for a kind of telephone plant of an embodiment of the present invention test;
Fig. 3 is the flowchart of telephone plant slave in the method for a kind of telephone plant of an embodiment of the present invention test;
Fig. 4 is the flowchart of tested telephone plant in the present invention's one specific embodiment;
Fig. 5 is the flowchart of abutting end equipment in the present invention's one specific embodiment.
Embodiment
By describing technology contents of the present invention in detail, being realized object and effect, below in conjunction with execution mode and coordinate accompanying drawing to be explained.
The design of most critical of the present invention is: between two telephone plants, according to the test program flow process of reserving in advance in advance, carry out the content measurement that mutual traffic operation completes regulation, when appearance is abnormal, can continue remaining operation by restoring scene, and record trouble reason, without manual intervention.
Please refer to Fig. 1 to Fig. 3, the invention provides a kind of method of telephone plant test, comprising:
Step S10: default test program flow process, and import telephone plant main frame and telephone plant slave;
Step S20: telephone plant main frame intercoms according to test program flow process mutually with telephone plant slave;
Step S30: at mutual communication process, there is automatic restoring scene when abnormal, by dialing party again dialcom, and recording exceptional reason;
Step S40: if communication process without extremely, telephone plant main frame is by test;
Step S50: if occur extremely, telephone plant main frame is by test.
From foregoing description, beneficial effect of the present invention is: the method for a kind of telephone plant test of the present invention, and setting tested test-run a machine is telephone plant main frame, and abutting end is telephone plant slave.By telephone plant main frame, first initiatively breathe out, the incoming call of equipment slave again receives calls, if normal cyclic process of initiatively breathing out again reaches test request, if and there are abnormal conditions in test process, scene before abnormal appearance will be automatically restored to by judgement, and the reason of recording exceptional, continue to carry out next step, complete test.To there will not be because glitch just stops test process, need to manually guard, and the situation that frequently inspection, trouble shooting reason cause.Between telephone plant, according to the flow process of reserving in advance in advance, automatically complete communication test, process is simple and be difficult for makeing mistakes, and testing process once configures and just can complete whole content measurements, without repeatedly compiling and manual intervention, greatly promotes the efficiency of telephone plant test.
Further, described step S20 comprises the following steps to step S30:
S100: telephone plant main frame is initiatively breathed out;
S200: judge whether telephone plant slave is successfully connected, and if so, telephone plant slave and telephone plant main frame keep call in default duration, execution step S210; If not, be considered as fault, execution step S230;
S210: judge in the air time and whether occur breaking; If there is not broken string, normal talking is hung up after finishing, execution step S300; If there is broken string, be considered as fault, execution step S230;
S230: determine whether to break down for the first time; If so, stop test; If not, finish call, recording exceptional reason, recovers test scene, execution step S100;
S300: telephone plant slave is initiatively breathed out;
S400: judge whether telephone plant main frame is successfully connected, and if so, telephone plant slave and telephone plant main frame keep call in default duration, execution step S210 finishes to hang up or stop test to normal talking; If not, whether failure judgement number of times exceeds preset value; If so, stop test; If not, finish call, recording exceptional reason, recovers test scene, execution step S300;
Circulation execution step S100~S400 reaches preset value to the talk times of telephone plant main frame and telephone plant slave.
Further, step S10 comprises the following steps:
S1: default test program flow process;
S2: initialization telephone plant main frame and telephone plant slave, import telephone plant main frame and telephone plant slave by described test program flow process;
S3: it is the radio telephone mode that device Host and telephone plant slave are set;
Further, in step S20, the step that described telephone plant main frame is carried out comprises following:
S11: telephone plant main frame is taken notes and dialled;
S12: whether judgement has connection event in default duration, if so, telephone plant slave and telephone plant main frame keep call in default duration, execution step S13, if not, be considered as fault, and judge whether to carry out and make mistakes for the first time, if not, perform step S14, if so, stop test, point out;
S13: judge in the air time whether occur broken string, if there is not broken string, normal talking is hung up after finishing; If there is broken string, be considered as fault, execution step S14;
S14: judged whether reply test scene; If so, stop test; If not, initiatively hang up, and judge whether to surpass continuously the default number of stoppages; If so, close telephone plant main frame, return to step S1; If not, return to step S11;
Further, the step that described telephone plant main frame is carried out also comprises following:
S15: whether receive incoming call event in the default duration of judgement; If so, perform step S16; If not, perform step S14;
S16: judge whether caller ID is telephone plant slave, and if not, rejection, returns to step S11; If so, perform step S17;
S17: whether have connection in the default duration of judgement; If so, telephone plant slave and telephone plant main frame keep call in default duration, and judge in the air time whether occur breaking; If there is not broken string, normal talking; If there is broken string, be considered as fault, execution step S14.
Further, in step S20, the step that described telephone plant slave is carried out comprises following:
S21: whether have incoming call event in the default duration of judgement, if not, be considered as fault, point out; If so, determine whether the incoming call of telephone plant main frame, if not, rejection, returns to step S21, if so, answers execution step S22;
S22: whether have connection event in the default duration of judgement, if not, perform step S23; If so, call, execution step S24;
S23: judged whether reply test scene; If so, stop test; If not, initiatively hang up, and judge whether to surpass continuously the default number of stoppages; If so, close telephone plant main frame, return to step S1; If not, return to step S21;
S24: judge in the air time whether occur broken string, if there is not broken string, hang up after normal talking; If there is broken string, be considered as fault, execution step S23.
Further, the step that described telephone plant slave is carried out also comprises following:
S24: whether receive the event of hanging up of main station in the default duration of judgement, if so, perform step S25; If not, initiatively hang up execution step S25;
S25: equipment slave is taken notes and dialled, and judges whether API runs succeeded, and if not, performs step S23; If so, in the default duration of judgement, whether there is connection event, when if so, telephone plant slave and telephone plant main frame keep default, converse longways, and perform step S26; If not, perform step S23;
S26: judge in the air time and whether occur if so, performing step S23 by broken string; If not, initiatively hang up execution step S27;
S27: whether hang up event in the default duration of judgement, if so, return to step S21; Initiatively hang up if not execution step S21.
Further, the default number of stoppages is three times.
Please refer to Fig. 4 and Fig. 5; Embodiment mono-comprises:
(1) initiatively breathe out;
If a) the other side successfully connects, the 10min that converses, judges during call whether phone disconnects, and after normal talking finishes, hangs up the telephone.Enter and answer flow process;
B) if the other side's access failure judges whether to carry out for the first time, if stop for the first time test; If not hang up the telephone for the first time;
C) if occur continuously, 3 exhalation are wrong or call is abnormal disconnects, and thinks that module is abnormal, closes telephone plant and again opens; If restart after telephone plant, again make mistakes, stop test.
(2) answer flow process:
A) wait for incoming call, have time-out time;
B) receive that abutting end incoming call answers, call 10min, waits for that the other side hangs up; If harassing call, rejection;
C) if occur continuously, wait for that incoming call is wrong or abnormal disconnection of conversing for 3 times, think that module is abnormal, close telephone plant and again open; If restart after telephone plant, again make mistakes, stop test.
D) if the other side is overtime not to be hung up, the machine is hung up the telephone;
E) time delay a period of time, enter the flow process of initiatively breathing out.
Embodiments of the invention two, comprising:
The first incoming call answering of test slave, more initiatively breathe out, if normally enter again incoming call, intercept, carry out this circulation repeatedly to reach test request.If there are abnormal conditions in test process, return to the on-the-spot and time delay a period of time before abnormal appearance, continue next circulation, simultaneously recording exceptional reason.Idiographic flow is as follows:
(1) answer flow process:
A) wait for incoming call, without time-out time;
B) receive that incoming call answers, call 10min, waits for that the other side hangs up; If harassing call, refuses
Connect;
C) if occur continuously, 3 calls are abnormal disconnects, and thinks that module is abnormal, closes telephone plant again
Open; If restart after telephone plant, again make mistakes, stop test.
D) if the other side is overtime not to be hung up, the machine is hung up the telephone;
E) time delay a period of time, enter the flow process of initiatively breathing out.
(2) initiatively breathe out;
If a) the other side successfully connects, the 10min that converses, judges during call whether phone disconnects, and after normal talking finishes, hangs up the telephone.Enter and answer flow process;
B) if the other side's access failure judges whether to carry out for the first time, if stop for the first time test; If not hang up the telephone for the first time;
C) if the recovery of hanging up the telephone was carried out 3 times continuously, think that module is abnormal, close telephone plant and again open;
D) if restart after telephone plant, again make mistakes, stop test.
In sum, the method of a kind of telephone plant test provided by the invention, can not rely on third party device or software, directly by realizing the test that intercomed mutually between two telephone plants, running is without manual intervention, and if break down in test process, can be by the automatic restoring scene of judgement, proceed next test, without manually on duty; Further, default test program flow process only need just can complete whole content measurements through configuration once, without repeatedly compiling and manual intervention, makes the test process of telephone plant more convenient, more has efficiency.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalents of utilizing specification of the present invention and accompanying drawing content to do, or be directly or indirectly used in relevant technical field, be all in like manner included in scope of patent protection of the present invention.

Claims (8)

1. a method for telephone plant test, is characterized in that, comprising:
S10: default test program flow process, and import telephone plant main frame and telephone plant slave;
S20: telephone plant main frame intercoms according to test program flow process mutually with telephone plant slave;
S30: at mutual communication process, there is automatic restoring scene when abnormal, by dialing party again dialcom, and recording exceptional reason;
S40: if communication process without extremely, telephone plant main frame is by test;
S50: if occur extremely, telephone plant main frame is by test.
2. the method for a kind of telephone plant test according to claim 1, is characterized in that, described step S20 comprises the following steps to step S30:
S100: telephone plant main frame is initiatively breathed out;
S200: judge whether telephone plant slave is successfully connected, and if so, telephone plant slave and telephone plant main frame keep call in default duration, execution step S210; If not, be considered as fault, execution step S230;
S210: judge in the air time and whether occur breaking; If there is not broken string, normal talking is hung up after finishing, execution step S300; If there is broken string, be considered as fault, execution step S230;
S230: determine whether to break down for the first time; If so, stop test; If not, finish call, recording exceptional reason, recovers test scene, execution step S100;
S300: telephone plant slave is initiatively breathed out;
S400: judge whether telephone plant main frame is successfully connected, and if so, telephone plant slave and telephone plant main frame keep call in default duration, execution step S210 finishes to hang up or stop test to normal talking; If not, whether failure judgement number of times exceeds preset value; If so, stop test; If not, finish call, recording exceptional reason, recovers test scene, execution step S300;
Circulation execution step S100~S400 reaches preset value to the talk times of telephone plant main frame and telephone plant slave.
3. the method for a kind of telephone plant test according to claim 1, is characterized in that, step S10 comprises the following steps:
S1: default test program flow process;
S2: initialization telephone plant main frame and telephone plant slave, import telephone plant main frame and telephone plant slave by described test program flow process;
S3: it is the radio telephone mode that device Host and telephone plant slave are set.
4. the method for a kind of telephone plant test according to claim 3, is characterized in that, in step S20, the step that described telephone plant main frame is carried out comprises following:
S11: telephone plant main frame is taken notes and dialled;
S12: whether judgement has connection event in default duration, if so, telephone plant slave and telephone plant main frame keep call in default duration, execution step S13, if not, be considered as fault, and judge whether to carry out and make mistakes for the first time, if not, perform step S14, if so, stop test, point out;
S13: judge in the air time whether occur broken string, if there is not broken string, normal talking is hung up after finishing; If there is broken string, be considered as fault, execution step S14;
S14: judged whether reply test scene; If so, stop test; If not, initiatively hang up, and judge whether to surpass continuously the default number of stoppages; If so, close telephone plant main frame, return to step S1; If not, return to step S11.
5. the method for a kind of telephone plant test according to claim 4, is characterized in that, the step that described telephone plant main frame is carried out also comprises following:
S15: whether receive incoming call event in the default duration of judgement; If so, perform step S16; If not, perform step S14;
S16: judge whether caller ID is telephone plant slave, and if not, rejection, returns to step S11; If so, perform step S17;
S17: whether have connection in the default duration of judgement; If so, telephone plant slave and telephone plant main frame keep call in default duration, and judge in the air time whether occur breaking; If there is not broken string, normal talking; If there is broken string, be considered as fault, execution step S14.
6. the method for a kind of telephone plant test according to claim 3, is characterized in that, in step S20, the step that described telephone plant slave is carried out comprises following:
S21: whether have incoming call event in the default duration of judgement, if not, be considered as fault, point out; If so, determine whether the incoming call of telephone plant main frame, if not, rejection, returns to step S21, if so, answers execution step S22;
S22: whether have connection event in the default duration of judgement, if not, perform step S23; If so, call, execution step S24;
S23: judged whether reply test scene; If so, stop test; If not, initiatively hang up, and judge whether to surpass continuously the default number of stoppages; If so, close telephone plant main frame, return to step S1; If not, return to step S21;
S24: judge in the air time whether occur broken string, if there is not broken string, hang up after normal talking; If there is broken string, be considered as fault, execution step S23.
7. the method for a kind of telephone plant test according to claim 3, is characterized in that, the step that described telephone plant slave is carried out also comprises following:
S24: whether receive the event of hanging up of main station in the default duration of judgement, if so, perform step S25; If not, initiatively hang up execution step S25;
S25: equipment slave is taken notes and dialled, and judges whether API runs succeeded, and if not, performs step S23; If so, in the default duration of judgement, whether there is connection event, when if so, telephone plant slave and telephone plant main frame keep default, converse longways, and perform step S26; If not, perform step S23;
S26: judge in the air time and whether occur if so, performing step S23 by broken string; If not, initiatively hang up execution step S27;
S27: whether hang up event in the default duration of judgement, if so, return to step S21; Initiatively hang up if not execution step S21.
8. according to the method for a kind of telephone plant test described in claim 2,4 or 6 any one, it is characterized in that, the default number of stoppages is three times.
CN201410495302.0A 2014-09-24 2014-09-24 Method for testing phone devices Active CN104202489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410495302.0A CN104202489B (en) 2014-09-24 2014-09-24 Method for testing phone devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410495302.0A CN104202489B (en) 2014-09-24 2014-09-24 Method for testing phone devices

Publications (2)

Publication Number Publication Date
CN104202489A true CN104202489A (en) 2014-12-10
CN104202489B CN104202489B (en) 2017-01-25

Family

ID=52087714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410495302.0A Active CN104202489B (en) 2014-09-24 2014-09-24 Method for testing phone devices

Country Status (1)

Country Link
CN (1) CN104202489B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194188A (en) * 2021-03-29 2021-07-30 上海闻泰电子科技有限公司 Call function testing method and device, computer equipment and storage medium
CN113301202A (en) * 2021-05-20 2021-08-24 广州绿怡信息科技有限公司 Call detection method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115066A1 (en) * 2001-12-17 2003-06-19 Seeley Albert R. Method of using automated speech recognition (ASR) for web-based voice applications
CN1791256A (en) * 2004-12-17 2006-06-21 中兴通讯股份有限公司 Mobile phone communication automatic testing method and mobile phone automatic calling unit
US20100311413A1 (en) * 2009-06-04 2010-12-09 Hong Fu Jin Precision Industry(Shenzhen) Co., Ltd. Method for testing working states of mobile phone
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method
CN103533126A (en) * 2012-07-06 2014-01-22 上海斐讯数据通信技术有限公司 Device and method for carrying out cellphone test automatically
CN103647863A (en) * 2013-12-27 2014-03-19 上海斐讯数据通信技术有限公司 Two mobile terminals-based method and system for mutually testing headset loop
CN103716465A (en) * 2013-12-27 2014-04-09 上海斐讯数据通信技术有限公司 Two-mobile-terminal mutual testing method and system
CN103841276A (en) * 2014-03-24 2014-06-04 博信通信股份有限公司 Method for evaluating speech quality based on smart phone platform

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115066A1 (en) * 2001-12-17 2003-06-19 Seeley Albert R. Method of using automated speech recognition (ASR) for web-based voice applications
CN1791256A (en) * 2004-12-17 2006-06-21 中兴通讯股份有限公司 Mobile phone communication automatic testing method and mobile phone automatic calling unit
US20100311413A1 (en) * 2009-06-04 2010-12-09 Hong Fu Jin Precision Industry(Shenzhen) Co., Ltd. Method for testing working states of mobile phone
CN103533126A (en) * 2012-07-06 2014-01-22 上海斐讯数据通信技术有限公司 Device and method for carrying out cellphone test automatically
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method
CN103647863A (en) * 2013-12-27 2014-03-19 上海斐讯数据通信技术有限公司 Two mobile terminals-based method and system for mutually testing headset loop
CN103716465A (en) * 2013-12-27 2014-04-09 上海斐讯数据通信技术有限公司 Two-mobile-terminal mutual testing method and system
CN103841276A (en) * 2014-03-24 2014-06-04 博信通信股份有限公司 Method for evaluating speech quality based on smart phone platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194188A (en) * 2021-03-29 2021-07-30 上海闻泰电子科技有限公司 Call function testing method and device, computer equipment and storage medium
CN113301202A (en) * 2021-05-20 2021-08-24 广州绿怡信息科技有限公司 Call detection method and device

Also Published As

Publication number Publication date
CN104202489B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
TWI569618B (en) Communication method of hiding privacy and system thereof
CN105554223B (en) A kind of method that establishing connection and mobile terminal
US9172601B2 (en) Communications links
CN104320529A (en) Information receiving processing method and voice communication device
CN101437086B (en) System and method for implementing voice test
CN103200469A (en) Method utilizing passive optical network (PON) system access terminal to achieve internet protocol (IP) voice service call simulation
CN103581854A (en) Dual-card dual-standby single-pass mobile phone and phone call incoming method thereof
CN104202489A (en) Method for testing phone devices
CN105744089A (en) Call prompt method and device
CN104618593B (en) A kind of operating method when mobile terminal and its third party's incoming call
CN109195030B (en) Intelligent optical broadband fault repairing system based on optical modem alarm
CN104967621B (en) The display methods and system of voice calling service
CN105721727A (en) Call forwarding method and apparatus
CN104202463A (en) Call filter method and intelligent terminal
CN104394135B (en) Call limitation method and device
CN105812589B (en) Home gateway voice hardware diagnostic system and method
CN101834954A (en) Line detection apparatus and method for fixed phone
US9167079B1 (en) Subscriber cable pair identification
CN106254666A (en) The method and device that a kind of terminal is automatically brought into operation
CN104144147B (en) Voice communication method and system in video monitoring
CN105872167A (en) Telephone calling method and device and terminal
US20140362708A1 (en) Emergency communication solution
CN106293349B (en) A kind of terminal applies call method and device
US8249581B2 (en) Method for testing working states of mobile phone
CN107508957A (en) A kind of communication filter identifying system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant