WO2019184208A1 - Visualization ivr implementation method and apparatus, computer device and storage medium - Google Patents

Visualization ivr implementation method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2019184208A1
WO2019184208A1 PCT/CN2018/101617 CN2018101617W WO2019184208A1 WO 2019184208 A1 WO2019184208 A1 WO 2019184208A1 CN 2018101617 W CN2018101617 W CN 2018101617W WO 2019184208 A1 WO2019184208 A1 WO 2019184208A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
test
ivr system
request
ivr
Prior art date
Application number
PCT/CN2018/101617
Other languages
French (fr)
Chinese (zh)
Inventor
刘玉治
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019184208A1 publication Critical patent/WO2019184208A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/487Arrangements for providing information services, e.g. recorded voice services or time announcements
    • H04M3/493Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/25Aspects of automatic or semi-automatic exchanges related to user interface aspects of the telephonic communication service
    • H04M2203/251Aspects of automatic or semi-automatic exchanges related to user interface aspects of the telephonic communication service where a voice mode or a visual mode can be used interchangeably
    • H04M2203/252Aspects of automatic or semi-automatic exchanges related to user interface aspects of the telephonic communication service where a voice mode or a visual mode can be used interchangeably where a voice mode is enhanced with visual information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/35Aspects of automatic or semi-automatic exchanges related to information services provided via a voice call
    • H04M2203/355Interactive dialogue design tools, features or methods

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for implementing a visual IVR.
  • test of the IVR (Interactive Voice Response) system flow does not have a complete tool to complete. If the test is performed manually by module, the test process is very time consuming, inefficient and workload. Very large; in addition, when the test content is very complicated, if you rely on manual testing and sorting out the test results, the error rate is also very high.
  • the embodiments of the present application provide a method, an apparatus, a computer device, and a storage medium for implementing the visual IVR, which can implement the testing process of the IVR system, greatly improve the testing efficiency, and improve the user experience.
  • the embodiment of the present application provides a visual IVR implementation method, including: establishing an H5 interface under the framework of H5; initiating a test request to the IVR system through the H5 interface; and receiving confirmation for the test request
  • the instruction establishes a test channel of the H5 interface and the IVR system; performs an automated test according to the established test channel and the background media service component of the H5 interface; obtains an automated test result and displays it at a corresponding position of the H5 interface.
  • the embodiment of the present application provides a visual IVR implementation apparatus, where the apparatus includes: a first establishing unit, configured to establish an H5 interface under the framework of H5; and an initiating unit, configured to pass the H5 interface to the IVR system. Initiating a test request; a second establishing unit, configured to: establish a test channel of the H5 interface and the IVR system if receiving the confirmation instruction for the test request; and an automated test unit, configured to: according to the established test channel and the H5 interface
  • the background media service component performs automated testing; the first display unit is configured to obtain automated test results and display at corresponding positions of the H5 interface.
  • an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program
  • a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program
  • the embodiment of the present application further provides a computer readable storage medium, where the one or more computer programs are stored, and the one or more computer programs may be one or more The processor executes to implement the visualized IVR implementation method as described above.
  • the visualized IVR implementation method described in the embodiment of the present application can implement the testing process of the IVR system, greatly improve the testing efficiency, and improve the user experience.
  • FIG. 1 is a schematic flowchart of a method for implementing a visualized IVR according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for implementing a visualized IVR according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for implementing a visualized IVR according to an embodiment of the present application
  • FIG. 4 is a schematic flowchart of a method for implementing a visualized IVR according to another embodiment of the present application.
  • FIG. 5 is a schematic diagram showing a method for implementing a visualized IVR according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method for implementing a visual IVR according to another embodiment of the present application.
  • FIG. 7 is a schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application.
  • FIG. 8 is another schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application.
  • FIG. 9 is another schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application.
  • FIG. 10 is another schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application.
  • FIG. 11 is another schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for implementing a visualized IVR according to an embodiment of the present application.
  • the method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices.
  • the visualized IVR implementation method described in the embodiment of the present application can implement the testing process of the IVR system, greatly improve the testing efficiency, and improve the user experience.
  • FIG. 1 is a schematic flowchart of a method for implementing a visual IVR provided by an embodiment of the present application. The method includes steps S101 to S105.
  • an H5 interface is established under the framework of H5.
  • the method for establishing an H5 interface through the H5 framework mainly includes the following steps: 1) page design, 2) logical control, and 3) support for physical key return; wherein, for page design, first need to determine your page needs.
  • the logical relationship between the three pages is: page start, default to the home page, click the button of the home page Switch to the list page, click the button on the list page to switch to the list details page, click the back button or the physical back button to return to the previous page.
  • the view page needs to be set to be absolutely positioned, and the same width as the parent container, so that the view can be smoothly switched, and also needs to be set.
  • the specific parameters are not limited here.
  • the view page is set by the above method. When the value of the specific parameter in the view page is changed, the view page is translated by the transition effect defined in the style, and the duration is 0.4s.
  • the IVR Interactive Voice Response
  • the process of using the IVR system by the user may be: (1) the user can input information to the enterprise host through the button or voice selection on the IVR system, and obtain various services by self-service, so that the service representative has more time to serve the special request. (2) Users can handle multiple incoming calls through the IVR system. When receiving incoming calls, they can automatically initiate processing by asking for relevant information such as internal ID, supplier ID, agent ID, etc. (3) The design of the IVR takes care of the caller from all aspects. In call distribution, the call can be automatically assigned according to the optimal algorithm or according to the user's indication. Before transferring the call to the artificial agent, find the most suitable route transfer call, that is, find the most suitable agent to answer the call. Specific customers can arrange for someone to answer; give priority to important customers, minimize their waiting time, and so on.
  • S102 Send a test request to the IVR system through the H5 interface.
  • a test request is initiated to the IVR system through the H5 interface, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a used identifier.
  • Agreement Specifically, the domain name DNS of the input URL is parsed out of the IP address, and the connection is established with the IVR system according to the IP address and the default 80 port through the H5 interface, and then the HTTP request header of the get type is assembled according to the URL, and the H5 interface is adopted.
  • the sending interface is sent to the IVR system.
  • the HTTP request header assembled into the URL is sent to the target server of the IVR system.
  • the step S102 includes steps S201 to S203.
  • test request information sent by a user.
  • the test request information includes at least a test request identifier, and the test request identifier is used to uniquely point to a test task in the IVR system.
  • the test request information includes a test request identifier
  • the parsing the test request information to obtain a test request keyword specifically includes the following steps: parsing the test request information to obtain a test request identifier Determine the test request keyword by testing the request identifier.
  • the test request information is parsed by a preset parsing tool and an automatic parsing script in the parsing tool.
  • a preset parsing tool such as CapAnalysis (visualized test information parsing tool), specifically, the parsing tool automatically scans first.
  • the test requests information obtains the name of the test request information, and parses the test request information by using the obtained name, and can obtain a test request identifier, such as a recorded data operation, a voice broadcast, a collection case, a process jump, Call forwarding, etc.
  • the test request identifier may be determined by the test request identifier, and the method for determining the test request keyword may be based on the number of characters of the parsed test request identifier, and the test request identifier is set according to a preset ratio.
  • the specified number of characters are extracted as test request keywords, for example, the test request keyword of "recorded data operation" is "recorded data", for example, the test request keyword of "voice broadcast” is "voice” and the like.
  • the terminal sends the test request keyword to the IVR system through the H5 interface.
  • the H5 interface sends the test request keyword to the IVR system through the wireless communication network technology, and the specific process is: in the wireless communication network technology, the request keyword is first converted into an ASCII code, and a report is generated.
  • the message is generated by the UDP protocol of the transport layer to generate a packet with the UDP protocol, and then the UDP protocol is used to deliver the packet with the UDP protocol to the IP protocol of the network layer, and the packet is delivered to the link layer by the IP protocol.
  • the Ethernet protocol of the protocol sends the message to the network card through the Ethernet protocol.
  • the message is divided into several frames and sent to the network through the physical layer in the form of 0101.
  • the switch receives the message that is divided by the message.
  • the frame is restored to the Ethernet protocol packet.
  • the switch searches its MAC address table according to the MAC address in the packet header of the Ethernet protocol packet, finds the corresponding outgoing interface, and sends the packet out of the outbound interface.
  • the packet is sent to the gateway device.
  • the gateway finds its own routing table and FIB table according to the IP address in the packet header, finds the next hop address, and then The packet is sent to the next hop, and finally the gateway of the IVR system is found, and the message of the IVR system is sent to the IVR system.
  • the IVR system receives the packet, the packet is stripped of the packet header, and Revert to the test request keyword to complete the operation of sending the test request keyword to the IVR system.
  • test channel of the H5 interface and the IVR system.
  • a test channel of the H5 and IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be used for information.
  • the common channel of the transmission in this embodiment, the test channel may be formed by an open interface of the H5 interface and an interface of the IVR system. Specifically, the open interface of the H5 interface is connected with the interface of the IVR system, and is formed. Test channels for information transfer between the H5 interface and the IVR system, as well as data interaction.
  • the step S103 includes steps S301 to S304.
  • connection interface in the H5 interface.
  • multiple connection interfaces exist in the H5 interface for the user to connect with the IVR system to implement interaction between the H5 interface and the IVR system.
  • multiple connections in the H5 interface are possible.
  • the interface is optionally one as a first connection interface for providing a channel for communication between the H5 interface and the IVR system.
  • the connection interface may be, but not limited to, a WiFi (Wireless Fidelity) interface, or may be Bluetooth.
  • the first connection interface is determined to have a two-way communication function according to the first connection interface selected by the user, and the communication interface having the two-way communication function is selected in the IVR system to match the determined first connection interface. Because there are many different types of communication interfaces in the IVR system, the interface of the one-way communication function does not meet the communication requirements of the H5 interface and the IVR system.
  • S104 Perform an automated test according to the established test channel and the background media service component of the H5 interface.
  • the automated test is performed through the established test channel and the background media service component of the H5 interface is automatically tested.
  • the specific test process is H5 interface ⁇ test channel ⁇ IVR system (specifically, IVR system process processing service) ⁇ Test channel ⁇ background media service component of H5 interface ⁇ H5 interface.
  • IVR system specifically, IVR system process processing service
  • Test channel ⁇ background media service component of H5 interface
  • H5 interface Based on HTTP communication, it is differentiated from the traditional call center, and uses the established test channel and H5 interface for automated testing. It does not need to pass PBX, CTI and other services.
  • the user initiates a service request through the H5 page, such as obtaining the bank IVR self-service, requesting the target bit.
  • the IVR process processing service identifies the request content (incoming call information, the target process of the request, etc.), and enters a corresponding processing flow according to the recognition result, such as a bank self-service process. According to the mode requirements of the request parameters, the corresponding return.
  • the request mode is divided into a sequential mode and a parallel mode.
  • the sequential mode is the same as the traditional IVR self-service mode, which is a step-by-step progressive mode.
  • parallel mode the functions to be executed are assembled in a flat level and returned to the H5 page as a list.
  • the IVR process service organizes the corresponding execution instructions to return to the H5 page according to the request situation; after the H5 page obtains the corresponding instruction, it parses the instruction content, and the instruction content is composed of the voice number, the recorded data operation, the user input and the like. If it is information that requires the user to display the operation, it will be displayed in the corresponding position on the H5 interface. For example, if voice broadcast and data collection are required, the playback control page is displayed, and the corresponding content is played (the playback process can be paused, cancelled, or interrupted); if the content is interactive, the IVR returns data or provides an input box for the user to enter the text ( Usually a number).
  • the H5 service page page requests the background media service component; after the above actions are completed, if the subsequent step is the only determined operation, the IVR process service is automatically requested by the H5; if the subsequent step is not unique, the H5 is passed. Dynamically show what the user can choose next. H5 initiates a request for the IVR process service according to the user selection; the request is looped until the user task is completed, and the process ends.
  • S105 Acquire an automated test result and display it at a corresponding position of the H5 interface.
  • the automatic test result is displayed at the corresponding position of the H5 interface, so that the user can directly view the push message through the H5 interface, and timely understand the test result of the automated test.
  • the embodiment of the present application establishes an H5 interface under the framework of H5; initiates a test request to the IVR system through the H5 interface; and if the confirmation command of the IVR system is received, the test channel of the H5 interface and the IVR system is established; The established test channel and the background media service component of the H5 interface are automatically tested; the automated test results are obtained and displayed at corresponding locations on the H5 interface.
  • FIG. 4 is a schematic flowchart of a method for implementing a visual IVR according to an embodiment of the present application.
  • the method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices.
  • terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices.
  • the method includes steps S401 to S407.
  • the method for establishing an H5 interface through the H5 framework mainly includes the following steps: 1) page design, 2) logical control, and 3) support for physical key return; wherein, for page design, first need to determine your page needs.
  • the logical relationship between the three pages is: page start, default to the home page, click the button of the home page Switch to the list page, click the button on the list page to switch to the list details page, click the back button or the physical back button to return to the previous page.
  • the view page needs to be set to be absolutely positioned, and the same width as the parent container, so that the view can be smoothly switched, and also needs to be set.
  • the specific parameters are not limited here.
  • the view page is set by the above method. When the value of the specific parameter in the view page is changed, the view page is translated by the transition effect defined in the style, and the duration is 0.4s.
  • the IVR Interactive Voice Response
  • the process of using the IVR system by the user may be: (1) the user can input information to the enterprise host through the button or voice selection on the IVR system, and obtain various services by self-service, so that the service representative has more time to serve the special request. (2) Users can handle multiple incoming calls through the IVR system. When receiving incoming calls, they can automatically initiate processing by asking for relevant information such as internal ID, supplier ID, agent ID, etc. (3) The design of the IVR takes care of the caller from all aspects. In call distribution, the call can be automatically assigned according to the optimal algorithm or according to the user's indication. Before transferring the call to the artificial agent, find the most suitable route transfer call, that is, find the most suitable agent to answer the call. Specific customers can arrange for someone to answer; give priority to important customers, minimize their waiting time, and so on.
  • test request is initiated to the IVR system through the H5 interface, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a used identifier. Agreement. Specifically, the domain name DNS of the input URL is parsed out of the IP address, and the connection is established with the IVR system according to the IP address and the default 80 port through the H5 interface, and then the HTTP request header of the get type is assembled according to the URL, and the H5 interface is adopted. The sending interface is sent to the IVR system. Optionally, the HTTP request header assembled into the URL is sent to the target server of the IVR system.
  • test channel of the H5 interface and the IVR system If an acknowledgement command for the test request is received, establish a test channel of the H5 interface and the IVR system.
  • a test channel of the H5 and IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be used for information.
  • the common channel of the transmission in this embodiment, the test channel may be formed by an open interface of the H5 interface and an interface of the IVR system. Specifically, the open interface of the H5 interface is connected with the interface of the IVR system, and is formed. Test channels for information transfer between the H5 interface and the IVR system, as well as data interaction.
  • S404 Perform an automated test according to the established test channel and the background media service component of the H5 interface.
  • the automated test is performed through the established test channel and the background media service component of the H5 interface is automatically tested.
  • the specific test process is H5 interface ⁇ test channel ⁇ IVR system (specifically, IVR system process processing service) ⁇ Test channel ⁇ background media service component of H5 interface ⁇ H5 interface.
  • IVR system specifically, IVR system process processing service
  • Test channel ⁇ background media service component of H5 interface
  • H5 interface Based on HTTP communication, it is differentiated from the traditional call center, and uses the established test channel and H5 interface for automated testing. It does not need to pass PBX, CTI and other services.
  • the user initiates a service request through the H5 page, such as obtaining the bank IVR self-service, requesting the target bit.
  • the IVR process processing service identifies the request content (incoming call information, the target process of the request, etc.), and enters a corresponding processing flow according to the recognition result, such as a bank self-service process. According to the mode requirements of the request parameters, the corresponding return.
  • the request mode is divided into a sequential mode and a parallel mode.
  • the sequential mode is the same as the traditional IVR self-service mode, which is a step-by-step progressive mode.
  • parallel mode the functions to be executed are assembled in a flat level and returned to the H5 page as a list.
  • the IVR process service organizes the corresponding execution instructions to return to the H5 page according to the request situation; after the H5 page obtains the corresponding instruction, it parses the instruction content, and the instruction content is composed of the voice number, the recorded data operation, the user input and the like. If it is information that requires the user to display the operation, it will be displayed in the corresponding position on the H5 interface. For example, if voice broadcast and data collection are required, the playback control page is displayed, and the corresponding content is played (the playback process can be paused, cancelled, or interrupted); if the content is interactive, the IVR returns data or provides an input box for the user to enter the text ( Usually a number).
  • the H5 service page page requests the background media service component; after the above actions are completed, if the subsequent step is the only determined operation, the IVR process service is automatically requested by the H5; if the subsequent step is not unique, the H5 is passed. Dynamically show what the user can choose next. H5 initiates a request for the IVR process service according to the user selection; the request is looped until the user task is completed, and the process ends.
  • the query instruction may be a query operation input by the user on the terminal, and the query instruction may also be an SQL query instruction, such as a SQL query instruction: a Select query statement; in an automated test process, the terminal may refer to the IVR.
  • the system initiates a query request for querying the test steps of the test process, for example, the currently performed automated test step is to test the "voice broadcast" process, or the currently performed automated test step is to test the "call transfer" process and many more.
  • the currently executed test step is displayed on the preset display interface.
  • the preset display interface may be a designated area of the current interface of the terminal, for example, may be the middle of the current interface of the terminal.
  • the current interface G of the terminal 10 The “Testing of Call Forwarding Process” is displayed, which shows the current test steps, so that users can view and understand the process of automated testing at any time.
  • FIG. 6 is a schematic flowchart of a method for implementing a visual IVR according to an embodiment of the present application.
  • the method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices.
  • terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices.
  • the method includes steps S501 to S506.
  • an H5 interface is established under the framework of H5.
  • the method for establishing an H5 interface through the H5 framework mainly includes the following steps: 1) page design, 2) logical control, and 3) support for physical key return; wherein, for page design, first need to determine your page needs.
  • the logical relationship between the three pages is: page start, default to the home page, click the button of the home page Switch to the list page, click the button on the list page to switch to the list details page, click the back button or the physical back button to return to the previous page.
  • the view page needs to be set to be absolutely positioned, and the same width as the parent container, so that the view can be smoothly switched, and also needs to be set.
  • the specific parameters are not limited here.
  • the view page is set by the above method. When the value of the specific parameter in the view page is changed, the view page is translated by the transition effect defined in the style, and the duration is 0.4s.
  • the IVR Interactive Voice Response
  • the process of using the IVR system by the user may be: (1) the user can input information to the enterprise host through the button or voice selection on the IVR system, and obtain various services by self-service, so that the service representative has more time to serve the special request. (2) Users can handle multiple incoming calls through the IVR system. When receiving incoming calls, they can automatically initiate processing by asking for relevant information such as internal ID, supplier ID, agent ID, etc. (3) The design of the IVR takes care of the caller from all aspects. In call distribution, the call can be automatically assigned according to the optimal algorithm or according to the user's indication. Before transferring the call to the artificial agent, find the most suitable route transfer call, that is, find the most suitable agent to answer the call. Specific customers can arrange for someone to answer; give priority to important customers, minimize their waiting time, and so on.
  • S502 Send a test request to the IVR system through the H5 interface.
  • a test request is initiated to the IVR system through the H5 interface, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a used identifier. Agreement.
  • the domain name DNS of the input URL is parsed out of the IP address, and the connection is established with the IVR system according to the IP address and the default 80 port through the H5 interface, and then the HTTP request header of the get type is assembled according to the URL, and the H5 interface is adopted.
  • the sending interface is sent to the IVR system.
  • the HTTP request header assembled into the URL is sent to the target server of the IVR system.
  • test channel of the H5 interface and the IVR system If an acknowledgement command for the test request is received, establish a test channel of the H5 interface and the IVR system.
  • a test channel of the H5 and IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be used for information.
  • the common channel of the transmission in this embodiment, the test channel may be formed by an open interface of the H5 interface and an interface of the IVR system. Specifically, the open interface of the H5 interface is connected with the interface of the IVR system, and is formed. Test channels for information transfer between the H5 interface and the IVR system, as well as data interaction.
  • S504 Perform an automated test according to the established test channel and the background media service component of the H5 interface.
  • the automated test is performed through the established test channel and the background media service component of the H5 interface is automatically tested.
  • the specific test process is H5 interface ⁇ test channel ⁇ IVR system (specifically, IVR system process processing service) ⁇ Test channel ⁇ background media service component of H5 interface ⁇ H5 interface.
  • IVR system specifically, IVR system process processing service
  • Test channel ⁇ background media service component of H5 interface
  • H5 interface Based on HTTP communication, it is differentiated from the traditional call center, and uses the established test channel and H5 interface for automated testing. It does not need to pass PBX, CTI and other services.
  • the user initiates a service request through the H5 page, such as obtaining the bank IVR self-service, requesting the target bit.
  • the IVR process processing service identifies the request content (incoming call information, the target process of the request, etc.), and enters a corresponding processing flow according to the recognition result, such as a bank self-service process. According to the mode requirements of the request parameters, the corresponding return.
  • the request mode is divided into a sequential mode and a parallel mode.
  • the sequential mode is the same as the traditional IVR self-service mode, which is a step-by-step progressive mode.
  • parallel mode the functions to be executed are assembled in a flat level and returned to the H5 page as a list.
  • the IVR process service organizes the corresponding execution instructions to return to the H5 page according to the request situation; after the H5 page obtains the corresponding instruction, it parses the instruction content, and the instruction content is composed of the voice number, the recorded data operation, the user input and the like. If it is information that requires the user to display the operation, it will be displayed in the corresponding position on the H5 interface. For example, if voice broadcast and data collection are required, the playback control page is displayed, and the corresponding content is played (the playback process can be paused, cancelled, or interrupted); if the content is interactive, the IVR returns data or provides an input box for the user to enter the text ( Usually a number).
  • the H5 service page page requests the background media service component; after the above actions are completed, if the subsequent step is the only determined operation, the IVR process service is automatically requested by the H5; if the subsequent step is not unique, the H5 is passed. Dynamically show what the user can choose next. H5 initiates a request for the IVR process service according to the user selection; the request is looped until the user task is completed, and the process ends.
  • the description information is used to record the detailed information of the automated test process
  • the description information may include parameter information of the automated test process, step detail information, time information of completing the test, and the like
  • the terminal may receive the IVR system.
  • the description of the returned test step and present it to the browser page.
  • the terminal may present the description information in a browser page by means of a list, and one row in the list may include all description information of a test step.
  • the terminal may further initiate a request for querying the currently executed test step to the IVR system; and in response to the query result returned by the IVR system, change the display effect of the description information corresponding to the currently executed test step.
  • the embodiment of the present application further provides a visual IVR implementation apparatus, where the apparatus 100 includes: a first establishing unit 101, an initiating unit 102, a second establishing unit 103, and an automated test.
  • Unit 104 first display unit 105.
  • the first establishing unit 101 is configured to establish an H5 interface under the framework of H5.
  • the initiating unit 102 is configured to initiate a test request to the IVR system through the H5 interface.
  • the second establishing unit 103 is configured to establish a test channel of the H5 interface and the IVR system if the confirmation command for the test request is received.
  • the automated testing unit 104 is configured to perform automated testing according to the established test channel and the background media service component of the H5 interface.
  • the first display unit 105 is configured to obtain an automated test result and display at a corresponding position of the H5 interface.
  • the embodiment of the present application establishes an H5 interface in the framework of H5; initiates a test request to the IVR system through the H5 interface; and if the IVR system receives the confirmation command, establishes a test channel of the H5 interface and the IVR system; The test channel and the background media service component of the H5 interface are automated tested; the automated test results are obtained and displayed at corresponding locations on the H5 interface.
  • the initiating unit 102 includes: a receiving unit 1021, configured to receive test request information sent by a user.
  • the parsing unit 1022 is configured to parse the test request keyword from the test request information sent by the user.
  • the sending unit 1023 is configured to send the test request keyword to the IVR system through the H5 interface.
  • the second establishing unit 103 includes: a first determining unit 1031, configured to determine a first connection interface in the H5 interface.
  • the second determining unit 1032 is configured to determine, according to the determined first connection interface, a second connection interface of the same type as the first connection interface in the IVR system.
  • the creating unit 1033 is configured to create a test channel mapping relationship between the first connection interface and the second connection interface.
  • the second establishing sub-unit 1034 is configured to establish a test channel of the H5 interface and the IVR system according to the created test channel mapping relationship.
  • the embodiment of the present application further provides a visual IVR implementation apparatus, where the apparatus 200 includes: a first establishing unit 201, an initiating unit 202, a second establishing unit 203, and an automated test.
  • the first establishing unit 201 is configured to establish an H5 interface under the framework of the H5.
  • the initiating unit 202 is configured to initiate a test request to the IVR system through the H5 interface.
  • the second establishing unit 203 is configured to establish a test channel of the H5 interface and the IVR system if the confirmation command for the test request is received.
  • the automated testing unit 204 is configured to perform automated testing according to the established test channel and the background media service component of the H5 interface.
  • the first display unit 205 is configured to obtain an automated test result and display at a corresponding position of the H5 interface.
  • the executing unit 206 is configured to initiate a request for querying the currently executed test step if the query instruction is received.
  • the second display unit 207 is configured to display the currently executed test step on the preset display interface in response to the request.
  • the embodiment of the present application further provides a visual IVR implementation apparatus, where the apparatus 300 includes: a first establishing unit 301, an initiating unit 302, a second establishing unit 303, and an automated test.
  • the apparatus 300 includes: a first establishing unit 301, an initiating unit 302, a second establishing unit 303, and an automated test.
  • Unit 304 first display unit 305, presentation unit 306.
  • the first establishing unit 301 is configured to establish an H5 interface under the framework of H5.
  • the initiating unit 302 is configured to initiate a test request to the IVR system through the H5 interface.
  • the second establishing unit 303 is configured to establish a test channel of the H5 interface and the IVR system if receiving the confirmation instruction for the test request.
  • the automated test unit 304 is configured to perform automated testing based on the established test channel and the back media service component of the H5 interface.
  • the first display unit 305 is configured to obtain an automated test result and display the corresponding position of the H5 interface.
  • the presentation unit 306 is configured to present description information about the automated testing process by using a preset browser page.
  • the visual IVR implementation described above can be implemented in the form of a computer program that can be run on a computer device as shown in FIG.
  • FIG. 12 is a schematic structural diagram of a computer device according to the present application.
  • the device may be a terminal or a server, wherein the terminal may be a communication device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device.
  • the server can be a standalone server or a server cluster consisting of multiple servers.
  • the computer device 500 includes a processor 502, a non-volatile storage medium 503, an internal memory 504, and a network interface 505 connected by a system bus 501.
  • the non-volatile storage medium 503 of the computer device 500 can store an operating system 5031 and a computer program 5032 that, when executed, can cause the processor 502 to perform a visual IVR implementation method.
  • the processor 502 of the computer device 500 is used to provide computing and control capabilities to support the operation of the entire computer device 500.
  • the internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, which when executed by the processor, causes the processor 502 to perform a visual IVR implementation method.
  • the network interface 505 of the computer device 500 is used to perform network communications, such as sending assigned tasks and the like. It will be understood by those skilled in the art that the structure shown in FIG.
  • FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • the processor 502 executes the computer program, the following operations are performed: establishing an H5 interface under the framework of H5; initiating a test request to the IVR system through the H5 interface; and if receiving an acknowledgement instruction for the test request, establishing The H5 interface and the test channel of the IVR system; perform automated testing according to the established test channel and the background media service component of the H5 interface; obtain automated test results and display at corresponding positions of the H5 interface.
  • the initiating a test request to the IVR system through the H5 interface includes: receiving test request information sent by the user; parsing the test request keyword from the test request information sent by the user; and testing the request key through the H5 interface The word is sent to the IVR system.
  • establishing a test channel of the H5 interface and the IVR system includes: determining a first connection interface in the H5 interface; determining an IVR system according to the determined first connection interface a second connection interface of the same type as the first connection interface; creating a test channel mapping relationship between the first connection interface and the second connection interface; establishing a test channel of the H5 interface and the IVR system according to the created test channel mapping relationship.
  • the processor 502 executes the computer program, the following operations are further performed: if a query instruction is received, a request for querying a currently executed test step is initiated; and in response to the request, displaying on a preset display interface The test step currently being performed.
  • the processor 502 when executing the computer program, further implements an operation of presenting description information about an automated test process by a preset browser page.
  • the embodiment of the computer device shown in FIG. 12 does not constitute a limitation on the specific configuration of the computer device.
  • the computer device may include more or fewer components than illustrated. Or combine some parts, or different parts.
  • the computer device includes only the memory and the processor. In such an embodiment, the structure and function of the memory and the processor are the same as those of the embodiment shown in FIG. 12, and details are not described herein again.
  • the application provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the methods described herein Visualize the IVR implementation method.
  • the foregoing storage medium of the present application includes: a magnetic disk, an optical disk, a read-only memory (ROM), and the like, which can store various program codes.
  • the units in all the embodiments of the present application may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit), or by an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit), or by an ASIC (Application Specific Integrated Circuit).
  • the steps in the method for visualizing the IVR in the embodiment of the present application may be sequentially adjusted, merged, and deleted according to actual needs.
  • the units in the visualized IVR implementation apparatus of the embodiment of the present application may be combined, divided, and deleted according to actual needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in the embodiments of the present application are a visualization IVR implementation method and apparatus, a computer device and a storage medium. The method comprises: establishing an H5 interface under the framework of H5; initiating a test request to an IVR system by means of the H5 interface; upon receipt of a confirmation instruction to the test request, establishing a test channel between the H5 interface and the IVR system; performing an automated test according to the established test channel and the backend media service component of the H5 interface; and acquiring an automated test result and displaying same at a corresponding position of the H5 interface.

Description

可视化IVR实现方法、装置、计算机设备以及存储介质Visualization IVR implementation method, device, computer device and storage medium
本申请要求于2018年3月27日提交中国专利局、申请号为CN 201810258556.9、申请名称为“可视化IVR实现方法、装置、计算机设备以及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on March 27, 2018, the Chinese Patent Office, the application number is CN 201810258556.9, and the application name is "Visual IVR implementation method, device, computer equipment and storage medium", the entire contents of which are The citations are incorporated herein by reference.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种可视化IVR实现方法、装置、计算机设备以及存储介质。The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for implementing a visual IVR.
背景技术Background technique
现有技术中,对于IVR(Interactive Voice Response,交互式语音应答)系统流程的测试没有一个完整的工具去完成,如果通过人工逐个模块进行测试,会导致测试过程非常耗时,效率低下并且工作量非常大;另外,在测试内容非常复杂的时候,若依靠手动测试并整理这些测试结果,整理出来的出错率也特别高。In the prior art, the test of the IVR (Interactive Voice Response) system flow does not have a complete tool to complete. If the test is performed manually by module, the test process is very time consuming, inefficient and workload. Very large; in addition, when the test content is very complicated, if you rely on manual testing and sorting out the test results, the error rate is also very high.
发明内容Summary of the invention
有鉴于此,本申请实施例提供一种可视化IVR实现方法、装置、计算机设备以及存储介质,能够实现IVR系统的测试流程,在很大程度上提高测试效率,并且改善了用户体验。In view of this, the embodiments of the present application provide a method, an apparatus, a computer device, and a storage medium for implementing the visual IVR, which can implement the testing process of the IVR system, greatly improve the testing efficiency, and improve the user experience.
一方面,本申请实施例提供了一种可视化IVR实现方法,该方法包括:在H5的框架下建立一个H5界面;通过H5界面向IVR系统发起测试请求;若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道;根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;获取自动化测试结果并在所述H5界面的相应位置进行显示。In one aspect, the embodiment of the present application provides a visual IVR implementation method, including: establishing an H5 interface under the framework of H5; initiating a test request to the IVR system through the H5 interface; and receiving confirmation for the test request The instruction establishes a test channel of the H5 interface and the IVR system; performs an automated test according to the established test channel and the background media service component of the H5 interface; obtains an automated test result and displays it at a corresponding position of the H5 interface.
另一方面,本申请实施例提供了一种可视化IVR实现装置,所述装置包括:第一建立单元,用于在H5的框架下建立一个H5界面;发起单元,用于通过H5界面向IVR系统发起测试请求;第二建立单元,用于若接收到针对所述测试请 求的确认指令,建立H5界面与IVR系统的测试通道;自动化测试单元,用于根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;第一显示单元,用于获取自动化测试结果并在所述H5界面的相应位置进行显示。On the other hand, the embodiment of the present application provides a visual IVR implementation apparatus, where the apparatus includes: a first establishing unit, configured to establish an H5 interface under the framework of H5; and an initiating unit, configured to pass the H5 interface to the IVR system. Initiating a test request; a second establishing unit, configured to: establish a test channel of the H5 interface and the IVR system if receiving the confirmation instruction for the test request; and an automated test unit, configured to: according to the established test channel and the H5 interface The background media service component performs automated testing; the first display unit is configured to obtain automated test results and display at corresponding positions of the H5 interface.
又一方面,本申请实施例还提供了一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的可视化IVR实现方法。In still another aspect, an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program The visual IVR implementation method as described above is implemented.
再一方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上计算机程序,所述一个或者一个以上计算机程序可被一个或者一个以上的处理器执行,以实现如上所述的可视化IVR实现方法。In still another aspect, the embodiment of the present application further provides a computer readable storage medium, where the one or more computer programs are stored, and the one or more computer programs may be one or more The processor executes to implement the visualized IVR implementation method as described above.
本申请实施例所述的可视化IVR实现方法,能够实现IVR系统的测试流程,在很大程度上提高测试效率,并且改善了用户体验。The visualized IVR implementation method described in the embodiment of the present application can implement the testing process of the IVR system, greatly improve the testing efficiency, and improve the user experience.
附图说明DRAWINGS
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are some embodiments of the present application, For the ordinary technicians, other drawings can be obtained based on these drawings without any creative work.
图1是本申请实施例提供的一种可视化IVR实现方法的示意流程图;FIG. 1 is a schematic flowchart of a method for implementing a visualized IVR according to an embodiment of the present application;
图2是本申请实施例提供的一种可视化IVR实现方法的示意流程图;2 is a schematic flowchart of a method for implementing a visualized IVR according to an embodiment of the present application;
图3是本申请实施例提供的一种可视化IVR实现方法的示意流程图;3 is a schematic flowchart of a method for implementing a visualized IVR according to an embodiment of the present application;
图4是本申请另一实施例提供的一种可视化IVR实现方法的示意流程图;4 is a schematic flowchart of a method for implementing a visualized IVR according to another embodiment of the present application;
图5是本申请实施例提供的一种可视化IVR实现方法的演示示意图;FIG. 5 is a schematic diagram showing a method for implementing a visualized IVR according to an embodiment of the present application; FIG.
图6是本申请另一实施例提供的一种可视化IVR实现方法的示意流程图;FIG. 6 is a schematic flowchart of a method for implementing a visual IVR according to another embodiment of the present application; FIG.
图7是本申请实施例提供的一种可视化IVR实现装置的示意性框图;FIG. 7 is a schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application; FIG.
图8是本申请实施例提供的一种可视化IVR实现装置的另一示意性框图;FIG. 8 is another schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application; FIG.
图9是本申请实施例提供的一种可视化IVR实现装置的另一示意性框图;FIG. 9 is another schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application; FIG.
图10是本申请实施例提供的一种可视化IVR实现装置的另一示意性框图;FIG. 10 is another schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application; FIG.
图11是本申请实施例提供的一种可视化IVR实现装置的另一示意性框图;FIG. 11 is another schematic block diagram of a visualized IVR implementation apparatus according to an embodiment of the present application;
图12是本申请实施例提供的一种计算机设备的结构组成示意图。FIG. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
请参阅图1,图1为本申请实施例提供的一种可视化IVR实现方法的示意流程图。该方法可以运行在智能手机(如Android手机、IOS手机等)、平板电脑、笔记本电脑以及智能设备等终端中。本申请实施例所述的可视化IVR实现方法,能够实现IVR系统的测试流程,在很大程度上提高测试效率,并且改善了用户体验。图1是本申请实施例提供的可视化IVR实现方法的示意流程图。该方法包括步骤S101~S105。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for implementing a visualized IVR according to an embodiment of the present application. The method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices. The visualized IVR implementation method described in the embodiment of the present application can implement the testing process of the IVR system, greatly improve the testing efficiency, and improve the user experience. FIG. 1 is a schematic flowchart of a method for implementing a visual IVR provided by an embodiment of the present application. The method includes steps S101 to S105.
S101,在H5的框架下建立一个H5界面。在本申请实施例中,通过H5框架建立H5界面的方法主要包括以下步骤:1)页面设计、2)逻辑控制、3)支持物理键返回;其中,对于页面设计,首先需要确定你的页面需要包含哪些视图,一般情况下为了能够说明问题,我们只需要构建三个视图,即首页、列表页面和列表详情页面,这三个页面的逻辑关系是:页面启动,默认进入首页,点击首页的按钮切换到列表页面,点击列表页面的按钮切换到列表详情页面,点击返回按钮或物理返回键能够回到上一页。具体地,通过HTML代码进行编程并建立H5界面,在建立的H5界面中,视图页面需要设置成绝对定位,并且和父容器等宽等高,这样视图才能够平滑的进行切换,另外还需要设置页面切换的过渡效果,我们使用CSS3的transition属性,具体的参数在此不作限制。通过以上方法对视图页面进行设置,当改变视图页面中具体参数的值时,视图页面会以样式中定义的过渡效果进行平移,持续时间是0.4s。需要说明的是,IVR(Interactive Voice Response,交互式语音应答)系统,是一种功能强大的电话自动服务系统。它用预先录制或TTS文本转语音技术合成的语音进行自动应答的系统,提供一种为客户进行菜单导航的功能,主要应用呼叫中心系统中。用户使用该IVR系统的流程可以为:(1)用户可通过IVR系统上的按键或语音选择,向企业主机输入信息,自助得到多种服务,使业务代表有更多的时间服务 于有特别要求的客户;(2)用户可以通过IVR系统处理多路来电,当接收到来电时,通过询问一些相关信息,如内部ID,供应商ID,代理商ID等等,就可以自动启动处理流程进行处置;(3)IVR的设计从各个方面照顾好来电客户。在呼叫分配上,既可按照最优算法自动分配,也可根据用户指示处理呼叫。在将来电最终转接到人工坐席之前,找出最适宜的路由转移呼叫,也就是找出最适宜的业务代表来接听电话。特定客户可安排专人接听;优先照顾重要客户,尽量缩短其等候时间等等。S101, an H5 interface is established under the framework of H5. In the embodiment of the present application, the method for establishing an H5 interface through the H5 framework mainly includes the following steps: 1) page design, 2) logical control, and 3) support for physical key return; wherein, for page design, first need to determine your page needs. Including the views, in general, in order to be able to explain the problem, we only need to build three views, namely the home page, the list page and the list details page. The logical relationship between the three pages is: page start, default to the home page, click the button of the home page Switch to the list page, click the button on the list page to switch to the list details page, click the back button or the physical back button to return to the previous page. Specifically, programming through the HTML code and establishing the H5 interface, in the established H5 interface, the view page needs to be set to be absolutely positioned, and the same width as the parent container, so that the view can be smoothly switched, and also needs to be set. For the transition effect of page switching, we use the transition attribute of CSS3. The specific parameters are not limited here. The view page is set by the above method. When the value of the specific parameter in the view page is changed, the view page is translated by the transition effect defined in the style, and the duration is 0.4s. It should be noted that the IVR (Interactive Voice Response) system is a powerful telephone automatic service system. It uses a pre-recorded or TTS text-to-speech technology to automatically answer the voice of the system, providing a menu navigation function for customers, mainly in the call center system. The process of using the IVR system by the user may be: (1) the user can input information to the enterprise host through the button or voice selection on the IVR system, and obtain various services by self-service, so that the service representative has more time to serve the special request. (2) Users can handle multiple incoming calls through the IVR system. When receiving incoming calls, they can automatically initiate processing by asking for relevant information such as internal ID, supplier ID, agent ID, etc. (3) The design of the IVR takes care of the caller from all aspects. In call distribution, the call can be automatically assigned according to the optimal algorithm or according to the user's indication. Before transferring the call to the artificial agent, find the most suitable route transfer call, that is, find the most suitable agent to answer the call. Specific customers can arrange for someone to answer; give priority to important customers, minimize their waiting time, and so on.
S102,通过H5界面向IVR系统发起测试请求。在本申请实施例中,若建立了H5界面,通过该H5界面向IVR系统发起测试请求,该测试请求为HTTP请求,所谓HTTP请求包括消息首行、资源的请求方法、资源标识符以及所使用的协议。具体地,将输入的URL的域名DNS解析出IP地址,通过H5界面根据这个IP地址和默认80端口与IVR系统建立连接,然后根据这个URL组装成一个get类型的HTTP请求头,通过H5界面的发送接口发送到IVR系统中,可选的,将这个URL组装成的HTTP请求头发送至IVR系统的目标服务器中。S102. Send a test request to the IVR system through the H5 interface. In the embodiment of the present application, if an H5 interface is established, a test request is initiated to the IVR system through the H5 interface, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a used identifier. Agreement. Specifically, the domain name DNS of the input URL is parsed out of the IP address, and the connection is established with the IVR system according to the IP address and the default 80 port through the H5 interface, and then the HTTP request header of the get type is assembled according to the URL, and the H5 interface is adopted. The sending interface is sent to the IVR system. Optionally, the HTTP request header assembled into the URL is sent to the target server of the IVR system.
进一步地,如图2所示,所述步骤S102包括步骤S201~S203。Further, as shown in FIG. 2, the step S102 includes steps S201 to S203.
S201,接收用户发送的测试请求信息。在本申请实施例中,所述测试请求信息至少包括测试请求标识符,该测试请求标识符用于在IVR系统中唯一指向测试任务。S201. Receive test request information sent by a user. In the embodiment of the present application, the test request information includes at least a test request identifier, and the test request identifier is used to uniquely point to a test task in the IVR system.
S202,从用户发送的测试请求信息中解析出测试请求关键字。在本申请实施例中,所述测试请求信息包括测试请求标识符,所述解析所述测试请求信息以得到测试请求关键字,具体包括以下步骤:解析所述测试请求信息以得到测试请求标识符,通过测试请求标识符确定测试请求关键字。具体的,通过预设解析工具并运行解析工具中的自动解析脚本对测试请求信息进行解析,例如,预设的解析工具如CapAnalysis(可视化测试信息解析工具),具体的,首先解析工具会自动扫描该测试请求信息,并获取该测试请求信息的名称,利用所获取的名称对该测试请求信息进行解析,可以获取测试请求标识符,例如随录数据操作、语音播报、收集案件、流程跳转、呼叫转接等等,通过该测试请求标识符可以确定测试请求关键字,确定该测试请求关键字的方法可以为根据所解析出的测试请求标识符的字符数,按照预设比例从测试请求标识符中抽取规定数量的字符作为测试请求关键字,例如“随录数据操作”的测试请求关键字为“随 录数据”,例如“语音播报”的测试请求关键字为“语音”等等。S202. Parse the test request keyword from the test request information sent by the user. In the embodiment of the present application, the test request information includes a test request identifier, and the parsing the test request information to obtain a test request keyword specifically includes the following steps: parsing the test request information to obtain a test request identifier Determine the test request keyword by testing the request identifier. Specifically, the test request information is parsed by a preset parsing tool and an automatic parsing script in the parsing tool. For example, a preset parsing tool such as CapAnalysis (visualized test information parsing tool), specifically, the parsing tool automatically scans first. The test requests information, obtains the name of the test request information, and parses the test request information by using the obtained name, and can obtain a test request identifier, such as a recorded data operation, a voice broadcast, a collection case, a process jump, Call forwarding, etc., the test request identifier may be determined by the test request identifier, and the method for determining the test request keyword may be based on the number of characters of the parsed test request identifier, and the test request identifier is set according to a preset ratio. The specified number of characters are extracted as test request keywords, for example, the test request keyword of "recorded data operation" is "recorded data", for example, the test request keyword of "voice broadcast" is "voice" and the like.
S203,终端通过H5界面将测试请求关键字发送给IVR系统。在本申请实施例中,H5界面通过无线通信网络技术将测试请求关键字发送给IVR系统,具体的过程为,在无线通信网络技术中,先把请求关键字转换成ASCII码,并且生成一个报文,将该报文通过传输层的UDP协议生成具有UDP协议的报文,然后利用UDP协议把具有UDP协议的报文交给网络层的IP协议,通过IP协议把报文交给链路层协议的以太协议,通过以太协议将报文送到网卡上,此时报文被分割为好几个帧,以0101的形式通过物理层发送到网络上,然后,交换机收到利用报文被分割的这些帧,把这些帧还原成以太协议的报文,交换机根据以太协议报文的报文头里的MAC地址查找自己的MAC地址表,找到对应的出接口,把报文从出接口发送出去(把报文送到网关设备上),当网关接收到报文后,根据报文头里的IP地址,查找自己的路由表和FIB表,找到下一跳地址,然后把报文发送到下一跳,最后找到IVR系统的网关,并利用IVR系统的网关将报文发送至IVR系统,当IVR系统收到报文后,将报文进行剥离报文头的过程,并还原成测试请求关键字以完成将测试请求关键字发送给IVR系统的操作。S203. The terminal sends the test request keyword to the IVR system through the H5 interface. In the embodiment of the present application, the H5 interface sends the test request keyword to the IVR system through the wireless communication network technology, and the specific process is: in the wireless communication network technology, the request keyword is first converted into an ASCII code, and a report is generated. The message is generated by the UDP protocol of the transport layer to generate a packet with the UDP protocol, and then the UDP protocol is used to deliver the packet with the UDP protocol to the IP protocol of the network layer, and the packet is delivered to the link layer by the IP protocol. The Ethernet protocol of the protocol sends the message to the network card through the Ethernet protocol. At this time, the message is divided into several frames and sent to the network through the physical layer in the form of 0101. Then, the switch receives the message that is divided by the message. The frame is restored to the Ethernet protocol packet. The switch searches its MAC address table according to the MAC address in the packet header of the Ethernet protocol packet, finds the corresponding outgoing interface, and sends the packet out of the outbound interface. The packet is sent to the gateway device. When the gateway receives the packet, it finds its own routing table and FIB table according to the IP address in the packet header, finds the next hop address, and then The packet is sent to the next hop, and finally the gateway of the IVR system is found, and the message of the IVR system is sent to the IVR system. When the IVR system receives the packet, the packet is stripped of the packet header, and Revert to the test request keyword to complete the operation of sending the test request keyword to the IVR system.
S103,若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道。在本申请实施例中,在进行测试之前,通过终端(如PC机)建立H5与IVR系统的测试通道,该测试通道可以是针对待测试的IVR系统特定的数据通道,也可以是用于信息传输的通用通道,在本实施例中,所述测试通道可以是由H5界面的开放接口以及IVR系统的接口形成,具体地,将H5界面的开放接口与IVR系统的接口对应进行连接,并形成测试通道,以用于H5界面与IVR系统之间的信息传输,以及数据交互。S103. If an acknowledgement command for the test request is received, establish a test channel of the H5 interface and the IVR system. In the embodiment of the present application, before testing, a test channel of the H5 and IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be used for information. The common channel of the transmission, in this embodiment, the test channel may be formed by an open interface of the H5 interface and an interface of the IVR system. Specifically, the open interface of the H5 interface is connected with the interface of the IVR system, and is formed. Test channels for information transfer between the H5 interface and the IVR system, as well as data interaction.
进一步地,如图3所示,所述步骤S103包括步骤S301~S304。Further, as shown in FIG. 3, the step S103 includes steps S301 to S304.
S301,确定H5界面中的第一连接接口。在本申请实施例中,在H5界面中存在多个连接接口以供用户与IVR系统进行连接,以实现H5界面与IVR系统的交互,在本实施例中,可以在H5界面中的多个连接接口任选一个作为第一连接接口,该第一连接接口用于为所述H5界面和所述IVR系统之间的通信提供通道。其中,所述连接接口可以采用但不限于WiFi(Wireless Fidelity,无线保真)接口,也可以采用蓝牙。S301. Determine a first connection interface in the H5 interface. In this embodiment, multiple connection interfaces exist in the H5 interface for the user to connect with the IVR system to implement interaction between the H5 interface and the IVR system. In this embodiment, multiple connections in the H5 interface are possible. The interface is optionally one as a first connection interface for providing a channel for communication between the H5 interface and the IVR system. The connection interface may be, but not limited to, a WiFi (Wireless Fidelity) interface, or may be Bluetooth.
S302,根据所确定的第一连接接口确定IVR系统中与第一连接接口相同类 型的第二连接接口。在本申请实施例中,根据用户所选择的第一连接接口从而确定该第一连接接口具备双向通信功能,在IVR系统中选择具备双向通信功能的通信接口与所确定的第一连接接口相匹配,因为在IVR系统中存多种不同功能类型的通信接口,其中单向通信功能的接口不符合H5界面与IVR系统的通信要求。S302. Determine, according to the determined first connection interface, a second connection interface of the same type as the first connection interface in the IVR system. In the embodiment of the present application, the first connection interface is determined to have a two-way communication function according to the first connection interface selected by the user, and the communication interface having the two-way communication function is selected in the IVR system to match the determined first connection interface. Because there are many different types of communication interfaces in the IVR system, the interface of the one-way communication function does not meet the communication requirements of the H5 interface and the IVR system.
S303,创建第一连接接口及第二连接接口之间的测试通道映射关系。在本申请实施例中,当IVR系统上的第二连接接口接收第一连接接口的连接请求时,通过该连接请求形成第一连接接口与第二连接接口的映射,根据第一连接接口与第二连接接口的映射生成第一连接接口以及第二连接接口之间的测试通道映射关系。S303. Create a test channel mapping relationship between the first connection interface and the second connection interface. In the embodiment of the present application, when the second connection interface on the IVR system receives the connection request of the first connection interface, the mapping between the first connection interface and the second connection interface is formed through the connection request, according to the first connection interface and the first connection interface The mapping of the second connection interface generates a test channel mapping relationship between the first connection interface and the second connection interface.
S304,根据所创建的测试通道映射关系建立H5界面与IVR系统的测试通道。S304. Establish a test channel of the H5 interface and the IVR system according to the created test channel mapping relationship.
S104,根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试。在本申请实施例中,通过建立的测试通道进行自动化测试以及H5界面的后台媒体服务组件进行自动化测试,具体的测试过程为H5界面→测试通道→IVR系统(具体为IVR系统流程处理服务)→测试通道→H5界面的后台媒体服务组件→H5界面。基于HTTP通讯,区分于传统呼叫中心,利用所建立的测试通道以及H5界面进行自动化测试,不需要经过PBX、CTI等服务;用户通过H5页面发起服务请求,如获取银行IVR自助服务,请求目标位IVR流程处理服务;IVR流程处理服务识别请求内容(来电信息、请求的目标流程等),根据识别结果进入相应的处理流程,比如银行自助服务流程。根据请求参数的模式要求,进行相应的返回。请求模式分为顺序模式和平行模式。顺序模式故名思议,和传统IVR自助模式相同,即按部就班的递进模式。平行模式,即将可执行的功能按照平级组装,以列表的形式返回给H5页面。IVR流程服务根据请求的情况组织相应的执行指令返回给H5页面;H5页面获取相应指令后,解析指令内容,指令内容为语音编号、随录数据操作、用户输入等方面内容组成。如果是需要用户显示操作的信息,会展示在H5界面上相应位置。例如需要进行语音播报和数据收集,则展示播放控制页,播放相应内容(播放过程可暂停、取消或者打断);如果为数据交互内容,则展示IVR返回数据或提供输入框供用户录入文本(通常为数字)。媒体播放和数据解析过程,H5服务页页会请求后台媒体 服务组件;上述动作完成后,如果后续步骤是唯一确定的操作,则由H5自动请求IVR流程服务;如果后续步骤不唯一,则通过H5动态展示用户接下来可以选择的操作。H5根据用户选择,发起对IVR流程服务的请求;循环请求,直到用户任务完成,流程结束。S104: Perform an automated test according to the established test channel and the background media service component of the H5 interface. In the embodiment of the present application, the automated test is performed through the established test channel and the background media service component of the H5 interface is automatically tested. The specific test process is H5 interface→test channel→IVR system (specifically, IVR system process processing service)→ Test channel → background media service component of H5 interface → H5 interface. Based on HTTP communication, it is differentiated from the traditional call center, and uses the established test channel and H5 interface for automated testing. It does not need to pass PBX, CTI and other services. The user initiates a service request through the H5 page, such as obtaining the bank IVR self-service, requesting the target bit. The IVR process processing service; the IVR process processing service identifies the request content (incoming call information, the target process of the request, etc.), and enters a corresponding processing flow according to the recognition result, such as a bank self-service process. According to the mode requirements of the request parameters, the corresponding return. The request mode is divided into a sequential mode and a parallel mode. The sequential mode is the same as the traditional IVR self-service mode, which is a step-by-step progressive mode. In parallel mode, the functions to be executed are assembled in a flat level and returned to the H5 page as a list. The IVR process service organizes the corresponding execution instructions to return to the H5 page according to the request situation; after the H5 page obtains the corresponding instruction, it parses the instruction content, and the instruction content is composed of the voice number, the recorded data operation, the user input and the like. If it is information that requires the user to display the operation, it will be displayed in the corresponding position on the H5 interface. For example, if voice broadcast and data collection are required, the playback control page is displayed, and the corresponding content is played (the playback process can be paused, cancelled, or interrupted); if the content is interactive, the IVR returns data or provides an input box for the user to enter the text ( Usually a number). During the media playback and data parsing process, the H5 service page page requests the background media service component; after the above actions are completed, if the subsequent step is the only determined operation, the IVR process service is automatically requested by the H5; if the subsequent step is not unique, the H5 is passed. Dynamically show what the user can choose next. H5 initiates a request for the IVR process service according to the user selection; the request is looped until the user task is completed, and the process ends.
S105,获取自动化测试结果并在所述H5界面的相应位置进行显示。在本申请实施例中,在H5界面相应位置显示自动化测试结果,以方便用户可以通过H5界面直接查看该推送消息,及时了解自动化测试的测试结果。S105. Acquire an automated test result and display it at a corresponding position of the H5 interface. In the embodiment of the present application, the automatic test result is displayed at the corresponding position of the H5 interface, so that the user can directly view the push message through the H5 interface, and timely understand the test result of the automated test.
由以上可见,本申请实施例通过在H5的框架下建立一个H5界面;通过H5界面向IVR系统发起测试请求;若接收到IVR系统的确认指令,建立H5界面与IVR系统的测试通道;根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;获取自动化测试结果并在所述H5界面的相应位置进行显示。通过实施本申请实施例,能够实现IVR系统的测试流程,在很大程度上提高测试效率,并且改善了用户体验。It can be seen from the above that the embodiment of the present application establishes an H5 interface under the framework of H5; initiates a test request to the IVR system through the H5 interface; and if the confirmation command of the IVR system is received, the test channel of the H5 interface and the IVR system is established; The established test channel and the background media service component of the H5 interface are automatically tested; the automated test results are obtained and displayed at corresponding locations on the H5 interface. By implementing the embodiments of the present application, the testing process of the IVR system can be implemented, the testing efficiency is greatly improved, and the user experience is improved.
请参阅图4,图4是本申请实施例提供的一种可视化IVR实现方法的示意流程图。该方法可以运行在智能手机(如Android手机、IOS手机等)、平板电脑、笔记本电脑以及智能设备等终端中。如图4所示,该方法包括步骤S401~S407。Please refer to FIG. 4. FIG. 4 is a schematic flowchart of a method for implementing a visual IVR according to an embodiment of the present application. The method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices. As shown in FIG. 4, the method includes steps S401 to S407.
S401,在H5的框架下建立一个H5界面。在本申请实施例中,通过H5框架建立H5界面的方法主要包括以下步骤:1)页面设计、2)逻辑控制、3)支持物理键返回;其中,对于页面设计,首先需要确定你的页面需要包含哪些视图,一般情况下为了能够说明问题,我们只需要构建三个视图,即首页、列表页面和列表详情页面,这三个页面的逻辑关系是:页面启动,默认进入首页,点击首页的按钮切换到列表页面,点击列表页面的按钮切换到列表详情页面,点击返回按钮或物理返回键能够回到上一页。具体地,通过HTML代码进行编程并建立H5界面,在建立的H5界面中,视图页面需要设置成绝对定位,并且和父容器等宽等高,这样视图才能够平滑的进行切换,另外还需要设置页面切换的过渡效果,我们使用CSS3的transition属性,具体的参数在此不作限制。通过以上方法对视图页面进行设置,当改变视图页面中具体参数的值时,视图页面会以样式中定义的过渡效果进行平移,持续时间是0.4s。需要说明的是,IVR(Interactive Voice Response,交互式语音应答)系统,是一种功能强大的电话自 动服务系统。它用预先录制或TTS文本转语音技术合成的语音进行自动应答的系统,提供一种为客户进行菜单导航的功能,主要应用呼叫中心系统中。用户使用该IVR系统的流程可以为:(1)用户可通过IVR系统上的按键或语音选择,向企业主机输入信息,自助得到多种服务,使业务代表有更多的时间服务于有特别要求的客户;(2)用户可以通过IVR系统处理多路来电,当接收到来电时,通过询问一些相关信息,如内部ID,供应商ID,代理商ID等等,就可以自动启动处理流程进行处置;(3)IVR的设计从各个方面照顾好来电客户。在呼叫分配上,既可按照最优算法自动分配,也可根据用户指示处理呼叫。在将来电最终转接到人工坐席之前,找出最适宜的路由转移呼叫,也就是找出最适宜的业务代表来接听电话。特定客户可安排专人接听;优先照顾重要客户,尽量缩短其等候时间等等。S401, establishing an H5 interface under the framework of H5. In the embodiment of the present application, the method for establishing an H5 interface through the H5 framework mainly includes the following steps: 1) page design, 2) logical control, and 3) support for physical key return; wherein, for page design, first need to determine your page needs. Including the views, in general, in order to be able to explain the problem, we only need to build three views, namely the home page, the list page and the list details page. The logical relationship between the three pages is: page start, default to the home page, click the button of the home page Switch to the list page, click the button on the list page to switch to the list details page, click the back button or the physical back button to return to the previous page. Specifically, programming through the HTML code and establishing the H5 interface, in the established H5 interface, the view page needs to be set to be absolutely positioned, and the same width as the parent container, so that the view can be smoothly switched, and also needs to be set. For the transition effect of page switching, we use the transition attribute of CSS3. The specific parameters are not limited here. The view page is set by the above method. When the value of the specific parameter in the view page is changed, the view page is translated by the transition effect defined in the style, and the duration is 0.4s. It should be noted that the IVR (Interactive Voice Response) system is a powerful telephone automatic service system. It uses a pre-recorded or TTS text-to-speech technology to automatically answer the voice of the system, providing a menu navigation function for customers, mainly in the call center system. The process of using the IVR system by the user may be: (1) the user can input information to the enterprise host through the button or voice selection on the IVR system, and obtain various services by self-service, so that the service representative has more time to serve the special request. (2) Users can handle multiple incoming calls through the IVR system. When receiving incoming calls, they can automatically initiate processing by asking for relevant information such as internal ID, supplier ID, agent ID, etc. (3) The design of the IVR takes care of the caller from all aspects. In call distribution, the call can be automatically assigned according to the optimal algorithm or according to the user's indication. Before transferring the call to the artificial agent, find the most suitable route transfer call, that is, find the most suitable agent to answer the call. Specific customers can arrange for someone to answer; give priority to important customers, minimize their waiting time, and so on.
S402,通过H5界面向IVR系统发起测试请求。在本申请实施例中,若建立了H5界面,通过该H5界面向IVR系统发起测试请求,该测试请求为HTTP请求,所谓HTTP请求包括消息首行、资源的请求方法、资源标识符以及所使用的协议。具体地,将输入的URL的域名DNS解析出IP地址,通过H5界面根据这个IP地址和默认80端口与IVR系统建立连接,然后根据这个URL组装成一个get类型的HTTP请求头,通过H5界面的发送接口发送到IVR系统中,可选的,将这个URL组装成的HTTP请求头发送至IVR系统的目标服务器中。S402. Initiate a test request to the IVR system through the H5 interface. In the embodiment of the present application, if an H5 interface is established, a test request is initiated to the IVR system through the H5 interface, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a used identifier. Agreement. Specifically, the domain name DNS of the input URL is parsed out of the IP address, and the connection is established with the IVR system according to the IP address and the default 80 port through the H5 interface, and then the HTTP request header of the get type is assembled according to the URL, and the H5 interface is adopted. The sending interface is sent to the IVR system. Optionally, the HTTP request header assembled into the URL is sent to the target server of the IVR system.
S403,若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道。在本申请实施例中,在进行测试之前,通过终端(如PC机)建立H5与IVR系统的测试通道,该测试通道可以是针对待测试的IVR系统特定的数据通道,也可以是用于信息传输的通用通道,在本实施例中,所述测试通道可以是由H5界面的开放接口以及IVR系统的接口形成,具体地,将H5界面的开放接口与IVR系统的接口对应进行连接,并形成测试通道,以用于H5界面与IVR系统之间的信息传输,以及数据交互。S403. If an acknowledgement command for the test request is received, establish a test channel of the H5 interface and the IVR system. In the embodiment of the present application, before testing, a test channel of the H5 and IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be used for information. The common channel of the transmission, in this embodiment, the test channel may be formed by an open interface of the H5 interface and an interface of the IVR system. Specifically, the open interface of the H5 interface is connected with the interface of the IVR system, and is formed. Test channels for information transfer between the H5 interface and the IVR system, as well as data interaction.
S404,根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试。在本申请实施例中,通过建立的测试通道进行自动化测试以及H5界面的后台媒体服务组件进行自动化测试,具体的测试过程为H5界面→测试通道→IVR系统(具体为IVR系统流程处理服务)→测试通道→H5界面的后台媒体服务组件→H5界面。基于HTTP通讯,区分于传统呼叫中心,利用所建立的测 试通道以及H5界面进行自动化测试,不需要经过PBX、CTI等服务;用户通过H5页面发起服务请求,如获取银行IVR自助服务,请求目标位IVR流程处理服务;IVR流程处理服务识别请求内容(来电信息、请求的目标流程等),根据识别结果进入相应的处理流程,比如银行自助服务流程。根据请求参数的模式要求,进行相应的返回。请求模式分为顺序模式和平行模式。顺序模式故名思议,和传统IVR自助模式相同,即按部就班的递进模式。平行模式,即将可执行的功能按照平级组装,以列表的形式返回给H5页面。IVR流程服务根据请求的情况组织相应的执行指令返回给H5页面;H5页面获取相应指令后,解析指令内容,指令内容为语音编号、随录数据操作、用户输入等方面内容组成。如果是需要用户显示操作的信息,会展示在H5界面上相应位置。例如需要进行语音播报和数据收集,则展示播放控制页,播放相应内容(播放过程可暂停、取消或者打断);如果为数据交互内容,则展示IVR返回数据或提供输入框供用户录入文本(通常为数字)。媒体播放和数据解析过程,H5服务页页会请求后台媒体服务组件;上述动作完成后,如果后续步骤是唯一确定的操作,则由H5自动请求IVR流程服务;如果后续步骤不唯一,则通过H5动态展示用户接下来可以选择的操作。H5根据用户选择,发起对IVR流程服务的请求;循环请求,直到用户任务完成,流程结束。S404: Perform an automated test according to the established test channel and the background media service component of the H5 interface. In the embodiment of the present application, the automated test is performed through the established test channel and the background media service component of the H5 interface is automatically tested. The specific test process is H5 interface→test channel→IVR system (specifically, IVR system process processing service)→ Test channel → background media service component of H5 interface → H5 interface. Based on HTTP communication, it is differentiated from the traditional call center, and uses the established test channel and H5 interface for automated testing. It does not need to pass PBX, CTI and other services. The user initiates a service request through the H5 page, such as obtaining the bank IVR self-service, requesting the target bit. The IVR process processing service; the IVR process processing service identifies the request content (incoming call information, the target process of the request, etc.), and enters a corresponding processing flow according to the recognition result, such as a bank self-service process. According to the mode requirements of the request parameters, the corresponding return. The request mode is divided into a sequential mode and a parallel mode. The sequential mode is the same as the traditional IVR self-service mode, which is a step-by-step progressive mode. In parallel mode, the functions to be executed are assembled in a flat level and returned to the H5 page as a list. The IVR process service organizes the corresponding execution instructions to return to the H5 page according to the request situation; after the H5 page obtains the corresponding instruction, it parses the instruction content, and the instruction content is composed of the voice number, the recorded data operation, the user input and the like. If it is information that requires the user to display the operation, it will be displayed in the corresponding position on the H5 interface. For example, if voice broadcast and data collection are required, the playback control page is displayed, and the corresponding content is played (the playback process can be paused, cancelled, or interrupted); if the content is interactive, the IVR returns data or provides an input box for the user to enter the text ( Usually a number). During the media playback and data parsing process, the H5 service page page requests the background media service component; after the above actions are completed, if the subsequent step is the only determined operation, the IVR process service is automatically requested by the H5; if the subsequent step is not unique, the H5 is passed. Dynamically show what the user can choose next. H5 initiates a request for the IVR process service according to the user selection; the request is looped until the user task is completed, and the process ends.
S405,获取自动化测试结果并在所述H5界面的相应位置进行显示。在本申请实施例中,在H5界面相应位置显示自动化测试结果,以方便用户可以通过H5界面直接查看该推送消息,及时了解自动化测试的测试结果。S405. Acquire an automated test result and display it at a corresponding position of the H5 interface. In the embodiment of the present application, the automatic test result is displayed at the corresponding position of the H5 interface, so that the user can directly view the push message through the H5 interface, and timely understand the test result of the automated test.
S406,若接收到查询指令,发起查询当前执行的测试步骤的请求。在本申请实施例中,该查询指令可以是用户在终端上输入的查询操作,该查询指令也可以是SQL查询指令,例如SQL查询指令:Select查询语句;在自动化测试过程中,终端可以向IVR系统发起查询请求,该查询请求用于查询测试过程的测试步骤,例如,当前所执行的自动化测试步骤为测试“语音播报”过程,或者当前所执行的自动化测试步骤为测试“呼叫转接”过程等等。S406. If receiving the query instruction, initiate a request for querying the currently executed test step. In the embodiment of the present application, the query instruction may be a query operation input by the user on the terminal, and the query instruction may also be an SQL query instruction, such as a SQL query instruction: a Select query statement; in an automated test process, the terminal may refer to the IVR. The system initiates a query request for querying the test steps of the test process, for example, the currently performed automated test step is to test the "voice broadcast" process, or the currently performed automated test step is to test the "call transfer" process and many more.
S407,响应于所述请求,在预设显示界面显示当前执行的测试步骤。在本申请实施例中,该预设显示界面可以是终端当前界面的指定区域,例如可以是终端当前界面的中部,如图5中所示,响应于用户的查询请求,在终端10当前界面G中显示“正在执行呼叫转接过程的测试”,通过显示当前执行的测试步骤, 方便用户随时查看并了解自动化测试的过程。S407. In response to the request, the currently executed test step is displayed on the preset display interface. In the embodiment of the present application, the preset display interface may be a designated area of the current interface of the terminal, for example, may be the middle of the current interface of the terminal. As shown in FIG. 5, in response to the query request of the user, the current interface G of the terminal 10 The “Testing of Call Forwarding Process” is displayed, which shows the current test steps, so that users can view and understand the process of automated testing at any time.
请参阅图6,图6是本申请实施例提供的一种可视化IVR实现方法的示意流程图。该方法可以运行在智能手机(如Android手机、IOS手机等)、平板电脑、笔记本电脑以及智能设备等终端中。如图6所示,该方法包括步骤S501~S506。Please refer to FIG. 6. FIG. 6 is a schematic flowchart of a method for implementing a visual IVR according to an embodiment of the present application. The method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices. As shown in FIG. 6, the method includes steps S501 to S506.
S501,在H5的框架下建立一个H5界面。在本申请实施例中,通过H5框架建立H5界面的方法主要包括以下步骤:1)页面设计、2)逻辑控制、3)支持物理键返回;其中,对于页面设计,首先需要确定你的页面需要包含哪些视图,一般情况下为了能够说明问题,我们只需要构建三个视图,即首页、列表页面和列表详情页面,这三个页面的逻辑关系是:页面启动,默认进入首页,点击首页的按钮切换到列表页面,点击列表页面的按钮切换到列表详情页面,点击返回按钮或物理返回键能够回到上一页。具体地,通过HTML代码进行编程并建立H5界面,在建立的H5界面中,视图页面需要设置成绝对定位,并且和父容器等宽等高,这样视图才能够平滑的进行切换,另外还需要设置页面切换的过渡效果,我们使用CSS3的transition属性,具体的参数在此不作限制。通过以上方法对视图页面进行设置,当改变视图页面中具体参数的值时,视图页面会以样式中定义的过渡效果进行平移,持续时间是0.4s。需要说明的是,IVR(Interactive Voice Response,交互式语音应答)系统,是一种功能强大的电话自动服务系统。它用预先录制或TTS文本转语音技术合成的语音进行自动应答的系统,提供一种为客户进行菜单导航的功能,主要应用呼叫中心系统中。用户使用该IVR系统的流程可以为:(1)用户可通过IVR系统上的按键或语音选择,向企业主机输入信息,自助得到多种服务,使业务代表有更多的时间服务于有特别要求的客户;(2)用户可以通过IVR系统处理多路来电,当接收到来电时,通过询问一些相关信息,如内部ID,供应商ID,代理商ID等等,就可以自动启动处理流程进行处置;(3)IVR的设计从各个方面照顾好来电客户。在呼叫分配上,既可按照最优算法自动分配,也可根据用户指示处理呼叫。在将来电最终转接到人工坐席之前,找出最适宜的路由转移呼叫,也就是找出最适宜的业务代表来接听电话。特定客户可安排专人接听;优先照顾重要客户,尽量缩短其等候时间等等。S501, an H5 interface is established under the framework of H5. In the embodiment of the present application, the method for establishing an H5 interface through the H5 framework mainly includes the following steps: 1) page design, 2) logical control, and 3) support for physical key return; wherein, for page design, first need to determine your page needs. Including the views, in general, in order to be able to explain the problem, we only need to build three views, namely the home page, the list page and the list details page. The logical relationship between the three pages is: page start, default to the home page, click the button of the home page Switch to the list page, click the button on the list page to switch to the list details page, click the back button or the physical back button to return to the previous page. Specifically, programming through the HTML code and establishing the H5 interface, in the established H5 interface, the view page needs to be set to be absolutely positioned, and the same width as the parent container, so that the view can be smoothly switched, and also needs to be set. For the transition effect of page switching, we use the transition attribute of CSS3. The specific parameters are not limited here. The view page is set by the above method. When the value of the specific parameter in the view page is changed, the view page is translated by the transition effect defined in the style, and the duration is 0.4s. It should be noted that the IVR (Interactive Voice Response) system is a powerful telephone automatic service system. It uses a pre-recorded or TTS text-to-speech technology to automatically answer the voice of the system, providing a menu navigation function for customers, mainly in the call center system. The process of using the IVR system by the user may be: (1) the user can input information to the enterprise host through the button or voice selection on the IVR system, and obtain various services by self-service, so that the service representative has more time to serve the special request. (2) Users can handle multiple incoming calls through the IVR system. When receiving incoming calls, they can automatically initiate processing by asking for relevant information such as internal ID, supplier ID, agent ID, etc. (3) The design of the IVR takes care of the caller from all aspects. In call distribution, the call can be automatically assigned according to the optimal algorithm or according to the user's indication. Before transferring the call to the artificial agent, find the most suitable route transfer call, that is, find the most suitable agent to answer the call. Specific customers can arrange for someone to answer; give priority to important customers, minimize their waiting time, and so on.
S502,通过H5界面向IVR系统发起测试请求。在本申请实施例中,若建 立了H5界面,通过该H5界面向IVR系统发起测试请求,该测试请求为HTTP请求,所谓HTTP请求包括消息首行、资源的请求方法、资源标识符以及所使用的协议。具体地,将输入的URL的域名DNS解析出IP地址,通过H5界面根据这个IP地址和默认80端口与IVR系统建立连接,然后根据这个URL组装成一个get类型的HTTP请求头,通过H5界面的发送接口发送到IVR系统中,可选的,将这个URL组装成的HTTP请求头发送至IVR系统的目标服务器中。S502: Send a test request to the IVR system through the H5 interface. In the embodiment of the present application, if an H5 interface is established, a test request is initiated to the IVR system through the H5 interface, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a used identifier. Agreement. Specifically, the domain name DNS of the input URL is parsed out of the IP address, and the connection is established with the IVR system according to the IP address and the default 80 port through the H5 interface, and then the HTTP request header of the get type is assembled according to the URL, and the H5 interface is adopted. The sending interface is sent to the IVR system. Optionally, the HTTP request header assembled into the URL is sent to the target server of the IVR system.
S503,若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道。在本申请实施例中,在进行测试之前,通过终端(如PC机)建立H5与IVR系统的测试通道,该测试通道可以是针对待测试的IVR系统特定的数据通道,也可以是用于信息传输的通用通道,在本实施例中,所述测试通道可以是由H5界面的开放接口以及IVR系统的接口形成,具体地,将H5界面的开放接口与IVR系统的接口对应进行连接,并形成测试通道,以用于H5界面与IVR系统之间的信息传输,以及数据交互。S503. If an acknowledgement command for the test request is received, establish a test channel of the H5 interface and the IVR system. In the embodiment of the present application, before testing, a test channel of the H5 and IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be used for information. The common channel of the transmission, in this embodiment, the test channel may be formed by an open interface of the H5 interface and an interface of the IVR system. Specifically, the open interface of the H5 interface is connected with the interface of the IVR system, and is formed. Test channels for information transfer between the H5 interface and the IVR system, as well as data interaction.
S504,根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试。在本申请实施例中,通过建立的测试通道进行自动化测试以及H5界面的后台媒体服务组件进行自动化测试,具体的测试过程为H5界面→测试通道→IVR系统(具体为IVR系统流程处理服务)→测试通道→H5界面的后台媒体服务组件→H5界面。基于HTTP通讯,区分于传统呼叫中心,利用所建立的测试通道以及H5界面进行自动化测试,不需要经过PBX、CTI等服务;用户通过H5页面发起服务请求,如获取银行IVR自助服务,请求目标位IVR流程处理服务;IVR流程处理服务识别请求内容(来电信息、请求的目标流程等),根据识别结果进入相应的处理流程,比如银行自助服务流程。根据请求参数的模式要求,进行相应的返回。请求模式分为顺序模式和平行模式。顺序模式故名思议,和传统IVR自助模式相同,即按部就班的递进模式。平行模式,即将可执行的功能按照平级组装,以列表的形式返回给H5页面。IVR流程服务根据请求的情况组织相应的执行指令返回给H5页面;H5页面获取相应指令后,解析指令内容,指令内容为语音编号、随录数据操作、用户输入等方面内容组成。如果是需要用户显示操作的信息,会展示在H5界面上相应位置。例如需要进行语音播报和数据收集,则展示播放控制页,播放相应内容(播放过程可暂停、取消或者打断);如果为数据交互内容,则展示IVR返回数据或提供输入框供用户录入 文本(通常为数字)。媒体播放和数据解析过程,H5服务页页会请求后台媒体服务组件;上述动作完成后,如果后续步骤是唯一确定的操作,则由H5自动请求IVR流程服务;如果后续步骤不唯一,则通过H5动态展示用户接下来可以选择的操作。H5根据用户选择,发起对IVR流程服务的请求;循环请求,直到用户任务完成,流程结束。S504: Perform an automated test according to the established test channel and the background media service component of the H5 interface. In the embodiment of the present application, the automated test is performed through the established test channel and the background media service component of the H5 interface is automatically tested. The specific test process is H5 interface→test channel→IVR system (specifically, IVR system process processing service)→ Test channel → background media service component of H5 interface → H5 interface. Based on HTTP communication, it is differentiated from the traditional call center, and uses the established test channel and H5 interface for automated testing. It does not need to pass PBX, CTI and other services. The user initiates a service request through the H5 page, such as obtaining the bank IVR self-service, requesting the target bit. The IVR process processing service; the IVR process processing service identifies the request content (incoming call information, the target process of the request, etc.), and enters a corresponding processing flow according to the recognition result, such as a bank self-service process. According to the mode requirements of the request parameters, the corresponding return. The request mode is divided into a sequential mode and a parallel mode. The sequential mode is the same as the traditional IVR self-service mode, which is a step-by-step progressive mode. In parallel mode, the functions to be executed are assembled in a flat level and returned to the H5 page as a list. The IVR process service organizes the corresponding execution instructions to return to the H5 page according to the request situation; after the H5 page obtains the corresponding instruction, it parses the instruction content, and the instruction content is composed of the voice number, the recorded data operation, the user input and the like. If it is information that requires the user to display the operation, it will be displayed in the corresponding position on the H5 interface. For example, if voice broadcast and data collection are required, the playback control page is displayed, and the corresponding content is played (the playback process can be paused, cancelled, or interrupted); if the content is interactive, the IVR returns data or provides an input box for the user to enter the text ( Usually a number). During the media playback and data parsing process, the H5 service page page requests the background media service component; after the above actions are completed, if the subsequent step is the only determined operation, the IVR process service is automatically requested by the H5; if the subsequent step is not unique, the H5 is passed. Dynamically show what the user can choose next. H5 initiates a request for the IVR process service according to the user selection; the request is looped until the user task is completed, and the process ends.
S505,获取自动化测试结果并在所述H5界面的相应位置进行显示。在本申请实施例中,在H5界面相应位置显示自动化测试结果,以方便用户可以通过H5界面直接查看该推送消息,及时了解自动化测试的测试结果。S505. Acquire an automated test result and display it at a corresponding position of the H5 interface. In the embodiment of the present application, the automatic test result is displayed at the corresponding position of the H5 interface, so that the user can directly view the push message through the H5 interface, and timely understand the test result of the automated test.
S506,通过预设浏览器页面呈现关于自动化测试过程的描述信息。在本申请实施例中,所述描述信息用于记录自动化测试过程详细信息,该描述信息可以包括自动化测试过程的参数信息、步骤详情信息以及完成测试的时间信息等等,终端可以接收由IVR系统返回的测试步骤的描述信息,并将这些信息呈现于浏览器页面中。例如,终端可以通过列表的方式在浏览器页面中呈现描述信息,列表中的一行可以包括一个测试步骤的全部描述信息。可选地,终端还可以向IVR系统发起查询当前执行的测试步骤的请求;并响应于IVR系统返回的查询结果,改变当前执行的测试步骤所对应的描述信息的显示效果。S506. Presenting description information about the automated testing process by using a preset browser page. In the embodiment of the present application, the description information is used to record the detailed information of the automated test process, and the description information may include parameter information of the automated test process, step detail information, time information of completing the test, and the like, and the terminal may receive the IVR system. The description of the returned test step and present it to the browser page. For example, the terminal may present the description information in a browser page by means of a list, and one row in the list may include all description information of a test step. Optionally, the terminal may further initiate a request for querying the currently executed test step to the IVR system; and in response to the query result returned by the IVR system, change the display effect of the description information corresponding to the currently executed test step.
请参阅图7,对应上述一种可视化IVR实现方法,本申请实施例还提出一种可视化IVR实现装置,该装置100包括:第一建立单元101、发起单元102、第二建立单元103、自动化测试单元104、第一显示单元105。Referring to FIG. 7 , corresponding to the above-mentioned visual IVR implementation method, the embodiment of the present application further provides a visual IVR implementation apparatus, where the apparatus 100 includes: a first establishing unit 101, an initiating unit 102, a second establishing unit 103, and an automated test. Unit 104, first display unit 105.
其中,所述第一建立单元101,用于在H5的框架下建立一个H5界面。发起单元102,用于通过H5界面向IVR系统发起测试请求。第二建立单元103,用于用于若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道。自动化测试单元104,用于根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试。第一显示单元105,用于获取自动化测试结果并在所述H5界面的相应位置进行显示。The first establishing unit 101 is configured to establish an H5 interface under the framework of H5. The initiating unit 102 is configured to initiate a test request to the IVR system through the H5 interface. The second establishing unit 103 is configured to establish a test channel of the H5 interface and the IVR system if the confirmation command for the test request is received. The automated testing unit 104 is configured to perform automated testing according to the established test channel and the background media service component of the H5 interface. The first display unit 105 is configured to obtain an automated test result and display at a corresponding position of the H5 interface.
由以上可见,本申请实施例在H5的框架下建立一个H5界面;通过H5界面向IVR系统发起测试请求;若接收到IVR系统的确认指令,建立H5界面与IVR系统的测试通道;根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;获取自动化测试结果并在所述H5界面的相应位置进行显示。通过实施本申请实施例,能够实现IVR系统的测试流程,在很大程度上提 高测试效率,并且改善了用户体验。It can be seen from the above that the embodiment of the present application establishes an H5 interface in the framework of H5; initiates a test request to the IVR system through the H5 interface; and if the IVR system receives the confirmation command, establishes a test channel of the H5 interface and the IVR system; The test channel and the background media service component of the H5 interface are automated tested; the automated test results are obtained and displayed at corresponding locations on the H5 interface. By implementing the embodiments of the present application, the testing process of the IVR system can be realized, the test efficiency is greatly improved, and the user experience is improved.
如图8所示,所述发起单元102,包括:接收单元1021,用于接收用户发送的测试请求信息。解析单元1022,用于从用户发送的测试请求信息中解析出测试请求关键字。发送单元1023,用于通过H5界面将测试请求关键字发送给IVR系统。As shown in FIG. 8, the initiating unit 102 includes: a receiving unit 1021, configured to receive test request information sent by a user. The parsing unit 1022 is configured to parse the test request keyword from the test request information sent by the user. The sending unit 1023 is configured to send the test request keyword to the IVR system through the H5 interface.
如图9所示,所述第二建立单元103,包括:第一确定单元1031,用于确定H5界面中的第一连接接口。第二确定单元1032,用于根据所确定的第一连接接口确定IVR系统中与第一连接接口相同类型的第二连接接口。创建单元1033,用于创建第一连接接口及第二连接接口之间的测试通道映射关系。第二建立子单元1034,用于根据所创建的测试通道映射关系建立H5界面与IVR系统的测试通道。As shown in FIG. 9, the second establishing unit 103 includes: a first determining unit 1031, configured to determine a first connection interface in the H5 interface. The second determining unit 1032 is configured to determine, according to the determined first connection interface, a second connection interface of the same type as the first connection interface in the IVR system. The creating unit 1033 is configured to create a test channel mapping relationship between the first connection interface and the second connection interface. The second establishing sub-unit 1034 is configured to establish a test channel of the H5 interface and the IVR system according to the created test channel mapping relationship.
请参阅图10,对应上述一种可视化IVR实现方法,本申请实施例还提出一种可视化IVR实现装置,该装置200包括:第一建立单元201、发起单元202、第二建立单元203、自动化测试单元204、第一显示单元205、执行单元206、第二显示单元207。Referring to FIG. 10, corresponding to the above-mentioned visual IVR implementation method, the embodiment of the present application further provides a visual IVR implementation apparatus, where the apparatus 200 includes: a first establishing unit 201, an initiating unit 202, a second establishing unit 203, and an automated test. The unit 204, the first display unit 205, the execution unit 206, and the second display unit 207.
其中,所述第一建立单元201,用于在H5的框架下建立一个H5界面。发起单元202,用于通过H5界面向IVR系统发起测试请求。第二建立单元203,用于若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道。自动化测试单元204,用于根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试。第一显示单元205,用于获取自动化测试结果并在所述H5界面的相应位置进行显示。执行单元206,用于若接收到查询指令,发起查询当前执行的测试步骤的请求。第二显示单元207,用于响应于所述请求,在预设显示界面显示当前执行的测试步骤。The first establishing unit 201 is configured to establish an H5 interface under the framework of the H5. The initiating unit 202 is configured to initiate a test request to the IVR system through the H5 interface. The second establishing unit 203 is configured to establish a test channel of the H5 interface and the IVR system if the confirmation command for the test request is received. The automated testing unit 204 is configured to perform automated testing according to the established test channel and the background media service component of the H5 interface. The first display unit 205 is configured to obtain an automated test result and display at a corresponding position of the H5 interface. The executing unit 206 is configured to initiate a request for querying the currently executed test step if the query instruction is received. The second display unit 207 is configured to display the currently executed test step on the preset display interface in response to the request.
请参阅图11,对应上述一种可视化IVR实现方法,本申请实施例还提出一种可视化IVR实现装置,该装置300包括:第一建立单元301、发起单元302、第二建立单元303、自动化测试单元304、第一显示单元305、呈现单元306。Referring to FIG. 11 , corresponding to the above-mentioned visual IVR implementation method, the embodiment of the present application further provides a visual IVR implementation apparatus, where the apparatus 300 includes: a first establishing unit 301, an initiating unit 302, a second establishing unit 303, and an automated test. Unit 304, first display unit 305, presentation unit 306.
其中,所述第一建立单元301,用于在H5的框架下建立一个H5界面。发起单元302,用于通过H5界面向IVR系统发起测试请求。第二建立单元303,用于若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道。自动化测试单元304,用于根据所建立的测试通道以及所述H5界面的后 台媒体服务组件进行自动化测试。第一显示单元305,用于获取自动化测试结果并在所述H5界面的相应位置进行显示。呈现单元306,用于通过预设浏览器页面呈现关于自动化测试过程的描述信息。The first establishing unit 301 is configured to establish an H5 interface under the framework of H5. The initiating unit 302 is configured to initiate a test request to the IVR system through the H5 interface. The second establishing unit 303 is configured to establish a test channel of the H5 interface and the IVR system if receiving the confirmation instruction for the test request. The automated test unit 304 is configured to perform automated testing based on the established test channel and the back media service component of the H5 interface. The first display unit 305 is configured to obtain an automated test result and display the corresponding position of the H5 interface. The presentation unit 306 is configured to present description information about the automated testing process by using a preset browser page.
上述可视化IVR实现装置可以实现为一种计算机程序的形式,计算机程序可以在如图12所示的计算机设备上运行。The visual IVR implementation described above can be implemented in the form of a computer program that can be run on a computer device as shown in FIG.
图12为本申请一种计算机设备的结构组成示意图。该设备可以是终端,也可以是服务器,其中,终端可以是智能手机、平板电脑、笔记本电脑、台式电脑、个人数字助理和穿戴式装置等具有通信功能的电子装置。服务器可以是独立的服务器,也可以是多个服务器组成的服务器集群。参照图12,该计算机设备500包括通过系统总线501连接的处理器502、非易失性存储介质503、内存储器504和网络接口505。其中,该计算机设备500的非易失性存储介质503可存储操作系统5031和计算机程序5032,该计算机程序5032被执行时,可使得处理器502执行一种可视化IVR实现方法。该计算机设备500的处理器502用于提供计算和控制能力,支撑整个计算机设备500的运行。该内存储器504为非易失性存储介质503中的计算机程序5032的运行提供环境,该计算机程序被处理器执行时,可使得处理器502执行一种可视化IVR实现方法。计算机设备500的网络接口505用于进行网络通信,如发送分配的任务等。本领域技术人员可以理解,图12中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 12 is a schematic structural diagram of a computer device according to the present application. The device may be a terminal or a server, wherein the terminal may be a communication device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server can be a standalone server or a server cluster consisting of multiple servers. Referring to FIG. 12, the computer device 500 includes a processor 502, a non-volatile storage medium 503, an internal memory 504, and a network interface 505 connected by a system bus 501. The non-volatile storage medium 503 of the computer device 500 can store an operating system 5031 and a computer program 5032 that, when executed, can cause the processor 502 to perform a visual IVR implementation method. The processor 502 of the computer device 500 is used to provide computing and control capabilities to support the operation of the entire computer device 500. The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, which when executed by the processor, causes the processor 502 to perform a visual IVR implementation method. The network interface 505 of the computer device 500 is used to perform network communications, such as sending assigned tasks and the like. It will be understood by those skilled in the art that the structure shown in FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied. The specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
其中,所述处理器502执行所述计算机程序时实现如下操作:在H5的框架下建立一个H5界面;通过H5界面向IVR系统发起测试请求;若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道;根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;获取自动化测试结果并在所述H5界面的相应位置进行显示。When the processor 502 executes the computer program, the following operations are performed: establishing an H5 interface under the framework of H5; initiating a test request to the IVR system through the H5 interface; and if receiving an acknowledgement instruction for the test request, establishing The H5 interface and the test channel of the IVR system; perform automated testing according to the established test channel and the background media service component of the H5 interface; obtain automated test results and display at corresponding positions of the H5 interface.
在一个实施例中,所述通过H5界面向IVR系统发起测试请求,包括:接收用户发送的测试请求信息;从用户发送的测试请求信息中解析出测试请求关键字;通过H5界面将测试请求关键字发送给IVR系统。In one embodiment, the initiating a test request to the IVR system through the H5 interface includes: receiving test request information sent by the user; parsing the test request keyword from the test request information sent by the user; and testing the request key through the H5 interface The word is sent to the IVR system.
在一个实施例中,所述若接收到IVR系统的确认指令,建立H5界面与IVR 系统的测试通道,包括:确定H5界面中的第一连接接口;根据所确定的第一连接接口确定IVR系统中与第一连接接口相同类型的第二连接接口;创建第一连接接口及第二连接接口之间的测试通道映射关系;根据所创建的测试通道映射关系建立H5界面与IVR系统的测试通道。In an embodiment, if the confirmation command of the IVR system is received, establishing a test channel of the H5 interface and the IVR system includes: determining a first connection interface in the H5 interface; determining an IVR system according to the determined first connection interface a second connection interface of the same type as the first connection interface; creating a test channel mapping relationship between the first connection interface and the second connection interface; establishing a test channel of the H5 interface and the IVR system according to the created test channel mapping relationship.
在一个实施例中,所述处理器502执行所述计算机程序时还实现如下操作:若接收到查询指令,发起查询当前执行的测试步骤的请求;响应于所述请求,在预设显示界面显示当前执行的测试步骤。In an embodiment, when the processor 502 executes the computer program, the following operations are further performed: if a query instruction is received, a request for querying a currently executed test step is initiated; and in response to the request, displaying on a preset display interface The test step currently being performed.
在一个实施例中,所述处理器502执行所述计算机程序时还实现如下操作:通过预设浏览器页面呈现关于自动化测试过程的描述信息。In one embodiment, the processor 502, when executing the computer program, further implements an operation of presenting description information about an automated test process by a preset browser page.
本领域技术人员可以理解,图12中示出的计算机设备的实施例并不构成对计算机设备具体构成的限定,在其他实施例中,计算机设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。例如,在一些实施例中,计算机设备仅包括存储器及处理器,在这样的实施例中,存储器及处理器的结构及功能与图12所示实施例一致,在此不再赘述。It will be understood by those skilled in the art that the embodiment of the computer device shown in FIG. 12 does not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or fewer components than illustrated. Or combine some parts, or different parts. For example, in some embodiments, the computer device includes only the memory and the processor. In such an embodiment, the structure and function of the memory and the processor are the same as those of the embodiment shown in FIG. 12, and details are not described herein again.
本申请提供了一种计算机可读存储介质,计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行,以实现本申请所述的可视化IVR实现方法。The application provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the methods described herein Visualize the IVR implementation method.
本申请前述的存储介质包括:磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等各种可以存储程序代码的介质。The foregoing storage medium of the present application includes: a magnetic disk, an optical disk, a read-only memory (ROM), and the like, which can store various program codes.
本申请所有实施例中的单元可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The units in all the embodiments of the present application may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit), or by an ASIC (Application Specific Integrated Circuit).
本申请实施例可视化IVR实现方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method for visualizing the IVR in the embodiment of the present application may be sequentially adjusted, merged, and deleted according to actual needs.
本申请实施例可视化IVR实现装置中的单元可以根据实际需要进行合并、划分和删减。The units in the visualized IVR implementation apparatus of the embodiment of the present application may be combined, divided, and deleted according to actual needs.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any equivalents can be easily conceived by those skilled in the art within the technical scope disclosed in the present application. Modifications or substitutions are intended to be included within the scope of the present application. Therefore, the scope of protection of this application should be determined by the scope of protection of the claims.

Claims (20)

  1. 一种可视化IVR实现方法,其特征在于,所述方法包括:A visual IVR implementation method, the method comprising:
    在H5的框架下建立一个H5界面;Establish an H5 interface under the framework of H5;
    通过H5界面向IVR系统发起测试请求;Initiating a test request to the IVR system through the H5 interface;
    若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道;If the confirmation command for the test request is received, the test channel of the H5 interface and the IVR system is established;
    根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;Automated testing based on the established test channel and the background media service component of the H5 interface;
    获取自动化测试结果并在所述H5界面的相应位置进行显示。Obtain automated test results and display them at the appropriate locations on the H5 interface.
  2. 如权利要求1所述的方法,其特征在于,所述通过H5界面向IVR系统发起测试请求,包括:The method of claim 1, wherein the initiating a test request to the IVR system through the H5 interface comprises:
    接收用户发送的测试请求信息;Receiving test request information sent by the user;
    从用户发送的测试请求信息中解析出测试请求关键字;Parsing the test request keyword from the test request information sent by the user;
    通过H5界面将测试请求关键字发送给IVR系统。The test request keyword is sent to the IVR system through the H5 interface.
  3. 如权利要求1所述的方法,其特征在于,所述若接收到IVR系统的确认指令,建立H5界面与IVR系统的测试通道,包括:The method according to claim 1, wherein if the confirmation command of the IVR system is received, the test channel of the H5 interface and the IVR system is established, including:
    确定H5界面中的第一连接接口;Determining a first connection interface in the H5 interface;
    根据所确定的第一连接接口确定IVR系统中与第一连接接口相同类型的第二连接接口;Determining, according to the determined first connection interface, a second connection interface of the same type as the first connection interface in the IVR system;
    创建第一连接接口及第二连接接口之间的测试通道映射关系;Creating a test channel mapping relationship between the first connection interface and the second connection interface;
    根据所创建的测试通道映射关系建立H5界面与IVR系统的测试通道。The test channel of the H5 interface and the IVR system is established according to the created test channel mapping relationship.
  4. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    若接收到查询指令,发起查询当前执行的测试步骤的请求;If a query command is received, a request to query the currently executed test step is initiated;
    响应于所述请求,在预设显示界面显示当前执行的测试步骤。In response to the request, the currently executed test step is displayed on the preset display interface.
  5. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    通过预设浏览器页面呈现关于自动化测试过程的描述信息。Descriptive information about the automated test process is presented through a preset browser page.
  6. 一种可视化IVR实现装置,其特征在于,所述装置包括:A visual IVR implementation device, characterized in that the device comprises:
    第一建立单元,用于在H5的框架下建立一个H5界面;a first establishing unit, configured to establish an H5 interface under the framework of H5;
    发起单元,用于通过H5界面向IVR系统发起测试请求;An initiating unit, configured to initiate a test request to the IVR system through the H5 interface;
    建立单元,用于若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道;a establishing unit, configured to establish a test channel of the H5 interface and the IVR system if receiving the confirmation instruction for the test request;
    自动化测试单元,用于根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;An automated test unit for performing automated testing based on the established test channel and the background media service component of the H5 interface;
    第一显示单元,用于获取自动化测试结果并在所述H5界面的相应位置进行显示。The first display unit is configured to obtain an automated test result and display at a corresponding position of the H5 interface.
  7. 如权利要求6所述的装置,其特征在于,所述发起单元,包括:The device according to claim 6, wherein the initiating unit comprises:
    接收单元,用于接收用户发送的测试请求信息;a receiving unit, configured to receive test request information sent by a user;
    解析单元,用于从用户发送的测试请求信息中解析出测试请求关键字;a parsing unit, configured to parse the test request keyword from the test request information sent by the user;
    发送单元,用于通过H5界面将测试请求关键字发送给IVR系统。The sending unit is configured to send the test request keyword to the IVR system through the H5 interface.
  8. 如权利要求6所述的装置,其特征在于,所述第二建立单元,包括:The device of claim 6, wherein the second establishing unit comprises:
    第一确定单元,用于确定H5界面中的第一连接接口;a first determining unit, configured to determine a first connection interface in the H5 interface;
    第二确定单元,用于根据所确定的第一连接接口确定IVR系统中与第一连接接口相同类型的第二连接接口;a second determining unit, configured to determine, according to the determined first connection interface, a second connection interface of the same type as the first connection interface in the IVR system;
    创建单元,用于根据第一连接接口以及第二连接接口创建至少一条测试通道映射关系;Creating a unit, configured to create at least one test channel mapping relationship according to the first connection interface and the second connection interface;
    第二建立子单元,用于根据所创建的测试通道映射关系建立H5界面与IVR系统的测试通道。The second establishing subunit is configured to establish a test channel of the H5 interface and the IVR system according to the created test channel mapping relationship.
  9. 如权利要求6所述的装置,其特征在于,所述装置还包括:The device of claim 6 wherein said device further comprises:
    执行单元,用于若接收到查询指令,发起查询当前执行的测试步骤的请求;An execution unit, configured to initiate a request for querying a currently executed test step if receiving a query instruction;
    第二显示单元,用于响应于所述请求,在预设显示界面显示当前执行的测试步骤。And a second display unit, configured to display the currently executed test step on the preset display interface in response to the request.
  10. 如权利要求6所述的装置,其特征在于,所述装置还包括:The device of claim 6 wherein said device further comprises:
    呈现单元,用于通过预设浏览器页面呈现关于自动化测试过程的描述信息。a presentation unit for presenting description information about the automated testing process through the preset browser page.
  11. 一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如下操作:A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the following operations when the computer program is executed:
    在H5的框架下建立一个H5界面;Establish an H5 interface under the framework of H5;
    通过H5界面向IVR系统发起测试请求;Initiating a test request to the IVR system through the H5 interface;
    若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试 通道;If the confirmation command for the test request is received, the test channel of the H5 interface and the IVR system is established;
    根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;Automated testing based on the established test channel and the background media service component of the H5 interface;
    获取自动化测试结果并在所述H5界面的相应位置进行显示。Obtain automated test results and display them at the appropriate locations on the H5 interface.
  12. 如权利要求11所述的计算机设备,其特征在于,所述通过H5界面向IVR系统发起测试请求,包括:The computer device according to claim 11, wherein the initiating a test request to the IVR system through the H5 interface comprises:
    接收用户发送的测试请求信息;Receiving test request information sent by the user;
    从用户发送的测试请求信息中解析出测试请求关键字;Parsing the test request keyword from the test request information sent by the user;
    通过H5界面将测试请求关键字发送给IVR系统。The test request keyword is sent to the IVR system through the H5 interface.
  13. 如权利要求11所述的计算机设备,其特征在于,所述若接收到IVR系统的确认指令,建立H5界面与IVR系统的测试通道,包括:The computer device according to claim 11, wherein if the confirmation command of the IVR system is received, the test channel of the H5 interface and the IVR system is established, including:
    确定H5界面中的第一连接接口;Determining a first connection interface in the H5 interface;
    根据所确定的第一连接接口确定IVR系统中与第一连接接口相同类型的第二连接接口;Determining, according to the determined first connection interface, a second connection interface of the same type as the first connection interface in the IVR system;
    创建第一连接接口及第二连接接口之间的测试通道映射关系;Creating a test channel mapping relationship between the first connection interface and the second connection interface;
    根据所创建的测试通道映射关系建立H5界面与IVR系统的测试通道。The test channel of the H5 interface and the IVR system is established according to the created test channel mapping relationship.
  14. 如权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机程序时还实现如下操作:The computer apparatus according to claim 11, wherein said processor further implements the following operations when said computer program is executed:
    若接收到查询指令,发起查询当前执行的测试步骤的请求;If a query command is received, a request to query the currently executed test step is initiated;
    响应于所述请求,在预设显示界面显示当前执行的测试步骤。In response to the request, the currently executed test step is displayed on the preset display interface.
  15. 如权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机程序时还实现如下操作:The computer apparatus according to claim 11, wherein said processor further implements the following operations when said computer program is executed:
    通过预设浏览器页面呈现关于自动化测试过程的描述信息。Descriptive information about the automated test process is presented through a preset browser page.
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者一个以上计算机程序,所述一个或者一个以上计算机程序可被一个或者一个以上的处理器执行,以实现如下步骤:A computer readable storage medium, characterized in that the computer readable storage medium stores one or more computer programs, the one or more computer programs being executable by one or more processors to implement the following step:
    在H5的框架下建立一个H5界面;Establish an H5 interface under the framework of H5;
    通过H5界面向IVR系统发起测试请求;Initiating a test request to the IVR system through the H5 interface;
    若接收到针对所述测试请求的确认指令,建立H5界面与IVR系统的测试通道;If the confirmation command for the test request is received, the test channel of the H5 interface and the IVR system is established;
    根据所建立的测试通道以及所述H5界面的后台媒体服务组件进行自动化测试;Automated testing based on the established test channel and the background media service component of the H5 interface;
    获取自动化测试结果并在所述H5界面的相应位置进行显示。Obtain automated test results and display them at the appropriate locations on the H5 interface.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述通过H5界面向IVR系统发起测试请求,包括:The computer readable storage medium of claim 16, wherein the initiating a test request to the IVR system through the H5 interface comprises:
    接收用户发送的测试请求信息;Receiving test request information sent by the user;
    从用户发送的测试请求信息中解析出测试请求关键字;Parsing the test request keyword from the test request information sent by the user;
    通过H5界面将测试请求关键字发送给IVR系统。The test request keyword is sent to the IVR system through the H5 interface.
  18. 如权利要求16所述的计算机可读存储介质,其特征在于,所述若接收到IVR系统的确认指令,建立H5界面与IVR系统的测试通道,包括:The computer readable storage medium according to claim 16, wherein the receiving the confirmation command of the IVR system, establishing the test channel of the H5 interface and the IVR system, comprising:
    确定H5界面中的第一连接接口;Determining a first connection interface in the H5 interface;
    根据所确定的第一连接接口确定IVR系统中与第一连接接口相同类型的第二连接接口;Determining, according to the determined first connection interface, a second connection interface of the same type as the first connection interface in the IVR system;
    创建第一连接接口及第二连接接口之间的测试通道映射关系;Creating a test channel mapping relationship between the first connection interface and the second connection interface;
    根据所创建的测试通道映射关系建立H5界面与IVR系统的测试通道。The test channel of the H5 interface and the IVR system is established according to the created test channel mapping relationship.
  19. 如权利要求16所述的计算机可读存储介质,其特征在于,所述一个或者一个以上程序被一个或者一个以上的处理器执行时,还实现如下步骤:The computer readable storage medium of claim 16 wherein when said one or more programs are executed by one or more processors, the steps of:
    若接收到查询指令,发起查询当前执行的测试步骤的请求;If a query command is received, a request to query the currently executed test step is initiated;
    响应于所述请求,在预设显示界面显示当前执行的测试步骤。In response to the request, the currently executed test step is displayed on the preset display interface.
  20. 如权利要求16所述的计算机可读存储介质,其特征在于,所述一个或者一个以上程序被一个或者一个以上的处理器执行时,还实现如下步骤:The computer readable storage medium of claim 16 wherein when said one or more programs are executed by one or more processors, the steps of:
    通过预设浏览器页面呈现关于自动化测试过程的描述信息。Descriptive information about the automated test process is presented through a preset browser page.
PCT/CN2018/101617 2018-03-27 2018-08-22 Visualization ivr implementation method and apparatus, computer device and storage medium WO2019184208A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810258556.9 2018-03-27
CN201810258556.9A CN108833196B (en) 2018-03-27 2018-03-27 Visual IVR (Interactive Voice response) implementation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2019184208A1 true WO2019184208A1 (en) 2019-10-03

Family

ID=64154222

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101617 WO2019184208A1 (en) 2018-03-27 2018-08-22 Visualization ivr implementation method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN108833196B (en)
WO (1) WO2019184208A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634393A (en) * 2013-11-27 2014-03-12 广州市聚星源科技有限公司 IVR (interactive voice response) and realization method thereof
US20150350428A1 (en) * 2014-05-29 2015-12-03 CafeX Communications, Ltd. Pushing web and application pages during video/audio calls
US20160050317A1 (en) * 2014-08-15 2016-02-18 Accenture Global Services Limited Automated testing of interactive voice response systems
CN105704106A (en) * 2014-11-27 2016-06-22 腾讯科技(深圳)有限公司 Visualization IVR realization method and mobile terminal
CN107004235A (en) * 2014-11-25 2017-08-01 三星电子株式会社 Method and system for providing from visual interactive voice response (IVR) to visual calling (EVC) client device of enhancing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188407B (en) * 2011-12-31 2016-08-10 中国移动通信集团广东有限公司 The processing method of interactive voice response IVR, terminal, testing server and system
CN105354118B (en) * 2015-10-27 2019-09-13 Oppo广东移动通信有限公司 Automatic test approach, the apparatus and system of intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634393A (en) * 2013-11-27 2014-03-12 广州市聚星源科技有限公司 IVR (interactive voice response) and realization method thereof
US20150350428A1 (en) * 2014-05-29 2015-12-03 CafeX Communications, Ltd. Pushing web and application pages during video/audio calls
US20160050317A1 (en) * 2014-08-15 2016-02-18 Accenture Global Services Limited Automated testing of interactive voice response systems
CN107004235A (en) * 2014-11-25 2017-08-01 三星电子株式会社 Method and system for providing from visual interactive voice response (IVR) to visual calling (EVC) client device of enhancing
CN105704106A (en) * 2014-11-27 2016-06-22 腾讯科技(深圳)有限公司 Visualization IVR realization method and mobile terminal

Also Published As

Publication number Publication date
CN108833196B (en) 2021-05-04
CN108833196A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
US9521255B1 (en) Systems and methods for visual presentation and selection of IVR menu
WO2019179019A1 (en) Automated testing method and apparatus, and computer device and storage medium
US8903073B2 (en) Systems and methods for visual presentation and selection of IVR menu
US8155280B1 (en) Systems and methods for visual presentation and selection of IVR menu
US8687777B1 (en) Systems and methods for visual presentation and selection of IVR menu
US10477013B1 (en) Systems and methods for providing caller identification over a public switched telephone network
US8681951B1 (en) Systems and methods for visual presentation and selection of IVR menu
US20170091390A1 (en) Delivering customer information from customer care site to customer care agent
US20190082043A1 (en) Systems and methods for visual presentation and selection of ivr menu
EP3471387B1 (en) Method, device and system for communicating with call center
US9148456B2 (en) Context aware help system
US20170289332A1 (en) Systems and Methods for Visual Presentation and Selection of IVR Menu
US8995627B1 (en) System and method for providing access to a visual phone menu
US9992343B2 (en) Text translation of an audio recording during recording capture
WO2011074180A1 (en) Voice input system and voice input program
US11991309B2 (en) Generating visualizations of interactive voice response menu options during a call
US10542054B2 (en) Device and method for providing mobile internet call service
US20170214611A1 (en) Sip header configuration for identifying data for language interpretation/translation
WO2019184208A1 (en) Visualization ivr implementation method and apparatus, computer device and storage medium
US20120198039A1 (en) Service linkage device, program, service linkage method, and service provision system
US7702083B2 (en) Method and apparatus for providing default media content to a calling party
CN105577957A (en) Interactive response method, interactive response device and interactive response system
CN105553692B (en) Interactive voice response system, phone customer service system and its data processing method
US20180176385A1 (en) Supplementing telephony calls with conversational bots
JP2022007103A (en) Call center system, information processing device, chat history display method, and chat history display program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18912236

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/01/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18912236

Country of ref document: EP

Kind code of ref document: A1