A network communication line inspection method, device, computing device and storage medium

Through the dialogue module and telephone robot in the computing device, combined with the automatic answering and reply functions of the called party, the network communication line is automatically checked, which solves the low efficiency problem in the existing technology and realizes fast and accurate line inspection.

CN116232948BActive Publication Date: 2025-10-03TIANJIN AUTOHOME DATA INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310153664.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2025-10-03
Estimated Expiration
2043-02-22

AI Technical Summary

Technical Problem

The existing network communication line inspection method is inefficient and relies on manual operation, which is time-consuming and inconvenient.

Method used

Adopting the dialogue module and telephone robot in the computing device, taking advantage of the automatic answering and automatic reply functions of the called party, the network communication line is automatically checked, a call is established with the called party through the speech template, the matching degree of the reply content is judged, and the alarm mechanism is triggered to identify the line problem.

Benefits of technology

It realizes the automated inspection of network communication lines, improves the inspection efficiency, shortens the call time, reduces the number of times virtual numbers are obtained, and improves the speed and accuracy of line inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232948B_ABST
    Figure CN116232948B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a network communication line inspection method, apparatus, computing device and storage medium, the method comprising: obtaining a virtual number of a target called terminal and a virtual number of a dialogue module; establishing a call between the dialogue module and the target called terminal according to the obtained virtual number, judging whether the call is successfully established, if not, triggering an alarm mechanism, if so, determining a target speech from a speech template, and sending the target speech content to the target called terminal through the dialogue module; in response to an automatic reply operation of the target called terminal for the target speech content, judging whether the reply content of the target speech matches the reply content of the target called terminal, if not, triggering an alarm mechanism, if yes, continuing to determine the target speech from the speech template. It can be seen that the present invention realizes self-inspection of the network communication line of the application in an automated manner through the automatic answering and automatic reply functions of the telephone robot and the target called terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, computing equipment and storage medium for checking a network communication line. Background Art

[0002] Network communication connects isolated devices through a network, enabling communication between people, between people and computing devices, and between computers through information exchange. The security and stability of network communication lines are essential for maintaining network communication. Network communication lines refer to the network cables or internal electronic circuits of network ports, which enable network connections. Network communication lines include carriers such as China Mobile, China Unicom, China Telecom, and China Broadcasting Corporation. Therefore, assessing the stability of network communication lines is crucial for network communication.

[0003] In existing technologies, network line stability is often determined manually. The process is as follows: a consultant calls the target called party. After the call is connected, the consultant asks the target called party questions using predefined scripts. When the called party responds to the consultant's questions, if the response is inconsistent with the response to the current question in the script, the consultant determines that the network communication line is unstable or unsafe. This information is then fed back to the business party (the application communicating over the network) regarding the unstable or unsafe communication line of the operator corresponding to the target called party. However, manual network communication line inspection is time-consuming and inconvenient, resulting in low efficiency.

[0004] Therefore, it is desired to provide a network communication line inspection method to solve the technical problem of low efficiency of existing network communication line inspection methods. Summary of the Invention

[0005] To this end, embodiments of the present invention provide a network communication line inspection method, apparatus, computing device, and storage medium, in an effort to solve or at least alleviate the above problems.

[0006] According to one aspect of an embodiment of the present invention, a network communication line inspection method is provided, which is suitable for execution in a computing device, wherein the computing device includes a dialogue module, and a speech template is stored in the computing device, the speech template includes at least one group of speech, each group of speech includes sent content and reply content corresponding to the sent content, and the method includes: obtaining a virtual number of a target called terminal and a virtual number of the dialogue module, the target called terminal having an automatic answering function and an automatic reply function; establishing a call between the dialogue module and the target called terminal according to the obtained virtual number, and judging whether the call is successfully established; if not, triggering an alarm mechanism; if the call between the dialogue module and the target called terminal is successfully established, determining the target speech from the speech template, and sending the sent content of the target speech to the target called terminal through the dialogue module; in response to the target called terminal's automatic reply operation for the sent content of the target speech, judging whether the reply content of the target speech matches the reply content of the target called terminal; if not, triggering an alarm mechanism to prompt that there is a problem with the network communication line of the target application in the computing device; if it matches, continuing to determine the target speech from the speech template.

[0007] The network communication line inspection method provided by the present invention further includes: judging whether the current time is within a preset starting time period, if so, determining the target called end, if not, terminating the execution of the program.

[0008] Optionally, the computing device also stores a called-end profile, which includes fields such as supplier, operator name under the supplier, area corresponding to each operator, and users under each area. Determining the target called end includes: judging whether all users under the target supplier in the called-end profile have been called based on the number of the most recently called user; if not, taking the next user adjacent to the most recently called user as the target called end.

[0009] Optionally, the called end configuration file also includes a field number pool, which is a set of available virtual numbers in the area corresponding to each operator. The computing device is communicatively connected to the virtual number allocation server, and the virtual number allocation server stores the correspondence between the called end and its corresponding virtual number. Obtaining the virtual number of the target called end includes: searching for the virtual number corresponding to the target called end from the correspondence between the called end and its corresponding virtual number; judging whether the virtual number corresponding to the target called end is found from the virtual number correspondence of the virtual number allocation server, and if so, using the found virtual number as the virtual number of the target called end; if not, searching for an idle virtual number from the number pool corresponding to the target called end; judging whether an idle virtual number is found from the number pool, and if so, using the found idle virtual number as the virtual number of the target called end; otherwise, triggering an alarm mechanism.

[0010] Optionally, the computing device also stores a caller-side virtual number set, and obtaining the virtual number of the dialogue module includes: determining whether there is an idle virtual number in the caller-side virtual number set, if so, obtaining an idle virtual number as the virtual number of the dialogue module, if not, increasing the number of acquisitions by a first preset value; determining whether the number of acquisitions is a second preset value, if so, triggering an alarm mechanism, if not, continuing to determine whether there is an idle virtual number in the caller-side virtual number set.

[0011] Optionally, determining the target speech from the speech template includes: judging whether the speech last sent is the last group of speech in the speech template, and if so, ending the call between the dialogue module and the target called party; if not, reading the next group of speech adjacent to the last sent speech from the speech template as the target speech.

[0012] Optionally, ending the call between the dialogue module and the target called end includes: counting the end time of the conversation between the dialogue module and the target called end; judging whether the counted end time of the conversation reaches a preset time, if so, ending the call between the dialogue module and the target called end, if not, continuing to count the end time of the conversation between the dialogue module and the target called end.

[0013] Optionally, the computing device also stores the correspondence between the network communication line error type and the alarm information, and triggering the alarm mechanism includes: determining the network communication line error type; searching for the alarm information corresponding to the determined network communication line error type from the correspondence between the network communication line error type and the alarm information, and displaying it.

[0014] Optionally, the dialogue module includes a telephone robot.

[0015] Optionally, the network communication line error types include one or more of failure to obtain a virtual number, failure to call a dialogue module, outbound call not initiated, outbound call not answered, failure to obtain outbound call scripts, outbound call duration error, outbound call intention error, and hang-up failure; the alarm information includes one or more of failure to obtain a virtual number, abnormality in calling a dialogue module, failure of the dialogue module to initiate an outbound call, successful initiation of an outbound call by the dialogue module but the target called end is not connected, the dialogue module initiates an outbound call and the target called end is connected but the scripts cannot be obtained, the dialogue module initiates an outbound call and the target called end is connected but the call duration exceeds a preset duration, the dialogue module initiates an outbound call and the target called end is connected but the scripts are not sent to the target called end, and the target called end does not actually hang up.

[0016] According to another aspect of the present invention, there is provided a device for checking network communication lines, which is suitable for execution in a computing device, wherein the computing device includes a dialogue module, wherein a speech template is stored in the computing device, wherein the speech template includes at least one group of speech, and each group of speech includes a sent content and a reply content corresponding to the sent content. The device includes: a virtual number acquisition unit, which is suitable for acquiring the virtual number of the target called terminal and the virtual number of the dialogue module, wherein the target called terminal has an automatic answering function and an automatic reply function; a call unit, which is suitable for establishing a call between the dialogue module and the target called terminal according to the acquired virtual number, and judging whether the call is successful. successfully established, if not, triggering an alarm mechanism; a network communication line inspection unit, adapted to determine the target speech from the speech template if the call between the dialogue module and the target called party is successfully established, and sending the target speech content to the target called party through the dialogue module, and adapted to respond to the target called party's automatic reply operation for the target speech content, and determine whether the reply content of the target speech matches the reply content of the target called party. If not, triggering an alarm mechanism to prompt that there is a problem with the network communication line of the target application in the computing device. If it matches, continuing to determine the target speech from the speech template.

[0017] According to another aspect of the present invention, a computing device is provided, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for execution by the at least one processor, and the program instructions include instructions for executing the method described above.

[0018] According to another aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the method described above.

[0019] According to the network communication line inspection method of an embodiment of the present invention, the virtual number of the target called end and the virtual number of the dialogue module are obtained; a call is established between the dialogue module and the target called end based on the obtained virtual number, and it is determined whether the call is successfully established. If not, an alarm mechanism is triggered. If so, the target speech is determined from the speech template, and the target speech content is sent to the target called end through the dialogue module; in response to the automatic reply operation of the target called end for the target speech content, it is determined whether the reply content of the target speech matches the reply content of the target called end. If not, an alarm mechanism is triggered to prompt that there is a problem with the network communication line of the target application in the computing device. If it matches, the target speech continues to be determined from the speech template.

[0020] As can be seen from the above content, the network communication line inspection method provided by the present invention realizes the automatic inspection of network communication lines in each application development end in an automated manner through the automatic answering function and automatic reply function of the telephone robot and the target called end.

[0021] In addition, the present invention limits the number of times the virtual number of the telephone robot is obtained, so as to avoid prolonging the time of performing a network communication line inspection by obtaining the virtual number of the telephone robot multiple times, thereby improving the efficiency of the network communication line inspection.

[0022] In addition, when ending a call, the present invention sets a setting to end the call when a preset time is reached after the conversation ends. Then, by setting the preset time, the call time between the calling end and the called end can be controlled, thereby shortening the total call time and further improving the efficiency of network communication line inspection.

[0023] The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to more clearly understand the technical means of the embodiments of the present invention, they can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiments of the present invention more obvious and easy to understand, the specific implementation methods of the embodiments of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein may be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other objects, features, and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout this disclosure, the same reference numerals generally refer to the same parts or elements.

[0025] Figure 1 shows a block diagram of a computing device 100 according to one embodiment of the present invention;

[0026] Figure 2 A schematic diagram showing part of the content of a speech template according to one embodiment of the present invention;

[0027] Figure 3 A schematic diagram showing part of the content of a called terminal configuration file according to one embodiment of the present invention;

[0028] Figure 4 A schematic diagram showing part of the correspondence between a called terminal and its corresponding virtual number according to an embodiment of the present invention;

[0029] Figure 5 A flowchart of a network communication line checking method 500 according to an embodiment of the present invention is shown;

[0030] Figure 6 FIG. 4 shows a structural block diagram of a network communication line inspection device 600 according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0032] The present invention provides a method for checking network communication lines to address the technical issue of low efficiency in existing methods for checking network communication lines. This method can be implemented as an application (i.e., an application program) installed on a computing device 100 and used together with a target application to perform a network communication line check. The method can also be implemented as a plug-in integrated into a target application running on the computing device 100. The target application herein can be understood as the application program that requires a network communication line self-check.

[0033] The method for initiating the network communication line checking method can be configured based on the actual application scenario, and the present invention does not impose any restrictions on this. For example, when the network communication line checking method is implemented as an application, the method will automatically initiate upon startup of the computing device, i.e., upon successful login and entry of the user interface. When the network communication line checking method is implemented as a plug-in, the method will automatically initiate upon startup of the target application in the computing device. The target application is an application developer who wishes to perform their own network communication line checking, and the present invention does not impose any restrictions on the target application.

[0034] The network communication line inspection method provided by the present invention mainly realizes self-inspection of the network communication line in an automated manner at each application development end through the dialogue module in the computing device (the dialogue module includes a telephone robot) and the automatic answering function and automatic reply function of the called end.

[0035] The aforementioned phone bot is an intelligent machine that simulates human phone calls. In layman's terms, users upload their phone number and set the bot's operating hours. The bot then automatically makes calls during business hours, requiring no human oversight and not disrupting the user's daily routine.

[0036] The called terminal mentioned above can be understood as a mobile terminal with automatic answering function and automatic reply function. The specific implementation method of the mobile terminal is not limited in the present invention. For example, the mobile terminal can further be a mobile phone, tablet, etc.

[0037] The automatic answering function (i.e., intelligent answering function) and the automatic reply function refer to automatically answering the call when the target called party receives a call, determining the reply content based on the content of the calling party, and automatically sending it to the calling party.

[0038] Users can set up automatic call answering on the target called party. To do this, first navigate to Settings on the target called party's desktop. Open Settings and find Application Settings. Find Phone Settings in System Application Settings and click on it. Once you're in Phone Settings, you'll see an automatic answering feature. Select the desired scenario based on your specific needs. The target called party will now have automatic answering enabled.

[0039] The computing device 100 mentioned above can be implemented as a server, such as an application server, a Web server, etc.; it can also be implemented as a desktop computer, a laptop computer, a processor chip, a tablet computer, etc., but is not limited thereto. Figure 1 1 is a block diagram of the physical components (i.e., hardware) of a computing device 100. In a basic configuration, the computing device 100 includes at least one processing unit 102 and system memory 104. According to one aspect, the system memory 104 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories, depending on the configuration and type of the computing device.

[0040] According to one aspect, system memory 104 includes operating system 105. System memory 204 also includes application programs 150. According to one aspect, operating system 105, for example, is suitable for controlling the operation of computing device 100. Furthermore, examples may be practiced in conjunction with graphics libraries, other operating systems, or any other application programs, and are not limited to any particular application or system. Figure 1 This basic configuration is illustrated in FIG by those components within dashed line 108. According to one aspect, computing device 100 has additional features or functionality. For example, according to one aspect, computing device 100 includes additional data storage devices (removable and / or non-removable), such as magnetic disks, optical disks, or tapes. Such additional storage Figure 1 1 is illustrated by a removable storage device 109 and a non-removable storage device 110.

[0041] As stated above, according to one aspect, a plurality of program modules are stored in system memory 104. When the identity authentication method provided by the present invention is implemented as application 150 and executed on processing unit 102, application 150 performs a process including, but not limited to, one or more of the stages of method 500. According to one aspect, the type of application is not limited, and for example, the application also includes: email and contact applications, word processing applications, spreadsheet applications, database applications, slide presentation applications, drawing or computer-aided applications, web browser applications, etc.

[0042] According to one aspect, examples may be practiced on a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or a single chip containing electronic components or a microprocessor. Figure 1 Each or many components shown in can be integrated into a system on a chip (SOC) on a single integrated circuit to practice examples. According to one aspect, such an SOC device may include one or more processing units, a graphics unit, a communication unit, a system virtualization unit, and various application functions, all of which are integrated (or "burned") onto a chip substrate as a single integrated circuit. When operated via SOC, the functions described in this article can be operated via dedicated logic integrated with other components of the computing device 100 on a single integrated circuit (chip). Embodiments of the present invention can also be practiced using other technologies capable of performing logical operations (such as AND, OR, and NOT), including but not limited to mechanical, optical, fluid, and quantum technologies. In addition, embodiments of the present invention can be practiced in a general-purpose computer or in any other circuit or system.

[0043] According to one aspect, the computing device 100 may also have one or more input devices 112, such as a keyboard, a mouse, a pen, a voice input device, a touch input device, etc. It is worth noting here that the touch input device may be a touch screen, and the touch screen in the present invention may be divided into multiple areas, and authentication information may be entered in each area. An output device 114 may also be included, such as a display, a speaker, a printer, etc. The aforementioned devices are examples and other devices may also be used. The computing device 100 may include one or more communication connections 116 that allow communication with other computing devices 118. Examples of suitable communication connections 116 include, but are not limited to: RF transmitter, receiver and / or transceiver circuits; universal serial bus (USB), parallel and / or serial ports. The computing device 100 can be communicatively connected to one or more other computing devices 118.

[0044] The term computer-readable medium as used herein includes computer storage media. Computer storage media can include volatile and non-volatile, removable and non-removable media implemented with any method or technology for storing information (e.g., computer-readable instructions, data structures, or program modules). System memory 104, removable storage device 109, and non-removable storage device 110 are all examples of computer storage media (i.e., memory storage). Computer storage media can include random access memory (RAM), read-only memory (ROM), electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, cassette tape, magnetic tape, magnetic disk storage or other magnetic storage device, or any other product that can be used to store information and can be accessed by computing device 100. According to one aspect, any such computer storage medium can be a part of computing device 100. Computer storage media does not include carrier waves or other propagated data signals.

[0045] According to one aspect, communication media is implemented by computer-readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., a carrier wave or other transport mechanism), and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.

[0046] It should be noted that the computing device or a database connected to the computing device stores preset speech templates, called party configuration files, calling party virtual number sets, and correspondences between network communication line error types and alarm information.

[0047] A speech template includes at least one set of speech. Each set of speech includes a sent content and a corresponding reply content. It should be noted that the sent content can be a question or a statement, and the reply content can include hang-up (no reply content) or specific reply content (reply content exists). Figure 2 Shows some examples of speech templates. Figure 2 As shown, one set of scripts includes sending content (Hello, I am your consultant Xiaobai. I see that you have paid attention to cars of XX brand before. Are you planning to buy a car recently?) and reply content ("Well, yes, that's right, I plan to buy a car recently, I plan to buy a car, etc., which express agreement, and "hang up, no need, no need, etc., which express rejection").

[0048] The called party configuration file includes fields: supplier, operator under the supplier, region to which each operator belongs (such as Guangzhou, Shanghai, etc.), number pool under each region and user. Operators can be understood as network operators, including any one of China Mobile, China Unicom, China Telecom, and China Broadcasting Corporation. Suppliers are third parties of network operators. Users can include merchants or users under merchants. Users can be understood as customer mobile phone numbers, that is, the user's real number. The real mobile phone numbers corresponding to different users are different. Therefore, the users of the target operator under the target supplier are unique. The number pool under each region can be understood as a virtual number storage pool in the current region. Furthermore, the number pool can be implemented as an array, then the number pool under each region can be understood as a virtual number array in the current region. Part of the called party configuration file is as follows Figure 3 shown.

[0049] It is worth noting that the computing device is in communication with the virtual number allocation server, which stores the correspondence between the called terminal and its corresponding virtual number. The correspondence between the called terminal and its corresponding virtual number includes the following fields: the customer's mobile phone number (i.e., the user's real number) and the virtual number X corresponding to the customer's mobile phone number (i.e., the virtual number corresponding to the user's real number). Part of the correspondence between the called terminal and its corresponding virtual number is as follows: Figure 4 shown.

[0050] The calling-side virtual number set can be understood as a set for storing virtual numbers that can be used by the telephone robot. The present invention does not limit the specific form of the calling-side virtual number set. For example, the calling-side virtual number set can be implemented as an array for storing virtual numbers that can be used by the telephone robot. It should be noted that since the virtual number of the telephone robot (i.e., the calling-side virtual number) has a monthly rental fee and call charges, in order to save costs and improve the utilization rate of the calling-side virtual number, the virtual numbers in the calling-side virtual number set set by the present invention are limited. The telephone robot and its virtual number do not have a one-to-one correspondence. Therefore, before the telephone robot calls, it is necessary to obtain an idle virtual number from the calling-side virtual number set.

[0051] The correspondence between network communication line error types and alarm information shows the types of network communication line errors and the alarm information corresponding to each network communication line error type. Part of the correspondence between network communication line error types and alarm information is shown in Table 1.

[0052] Table 1

[0053]

[0054] The hang-up failure in Table 1 indicates that the call between the calling party and the called party has been hung up, but data transmission is actually still in progress.

[0055] Before introducing the network communication line check method 500, it should be noted that the network communication line check thread for each provider in the called party's configuration file is gradually launched at preset intervals, in the order of the providers' positions in the called party's configuration file. The line check threads of each provider do not conflict with each other and do not interfere with each other. The preset time can be set according to the actual application scenario and is not limited by this invention. For example, the preset time can be 5 minutes. If the network communication line check thread for provider 1 is launched at 9:00, the network communication line check thread for provider 2 will be launched at 9:05. For different users within each provider, the network communication line check is executed sequentially for each user according to the order of their user numbers. Each user's execution of the network communication line check is equivalent to executing the network communication line check method 500 provided by the present invention once.

[0056] Figure 5 FIG. 5 is a flow chart of a method 500 for checking a network communication line according to an embodiment of the present invention. The method 500 is suitable for execution in the computing device 100. The method 500 may include steps 510 to 580.

[0057] This method is mainly used to check network communication lines in the AXYG number binding relationship model scenario. The main principles of the AXYG number binding relationship model are as follows:

[0058] If user A is a beneficiary of the service, a virtual number X is bound to A on the privacy-protected call platform to protect A's real number from being disclosed. G generally represents a number group, and users in the same group can initiate outbound calls to user A. A virtual number Y is bound to G on the privacy-protected call platform. Any user in G can call A by dialing X, and any user in G will see A's number as Y (that is, when any user in G calls A, A's caller ID will be Y).

[0059] The network communication line inspection method provided by the present invention realizes self-inspection of the network communication line in an automated manner at each application development end through the automatic answering function and automatic reply function of the telephone robot and the target called end.

[0060] Method 500 first executes step 510 to determine whether the current time is within a preset start time period. If so, step 520 is executed; otherwise, step 510 is continued. The preset start time period here can be understood as a prerequisite for executing the network communication line inspection procedure. The network communication line will only be inspected within the preset start time period. The preset start time period can be set according to the actual application scenario and is not limited in this regard by the present invention. For example, the preset start time period is from 9:00 to 20:00.

[0061] If the current time is within the preset start time period, the process proceeds to step 520 to determine a target called terminal, that is, to determine a called terminal.

[0062] In some embodiments, determining the target called terminal includes: first, determining whether all users of the target provider in the called terminal profile have been called based on the number of the most recently called user; if not, selecting the next user next to the most recently called user as the target called terminal in the order of their storage positions in the called terminal profile; and terminating execution of the program if all users of the target provider in the called terminal profile have been called.

[0063] Since the users in the called-end configuration file may include businesses or users, if the user is a business, the next business adjacent to the most recently called user is read as the target called end according to the order of the storage positions of the users in the called-end configuration file. If the user is a user, the next user adjacent to the most recently called user is read as the target called end according to the order of the storage positions of the users in the configuration file.

[0064] by Figure 3 Taking the example of provider 1 and user 4 in the called party profile, step 520 is described in detail:

[0065] First, based on the user number 4 of the most recently called user, it is determined whether all users under supplier 1 in the called party's profile have been called. Since user 4 is not the last user, it can be determined that not all users under supplier 1 in the called party's profile have been called. In this case, the next user adjacent to user 4's storage location, namely merchant 1, is used as the target called party.

[0066] After determining the target called end, continue to execute step 530 to obtain the virtual number of the target called end and the virtual number of the dialogue module. Since the dialogue module includes a telephone robot, step 530 is to obtain the virtual number of the target called end and the virtual number of the telephone robot.

[0067] In some embodiments, obtaining the virtual number of the target called end includes: when the virtual number allocation server updates the user's virtual number, there is no idle virtual number in the virtual number pool of the virtual number allocation server, then the update will fail, resulting in the virtual number in the virtual number correspondence relationship being empty, and then there will be a situation where the virtual number of the called end is not obtained. Therefore, first search for the virtual number corresponding to the target called end from the correspondence between the called end and its corresponding virtual number, and then determine whether the virtual number corresponding to the target called end is found. If so, it means that there is a virtual number corresponding to the target called end in the correspondence between the called end and its corresponding virtual number, and the found virtual number is used as the virtual number of the target called end. If not, it means that there is no virtual number corresponding to the target called end in the correspondence between the called end and its corresponding virtual number, that is, the virtual number is empty. At this time, search for an idle virtual number from the called end configuration file and the number pool corresponding to the target called end, and determine whether an idle virtual number is found from the number pool. If so, the found idle virtual number is used as the virtual number of the target called end. Otherwise, the alarm mechanism will be triggered.

[0068] The implementation process of triggering the alarm mechanism is as follows: first, the network communication line error type is determined. Then, from the correspondence between network communication line error types and alarm information, the alarm information corresponding to the determined network communication line error type is searched and displayed. The display method can be a visual interface, but the present invention is not limited to this. The implementation process of triggering the alarm mechanism below is the same as that described here and will not be repeated here. Please refer to the description here for reference.

[0069] like Figure 3 and Figure 4 As shown in the figure, taking the target called party as user 1 (assuming its corresponding real number is 188*******0) as an example, the working process of obtaining the virtual number of the target called party is described:

[0070] First, from Figure 4 The corresponding relationship between the called terminal and its corresponding virtual number is shown in the figure. The real number 188*******0 corresponding to user 1 is not found. Then, Figure 3The number pool corresponding to user 1 is GZX11, and an idle virtual number is obtained from the number pool GZX11 as the virtual number of the target called party. Of course, if no idle virtual number is found, it means that the virtual number of the target called party has not been obtained at this time, and the alarm mechanism is triggered. Since the alarm reason is that the virtual number of the target called party has not been obtained, the alarm reason is the failure to obtain the virtual number. Then, from the correspondence between the network communication line error type and the alarm information in Table 1, the prompt information corresponding to the network communication line error type "virtual number acquisition failure" is searched, specifically "virtual number acquisition failure". At this time, "virtual number acquisition failure" is displayed in the visual interface to prompt the target application that the network communication line has an error.

[0071] In some embodiments, obtaining the virtual number of the telephone robot includes: first determining whether there is an idle virtual number in the calling end virtual number set; if so, obtaining an idle virtual number as the virtual number of the dialogue module; if not, increasing the number of acquisitions by a first preset value, and determining whether the number of acquisitions is a second preset value; if so, triggering an alarm mechanism; if the number of acquisitions does not reach the second preset value, continuing to execute the step of determining whether there is an idle virtual number in the calling end virtual number set.

[0072] The first preset value and the second preset value can be set according to actual application scenarios, and the present invention is not limited thereto. For example, the first preset value is 1 and the second preset value is 2.

[0073] From the above content, it can be seen that the present invention will limit the number of times the telephone robot's virtual number is obtained, so as to avoid obtaining the telephone robot's virtual number multiple times and prolonging the time for a network communication line inspection, thereby improving the efficiency of the network communication line inspection.

[0074] After obtaining the virtual number of the target called terminal and the virtual number of the calling terminal (telephone robot), step 540 is continued to establish a call between the dialogue module and the target called terminal according to the obtained virtual number.

[0075] Since there are outbound call anomalies such as the outbound call not being initiated (the calling end does not initiate a call to the called end) or the outbound call not being answered (the calling end initiates an outbound call but the called end does not answer it), it is necessary to continue to execute step 550 to determine whether the call is successfully established. If the call connection is not successfully established, step 560 is executed to trigger the alarm mechanism to prompt that there is a problem with the network communication line of the target application in the computing device. If the call between the calling end (i.e., the telephone robot) and the target called end is successfully established, step 570 is continued to determine the target speech from the speech template and send the content of the target speech to the target called end through the dialogue module.

[0076] Step 570 specifically includes: first, it is necessary to determine whether the most recently sent speech is the last set of speech in the speech template. If so, the call between the dialogue module and the target called party is terminated. If the most recently sent speech is not the last set of speech in the speech template, the next set of speech adjacent to the last sent speech is read from the speech template as the target speech. The target speech content is then sent to the target called party through the dialogue module, that is, the target speech content is sent to the target called party through the telephone robot. After receiving the sent content sent by the calling party, the target called party automatically replies to the sent content of the target speech.

[0077] In some embodiments, terminating a call between the conversation module and the target called terminal includes first counting the duration of the conversation between the conversation module and the target called terminal, and determining whether the counted duration reaches a preset duration. If so, terminating the call between the conversation module and the target called terminal; if not, continuing to count the duration of the conversation between the conversation module and the target called terminal. The preset duration can be set based on actual application scenarios. For example, if the preset duration is 5 seconds, the call between the conversation module and the target called terminal is terminated when the duration reaches 5 seconds. However, the conversation duration of the present invention is not limited to this.

[0078] Since the call is ended when the preset time is reached after the conversation ends, the call time between the calling party and the called party can be controlled by setting the preset time, thereby shortening the total call time and further improving the efficiency of network communication line inspection.

[0079] If a target speech is determined from the speech template and the target speech content is sent to the target called party through the dialogue module, after receiving the content sent by the calling party, the target called party can automatically reply to the target speech content due to its automatic reply function. When the computing device monitors the target called party's reply content to the target speech content, it responds to the reply content and continues to execute step 580 to determine whether the target called party's reply content is matched with the target speech reply content. If so, execute step 570. If not, execute step 560.

[0080] At this point, the network communication line check is completed. Whenever a network communication line check is required, steps 510 to 580 need to be performed.

[0081] Figure 6 FIG. 6 is a block diagram showing a network communication line checking device 600 according to an embodiment of the present invention. The device 600 comprises a virtual number obtaining unit 610, a call unit 620 and a network communication line checking unit 630, which are coupled in sequence.

[0082] The virtual number acquiring unit 610 is adapted to acquire the virtual number of the target called terminal and the virtual number of the dialogue module.

[0083] The call unit 620 is adapted to establish a call between the dialogue module and the target called terminal according to the acquired virtual number, and determine whether the call is successfully established. If not, an alarm mechanism is triggered.

[0084] The network communication line inspection unit 630 is suitable for determining the target speech from the speech template if a call is successfully established between the dialogue module and the target called end, and sending the target speech content to the target called end through the dialogue module, and is suitable for responding to the automatic reply operation of the target called end for the target speech content, and judging whether the reply content of the target speech matches the reply content of the target called end. If not, an alarm mechanism is triggered to prompt that there is a problem with the network communication line of the target application in the computing device. If it matches, the target speech continues to be determined from the speech template.

[0085] It should be noted that the working principle of the network communication line inspection device 600 is similar to that of the above-mentioned network communication line inspection method 500. For relevant details, reference may be made to the description of the above-mentioned network communication line inspection method 500, which will not be repeated here.

[0086] As can be seen from the above content, the network communication line inspection method provided by the present invention realizes the automatic inspection of network communication lines in each application development end in an automated manner through the automatic answering function and automatic reply function of the telephone robot and the target called end.

[0087] In addition, the present invention limits the number of times the virtual number of the telephone robot is obtained, so as to avoid prolonging the time of performing a network communication line inspection by obtaining the virtual number of the telephone robot multiple times, thereby improving the efficiency of the network communication line inspection.

[0088] In addition, when ending a call, the present invention sets a setting to end the call when a preset time is reached after the conversation ends. Then, by setting the preset time, the call time between the calling end and the called end can be controlled, thereby shortening the total call time and further improving the efficiency of network communication line inspection.

[0089] A8: The method according to any one of A1 to A7, wherein the computing device further stores a correspondence between network communication line error types and alarm information, and the triggering alarm mechanism includes:

[0090] Determine the type of error in the network communication line;

[0091] From the correspondence between the network communication line error type and the alarm information, the alarm information corresponding to the determined network communication line error type is searched and displayed.

[0092] A9 The method as described in any one of A1 to A8, wherein the dialogue module includes a telephone robot.

[0093] A10: The method described in A8, wherein the network communication line error type includes one or more of a virtual number acquisition failure, a dialogue module invocation failure, an outbound call not initiated, an outbound call not answered, an outbound call script acquisition failure, an outbound call duration error, an outbound call intention error, and an on-hook failure.

[0094] The alarm information includes one or more of the following: failure to obtain the virtual number, abnormality in calling the dialogue module, failure of the dialogue module to initiate an outbound call, success of the dialogue module initiating an outbound call but the target called end was not connected, the dialogue module initiating an outbound call and the target called end was connected but the acquisition of the words failed, the dialogue module initiating an outbound call and the target called end was connected but the call duration exceeded the preset duration, the dialogue module initiating an outbound call and the target called end was connected but no words were sent to the target called end, and the target called end did not actually hang up.

[0095] The various techniques described herein may be implemented in conjunction with hardware or software, or a combination thereof. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may be implemented in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, a USB flash drive, a floppy disk, a CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes an apparatus for practicing the present invention.

[0096] When program code is executed on a programmable computer, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device. The memory is configured to store the program code, and the processor is configured to execute the network communication line inspection method of the present invention according to the instructions in the program code stored in the memory.

[0097] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media store information such as computer-readable instructions, data structures, program modules, or other data. Communication media typically embody computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and include any information delivery medium. Combinations of any of the above are also included within the scope of readable media.

[0098] In the description provided herein, the algorithms and displays are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems may also be used in conjunction with the examples of the present invention. Based on the above description, it is apparent that the structure required for constructing such systems is well understood. In addition, the present invention is not directed to any specific programming language. It should be understood that various programming languages ​​may be utilized to implement the present invention described herein, and the description of specific languages ​​above is provided for the purpose of disclosing the preferred embodiment of the present invention.

[0099] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.

[0100] Similarly, it should be understood that in order to streamline the disclosure and aid understanding of one or more of the various inventive aspects, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim.

[0101] Those skilled in the art will appreciate that the modules, units, or components of the devices in the examples disclosed herein may be arranged in the device described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or further divided into multiple submodules.

[0102] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition may be divided into multiple submodules or subunits or subcomponents. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed herein may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0103] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, combinations of features from different embodiments are intended to be within the scope of the present invention and to form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.

[0104] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions described. Therefore, a processor having the necessary instructions for implementing the method or method element forms a device for implementing the method or method element.

[0105] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved and are not intended to imply that the objects so described must have a given order in time, space, ranking, or in any other manner.

[0106] Although the present invention has been described with respect to a limited number of embodiments, it will be apparent to those skilled in the art, having benefit of the foregoing description, that other embodiments are contemplated within the scope of the invention thus described. Furthermore, it should be noted that the language used in this specification has been selected primarily for readability and didactic purposes, rather than for the purpose of explaining or limiting the subject matter of the present invention. Consequently, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is intended to be illustrative rather than restrictive of the scope of the invention, which is defined by the appended claims.

Claims

1. A method for checking a network communication line, suitable for execution in a computing device, the computing device including a dialogue module, storing a speech template and a called party configuration file, the speech template including at least one set of speech, each set of speech including sent content and reply content corresponding to the sent content, the called party configuration file including fields for: a supplier, the name of the supplier's operator, the region corresponding to each operator, and the users in each region, the method comprising: Determining a target called terminal includes: determining whether all users of the target provider in the called terminal configuration file have been called based on the number of the most recently called user; if not, selecting the next user adjacent to the most recently called user as the target called terminal according to the order of storage positions in the called terminal configuration file; Acquire the virtual number of the target called terminal and the virtual number of the dialogue module, wherein the target called terminal has an automatic answering function and an automatic reply function; Establishing a call between the dialogue module and the target called party according to the acquired virtual number, determining whether the call is successfully established, and if not, triggering an alarm mechanism; If the call between the dialogue module and the target called terminal is successfully established, a target speech is determined from the speech template, and the sending content of the target speech is sent to the target called terminal through the dialogue module; In response to the automatic reply operation of the target called end to the content sent by the target speech, it is determined whether the reply content of the target called end is matched from the reply content of the target speech. If not, an alarm mechanism is triggered to prompt that there is a problem with the network communication line of the target application in the computing device. If it is matched, the target speech is continued to be determined from the speech template.

2. The method of claim 1, further comprising: Determine whether the current time is within a preset starting time period. If so, determine the target called terminal. If not, terminate the execution of the program.

3. The method according to claim 1 or 2, wherein The called terminal configuration file also includes a field called a number pool, which is a set of available virtual numbers in the area corresponding to each operator. The computing device is in communication with a virtual number allocation server, which stores a correspondence between the called terminal and its corresponding virtual number. The step of obtaining the virtual number of the target called terminal includes: Searching for a virtual number corresponding to the target called terminal from the correspondence between the called terminal and its corresponding virtual number; Determine whether a virtual number corresponding to the target called terminal is found from the virtual number correspondence of the virtual number allocation server, and if so, use the found virtual number as the virtual number of the target called terminal; if not, search for an idle virtual number from the number pool corresponding to the target called terminal; Determine whether an idle virtual number is found from the number pool. If so, use the found idle virtual number as the virtual number of the target called terminal. Otherwise, trigger an alarm mechanism.

4. The method according to claim 3, wherein: The computing device further stores a set of virtual numbers of the calling end, and the acquiring of the virtual number of the conversation module includes: Determine whether there is an idle virtual number in the calling end virtual number set, if so, obtain an idle virtual number as the virtual number of the conversation module, if not, increase the number of acquisitions by a first preset value; Determine whether the acquisition times is a second preset value, if so, trigger an alarm mechanism, if not, continue to determine whether there is an idle virtual number in the calling end virtual number set.

5. The method according to claim 1 or 2, wherein: Determining the target speech from the speech template includes: Determine whether the most recently sent speech is the last set of speech in the speech template, and if so, end the call between the dialogue module and the target called terminal; If not, the next set of speech adjacent to the most recently sent speech is read from the speech template as the target speech.

6. The method according to claim 5, wherein: The step of ending the call between the dialogue module and the target called terminal includes: Counting the duration of the conversation between the conversation module and the target called terminal; It is determined whether the counted conversation end time reaches a preset time. If so, the call between the conversation module and the target called terminal is terminated. If not, the conversation end time between the conversation module and the target called terminal is continued to be counted.

7. The method according to claim 1 or 2, wherein: The computing device also stores a correspondence between network communication line error types and alarm information, and the triggering alarm mechanism includes: Determine the type of error in the network communication line; From the correspondence between the network communication line error type and the alarm information, the alarm information corresponding to the determined network communication line error type is searched and displayed.

8. The method of claim 1, wherein: The dialogue module includes a telephone robot.

9. The method according to claim 7, wherein the network communication line error type comprises one or more of a virtual number acquisition failure, a dialogue module call invocation failure, an outbound call not initiated, an outbound call not answered, an outbound call script acquisition failure, an outbound call duration error, an outbound call intention error, and an on-hook failure; The alarm information includes one or more of the following: failure to obtain the virtual number, abnormality in calling the dialogue module, failure of the dialogue module to initiate an outbound call, success of the dialogue module initiating an outbound call but the target called end was not connected, the dialogue module initiating an outbound call and the target called end was connected but the acquisition of the words failed, the dialogue module initiating an outbound call and the target called end was connected but the call duration exceeded the preset duration, the dialogue module initiating an outbound call and the target called end was connected but no words were sent to the target called end, and the target called end did not actually hang up.

10. A network communication line inspection apparatus, adapted for execution in a computing device, the computing device comprising a dialogue module, the computing device storing a speech template and a called party configuration file, the speech template comprising at least one set of speech, each set of speech comprising sent content and corresponding reply content, the called party configuration file comprising fields for: a supplier, the name of the supplier's operator, the region corresponding to each operator, and the users in each region, the apparatus comprising: a virtual number acquisition unit adapted to determine a target called terminal and acquire the virtual number of the target called terminal and the virtual number of the dialogue module, wherein the target called terminal has an automatic answering function and an automatic reply function, wherein determining the target called terminal comprises: determining whether all users of the target provider in the called terminal profile have been called based on the number of the most recently called user; if not, selecting the next user adjacent to the most recently called user as the target called terminal in the order of their storage positions in the called terminal profile; a call unit adapted to establish a call between the dialogue module and the target called terminal according to the acquired virtual number, and to determine whether the call is successfully established, and if not, to trigger an alarm mechanism; The network communication line inspection unit is adapted to determine the target speech from the speech template if a call is successfully established between the dialogue module and the target called end, and send the sending content of the target speech to the target called end through the dialogue module, and is adapted to respond to the automatic reply operation of the target called end for the sending content of the target speech, and judge whether the reply content of the target speech matches the reply content of the target called end. If not, an alarm mechanism is triggered to prompt that there is a problem with the network communication line of the target application in the computing device. If it matches, the target speech continues to be determined from the speech template.

11. A computing device comprising: at least one processor; as well as A memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, and the program instructions include instructions for executing the method according to any one of claims 1 to 9. 12 . A readable storage medium storing program instructions, wherein when the program instructions are read and executed by a computing device, the computing device is caused to execute the method according to claim 1 .

Citation Information

Patent Citations

  • Private number automatic call testing method and system based on trunk line

    CN111756931A

  • IVR test system

    CN209545673U

  • AI man-machine interaction fault identification system

    CN217563676U