Data processing method, device, equipment and storage medium
By introducing a real-time statistics server into the call center, it parses and integrates call information, generates call link data, and realizes the visual display of call links, solving the problem of being unable to visually view call events, improving fault location efficiency and reducing technical difficulty. .
Patent Information
- Application Number
- CN202210688711.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-06-17
AI Technical Summary
During the operation of the call center, it is impossible to visually view all call events included in the current call, resulting in low efficiency of fault location and high technical difficulty.
The real-time statistics server receives messages sent by the call management server or core service server, parses and integrates the call information, generates call link data, realizes the visual display of the call link, and directly locates faults.
It improves the efficiency of fault location, reduces the technical difficulty of fault location, and reduces the dependence on log analysis of each module.
Smart Images

Figure CN115103071B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data processing method, device, equipment and storage medium. Background Art
[0002] With the rapid development of communication technology, voice network communication has become a common communication method. Compared with the traditional Public Switched Telephone Network (PSTN), the cost of establishing voice network communication based on the Internet is lower. Therefore, the application of voice network communication is becoming more and more common, such as in the call center of an enterprise.
[0003] Currently, in the operation process of the call center, for the call events included in the current call, the corresponding call events of each module are usually recorded through the logs output by each module in the call center, and it is impossible to intuitively view all the call events included in the current call. Summary of the invention
[0004] The present application provides a data processing method, apparatus, device and storage medium to intuitively view all call events included in the current call.
[0005] In a first aspect, the present application provides a data processing method, which is applied to a real-time statistics server, wherein the real-time statistics server, a call management server, and a core service server are connected to each other in communication, and the data processing method comprises:
[0006] Receive a first message sent by a call management server or a core service server, the first message carrying an identifier of the current call and a current processing status of the call event; the first message is sent by the call management server after receiving a subscribed call event, or the first message is sent by the core service server after switching an agent state based on a call event of the call management server;
[0007] Parsing the first message to obtain call information corresponding to the first message, the call information including an identifier of the current call and a current processing status of the call event;
[0008] The call information is integrated and processed to obtain call link data, which is the processing flow data of the call events included in the current call.
[0009] In a second aspect, the present application provides a data processing method, which is applied to a call management server, wherein the call management server, the real-time statistics server, and the core service server are connected to each other in communication, and the data processing method includes:
[0010] Receive call events, which are events subscribed by the call management server;
[0011] If the call event is a non-agent state switching event, a first message is sent to the real-time statistics server, where the first message carries an identifier of the current call and a current processing status of the call event;
[0012] If the call event is an agent state switching event, a second message is sent to the core service server, the second message is used to instruct the core service server to switch the agent state, and after the core service server switches the agent state, the first message is sent to the real-time statistics server.
[0013] In a third aspect, the present application provides a data processing method, which is applied to a core service server, wherein the core service server, a call management server, and a real-time statistics server are connected to each other in communication, and the data processing method includes:
[0014] receiving a second message sent by the call management server, the second message being used to instruct the core service server to switch the seat state, the second message being sent by the call management server when the received call event is an agent state switching event;
[0015] According to the second message, the seat status is switched;
[0016] When the agent state switching is completed, a first message is sent to the real-time statistics server, and the first message carries the identifier of the current call and the current processing status of the agent state switching event.
[0017] In a fourth aspect, the present application provides a data processing method, which is applied to a client, and the data processing method includes:
[0018] In response to a call link data viewing instruction of a target call, obtaining target call link data corresponding to the target call from a real-time statistics server, the target call link data being the call link data obtained by the data processing method as described in the first aspect of the present application, and the real-time statistics server being the real-time statistics server that obtains the call link data in the data processing method;
[0019] Display target call link data according to preset rules.
[0020] In a fifth aspect, the present application provides a data processing system, including: a call management server, a core service server and a real-time statistics server;
[0021] The call management server is used to receive a call event, which is an event subscribed by the call management server; if the call event is a non-agent state switching event, a first message is sent to the real-time statistics server, and the first message carries the identifier of the current call and the current processing status of the call event; if the call event is an agent state switching event, a second message is sent to the core service server, and the second message is used to instruct the core service server to switch the agent state;
[0022] The core service server is used to receive the second message sent by the call management server, and perform the agent state switching according to the second message; when the agent state switching is completed, the core service server sends the first message to the real-time statistics server, where the first message carries the identifier of the current call and the current processing status of the agent state switching event;
[0023] A real-time statistics server is used to receive a first message sent by a call management server or a core service server; parse the first message to obtain call information corresponding to the first message, the call information includes an identifier of the current call and a current processing status of the call event; integrate the call information to obtain call link data, the call link data is the processing flow data of the call event included in the current call.
[0024] In a sixth aspect, the present application provides a data processing device, which is applied to a real-time statistics server, wherein the real-time statistics server, the call management server, and the core service server are connected to each other in communication, and the data processing device includes:
[0025] A receiving module, used to receive a first message sent by a call management server or a core service server, the first message carrying an identifier of the current call and a current processing status of the call event; the first message is sent by the call management server after receiving a subscribed call event, or the first message is sent by the core service server after switching an agent state based on a call event of the call management server;
[0026] A parsing module, used to parse the first message to obtain call information corresponding to the first message, where the call information includes an identifier of the current call and a current processing status of the call event;
[0027] The processing module is used to integrate and process the call information to obtain call link data, where the call link data is the processing flow data of the call events included in the current call.
[0028] In a seventh aspect, the present application provides a data processing device, which is applied to a call management server, wherein the call management server, the real-time statistics server, and the core service server are connected to communicate with each other, and the data processing device includes:
[0029] A receiving module, used for receiving a call event, where the call event is an event subscribed by the call management server;
[0030] A sending module is used to send a first message to a real-time statistics server if the call event is a non-agent state switching event, the first message carrying the identifier of the current call and the current processing status of the call event; and if the call event is an agent state switching event, send a second message to a core service server, the second message is used to instruct the core service server to switch the agent state, and after the core service server switches the agent state, it sends the first message to the real-time statistics server.
[0031] In an eighth aspect, the present application provides a data processing device, which is applied to a core service server, wherein the core service server, the call management server, and the real-time statistics server are connected to each other in communication, and the data processing device includes:
[0032] A receiving module, used for receiving a second message sent by a call management server, the second message is used for instructing the core service server to switch the seat state, and the second message is sent by the call management server when the received call event is an agent state switching event;
[0033] A switching module, used for switching the seat status according to the second message;
[0034] The sending module is used to send a first message to the real-time statistics server when the agent state switching is completed. The first message carries the identifier of the current call and the current processing status of the agent state switching event.
[0035] In a ninth aspect, the present application provides a data processing device, applied to a client, the data processing device comprising:
[0036] an acquisition module, configured to respond to a call link data viewing instruction of a target call and acquire target call link data corresponding to the target call from a real-time statistics server, wherein the target call link data is the call link data obtained by the data processing method according to the first aspect of the present application, and the real-time statistics server is the real-time statistics server that obtains the call link data in the data processing method;
[0037] The display module is used to display the target call link data according to preset rules.
[0038] In a tenth aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0039] Memory stores computer-executable instructions;
[0040] The processor executes the computer-executable instructions stored in the memory to implement the data processing method as described in the first aspect, the second aspect, the third aspect or the fourth aspect of the present application.
[0041] In the eleventh aspect, the present application provides a computer-readable storage medium, which stores computer program instructions. When the computer program instructions are executed by a processor, the data processing method described in the first aspect, second aspect, third aspect or fourth aspect of the present application is implemented.
[0042] In a twelfth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the data processing method described in the first aspect, second aspect, third aspect or fourth aspect of the present application.
[0043] The data processing method, device, equipment and storage medium provided by the present application receive a first message sent by a call management server or a core service server through a real-time statistics server, wherein the first message carries the identifier of the current call and the current processing status of the call event; the real-time statistics server parses the first message to obtain the call information corresponding to the first message; the call information is integrated and processed to obtain call link data, and the call link data is the processing flow data of the call event contained in the current call, that is, the data source for visual display of the call link is obtained. Since the present application adds a real-time statistics server to integrate and process the call information corresponding to the received first message to obtain the call link data, it is convenient to query the call link data and visualize the call link data to intuitively see the call link data. When a call fails, it is no longer necessary to analyze the logs output by each module in the call center to locate the cause of the fault, but directly locate the fault quickly through the visualization service of the call link data, which can greatly improve the efficiency of fault location and reduce the technical difficulty of fault location. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0045] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0046] Figure 2 A schematic diagram of signaling interaction of a data processing method provided in an embodiment of the present application;
[0047] Figure 3 A flowchart of a data processing method provided in one embodiment of the present application;
[0048] Figure 4 A flowchart of a data processing method provided by another embodiment of the present application;
[0049] Figure 5 A flowchart of a data processing method provided in yet another embodiment of the present application;
[0050] Figure 6 A flowchart of a data processing method provided in yet another embodiment of the present application;
[0051] Figure 7 A schematic diagram showing target call link data provided by an embodiment of the present application;
[0052] Figure 8 A schematic diagram of signaling interaction of a data processing method for an incoming call scenario provided by an embodiment of the present application;
[0053] Fig. 9 A schematic diagram of signaling interaction of a data processing method for an outgoing call scenario provided in an embodiment of the present application;
[0054] Fig.10 A schematic diagram of the structure of a data processing device provided in one embodiment of the present application;
[0055] Fig.11 A schematic diagram of the structure of a data processing device provided in another embodiment of the present application;
[0056] Fig.12 A schematic diagram of the structure of a data processing device provided in yet another embodiment of the present application;
[0057] Fig.13 A schematic diagram of the structure of a data processing device provided in yet another embodiment of the present application;
[0058] Fig.14 A schematic diagram of a data processing system provided in one embodiment of the present application;
[0059] Fig.15 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0061] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.
[0062] First, some technical terms involved in this application are explained:
[0063] A call center is a place where people interact and conduct transactions by telephone. For example, it is used to provide services, proactive outbound calls related to business, or proactive outbound calls to handle emergencies. It can also include manual services or self-service.
[0064] Session Border Controller (SBC) is used to achieve seamless connection between operator networks and enterprise networks, and has multiple service-level management capabilities, including support for Session Initiation Protocol (SIP) trunks, Private Branch Exchange (PBX) / Internet Protocol (IP) IP, PBX and H.323 / SIP intercommunication, as well as call centers and hosted IP-based voice transmission (Voice Over Internet Protocol, VoIP).
[0065] Voice network communication has become a common communication method. The voices exchanged between the two parties are encoded from analog signals into digital signals, and then transmitted to the other end through the IP network. After receiving the voices, the other end decodes and plays them. The telephone charges for voice network communication based on the Internet are only 10% to 20% of traditional telephones. Therefore, the application of voice network communication is increasingly widely used in call centers of enterprises, such as call centers of banks, financial institutions or insurance institutions. In the related art, during the operation of the call center, for the call events included in the current call, the call events corresponding to each module are usually recorded through the logs output by each module in the call center, and it is impossible to intuitively view all the call events included in the current call. When building a system corresponding to the call center for an enterprise, it is often necessary to adopt different network topologies or system architectures for implementation due to differences in requirements and server resources. During the operation of the call center, it is inevitable that some unknown faults will occur due to problems such as defects in the operator line, SBC or the call center itself. When locating the fault, the key log analysis of each module is usually performed based on the logs output by each module in the call center and the data flow of the communication link to locate the cause of the fault. The above fault location method involves too many analysis logs, resulting in low fault location efficiency.
[0066] The present application provides a data processing method, device, equipment and storage medium, wherein a first message sent by a call management server or a core service server is received through a real-time statistics server, wherein the first message carries the identifier of the current call and the current processing status of the call event; the real-time statistics server parses the first message to obtain the call information corresponding to the first message; the call information is integrated and processed to obtain call link data, and the call link data is the processing flow data of the call event contained in the current call, that is, the data source for visual display of the call link is obtained. Since the present application adds the real-time statistics server to integrate and process the call information corresponding to the received first message, the call link data can be directly obtained, so that there is no need to conduct specific analysis of each call log, and the call link data can be visualized by querying the call link data to intuitively see the call link data. By obtaining the call link data of the corresponding call in the call center from the real-time statistics server and visually displaying it, it is possible to intuitively see the communication message status between the modules in the call center after a call enters the call center. When a call fails, it is convenient to locate the fault, improve the efficiency of fault location, and reduce the technical difficulty of fault location.
[0067] In the following, the application scenarios of the solutions provided in this application are first illustrated.
[0068] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1As shown in the figure, in this application scenario, the call center is hosted on the Internet and interconnects with the traditional public switched telephone network through a gateway, which can help enterprises quickly build a customer contact platform that integrates telephone, online communication and calls. The call center can flexibly integrate business systems. Assuming that a customer calls the customer service hotline of the call center through a mobile phone or an Internet phone, the call request is transmitted to the operator gateway through the PSTN network; the operator gateway forwards the call request to the call center; the call center transfers the call request to the corresponding interactive voice response (IVR) service or agent according to the call request; taking the call center transferring the call request to the agent as an example, after the call is connected, the agent and the customer talk until the call ends. Among them, the session control is carried out through the SIP protocol, and the media transmission is carried out through the Real-time Transport Protocol (RTP); the server in the call center obtains and stores the call link data during the call process to provide a visualization service for the call link data, and then performs fault location based on the visualized call link data.
[0069] It should be noted that Figure 1 This is only a schematic diagram of an application scenario provided by the embodiment of the present application. Figure 1 does not limit the equipment included in Figure 1 The positional relationship between the devices in the Figure 1 In the application scenario shown, a data storage device may also be included. The data storage device may be an external memory relative to the server in the call center, or may be an internal memory integrated in the server.
[0070] Next, the data processing method is introduced through a specific embodiment.
[0071] Figure 2 A signaling interaction diagram of a data processing method provided in an embodiment of the present application, wherein a real-time statistics server is respectively connected to a call management server and a core service server, and the call management server is connected to a core service server. The method of the embodiment of the present application can be applied to an electronic device, which can be a server or a server cluster. Figure 2 As shown, the method of the embodiment of the present application includes:
[0072] S201: A call management server receives a call event.
[0073] The call event is an event subscribed by the call management server.
[0074] In the embodiment of the present application, the subscribed events may be all events in the call process; the call management server, for example, subscribes to all event socket library (ESL) events generated in the entire call process by initializing itself. Figure 1 Assuming the customer chooses to transfer to manual service, the call management server will receive a transfer to manual event. The transfer to manual event can be customized and represented by find_agent.
[0075] S202: If the call event is a non-agent state switching event, the call management server sends a first message to the real-time statistics server, where the first message carries an identifier of the current call and a current processing state of the call event.
[0076] Correspondingly, the real-time statistics server receives the first message.
[0077] In this step, the call event is, for example, a system event, an agent event, a customer event, or other events. Specifically, the system event is, for example, a channel answer (CHANNEL_ANWER) event and a channel bridge (CHANNEL_BRIDGE) event; the agent event is, for example, an event triggered by an agent state switch; the customer event is, for example, a transfer to manual event; other events are, for example, events other than system events, agent events, and customer events. The current call is, for example, a call made by a user to a call center. It can be understood that the current call contains different call events for different users making calls. Different current calls are distinguished by call identifiers (for example, represented by callid).
[0078] Exemplarily, the first message is, for example, a message queue (MQ) message. If the call event is a non-agent state switching event, specifically, the call event is, for example, a transfer to manual event, the call management server sends a first message to the real-time statistics server, and the first message carries the identifier of the current call and the current processing status of the transfer to manual event. Among them, the current processing status of the transfer to manual event includes, for example, the receipt of the transfer to manual event, the event name corresponding to the transfer to manual event, the time when the transfer to manual event occurs, etc. This application does not specifically limit the current processing status of the call event carried by the first message. The current processing status of the transfer to manual event can be understood as: a customer with XX number calls into the IVR at XX time, a service node in the IVR initiates a transfer to manual, and the call management server receives the request. Accordingly, the real-time statistics server receives the first message.
[0079] S203: If the call event is an agent state switching event, the call management server sends a second message to the core service server, where the second message is used to instruct the core service server to perform an agent state switching.
[0080] Correspondingly, the core service server receives the second message sent by the call management server.
[0081] Exemplarily, the second message is, for example, an MQ message. An agent status switching event is, for example, an agent status switching from a break to ready. The agent status switching event is an event sent by the core service server that requires switching the agent status. When the call management server receives the agent status switching event, it sends a second message to the core service server. The second message carries the identifier of the current call and the current processing status of the agent status switching event. Accordingly, the core service server receives the second message sent by the call management server to switch the agent status according to the second message, and after the core service server switches the agent status, it sends the first message to the real-time statistics server.
[0082] It should be noted that the embodiment of the present application does not limit the order in which steps S202 and S203 are executed, and steps S202 and S203 are executed one by one.
[0083] S204. The core service server switches the seat status according to the second message.
[0084] In this step, after receiving the second message, the core service server can switch the agent state according to the identifier of the current call carried in the second message and the current processing state of the agent state switching event. Exemplarily, the core service server switches the agent state from rest to ready.
[0085] S205: When the core service server completes the agent state switching, the core service server sends a first message to the real-time statistics server, where the first message carries the identifier of the current call and the current processing status of the agent state switching event.
[0086] Correspondingly, the real-time statistics server receives the first message.
[0087] In this step, the first message is, for example, an MQ message. When the core service server completes the agent state switching, it sends a first message to the real-time statistics server. The first message carries the identifier of the current call and the current processing status of the agent state switching event, wherein the current processing status of the agent state switching event is, for example, the agent state switching from rest to ready. Accordingly, the real-time statistics server receives the first message.
[0088] S206: The real-time statistics server analyzes the first message to obtain call information corresponding to the first message.
[0089] The call information includes the identifier of the current call and the current processing status of the call event.
[0090] In an embodiment of the present application, for example, the first message is an MQ message, and the real-time statistics server parses the first message, which is the real-time statistics server consuming the MQ message. If the MQ message comes from a call management server, the real-time statistics server consumes the MQ message to obtain the call information corresponding to the MQ message, such as the identifier of the current call and the current processing status of the call event; if the MQ message comes from a core service server, the real-time statistics server consumes the MQ message to obtain the call information corresponding to the MQ message, such as the identifier of the current call and the current processing status of the agent status switching event.
[0091] S207. The real-time statistics server integrates and processes the call information to obtain call link data, where the call link data is the processing flow data of the call events included in the current call.
[0092] In this step, the integration process can be to organize and merge the various information in the call event to reflect the whole process of the entire call event; the information of each event of the system event, agent event, customer event and other events can be organized and merged, and each event can be sorted and organized in chronological order for subsequent sequential display. Call link data includes system events, agent events, customer events and other events, and this application does not specifically limit the events contained in the call link data. Among them, system events are such as channel answering events and channel bridging events; agent events are such as events triggered by agent status switching; customer events are such as manual transfer events; other events are such as events other than system events, agent events and customer events. After obtaining the call information, the real-time statistics server can integrate the call information to obtain call link data. It can be understood that for multiple call events contained in the current call, the real-time statistics server integrates the call information corresponding to each call event contained in the current call, and the processing flow data of all call events contained in the current call, that is, the call link data, can be obtained.
[0093] Further, optionally, the call information is integrated and processed to obtain call link data, which may include: if the first message comes from the call management server, the call information is integrated and processed according to a first preset format to obtain call link data; if the first message comes from the core service server, the call information is integrated and processed according to a second preset format to obtain call link data.
[0094] Exemplarily, the first preset format is a format determined according to the identifier of the current call and the current processing status of the call event. Specifically, the first preset format is a key-value format generated according to the identifier of the current call, the event name corresponding to the call event, and the time when the call event occurred. The second preset format is a format determined according to the identifier of the current call and the current processing status of the agent status switching event. Specifically, the second preset format is a key-value format generated according to the identifier of the current call, the current processing status of the agent status switching event, and the time when the agent status switching occurred. In an embodiment of the present application, if the first message comes from the call management server, the call information can be integrated and processed according to the first preset format to obtain call link data. If the first message comes from the core service server, the call information can be integrated and processed according to the second preset format to obtain call link data. It can be understood that the call link data is the processing flow data of the call event contained in the current call.
[0095] Optionally, the real-time statistics server stores the call link data to provide visualization services for the call link data.
[0096] Exemplarily, after obtaining the call link data, the real-time statistics server can store the call link data in a database, such as elasticsearch. It should be noted that elasticsearch can run on the real-time statistics server, or can run on a separate server, and this application does not specifically limit this. The embodiment of this application is described by taking elasticsearch running on the real-time statistics server as an example.
[0097] Optionally, for the call link data stored in elasticsearch, a corresponding interface can be provided for the front-end call to display; if a third-party system needs to connect to the call link data, it can be pushed through kafka.
[0098] The data processing method provided by the embodiment of the present application receives a first message sent by a call management server or a core service server through a real-time statistics server, wherein the first message carries the identifier of the current call and the current processing status of the call event; the real-time statistics server parses the first message to obtain the call information corresponding to the first message; the call information is integrated and processed to obtain call link data, which is the processing flow data of the call event included in the current call, that is, a data source for visual display of the call link data is provided, which facilitates visual display of the call link data by querying the call link data, so that the call link data can be intuitively seen. When a call fails, the visualization service can be used to quickly locate the fault, improve the efficiency of fault location, and reduce the technical difficulty of fault location.
[0099] Based on the above embodiments, Figure 3 The flowchart of the data processing method provided in one embodiment of the present application is applied to a real-time statistics server, where the real-time statistics server, the call management server and the core service server are connected to each other in communication. Figure 3 As shown, the method of the embodiment of the present application includes:
[0100] S301. Receive a first message sent by a call management server or a core service server, where the first message carries an identifier of the current call and a current processing status of the call event; the first message is sent by the call management server after receiving a subscribed call event, or the first message is sent by the core service server after switching an agent status based on a call event of the call management server.
[0101] Exemplarily, the first message is, for example, an MQ message. It is understood that after receiving a subscribed call event, if the call event is a non-agent state switching event, the call management server sends the first message to the real-time statistics server, and accordingly, the real-time statistics server receives the first message; after the core service server switches the agent state based on the call event of the call management server, it sends the first message to the real-time statistics server, and accordingly, the real-time statistics server receives the first message.
[0102] S302: Parse the first message to obtain call information corresponding to the first message, where the call information includes an identifier of the current call and a current processing status of the call event.
[0103] In this step, the first message is, for example, an MQ message. The MQ message is parsed to obtain call information corresponding to the first message.
[0104] S303: Integrate and process the call information to obtain call link data, where the call link data is the processing flow data of the call events included in the current call.
[0105] In this step, after the call information is obtained, the call information can be integrated and processed to obtain call link data.
[0106] Optionally, the call information is integrated and processed to obtain call link data, including: if the first message comes from the call management server, the call information is integrated and processed according to a first preset format to obtain call link data; if the first message comes from the core service server, the call information is integrated and processed according to a second preset format to obtain call link data.
[0107] It can be understood that by integrating the call information, call link data can be obtained, and the call link data is the processing flow data of the call events included in the current call.
[0108] The data processing method provided in the embodiment of the present application is applied to a real-time statistics server, which receives a first message sent by a call management server or a core service server, parses the first message, obtains call information corresponding to the first message, integrates the call information, and obtains call link data, that is, a data source for visual display of the call link data is obtained, so that it can be used for visualization services of call link data.
[0109] Based on the above embodiments, Figure 4 The flowchart of the data processing method provided by another embodiment of the present application is applied to a call management server, wherein the call management server, the real-time statistics server and the core service server are connected to each other in communication. Figure 4 As shown, the method of the embodiment of the present application includes:
[0110] S401: Receive a call event, where the call event is an event subscribed by a call management server.
[0111] It can be understood that before receiving a call event, the call management server needs to subscribe to the call event so as to be able to receive the subscribed call event.
[0112] S402: If the call event is a non-agent state switching event, a first message is sent to a real-time statistics server, where the first message carries an identifier of the current call and a current processing state of the call event.
[0113] S403: If the call event is an agent state switching event, a second message is sent to the core service server, where the second message is used to instruct the core service server to switch the agent state, and after the core service server switches the agent state, the first message is sent to the real-time statistics server.
[0114] The data processing method provided in the embodiment of the present application is applied to a call management server. When a non-agent state switching event is received, a first message is sent to a real-time statistics server, and when an agent state switching event is received, a second message is sent to a core service server. The second message is used to instruct the core service server to switch the agent state, and after the core service server switches the agent state, the first message is sent to the real-time statistics server. Therefore, it is possible to ensure that the real-time statistics server obtains call link data based on the received first message, and then uses it to provide visualization services for the call link data.
[0115] Based on the above embodiments, Figure 5 A flowchart of a data processing method provided in another embodiment of the present application is applied to a core service server, wherein the core service server, the call management server and the real-time statistics server are connected to each other in communication. Figure 5 As shown, the method of the embodiment of the present application includes:
[0116] S501. Receive a second message sent by a call management server, where the second message is used to instruct a core service server to switch an agent state. The second message is sent by the call management server when the received call event is an agent state switching event.
[0117] S502: Switch the seat status according to the second message.
[0118] For example, according to the second message, the seat status is switched from resting to ready.
[0119] S503: When the agent state switching is completed, a first message is sent to the real-time statistics server, where the first message carries an identifier of the current call and a current processing status of the agent state switching event.
[0120] The data processing method provided in the embodiment of the present application is applied to the core service server. By sending a first message to the real-time statistics server when the agent status switching is completed, it can ensure that the real-time statistics server obtains the call link data according to the received first message, and then is used to provide a visualization service for the call link data.
[0121] Based on the above embodiment, considering visualizing the call link data obtained by the real-time statistics server, Figure 6 A flowchart of a data processing method provided in another embodiment of the present application is applied to a client. Figure 6 As shown, the method of the embodiment of the present application includes:
[0122] S601. In response to a call link data viewing instruction of a target call, obtain target call link data corresponding to the target call from a real-time statistics server.
[0123] The target call link data is the call link data obtained in the above method embodiment, and the real-time statistics server is the real-time statistics server that obtains the call link data in the above method embodiment.
[0124] For example, assuming that the real-time statistics server stores the call link data in elasticsearch, and elasticsearch runs on the real-time statistics server, the client responds to the call link data viewing instruction of the target call and obtains the target call link data corresponding to the target call from elasticsearch. It can be understood that elasticsearch can also run on an independent server.
[0125] S602: Display target call link data according to preset rules.
[0126] In this step, the preset rule is, for example, in chronological order. Exemplarily, after obtaining the target call link data corresponding to the target call, the client can display the target call link data in chronological order.
[0127] Further, optionally, the client displays the target call link data according to preset rules, which may include: the client determines the display method corresponding to the target call link data based on the mapping relationship between messages or events and traffic actions in the target call link data; the client displays the target call link data in chronological order according to the display method.
[0128] The present application does not specifically limit the display method corresponding to the target call link data. In one possible implementation method, the client determines the display method corresponding to the target call link data through a mapping relationship switch based on the mapping relationship between messages or events and traffic actions in the target call link data; according to the display method, the target call link data is displayed in chronological order.
[0129] Exemplarily, if the mapping relationship switch is turned on, the client displays the target call link data in a more understandable and intuitive way according to the mapping relationship between the message or event and the traffic action in the target call link data; if the mapping relationship switch is turned off, the client displays the target call link data in professional technical terms according to the mapping relationship between the message or event and the traffic action in the target call link data, so that the technicians can view the target call link data. In one example, for an incoming call, if the mapping relationship switch is turned on, the target call link data can be displayed in chronological order as: customer incoming call system->enter IVR->...->IVR transfer to manual->find agent->find agent->start broadcasting work number->complete broadcasting work number->bridge->bridge successful->call->hang up. In this display method, for example, the transfer to manual event represented by find_agent is mapped to transfer to manual, and the entry to IVR event represented by enter_ivr is mapped to enter IVR, etc.
[0130] In another example, for an incoming call, if the mapping relationship switch is turned off, the target call link data can be displayed in chronological order as: INVITE->CHANNEL_ANSWER->msxf::enter_ivr->……->msxf::find_agent->msxf::leave_ivr->CHANNEL_PARK->CHANNEL_BRIDGE->RECORD_START->……->RECORD_STOP->CHANNEL_HANGUP, and the call actions corresponding to this display method are: initiate call request->channel answer->enter IVR service->……->IVR transfer to manual->leave IVR->lock agent->channel bridging->start recording->……->stop recording->channel hang up.
[0131] Optionally, after displaying the target call link data according to preset rules, the data processing method also includes: if the events contained in the target call link data do not match the events contained in the preset call link data, then displaying prompt information corresponding to the mismatching events, and the prompt information is used to locate the call fault.
[0132] Exemplarily, assuming that the preset call link data includes a transfer-to-manual event, while the target call link data does not include the transfer-to-manual event, it can be determined that the event included in the target call link data does not match the event included in the preset call link data, and the unmatched event is a transfer-to-manual event. Therefore, the prompt information corresponding to the transfer-to-manual event is displayed. The prompt information is, for example: the transfer-to-manual event is not received. The present application does not specifically limit the prompt information. The call fault can be conveniently located through the prompt information. Optionally, after the client displays the target call link data according to preset rules, the data processing method may further include: the client obtains information corresponding to the target event from the real-time statistics server in response to a viewing instruction for the target event in the target call link data; and the client displays the information corresponding to the target event.
[0133] For example, Figure 7 This is a schematic diagram showing target call link data provided by an embodiment of the present application. Figure 7 As shown, the target call link data is displayed in chronological order on the client's Web page, and the target call link data includes system events, agent events, customer events and other events. In response to the viewing instruction of the customer event in the target call link data, the client obtains the information corresponding to the customer event from the real-time statistics server, such as the event name, the time when the event occurred, the callid of the current call, the skill group (such as customer service) and other event headers. Optionally, different event types can be rendered in different colors to facilitate quick finding of corresponding events.
[0134] The data processing method provided in the embodiment of the present application is applied to the client, and obtains the target call link data corresponding to the target call from the real-time statistics server by responding to the call link data viewing instruction of the target call; the target call link data is displayed according to preset rules, that is, a visualization service for the target call link data is provided. When a call fails, the visualization service can be used to quickly locate the fault, improve the efficiency of fault location, and reduce the technical difficulty of fault location.
[0135] On the basis of the above embodiments, in a possible embodiment, the call center includes a real-time statistics server, a call management server, a core service server and a client. Among them, the real-time statistics server runs a spark real-time statistics (spark-real time statistics, spark-rts) module, spark-rts is used to implement the function of the real-time statistics server in the above embodiment; the call management server runs a call management (call-manager) module, call-manager is used to implement the function of the call management server in the above embodiment; the core service server runs a core service (core-service) module, core-service is used to implement the function of the core service server in the above embodiment; the client runs a Web module, Web is used to implement the function of the client in the above embodiment. On this basis, the call center can also include modules such as kamailio, freeswitch, kamailio registration (kamailio-registrar), basic message middleware and database, and different modules can run on different servers.
[0136] For each module in the call center, specifically, kamailio's predecessor is openser, which is a very excellent SIP proxy. When used in large concurrent volumes, it is often used to load balance media servers such as freeswitch to achieve clustering; in the embodiment of the present application, kamailio is used to load balance freeswitch, and can be implemented as a proxy server, registration server or redirect server.
[0137] Freeswitch is a cross-platform open source telephone exchange platform with strong scalability. In the embodiment of the present application, Freeswitch is used to provide routing and interconnection communication for audio, text or any other form of media, as well as to provide self-service IVR services and intelligent robot services.
[0138] Call-manager is connected to freeswitch one-to-one, one call-manager corresponds to one freeswitch; call-manager is responsible for sending commands to freeswitch (such as making calls, transferring or playing messages, etc.) to implement call making and transferring, etc. At the same time, call-manager supports accepting subscriptions to all ESL events generated during the entire call process, and when call-manager receives any ESL event, it will also send MQ messages to spark-rts to report and store call link data. Call-manager can also regularly check whether freeswitch is healthy and monitor the current call volume.
[0139] core-service is used to manage the agent status. core-service receives MQ messages from call-manager to switch the agent status. At the same time, core-service sends MQ messages to spark-rts to report and store call link data. Agent status switching includes switching from ready to rest, rest to ready, rest to manual outbound call, and switching (automatically) from call to post-call.
[0140] kamailio-registrar is used for agent registration and registration server in call center.
[0141] spark-rts is a spark-based application used to integrate and store call link data. Specifically, it consumes MQ messages sent by call-manager and call-service to obtain call link data, integrates the call link data, stores it in elasticsearch, and provides an interface for the front-end to call and display.
[0142] The Web is used to provide a workbench for agents, including the agent status bar, call dial, call report, outbound call tasks, configuration, etc. Before the agent starts working, he needs to log in to the system. After the agent logs in, the initial agent status is "break".
[0143] The basic message middleware includes Kafka and RabbitMQ, which are mainly responsible for message communication between modules.
[0144] The database includes MySQL, Remote Dictionary Server (Redis) and Elasticsearch, which are mainly responsible for storing dialing data, system account data, configuration information and real-time agent status information. Among them, MySQL is mainly responsible for storing system basic configuration data, user (agent) data, recording records, etc.; Redis is mainly responsible for caching hot data during system operation (such as agent status cache); Elasticsearch is mainly responsible for storing system call report data (such as transfer reports, skill group details reports and wide tables, etc.).
[0145] Based on the above call center, Figure 8 The signaling interaction diagram of the data processing method for the incoming call scenario provided by an embodiment of the present application is taken as an example for explaining that the client obtains call link data from the real-time statistics server. Figure 8 As shown, the method of the embodiment of the present application may include:
[0146] S801, the call management server receives a transfer to manual event, which is triggered in the following way: the kamailio of the call center receives a call request from the operator gateway; wherein the call request is a customer dialing the hotline number of the call center (such as the 400 hotline number, the 95 hotline number) through a mobile phone or an Internet phone, and is transmitted to the operator gateway through the PSTN network; kamailio allocates the call request to the corresponding freeswitch according to the current load of each freeswitch media service and the set strategy, wherein the set strategy is, for example, the maximum idle priority strategy, that is, the call request is allocated to the most idle freeswitch; after the call request reaches the freeswitch, the freeswitch routes it to the corresponding IVR process according to the called number information carried in the call request, and when the corresponding IVR process is matched, the customer's call is answered by the call center, and the corresponding IVR self-service (such as business processing, complaint suggestions, transfer to manual, etc.) is provided for it; if the customer chooses to transfer to manual service in the IVR, the IVR module of the freeswitch sends a transfer to manual event, that is, a find_agent event, to the call management server, and accordingly, the call management server receives the transfer to manual event.
[0147] S802. After receiving the transfer-to-manual event, the call management server sends an MQ message to the real-time statistics server for reporting, indicating that the transfer-to-manual event has been received.
[0148] S803. The real-time statistics server consumes the MQ message to obtain the call information corresponding to the MQ message; integrates and processes the call information to obtain call link data, which is the processing flow data of the call event included in the current call.
[0149] In the embodiment of the present application, the real-time statistics server receives the MQ message from the call management server or the core service server, and executes step S803 in sequence, and does not Figure 8 Shown in.
[0150] S804. The call management server searches for an agent who is available to receive calls.
[0151] S805. After the call management server finds the seat, it immediately sends a command to lock (park) the seat to freeswitch. Correspondingly, freeswitch receives the command to park the seat; the call management server sends an MQ message to the real-time statistics server for reporting, indicating that the seat has been found. Correspondingly, execute step S803.
[0152] S806. The call management server sends a command to broadcast the agent's work number to freeswitch; accordingly, freeswitch receives the command to broadcast the agent's work number; after freeswitch completes the work number broadcast, it sends a custom work number broadcast completion event to the call management server; accordingly, the call management server receives the custom work number broadcast completion event.
[0153] S807, the call management server sends an MQ message to the real-time statistics server to report, indicating that the work number broadcast completion event has been received, and accordingly, execute step S803.
[0154] S808. The call management server sends a command to bridge the client and the agent to freeswitch. Accordingly, freeswitch receives the command to bridge the client and the agent. Freeswitch notifies the call management server of the call bridging result (bridging success) through the ESL event. Accordingly, the call management server receives a response message corresponding to the command to bridge the client and the agent (i.e., call bridging success). After the call bridging is successful, the client and the agent start talking.
[0155] S809, the call management server sends an MQ message to the real-time statistics server for reporting, indicating that the call bridging is successful; accordingly, execute step S803.
[0156] S810. If the call management server receives an agent status switching event sent by the core service server, it sends an MQ message to notify the core service server to switch the agent status; accordingly, the core service server receives the MQ message.
[0157] S811. The core service server switches the seat status.
[0158] S812: When the agent status switch is completed, the core service server sends an MQ message to the real-time statistics server for reporting, indicating that the agent status switch is successful; accordingly, step S803 is executed; the core service server notifies the client to change the agent status display and workbench page. Based on the above steps, after the call is completed, the agent status automatically switches from "in call" to the next state.
[0159] S813. The client obtains target call link data corresponding to the target call in response to the call link data viewing instruction of the target call.
[0160] S814. The client displays the target call link data according to preset rules.
[0161] The data processing method for the incoming call scenario provided in the embodiment of the present application can intuitively display the call link data of the incoming call, and when a fault occurs in the incoming call, it can quickly locate the fault and improve the efficiency of fault location.
[0162] Based on the above call center, Fig. 9 The signaling interaction diagram of the data processing method for the outgoing call scenario provided by an embodiment of the present application is taken as an example for explaining that the client obtains call link data from the real-time statistics server. Fig. 9 As shown, the method of the embodiment of the present application may include:
[0163] S901. The call management server receives an answer event, which is triggered in the following way: freeswitch receives a call request from kamailio-registrar, which is an outbound call request issued by an agent, and the outbound call request is initiated in the following way: the agent logs in to the call center, switches to the outbound call state, enters the outbound call number on the dial pad, clicks the dial button, verifies the outbound call number, and initiates the outbound call after the outbound call number passes the verification; freeswitch initiates a call, and the call request reaches kamailio; the call request is forwarded to the operator gateway through kamailio, and the operator gateway sends the call request to the customer's phone; the customer clicks to answer; kamailio receives a response message corresponding to the call request, and forwards the response message to freeswitch; accordingly, freeswitch receives a response message corresponding to the call request; freeswitch sends the response message corresponding to the call request to the call management server through the ESL event method (i.e., the answer event), and accordingly, the call management server receives the answer event.
[0164] S902: The call management server sends an MQ message to the real-time statistics server for reporting, indicating that a response event has been received.
[0165] S903. The real-time statistics server consumes the MQ message to obtain the call information corresponding to the MQ message; integrates and processes the call information to obtain call link data, which is the processing flow data of the call event included in the current call.
[0166] In the embodiment of the present application, the real-time statistics server receives the MQ message from the call management server or the core service server, and executes step S903 in sequence, and does not Fig. 9 Shown in.
[0167] S904, the call management server sends a command to bridge the client and the agent to freeswitch, and correspondingly, freeswitch receives the command to bridge the client and the agent; freeswitch notifies the call management server of the call bridging result (bridging success) through the ESL event; correspondingly, the call management server receives a response message corresponding to the command to bridge the client and the agent (i.e., the call bridging is successful); after the call bridging is successful, the client and the agent start talking.
[0168] S905. The call management server sends an MQ message to the real-time statistics server for reporting, indicating that the call bridging is successful; accordingly, step S903 is executed.
[0169] S906. If the call management server receives the agent state switching event sent by the core service server, it sends an MQ message to notify the core service server to change the agent state; correspondingly, the core service server receives the MQ message.
[0170] S907, the call management server sends an MQ message to the real-time statistics server for reporting, indicating that the core service server has been notified; accordingly, step S903 is executed.
[0171] S908. The core service server changes the seat status.
[0172] S909. When the core service server completes the agent status change, it sends an MQ message to the real-time statistics server for reporting, indicating that the agent status switch is successful; accordingly, execute step S903; the core service server notifies the front-end client through a message to adjust the agent status display and the workbench page style.
[0173] S910. The client obtains target call link data corresponding to the target call in response to a call link data viewing instruction of the target call.
[0174] S911. The client displays target call link data according to preset rules.
[0175] The data processing method for the outgoing call scenario provided in the embodiment of the present application can intuitively display the call link data of the outgoing call, and when a fault occurs in the outgoing call, it can quickly locate the fault, thereby improving the efficiency of fault location.
[0176] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0177] Fig.10 The structural diagram of the data processing device provided in one embodiment of the present application is applied to a real-time statistics server, where the real-time statistics server, the call management server and the core service server are connected to each other in communication. Fig.10 As shown, the data processing device 1000 of the embodiment of the present application includes: a receiving module 1001, a parsing module 1002 and a processing module 1003. Among them:
[0178] Receiving module 1001 is used to receive a first message sent by a call management server or a core service server, where the first message carries an identifier of the current call and a current processing status of the call event; the first message is sent by the call management server after receiving a subscribed call event, or the first message is sent by the core service server after switching the agent status based on the call event of the call management server.
[0179] The parsing module 1002 is used to parse the first message to obtain call information corresponding to the first message, where the call information includes an identifier of the current call and a current processing status of the call event.
[0180] The processing module 1003 is used to integrate and process the call information to obtain call link data, where the call link data is the processing flow data of the call events included in the current call.
[0181] In some embodiments, the processing module 1003 can be specifically used for: if the call link data is the call link data obtained by consuming the first message from the call management server, then according to the identifier of the current call and the information corresponding to the call event, the integrated call link data is obtained according to the first preset format; if the call link data is the call link data obtained by consuming the first message from the core service server, then according to the identifier of the current call and the information of the agent status switching, the integrated call link data is obtained according to the second preset format.
[0182] The device of the embodiment of the present application can be used to execute the solution of the real-time statistics server in any of the above method embodiments. Its implementation principle and technical effect are similar and will not be repeated here.
[0183] Fig.11 This is a structural diagram of a data processing device provided by another embodiment of the present application, which is applied to a call management server, wherein the call management server, the real-time statistics server and the core service server are connected to each other in communication. Fig.11 As shown, the data processing device 1100 of the embodiment of the present application includes: a receiving module 1101 and a sending module 1102. Among them:
[0184] The receiving module 1101 is used to receive a call event, where a call event is an event subscribed by a call management server.
[0185] The sending module 1102 is used to send a first message to the real-time statistics server if the call event is a non-agent state switching event, and the first message carries the identifier of the current call and the current processing status of the call event; and if the call event is an agent state switching event, send a second message to the core service server, and the second message is used to instruct the core service server to switch the agent state, and after the core service server switches the agent state, it sends the first message to the real-time statistics server.
[0186] The device of the embodiment of the present application can be used to execute the call management server solution in any of the above method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0187] Fig.12 A structural diagram of a data processing device provided in another embodiment of the present application is applied to a core service server, wherein the core service server, the call management server and the real-time statistics server are connected to each other in communication. Fig.12 As shown, the data processing device 1200 of the embodiment of the present application includes: a receiving module 1201, a switching module 1202 and a sending module 1203. Among them:
[0188] The receiving module 1201 is used to receive a second message sent by the call management server, where the second message is used to instruct the core service server to switch the agent state. The second message is sent by the call management server when the received call event is an agent state switching event.
[0189] The switching module 1202 is used to switch the seat status according to the second message.
[0190] The sending module 1203 is used to send a first message to the real-time statistics server when the agent state switching is completed. The first message carries the identifier of the current call and the current processing status of the agent state switching event.
[0191] The device of the embodiment of the present application can be used to execute the solution of the core service server in any of the above method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0192] Fig.13 This is a structural diagram of a data processing device provided in another embodiment of the present application, which is applied to a client. Fig.13 As shown, the data processing device 1300 of the embodiment of the present application includes: an acquisition module 1301 and a display module 1302. Among them:
[0193] The acquisition module 1301 is used to respond to the call link data viewing instruction of the target call and obtain the target call link data corresponding to the target call from the real-time statistics server. The target call link data is the call link data obtained in the above method embodiment, and the real-time statistics server is the real-time statistics server that obtains the call link data in the above method embodiment.
[0194] The display module 1302 is used to display the target call link data according to a preset rule.
[0195] In some embodiments, the display module 1302 can also be used for: after displaying the target call link data according to preset rules, if the events contained in the target call link data do not match the events contained in the preset call link data, then displaying prompt information corresponding to the mismatching events, and the prompt information is used to locate the call failure.
[0196] Optionally, the acquisition module 1301 can also be used for: after the display module 1302 displays the target call link data according to preset rules, in response to a viewing instruction for the target event in the target call link data, obtaining information corresponding to the target event from the real-time statistics server; the display module 1302 can also be used to display the information corresponding to the target event.
[0197] The device of the embodiment of the present application can be used to execute the client solution of any of the above method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0198] Fig.14 A schematic diagram of a data processing system provided in an embodiment of the present application is shown in FIG. Fig.14 As shown, the data processing system 1400 includes a real-time statistics server 1401, a call management server 1402 and a core service server 1403, and the real-time statistics server 1401, the call management server 1402 and the core service server 1403 are communicatively connected with each other.
[0199] The call management server 1402 is used to receive call events, which are events subscribed by the call management server 1402; if the call event is a non-agent state switching event, a first message is sent to the real-time statistics server 1401, and the first message carries the identifier of the current call and the current processing status of the call event; if the call event is an agent state switching event, a second message is sent to the core service server 1403, and the second message is used to instruct the core service server 1403 to switch the agent state.
[0200] The core service server 1403 is used to receive the second message sent by the call management server 1402, and perform agent state switching according to the second message; when the agent state switching is completed, the core service server 1403 sends a first message to the real-time statistics server 1401, where the first message carries the identifier of the current call and the current processing status of the agent state switching event;
[0201] The real-time statistics server 1401 is used to receive the first message sent by the call management server 1402 or the core service server 1403; parse the first message to obtain call information corresponding to the first message, the call information includes the identifier of the current call and the current processing status of the call event; integrate the call information to obtain call link data, the call link data is the processing flow data of the call event included in the current call.
[0202] In some embodiments, the data processing system 1400 may further include: a client 1404, which is used to obtain target call link data corresponding to the target call from the real-time statistics server 1401 in response to a call link data viewing instruction of the target call; and display the target call link data according to preset rules.
[0203] Among them, the real-time statistics server 1401 can use Fig.10 The structure of the device embodiment, which can be executed accordingly Figure 2 , Figure 3 , Figure 8 or Fig. 9 The technical solution of the embodiment has similar implementation principles and technical effects, which will not be described in detail here. The call management server 1402 can use Fig.11 The structure of the device embodiment, which can be executed accordingly Figure 2 , Figure 4 , Figure 8 or Fig. 9 The technical solution of the embodiment has similar implementation principles and technical effects, which will not be repeated here. The core service server 1403 can use Fig.12 The structure of the device embodiment, which can be executed accordingly Figure 2 , Figure 5 , Figure 8 or Fig. 9The technical solution of the embodiment has similar implementation principles and technical effects, which will not be described in detail here. Fig.13 The structure of the device embodiment, which can be executed accordingly Figure 6 , Figure 8 or Fig. 9 The technical solutions of the embodiments have similar implementation principles and technical effects, which will not be described in detail here.
[0204] Fig.15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. For example, the electronic device can be provided as a server or a computer. Fig.15 , the electronic device 1500 includes a processing component 1501, which further includes one or more processors, and a memory resource represented by a memory 1502, for storing instructions that can be executed by the processing component 1501, such as an application. The application stored in the memory 1502 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1501 is configured to execute instructions to perform any of the above method embodiments.
[0205] The electronic device 1500 may further include a power supply component 1503 configured to perform power management of the electronic device 1500, a wired or wireless network interface 1504 configured to connect the electronic device 1500 to a network, and an input / output (I / O) interface 1505. The electronic device 1500 may operate based on an operating system stored in the memory 1502, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0206] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above data processing method is implemented.
[0207] The present application also provides a computer program product, including a computer program, which implements the above data processing method when executed by a processor.
[0208] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0209] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in a data processing device as discrete components.
[0210] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0211] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A data processing method, characterized in that: Applied to a real-time statistics server, the real-time statistics server, the call management server and the core service server are connected to each other in communication, and the data processing method includes: Receive a first message sent by the call management server or the core service server, the first message carrying an identifier of the current call and a current processing status of the call event; the first message is sent by the call management server after receiving a subscribed call event, or the first message is sent by the core service server after switching an agent state based on the call event of the call management server, the core service server is used to receive a second message sent by the call management server, and switch the agent state according to the second message, the second message is sent by the call management server when the call event received is an agent state switching event; Parsing the first message to obtain call information corresponding to the first message, the call information including an identifier of the current call and a current processing status of the call event; If the first message comes from the call management server, the call information is integrated and processed according to a first preset format to obtain call link data, where the first preset format is a format generated according to the identifier of the current call, the event name corresponding to the call event, and the time when the call event occurred; If the first message comes from the core service server, the call information is integrated and processed according to a second preset format to obtain the call link data, where the second preset format is a format generated according to the identifier of the current call, the current processing status of the agent state switching event, and the time when the agent state switching occurs, and the call link data is the processing flow data of the call event included in the current call; Send target call link data corresponding to the target call to the client, and the client is used to display the target call link data according to preset rules, wherein the method of displaying the target call link data includes a first display method and a second display method, and the terminology in the second display method is more professional than that in the first display method.
2. A data processing method, characterized in that: Applied to a call management server, the call management server, the real-time statistics server and the core service server are connected to each other in communication, and the data processing method includes: receiving a call event, where the call event is an event subscribed by the call management server; If the call event is a non-agent state switching event, a first message is sent to the real-time statistics server, the first message carrying the identifier of the current call and the current processing status of the call event; the real-time statistics server is used to parse the first message to obtain call information corresponding to the first message, and integrate the call information according to a first preset format to obtain call link data, the first preset format is a format generated according to the identifier of the current call, the event name corresponding to the call event, and the time when the call event was generated, and the call link data is the processing flow data of the call event included in the current call; If the call event is an agent state switching event, a second message is sent to the core service server, and the second message is used to instruct the core service server to switch the agent state; the core service server is used to receive the second message sent by the call management server, switch the agent state according to the second message, and after completing the agent state switching, send the first message to the real-time statistics server, the real-time statistics server is used to parse the first message to obtain call information corresponding to the first message, and integrate the call information according to a second preset format to obtain the call link data, the second preset format is a format generated according to the identifier of the current call, the current processing status of the agent state switching event, and the time when the agent state switching occurs, and send the target call link data corresponding to the target call to the client, the client is used to display the target call link data according to preset rules, wherein the method of displaying the target call link data includes a first display method and a second display method, and the terminology in the second display method is more professional than that in the first display method.
3. A data processing method, characterized in that: Applied to a core service server, the core service server, the call management server and the real-time statistics server are connected to each other in communication, and the data processing method includes: receiving a second message sent by the call management server, where the second message is used to instruct the core service server to switch the agent state, and the second message is sent by the call management server when the received call event is an agent state switching event; According to the second message, switch the seat status; When the agent status switching is completed, a first message is sent to the real-time statistics server, wherein the first message carries the identifier of the current call and the current processing status of the agent status switching event, and the real-time statistics server is used to parse the first message to obtain call information corresponding to the first message, and integrate the call information according to a second preset format to obtain call link data, wherein the second preset format is a format generated according to the identifier of the current call, the current processing status of the agent status switching event, and the time when the agent status switching occurs, and the target call link data corresponding to the target call is sent to the client, and the client is used to display the target call link data according to preset rules, wherein the method of displaying the target call link data includes a first display method and a second display method, and the terminology in the second display method is more professional than that in the first display method.
4. A data processing method, characterized in that: Applied to the client, the data processing method includes: In response to a call link data viewing instruction of a target call, obtaining target call link data corresponding to the target call from a real-time statistics server, wherein the target call link data is the call link data obtained by the data processing method according to claim 1, and the real-time statistics server is the real-time statistics server that obtains the call link data in the data processing method; The target call link data is displayed according to a preset rule, wherein the manner of displaying the target call link data includes a first display manner and a second display manner, and the terminology in the second display manner is more professional than that in the first display manner.
5. The data processing method according to claim 4, characterized in that: After displaying the target call link data according to the preset rule, the method further includes: If the event included in the target call link data does not match the event included in the preset call link data, prompt information corresponding to the unmatched event is displayed, and the prompt information is used to locate the call failure.
6. The data processing method according to claim 4 or 5, characterized in that: After displaying the target call link data according to the preset rule, the method further includes: In response to a viewing instruction for a target event in the target call link data, acquiring information corresponding to the target event from the real-time statistics server; Display the information corresponding to the target event.
7. A data processing system, characterized in that: include: Call management server, core service server and real-time statistics server; The call management server is used to receive a call event, where the call event is an event subscribed by the call management server; If the call event is a non-agent state switching event, a first message is sent to the real-time statistics server, where the first message carries an identifier of the current call and a current processing state of the call event; If the call event is an agent state switching event, sending a second message to the core service server, wherein the second message is used to instruct the core service server to perform an agent state switching; The core service server is configured to receive a second message sent by the call management server, and perform an agent state switch according to the second message; When the agent state switching is completed, a first message is sent to the real-time statistics server, where the first message carries an identifier of the current call and a current processing status of the agent state switching event; The real-time statistics server is used to receive a first message sent by the call management server or the core service server; Parsing the first message to obtain call information corresponding to the first message, the call information including an identifier of the current call and a current processing status of the call event; If the first message comes from the call management server, the call information is integrated and processed according to a first preset format to obtain call link data, where the first preset format is a format generated according to the identifier of the current call, the event name corresponding to the call event, and the time when the call event occurred; If the first message comes from the core service server, the call information is integrated and processed according to a second preset format to obtain the call link data, where the second preset format is a format generated according to the identifier of the current call, the current processing status of the agent state switching event, and the time when the agent state switching occurs, and the call link data is the processing flow data of the call event included in the current call; A client is used to display target call link data according to preset rules, wherein the method of displaying the target call link data includes a first display method and a second display method, and the terminology in the second display method is more professional than that in the first display method.
8. The data processing system according to claim 7, characterized in that: The client is used to obtain the target call link data corresponding to the target call from the real-time statistics server in response to the call link data viewing instruction of the target call; The target call link data is displayed according to a preset rule.
9. A data processing device, characterized in that: Applied to a real-time statistics server, the real-time statistics server, the call management server and the core service server are connected to each other in communication, and the data processing device includes: A receiving module, configured to receive a first message sent by the call management server or the core service server, wherein the first message carries an identifier of the current call and a current processing status of the call event; the first message is sent by the call management server after receiving a subscribed call event, or the first message is sent by the core service server after performing an agent status switch based on the call event of the call management server, and the core service server is configured to receive a second message sent by the call management server, and perform an agent status switch according to the second message, wherein the second message is sent by the call management server when the call event received is an agent status switch event; A parsing module, configured to parse the first message to obtain call information corresponding to the first message, wherein the call information includes an identifier of the current call and a current processing status of the call event; a processing module, configured to integrate and process the call information in a first preset format to obtain call link data if the first message comes from the call management server, wherein the first preset format is a format generated according to an identifier of the current call, an event name corresponding to the call event, and a time when the call event occurs; If the first message comes from the core service server, the call information is integrated and processed according to a second preset format to obtain the call link data, where the second preset format is a format generated according to the identifier of the current call, the current processing status of the agent state switching event, and the time when the agent state switching occurs, and the call link data is the processing flow data of the call event included in the current call; Send target call link data corresponding to the target call to the client, and the client is used to display the target call link data according to preset rules, wherein the method of displaying the target call link data includes a first display method and a second display method, and the terminology in the second display method is more professional than that in the first display method.
10. A data processing device, characterized in that: Applied to a client, the data processing device comprises: an acquisition module, configured to respond to a call link data viewing instruction of a target call and acquire target call link data corresponding to the target call from a real-time statistics server, wherein the target call link data is the call link data obtained by the data processing method according to claim 1, and the real-time statistics server is the real-time statistics server that obtains the call link data in the data processing method; A display module is used to display the target call link data according to preset rules, wherein the method of displaying the target call link data includes a first display method and a second display method, and the terminology in the second display method is more professional than that in the first display method.
11. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the data processing method according to any one of claims 1 to 6.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the data processing method according to any one of claims 1 to 6 is implemented.
