CN111930637A - Method for debugging IVR flow in real time based on webpage - Google Patents
Method for debugging IVR flow in real time based on webpage Download PDFInfo
- Publication number
- CN111930637A CN111930637A CN202011069355.8A CN202011069355A CN111930637A CN 111930637 A CN111930637 A CN 111930637A CN 202011069355 A CN202011069355 A CN 202011069355A CN 111930637 A CN111930637 A CN 111930637A
- Authority
- CN
- China
- Prior art keywords
- debugging
- module
- flow
- node
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/487—Arrangements for providing information services, e.g. recorded voice services or time announcements
- H04M3/493—Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals
- H04M3/4936—Speech interaction details
Abstract
The invention provides a method for debugging an IVR flow in real time based on a webpage, which is realized by adopting a debugging system; the method comprises the following steps: when the telephone system starts to execute a flow node, the stub code module sends a message entering the flow node to the debugging module; after receiving the message, the debugging module highlights the corresponding flow nodes and generates a graphical report; receiving an instruction made by a user according to the report, and supporting the user to interact with the telephone system through the terminal module; when the flow node is executed, the stub code module sends a message of leaving the flow node, and the debugging module receives the message and cancels the highlight display of the corresponding node. The connection between the browser and the soft switch server is realized through the web socket, a communication mechanism is embedded in the IVR process, and when the browser passes through a process control point, the communication mechanism can send relevant information such as user input, process execution conditions and the like to the debugging terminal to form a graphical report. The invention realizes the unification of flow design and flow debugging.
Description
Technical Field
The invention belongs to the field of communication, and particularly relates to a method for debugging an IVR flow in real time based on a webpage.
Background
An Interactive Voice Response (IVR) is an important application indispensable in a soft switch system, realizes interaction between a telephone system and a user, plays a limited Voice prompt to the user, and guides the user to complete self-service according to input of the user (input modes include key input, Voice input and the like). Due to the fact that application scenes are different and requirements are different, the difficulty of IVR process configuration is higher than that of other systems. The graphical configuration tool can visually display the logic relationship in the flow, and the IVR flow editing is greatly simplified. How to debug and ensure the correctness of the flow becomes a problem for users to pay attention.
The design and development of IVR procedures is familiar not only with the actual usage scenario, but also with the expertise associated with the telephone system, which is often only accomplished through cross-department or even cross-enterprise team collaboration. In the debugging process, some problems are not found in time because the original design flow can not be tracked frequently.
How to intuitively show the difference between the actual flow and the design flow so as to help the user to better design and debug the IVR system is an urgent problem to be solved.
In the prior art, when IVR service is debugged, a telephone is required to be used, a telephone platform server is dialed for service debugging, calling and debugging cannot be taken into consideration frequently, and debugging steps and process nodes cannot be tracked in real time; in addition, the IVR flow is debugged in a log output tracking mode, the definition of flow step nodes is often ignored, the flow of a telephone system is concerned, and the debugging process not only needs a debugger to have professional knowledge, but also cannot concentrate on application flow design.
Disclosure of Invention
In order to solve the above problems in the prior art, the present invention aims to provide a method for debugging an IVR flow in real time based on a web page. The connection between the browser and the soft switch server is realized through a web socket, a communication mechanism is embedded in the IVR process, when the browser passes through a process control point, the communication mechanism can send relevant information such as user input, process execution conditions and the like to the debugging terminal, the debugging terminal forms graphical report information to prompt a user after receiving the information, and meanwhile the report information can also comprise an improvement suggestion for the process. In order to facilitate the operation of a user, the invention also comprises a terminal telephone based on the browser, so that the user can test and watch the real-time report output at the same time, thereby realizing the unification of flow design and flow debugging.
In order to realize the purpose, the invention adopts the following technical scheme:
a method for debugging IVR flow in real time based on web page is realized by adopting a debugging system;
the debugging system comprises: the system comprises a flow design and debugging module, a forwarding module, a pile code module and a terminal module; the process design and debugging module provides a design and debugging function for a user, so that the user is more concentrated on the application process in a debugging stage; the forwarding module is used for performing signaling forwarding in a debugging stage; the pile code module is embedded in the flow node and used for sending and receiving debugging signaling and data; the terminal module is a telephone terminal used for testing and adopts JSSSIP based on webrtc; the debugging module is connected with the forwarding module through the websocket; the pile code module and the forwarding module communicate through tcp; the terminal module and the telephone system are communicated through an SIP protocol;
the method comprises the following steps:
when the telephone system starts to execute a flow node, the stub code module sends a message entering the flow node to the debugging module;
after receiving the message, the debugging module highlights the corresponding flow nodes to an interface presented by a user and generates a graphical report;
receiving an instruction made by a user according to the report, and supporting the user to interact with the telephone system through the terminal module;
when the flow node is executed, the stub code module sends a message of leaving the flow node, and the debugging module receives the message and cancels the highlight display of the corresponding node.
Optionally, the stub code module sends a message entering the flow node to the debugging module, and the message is forwarded by the forwarding module.
Optionally, the graphical report includes a selection menu, and actual values of control variables.
Optionally, the interface presented to the user highlights only the previous step node and the current step node, with the other nodes displayed normally.
Optionally, in the debugging process, the debugging module may operate the process variable through an interface that sets a variable and obtains the variable.
Optionally, assisting a user to judge whether the actual debugging process is consistent with the design process;
and receiving a judgment result of whether the design process is reasonable or not from the user.
Optionally, the graphical report further includes a suggestion for improvement to the design flow.
Optionally, the interface of the debugging module and the forwarding module,
and the interfaces of the stub code module and the forwarding module all adopt http protocol,
the value of Content-Type is application/xml;
the interactive messages are divided into two types of requests and responses, the requests and the responses are in one-to-one correspondence, all the messages comprise two parameters of ID and Type, the ID is used for matching the requests and the responses, the Type is used for distinguishing different message types, and different requests can carry different parameters.
Optionally, each process node has a unique identifier, and the debugging module locates the process node using the unique identifier.
Optionally, after the debug function is turned off, the stub code module is not triggered, and no additional performance overhead is incurred.
Through the technical scheme, the invention has the following beneficial technical effects:
the method and the system can more intuitively show the difference between the actual flow and the design flow, thereby helping a user to better design and debug the IVR system.
Drawings
FIG. 1 is a logic diagram of a debug system.
FIG. 2 is a diagram of a debug interface.
Fig. 3 is a debugging flow diagram.
FIG. 4 is an interface diagram showing the progress of debugging in the debugging process.
Detailed Description
The present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment describes a specific method for debugging an IVR flow in real time based on a webpage. The debugging system adopted by the method is shown in fig. 1 and comprises a flow design and debugging module 10, a forwarding module 11, stub codes 12 and a terminal module 13.
The modules are described as follows:
the flow design and debugging module 10: integrating design and debugging together can make the user focus more on the application flow in the debugging stage, rather than the flow of the telephone system;
the forwarding module 11: the device is used for signaling forwarding in a debugging stage;
pile code 12: the pile code is embedded in the flow node and used for sending and receiving debugging signaling and data;
the terminal module 13: the telephone terminal used for testing is completely based on a browser and does not need to be installed independently, JSSSIP based on webrtc can be adopted, and the terminal is developed by javascript and supports RFC 3261.
The debugging system adopted by the embodiment presents a use interface to the user as shown in fig. 2.
This embodiment requires that during the design phase of the IVR flow (how the flow is designed is not described in this embodiment), each step node has a unique identifier, and the debugging module 10 uses this identifier to locate the flow node. When a user calls a telephone system through the terminal module 13, the stub code module 12 is triggered to interact with the debugging module 10 through the forwarding module 11 to complete the process debugging. Stub code module 12 is not triggered after the debug feature is turned off and does not incur additional performance overhead.
The debugging system interface adopted by the embodiment is as follows:
the interface of the debug module 10 and the forwarding module (interface 1),
the debugging module is connected with the forwarding module through the websocket;
the stub code and interface of the forwarding module (interface 2),
the pile code and the interface of the forwarding module communicate through tcp;
the interface of the terminal module with the telephone system (interface 3),
the terminal module and the telephone system are communicated through an SIP protocol;
the interface is defined as follows:
the interface 1 and the interface 2 adopt an http protocol, and the value of the Content-Type is application/xml. The interactive messages are divided into two types of requests and responses, the requests and the responses are in one-to-one correspondence, all the messages comprise two parameters of ID and Type, the ID is used for matching the requests and the responses, the Type is used for distinguishing different message types, and different requests can carry different parameters.
Examples are as follows:
<Request ID=”1” Type=”Enter”>
<Param name=”UUID” value=”314232-234134” />
<Param name=”Time” value=”151232324” />
</Request>
(1) enter flow node
Type:Enter
Interface parameters:
UUID: ID of flow node being executed, must select
Time: current time, must select
Variables: process variables, optional
And returning a value: is free of
(2) Leaving flow node
When the telephone system finishes executing each flow node, the stub code sends the message to the debugging module
Type:Enter
Interface parameters:
UUID: ID of flow node being executed, must select
Time: current time, must select
And returning a value: is free of
(3) Variable assignment
Type:Set
Interface parameters:
name: variable names
Value of variable
And returning a value: is free of
(4) Obtaining variables
Type:Set
Interface parameters:
name: variable names
And returning a value: value of variable
The debugging process comprises the following steps:
when the telephone system starts to execute each process node, the stub code sends a message entering the process node to the debugging module (the message is transferred by the forwarding module), the debugging module highlights the corresponding process step node after receiving the message and generates a graphical report (comprising a selection menu, actual values of control variables and the like), and a user interacts with the arc system through the terminal module according to the report; when the flow node is executed, the stub code sends a message of leaving the flow node, the debugging module receives the message, the highlight display of the corresponding node is cancelled, the above process is repeated until the flow is finished, and the specific signaling interaction is shown in fig. 3. The forwarding service is omitted from the figure. In order to avoid the interface from being too disordered, the interface only highlights the previous step node and the current step node, and other nodes are normally displayed, and the debugging process is shown in fig. 4.
In the debugging process, the debugging module can operate the process variables through the interfaces for setting the variables and acquiring the variables.
The user can judge whether the actual flow is consistent with the design flow, whether the design flow is reasonable and the like according to the interaction, so that the purpose of debugging the flow is achieved.
The above description is only an example of the present application and is not intended to limit the present application. Embodiments of the present invention may be provided as methods, systems, or computer program products. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A method for debugging an IVR flow in real time based on a webpage is characterized in that:
the method is realized by adopting a debugging system;
the debugging system comprises: the system comprises a flow design and debugging module, a forwarding module, a pile code module and a terminal module; the process design and debugging module provides a design and debugging function for a user, so that the user is more concentrated on the application process in a debugging stage; the forwarding module is used for performing signaling forwarding in a debugging stage; the pile code module is embedded in the flow node and used for sending and receiving debugging signaling and data; the terminal module is a telephone terminal used for testing and adopts JSSSIP based on webrtc; the debugging module is connected with the forwarding module through the websocket; the pile code module and the forwarding module communicate through tcp; the terminal module and the telephone system are communicated through an SIP protocol;
the method comprises the following steps:
when the telephone system starts to execute a flow node, the stub code module sends a message entering the flow node to the debugging module;
after receiving the message, the debugging module highlights the corresponding flow nodes to an interface presented by a user and generates a graphical report;
receiving an instruction made by a user according to the report, and supporting the user to interact with the telephone system through the terminal module;
when the flow node is executed, the stub code module sends a message of leaving the flow node, and the debugging module receives the message and cancels the highlight display of the corresponding node.
2. The method of claim 1, wherein:
and the stub code module sends a message entering the flow node to the debugging module and the message is transferred by the forwarding module.
3. The method of claim 1, wherein:
the graphical report includes a selection menu, actual values of control variables.
4. The method of claim 1, wherein:
the interface presented to the user merely highlights the previous step node and the current step node, with the other nodes displayed normally.
5. The method of claim 1, wherein:
in the debugging process, the debugging module can operate the process variables through the interfaces for setting the variables and acquiring the variables.
6. The method of claim 1, wherein:
the auxiliary user judges whether the actual debugging process is consistent with the design process;
and receiving a judgment result of whether the design process is reasonable or not from the user.
7. The method of claim 1, wherein:
the graphical report also includes suggestions for improvements to the design flow.
8. The method of claim 1, wherein:
the interface of the debugging module and the forwarding module,
and the interfaces of the stub code module and the forwarding module all adopt http protocol,
the value of Content-Type is application/xml;
the interactive messages are divided into two types of requests and responses, the requests and the responses are in one-to-one correspondence, all the messages comprise two parameters of ID and Type, the ID is used for matching the requests and the responses, the Type is used for distinguishing different message types, and different requests can carry different parameters.
9. The method of claim 1, wherein:
each process node has a unique identifier, and the debugging module positions the process node by using the unique identifier.
10. The method of claim 1, wherein:
after the debugging function is turned off, the stub code module is not triggered, and additional performance overhead is not brought.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011069355.8A CN111930637B (en) | 2020-10-09 | 2020-10-09 | Method for debugging IVR flow in real time based on webpage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011069355.8A CN111930637B (en) | 2020-10-09 | 2020-10-09 | Method for debugging IVR flow in real time based on webpage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111930637A true CN111930637A (en) | 2020-11-13 |
CN111930637B CN111930637B (en) | 2020-12-25 |
Family
ID=73334298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011069355.8A Active CN111930637B (en) | 2020-10-09 | 2020-10-09 | Method for debugging IVR flow in real time based on webpage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111930637B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7103158B2 (en) * | 2002-02-28 | 2006-09-05 | Pacific Bell Information Services | Dynamic interactive voice architecture |
CN102426567A (en) * | 2011-09-15 | 2012-04-25 | 张德长 | Graphical editing and debugging system of automatic answer system |
CN104410637A (en) * | 2014-11-28 | 2015-03-11 | 科大讯飞股份有限公司 | Development system and development method for interactive voice response (IVR) visualization flow |
CN108171013A (en) * | 2017-12-19 | 2018-06-15 | 北京荣之联科技股份有限公司 | A kind of adjustment method and system for visualizing analysis of biological information flow |
CN110012175A (en) * | 2018-07-19 | 2019-07-12 | 贵阳朗玛信息技术股份有限公司 | For debugging device, system and its application method of IVR business |
-
2020
- 2020-10-09 CN CN202011069355.8A patent/CN111930637B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7103158B2 (en) * | 2002-02-28 | 2006-09-05 | Pacific Bell Information Services | Dynamic interactive voice architecture |
CN102426567A (en) * | 2011-09-15 | 2012-04-25 | 张德长 | Graphical editing and debugging system of automatic answer system |
CN104410637A (en) * | 2014-11-28 | 2015-03-11 | 科大讯飞股份有限公司 | Development system and development method for interactive voice response (IVR) visualization flow |
CN108171013A (en) * | 2017-12-19 | 2018-06-15 | 北京荣之联科技股份有限公司 | A kind of adjustment method and system for visualizing analysis of biological information flow |
CN110012175A (en) * | 2018-07-19 | 2019-07-12 | 贵阳朗玛信息技术股份有限公司 | For debugging device, system and its application method of IVR business |
Also Published As
Publication number | Publication date |
---|---|
CN111930637B (en) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108345531B (en) | Test method, device and system | |
US8226477B1 (en) | Automatic simulation of call center scenarios | |
CN101299862B (en) | Telecommunication service generation environmental system | |
CN108628739A (en) | A kind of method that Lua scripts are debugged, client, server and debugger | |
CN201392526Y (en) | Onboard test system for mobile applications | |
CN104778121A (en) | Game program test method, device and system | |
CN111104315A (en) | Test script generation method and device and computer readable storage medium | |
CN104536890A (en) | Testing system, method and device | |
US9632684B2 (en) | Method, device and terminal for generating logic service for embedded terminal | |
US20230092858A1 (en) | Application Debugging Method and System, Device, and Medium | |
CN101631262A (en) | VoiceXML business integrated development system and realizing method thereof | |
CN102868717A (en) | Method, device and system for editing and debugging voice extensible markup language script | |
CN111930637B (en) | Method for debugging IVR flow in real time based on webpage | |
CN110995942B (en) | Soft switch automatic calling method and system based on interface visualization | |
CN105260257B (en) | Settlement procedure stops response method and apparatus during running | |
CN109587349B (en) | Multimedia agent line testing method and device, electronic equipment and storage medium | |
US20060242629A1 (en) | Systems and methods for remote cross-platform instructions | |
Schieferdecker et al. | Systematic Testing of Internet Protocols-First Experiences in Using TTCN-3 for SIP | |
CN111459836B (en) | Conversation strategy configuration method and conversation system | |
CN107707433A (en) | A kind of method and computer equipment from network platform test operation flow | |
CN112214392B (en) | JS code debugging method, device, terminal and storage medium | |
Franke et al. | Androlift: A tool for android application life cycles | |
WO2012058871A1 (en) | Method and system for customer service automation | |
CN114398290B (en) | Program debugging method, device, equipment and medium | |
CN111459837B (en) | Conversation strategy configuration method and conversation system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |