Interactive voice response test method, system, device, medium and product

By creating a mapping relationship between simulated services and access identifiers in the interactive voice response system, and using simulated data for testing, the problem of low testing efficiency is solved and a more efficient testing process is achieved.

CN118612342APending Publication Date: 2024-09-06CTRIP TRAVEL NETWORK TECH SHANGHAI0
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410890735.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The test efficiency of the interactive voice response system is low, which makes it difficult to obtain the required data when the system logic complexity increases, affecting the test efficiency.

Method used

By creating a mapping relationship between simulated services and access identifiers, using simulated data instead of real data, executing the interactive voice response business process, and recording and displaying the test process, the test efficiency is improved.

Benefits of technology

By using simulated data, the testing efficiency of interactive voice response is improved, the testing process is simplified, and the dependence on real data is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612342A
    Figure CN118612342A
Patent Text Reader

Abstract

The invention provides an interactive voice response testing method, system and device, a medium and a program product, and the method comprises the steps: creating a simulation service and a unique access identifier for each data dependence interface, and building a mapping relation between the simulation service and the access identifier; creating simulation data for each to-be-tested service scene; wherein the data dependence interface needs to be called when the to-be-tested business scene is tested; executing an interactive voice response business process at least based on the selection of a simulation service, the input of an incoming call number, a query number and a business number, and the detection of a dialing behavior; when the interactive voice response business process is executed, on the basis of calling of the data dependence interface of the business scene to be tested, the simulation service is matched through the access identifier, and the simulation service returns simulation data; and recording and displaying a test process for the to-be-tested business scene. According to the invention, the testing efficiency of interactive voice response can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Interactive voice response (IVR) is an important part of the intelligent call center. It can guide users to solve their demands by themselves, perceive the purpose of users' calls in advance, and reduce the pressure on customer service agents. Specifically, for specific business scenarios, after users input information through audio calls, the interactive voice response system can play pre-recorded voice to users and provide corresponding service information.

[0003] As business scenarios expand, the interactive voice response system needs to be continuously updated according to demand, and the interactive voice response system needs to be tested before it is put into use by online users. However, as the system logic becomes more and more complex due to the expansion of business scenarios, the data corresponding to the business scenarios that need to be tested may be difficult to obtain, thereby affecting the efficiency of system testing.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] In view of this, the present invention provides a test method, system, device, medium and program product for interactive voice response, so as to at least solve the problem of low efficiency of dialing test for interactive voice response.

[0006] One aspect of the present invention provides a method for testing an interactive voice response, comprising the following steps:

[0007] Creating a simulation service and a unique access identifier for each data dependent interface, and establishing a mapping relationship between the simulation service and the access identifier;

[0008] Creating simulation data for each business scenario to be tested; wherein the data dependency interface needs to be called when executing the test of the business scenario to be tested;

[0009] Based at least on the selection of the simulation service, the input of the incoming call number, the inquiry number and the service number, and the detection of the dialing behavior, an interactive voice response service process is executed;

[0010] When executing the interactive voice response business process, based on the call of the data dependent interface of the business scenario to be tested, the simulation service is matched through the access identifier, and the simulation service returns the simulation data;

[0011] Record and present the test process for the business scenario to be tested.

[0012] In some embodiments, the step of creating a simulation service and a unique access identifier for each data dependent interface and establishing a mapping relationship between the simulation service and the access identifier further includes the following steps:

[0013] For each of the simulation services, a corresponding request format and return format are defined.

[0014] In some embodiments, the simulation service includes: the name of the business scenario to be tested, the simulation consumption time, the simulation data and the visualization configuration;

[0015] The simulation consumption time is the simulation time from the time when the simulation service requests the simulation data to the time when the simulation service receives the simulation data;

[0016] The simulation data complies with the request format and the return format;

[0017] The visualization configuration is used to display the process of calling the simulation service by using a graphical user interface when the simulation service is called.

[0018] In some embodiments, the interactive voice response business process includes several business scenarios, at least some of which are the business scenarios to be tested.

[0019] In some embodiments, recording and displaying the test process for the business scenario to be tested includes the following steps:

[0020] Recording the business embedding data of each business scenario when executing the interactive voice response business process;

[0021] Asynchronously request the business tracking data to sequentially generate and display the test process of the business scenario to be tested.

[0022] In some embodiments, the business tracking data includes: request information, return information, data information obtained by calling the interface, and intermediate data specific to each business scenario;

[0023] The intermediate data includes at least: judgment logic expression information, speech text information and user key option information.

[0024] Another aspect of the present invention also provides a test system for interactive voice response, comprising:

[0025] A simulation service module, which creates a simulation service and a unique access identifier for each data dependent interface, and establishes a mapping relationship between the simulation service and the access identifier;

[0026] A simulation data module creates simulation data for each business scenario to be tested; wherein the data dependency interface needs to be called when executing the test of the business scenario to be tested;

[0027] A dialing test module, at least based on the selection of the simulated service, the input of the incoming call number, the query number and the service number, and the detection of the dialing behavior, executes the interactive voice response service process;

[0028] A test execution module, when executing the interactive voice response business process, based on the call of the data dependent interface of the business scenario to be tested, matches the simulation service through the access identifier, and the simulation service returns the simulation data;

[0029] The process display module records and displays the test process for the business scenario to be tested.

[0030] Another aspect of the present invention also provides a test device for interactive voice response, comprising:

[0031] processor;

[0032] a memory storing executable instructions of the processor;

[0033] Wherein, the processor is configured to perform the steps of the above-mentioned interactive voice response testing method by executing the executable instructions.

[0034] Another aspect of the present invention provides a computer-readable storage medium for storing a computer program, wherein the computer program implements the steps of the above-mentioned interactive voice response testing method when executed.

[0035] Another aspect of the present invention provides a computer program product, including a computer program, characterized in that when the computer program is executed, the steps of the above-mentioned interactive voice response testing method are implemented.

[0036] The interactive voice response test method, system, device, medium and program product of the present invention have at least the following beneficial effects compared with the prior art: by using simulated data instead of real data, the test efficiency of interactive voice response is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the specification are used to explain the principles of the present invention. Obviously, the accompanying drawings described below are only some embodiments of the present invention, and for those of ordinary skill in the art, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0038] Figure 1 A flowchart showing a method for testing an interactive voice response according to an embodiment of the present invention;

[0039] Figure 2 Show Figure 1 A schematic diagram of a configuration interface for creating a simulation service in step S110;

[0040] Figure 3 Show Figure 1 A schematic diagram of a configuration interface for creating simulation data in step S120;

[0041] Figure 4 A schematic diagram showing a test flow of executing an interactive voice response system according to an embodiment of the invention;

[0042] Figure 5 A module schematic diagram showing a test system for interactive voice response according to an embodiment of the present invention;

[0043] Figure 6 A schematic diagram showing the structure of a test device for interactive voice response of the present invention;

[0044] Figure 7 A schematic diagram showing the structure of a computer-readable storage medium of the present invention is shown. DETAILED DESCRIPTION

[0045] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar structures, and thus their repeated description will be omitted.

[0046] The words "first", "second" and the like used in the specific description do not indicate any order, quantity or importance, but are only used to distinguish different components. In addition, in the description of the present invention, the directions or positional relationships indicated by the terms "upper" and "lower" are based on the directions or positional relationships shown in the drawings, which are only for the convenience of description, and do not indicate or imply that the devices or elements referred to must have a specific direction, be constructed and operate in a specific direction, and therefore cannot be understood as limiting the present invention.

[0047] It should be noted that, in the absence of conflict, the embodiments of the present invention and features in different embodiments may be combined with each other.

[0048] The inventor of this case has provided a solution to the problems existing in the prior art through careful and in-depth research. The present invention provides a test method, system, device, medium and program product for interactive voice response, wherein the method includes: creating a simulation service and a unique access identifier for each data-dependent interface, and establishing a mapping relationship between the simulation service and the access identifier; creating simulation data for each business scenario to be tested; wherein the data-dependent interface needs to be called when performing the test of the business scenario to be tested; at least based on the selection of the simulation service, the input of the incoming call number, the query number and the business number, and the detection of the dialing behavior, the interactive voice response business process is executed; when the interactive voice response business process is executed, based on the call of the data-dependent interface of the business scenario to be tested, the simulation service is matched by the access identifier, and the simulation service returns the simulation data; the test process for the business scenario to be tested is recorded and displayed. The present invention can improve the test efficiency of interactive voice response.

[0049] The specific implementation modes of the present invention are further described in detail below with reference to the accompanying drawings.

[0050] Figure 1 A flowchart showing a method for testing an interactive voice response according to an embodiment of the present invention is shown. Figure 1 One aspect of the present invention provides a method for testing an interactive voice response, comprising the following steps:

[0051] S110, creating a simulation service and a unique access identifier for each data dependent interface, and establishing a mapping relationship between the simulation service and the access identifier;

[0052] S120, creating simulation data for each business scenario to be tested; wherein, when executing the test of the business scenario to be tested, it is necessary to call the data dependency interface;

[0053] S130, executing an interactive voice response service process based at least on the selection of the analog service, the input of the incoming call number, the query number and the service number, and the detection of the dialing behavior;

[0054] S140, when executing the interactive voice response business process, based on the call of the data-dependent interface of the business scenario to be tested, the simulation service is matched by the access identifier, and the simulation service returns the simulation data;

[0055] S150. Record and display the test process for the business scenario to be tested.

[0056] It is worth noting that S110 to S150 are merely step numbers, which are used to facilitate reference and avoid text duplication, rather than to limit the order of implementation of the various steps of the method. In other embodiments, the above steps of the method can also be written in an interchangeable order, and are not limited thereto. The subsequent step numbers in the present invention all have the same meaning, and the repeated parts are not repeated.

[0057] In some embodiments, step S110 further includes the following steps: S111. For each simulation service, define a corresponding request format and a return format, but not limited thereto.

[0058] In some embodiments, the simulation service includes: the name of the business scenario to be tested, the simulation consumption time, simulation data and visualization configuration, but not limited to this. Among them, the simulation consumption time is the simulation time from the simulation service requesting the simulation data to the simulation service receiving the simulation data, but not limited to this. The simulation data conforms to the request format and the return format, but not limited to this. In actual testing, simulation data can be gradually added according to the gradual iteration of functions. The visualization configuration is used to use a graphical user interface to display the process of the simulation service being called when the simulation service is called, but not limited to this.

[0059] In some embodiments, the interactive voice response service process includes several service scenarios, at least some of which are service scenarios to be tested, but not limited thereto. That is, some of the service scenarios are conventional scenarios and do not need to be tested, some of which do not require data input, and some of the required data comes from direct input by the user.

[0060] In some embodiments, for the above steps S110 and S120, the specific steps are as follows: create a simulation service (Mock service) according to the data dependency interface, generate an access identifier (AccessKey), define the request format and return (response) format, and store the above information in the database; design simulation data (Mock data) for the business scenario to be tested, support configuration of simulation time, custom request hit rules and response body Json object, and store the above configuration in the database.

[0061] Furthermore, the implementation principle of the above-mentioned custom request hit rule can be as follows: first, develop a visual logical expression configuration component to support data types such as String, Number, Boolean, Array, Date, Time, and support more than ten operators such as "==", ">", "<", "regular", "includes", "between", "startWith", "endWith", "some", and "all"; secondly, according to the request format defined above, identify the parameters and types available for the left value of the request hit rule item, and then select the left value to link the subsequent operator and right value; then, according to the request hit rule configured above, parse the logical expression to generate a JavaScript script and store it in the database; finally, when running the interactive voice response business process, if it is necessary to access the data dependency interface to obtain data, the corresponding mock service (Mock service) can be found according to the access identifier (AccessKey), and the JavaScript script corresponding to the logical expression is run in the VM2 sandbox according to the request parameters that conform to the request format, and if true is returned, the corresponding response object is selected.

[0062] Figure 2 Show Figure 1 A schematic diagram of a configuration interface for creating a simulation service in step S110. Figure 2 For the above steps S110 and S120, taking the name of the business scenario to be tested as "international air ticket user behavior prediction" as an example, the configuration can be as follows:

[0063] The simulated service is: the weight of users accessing international air tickets (IBUPredictingUserBehavior);

[0064] The access identifier is: trip.flight.ibuivr.queryibuuserweight;

[0065] The simulation mode is: open state;

[0066] The request format is: {"appld":"string","source":"string","language":"string","uid":"string","orderld":"number","mobile":"string","calld":"string","sessionld":"string","keyWordType":"string","inTime":"number"}.

[0067] Figure 3 Show Figure 1 A schematic diagram of a configuration interface for creating simulation data in step S120 of FIG. Figure 3 For the above steps S110 and S120, taking the name of the simulated service as "return VDN" as an example, the configuration may be as follows:

[0068] The simulation time (delayTime) is: 0ms;

[0069] The simulated data is: {"resultCode":"0","resultMsg":"","outWeight":"1","routeVdn":"700679"}.

[0070] In some embodiments, step S150 may include the following steps: S151, recording the business tracking data of each business scenario when executing the interactive voice response business process; S152, asynchronously requesting the business tracking data to sequentially generate and display the test process of the business scenario to be tested, but not limited to this.

[0071] In some embodiments, the business tracking data includes: request information, return information, data information obtained by calling the interface, and intermediate data specific to each business scenario, but is not limited thereto. Among them, the intermediate data at least includes: judgment logic expression information, speech text information, and user key option information, but is not limited thereto.

[0072] In some embodiments, for the above steps S130 to S150, a visual simulation test platform can be used for testing, and the specific implementation method is as follows: first, a simulation test page is developed, including a mobile phone simulation button component, an interactive voice response (IVR) process track component, etc.; secondly, after filling in the necessary information such as the incoming call number, the query number (which can be the number corresponding to the order), whether to select the simulation service, the business number (which can be the order number), etc., click the "Dial" button, and the simulation test page will send an Http request to the interactive voice response (IVR) server and obtain the response result; then, according to the response result, the button options supported by the next request can be determined, and highlighted in the simulation button component, and the operation prompt is more friendly; then, after returning the response result, the business point data in the asynchronous request interactive voice response (IVR) execution process is used to generate a call track; finally, different colored nodes are used in the call track to represent different business scenarios, and request data, return data, intermediate data used by the interactive voice response (IVR) during the processing process, broadcast text information, etc. will be displayed, and the tester can intuitively determine whether it meets expectations based on this information.

[0073] Furthermore, the principles of recording and displaying the interactive voice response (IVR) process node information are as follows: First, as mentioned above, the interactive voice response (IVR) system has created the process in a fully visual and configurable manner, and different node types have been defined during the creation process; secondly, during the execution of the interactive voice response (IVR) process, the request data, return data, and data information obtained by calling the interface will be recorded, and each node passed will record the intermediate data exclusive to the node type, for example: the "condition judgment" node records the corresponding judgment logic expression information, the "voice broadcast" node records the output speech text information, and the "user key" node records the user key option information; finally, the call track (that is, the interactive voice response (IVR) process track) page will obtain and display the latest interactive voice response (IVR) process information after each simulated key press.

[0074] Figure 4 A schematic diagram of a test flow of executing an interactive voice response system according to an embodiment of the invention is shown. Figure 4, a test process for executing an interactive voice response system can be: user calls in; the incoming order number is not transferred to ASR (Audio Stream Recognition); the order number is consistent with the incoming line uid (User Identification); order confirmation process; key operation; input mobile phone number to lock the order: that is, query the order; input the complete mobile phone number: that is, query the number; complete mobile phone number: user inputs the query number; match the order; access identifier (AccessKey) matches successfully: that is, the simulated data can be used. Among them, the above-mentioned call track (that is, the interactive voice response (IVR) process track) page will obtain the latest interactive voice response (IVR) process information and display it after each simulated key press. The displayed information at least includes request data, response data, intermediate data used by the interactive voice response (IVR) during the processing process, and broadcast text information.

[0075] The test method of interactive voice response of the present invention improves the test efficiency of interactive voice response by using simulated data instead of real data.

[0076] Figure 5 A module schematic diagram of an interactive voice response test system according to an embodiment of the present invention is shown. Figure 5 Another aspect of the present invention further provides a test system 50 for interactive voice response, comprising:

[0077] The simulation service module 51 creates a simulation service and a unique access identifier for each data dependent interface, and establishes a mapping relationship between the simulation service and the access identifier;

[0078] A simulation data module 52 creates simulation data for each business scenario to be tested; wherein the data dependency interface needs to be called when executing the test of the business scenario to be tested;

[0079] The dialing test module 53 executes the interactive voice response service process based on at least the selection of the simulated service, the input of the incoming call number, the query number and the service number, and the detection of the dialing behavior;

[0080] The test execution module 54, when executing the interactive voice response business process, matches the simulation service through the access identifier based on the call of the data dependent interface of the business scenario to be tested, and the simulation service returns the simulation data;

[0081] The process display module 55 records and displays the test process for the business scenario to be tested.

[0082] In some embodiments, the simulation service module 51 is configured to further include: defining a corresponding request format and a return format for each simulation service.

[0083] In some embodiments, the process display module 55 is configured to: record the business tracking data of each business scenario when executing the interactive voice response business process; asynchronously request the business tracking data to sequentially generate and display the test process of the business scenario to be tested.

[0084] The test system of the interactive voice response of the present invention improves the test efficiency of the interactive voice response by using simulated data instead of real data.

[0085] Figure 6 The structure diagram of the test equipment of an interactive voice response of the present invention is shown. Based on the same inventive concept, as Figure 6 As shown, another aspect of the present invention further provides a test device for interactive voice response, comprising: a processor; a memory, wherein executable instructions of the processor are stored, wherein the processor is configured to execute the steps of the test method for interactive voice response by executing the executable instructions.

[0086] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".

[0087] Refer to the following Figure 6 The electronic device 600 according to this embodiment of the present invention is described. Figure 6 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0088] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0089] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps according to various exemplary embodiments of the present invention described in the electronic prescription circulation processing method section of this specification. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .

[0090] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0091] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0092] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0093] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.

[0094] The test equipment for interactive voice response of the present invention improves the test efficiency of interactive voice response by using simulated data instead of real data.

[0095] Figure 7 A schematic diagram showing the structure of a computer-readable storage medium of the present invention is shown. Based on the same inventive concept, Figure 7As shown, another aspect of the present invention further provides a computer-readable storage medium for storing a program, which implements the steps of the test method for interactive voice response when the program is executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the above-mentioned electronic prescription circulation processing method section of this specification.

[0096] like Figure 7 As shown, a storage medium 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0097] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0098] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0099] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0100] The computer-readable storage medium of the present invention improves the test efficiency of interactive voice response by using simulated data instead of real data.

[0101] Based on the same inventive concept, another aspect of the present invention further provides a computer program product, including a computer program, and when the computer program is executed, the steps of the above-mentioned interactive voice response test method are performed. The computer program product of the embodiment of the present invention can be in the form of software, and the computer program included therein can refer to the embodiment of the computer-readable storage medium, and the repeated parts will not be repeated.

[0102] The computer program product of the present invention improves the test efficiency of interactive voice response by using simulated data instead of real data.

[0103] In summary, the test method, system, device, medium and program product of interactive voice response of the present invention improve the test efficiency of interactive voice response by using simulated data instead of real data.

[0104] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A method for testing interactive voice response, characterized in that: The following steps are involved: Creating a simulation service and a unique access identifier for each data dependent interface, and establishing a mapping relationship between the simulation service and the access identifier; Creating simulation data for each business scenario to be tested; wherein the data dependency interface needs to be called when executing the test of the business scenario to be tested; Based at least on the selection of the simulation service, the input of the incoming call number, the inquiry number and the service number, and the detection of the dialing behavior, an interactive voice response service process is executed; When executing the interactive voice response business process, based on the call of the data dependent interface of the business scenario to be tested, the simulation service is matched through the access identifier, and the simulation service returns the simulation data; Record and present the test process for the business scenario to be tested.

2. The method for testing interactive voice response according to claim 1, characterized in that: The step of creating a simulation service and a unique access identifier for each data dependent interface and establishing a mapping relationship between the simulation service and the access identifier also includes the following steps: For each of the simulation services, a corresponding request format and return format are defined.

3. The method for testing interactive voice response according to claim 2, characterized in that: The simulation service includes: the name of the business scenario to be tested, the simulation consumption time, the simulation data and the visualization configuration; The simulation consumption time is the simulation time from the time when the simulation service requests the simulation data to the time when the simulation service receives the simulation data; The simulation data complies with the request format and the return format; The visualization configuration is used to display the process of calling the simulation service by using a graphical user interface when the simulation service is called.

4. The method for testing interactive voice response according to claim 1, characterized in that: The interactive voice response business process includes several business scenarios, at least some of which are the business scenarios to be tested.

5. The dialing test method based on simulation data according to claim 4, characterized in that: The recording and displaying of the test process for the business scenario to be tested includes the following steps: Recording the business embedding data of each business scenario when executing the interactive voice response business process; Asynchronously request the business tracking data to sequentially generate and display the test process of the business scenario to be tested.

6. The dialing test method based on simulation data according to claim 5, characterized in that: The business tracking data includes: request information, return information, data information obtained by calling the interface, and intermediate data specific to each business scenario; The intermediate data includes at least: judgment logic expression information, speech text information and user key option information.

7. An interactive voice response test system, characterized in that: include: A simulation service module, which creates a simulation service and a unique access identifier for each data dependent interface, and establishes a mapping relationship between the simulation service and the access identifier; A simulation data module creates simulation data for each business scenario to be tested; wherein the data dependency interface needs to be called when executing the test of the business scenario to be tested; A dialing test module, at least based on the selection of the simulated service, the input of the incoming call number, the query number and the service number, and the detection of the dialing behavior, executes the interactive voice response service process; A test execution module, when executing the interactive voice response business process, based on the call of the data dependent interface of the business scenario to be tested, matches the simulation service through the access identifier, and the simulation service returns the simulation data; The process display module records and displays the test process for the business scenario to be tested.

8. An interactive voice response test device, characterized in that: include: processor; a memory storing executable instructions of the processor; The processor is configured to execute the steps of the interactive voice response testing method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium for storing a computer program, characterized in that: When the computer program is executed, the steps of the testing method for interactive voice response according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed, the steps of the testing method for interactive voice response according to any one of claims 1 to 6 are implemented.