Method for testing call functions and call switching platform
By generating virtual numbers on a call exchange platform to test the call center's call function, the problems of real numbers occupying communication resources and credit risk are solved, thus achieving efficient call function testing.
Patent Information
- Application Number
- CN202211127221.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-16
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2042-09-16
AI Technical Summary
In existing technologies, using real numbers for call function testing in call centers leads to the consumption of communication line resources and may result in the number being judged as having poor credit, causing waste of communication line resources and number risk.
By generating virtual numbers on a call exchange platform and sending them to VoIP clients, communication between the virtual numbers and the call center is established, avoiding the occupation of real line resources and reducing the risk of real numbers being judged as having poor credit.
This allows for testing of call functions without consuming real communication line resources, avoiding the risk of real numbers being judged as having poor credit, and improving the testing efficiency and resource utilization of call centers.
Smart Images

Figure CN116156058B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of communication, in particular to a call function testing method and a call exchange platform. BACKGROUND
[0002] At present, in order to test the call function of an Internet call center (ICC), a real number is used to interact with the ICC through a Public Switched Telephone Network (PTSN) and a call exchange platform (for example, Freeswitch) to test the call function of the ICC. In this way, during the call function testing process, the real number will be called into the ICC or called by the ICC multiple times through the PTSN, which will generate multiple communication records on the PTSN, thereby easily causing the real number to be judged as a bad credit number, and such calls will occupy the communication line resources of the PTSN. SUMMARY
[0003] The present disclosure provides a call function testing method and a call exchange platform, which can solve the problem of excessive occupation of real communication line resources when testing the call function of an Internet call center.
[0004] In a first aspect, the present disclosure provides a call function testing method, which is applied to a call exchange platform, and the method comprises the following steps:
[0005] generating and saving a first virtual number;
[0006] sending the first virtual number to a network telephone client, so that the network telephone client saves the first virtual number;
[0007] in response to a call request generated based on the first virtual number, establishing communication between the network telephone client corresponding to the first virtual number and an Internet call center; wherein the Internet call center is connected to the call exchange platform;
[0008] testing the call function of the Internet call center according to the communication result between the network telephone client corresponding to the first virtual number and the Internet call center.
[0009] In a second aspect, the present disclosure provides a call function testing method, which is applied to a network telephone client, and the method comprises the following steps:
[0010] receiving and saving a first virtual number sent by a call exchange platform;
[0011] generating a call request carrying the first virtual number, and sending the call request to a call exchange platform, so that the call exchange platform establishes communication between the network telephone client corresponding to the first virtual number and the call center in response to the call request, and performs call function testing on the call center according to a communication result between the network telephone client corresponding to the first virtual number and the call center.
[0012] In a third aspect, the present disclosure provides a call function testing method, which is applied to a call center, and the method comprises:
[0013] generating a call request carrying the first virtual number, and sending the call request to a call exchange platform, so that the call exchange platform establishes communication between the network telephone client corresponding to the first virtual number and the call center in response to the call request, and performs call function testing on the call center according to a communication result between the network telephone client corresponding to the first virtual number and the call center.
[0014] In a fourth aspect, the present disclosure provides a call exchange platform, which comprises:
[0015] a generating module configured to generate and save a first virtual number;
[0016] a sending module configured to send the first virtual number to a network telephone client, so that the network telephone client saves the first virtual number;
[0017] a communication establishing module configured to establish communication between a network telephone client corresponding to the first virtual number and a call center in response to a call request generated based on the first virtual number, wherein the call center is connected to the call exchange platform;
[0018] a call function testing module configured to perform call function testing on the call center according to a communication result.
[0019] In a fifth aspect, the present disclosure provides an electronic device, which comprises at least one processor, and a memory connected to the at least one processor in communication, wherein the memory stores one or more computer programs executable by the at least one processor, and the one or more computer programs are executed by the at least one processor to enable the at least one processor to perform the above method.
[0020] In a sixth aspect, the present disclosure provides a computer readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor / processing core, implements the above method.
[0021] The embodiments provided by the present disclosure generate a first virtual number at a call exchange platform, and send the first virtual number to a network telephone client, so that the network telephone client saves the first virtual number, and then, in response to a call request generated based on the first virtual number, the communication between the network telephone client corresponding to the first virtual number and the call center is established, and the call center is tested for call function according to the communication result. In this way, the call exchange platform is used as a simulation gateway to communicate with the call center based on the first virtual number, so as to avoid occupying real communication line resources, and avoid the risk that the real number is judged as a bad credit number due to call function test using the real number.
[0022] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent to those skilled in the art through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0023] The accompanying drawings are intended to provide a further understanding of the present disclosure and constitute a part of the specification, together with the embodiments of the present disclosure, to explain the present disclosure, and do not constitute a limitation of the present disclosure. The above and other features and advantages will become more apparent to those skilled in the art through the description of the detailed example embodiments by referring to the accompanying drawings, in which:
[0024] Figure 1 Flowchart of incoming function test in related art;
[0025] Figure 2 Flowchart of outgoing function test in related art;
[0026] Figure 3 Architecture diagram of application scenario of the present disclosure;
[0027] Figure 4 Flowchart of a call function test method provided by the embodiments of the present disclosure (call exchange platform side);
[0028] Figure 5 Flowchart of one of S13 in a call function test method provided by the embodiments of the present disclosure;
[0029] Figure 6 Flowchart of incoming function test in a call function test method provided by the embodiments of the present disclosure;
[0030] Figure 7 Flowchart of the second of S13 in a call function test method provided by the embodiments of the present disclosure;
[0031] Figure 8A flowchart of an outgoing call function test in a call function test method provided by an embodiment of the present disclosure;
[0032] Figure 9 A flowchart of a call function test method provided by an embodiment of the present disclosure (network telephone client side);
[0033] Figure 10 A flowchart of a call function test method provided by an embodiment of the present disclosure (call center side);
[0034] Figure 11 An architecture diagram of a call exchange platform provided by an embodiment of the present disclosure;
[0035] Figure 12 A block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to help understanding, and should be considered as merely exemplary. Therefore, those skilled in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, for the sake of clarity and conciseness, the description below omits the description of well-known functions and structures.
[0037] In the case of no conflict, each embodiment of the present disclosure and each feature in the embodiments can be combined with each other.
[0038] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0039] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the terms "comprise" and / or "consist of, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. The terms "connected" or "coupled" and / or similar terms are not limited to a physical or mechanical connection, but can include an electrical connection, whether direct or indirect.
[0040] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure and will not be interpreted in an overly literal or overly formal sense unless expressly so defined herein.
[0041] In the related art, a communication system performing a call function test includes a public switched telephone network (PTSN) 01, a user terminal 02 connected to the PTSN 01, a call switching platform (for example, Freeswitch) 03 connected to the PTSN 01, and an Internet call center (ICC) 04 connected to the call switching platform 03. Taking a call function test including an incoming function test (user terminal 02→ICC 04) and an outgoing function test (ICC 04→user terminal 02) for a call center as an example, the process of the call function test is as follows:
[0042] (1) Referring to Figure 1 , Figure 1 is a flowchart of an incoming function test in the related art. The steps of the incoming function test include: S011, a user A (that is, a test user) sends a call request for the ICC 04 to the PTSN 01 based on a real number and through the user terminal 02; S012, the PTSN 01 sends an access request to the call switching platform 03 in response to the call request; S013, the call switching platform 03 sends a communication establishment request to the ICC 04 in response to the access request to perform the incoming function test, and if the ICC 04 returns consent communication information to the call switching platform 03 in response to the communication establishment request, the call switching platform 03 further exchanges with the PTSN 01 to establish communication between the ICC 04 and the user terminal 02.
[0043] (2) Referring to Figure 2 , Figure 2The flowchart for the outgoing call function test in the related art is shown. The agent assistant tool 05 is a terminal tool used by each agent in the ICC 04 to log in the call center and operate in the call center. The steps of the outgoing call function test include: S021, the agent sends an outgoing call command (for example, an originate command) for a real number of the user terminal 02 to the call switching platform 03 through the agent assistant tool 05; S022, the call switching platform 03 sends a Session initialization Protocol (SIP) command to the PTSN 01 to perform a connection test in response to the outgoing call command; S023, the PTSN 01 sends a communication establishment request to the user terminal 02 to perform the outgoing call function test in response to the SIP command, and if the user terminal 02 returns consent communication information to the PTSN 01 in response to the communication establishment request, the PTSN 01 returns a SIP pass signaling to the call switching platform 03; S024, the call switching platform 03 sends a communication establishment request to the ICC 04 to establish communication between the ICC 04 and the user terminal 02 in response to the SIP pass signaling.
[0044] In the above manner, in the process of the call function test, the user terminal 02 based on the real number calls the call center 04 multiple times through the PTSN 01 or is called by the call center 04, which generates multiple communication records on the PTSN 01, thereby easily causing the real number to be judged as a bad credit number, and such a call occupies the communication line resources of the PTSN 01, causing the processing capacity of the PTSN 01 for other services to decrease.
[0045] To solve the above problems, in the process of the call function test, the first virtual number is generated on the call switching platform, and the first virtual number is sent to the network telephone client, so that the network telephone client saves the first virtual number, and then the communication between the network telephone client corresponding to the first virtual number and the call center is established in response to the call request generated based on the first virtual number, and the call function test of the call center is performed according to the communication result, so that the communication between the call switching platform and the call center is performed through the first virtual number, the real communication line resources are avoided to be occupied, and the risk that the real number is judged as a bad credit number due to the use of the real number for the call function test is avoided.
[0046] The call function test method according to the embodiments of the present application can be executed by an electronic device such as a terminal device or a server. The terminal device can be a vehicle-mounted device, a user equipment (UE), a mobile device, a user terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The server can be a standalone physical server, a server cluster, or a cloud server capable of cloud computing. The call function test method can be specifically implemented by a manner of calling computer readable program instructions stored in a memory of the electronic device by a processor.
[0047] The embodiments of the present disclosure provide a call function test method, and an application scenario of the method includes a network communication system. Referring to Figure 3 , Figure 3 A system architecture diagram of a network communication system to which the embodiments of the present disclosure are applied is shown, and the network communication system includes a call exchange platform 1, a network telephone client 2, and an ICC (i.e., a call center) 3 connected to the call exchange platform 1, respectively.
[0048] The call exchange platform 1 is a soft switching solution for communication, and includes a soft telephone and a soft switch, to provide product driving of voice and chat. The call exchange platform is, for example, a Freeswitch platform, which can be used as a switch engine, a user-level switch (PBX), an analog gateway, a multimedia server, etc. In the present disclosure, the call exchange platform 1 provides a network telephone client 2 and the ICC 3 provides a switch service. The network telephone client 2 is a virtual telephone platform (i.e., the network telephone client 2 is a network telephone platform 2 in Figure 3 ), which communicates by using SIP, and when a call is made by using the network telephone client, communication data is converted into a data signal and is transmitted by using a network, without communicating by using a PTSN. The network telephone client is, for example, a MicroSIP platform. The ICC 3 is equivalent to an integrated "service window" of an integrated network, and specifically, is a technology of using CTI (Computer Telephony Integration) to seamlessly integrate many parallel and vertical services provided by an existing integrated information network of an enterprise, to provide a horizontal service that integrates multiple service functions. The ICC 3 includes at least one role group, and each role group includes at least one agent terminal. Each role group is configured with a call center number, and the agent terminals in the same role group communicate by using the call center number matched with the role group.
[0049] In a first aspect, the embodiments of the present disclosure provide a method for testing a call function, referring to Figure 4 , Figure 4 A flowchart of the method provided by the embodiments of the present disclosure is shown, which can be applied to a call switching platform, and the method comprises the following steps:
[0050] S11, the call switching platform generates and saves a first virtual number.
[0051] The first virtual number can be generated in a random manner, and the first virtual number is used to simulate a user terminal communication number of a user, and is used as a user terminal to perform a call function test with a call center.
[0052] In some examples, S11 comprises:
[0053] Sub-step one, the call switching platform creates a virtual number configuration file corresponding to the first virtual number, and adds the first virtual number into the virtual number configuration file.
[0054] Sub-step two, the call switching platform determines a network phone client receiving the first virtual number, and obtains a communication port address provided by the network phone client for interfacing with the call switching platform.
[0055] Sub-step three, the call switching platform obtains dialing flow instruction information matched with the first virtual number.
[0056] Sub-step four, the call switching platform adds the communication port address and the dialing flow instruction information into the virtual number configuration file.
[0057] The call switching platform creates a virtual number configuration file, enters the virtual number configuration file, adds the first virtual number into the virtual number configuration file, determines a network phone client receiving and saving the first virtual number in a subsequent step, obtains a communication port address provided by the network phone client for interfacing with the call switching platform, then obtains pre-configured dialing flow instruction information matched with the first virtual number, adds the first virtual number, the communication port address corresponding to the first virtual number, and the dialing flow instruction information into the virtual number configuration file, and finally saves the virtual number configuration file. The virtual number configuration file can be an Extensible Markup Language (XML) file. The dialing flow instruction information is used to indicate the call switching center to establish a communication flow between the network phone client and the call center in the outgoing call function test, and specifically includes instructions to be called.
[0058] After sub-step four of S11, S11 can further comprise:
[0059] Sub-step five, the call switching platform loads the internal configuration file containing the virtual number configuration file in response to the configuration loading command, to enable the virtual number configuration file.
[0060] The internal configuration file is each configuration file associated with the call switching platform, i.e., the configuration file saved internally by the call switching platform and the configuration file having a calling relationship with the call switching platform. It can be learned that the internal configuration file contains the virtual number configuration file.
[0061] The virtual number configuration file is created and saved in sub-steps one to four, but the virtual number configuration file is not effective at this time. In order to enable the virtual number configuration file, a configuration loading command can be input to the call switching platform, so that the call switching platform loads the internal configuration file containing the virtual number configuration file in response to the configuration loading command, thereby enabling the virtual number configuration file (making the virtual number configuration file effective).
[0062] In some examples, the virtual number configuration file can also be loaded without loading all internal configuration files. In this case, the above sub-step five is: the call switching platform loads the virtual number configuration file in response to the virtual number configuration file loading command, to enable the virtual number configuration file. In this case, the virtual number configuration file can be added with a file identifier, and the virtual number configuration file loading command contains the file identifier. The call switching platform loads the virtual number configuration file matched with the file identifier according to the file identifier.
[0063] The method of loading all internal configuration files can accurately ensure that the virtual number configuration file and the configuration file that can be associated with the virtual number configuration file are loaded, thereby improving the stability of operation. The method of separately loading the virtual number configuration file can reduce the loading time and the system resources occupied by loading.
[0064] In some examples, before S11, the call function test method further includes: the call center creating a role group and configuring a call center number of the role group. This step includes the following sub-steps:
[0065] Sub-step one, the call center creates at least one role group, and each role group contains at least one agent terminal.
[0066] The call center includes at least one role group, and the role group belongs to a business group (for example, an enterprise group, an operator group, a customer service group, etc.). A role group includes multiple agent terminals, each agent terminal provides services for an agent, and the agent communicates with a customer (a first virtual number in the embodiment of the present disclosure) through the agent terminal.
[0067] Sub-step two: The call center configures a call center number for each role group.
[0068] Each role group is configured with a call center number. Agent terminals within the same role group all communicate using the call center number that matches that role group. The call center number can be a custom number. Each role group includes a matching role group identifier, and the call center maintains a mapping relationship between each role group identifier and the call center number.
[0069] Sub-step three: The call center sends the call center number, role group, and their mapping relationship to the call exchange platform, so that the call exchange platform saves the mapping relationship between the call center number and the role group as incoming call indication information.
[0070] S12. The call exchange platform sends the first virtual number to the VoIP client so that the VoIP client can save the first virtual number.
[0071] In some examples, the VoIP client stores a first virtual number, including: the VoIP client generates and stores a registered account that matches the first virtual number, and sets the external communication port address of the registered account to the communication port address in the VoIP client used to connect to the call exchange platform.
[0072] Specifically, the VoIP client provides multiple communication ports (IP:port), each connecting to a different communication platform to provide corresponding VoIP services. One of these ports is used to interface with the call exchange platform, through which the VoIP client interacts. When the call exchange platform receives the first virtual number from the call exchange platform, the VoIP client generates a registration account matching that virtual number. This registration account's external communication number on the VoIP client is the first virtual number, and the client sets the external communication port address of the registration account to the port address used by the VoIP client to interface with the call exchange platform. In this way, in subsequent steps, when the call exchange platform interacts with the VoIP client through the communication port it interfaces with, it can access the registration account associated with the first virtual number via that port address.
[0073] S13. In response to the received call request generated based on the first virtual number, the call exchange platform establishes communication between the VoIP client corresponding to the first virtual number and the call center.
[0074] Specifically, S13 includes several sub-steps:
[0075] Sub-step one, the call exchange platform invokes a pre-stored call configuration file containing the call number in response to a call request sent by the call originating end, carrying the call number of the call receiving end, and sends a connection establishment request to the call receiving end according to the call configuration file.
[0076] Sub-step two, in the case where the call receiving end returns connection agreement information in response to the connection establishment request, the communication between the call originating end and the call receiving end is established according to the call configuration file.
[0077] Wherein, when the call originating end is a call center, the call receiving end is a network phone client; when the call originating end is a network phone client, the call receiving end is a call center.
[0078] The following will be described in detail according to the type of call function test, for the above sub-step one and sub-step two.
[0079] In one implementation, the call function test includes: the network phone client performs incoming call function test on the call center, that is, the network phone client calls the call center number of the call center based on the first virtual number. In the case where the call function test is the incoming call function test, the call originating end in the above sub-step one and sub-step two of S13 is the network phone client, the call receiving end is the call center, the call configuration file is the incoming call configuration file, and the call number is the call center number of the call center. Based on the above, in the case where the call function test is the incoming call function test, see Figure 5 and Figure 6 wherein, Figure 5 a specific step flowchart of S13 in the case of incoming call function test is shown, Figure 6 a flowchart of the incoming call function test is shown. In the case where the call function test is the incoming call function test, before S13, the call function test method provided by the embodiment of the disclosure further includes:
[0080] Sub-step A, the call exchange platform generates and enables the incoming call configuration file, and the incoming call configuration file includes the call center number, the incoming call object indication information corresponding to the call center number, and the incoming call flow indication information.
[0081] The incoming configuration file is a configuration file of the call center number to be called in the incoming function test, and includes the call center number, incoming object indication information indicating the role group corresponding to the call center number, and incoming process indication information corresponding to the call center number. The incoming process indication information is used to indicate a communication process in which the call exchange platform establishes communication between the network telephone client and the call center (specifically, a seat of the call center in the role group for the call center number). The communication process specifically includes instructions to be called (for example, find_agent (agent search instruction), uuid_brige (call bridging instruction), and the like), and a matching rule for matching a seat processing the current call request. Specifically, the matching rule of the seat includes at least one of the following: matching according to the seat business processing amount, matching according to the seat idle amount, and matching according to the seat business evaluation.
[0082] In some examples, the sub-step A specifically includes:
[0083] The call exchange platform generates an incoming configuration file.
[0084] The call exchange platform receives the role group, the call center number of the role group, and the mapping relationship between the two sent by the call center. The role group and the call center number of the role group are in a one-to-one correspondence. The call exchange platform creates an incoming configuration file, enters the incoming configuration file, adds at least one call center number in the incoming configuration file, adds call object indication information indicating the role group corresponding to the call center number, adds incoming process indication information corresponding to the call center number, and saves the incoming configuration file. The incoming configuration file can be an XML file. The dialing process indication information is used to indicate the call exchange center to establish a communication process between the network telephone client and the target incoming object in the incoming function test. Specifically, the communication process includes instructions to be called.
[0085] The call exchange platform loads the internal configuration file containing the incoming configuration file in response to the configuration loading command to enable the incoming configuration file.
[0086] The internal configuration file is each configuration file associated with the call exchange platform, that is, the configuration file saved internally by the call exchange platform and the configuration file having a calling relationship with the call exchange platform. It can be learned that the internal configuration file contains the above-mentioned incoming configuration file.
[0087] The incoming call profile is created and saved in sub-step a, but the incoming call profile is not effective at this time. In order to enable the incoming call profile, a configuration loading command can be input to the call exchange platform, so that the call exchange platform loads the internal configuration file containing the incoming call profile in response to the configuration loading command, thereby enabling the incoming call profile (making the incoming call profile effective).
[0088] In some examples, the incoming call profile can also be loaded without loading all internal configuration files. In this case, sub-step b is that the call exchange platform loads the incoming call profile in response to the incoming call profile loading command to enable the incoming call profile. In this case, the incoming call profile can be added with a file identifier, and the incoming call profile loading command contains the file identifier. The call exchange platform loads the incoming call profile matching the file identifier according to the file identifier.
[0089] The method of loading all internal configuration files can accurately ensure that the incoming call profile and the configuration files that can be associated with the incoming call profile are loaded, thereby improving the stability of operation. The method of loading the incoming call profile alone can reduce the loading time and the system resources occupied by loading.
[0090] Further, based on the above, S13 comprises:
[0091] S131a, the call exchange platform obtains the incoming object indication information corresponding to the call center number from the incoming call profile in response to the call request generated by the network telephone client with the first virtual number as the calling number and carrying the call center number, and determines the target incoming object in the call center corresponding to the incoming object indication information.
[0092] In the process of testing the incoming call function, the network telephone client uses the registered account registered based on the first virtual number to dial the call center number, in other words, generates a call request carrying the call center number, and sends the call request to the call exchange platform. The call exchange platform receives the call request, calls the incoming call profile, obtains the incoming object indication information corresponding to the call center number from the incoming call profile, and determines the target incoming object in the call center corresponding to the incoming object indication information.
[0093] The target incoming object in the call center corresponding to the incoming object indication information is determined, comprising: determining the role group matched with the call center number carried by the call request according to the mapping relationship between the call center number and the role group contained in the incoming object indication information, and the role group matched with the call center number carried by the call request is the target incoming object.
[0094] S132a, a connection establishment request carrying the call center number is sent to the target incoming object in the call center corresponding to the incoming object indication information.
[0095] In this way, the call exchange platform receives the call request for the call center number, confirms the role group corresponding to the call center number, and only sends the call request to the agent in the role group, so as to determine the target incoming object on the call exchange platform side, thereby reducing the resource occupation of the call center side. After a certain agent in the call center receives the above connection establishment request, if agrees to connect, returns the connection agreement information to the call exchange platform.
[0096] It should be noted that step S131a and step S132a are an implementation of substep one of S13, of course, substep one also has other implementation ways, which are not limited here.
[0097] S133a, in the case where the call center returns the connection agreement information in response to the connection establishment request, the incoming process indication information corresponding to the call center number is obtained from the incoming configuration file, and the communication between the network telephone client and the target incoming object in the call center is established according to the incoming process indication information.
[0098] After the call exchange platform receives the connection agreement information returned by the call center in response to the connection establishment request, the call center number corresponding to the call request this time is matched in the incoming configuration file, and the incoming process indication information is obtained. The incoming process indication information includes, for example, agent finding instruction find_agent for determining the server of the agent this time, bridge instruction uuid_brige for establishing the communication between the network telephone client and the agent in the role group, and the execution order of each instruction. The specific incoming process indication information can be fully adjusted according to the instructions supported by the call exchange platform and the requirements of the incoming function test scene, which is not limited here. The incoming process indication information can also include matching rules for matching the agent processing the call request this time. The call exchange platform executes each instruction according to the incoming process indication information and determines the target agent of the connection, so as to establish the communication between the network telephone client and the target incoming object (target agent) in the call center.
[0099] It should be noted that step S133a is an implementation of substep two of S13, of course, substep two also has other implementation ways, which are not limited here.
[0100] Through the above-mentioned manner, the first virtual number is used to call the call center through the call exchange platform, which avoids occupying the real communication line resources, and avoids the risk of judging the real number as a bad credit number due to the use of real number for call function test. The incoming function test for the call center is realized.
[0101] In yet another implementation, the call function test comprises: an outbound call function test in which the call center makes a call to the network phone client, i.e., any agent terminal in any role group of the call center makes a call to the network phone client based on the call center number of the role group to which the agent terminal belongs based on the first virtual number. In the case of the call function test being the outbound call function test, the calling initiator in the sub-step one and the sub-step two of S13 is the call center, the call receiver is the network phone client, the call configuration file is the virtual number configuration file containing the first virtual number, and the call number is the first virtual number. Based on the above, in the case of the call function test being the inbound call function test, refer to Figure 7 and Figure 8 wherein, Figure 7 a specific step flowchart of S13 in the case of the outbound call function test is shown, Figure 8 a flowchart of the outbound call function test is shown, S13 comprises:
[0102] S131b, the call switching platform, in response to the call request carrying the first virtual number sent by the call center, acquires the communication port address matched with the first virtual number from the virtual number configuration file, and sends a connection establishment request carrying the first virtual number to the network phone client through the communication port address.
[0103] In the process of performing the outbound call function test, any agent terminal in any role group of the call center dials the first virtual number based on the call center number matched with the role group to which the agent terminal belongs, in other words, the call center generates a call request carrying the first virtual number, and sends the call request to the call switching platform. The call switching platform, after receiving the call request, calls the virtual number configuration file, the generation steps of which are described above in the sub-step one to the sub-step four of S11, and will not be described here again. The communication port address matched with the first virtual number is acquired from the virtual number configuration file, i.e., the communication port address provided by the network phone client for interfacing the call switching platform is saved, and a connection establishment request is sent to the network phone client through the communication port address. After receiving the connection establishment request, the network phone client establishes a connection using the registered account matched with the first virtual number according to the first virtual number in the connection establishment request, and returns the consent information to the call switching platform if the connection is agreed.
[0104] In some examples, the call center comprises at least one role group, each role group comprising at least one agent terminal, each agent terminal connecting the call center through the agent assistant tool 4, the agent assistant tool being a terminal tool used by each agent in the call center to log in the call center and operate in the call center. When the agent terminal needs to call out for the first virtual number, the agent terminal sends a call-out command (for example, an originate command) carrying the first virtual number to the call center through the agent assistant tool, and correspondingly, the call center sends a call request to the call exchange platform in the following manner: the call center generates a call request carrying the first virtual number in response to the call-out command carrying the first virtual number sent by the agent assistant tool, and sends the call request to the call exchange platform. The agent assistant tool can be a software development kit (SDK).
[0105] It should be noted that step S131b is an implementation of sub-step one of S13, and of course, sub-step one has other implementations, which are not limited here.
[0106] S132b, in the case where the network phone client returns the connection agreement information in response to the connection establishment request, obtaining dialing process instruction information corresponding to the first virtual number from the virtual number configuration file, and establishing communication between the network phone client and the call center according to the dialing process instruction information.
[0107] After the call exchange platform receives the connection agreement information returned by the network phone client in response to the connection establishment request, the dialing process instruction information matching the first virtual number corresponding to the current call request in the virtual number configuration file is obtained, and the dialing process instruction information includes, for example, SIP commands, call bridge instruction uuid_brige, and the execution order of each instruction. Specifically, the call exchange platform sends a SIP command to the network phone client to test whether the network phone client can normally communicate; in the case where the SIP pass signaling (i.e., SIP 200ok signaling) returned by the network phone client in response to the SIP command is received, the call bridge instruction uuid_brige is executed to establish communication between the network phone client and the call center. That is, the call exchange platform first performs connection testing with the network phone client through the SIP command, and then establishes communication in the case where the connection testing is passed.
[0108] It should be noted that step S132b is an implementation of sub-step two of S13, and of course, sub-step two has other implementations, which are not limited here.
[0109] In this way, the call center calls out the first virtual number through the call exchange platform, avoids occupying real communication line resources, and avoids the risk of real numbers being judged as bad credit numbers due to call function testing using real numbers.
[0110] In another implementation, the call function test includes a call stress test, i.e., a test of the number of services that the call center can handle within a preset time period. In this case, the number of first virtual numbers is multiple, and the virtual number configuration file contains multiple first virtual numbers. The call center is tested using multiple first virtual numbers.
[0111] Based on the above, in this case, S11 includes generating multiple first virtual numbers and a dialing order of the multiple first virtual numbers.
[0112] S12 includes sending the multiple first virtual numbers and the dialing order of the multiple first virtual numbers to the network phone client, so that the network phone client saves the multiple first virtual numbers and the dialing order of the multiple first virtual numbers.
[0113] S13 includes, in response to the multiple call requests corresponding to the multiple first virtual numbers sent by the network phone client in sequence according to the dialing order, establishing communication between the network phone client and the call center based on each first virtual number in sequence according to the dialing order within a preset time period.
[0114] That is, in the call stress test, the network phone client dials the call center number with multiple first virtual numbers in sequence according to the dialing order within a preset time period. According to the number of successful communication establishments, the call pressure capacity of the call center can be evaluated.
[0115] In the call stress test, each of the multiple first virtual numbers can be tested according to the dialing order according to the above S131a-S133a, and the details are not repeated here.
[0116] S14, the call exchange platform performs call function testing on the call center according to the communication result between the network phone client corresponding to the first virtual number and the call center.
[0117] In the incoming call capability test and the outgoing call capability test, whether a single call request is successful is taken as the communication result, and the call function of the call center is evaluated; in the call stress test, S14 includes: recording the number of times that the network telephone client successfully establishes communication with the call center in a preset time period, and testing the call function of the call center according to the number of times; the higher the number of times of successfully establishing communication, the higher the call pressure bearing capacity of the call center.
[0118] The above method provided by the present disclosure generates a first virtual number on the call exchange platform, sends the first virtual number to the network telephone client, and makes the network telephone client save the first virtual number. Then, in response to a call request generated based on the first virtual number, the network telephone client establishes communication between the network telephone client corresponding to the first virtual number and the call center, and tests the call function of the call center according to the communication result. In this way, the call exchange platform is used as a simulation gateway to communicate with the call center based on the first virtual number, thereby avoiding occupying real communication line resources and avoiding the risk of real numbers being judged as bad credit numbers due to call function testing using real numbers.
[0119] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form combined embodiments without deviating from the principle logic. Due to the limited length, the present disclosure will not be described again. Those skilled in the art can understand that in the above-mentioned method of the specific embodiment, the specific execution order of each step should be determined according to its function and possible internal logic.
[0120] In a second aspect, the present disclosure provides a call function test method, which is applied to a network telephone client, referring to Figure 9 , Figure 9 A flowchart of the method provided by the present embodiment is shown, which includes:
[0121] S21, receiving and saving the first virtual number sent by the call exchange platform.
[0122] The first virtual number is generated by the call exchange platform, and the first virtual number can be generated in a random manner. The first virtual number is used to simulate the user terminal communication number of a user, and is used for call function testing between the user terminal and the call center.
[0123] In some examples, S21 includes: the network telephone client generates and saves a registered account matched with the first virtual number, and sets the external communication port address of the registered account as the communication port address of the network telephone client used for interfacing with the call exchange platform.
[0124] Specifically, the network phone client provides a plurality of communication ports (ip:port), and different communication ports are connected to different communication platforms to provide corresponding network phone services. Among them, one of the plurality of communication ports is used to interface with the call exchange platform, and the network phone client interacts with the call exchange platform through the communication port. When the network exchange platform receives the first virtual number sent by the call exchange platform, the network phone client generates a registered account matched with the first virtual number, that is, the registered account has the first virtual number as the external communication number of the network phone client, and sets the external communication port address of the registered account as the communication port address of the network phone client used to interface with the call exchange platform. In this way, in the subsequent steps, when the call exchange platform interacts with the network phone client through the communication port interfaced with the network phone client, the registered account of the first virtual number can be called through the communication port address.
[0125] S22, generate a call request carrying the call center number based on the first virtual number, and send the call request to the call exchange platform, so that the call exchange platform establishes communication between the network phone client corresponding to the first virtual number and the call center in response to the call request, and performs call function testing on the call center according to the communication result between the network phone client corresponding to the first virtual number and the call center.
[0126] In the process of performing the incoming call function test, the network phone client uses the registered account registered based on the first virtual number to dial the call center number, in other words, generates a call request carrying the call center number and sends the call request to the call exchange platform. After receiving the call request, the call exchange platform calls the incoming call configuration file, obtains the incoming call object indication information corresponding to the call center number from the incoming call configuration file, and determines the target incoming call object in the call center corresponding to the incoming call object indication information; then sends a connection establishment request carrying the call center number to the target incoming call object in the call center corresponding to the incoming call object indication information; and then in the case that the call center returns consent connection information in response to the connection establishment request, obtains the incoming call process indication information corresponding to the call center number from the incoming call configuration file, and establishes communication between the network phone client and the target incoming call object in the call center according to the incoming call process indication information.
[0127] In a third aspect, the present disclosure provides a call function testing method, which is applied to a call center, as shown in Figure 10 , Figure 10 A flowchart of the method provided by the embodiment is shown, and the method comprises:
[0128] S31, a call request carrying the first virtual number is generated and sent to the call exchange platform, so that the call exchange platform establishes communication between the call center and the network telephone client corresponding to the first virtual number in response to the call request, and performs call function testing on the call center according to the communication result between the call center and the network telephone client corresponding to the first virtual number.
[0129] In the process of performing the outgoing call function test, any agent terminal in any role group in the call center dials the first virtual number based on the call center number matched by the role group to which the agent terminal belongs, in other words, the call center generates a call request carrying the first virtual number and sends the call request to the call exchange platform, the call exchange platform calls the virtual number configuration file after receiving the call request, obtains the communication port address matched with the first virtual number from the virtual number configuration file, that is, the communication port address provided by the network telephone client for interfacing the call exchange platform and saves the first virtual number, and then sends a connection establishment request to the network telephone client through the communication port address. After receiving the connection establishment request, the network telephone client establishes a connection using the registered account matched with the first virtual number in the connection establishment request according to the first virtual number in the connection establishment request, and returns connection agreement information to the call exchange platform if the connection is agreed; in the case where the network telephone client returns the connection agreement information in response to the connection establishment request, the dialing process instruction information corresponding to the first virtual number is obtained from the virtual number configuration file, and the communication between the network telephone client and the call center is established according to the dialing process instruction information.
[0130] In some examples, the call center includes at least one role group, each role group includes at least one agent terminal, and each agent terminal connects the call center through a seat assistant tool 4, which is a terminal tool used by each agent in the call center to log in to the call center and operate in the call center. When the agent terminal needs to dial out for the first virtual number, the agent terminal sends a dial-out call command (for example: originate command) carrying the first virtual number to the call center through the seat assistant tool, and correspondingly, the call center sends a call request to the call exchange platform in the following way: the call center generates a call request carrying the first virtual number in response to the dial-out call command carrying the first virtual number sent by the seat assistant tool, and sends the call request to the call exchange platform. The seat assistant tool can use SDK.
[0131] In a fourth aspect, the disclosure provides a call exchange platform, which is described with reference to Figure 11 , Figure 11 An architecture diagram of the call exchange platform provided by the embodiment is shown, and the call exchange platform includes:
[0132] The generating module 101 is configured to generate and save a first virtual number;
[0133] The sending module 102 is configured to send the first virtual number to a network telephone client, so that the network telephone client saves the first virtual number;
[0134] The communication establishing module 103 is configured to, in response to a call request generated based on the first virtual number and received, establish communication between the network telephone client corresponding to the first virtual number and a call center; the call center is connected to the call exchange platform;
[0135] The call function testing module 104 is configured to perform call function testing on the call center according to a communication result.
[0136] In some examples, the communication establishing module 103 is configured to, in response to a call request sent by a call initiating end and carrying a call number of a call receiving end, call a pre-stored call configuration file containing the call number, and send a connection establishment request to the call receiving end according to the call configuration file;
[0137] In a case where the call receiving end returns consent connection information in response to the connection establishment request, the communication between the call initiating end and the call receiving end is established according to the call configuration file;
[0138] In a case where the call initiating end is the call center, the call receiving end is the network telephone client corresponding to the first virtual number; in a case where the call initiating end is the network telephone client corresponding to the first virtual number, the call receiving end is the call center.
[0139] In some examples, the call function testing includes incoming call function testing performed by the network telephone client on the call center; in a case where the call function testing is the incoming call function testing, the call initiating end is the network telephone client, the call receiving end is the call center, the call configuration file is an incoming call configuration file, and the call number is a call center number of the call center; the apparatus further includes an incoming call configuration file generating module configured to generate and enable the incoming call configuration file, the incoming call configuration file containing the call center number, incoming call object indication information corresponding to the call center number, and incoming call process indication information; the communication establishing module 103 is specifically configured to:
[0140] in response to the call request sent by the network phone client, the call request being generated with the first virtual number as a calling number and carrying the call center number, obtaining the call object indication information corresponding to the call center number from the incoming call profile, and determining a target call object in the call center corresponding to the call object indication information;
[0141] sending a connection establishment request carrying the call center number to the target call object in the call center corresponding to the call object indication information;
[0142] obtaining the call flow indication information corresponding to the call center number from the incoming call profile, and establishing the communication between the network phone client and the target call object in the call center according to the call flow indication information.
[0143] In some examples, the apparatus further comprises:
[0144] a role creation module configured to create at least one role group, each of the role groups containing at least one agent terminal;
[0145] a number configuration module configured to configure a call center number for each role group;
[0146] the call object indication information comprises a mapping relationship between the call center number and the role group;
[0147] In the communication establishment module 103, the determination of the target call object in the call center corresponding to the call object indication information comprises: determining a role group matching the call center number carried by the call request according to the mapping relationship between the call center number and the role group contained in the call object indication information.
[0148] In some examples, the call function test comprises: an outgoing call function test of the call center on the network phone client; in the case where the call function test is the outgoing call function test, the call initiator is the call center, the call receiver is the network phone client, the call configuration file is a virtual number configuration file, and the call number of the call receiver is the first virtual number; the generation module 101 is specifically configured to: create a virtual number configuration file corresponding to the first virtual number, and add the first virtual number into the virtual number configuration file;
[0149] determining a network phone client receiving the first virtual number, and obtaining a communication port address provided by the network phone client receiving the first virtual number and used for connecting to the call switching platform;
[0150] obtaining dialing flow indication information matching the first virtual number;
[0151] add the communication port address and the dialing procedure indication information into the virtual number configuration file;
[0152] The communication establishing module 103 is specifically configured to:
[0153] in response to the call request carrying the first virtual number sent by the call center, acquire the communication port address matched with the first virtual number from the virtual number configuration file, and send a connection establishing request carrying the first virtual number to the network telephone client through the communication port address;
[0154] acquire the dialing procedure indication information corresponding to the first virtual number from the virtual number configuration file, and establish the communication between the network telephone client and the call center according to the dialing procedure indication information.
[0155] In some examples, the call function test includes a call stress test, and the number of the first virtual numbers is multiple.
[0156] The generating module 101 is specifically configured to generate multiple first virtual numbers and a dialing sequence of the multiple first virtual numbers.
[0157] The sending module 102 is specifically configured to send the multiple first virtual numbers and the dialing sequence of the multiple first virtual numbers to the network telephone client, so that the network telephone client saves the multiple first virtual numbers and the dialing sequence of the multiple first virtual numbers.
[0158] The communication establishing module 103 is specifically configured to:
[0159] in response to the multiple call requests corresponding to the multiple first virtual numbers sent by the network telephone client in sequence according to the dialing sequence, establish the communication between the network telephone client and the call center based on each first virtual number in sequence according to the dialing sequence within a preset time period.
[0160] The call function test module 104 is specifically configured to record the number of times of successfully establishing the communication between the network telephone client and the call center within the preset time period, and perform the call function test on the call center according to the number of times.
[0161] In addition, the present disclosure also provides a network communication system and an electronic device, and a computer readable storage medium, which can be used to implement any one of the data merging processing methods provided by the present disclosure, and the corresponding technical solutions and descriptions and the corresponding descriptions in the method part are not repeated.
[0162] Figure 12A block diagram of an electronic device provided by an embodiment of the present disclosure.
[0163] With reference to Figure 12 An electronic device provided by an embodiment of the present disclosure includes: at least one processor 501; at least one memory 502, and one or more I / O interfaces 503 connected between the processor 501 and the memory 502; wherein the memory 502 stores one or more computer programs executable by the at least one processor 501, and the one or more computer programs are executed by the at least one processor 501 to implement the above-mentioned call function test method, which includes:
[0164] generating and saving a first virtual number;
[0165] sending the first virtual number to a network phone client, so that the network phone client saves the first virtual number;
[0166] in response to a received call request generated based on the first virtual number, establishing communication between the network phone client corresponding to the first virtual number and a call center; wherein the call center is connected to a call exchange platform;
[0167] performing call function testing on the call center according to the communication result between the network phone client corresponding to the first virtual number and the call center.
[0168] In some examples, in response to the received call request generated based on the first virtual number, establishing communication between the network phone client corresponding to the first virtual number and the call center includes:
[0169] in response to a call request sent by a call initiating end and carrying a call number of a call receiving end, calling a pre-stored call configuration file containing the call number, and sending a connection establishment request to the call receiving end according to the call configuration file;
[0170] in a case where the call receiving end returns connection agreement information in response to the connection establishment request, establishing communication between the call initiating end and the call receiving end according to the call configuration file;
[0171] wherein, in a case where the call initiating end is the call center, the call receiving end is the network phone client corresponding to the first virtual number; and in a case where the call initiating end is the network phone client corresponding to the first virtual number, the call receiving end is the call center.
[0172] In some examples, the call function test includes: an incoming call function test in which the network telephone client makes a call to the call center; in the case where the call function test is the incoming call function test, the call initiator is the network telephone client, the call receiver is the call center, the call configuration file is an incoming call configuration file, and the call number is a call center number of the call center; the method further includes:
[0173] generating and enabling the incoming call configuration file, the incoming call configuration file including the call center number, incoming call object indication information corresponding to the call center number, and incoming call process indication information;
[0174] in response to a call request sent by the call initiator and carrying a call number of the call receiver, calling a pre-stored call configuration file containing the call number, and sending a connection establishment request to the call receiver according to the call configuration file, including:
[0175] in response to a call request sent by the network telephone client and generated with a first virtual number as a calling number and carrying a call center number, obtaining incoming call object indication information corresponding to the call center number from the incoming call configuration file, and determining a target incoming call object in the call center corresponding to the incoming call object indication information;
[0176] sending a connection establishment request carrying the call center number to the target incoming call object in the call center corresponding to the incoming call object indication information;
[0177] establishing communication between the call initiator and the call receiver according to the call configuration file, including: obtaining incoming call process indication information corresponding to the call center number from the incoming call configuration file, and establishing communication between the network telephone client and the target incoming call object in the call center according to the incoming call process indication information.
[0178] In some examples, the method includes:
[0179] creating at least one role group, each role group containing at least one agent terminal;
[0180] configuring a call center number for each role group;
[0181] the incoming call object indication information includes a mapping relationship between the call center number and the role group;
[0182] determining a target incoming call object in the call center corresponding to the incoming call object indication information includes: determining a role group matching the call center number carried by the call request according to the mapping relationship between the call center number and the role group contained in the incoming call object indication information.
[0183] In some examples, the call function test comprises: an outgoing call function test in which the call center calls the network telephone client; in the case that the call function test is the outgoing call function test, the call initiator is the call center, the call receiver is the network telephone client, the call configuration file is a virtual number configuration file, and the call number of the call receiver is a first virtual number;
[0184] generating and saving the first virtual number comprises:
[0185] creating a virtual number configuration file corresponding to the first virtual number, and adding the first virtual number into the virtual number configuration file;
[0186] determining the network telephone client receiving the first virtual number, and obtaining a communication port address provided by the network telephone client receiving the first virtual number and used for connecting the call exchange platform;
[0187] obtaining dialing procedure instruction information matched with the first virtual number;
[0188] adding the communication port address and the dialing procedure instruction information into the virtual number configuration file;
[0189] in response to a call request sent by the call initiator and carrying a call number of the call receiver, calling a pre-stored call configuration file containing the call number, and sending a connection establishment request to the call receiver according to the call configuration file, comprising:
[0190] in response to a call request sent by the call center and carrying the first virtual number, obtaining a communication port address matched with the first virtual number from the virtual number configuration file, and sending a connection establishment request carrying the first virtual number to the network telephone client through the communication port address;
[0191] establishing communication between the call initiator and the call receiver according to the call configuration file, comprising:
[0192] obtaining dialing procedure instruction information corresponding to the first virtual number from the virtual number configuration file, and establishing communication between the network telephone client and the call center according to the dialing procedure instruction information.
[0193] In some examples, the call function test comprises: a call stress test; the number of the first virtual numbers is a plurality; and generating and saving the first virtual number comprises: generating a plurality of first virtual numbers and a dialing sequence of the plurality of first virtual numbers;
[0194] The sending of the first virtual number to the network telephone client to enable the network telephone client to save the first virtual number comprises: sending the plurality of first virtual numbers and the dialing order of the plurality of first virtual numbers to the network telephone client to enable the network telephone client to save the plurality of first virtual numbers and the dialing order of the plurality of first virtual numbers.
[0195] The establishing of the communication between the network telephone client corresponding to the first virtual number and the call center in response to the received call request generated based on the first virtual number comprises:
[0196] The establishing of the communication between the network telephone client and the call center based on each first virtual number in the dialing order in the preset time period in response to the received plurality of call requests corresponding to the plurality of first virtual numbers sent by the network telephone client in the dialing order comprises:
[0197] The call function test of the call center according to the communication result between the network telephone client and the call center comprises: recording the number of times of successful establishment of the communication between the network telephone client and the call center in the preset time period, and performing the call function test of the call center according to the number of times.
[0198] The disclosure also provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor / processing core, implements the call function test method described above. The computer readable storage medium can be a volatile or non-volatile computer readable storage medium.
[0199] The disclosure also provides a computer program product comprising computer readable code, or a non-volatile computer readable storage medium carrying computer readable code, when the computer readable code is run in the processor of an electronic device, the processor in the electronic device performs the call function test method described above.
[0200] Those of ordinary skill in the art can understand that all or some of the steps in the above disclosed method, the functions of the modules / units in the system and the device can be implemented as software, firmware, hardware and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components in cooperation. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software can be distributed on a computer readable storage medium, which can include computer storage media (or non-transitory media) and communication media (or transitory media).
[0201] As those skilled in the art will appreciate, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable program instructions, data structures, program modules or other data. Computer storage media include, but are not limited to, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Further, as those skilled in the art will appreciate, communication media typically embodies computer readable program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. In this document, the terms "computer storage medium" and "computer readable medium" are used to generally refer to media such as removable storage drives, memory, certain hardware storage components, or storage media of memory devices (e.g., random access memory, read only memory, programmable read only memory such as EPROM, EEPROM or flash memory, etc.), or other storage media of storage devices such as magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
[0202] Computer readable program instructions described herein can be downloaded to respective computing / processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and / or a wireless network. The network can comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. A network adapter card or network interface in each computing / processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.
[0203] Computer readable program instructions for carrying out operations of the present disclosure can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or any combination of one or more of the above in any combination, written in any combination of one or more programming languages, including object oriented programming languages such as Smalltalk, C++ or the like, and conventional procedural programming languages such as "C" or the like. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) can execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present disclosure.
[0204] The computer program product described herein can be embodied in a specific manner by hardware, software, or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK), and the like.
[0205] The various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer readable program instructions.
[0206] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include a non-transitory computer readable storage medium that can be a computer- readable storage medium having no data storage cycles that change state. The instructions can be executed by one or more processors of a computer, other programmable data processing apparatus, or other devices to produce a computer-implemented process such that the instructions which execute via the one or more processors of the computer or other programmable data processing devices create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0207] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0208] The flow diagrams and the block diagrams in the drawings are presented to illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams and the block diagrams can represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical functions ("instructions"). In some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and
[0209] Example embodiments have been disclosed and, although a specific terminology is employed, it is merely for the purpose of description and should not be taken in a limiting sense. In some instances, it will be apparent to those skilled in the art that features, characteristics or aspects described with reference to a particular embodiment can be used in combination with features, characteristics or aspects described with reference to another embodiment, or in the absence thereof. Thus, persons skilled in the art will recognize that the various forms and details of the embodiments can be varied, without departing from the scope of the disclosure as set forth in the appended claims.
Claims
1. A method of testing a call function, characterized by, The method is applied to a call exchange platform, and comprises the following steps: generating and saving a first virtual number; sending the first virtual number to a network telephone client, so that the network telephone client saves the first virtual number; in response to a call request received based on the first virtual number, establishing communication between the network telephone client corresponding to the first virtual number and a call center; wherein the call center is connected to the call exchange platform; performing call function testing on the call center according to the communication result between the network telephone client corresponding to the first virtual number and the call center.
2. The method of claim 1, wherein, The step of establishing communication between the network telephone client corresponding to the first virtual number and the call center in response to the call request received based on the first virtual number comprises the following steps: in response to a call request sent by a call initiating end and carrying a call number of a call receiving end, calling a pre-stored call configuration file containing the call number, and sending a connection establishment request to the call receiving end according to the call configuration file; in the case that the call receiving end returns connection agreement information in response to the connection establishment request, establishing communication between the call initiating end and the call receiving end according to the call configuration file; wherein, in the case that the call initiating end is the call center, the call receiving end is the network telephone client corresponding to the first virtual number; in the case that the call initiating end is the network telephone client corresponding to the first virtual number, the call receiving end is the call center.
3. The method of claim 2, wherein, The call function testing comprises incoming call function testing of the network telephone client on the call center; in the case that the call function testing is the incoming call function testing, the call initiating end is the network telephone client, the call receiving end is the call center, the call configuration file is an incoming call configuration file, and the call number is a call center number of the call center; the method further comprises the following steps: generating and enabling the incoming call configuration file, wherein the incoming call configuration file contains the call center number, incoming call object indication information corresponding to the call center number, and incoming call flow indication information; the step of calling a pre-stored call configuration file containing the call number in response to a call request sent by a call initiating end and carrying a call number of a call receiving end, and sending a connection establishment request to the call receiving end according to the call configuration file comprises the following steps: in response to a call request sent by the network telephone client and generated with the first virtual number as a calling number and carrying the call center number, obtaining incoming call object indication information corresponding to the call center number from the incoming call configuration file, and determining a target incoming call object in the call center corresponding to the incoming call object indication information; sending a connection establishment request carrying the call center number to the target incoming call object in the call center corresponding to the incoming call object indication information; and The establishing communication between the call initiator and the call receiver according to the call profile comprises: obtaining the incoming call flow instruction information corresponding to the call center number from the incoming call profile, and establishing communication between the network telephone client and the target incoming object in the call center according to the incoming call flow instruction information.
4. The method of claim 3, wherein, The method comprises: creating at least one role group, each of which contains at least one agent terminal; configuring a call center number for each role group; the incoming object indication information comprises a mapping relationship between the call center number and the role group; the determining the target incoming object in the call center corresponding to the incoming object indication information comprises: determining the role group matching the call center number carried by the call request according to the mapping relationship between the call center number and the role group contained in the incoming object indication information.
5. The method of claim 2, wherein, The call function test comprises: an outgoing call function test of the call center on the network telephone client; in the case that the call function test is an outgoing call function test, the call initiator is the call center, the call receiver is the network telephone client, the call profile is a virtual number profile, and the call number of the call receiver is the first virtual number; The generating and saving the first virtual number comprises: creating a virtual number profile corresponding to the first virtual number, and adding the first virtual number into the virtual number profile; determining the network telephone client receiving the first virtual number, and obtaining the communication port address provided by the network telephone client receiving the first virtual number for interfacing with the call switching platform; obtaining the dialing flow instruction information matching the first virtual number; adding the communication port address and the dialing flow instruction information into the virtual number profile; The calling the pre-stored call profile containing the call number of the call receiver in response to the call request sent by the call initiator, and sending a connection establishment request to the call receiver according to the call profile comprises: in response to the call request sent by the call center carrying the first virtual number, obtaining the communication port address matching the first virtual number from the virtual number profile, and sending a connection establishment request carrying the first virtual number to the network telephone client through the communication port address; The establishing communication between the call initiator and the call receiver according to the call profile comprises: obtaining the dialing flow instruction information corresponding to the first virtual number from the virtual number profile, and establishing communication between the network telephone client and the call center according to the dialing flow instruction information.
6. The method according to any one of claims 1 to 5, characterized in that, The call function test comprises: call stress test; the number of the first virtual numbers is multiple; the generating and saving the first virtual number comprises: generating multiple first virtual numbers and a dialing sequence of the multiple first virtual numbers; The sending of the first virtual number to the network telephone client to make the network telephone client save the first virtual number comprises: sending a plurality of first virtual numbers and dialing orders of the plurality of first virtual numbers to the network telephone client to make the network telephone client save the plurality of first virtual numbers and the dialing orders of the plurality of first virtual numbers; The establishing of the communication between the network telephone client corresponding to the first virtual number and the call center in response to the call request generated based on the first virtual number comprises: The establishing of the communication between the network telephone client and the call center based on each first virtual number in the dialing order in the preset time period in response to the plurality of call requests corresponding to the plurality of first virtual numbers sent by the network telephone client in the dialing order comprises: The call function test of the call center according to the communication result between the network telephone client and the call center comprises: recording the number of times of successful communication between the network telephone client and the call center in the preset time period, and performing the call function test of the call center according to the number of times.
7. A method of testing a call function, characterized by, The method applied to the network telephone client comprises: Receiving and saving the first virtual number sent by the call exchange platform; Generating a call request carrying a call center number based on the first virtual number, and sending the call request to the call exchange platform to make the call exchange platform establish the communication between the network telephone client corresponding to the first virtual number and the call center in response to the call request, and perform the call function test of the call center according to the communication result between the network telephone client corresponding to the first virtual number and the call center.
8. A method of testing a call function, characterized by, The method applied to the call center comprises: Generating a call request carrying a first virtual number, and sending the call request to the call exchange platform to make the call exchange platform establish the communication between the call center and the network telephone client corresponding to the first virtual number in response to the call request, and perform the call function test of the call center according to the communication result between the call center and the network telephone client corresponding to the first virtual number.
9. The method of claim 8, wherein, The call center comprises at least one role group, and each role group comprises at least one agent terminal, and each agent terminal communicates with the call center through an agent assistance tool; The sending of the call request to the call exchange platform comprises: generating a call request carrying the first virtual number in response to an outgoing call command carrying the first virtual number sent by the agent assistance tool, and sending the call request to the call exchange platform.
10. A call switching platform, characterized by Comprise: A generating module for generating and saving a first virtual number; A sending module for sending the first virtual number to a network telephone client to make the network telephone client save the first virtual number; A sending module for sending the first virtual number to a network telephone client to make the network telephone client save the first virtual number; The communication establishing module is configured to, in response to the call request based on the first virtual number, establish communication between the network telephone client corresponding to the first virtual number and a call center; wherein the call center is connected to the call exchange platform; The call function testing module is configured to perform call function testing on the call center according to the communication result.
11. An electronic device, comprising: The computer program product comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores one or more computer programs executable by the at least one processor, and the one or more computer programs are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6, or perform the method of claim 7, or perform the method of any one of claims 8-9.
12. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by the processor, implements the method of any one of claims 1-6, or performs the method of claim 7, or performs the method of any one of claims 8-9.
Citation Information
Patent Citations
Detecting method and device for call center
CN104363354A
Dial testing method, device and system
CN108737205A