CN113595826A - Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test - Google Patents

Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test Download PDF

Info

Publication number
CN113595826A
CN113595826A CN202110862068.0A CN202110862068A CN113595826A CN 113595826 A CN113595826 A CN 113595826A CN 202110862068 A CN202110862068 A CN 202110862068A CN 113595826 A CN113595826 A CN 113595826A
Authority
CN
China
Prior art keywords
fxo
voice
test
tone
special
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110862068.0A
Other languages
Chinese (zh)
Inventor
唐中立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinhe Semiconductor Technology Wuxi Co Ltd
Original Assignee
Xinhe Semiconductor Technology Wuxi 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 Xinhe Semiconductor Technology Wuxi Co Ltd filed Critical Xinhe Semiconductor Technology Wuxi Co Ltd
Priority to CN202110862068.0A priority Critical patent/CN113595826A/en
Publication of CN113595826A publication Critical patent/CN113595826A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method for single-voice-port PON gateway equipment to carry out single-equipment voice production test, which is characterized in that a FXO port of a test fixture and a voice port of the gateway equipment are connected through a telephone line, a voice port test flow in a production process is simplified by testing basic functions of SLIC and DSP channels, the single-voice-port equipment enters a production test mode according to a service code, and a special Tone which needs to be generated/detected by the FXO equipment and the gateway equipment to be tested in the production test process is recorded. The invention can finish the voice port capability test of the single voice port equipment by the single equipment, does not establish the connection of the two equipment, does not depend on the voice server environment and the PON environment, and simplifies the test flow of the single voice port equipment; in addition, the test fixture/voice card can be used to quickly complete the test of the single voice port equipment; the production efficiency of production line equipment is improved; and has no additional influence on the original voice service flow based on PON registration.

Description

Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test
Technical Field
The invention relates to the technical field of gateway equipment production testing, in particular to a method for carrying out single-equipment voice production testing on single-voice-port PON gateway equipment.
Background
The VoIP function protocol layer function based on the PON gateway depends on the maintenance forwarding protocol function of the server, and therefore the gateway is required to be normally connected to the server through the PON when the VoIP function is tested.
In the production testing process needing mass production, if the server is required to be connected to test the voice port of the equipment, the workload is large, and the efficiency is low.
The existing single voice port equipment production testing method (H04M 3/22(2006.01)) introduces a testing method based on single voice port equipment, which is separated from a server, and in the method, a network cable is used for directly connecting two gateways to be tested to realize gateway intercommunication, so that the intercommunication of two voice ports of the two gateways is realized.
For the production line production test process, the function of connecting two single board test voice ports by setting the single board IP is relatively complex, and the workload is large; in addition, in the actual production line test, two speech ports are not needed to be communicated to test the hardware capability of the speech port, and the normal function of the speech port can be confirmed only by detecting the main function (SLIC, DSP channel) of the speech port.
Disclosure of Invention
The invention aims to provide a method for single-equipment voice production test of single-voice-port PON gateway equipment, which reduces the dependence on the environment and improves the production test efficiency so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for testing single-voice-port PON gateway device includes connecting FXO port of FXO test fixture to voice 1 of gateway to be tested through telephone line, testing hardware capability of voice port by detecting external-hanging FXO device, detecting off-hook of FXO device by SLIC, dialing of FXO device by SLIC, detecting on-hook of FXO device by SLIC, ringing of SLIC and receiving and detecting DTMF tone or other special tone generated by FXO device by DSP, such as CNG, generating and sending DTMF tone or other special tone by DSP, such as CNG.
The external FXO test fixture can be FXO equipment developed by the user, can be realized based on sound card equipment, and can also be a basic phone to realize the FXO function; the invention describes a gateway voice port testing process by using fixture equipment for realizing FXO function, and the specific process is as follows:
s1: after the gateway equipment is started, SLIC and DSP driving parameters are initialized, and a voice process is started.
S2: the FXO port of the test fixture and the voice port of the gateway equipment are connected through a telephone line.
S3: the test fixture starts a production test process according to the command.
S4: the test fixture FXO simulates off-hook, dialing special service numbers and then on-hook; after hanging up, the FXO starts a timer to start detecting ringing.
S5: detecting an off-hook signal by the gateway to be tested; identifying a special service code, extracting and recording a special Tone key required to be generated/detected, and entering a production test mode; in a production test mode, after detecting an on-hook signal, a gateway to be tested initiates a ringing signal to a voice port; in the stage, the testing of the voice port for detecting SLIC off-hook, SLIC for detecting dialing and SLIC for detecting on-hook is completed.
S6: after the flow of S4, the FXO starts a timer to detect ringing.
S7: and (3) not detecting ringing within the FXO timer, ending the test, and generating a test result: no ringing is detected.
S8: detecting ringing in the FXO timer, and simulating off-hook by the FXO; SLIC ringing passes the test at this stage.
S9: in the production test mode, after detecting an off-hook signal, the gateway to be tested starts to detect and match the special Tone.
S10: after FXO is off-hook in S8, generating a special DTMF Tone according to the dialed service code; if the ordinary telephone test is passed, the special DTMF number is manually dialed again at the stage.
S11: and detecting the matched special Tone or key by the gateway to be detected.
S12: the gateway to be tested does not detect the special Tone or the detected special Tone is inconsistent with the recorded special Tone key; and the gateway to be tested exits the production test mode and sends busy tone to the outside.
S13: and the gateway to be tested detects the special Tone and is consistent with the recorded special Tone key, and the gateway to be tested externally sends the special Tone through the simulation of the DSP.
S14: FXO detects special Tone.
S15: the FXO does not detect the special Tone or the detected special Tone is inconsistent with the recorded special Tone key, the FXO simulates hang-up, the test is finished, and a test result is generated: FXO detection failed.
S16: and (3) detecting a special Tone by the FXO and enabling the special Tone to be consistent with the recorded special Tone key, simulating hang-up by the FXO, finishing the test, and generating a test result: PASS. This stage may verify the Tone generating Tone transmitting Tone function of the DSP.
Compared with the prior art, the invention has the advantages that:
the invention can finish the voice port capability test of the single voice port equipment by the single equipment, does not establish the connection of the two equipment, does not depend on the voice server environment and the PON environment, and simplifies the test flow of the single voice port equipment; in addition, the test fixture/voice card can be used to quickly complete the test of the single voice port equipment; improve production line equipment production efficiency.
In addition, the single voice port equipment enters a production test mode according to the service code, and special Tone generated/detected by FXO equipment and gateway equipment to be detected in the production test process is recorded; after the test is finished, the normal voice function mode is recovered, and no additional influence is caused on the original voice service flow based on PON registration.
Drawings
Fig. 1 is a connection structure diagram of a test gateway for testing a single voice port according to an embodiment of the present invention.
FIG. 2 is a flow chart of a method for testing a single speech port according to an embodiment of the present invention.
Detailed Description
The technical solution of the present patent will be described in further detail with reference to the following embodiments.
Referring to fig. 1 and 2, a method for testing voice generation of a single device by a PON gateway device with a single voice port tests hardware capability of the voice port by detecting an external FXO device, including detecting that the FXO device is off-hook by an SLIC, detecting that the FXO device is dialed by the SLIC, detecting that the FXO device is on-hook by the SLIC, ringing the SLIC, receiving and detecting a DTMF tone (or other special tone, such as CNG) generated by the FXO device by a DSP, and generating and sending the DTMF tone (or other special tone, such as CNG) by the DSP.
In this embodiment, a gateway voice port test flow is described by using fixture equipment for implementing the FXO function, which is specifically shown in fig. 2:
s1: after the gateway equipment is started, the SLIC is initialized, the DSP drives parameters, and a voice process is started.
S2: the FXO port (or the voice card equipment or the common telephone equipment) of the test fixture and the voice port of the gateway equipment are connected through a telephone line.
S3: the test fixture starts a production test process according to the command.
S4: the test fixture FXO simulates off-hook, simulates dialing of special service numbers (such as "# #1234# #", wherein the former and latter "#" are used for identifying special service codes entering a production test mode, and the middle "1234" is a DTMF key used for recording detection/generation Tone, or can self-define special Tone identification keys (such as CNG-00 and CED-11), and then simulates on-hook. After hanging up, the FXO starts a timer (e.g., 2 seconds) to start detecting ringing.
S5: detecting an off-hook signal by the gateway to be tested; identifying a special service code ("# # xxxx # #"), extracting and recording a special Tone key xxxx needing generating/detecting, and entering a production test mode; in the production test mode, after detecting the on-hook signal, the gateway to be tested initiates a ringing signal to the voice port. In the stage, the testing of the voice port for detecting SLIC off-hook, SLIC for detecting dialing and SLIC for detecting on-hook is completed.
S6: after the flow of S4, the FXO starts a timer to detect ringing.
S7: and (3) not detecting ringing within the FXO timer, ending the test, and generating a test result: no ringing is detected.
S8: and detecting ringing in the FXO timer, and simulating off-hook by the FXO. SLIC ringing passes the test at this stage.
S9: in the production test mode, after detecting an off-hook signal, the gateway to be tested starts to detect and match the special Tone.
S10: after the FXO goes off-hook in S8, a special DTMF Tone is generated based on the dialed service code (if the normal telephone test is passed, the stage needs to manually dial the special DTMF number again (e.g. 1234)).
S11: and detecting the matched special Tone (or key) by the gateway to be tested.
S12: the gateway to be tested does not detect the special Tone or the detected special Tone is inconsistent with the recorded special Tone key; and the gateway to be tested exits the production test mode and sends busy tone to the outside.
S13: and the gateway to be tested detects the special Tone and is consistent with the recorded special Tone key, and the gateway to be tested externally sends the special Tone through the simulation of the DSP.
S14: FXO detects special Tone.
S15: the FXO does not detect the special Tone or the detected special Tone is inconsistent with the recorded special Tone key, the FXO simulates hang-up, the test is finished, and a test result is generated: FXO detection failed.
S16: and (3) detecting a special Tone by the FXO and enabling the special Tone to be consistent with the recorded special Tone key, simulating hang-up by the FXO, finishing the test, and generating a test result: PASS. This stage may verify the Tone generating Tone transmitting Tone function of the DSP.
In order to simplify the production line generation test flow and improve the generation efficiency, the invention can achieve the purpose of detecting whether the hardware is damaged or not by testing the basic functions of the SLIC and the DSP
Although the preferred embodiments of the present patent have been described in detail, the present patent is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present patent within the knowledge of those skilled in the art.

Claims (4)

1. A method for single voice port PON gateway device to carry out single device voice production test is to connect FXO port of test fixture and voice port of gateway device through telephone line without establishing connection between two voice ports of two devices, which is characterized in that the voice port test flow of production process is simplified by testing SLIC and basic function of DSP channel, single voice port device is made to enter production test mode according to service code, and special Tone generated/detected by FXO device and gateway device to be tested is recorded in production test process, and voice port hardware capability is tested by detecting external FXO device, including SLIC detecting FXO device off-hook, SLIC detecting FXO device dialing, SLIC detecting FXO device on-hook, SLIC ringing, DSP receiving and detecting DTMF Tone or other special Tone generated by FXO device, and DSP generating and sending DTMF Tone or other special Tone.
2. The method for single-voice-port PON gateway equipment to perform single-equipment voice production and measurement according to claim 1 is characterized by comprising the following specific steps:
s1: after the gateway equipment is started, SLIC and DSP driving parameters are initialized, and a voice process is started;
s2: connecting an FXO port of the test fixture and a voice port of the gateway equipment through a telephone line;
s3: the test fixture starts a production test process according to the command;
s4: the test fixture FXO simulates off-hook, dialing special service numbers and then on-hook; after the system is hung up, the FXO starts a timer to start detecting ringing;
s5: detecting an off-hook signal by the gateway to be tested; identifying a special service code, extracting and recording a special Tone key required to be generated/detected, and entering a production test mode; in a production test mode, after detecting an on-hook signal, a gateway to be tested initiates a ringing signal to a voice port; in the stage, the testing of the SLIC detection off-hook, the SLIC detection dialing and the SLIC detection on-hook of the voice port is finished;
s6: after the S4 process, the FXO starts a timer to detect ringing;
s7: and (3) not detecting ringing within the FXO timer, ending the test, and generating a test result: no ringing is detected;
s8: detecting ringing in the FXO timer, and simulating off-hook by the FXO; SLIC ringing passes the test at this stage;
s9: in a production test mode, after detecting an off-hook signal, a gateway to be tested starts to detect and match a special Tone;
s10: after FXO is off-hook in S8, generating a special DTMF Tone according to the dialed service code; if the general telephone set passes the test, the special DTMF number needs to be manually dialed again at the stage;
s11: detecting matched special Tone or keys by the gateway to be detected;
s12: the gateway to be tested does not detect the special Tone or the detected special Tone is inconsistent with the recorded special Tone key; the gateway to be tested exits the production test mode and sends busy tone to the outside;
s13: the gateway to be tested detects a special Tone and is consistent with the recorded special Tone key, and the gateway to be tested externally sends the special Tone through DSP simulation;
s14: FXO detecting a special Tone;
s15: the FXO does not detect the special Tone or the detected special Tone is inconsistent with the recorded special Tone key, the FXO simulates hang-up, the test is finished, and a test result is generated: FXO detection fails;
s16: and (3) detecting a special Tone by the FXO and enabling the special Tone to be consistent with the recorded special Tone key, simulating hang-up by the FXO, finishing the test, and generating a test result: PASS; this stage may verify the Tone generating Tone transmitting Tone function of the DSP.
3. The method for single-voice-port PON gateway device to perform single-device voice production testing according to claim 1, wherein the FXO testing jig can be a self-developed FXO device, can be implemented based on a sound card device, and can also be a basic phone to implement FXO functions.
4. The method as claimed in claim 2, wherein the special service number in step S4 can be "# #1234# #", where the "# #" is used to identify the special service code entering the production test mode, and the middle "1234" is a DTMF key used to record the detection/generation Tone, or can customize the special Tone identification key, such as CNG-00, CED-11.
CN202110862068.0A 2021-07-29 2021-07-29 Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test Pending CN113595826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110862068.0A CN113595826A (en) 2021-07-29 2021-07-29 Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110862068.0A CN113595826A (en) 2021-07-29 2021-07-29 Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test

Publications (1)

Publication Number Publication Date
CN113595826A true CN113595826A (en) 2021-11-02

Family

ID=78251600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110862068.0A Pending CN113595826A (en) 2021-07-29 2021-07-29 Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test

Country Status (1)

Country Link
CN (1) CN113595826A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157761A (en) * 2021-12-10 2022-03-08 四川天邑康和通信股份有限公司 System and method for voice test of multi-channel voice gateway equipment based on router
CN118574046A (en) * 2024-07-31 2024-08-30 四川天邑康和通信股份有限公司 PON-based government enterprise gateway testing method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5644287A (en) * 1979-09-19 1981-04-23 Nec Corp Test system of radiotelephony exchange
CN101990040A (en) * 2010-11-10 2011-03-23 深圳市共进电子有限公司 System and method for testing voice over internet protocol (VOIP) device
CN103401768A (en) * 2013-07-19 2013-11-20 福建星网锐捷通讯股份有限公司 Quick detection method for home gateway equipment interface
CN105657194A (en) * 2016-02-17 2016-06-08 烽火通信科技股份有限公司 Method for executing voice production measurement based on single-voice hole devices
CN106331384A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Media channel test method and device
CN109275051A (en) * 2018-08-16 2019-01-25 烽火通信科技股份有限公司 A kind of ONU phonetic function detection method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5644287A (en) * 1979-09-19 1981-04-23 Nec Corp Test system of radiotelephony exchange
CN101990040A (en) * 2010-11-10 2011-03-23 深圳市共进电子有限公司 System and method for testing voice over internet protocol (VOIP) device
CN103401768A (en) * 2013-07-19 2013-11-20 福建星网锐捷通讯股份有限公司 Quick detection method for home gateway equipment interface
CN106331384A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Media channel test method and device
CN105657194A (en) * 2016-02-17 2016-06-08 烽火通信科技股份有限公司 Method for executing voice production measurement based on single-voice hole devices
CN109275051A (en) * 2018-08-16 2019-01-25 烽火通信科技股份有限公司 A kind of ONU phonetic function detection method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157761A (en) * 2021-12-10 2022-03-08 四川天邑康和通信股份有限公司 System and method for voice test of multi-channel voice gateway equipment based on router
CN118574046A (en) * 2024-07-31 2024-08-30 四川天邑康和通信股份有限公司 PON-based government enterprise gateway testing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US5966427A (en) Apparatus and method for troubleshooting internet protocol telephony networks
CN113595826A (en) Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test
CN102333163B (en) External auxiliary testing apparatus, and testing system thereof and method thereof
CN101697565A (en) Fault detection method and device
CN100464538C (en) Method and apparatus for automatic testing media gateway
CN1984171B (en) System and method for realizing speech apparatus function test
CN109275051B (en) ONU voice function detection method and system
WO2012079339A1 (en) Method for realizing subscriber line auto-test and passive optical network terminal thereof
CN102857645A (en) Method and apparatus for testing voice media gateway
CN103401768A (en) Quick detection method for home gateway equipment interface
CN106656771B (en) A kind of method that accessing gateway equipment and inside it loopback realize basic call
CN101895443A (en) Media gateway and media resource detection method
CN102118517B (en) Method for automatically testing integrated access devices of VoIP
CN113489847A (en) Production testing method of PON gateway equipment based on double-voice-port equipment
CN114157761B (en) System and method for voice test of multipath voice gateway equipment based on router
CN115580681A (en) Method for testing hardware function of analog port
US6792080B1 (en) System and method for testing enhanced 911 signalling over a digital loop carrier trunk
JP2007027953A (en) Method for testing connection of ip telephone
US6304655B1 (en) Signal capture for telecommunications switch
TWI296470B (en)
CN105611082A (en) Network voice testing system
JP3142040B2 (en) ISDN terminal equipment
JP2001308952A (en) Adaptor and network system using it
CN101640731B (en) Polyphonic ringtone server, method for realizing polyphonic ringtone, and device and method for identifying polyphonic ringtone
JPH05292562A (en) Telephone exchange

Legal Events

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

Application publication date: 20211102