CN117041420A - Voice call testing method, device and equipment - Google Patents

Voice call testing method, device and equipment Download PDF

Info

Publication number
CN117041420A
CN117041420A CN202310988607.4A CN202310988607A CN117041420A CN 117041420 A CN117041420 A CN 117041420A CN 202310988607 A CN202310988607 A CN 202310988607A CN 117041420 A CN117041420 A CN 117041420A
Authority
CN
China
Prior art keywords
target
communication link
link
determining
preset
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
CN202310988607.4A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310988607.4A priority Critical patent/CN117041420A/en
Publication of CN117041420A publication Critical patent/CN117041420A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2272Subscriber line supervision circuits, e.g. call detection circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Monitoring And Testing Of Exchanges (AREA)

Abstract

The embodiment of the application provides a method, a device and equipment for testing voice call, and relates to the technical field of artificial intelligence, the financial science and technology field or other related fields. The method comprises the following steps: determining a target call system to be tested, wherein the target call system comprises a target terminal, at least one target outbound server and at least one gateway server; determining at least one target communication link corresponding to the target terminal, wherein the target communication link is a communication link between the target outbound server and the gateway server; establishing a voice call with the target terminal through the at least one target communication link to obtain a link test result corresponding to each target communication link; and determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link, and sending the test result to preset equipment. The efficiency of dialing voice call and answering response voice call in the process of testing the call system is improved.

Description

Voice call testing method, device and equipment
Technical Field
The embodiment of the application relates to the technical field of artificial intelligence, in particular to a method, a device and equipment for testing voice call.
Background
Staff inside the enterprise can communicate with the clients through voice communication so as to solve the problems raised by the clients or complete business transactions. To ensure proper voice calls with customers, the enterprise's call systems need to be tested regularly.
In the related art, a voice call can be tested by: the staff sets configuration information (e.g., phone number of the target terminal, outbound server, gateway server, etc.) corresponding to the voice call through an application program in the terminal device. And establishing call connection with the target terminal through the corresponding server according to the information set by the user. After determining to establish a connection, the worker tests the call system through the voice call to determine whether an abnormality exists in the call system. In the above process, because each test requires manual dialing and voice call, it is determined whether the call system is abnormal, resulting in lower efficiency of dialing voice call and answering response voice call in the process of testing the call system.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for testing a voice call, which are used for solving the problem of lower efficiency of dialing the voice call and answering a response voice call in the process of testing a call system.
In a first aspect, an embodiment of the present application provides a method for testing a voice call, including:
determining a target call system to be tested, wherein the target call system comprises a target terminal, at least one target outbound server and at least one gateway server;
determining at least one target communication link corresponding to the target terminal, wherein the target communication link is a communication link between the target outbound server and the gateway server;
establishing a voice call with the target terminal through the at least one target communication link to obtain a link test result corresponding to each target communication link;
and determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link, and sending the test result to preset equipment.
In one possible implementation manner, determining at least one target communication link corresponding to the target terminal includes:
determining a plurality of preset communication links, wherein the preset communication links are communication links between a preset outbound server and a preset gateway server;
and determining the at least one target communication link in the plurality of preset communication links according to the identification of the at least one target outbound server and the identification of the at least one gateway server.
In one possible implementation, determining the at least one target communication link from the plurality of preset communication links according to the identification of the at least one target outbound server and the identification of the at least one gateway server includes:
and for any preset communication link, if the at least one target outbound server comprises the preset outbound server and the at least one gateway server comprises the preset gateway server, determining the preset communication link as the target communication link.
In one possible implementation, for any one of the target communication links; establishing a voice call with the target terminal through the target communication link to obtain a link test result corresponding to the target communication link, wherein the link test result comprises:
sending a call request to the target terminal through the target communication link;
if the connection response corresponding to the call request is received within the preset time, performing voice test with the target terminal to obtain the link test result;
if the connection response corresponding to the call request is not received within the preset time, determining that the link test result is abnormal.
In one possible implementation, sending a call request to the target terminal over the target communication link includes:
determining the call number of the target terminal;
generating the call request according to the identification of the gateway server corresponding to the target communication link and the call number;
and sending the call request to a target outbound server corresponding to the target communication link.
In a possible implementation manner, the voice test is performed with the target terminal to obtain the link test result, which includes:
determining preset voice information and playing the preset voice information;
if preset response information corresponding to the preset voice information is received, determining that the link test result is that the link is normal;
and if the preset response information is not received, determining that the link test result is abnormal.
In one possible implementation manner, determining the test result corresponding to the target call system according to the link test result corresponding to each target communication link includes:
if the link test results corresponding to each target communication link are respectively normal, determining that the test result corresponding to the target communication system is normal;
If the link test result corresponding to each target communication link is the link abnormality, determining that the test result corresponding to the target communication system is the system abnormality.
In a second aspect, an embodiment of the present application provides a device for testing a voice call, where the device includes:
the first determining module is used for determining a target call system to be tested, wherein the target call system comprises a target terminal, at least one target outbound server and at least one gateway server;
the second determining module is used for determining at least one target communication link corresponding to the target terminal, wherein the target communication link is a communication link between the target outbound server and the gateway server;
the communication module is used for establishing voice communication with the target terminal through the at least one target communication link to obtain a link test result corresponding to each target communication link;
and the third determining module is used for determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link and sending the test result to preset equipment.
In one possible implementation manner, the second determining module includes:
Determining a plurality of preset communication links, wherein the preset communication links are communication links between a preset outbound server and a preset gateway server;
and determining the at least one target communication link in the plurality of preset communication links according to the identification of the at least one target outbound server and the identification of the at least one gateway server.
In one possible implementation manner, the second determining module includes:
and for any preset communication link, if the at least one target outbound server comprises the preset outbound server and the at least one gateway server comprises the preset gateway server, determining the preset communication link as the target communication link.
In one possible implementation manner, the call establishment module includes:
sending a call request to the target terminal through the target communication link;
if the connection response corresponding to the call request is received within the preset time, performing voice test with the target terminal to obtain the link test result;
if the connection response corresponding to the call request is not received within the preset time, determining that the link test result is abnormal.
In one possible implementation manner, the call establishment module includes:
determining the call number of the target terminal;
generating the call request according to the identification of the gateway server corresponding to the target communication link and the call number;
and sending the call request to a target outbound server corresponding to the target communication link.
In one possible implementation manner, the call establishment module includes:
determining preset voice information and playing the preset voice information;
if preset response information corresponding to the preset voice information is received, determining that the link test result is that the link is normal;
and if the preset response information is not received, determining that the link test result is abnormal.
In one possible implementation manner, the third determining module includes:
if the link test results corresponding to each target communication link are respectively normal, determining that the test result corresponding to the target communication system is normal;
if the link test result corresponding to each target communication link is the link abnormality, determining that the test result corresponding to the target communication system is the system abnormality.
In a third aspect, an embodiment of the present application provides a test apparatus for a voice call, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the first aspects.
In a fourth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of the first aspects.
In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of any of the first aspects.
After determining a target call system to be tested (a target terminal, at least one target outbound server and at least one gateway server), determining at least one target communication link corresponding to the target terminal, wherein the target communication link is a communication link between the target outbound server and the gateway server. And establishing voice communication with the target terminal through at least one target communication link to obtain a link test result corresponding to each target communication link. And determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link. In the above process, at least one target communication link corresponding to the target terminal may be determined according to the target call system. And establishing a voice call with the target terminal through at least one target communication link, thereby determining a test result corresponding to the target call system. Instead of manually dialing and carrying out voice call in each test, thereby determining whether the call system is abnormal or not, and improving the efficiency of dialing voice call and answering response voice call in the process of testing the call system.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 2 is a flow chart of a method for testing a voice call according to an embodiment of the present application;
fig. 3 is a schematic diagram of a process for determining a target call system to be tested according to an embodiment of the present application;
fig. 4 is a flow chart of another voice call testing method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a process for determining a plurality of preset communication links according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a process for displaying prompt messages according to an embodiment of the present application;
fig. 7 is a schematic diagram of a voice call test procedure according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a voice call testing device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a voice call testing device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
It should be noted that the method and the device for testing a voice call of the present application can be used in the field of artificial intelligence, and can also be used in any field other than artificial intelligence.
In order to facilitate understanding, an application scenario to which the embodiment of the present application is applicable is described below with reference to fig. 1.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application. Referring to fig. 1, the terminal device 101 and the target terminal 102 are included. The terminal device 101 may be a mobile phone, a tablet computer, a computer, etc. The terminal device 101 and the target terminal 102 are provided with application programs, and the terminal device 101 determines the call number of the target terminal 102 in the application programs and dials the call number. The voice call request is sent to the target terminal 102, and the target terminal 102 can respond to the voice call request of the terminal device 101 through the corresponding application program and establish a voice call. In order to enable normal voice call between the terminal apparatus 101 and the target terminal 102, the voice call functions of the terminal apparatus 101 and the target terminal 102 may be tested at regular time.
In the related art, a voice call can be tested by: the staff sets configuration information (e.g., phone number of the target terminal, outbound server, gateway server, etc.) corresponding to the voice call through an application program in the terminal device. And establishing call connection with the target terminal through the corresponding server according to the information set by the user. After determining to establish a connection, the worker tests the call system through the voice call to determine whether an abnormality exists in the call system. In the above process, since each test requires manual dialing and voice call, it is determined whether the call system is abnormal, resulting in lower efficiency of testing the call system.
In the embodiment of the application, after a target call system to be tested (a target terminal, at least one target outbound server and at least one gateway server) is determined, at least one target communication link corresponding to the target terminal is determined, wherein the target communication link is a communication link between the target outbound server and the gateway server. And establishing voice communication with the target terminal through at least one target communication link to obtain a link test result corresponding to each target communication link. And determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link. In the above process, at least one target communication link corresponding to the target terminal may be determined according to the target call system. And establishing a voice call with the target terminal through at least one target communication link, thereby determining a test result corresponding to the target call system. Instead of manually dialing and carrying out voice call in each test, thereby determining whether the call system is abnormal or not, and improving the efficiency of dialing the voice call and answering the response voice call system in the test call process.
The method according to the present application will be described below by way of specific examples. It should be noted that the following embodiments may exist alone or in combination with each other, and for the same or similar content, the description will not be repeated in different embodiments.
Fig. 2 is a flow chart of a method for testing a voice call according to an embodiment of the present application. Referring to fig. 2, the method may include:
s201, determining a target call system to be tested.
The execution main body of the embodiment of the application can be the voice call testing equipment or the voice call testing device arranged in the voice call testing equipment. The test processing device for the voice call can be realized by software, or can be realized by a combination of software and hardware. The test device for voice calls may be a server.
The target call system comprises a target terminal, at least one target outbound server and at least one gateway server.
The outbound server is used for determining the target terminal and the gateway server and generating a call request. The gateway server is used for sending a call request to the target terminal and transmitting data.
The user may select the identity of the target terminal, the identity of the at least one target outbound server and the identity of the at least one gateway server on a page of the terminal device after determining the target terminal, the at least one target outbound server and the at least one gateway server to be tested. The terminal equipment responds to the input selection operation of the user to determine the identification of the target terminal, the identification of at least one target outbound server and the identification of at least one gateway server. And transmitting the identification of the target terminal, the identification of the at least one target outbound server and the identification of the at least one gateway server to the test equipment of the voice call. The voice call testing equipment determines a target call system to be tested according to the identification of the target terminal, the identification of at least one target outbound server and the identification of at least one gateway server.
Next, a procedure of determining a target call system to be tested will be described with reference to fig. 3. Fig. 3 is a schematic diagram of a process for determining a target call system to be tested according to an embodiment of the present application. Referring to FIG. 3, interfaces 301-302 are included. The interfaces 301 to 302 are processing pages provided by the terminal device. Referring to interface 301, the user opens a processing page in the terminal device. The processing page includes a drop down selection box and text entry box for the plurality of servers. Wherein, the servers 1 to 3 are the drop-down selection frames of the outbound server, and the servers 4 to 6 are the drop-down selection frames of the gateway server. Referring to the interface 302, the user selects the identifier of the outbound server as the identifier 5 in the drop-down selection frame corresponding to the server 1, selects the identifier of the outbound server as the identifier 10 in the drop-down selection frame corresponding to the server 2, selects the identifier of the gateway server as the identifier 2 in the drop-down selection frame corresponding to the server 4, and selects the identifier of the gateway server as the identifier 6 in the drop-down selection frame corresponding to the server 5. And inputting the identification of the destination terminal as the identification A in the text input box and clicking the determination button. The terminal equipment responds to the input selection operation of the user to determine the identification of at least one target outbound server and the identification of at least one gateway server. And transmitting the identification of the at least one target outbound server and the identification of the at least one gateway server to the test equipment for the voice call. The voice call testing device determines, according to the identifier of at least one target outbound server and the identifier of at least one gateway server, that the target call system to be tested may be specifically as shown in table 1:
TABLE 1
S202, determining at least one target communication link corresponding to the target terminal.
The target communication link is a communication link between the target outbound server and the gateway server.
The at least one target communication link corresponding to the target terminal may be determined by: determining a plurality of preset communication links, wherein the preset communication links are communication links between a preset outbound server and a preset gateway server; at least one target communication link is determined from a plurality of preset communication links based on the identification of the at least one target outbound server and the identification of the at least one gateway server.
For any preset communication link, if at least one target outbound server comprises a preset outbound server and at least one gateway server comprises a preset gateway server, determining the preset communication link as the target communication link.
For example, the plurality of communication links acquired by the test device in the preset storage space may be specifically as shown in table 2:
TABLE 2
According to the target call system shown in table 1 and the communication link 1 shown in table 2, it is determined that at least one target outbound server includes a preset outbound server 5 and at least one gateway server includes a preset gateway server 6, and the communication link 1 is determined as the target communication link. According to this method, determining at least one target communication link may be specifically as shown in table 3:
TABLE 3 Table 3
S203, establishing a voice call with the target terminal through at least one target communication link to obtain a link test result corresponding to each target communication link.
After a voice call is established with a target terminal through at least one target communication link, a link test result corresponding to each target communication link can be determined through the voice call with the target terminal. For any target communication link, if the voice call is successfully established with the target terminal and the voice call is normal, the link test result corresponding to the target communication link can be determined to be normal. If the voice call is not successfully established with the target terminal or the voice call is abnormal, determining that the link test result corresponding to the target communication link is abnormal.
For example, according to the plurality of target communication links shown in the above table 3, a voice call is established with the terminal a through the communication link 1. And determining that the voice call is successfully established with the terminal A and the voice call is normal, and determining that the link test result corresponding to the communication link 1 is that the link is normal. According to this method, the link test results corresponding to each of the target communication links shown in table 3 may be specifically shown in table 4:
TABLE 4 Table 4
S204, determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link, and sending the test result to the preset equipment.
The test result corresponding to the target call system can be determined according to the link test result corresponding to each target communication link in the following manner: if the link test results corresponding to each target communication link are respectively normal links, determining that the test result corresponding to the target communication system is normal system; if the link test result corresponding to each target communication link is the link abnormality, determining the test result corresponding to the target communication system is the system abnormality.
The preset device may be a terminal device.
For example, according to the link test results corresponding to each target communication link shown in the above table 4, it may be determined that the link test result corresponding to the communication link 2 exists as a link abnormality, and the test result corresponding to the target call system shown in the above table 1 is determined as a system abnormality. At this time, the test result corresponding to the target call system may be sent to the terminal device used by the user.
The voice call testing method provided by the embodiment of the application determines the target call system to be tested. And determining at least one target communication link corresponding to the target terminal. And establishing voice communication with the target terminal through at least one target communication link to obtain a link test result corresponding to each target communication link. And determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link. In the above process, at least one target communication link corresponding to the target terminal may be determined according to the target call system. And establishing a voice call with the target terminal through at least one target communication link, thereby determining a test result corresponding to the target call system. Instead of manually dialing and carrying out voice call in each test, thereby determining whether the call system is abnormal or not, and improving the efficiency of dialing voice call and answering response voice call in the process of testing the call system.
On the basis of any of the above embodiments, a detailed procedure of the voice call test will be described below with reference to fig. 4.
Fig. 4 is a flow chart of another voice call testing method according to an embodiment of the present application.
Referring to fig. 4, the method includes:
s401, determining a target call system to be tested.
It should be noted that, the execution process of S401 may refer to S201, which is not described herein.
S402, determining a plurality of preset communication links.
The preset communication link is a communication link between a preset outbound server and a preset gateway server.
The plurality of preset communication links may be set in advance, and the plurality of preset communication links may be stored in a preset storage space of the test device for voice call.
The preset communication link may be set by: determining a plurality of outbound servers and a plurality of gateway servers in a call system; combining an outbound server with each gateway server in turn aiming at any one outbound server to obtain a plurality of communication links; the plurality of communication links are set as preset communication links and stored in a preset storage space of the test equipment for the voice call.
The above manner of determining the plurality of communication links is one of a combination manner, and the manner of combining the outbound server with each gateway server may be determined according to the user's needs, which is not limited by the present application.
Next, a process of determining a plurality of preset communication links will be described with reference to fig. 5. Fig. 5 is a schematic diagram of a process for determining a plurality of preset communication links according to an embodiment of the present application. Referring to fig. 5, there are 3 outbound servers and 3 gateway servers. For outbound server 1, outbound server 1 is combined with 3 gateway servers in turn to obtain 3 communication links. The 3 communication links are communication link 1, communication link 2 and communication link 3, respectively. According to this mode, 3 communication links corresponding to the outbound server 2 and the outbound server 3 are obtained. And determining the 9 communication links as a plurality of preset communication links, and storing the plurality of preset communication links into a preset storage space of the voice call testing device. The plurality of preset communication links may be specifically as shown in table 5:
TABLE 5
Presetting a communication link Preset server
Communication link 1 An outbound server 1; gateway server 1
Communication link 2 An outbound server 1; gateway server 2
Communication link 3 An outbound server 1; gateway server 3
Communication link 4 An outbound server 2; gateway server 1
Communication link 5 An outbound server 2; gateway server 2
Communication link 6 An outbound server 2; gateway server 3
Communication link 7 An outbound server 3; gateway server 1
Communication link 8 An outbound server 3; gateway server 2
Communication link 9 An outbound server 3; gateway server 3
S403, determining at least one target communication link in a plurality of preset communication links according to the identification of at least one target outbound server and the identification of at least one gateway server.
For any preset communication link, if at least one target outbound server comprises a preset outbound server and at least one gateway server comprises a preset gateway server, determining the preset communication link as the target communication link.
S404, sending a call request to the target terminal through the target communication link for any one of the target communication links.
The call request may be sent to the target terminal over the target communication link by: determining the call number of the target terminal; generating a call request according to the identification and the call number of the gateway server corresponding to the target communication link; and sending a call request to a target outbound server corresponding to the target communication link.
The identities of the plurality of gateway servers and the gateway server address corresponding to the identity of each gateway server can be stored in a preset storage space of the voice call testing device. And stores the identities of the plurality of outbound servers and the outbound server address corresponding to the identity of each outbound server.
The call numbers corresponding to the target terminals can be set in advance, and the call numbers corresponding to the target terminals are stored in a preset storage space of the voice call testing equipment.
The information may be stored in txt format.
After the target communication link and target terminal are determined, a voice call may be established with the target terminal through software automation (Robotic Process Automation, RPA) techniques. And loading the outbound server address, the gateway server address and the call number of the target terminal in advance by using an application program corresponding to RPA (remote procedure A) in a txt file, storing the txt file as an object of storing data (key-value) in a key value pair, and initiating a call request to the target terminal.
For example, assuming that the target terminal is the terminal device B, the target communication link is the communication link 1 shown in the above table 5. The call number of the target terminal is determined to be 123456789. A call request is generated based on the identification A1 of the gateway server corresponding to communication link 1 and the call number 123456789. And sending a call request to an outbound server 1 corresponding to the communication link 1.
And S405, if a connection response corresponding to the call request is received within a preset time period, performing voice test with the target terminal to obtain a link test result.
And if the connection response corresponding to the call request is received within the preset time, the voice call is successfully established with the target terminal. At this time, a voice test may be performed to determine whether the target communication link can normally perform a voice call.
The voice test can be carried out with the target terminal by the following method to obtain a link test result: determining preset voice information and playing the preset voice information; if preset response information corresponding to the preset voice information is received, determining that the link test result is that the link is normal; if the preset response information is not received, determining that the link test result is abnormal.
The preset time period may be 30s.
The method comprises the steps of setting a plurality of preset voice messages and corresponding preset response messages in advance, and storing each preset voice message and corresponding preset response message into a preset storage space of the voice call test equipment.
For example, assume that the preset time period is 30s. According to the above example, the test device for voice call sends a call request to the terminal device B via the communication link 1. Within 30s, the test equipment of the voice call receives a connection response corresponding to the call request. At this time, the test device for voice call determines that the preset voice information is voice information 1. The voice call testing equipment acquires the voice information 1 in the preset storage space and plays the voice information 1. After the playing is completed, the test equipment of the voice call receives the response information 1 corresponding to the voice information 1, and determines that the link test result corresponding to the communication link 1 is normal.
S406, if the connection response corresponding to the call request is not received within the preset time, determining that the link test result is abnormal.
For example, assuming that the target terminal is the terminal device B and the target communication link is the communication link 2 shown in table 5, the test device for voice call sends a call request to the terminal device B through the communication link 2. And if the connection response corresponding to the call request is not received within the preset time length of 30s, determining that the link test result corresponding to the communication link 2 is abnormal.
S407, determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link, and sending the test result to the preset equipment.
After determining that the test result corresponding to the target call system is system abnormality, the target communication link with the link test result being link abnormality may be an abnormal communication link. And generating prompt information according to the outbound server and the gateway server corresponding to the abnormal communication link. And sending prompt information to preset equipment. The prompt information is used for indicating that the test result corresponding to the target call system is system abnormality.
For example, as shown in the above example, if it is determined that the link test result corresponding to the communication link 2 is a link abnormality, it may be determined that the test result corresponding to the target call system is a system abnormality. The communication link 2 is determined to be an abnormal communication link. At this time, the target outbound server corresponding to the communication link 2 is determined to be the outbound server 1, and the gateway server corresponding to the communication link 2 is determined to be the gateway server 2, based on the plurality of target communication links shown in table 5. And generating prompt information according to the abnormal communication link, the outbound server corresponding to the abnormal communication link and the gateway server. The prompt message may be specifically as shown in table 6:
TABLE 6
Abnormal communication link Server device
Communication link 2 An outbound server 1; gateway server 2
Next, a process of displaying the prompt information will be described with reference to fig. 6. Fig. 6 is a schematic diagram of a process for displaying prompt information according to an embodiment of the present application. Referring to fig. 6, an interface 601 is included. The interface 601 may be a processing page provided for a preset device. Referring to interface 601, after determining that the test result corresponding to the target call system is abnormal, the test device for voice call generates the prompt information shown in table 6, and sends the prompt information to the preset device. The preset device displays prompt information through processing the page.
The voice call testing method provided by the embodiment of the application determines the target call system to be tested. A plurality of preset communication links is determined. At least one target communication link is determined from a plurality of preset communication links based on the identification of the at least one target outbound server and the identification of the at least one gateway server. And sending a call request to the target terminal through the target communication link aiming at any one target communication link. And if the connection response corresponding to the call request is received within the preset time, performing voice test with the target terminal to obtain a link test result. If the connection response corresponding to the call request is not received within the preset time, determining that the link test result is abnormal. And determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link. In the above process, at least one target communication link corresponding to the target terminal may be determined according to the target call system. And establishing a voice call with the target terminal through at least one target communication link, thereby determining a test result corresponding to the target call system. Instead of manually dialing and carrying out voice call in each test, thereby determining whether the call system is abnormal or not, and improving the efficiency of dialing voice call and answering response voice call in the process of testing the call system.
On the basis of any of the above embodiments, the process of voice call testing is illustrated below with reference to fig. 7.
Fig. 7 is a schematic diagram of a voice call test procedure according to an embodiment of the present application. Referring to fig. 7, a terminal device 701 and a test device 702 are included. The terminal device 701 may be a mobile phone, a tablet computer, a computer, etc. The test device 702 may be a server, and the preset storage space of the test device 702 stores a plurality of preset communication links, a plurality of preset voice information, and call numbers of a plurality of terminals.
The user may select an identity of the target terminal, an identity of the at least one target outbound server, and an identity of the at least one gateway server at the processing page of the terminal device 701 after determining the target terminal, the at least one target outbound server, and the at least one gateway server to be tested. The terminal device 701 determines an identity of the target terminal, an identity of at least one target outbound server, and an identity of at least one gateway server in response to an input selection operation of the user. And transmits the identification of the target terminal, the identification of the at least one target outbound server, and the identification of the at least one gateway server to the test equipment 702. The test device 702 determines the target call system 1 to be tested according to the identification of the target terminal, the identification of the at least one target outbound server, and the identification of the at least one gateway server. The target call system 1 may specifically be as shown in table 7:
TABLE 7
The test device 702 acquires a plurality of preset communication links in the preset storage space, and determines at least one target communication link among the plurality of preset communication links according to the target call system 1 shown in table 7. The at least one target communication link may be specifically as shown in table 8:
TABLE 8
For the communication link 1 shown in table 8, the test device 702 sets the call number of the terminal C in the preset storage space to be phone number 1. A call request is generated based on the identification WGD0004 of the gateway server corresponding to the communication link 1 and the telephone number 1. A call request is sent to a target outbound server (outbound server 1) corresponding to the communication link 1. Assuming that the preset duration is 30s, the test device 702 receives the on response corresponding to the call request within 30s, acquires the voice information 2 in the preset storage space, and plays the voice information 2. And when the test device 702 receives the response information 2 corresponding to the voice information 2, determining that the link test result corresponding to the communication link 1 is normal.
For communication link 2 shown in table 8, test equipment 702 sends a call request to terminal C over communication link 2. The test device 702 does not receive the connection response corresponding to the call request within 30s, and determines that the link test result corresponding to the communication link 2 is a link abnormality.
The test apparatus 702 determines that, among the at least one target communication link shown in table 8, there is a link abnormality as a link test result corresponding to the communication link 2. The test result corresponding to the target call system 1 may be determined to be a system abnormality. At this time, the notification information is generated according to the outbound server and the gateway server corresponding to the communication link 2. And transmits the hint information to the terminal device 701.
The voice call testing method provided by the embodiment of the application determines the target call system to be tested. A plurality of preset communication links is determined. At least one target communication link is determined from a plurality of preset communication links based on the identification of the at least one target outbound server and the identification of the at least one gateway server. And sending a call request to the target terminal through the target communication link aiming at any one target communication link. And if the connection response corresponding to the call request is received within the preset time, performing voice test with the target terminal to obtain a link test result. If the connection response corresponding to the call request is not received within the preset time, determining that the link test result is abnormal. And determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link. In the above process, at least one target communication link corresponding to the target terminal may be determined according to the target call system. And establishing a voice call with the target terminal through at least one target communication link, thereby determining a test result corresponding to the target call system. Instead of manually dialing and carrying out voice call in each test, thereby determining whether the call system is abnormal or not, and improving the efficiency of dialing voice call and answering response voice call in the process of testing the call system.
Fig. 8 is a schematic structural diagram of a voice call testing device according to an embodiment of the present application. Referring to fig. 8, the voice call testing apparatus 10 may include:
a first determining module 11, configured to determine a target call system to be tested, where the target call system includes a target terminal, at least one target outbound server, and at least one gateway server;
a second determining module 12, configured to determine at least one target communication link corresponding to the target terminal, where the target communication link is a communication link between the target outbound server and the gateway server;
the call establishment module 13 is configured to establish a voice call with the target terminal through the at least one target communication link, so as to obtain a link test result corresponding to each target communication link;
and the third determining module 14 is configured to determine a test result corresponding to the target call system according to the link test result corresponding to each target communication link, and send the test result to a preset device.
In one possible implementation, the second determining module 12 includes:
determining a plurality of preset communication links, wherein the preset communication links are communication links between a preset outbound server and a preset gateway server;
And determining the at least one target communication link in the plurality of preset communication links according to the identification of the at least one target outbound server and the identification of the at least one gateway server.
In one possible implementation, the second determining module 12 includes:
and for any preset communication link, if the at least one target outbound server comprises the preset outbound server and the at least one gateway server comprises the preset gateway server, determining the preset communication link as the target communication link.
In one possible implementation, the call establishment module 13 includes:
sending a call request to the target terminal through the target communication link;
if the connection response corresponding to the call request is received within the preset time, performing voice test with the target terminal to obtain the link test result;
if the connection response corresponding to the call request is not received within the preset time, determining that the link test result is abnormal.
In one possible implementation, the call establishment module 13 includes:
determining the call number of the target terminal;
Generating the call request according to the identification of the gateway server corresponding to the target communication link and the call number;
and sending the call request to a target outbound server corresponding to the target communication link.
In one possible implementation, the call establishment module 13 includes:
determining preset voice information and playing the preset voice information;
if preset response information corresponding to the preset voice information is received, determining that the link test result is that the link is normal;
and if the preset response information is not received, determining that the link test result is abnormal.
In one possible implementation, the third determining module 14 includes:
if the link test results corresponding to each target communication link are respectively normal, determining that the test result corresponding to the target communication system is normal;
if the link test result corresponding to each target communication link is the link abnormality, determining that the test result corresponding to the target communication system is the system abnormality.
The device for testing voice call provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and has similar implementation principle and beneficial effects, and the description is omitted here.
Fig. 9 is a schematic structural diagram of a voice call testing device according to an embodiment of the present application. Referring to fig. 9, the voice call testing apparatus 20 may include: a memory 21, and a processor 22. The memory 21, the processor 22, are illustratively interconnected by a bus 23.
The memory 21 is used for storing program instructions;
the processor 22 is configured to execute the program instructions stored in the memory, so as to cause the test device 20 for voice call to perform the method shown in the above-described method embodiment.
The test device for voice call provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and the implementation principle and the beneficial effects are similar, and are not repeated here.
Embodiments of the present application provide a computer-readable storage medium having stored therein computer-executable instructions for implementing the above-described method when the computer-executable instructions are executed by a processor.
Embodiments of the present application may also provide a computer program product comprising a computer program which, when executed by a processor, performs the above-described method.
All or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a readable memory. The program, when executed, performs steps including the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random-access memory (Random Access Memory, RAM), flash memory, hard disk, solid state disk, magnetic tape, floppy disk (floppy disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims and the equivalents thereof, the present application is also intended to include such modifications and variations.
In the present disclosure, the term "include" and variations thereof may refer to non-limiting inclusion; the term "or" and variations thereof may refer to "and/or". The terms "first," "second," and the like, herein, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality of" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.

Claims (11)

1. The method for testing the voice call is characterized by comprising the following steps of:
determining a target call system to be tested, wherein the target call system comprises a target terminal, at least one target outbound server and at least one gateway server;
determining at least one target communication link corresponding to the target terminal, wherein the target communication link is a communication link between the target outbound server and the gateway server;
establishing a voice call with the target terminal through the at least one target communication link to obtain a link test result corresponding to each target communication link;
and determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link, and sending the test result to preset equipment.
2. The method of claim 1, wherein determining at least one target communication link corresponding to the target terminal comprises:
determining a plurality of preset communication links, wherein the preset communication links are communication links between a preset outbound server and a preset gateway server;
and determining the at least one target communication link in the plurality of preset communication links according to the identification of the at least one target outbound server and the identification of the at least one gateway server.
3. The method of claim 2, wherein determining the at least one target communication link from the plurality of preset communication links based on the identification of the at least one target outbound server and the identification of the at least one gateway server comprises:
and for any preset communication link, if the at least one target outbound server comprises the preset outbound server and the at least one gateway server comprises the preset gateway server, determining the preset communication link as the target communication link.
4. A method according to any of claims 1-3, characterized in that for any one target communication link; establishing a voice call with the target terminal through the target communication link to obtain a link test result corresponding to the target communication link, wherein the link test result comprises:
sending a call request to the target terminal through the target communication link;
if the connection response corresponding to the call request is received within the preset time, performing voice test with the target terminal to obtain the link test result;
if the connection response corresponding to the call request is not received within the preset time, determining that the link test result is abnormal.
5. The method of claim 4, wherein sending a call request to the target terminal over the target communication link comprises:
determining the call number of the target terminal;
generating the call request according to the identification of the gateway server corresponding to the target communication link and the call number;
and sending the call request to a target outbound server corresponding to the target communication link.
6. The method according to claim 4 or 5, wherein performing a voice test with the target terminal to obtain the link test result includes:
determining preset voice information and playing the preset voice information;
if preset response information corresponding to the preset voice information is received, determining that the link test result is that the link is normal;
and if the preset response information is not received, determining that the link test result is abnormal.
7. The method according to any one of claims 1-6, wherein determining the test result corresponding to the target call system according to the link test result corresponding to each target communication link includes:
if the link test results corresponding to each target communication link are respectively normal, determining that the test result corresponding to the target communication system is normal;
If the link test result corresponding to each target communication link is the link abnormality, determining that the test result corresponding to the target communication system is the system abnormality.
8. A test device for voice calls, the device comprising:
the first determining module is used for determining a target call system to be tested, wherein the target call system comprises a target terminal, at least one target outbound server and at least one gateway server;
the second determining module is used for determining at least one target communication link corresponding to the target terminal, wherein the target communication link is a communication link between the target outbound server and the gateway server;
the communication module is used for establishing voice communication with the target terminal through the at least one target communication link to obtain a link test result corresponding to each target communication link;
and the third determining module is used for determining a test result corresponding to the target call system according to the link test result corresponding to each target communication link and sending the test result to preset equipment.
9. A test apparatus for voice call, comprising:
At least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.
10. A non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions are for causing a computer to perform the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of any of claims 1 to 7.
CN202310988607.4A 2023-08-07 2023-08-07 Voice call testing method, device and equipment Pending CN117041420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310988607.4A CN117041420A (en) 2023-08-07 2023-08-07 Voice call testing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310988607.4A CN117041420A (en) 2023-08-07 2023-08-07 Voice call testing method, device and equipment

Publications (1)

Publication Number Publication Date
CN117041420A true CN117041420A (en) 2023-11-10

Family

ID=88622168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310988607.4A Pending CN117041420A (en) 2023-08-07 2023-08-07 Voice call testing method, device and equipment

Country Status (1)

Country Link
CN (1) CN117041420A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117615057A (en) * 2023-11-22 2024-02-27 中电金信数字科技集团有限公司 Fault detection method, device, system, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117615057A (en) * 2023-11-22 2024-02-27 中电金信数字科技集团有限公司 Fault detection method, device, system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
EP2884719B1 (en) Information processing method, and priority information sending method and device
WO2011163087A2 (en) Automated mobile intelligent communication processing system
CN110312046B (en) Outbound data optimization method and device, computer equipment and storage medium
AU2016282203B2 (en) System and method for establishing communications over a plurality of communications platforms
CN117041420A (en) Voice call testing method, device and equipment
EP3618379A1 (en) Identity verification method and apparatus, and electronic device
CN105227788B (en) Call verification methods and applications server
CN114466348A (en) Communication method, device and equipment
CN107682219B (en) Android system-based dial testing method and device for testing number
CN104184871A (en) Method and device for prompting crank call number
CN103947173A (en) Method and system for managing the communication between two users
EP3432558B1 (en) Communication method, apparatus and system
CN107220818B (en) Online payment method and device
CN108696829B (en) Supplementary service setting processing method and device
CN111065062B (en) Call signaling processing method, device and storage medium
US10602351B1 (en) Communication information hiding realization method and realization system
US10511714B2 (en) Provision of content data to callee
US20160182712A1 (en) Method for transmitting data related to a call
CN107395673B (en) User risk notification method and system and storage device
CN104754017B (en) A kind of implementation method, equipment and the system of terminal intelligent address list
CN117220863A (en) Encryption call method and device and terminal equipment
CN105392198A (en) Network communication method and device
CN113992799A (en) Virtual number display method and device, electronic equipment and readable medium
CN106302976B (en) Information processing method and electronic equipment
CN117956078A (en) Data processing method and device, electronic equipment and computer readable storage medium

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