Process processing method and data processing method, device, equipment and storage medium
By responding to the user's node selection and component configuration operations, update the configuration components of the process node and generate node content information, the problem of cumbersome interactive process of intelligent customer service configuration is solved, and efficient process configuration is achieved.
Patent Information
- Application Number
- CN202111183935.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-11
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2041-10-11
AI Technical Summary
When configuring the interactive process, the existing intelligent customer service has cumbersome and low efficiency, and lacks a simple and efficient configuration method.
A process processing method is provided, which updates the configuration elements of the process node and generates node content information for display on the dialogue interface in response to a user's node selection and component configuration operations.
The configuration process of interactive processes is simplified, configuration efficiency is improved, and users can configure processes through visual means, reducing coding needs.
Smart Images

Figure CN113961681B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and more specifically, to a process processing method and a data processing method, device, electronic device and storage medium. Background Art
[0002] With the development of Internet technology, the interaction between intelligent customer service and users is becoming more and more extensive. In the process of interacting with users, intelligent customer service can interact on the dialogue page based on the pre-set interaction process. However, the pre-set dialogue process is generally determined by business personnel to determine the interaction requirements, and technical personnel configure the interaction process corresponding to the interaction requirements by writing code. The process is cumbersome and inefficient. Therefore, how to configure the interaction process more simply and efficiently is an urgent problem to be solved. Summary of the invention
[0003] In view of the above problems, the present application proposes a process processing method and a data processing method, device, electronic device and storage medium to improve the above defects.
[0004] In a first aspect, an embodiment of the present application provides a process processing method, comprising: in response to a node selection operation of a working user, determining a target process node among multiple displayed process nodes; in response to an element configuration operation of the working user on the target process node, updating at least one configuration element of the target process node; and generating node content information corresponding to the target process node based on the at least one updated configuration element, wherein the node content information is used to be sent and displayed on a dialog interface.
[0005] Furthermore, in response to the working user's component configuration operation on the target process node, updating at least one configuration component of the target process node includes: in response to the working user's component selection operation on the target process node, determining the target configuration component from multiple preset configuration components displayed in the component library area; in response to the working user's dragging operation on the target configuration component, determining whether the end position of the dragging operation is located in the editing area of the target process node on the canvas area; and if so, displaying the target configuration component in the editing area of the target process node, thereby determining at least one configuration component of the target process node.
[0006] Furthermore, after displaying the target configuration element in the editing area of the target process node, the method also includes: obtaining input information in response to the working user's information input operation on the target configuration element; and updating the target configuration element according to the input information; generating node content information corresponding to the target process node based on the at least one updated configuration element, including: generating the node content information based on the updated target configuration element, and the node content information includes the input information.
[0007] Further, after determining the target process node among the multiple displayed process nodes in response to the working user's node selection operation, the method also includes: determining the target configuration element among the at least one configuration element of the target process node in response to the working user's component selection operation on the target process node; and determining one other than the target process node from the multiple process nodes as a connection process node in response to the working user's connection operation on the target configuration element, and establishing a connection relationship from the target configuration element to the connection process node; updating at least one configuration element of the target process node in response to the working user's component configuration operation on the target process node includes: updating the target configuration element of the target process node in response to the working user's component configuration operation on the target process node.
[0008] Further, the target process node includes multiple configuration elements, and the multiple configuration elements include at least one interactive configuration element, and the interactive configuration element is used to detect component trigger operations. After the response to the working user's connection operation on the target configuration element, one other than the target process node is determined from the multiple process nodes as a connecting process node, and a connection relationship is established from the target configuration element to the connecting process node, the method also includes: determining whether there is an interactive configuration element with a zero connection relationship among the multiple configuration elements corresponding to the target process node; if there is an interactive configuration element with a zero connection relationship, determining whether the target process node is an end node; and if the target process node is not the end node, establishing a connection relationship from the interactive configuration element with a zero connection relationship to the end node.
[0009] Furthermore, in response to the working user's connection operation on the target configuration element, after determining one other than the target process node from the multiple process nodes as a connection process node, and establishing a connection relationship from the target configuration element to the connection process node, the method also includes: obtaining historical sending data; determining the jump rate of each process node based on the historical sending data; determining whether the jump rate of each process node is less than a preset threshold; and if the jump rate is less than the preset threshold, displaying a prompt message, wherein the prompt message is used to prompt the working user to check the connection relationship of the process node.
[0010] In a second aspect, an embodiment of the present application provides a data processing method, comprising: in response to a content acquisition request of a target user, acquiring node content information of the target process node described in the method described in the first aspect; and sending the node content information to the target user.
[0011] Furthermore, after sending the node content information to the target user, the method also includes: obtaining a user message input by the target user on the dialogue interface, and performing semantic recognition on the user message to obtain semantic features of the user message; obtaining semantic features of the node content information of each of the multiple process nodes; determining a matching degree between the user message and each process node based on the semantic features of the user message and the semantic features of the node content information of each process node; determining a jump process node among the multiple process nodes based on the matching degree between the user message and each process node; jumping from the target process node to the jump process node; and obtaining node content information of the jump process node, and sending the node content information of the jump process node to the target user.
[0012] Furthermore, the node content information is used to generate a sending card including at least one card component, and the at least one card component corresponds one-to-one to the at least one configuration element of the target process node. After sending the node content information to the target user, the method also includes: in response to the target user's component trigger operation on the target card component in the at least one card component, obtaining the connection relationship of the target process node; according to the connection relationship, determining at least one connection process node pointed to by the target configuration element corresponding to the target card component as a jump process node; jumping from the target process node to the jump process node; and obtaining the node content information of the jump process node, and sending the node content information of the jump process node.
[0013] Furthermore, there are multiple jump process nodes, and jumping from the target process node to the jump process node includes: obtaining a user portrait corresponding to the target user and user portraits corresponding to multiple historical users of each jump process node; matching the user portrait corresponding to the target user with the user portrait corresponding to each historical user to obtain the user similarity between the target user and each historical user; determining the target historical user corresponding to the maximum user similarity among the multiple historical users based on the user similarity between the target user and each historical user; and jumping from the target process node to the jump process node of the target historical user.
[0014] Furthermore, there are multiple jump process nodes, and jumping from the target process node to the jump process node includes: obtaining a user portrait corresponding to the target user and user portraits corresponding to multiple historical users of each jump process node; determining a predicted user portrait corresponding to each jump process node based on the user portraits corresponding to the multiple historical users of each jump process node; matching the user portrait corresponding to the target user with each predicted user portrait to obtain the user similarity between the target user and each predicted user portrait; and jumping from the target process node to the jump process node corresponding to the maximum user similarity.
[0015] Furthermore, there are multiple jump process nodes, each of which has a scene type identifier, and jumping from the target process node to the jump process node includes: obtaining the target scene type of the content acquisition request; according to the target scene type, screening multiple jump process nodes to obtain a target jump process node, the scene type identifier of the target jump process node matches the target scene type; and jumping from the target process node to the target jump process node.
[0016] In the third aspect, an embodiment of the present application provides a data processing method, comprising: in response to a node selection operation of a working user, the server determines a target process node from a plurality of displayed process nodes; in response to an element configuration operation of the working user on the target process node, the server updates at least one configuration element of the target process node; based on the at least one updated configuration element, the server generates node content information corresponding to the target process node; in response to a preset trigger operation of the target user, the terminal device sends a content acquisition request of the target user to the server; in response to the content acquisition request, the server acquires the node content information of the target process node and sends the node content information to the terminal device; the terminal device displays the node content information on the dialogue interface of the target user.
[0017] In a fourth aspect, an embodiment of the present application provides a process processing device, comprising: a node selection module, a node configuration module, and an information generation module. The node selection module is used to determine a target process node among multiple displayed process nodes in response to a user's node selection operation; the node configuration module is used to update at least one configuration element of the target process node in response to a user's element configuration operation on the target process node; and the information generation module is used to generate node content information corresponding to the target process node based on the updated at least one configuration element, and the node content information is used to be sent and displayed on the dialogue interface.
[0018] Furthermore, the node configuration module includes a component determination submodule, a position determination submodule and a component display submodule. The component determination submodule is used to determine the target configuration component from the multiple preset configuration components displayed in the component library area in response to the component selection operation of the working user on the target process node; the position determination submodule is used to determine whether the end position of the drag operation is located in the editing area of the target process node on the canvas area in response to the drag operation of the working user on the target configuration component; and the component display submodule is used to display the target configuration component in the editing area of the target process node if so, thereby determining at least one configuration component of the target process node.
[0019] Furthermore, the node configuration module also includes an information acquisition submodule, a first update submodule and an information update submodule. The information acquisition submodule is used to acquire input information in response to the information input operation of the working user on the target configuration element after displaying the target configuration element in the editing area of the target process node; the first update submodule is used to update the target configuration element according to the input information; the information update submodule is used to generate the node content information according to the updated target configuration element, and the node content information includes the input information.
[0020] Furthermore, the process processing device also includes a component determination submodule, a first connection establishment submodule, and a second update submodule. The component determination submodule is used to determine the target configuration element from the at least one configuration element of the target process node in response to the working user's component selection operation on the target process node; and the first connection establishment submodule is used to determine one other than the target process node from the multiple process nodes as a connection process node in response to the working user's connection operation on the target configuration element, and establish a connection relationship from the target configuration element to the connection process node; the second update submodule is used to update the target configuration element of the target process node in response to the working user's component configuration operation on the target process node.
[0021] Furthermore, the target process node includes a plurality of configuration elements, the plurality of configuration elements include at least one interactive configuration element, the interactive configuration element is used to detect component triggering operations, and the process processing device also includes a connection relationship determination submodule, an end node determination submodule and a second connection establishment submodule. Wherein, after determining one other than the target process node from the plurality of process nodes as a connection process node and establishing a connection relationship from the target configuration element to the connection process node, the connection relationship determination submodule is used to determine whether there is an interactive configuration element with a zero connection relationship among the plurality of configuration elements corresponding to the target process node; the end node determination submodule is used to determine whether the target process node is an end node if there is an interactive configuration element with a zero connection relationship; and the second connection establishment submodule is used to establish a connection relationship from the interactive configuration element with a zero connection relationship to the end node if the target process node is not the end node.
[0022] Furthermore, the process processing device also includes a data acquisition submodule, a jump rate determination submodule, a threshold determination submodule and an information display submodule, wherein, in response to the working user's connection operation on the target configuration element, after determining one other than the target process node from the multiple process nodes as a connection process node, and establishing a connection relationship from the target configuration element to the connection process node, the data acquisition submodule is used to acquire historical sending data; the jump rate determination submodule is used to determine the jump rate of each process node based on the historical sending data; the threshold determination submodule is used to determine whether the jump rate of each process node is less than a preset threshold; and the information display submodule is used to display a prompt message if the jump rate is less than the preset threshold, and the prompt message is used to prompt the working user to check the connection relationship of the process node.
[0023] In the fifth aspect, an embodiment of the present application provides a data processing device, comprising: a request response module and an information sending module, wherein the request response module is used to respond to the content acquisition request of the target user and obtain the node content information of the target process node as described in the above method; the information sending module is used to send the node content information to the target user.
[0024] Furthermore, the data processing device also includes a semantic recognition module, a feature acquisition module, a matching degree determination module, a node jump module and a first information acquisition module, wherein the semantic recognition module is used to obtain the user message input by the target user on the dialogue interface, and perform semantic recognition on the user message to obtain the semantic feature of the user message; the feature acquisition module is used to obtain the semantic feature of the node content information of each process node in the multiple process nodes; the matching degree determination module is used to determine the matching degree between the user message and each process node based on the semantic feature of the user message and the semantic feature of the node content information of each process node; the node jump module is used to jump from the target process node to the jump process node; the first information acquisition module is used to obtain the node content information of the jump process node, and send the node content information of the jump process node to the target user.
[0025] Furthermore, the node content information is used to generate a sending card including at least one card component, and the at least one card component corresponds one-to-one to the at least one configuration element of the target process node. The data processing device also includes a connection relationship acquisition module, a node determination module, a node jump module and a second information acquisition module, wherein the connection relationship acquisition module is used to obtain the connection relationship of the target process node in response to the target user's component trigger operation on the target card component in the at least one card component; the node determination module is used to determine at least one connection process node pointed to by the target configuration element corresponding to the target card component as a jump process node based on the connection relationship; the node jump module is used to jump from the target process node to the jump process node; the second information acquisition module is used to obtain the node content information of the jump process node and send the node content information of the jump process node.
[0026] Furthermore, there are multiple jump process nodes, and the node jump module includes a portrait acquisition submodule, a portrait matching submodule, a target user determination submodule and a first node jump submodule, wherein the portrait acquisition submodule is used to acquire the user portrait corresponding to the target user and the user portraits corresponding to multiple historical users of each jump process node; the portrait matching submodule is used to match the user portrait corresponding to the target user with the user portrait corresponding to each historical user to obtain the user similarity between the target user and each historical user; the target user determination submodule is used to determine the target historical user corresponding to the maximum user similarity among multiple historical users based on the user similarity between the target user and each historical user; the first node jump submodule is used to jump from the target process node to the jump process node of the target historical user.
[0027] Furthermore, there are multiple jump process nodes, and the node jump module also includes a portrait determination submodule, a similarity determination submodule and a second node jump submodule, wherein the portrait determination submodule is used to determine a predicted user portrait corresponding to each jump process node based on the user portraits corresponding to the multiple historical users of each jump process node; the similarity determination submodule is used to match the user portrait corresponding to the target user with each predicted user portrait to obtain the user similarity between the target user and each predicted user portrait; the second node jump submodule is used to jump from the target process node to the jump process node corresponding to the maximum user similarity.
[0028] Furthermore, there are multiple jump process nodes, each of which has a scene type identifier, and the node jump module also includes a type acquisition submodule, a node screening submodule and a third node jump submodule, wherein the type acquisition submodule is used to obtain the target scene type of the content acquisition request; the node screening submodule is used to screen multiple jump process nodes according to the target scene type to obtain a target jump process node, and the scene type identifier of the target jump process node matches the target scene type; the third node jump submodule is used to jump from the target process node to the target jump process node.
[0029] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method described in the first aspect, the second aspect or the third aspect above.
[0030] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the method described in the first aspect, the second aspect or the third aspect above.
[0031] The embodiment of the present application provides a process processing method and a data processing method, device, electronic device and storage medium. The process processing method, in response to the node selection operation of the working user, determines the target process node among the displayed multiple process nodes; in response to the component configuration operation of the working user on the target process node, updates at least one configuration element of the target process node; and generates node content information corresponding to the target process node according to the updated at least one configuration element, the node content information is used to be sent and displayed on the dialogue interface, so that the sending process can be configured in a visual way, which simplifies the configuration process of the node content information and improves efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0033] Figure 1 A data processing system provided by an embodiment of the present application is shown;
[0034] Figure 2 A data processing system provided by another embodiment of the present application is shown;
[0035] Figure 3 A schematic diagram of a process flow of a process processing method provided by an embodiment of the present application is shown;
[0036] Figure 4 A schematic diagram of a process flow of a process processing method provided by another embodiment of the present application is shown;
[0037] Figure 5 An example diagram of an interface provided by an embodiment of the present application is shown;
[0038] Figure 6 Shows Figure 4 A schematic diagram of a process of generating node content information after step S240;
[0039] Figure 7 A schematic diagram of a process flow of a process processing method provided by another embodiment of the present application is shown;
[0040] Figure 8 Shows Figure 7A schematic diagram of a process flow of step S330;
[0041] Fig. 9 Shows Figure 7 Another flowchart of step S330;
[0042] Fig.10 A schematic diagram showing a flow chart of a data processing method provided by an embodiment of the present application is shown;
[0043] Fig.11 A schematic diagram showing a flow chart of a data processing method provided by another embodiment of the present application is shown;
[0044] Fig.12 An interactive interface provided by an embodiment of the present application is shown;
[0045] Fig.13 Shows Fig.11 A schematic diagram of a process flow of step S570;
[0046] Fig.14 Shows Fig.11 Another flowchart of step S570;
[0047] Fig.15 Shows Fig.11 Another flowchart of step S570;
[0048] Fig.16 Another interactive interface provided by an embodiment of the present application is shown;
[0049] Fig.17 A schematic diagram showing a flow chart of a data processing method provided by another embodiment of the present application is shown;
[0050] Fig.18 Another interactive interface provided by an embodiment of the present application is shown;
[0051] Fig.19 Another interactive interface provided by an embodiment of the present application is shown;
[0052] Fig. 20 A schematic diagram showing a flow chart of a data processing method provided in yet another embodiment of the present application is shown;
[0053] Fig.21 A structural block diagram of a process processing device provided by an embodiment of the present application is shown;
[0054] Fig. 22 A structural block diagram of a data processing device provided by an embodiment of the present application is shown;
[0055] Fig.23 A structural block diagram of an electronic device for executing a method according to an embodiment of the present application is shown;
[0056] Fig.24 A storage unit for storing or carrying program codes for implementing the method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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.
[0058] See also Figure 1 , Figure 1 The data processing method and device of the embodiment of the present application can be applied to the following: Figure 1 The data processing system 10 shown includes a terminal device 101 and a server 200 . The terminal device 101 and the server 200 are located in a wireless network or a wired network, and data can be exchanged between the terminal device 101 and the server 200 .
[0059] The terminal device 101 is a device with an interface display function. For example, the terminal device 101 may be a smart phone, a tablet computer, an e-book reader, or a laptop computer, etc. The server 200 may be a single server or a server cluster, a local server, or a cloud server.
[0060] In some embodiments, a client application may be installed on the terminal device 101, and the target user may communicate with the server 200 based on the client application (such as an APP, etc.). The server 200 may process the received user input information, and the server 200 may return the corresponding node content information to the terminal device 101 according to the input information. The terminal device 101 sends the information to the target user corresponding to the terminal device 101 by displaying the corresponding node content information. Among them, the user's input information may be voice information, screen-based touch operation information, gesture information, action information, etc., and the output information may be images, videos, text, audio, etc., which are not limited here. Among them, the node content information may be the information corresponding to the process node obtained by the process processing device.
[0061] It can be understood that in some embodiments, the terminal device 101 can directly process the received user input information, and return the corresponding node content information based on the input information, and display the node content information to the target user, so that the terminal device 101 can interact with the user without relying on the server 200 to establish communication. At this time, the data processing system 10 can only include the terminal device 101.
[0062] In some embodiments, the process processing device can be set on the server 200. The server 200 can respond to the node selection operation of the working user, determine the target process node among the multiple displayed process nodes, and respond to the element configuration operation of the working user on the target process node to update at least one configuration element of the target process node, thereby generating node content information corresponding to the target process node based on the at least one updated configuration element, thereby sending information to the terminal device 101.
[0063] In some embodiments, Figure 2 As shown, the data processing system 10 may further include a terminal device 102. The terminal device 102 may be a device with an interface display function, such as a smart phone, a tablet computer, an e-book reader, or a laptop computer, etc. The process processing method and process processing apparatus of the embodiment of the present application may be applied to the terminal device 102.
[0064] The terminal device 102 may be installed with a client application for configuring a process node, and a working user may communicate with the server 200 based on the client application. The terminal device 102 may determine a target process node among the displayed multiple process nodes in response to a node selection operation of a working user, and then update at least one configuration element of the target process node in response to an element configuration operation of the working user on the target process node, so that after generating node content information corresponding to the target process node according to the updated at least one configuration element, the terminal device 102 may transmit the node content information corresponding to each process node to the server 200. Optionally, the terminal device 102 may also transmit the node information of each process node to the server 200 for storage, wherein the node information may be a connection relationship between nodes, etc. The above application environment is only an example made for convenience of understanding, and it can be understood that the embodiments of the present application are not limited to the above application environment.
[0065] The process processing method and data processing method, device, equipment and storage medium provided in the embodiments of the present application will be described in detail below through specific embodiments.
[0066] See also Figure 3 , Figure 3The flowchart of the process processing method provided in one embodiment of the present application can be applied to a terminal device or a server. This embodiment is described by taking the process processing method applied to a server as an example. The process processing method includes S110 to S130.
[0067] S110 : In response to a node selection operation of a working user, a target process node is determined among a plurality of displayed process nodes.
[0068] In this embodiment, the working user can configure the sending process in a visual manner, thereby simplifying the configuration process of the node content information. Specifically, when the working user configures the sending process, the working interface can display multiple process nodes for the user to select, wherein the process nodes can include initial nodes, intermediate nodes, end nodes, etc., which are not limited here. The server can determine the target process node from the displayed multiple process nodes in response to the node selection operation of the working user.
[0069] As an implementation method, the node selection operation of the working user can be triggered by clicking on the working interface, that is, the working user can click on the location of the corresponding process node on the working interface, thereby triggering the node selection operation of the process node, and the clicked process node is the target process node. For example, the initial node, node 1, and node 2 are displayed on the working interface. When the working user clicks on the location of node 1 on the working interface, the server can respond to the click operation of the working user and determine node 1 as the target process node. Furthermore, the click operation of the working user can be to click on the working interface using a tool such as a mouse, or the working user can click by touching the working interface, which is not limited here.
[0070] As another implementation, the node selection operation of the working user can also be triggered by inputting on the working interface, that is, there can be an input box on the working interface, and the working user can trigger the node selection operation of the process node by inputting the corresponding process node in the input box, and the input process node is the target process node. For example, the working user enters "initial node" in the input box, and the server can respond to the content input by the working user and determine the initial node as the target process node.
[0071] As another implementation, the node selection operation of the working user can also be triggered by voice, that is, the working user can speak the process node to be configured, thereby triggering the node selection operation for the process node, and the process node spoken by the working user is the target process node. For example, the working user can click the voice input control on the working interface to enable the voice recognition function of the working interface, and the working user can say "select node 2", and the server recognizes the working user's voice and determines node 2 as the target process node.
[0072] S120: In response to the working user's component configuration operation on the target process node, updating at least one configuration component of the target process node.
[0073] In this embodiment, after determining the target process node, the working user can configure the target process node. Therefore, the server can update at least one configuration element of the target process node in response to the working user's component configuration operation on the target process node. Among them, the configuration element can be used to edit the content of the process node, and the configuration element may include a content-type configuration element, which can be used to edit the text content, picture content, etc. of the process node. Optionally, the configuration element may also include a graphic-type configuration element, which can be used to edit the shape, color, etc. of the display of the process node. The configuration element may also include other types of configuration elements to meet the configuration of the process node. The above-mentioned configuration elements are only examples and are not limited here. At least one configuration element of the target process node can be edited through the component configuration operation, so that at least one configuration element of the target process node can be updated.
[0074] In some embodiments, a plurality of configuration elements may be displayed on the work interface, and the work user may click on the corresponding configuration element and drag the configuration element to the area corresponding to the target process node to implement the element configuration operation for the target process node. Furthermore, when the configuration element is a text-type configuration element, the work user may also perform text editing on the text-type configuration element after dragging the text-type configuration element to the area corresponding to the target process node to implement the editing of the text content of the target process node.
[0075] S130: Generate node content information corresponding to the target process node according to the updated at least one configuration element, and the node content information is used to be sent and displayed on the dialogue interface.
[0076] In this embodiment, the working user performs an element configuration operation on the target process node to update at least one configuration element of the target process node. Therefore, the node content information corresponding to the target process node can be generated based on the at least one updated configuration element, wherein the node content information can be used to be sent and displayed on the dialogue interface. The node content information can be the information corresponding to the process node obtained by the process processing device. It can be understood that the configuration element can be used to edit the content of the target process node, and the at least one updated configuration element means that the target process node has been edited. At this time, the content displayed in the area where the target process node is located is the content after the target process node has been edited, and the content displayed in the area where the target process node is located can be used as the node content information of the target process node.
[0077] In some embodiments, the dialogue interface may be an interface for instant messaging, which can be used for the target user to exchange messages with the interactive object, wherein the interactive object may be a dialogue robot such as an intelligent customer service, a virtual anchor, or a real person such as an artificial customer service. For example, when the target user selects a target process node in the dialogue interface, the server may return and display the node content information of the target process node on the dialogue interface.
[0078] The process processing method provided in the embodiment of the present application determines the target process node among the displayed multiple process nodes by responding to the node selection operation of the working user; updates at least one configuration element of the target process node in response to the component configuration operation of the working user on the target process node; and generates node content information corresponding to the target process node according to the at least one updated configuration element, and the node content information is used to be sent and displayed on the dialogue interface. Therefore, the working user does not need to write code and can configure the sending process in a visual way, which simplifies the configuration process of the node content information and improves efficiency.
[0079] See also Figure 4 , Figure 4 The flowchart of the process processing method provided in another embodiment of the present application can be applied to a terminal device or a server. This embodiment is described by taking the process processing method applied to the server as an example. The process processing method includes S210 to S250.
[0080] S210: In response to a node selection operation of a working user, a target process node is determined among a plurality of displayed process nodes.
[0081] For the detailed description of S210, please refer to S110, which will not be repeated here.
[0082] S220: In response to the working user's component selection operation on the target process node, determining a target configuration component from a plurality of preset configuration components displayed in the component library area.
[0083] The work interface 50 may display a canvas area as shown in 510 and a component library area as shown in 520, wherein at least one process node may be displayed on the canvas area, and the canvas area may be used to edit the process node. The canvas area may also display the editing area of each process node and the connection between the nodes, such as the editing area 511 of the initial node, the connection 512 between the initial node and node 1, and so on. The component library area may display a plurality of preset configuration components for the working user to select. Therefore, in this embodiment, the server may determine the target configuration component from the plurality of preset configuration components displayed in the component library area in response to the working user's component selection operation on the target process node. Specifically, after determining the target process node, the working user may click on the position of the configuration component in the component library area to trigger the component selection operation on the target process node, thereby determining the clicked configuration component as the target configuration component. For example, Figure 5 As shown in the interface diagram, the component library area may include multiple preset configuration components: "Rectangle", "Picture", "Button", "First-level Title", "Second-level Title", "Text Title", and "Text Paragraph". When the working user clicks on the location of the "button", the "button" can be determined as the target configuration component.
[0084] S230: In response to the working user's dragging operation on the target configuration element, determining whether the end position of the dragging operation is located in the editing area of the target process node on the canvas area.
[0085] In this embodiment, the working user can directly drag the target configuration element to the editing area of the target process node to edit the content of the target process node, thereby simplifying the configuration process of the process node. Specifically, the server can respond to the working user's drag operation on the target configuration element, and the working user can select the target configuration element with a tool such as a mouse and move the target configuration element to the editing area.
[0086] Furthermore, in order to determine whether the target configuration element is used to configure the target process node, it is also possible to determine whether the end position of the working user's drag operation is located in the editing area of the target process node on the canvas area. Specifically, the working user can drag the target configuration element using a tool such as a mouse. When the working user ends the selection operation of the target configuration element, for example, when the working user releases the mouse, the position where the target configuration element falls on the canvas area is the end position of the drag operation. It can be determined whether the end position of the drag operation is located in the editing area of the target process node on the canvas area by judging whether the position where the target configuration element falls on the canvas area is in the editing area of the target process node on the canvas area. It is understandable that the drag operation can also be achieved by the working user's touch operation on the screen.
[0087] S240: If yes, display the target configuration element in the editing area of the target process node, thereby determining at least one configuration element of the target process node.
[0088] In this embodiment, if the position where the target configuration element falls on the canvas area is located in the editing area of the target process node on the canvas area, that is, the end position of the drag operation is located in the editing area of the target process node on the canvas area, then the target configuration element can be displayed in the editing area of the target process node, thereby determining at least one configuration element of the target process node. That is, the target configuration element can be determined as the configuration element of the target process node, and by editing the target configuration element, the content of the target process node can be edited.
[0089] S250: Generate node content information corresponding to the target process node according to the updated at least one configuration element, and the node content information is used to be sent and displayed on the dialogue interface.
[0090] For the detailed description of S250, please refer to S130, which will not be repeated here.
[0091] In some embodiments, after S240, the process processing method further includes: Figure 6 S241-S243 shown.
[0092] S241: In response to the working user's information input operation on the target configuration element, the input information is acquired.
[0093] In this embodiment, after the target configuration element is displayed in the editing area of the target process node, the target configuration element can also be edited. Specifically, the input information can be obtained in response to the information input operation of the working user on the target configuration element. The input information can be the text for editing the target configuration element. For example, when the target configuration element is a button, the input information can be the text of the button.
[0094] In some embodiments, when a working user performs information input operation on a target configuration element, the information input operation can be performed through a keyboard, that is, inputting corresponding text through a keyboard; or the information input operation can be performed through voice, that is, speaking the text to be input through voice. The above methods are only examples and are not limited here.
[0095] S242: Update the target configuration element according to the input information.
[0096] In this embodiment, after performing an information input operation on the target configuration element, the input information can be displayed in the area where the target configuration element is located, thereby realizing the update of the target configuration element. Figure 5In the interface shown, the working user can select the initial node as the target process node, and then select the target configuration component "button" in the component library, and drag the target configuration component "button" to the editing area of the initial node. At this time, the configuration component "button" can be displayed in the editing area of the initial node. By inputting information to the "button", input "take a look", the input information can be displayed in the target configuration component to update the target configuration component, so as to obtain the following Figure 5 The contents of the initial node are shown.
[0097] S243: Generate node content information according to the updated target configuration element, where the node content information includes input information.
[0098] In this embodiment, node content information may be generated according to the updated target configuration element, wherein the node content information may include input information. The updated target configuration element is a target configuration element that displays input information in the area where the target configuration element is located. The server may directly use the content of the editing area of the target process node as the node content information. Therefore, the node content information may include input information. For example, Figure 5 In the interface shown, by inputting information into the "button" of the target configuration component and inputting "take a look", the input information is displayed in the target configuration component to update the target configuration component. Then, all the contents displayed in the editing area of the initial node can be used as node content information.
[0099] Compared with the process processing method provided in the embodiment of the present application, Figure 3 The process processing method shown also includes determining a target configuration element from a plurality of preset configuration elements displayed in the component library area in response to a component selection operation of a working user on a target process node; determining whether the end position of the dragging operation is located in the editing area of the target process node on the canvas area in response to a dragging operation of the working user on the target configuration element; and if so, displaying the target configuration element in the editing area of the target process node, thereby determining at least one configuration element of the target process node. By setting a corresponding editing area for each process node, when a configuration element in the component library area is dragged to the editing area, the configuration element is added to the process node, which can simplify the user's configuration operation on the node and reduce the user's operation difficulty.
[0100] See also Figure 7 , Figure 7 The flowchart of the process processing method provided in another embodiment of the present application can be applied to a terminal device or a server. This embodiment is described by taking the process processing method applied to a server as an example. The process processing method includes S310 to S340.
[0101] S310: In response to a node selection operation of a working user, a target process node is determined from among a plurality of displayed process nodes.
[0102] For the detailed description of S310, please refer to S110, which will not be repeated here.
[0103] S320: In response to a component selection operation of a working user on a target process node, determining a target configuration component in at least one configuration component of the target process node.
[0104] In this embodiment, the working user can also establish a connection relationship between process nodes to determine the order in which the process is carried out. Among them, it is necessary to determine the connection relationship corresponding to each configuration element in the target process node, and therefore, it is necessary to configure the connection relationship for each configuration element separately. Specifically, the target process node may include at least one configuration element, and the working user may perform an element selection operation on the target process node, thereby determining the target configuration element in at least one configuration element of the target process node to configure the connection relationship of the target configuration element. As an implementation method, the position of the configuration element in the editing area of the target process node can be selected to trigger the element selection operation on the target process node, and the selected configuration element can be determined as the target configuration element. Among them, the working user can select the position of the configuration element with the mouse, or can select the position of the configuration element by touching the position of the configuration element. For example, Figure 5 In the interface shown, the working user can select the initial node as the target process node, and the working user can click "Yes" as the target configuration element by the mouse.
[0105] S330: In response to the working user's connection operation on the target configuration element, determine one other than the target process node from the multiple process nodes as a connection process node, and establish a connection relationship from the target configuration element to the connection process node.
[0106] After determining the target configuration element, the connection relationship of the target configuration element can be configured. Specifically, in response to the work user's connection operation on the target configuration element, one other than the target process node can be determined from multiple process nodes as a connection process node, and a connection relationship pointing from the target configuration element to the connection process node can be established. The connection relationship can be used to determine other process nodes that need to be jumped.
[0107] Among them, the working user can first open the connection relationship configuration function, then determine the target configuration element, and select one of the multiple process nodes as the connection process node, so as to obtain a connection relationship from the target configuration element to the connection process node. The working user can also further choose between the information input function and the connection relationship configuration function after determining the target configuration element.
[0108] Furthermore, in order to visualize the connection relationship, a line between the target configuration element and the connection process node may be drawn on the interface to display the connection relationship between the target configuration element and the connection process node.
[0109] For example, Figure 5 In the interface shown, the working user can select the initial node as the target process node, the working user can click "yes" as the target configuration element by the mouse, and then the working user can click "node 1" by the mouse, and "node 1" can be used as the connection process node. Further, a connection line between the target configuration element "yes" and "node 1" can be established to visualize the connection relationship between the target configuration element "yes" and "node 1".
[0110] As a way, if another node is dragged onto the line where the target configuration element points to the connection process node, the connection relationship between the target configuration element and the connection process node is deleted, and the connection relationship between the target configuration element and the other node is re-established. Further, the relationship between the configuration element of another node and the connection process node can be established according to preset conditions, or the working user can be prompted to reconfigure the connection relationship between the connection process node.
[0111] In some embodiments, after S330, the process processing method further includes: Figure 8 S331-S333 shown.
[0112] S331: Determine whether there is an interactive configuration element with a zero connection relationship among the multiple configuration elements corresponding to the target process node.
[0113] The target process node may include multiple configuration elements. The configuration element may be a non-interactive element, such as a title or picture element for displaying content. The configuration element may also be an interactive configuration element. The interactive configuration element may be used to detect component trigger operations, that is, the user may interact with the interactive configuration element.
[0114] When the target process node includes multiple configuration elements, and the multiple configuration elements include at least one interactive configuration element, it can be determined whether there is an interactive configuration element with zero connection relationship among the multiple configuration elements corresponding to the target process node. Among them, zero connection relationship means no connection relationship. An interactive configuration element with zero connection relationship may mean that the interactive configuration element has no connection relationship with any process node.
[0115] By determining whether there is an interactive configuration element with a zero connection relationship among the multiple configuration elements corresponding to the target process node, the integrity of the process is ensured. Specifically, all interactive configuration elements in the multiple configuration elements corresponding to the target process node can be obtained respectively, and the connection relationship of all interactive configuration elements can be obtained respectively. When the interactive configuration element has a connection relationship, it indicates that the interactive configuration element is not an interactive configuration element with a zero connection relationship. Furthermore, it is also possible to check whether there is a connection line representing the connection relationship on the interactive configuration element on the interface. If there is no connection line representing the connection relationship on the interactive configuration element, then the interactive configuration element is an interactive configuration element with a zero connection relationship.
[0116] S332: If there is an interactive configuration element with a zero connection relationship, determine whether the target process node is an end node.
[0117] When obtaining the connection relationship of each interactive configuration element in the target process node, if there is an interactive configuration element without a connection relationship, it means that the target process node has an interactive configuration element with zero connection relationship. At this time, it can be further determined whether the target process node is an end node. The end node can refer to a node that terminates the entire process.
[0118] In some embodiments, each process node can be set with a corresponding identifier, and whether the target process node is an end node can be determined by checking whether the identifier corresponding to the target process node is consistent with the identifier corresponding to the end node. That is, when the identifier corresponding to the target process node is consistent with the identifier corresponding to the end node, it can be determined that the target process node is an end node.
[0119] S333: If the target process node is not an end node, a connection relationship is established from the interaction configuration element with a zero connection relationship to the end node.
[0120] If the target process node is not the end node, due to the existence of an interactive configuration element with a zero connection relationship, when the interactive configuration element is triggered, there is no process node to jump to, and the entire process is incomplete. Therefore, a connection relationship can be established from the interactive configuration element with a zero connection relationship to the end node to ensure the integrity of the process.
[0121] As a method, a table with connection relationships can be pre-set, and then the component configuration element with zero connection relationship and the end node can be written into the table to establish a connection relationship from the interaction configuration element with zero connection relationship to the end node. Optionally, in order to visualize the connection relationship, a line from the interaction configuration element with zero connection relationship to the end node can be drawn on the interface.
[0122] like Figure 5As shown, node 2 includes a non-interactive configuration element, i.e., a title element showing "Guess what you want to ask", and three interactive configuration elements, i.e., button elements showing "How to register", "School location" and "Tuition fee" respectively. Among them, "How to register" and "School location" are interactive configuration elements with zero connection relationships, which can be pointed to a preset end node, for example, a process node showing the registration details. This makes the process more complete.
[0123] In some embodiments, after S330, the process processing method further includes: Fig. 9 S334-S337 shown.
[0124] S334: Obtain historical sending data.
[0125] After establishing the connection relationship of each process node, in order to ensure the smoothness and stability of the process work, the connection relationship of each process node can be further checked. Specifically, the connection relationship of each process node can be checked based on the historical sending data. Among them, the historical sending data can be the interaction information sent by the historical users corresponding to the process when the server collects the interaction information, and the server can also collect the interaction information sent by the users corresponding to other processes similar to the process when they interact.
[0126] S335: Determine the jump rate of each process node according to the historical sending data.
[0127] After obtaining the historical sending data, the jump rate of each process node can be determined based on the historical sending data.
[0128] As a way, the jump rate can refer to the proportion of the number of jumps to the process node in all the jumps. That is, the jump rate reflects the popularity of each process node. The lower the jump rate, the lower the popularity of the process node. Therefore, the number of jumps to each process node and the total number of jumps can be determined based on the historical transmission data, and then the ratio of the number of jumps to each process node to the total number of jumps can be calculated to obtain the jump rate of each process node. For example, the number of jumps to node 1 is 100 times, and the total number of jumps is 200 times, then the jump rate of node 1 can be calculated to be 50%.
[0129] As a method, the jump rate can be the ratio of the number of jumps from the process node to other nodes to the total number of jumps to the current node. That is, the jump rate reflects the degree of loss of target users at each process node. The lower the jump rate, the higher the degree of loss, and the easier it is for users to lose. Among them, user loss means that the target user does not perform the next operation at the process node and does not complete the interaction of the entire process.
[0130] S336: Determine whether the jump rate of each process node is less than a preset threshold.
[0131] After determining the jump rate of each process node, the jump rate of each process node can be compared with a preset threshold to determine whether the jump rate of each process node is less than the preset threshold. The preset threshold is a numerical value representing a ratio, which can be preset by the system or set by the working user based on experience, and is not limited here.
[0132] Furthermore, since each process node is at a different stage of the entire process, the preset threshold corresponding to each process node may be different, that is, the initial node corresponds to the first preset threshold, the intermediate node 1 corresponds to the second preset threshold, the intermediate node 2 corresponds to the third preset threshold, etc. In some embodiments, the jump rate of each process node may be determined separately, and then it is determined whether the jump rate of each process node is less than the corresponding preset threshold. For example, it may be determined whether the jump rate of the intermediate node 1 is less than the second preset threshold, and whether the jump rate of the intermediate node 2 is less than the third preset threshold.
[0133] S337: If the jump rate is less than a preset threshold, a prompt message is displayed, and the prompt message is used to prompt the working user to check the connection relationship of the process node.
[0134] When determining whether the jump rate of each process node is less than a preset threshold, if there is a process node whose jump rate is less than the preset threshold, it can be indicated that the number of jumps of the process node is lower than expected, and a prompt message can be displayed to prompt the working user to check the connection relationship of the process node. The prompt message can remind the working user in the form of a pop-up window, or the process node can be highlighted on the interface, such as flashing, marking red, etc., to more accurately prompt the working user to check the process node that needs to be checked.
[0135] In some embodiments, when a working user checks the connection relationship of a process node, it may be to check whether there is an interactive configuration element with a zero connection relationship for the process node. If there is an interactive configuration element with a zero connection relationship for the process node, it may continue to determine whether the process node is an end node. If the process node is not an end node, a connection relationship pointing from the interactive configuration element with a zero connection relationship to the end node may be established. The specific implementation method may refer to the above embodiment and will not be described in detail here. Optionally, when a working user checks the connection relationship of a process node, it may be to check whether the process node is not properly connected to the interactive configuration element of the upper-level node.
[0136] In some embodiments, when the working user readjusts the connection relationship of the process node, the jump rate of the process node can be recalculated, and it can be determined whether the adjusted jump rate of the process node is less than a preset threshold. If the jump rate is less than the preset threshold, the working user can be reminded again; if the jump rate is greater than the preset threshold, the working user can be informed that there is no problem with the connection relationship of the process node.
[0137] It is understandable that inappropriate connection relationships or inappropriate node content may lead to a lower jump rate. Therefore, a prompt message for prompting the working user to check the node content may also be displayed to prompt the user to check the node content.
[0138] S340: In response to the working user's component configuration operation on the target process node, updating the target configuration component of the target process node.
[0139] S350: Generate node content information corresponding to the target process node according to the updated at least one configuration element, and the node content information is used to be sent and displayed on the dialogue interface.
[0140] For the detailed description of S340-S350, please refer to S120-S130, which will not be repeated here.
[0141] Compared with the process processing method provided in the embodiment of the present application, Figure 3 The process processing method shown also includes determining a target configuration element in at least one configuration element of the target process node in response to a working user's component selection operation on the target process node; determining one other than the target process node from multiple process nodes as a connecting process node in response to a working user's connection operation on the target configuration element, and establishing a connection relationship from the target configuration element to the connecting process node; and updating the target configuration element of the target process node in response to a working user's component configuration operation on the target process node, so that a connection relationship between the configuration element and the process node can be established through the connection operation, and the operation is simple and quick.
[0142] See also Fig.10 , Fig.10 The data processing method provided in one embodiment of the present application is a flow chart, which can be applied to a terminal device or a server. This embodiment is described by taking the data processing method applied to a server as an example. The data processing method includes S410 to S420.
[0143] S410: In response to a content acquisition request from a target user, node content information of a target process node is acquired.
[0144] When the target user interacts with the interactive object, the server can respond to the target user's content acquisition request and obtain the node content information of the target process node. The target user's content acquisition request can be triggered by the target user clicking the corresponding control on the interactive interface, or by the target user inputting corresponding information on the interactive interface, or by the target user through audio, which is not limited here.
[0145] In some embodiments, when receiving a content acquisition request from a target user, the server may respond to the content acquisition request from the target user, identify the content acquisition request, and determine the process node corresponding to the content acquisition request from multiple process nodes as the target process node, and then obtain the node content information of the target process node from the server. As a method, if the content acquisition request is the first request sent by the target user, the initial node may be determined as the target process node.
[0146] It is understandable that in some implementations, there may be multiple processes, each of which includes multiple process nodes. In response to a content acquisition request from a target user, the process corresponding to the content acquisition request may be first determined, and then the target process node may be determined from the multiple process nodes of the process.
[0147] S420: Send node content information to the target user.
[0148] After obtaining the node content information of the target process node, the node content information can be sent to the target user. Further, the node content information can be displayed on the interactive interface for the target user to view. Optionally, after sending the node content information, the operation performed by the target user on the node content information can also be detected.
[0149] The data processing method provided in the embodiment of the present application obtains the node content information of the target process node by responding to the content acquisition request of the target user, and sends the node content information to the target user. Thus, the corresponding node content information can be returned according to the request of the target user, thereby improving the interactive experience of the target user when interacting with the interactive object.
[0150] See also Fig.11 , Fig.11 The flowchart of the data processing method provided in another embodiment of the present application can be applied to a terminal device or a server. This embodiment is described by taking the data processing method applied to the server as an example. The data processing method includes S510 to S580.
[0151] S510: In response to a content acquisition request from a target user, node content information of a target process node is acquired.
[0152] S520: Send node content information to the target user.
[0153] For the detailed description of S510 - S520 , please refer to S410 - S420 , which will not be repeated here.
[0154] S530: Obtain a user message input by the target user on the dialogue interface, and perform semantic recognition on the user message to obtain semantic features of the user message.
[0155] The user message is text information input by the user. The text information can be a message input by the user through touch, or it can be a voice content obtained by audio collection, and the text information of the voice content obtained by natural language understanding. In some embodiments, when the terminal device receives a message interaction instruction triggered by the target user, a dialogue interface can be displayed on the terminal device. Optionally, after obtaining the user message input by the target user based on the dialogue interface, the user message can be displayed on the dialogue interface.
[0156] Specifically, the dialogue interface can be an interface for instant messaging, which can be used for the target user to exchange messages with the interactive object, wherein the interactive object can be a dialogue robot such as an intelligent customer service, a virtual anchor, or a real person such as an artificial customer service. For example, when the target user clicks the customer service button on the interactive interface, the dialogue interface for the intelligent customer service service is triggered, the text entered by the target user on the dialogue interface is obtained, and the text is displayed on the dialogue interface. For example, Fig.12 In the dialogue interface, the target user can input a user message of "how much money?" on the dialogue interface, and the user message can be displayed on the dialogue interface.
[0157] By acquiring the user message input by the target user on the dialogue interface and performing semantic recognition on the user message, the semantic features of the user message are obtained. Among them, the semantic recognition of the user message is to perform semantic recognition on the text information input by the user. The server can perform semantic recognition on the user message based on the pre-trained natural speech understanding model to obtain the semantic features of the user message. Among them, the natural language understanding model may include but is not limited to: Deep Neural Networks (DNN), Recurrent Neural Networks (RNN), Convolutional Neural Networks (CNN), Bidirectional Encoder Representation from Transformers (BERT), word vector model (doc2Vec), etc.
[0158] S540: Acquire semantic features of node content information of each process node among the multiple process nodes.
[0159] After obtaining the semantic features of the user message, the semantic features of the node content information of each process node in the multiple process nodes can also be obtained, so as to determine the information the user wants to obtain. As an implementation method, when configuring the node content information of each process node, the semantic features of the node content information of each process node can be determined at the same time, and stored accordingly in the server, so the semantic features of the node content information of each process node can be directly obtained from the server. As another implementation method, the node content information of each process node can be obtained, and the node content information of each process node can be semantically identified to obtain the semantic features of the node content information of each process node.
[0160] S550: Determine the matching degree between the user message and each process node according to the semantic features of the user message and the semantic features of the node content information of each process node.
[0161] After obtaining the semantic features of the node content information of each process node, the matching degree between the user message and each process node can be determined based on the semantic features of the user message and the semantic features of the node content information of each process node. The matching degree can be used to characterize the degree of correlation between the node content information of each process node and the semantic expression of the user message. The higher the matching degree, the higher the correlation between the node content information of the process node and the user message. As a method, the semantic features of the user message can be matched with the semantic features of each process node respectively to obtain the matching degree between the user message and each process node.
[0162] S560: Determine a jump process node from among multiple process nodes according to the matching degree between the user message and each process node.
[0163] After determining the matching degree between the user message and each process node, the matching degree between the user message and each process node can be determined. It can be understood that the higher the matching degree between the user message and the process node, the higher the relevance of the node content of the process node to the user message. Therefore, the process node with the highest matching degree can be determined as the jump process node, that is, the process node with the highest relevance to the user message can be used as the jump process node. Among them, after determining the matching degree between the user message and each process node, the matching degrees can be sorted, the highest matching degree can be selected, and the process node with the highest matching degree can be used as the jump process node. For example, the user enters "how much money?", that is, the user message is "how much money?", at this time, the user message can be semantically identified, and the semantic feature obtained is the amount, and then the semantic feature of the node content information of each process node is obtained, and matched with the amount. When the process node with the highest matching degree is "learning fee", "learning fee" can be used as the jump node.
[0164] S570: Jump from the target process node to the jump process node.
[0165] After determining the jump process node, you can directly jump from the target process node to the jump process node so that the target user can operate the jump process node. It is understandable that there may be a connection relationship between the target process node and the jump process node, or there may be no connection relationship. Among them, the connection relationship may include a direct connection relationship, that is, the target process node directly points to the jump process node; the connection relationship may also include an indirect connection relationship, that is, the target process node can point to the jump process node through other nodes. When there is no connection relationship, the jump relationship can be saved in the historical sending data to prompt the working user to check the connection relationship between the target process node and the jump process node.
[0166] S580: Obtain node content information of the jump process node, and send the node content information of the jump process node to the target user.
[0167] After the server jumps from the target process node to the jump process node, it can obtain the node content information of the jump process node and send the node content of the jump process node to the target user. Furthermore, the node content of the jump process node can be displayed on the conversation page. For example, when the target user enters "How much?" on the conversation page, the server can perform semantic recognition on the text and obtain the semantic feature as the amount, and then obtain the semantic feature of the node content information of each process node and match it with the amount. When the process node with the highest matching degree is "Learning Fees", "Learning Fees" can be used as the jump node. Then, the server obtains the node content of "Learning Fees" and sends the node content information of the jump process node to the target user, and as shown in the following figure. Fig.16As shown, the node content information corresponding to "learning fee" is displayed on the dialogue page.
[0168] In some implementations, the number of jump process nodes is multiple, and S570 may also include: Fig.13 S5710-S5713 shown.
[0169] S5710: Obtain a user portrait corresponding to the target user and user portraits corresponding to multiple historical users of each jump process node.
[0170] User portrait is a labeled user model abstracted from user information such as user social attributes, living habits or consumption behavior. Each user portrait can include multiple tags, which are highly refined feature identifiers obtained by analyzing user information. By constructing a user portrait, you can obtain the user portrait corresponding to the target user.
[0171] For each jump process node, the historical user corresponding to the jump process node can be determined, and the user portrait corresponding to each historical user can be obtained. The historical user is a user who has interacted with the jump process node within a specified time, for example, a user who has jumped to the process node. The specified time is a period of time relative to the current moment. For example, the historical user can be a user who has clicked on the jump process node within 1 month.
[0172] It is understandable that since each user portrait is obtained from the user information of the user, different user portraits may have different types or numbers of tags. For example, historical user A has four tags, "male", "father", "high consumption" and "stock speculation", and historical user B has three tags, "female", "white-collar worker" and "low consumption".
[0173] S5711: Match the user portrait corresponding to the target user with the user portrait corresponding to each historical user to obtain the user similarity between the target user and each historical user.
[0174] For each historical user of multiple jump process nodes, the user portrait corresponding to the historical user can be matched with the user portrait corresponding to the target user to obtain the user similarity between each historical user and the target user. The higher the user similarity, the more similar the historical user and the target user are. It can be understood that the user portrait reflects more comprehensive information about the user, and the user similarity obtained from the user portrait can indicate the overlap of the interests of the two users. The higher the similarity, the more similar the content that the historical user and the current user may be interested in.
[0175] In some implementations, the degree of overlap of labels in two user portraits may be determined as user similarity, that is, the more overlapping labels there are, the higher the user similarity is.
[0176] In some embodiments, each label text can be mapped into a corresponding label feature vector, i.e., a vector representing the semantics of the label text, according to a pre-trained semantic understanding model. By performing a fusion operation on multiple label feature vectors of a user portrait, a target user vector containing multiple label feature vectors can be obtained, and the target user vector can be used to represent the user information of the target user. Among them, the fusion operation can be a vector concatenation operation or a summation operation. Then, the label feature vectors of multiple labels of the user portrait corresponding to each historical user are fused to obtain the historical user vector of each historical user. Further, each historical user vector and the target user vector can be matched respectively to obtain the similarity between each historical user and the target user. As a way, the matching operation can be to calculate the distance between the vectors, and the greater the distance between the vectors, the lower the user similarity between the historical user and the target user. The vector distance can be Euclidean distance, Manhattan distance, Chebyshev distance, angle cosine, etc., which are not specifically limited here. By performing vector calculation on the target user vector and the historical user vector to obtain the user similarity, the calculation efficiency can be improved.
[0177] S5712: Determine a target historical user corresponding to a maximum user similarity among multiple historical users according to the user similarity between the target user and each historical user.
[0178] After obtaining the user similarity between the target user and each historical user, the user similarity can be sorted according to the user similarity between the target user and each historical user to determine the maximum user similarity, and then determine the target historical user corresponding to the maximum user similarity among multiple historical users. The maximum user similarity indicates that the target historical user is most similar to the target user.
[0179] S5713: Jump from the target process node to the jump process node of the target historical user.
[0180] After determining the target historical user corresponding to the maximum user similarity, the target process node can be jumped to the jump process node of the target historical user, thereby jumping to the jump process node that is most accurate to the user intention of the target user, and obtaining a more accurate response to the user intention of the target user, thereby improving the interactive experience of the target user.
[0181] In some implementations, the number of jump process nodes is multiple, and S570 may also include: Fig.14 S5720-S5723 shown.
[0182] S5720: Obtain a user portrait corresponding to the target user and user portraits corresponding to multiple historical users of each jump process node.
[0183] For the detailed description of S5720, please refer to S5710, which will not be repeated here.
[0184] S5721: Determine a predicted user portrait corresponding to each jump process node based on the user portraits corresponding to multiple historical users of each jump process node.
[0185] The predicted user portrait is an abstract non-real user portrait obtained based on the real user portraits corresponding to multiple historical users of each jump process node, reflecting the user characteristics of the potential users of the jump process node. As an implementation method, the predicted user portrait can be obtained by performing mathematical statistics on the user portraits corresponding to multiple historical users, that is, obtaining an explainable label. For example, for each label category, the number of identical labels is counted, and the label with the maximum value is used as the label of the predicted user portrait. As another way, the predicted user portrait can be an output result obtained based on a pre-trained machine learning model, using the data of the user portraits corresponding to historical users as input. For example, the predicted user portrait can be the label of the largest cluster obtained by clustering multiple labels in the user portrait. The method for obtaining the predicted user portrait is not limited here.
[0186] S5722: Match the user portrait corresponding to the target user with each predicted user portrait to obtain the user similarity between the target user and each predicted user portrait.
[0187] The specific implementation method for obtaining user similarity is similar to S5711 and will not be repeated here.
[0188] S5723: Jump from the target process node to the jump process node corresponding to the maximum user similarity.
[0189] After obtaining the user similarity between the target user and each predicted user portrait, the user similarities can be sorted to determine the maximum user similarity, and then the predicted user portrait corresponding to the maximum user similarity can be determined among multiple predicted user portraits. Then, according to the predicted user portrait corresponding to the maximum user similarity, the jump process node corresponding to the maximum user similarity can be determined. Then, the target process node jumps to the jump process node corresponding to the maximum user similarity. In this way, it is possible to jump to the jump process node that is most accurate to the user intention of the target user, obtain a more accurate response to the user intention of the target user, and improve the interactive experience of the target user.
[0190] In some implementations, there are multiple jump process nodes, each of which has a scene type identifier. Therefore, S570 may also include the following steps: Fig.15 S5730-S5732 shown.
[0191] S5730: Obtain the target scene type of the content acquisition request.
[0192] When multiple jump process nodes are determined from multiple process nodes according to the matching degree between the user message and each process node, the most matching jump process node can be selected from the multiple jump process nodes. Each jump process node can have a scene type identifier, so the target scene type of the content acquisition request of the target user can be obtained to determine the jump process node that best matches the user intention of the target user.
[0193] In some embodiments, the target scenario type may include the carrier where the target user is located, such as an application, a public account, an official website, a mini program, a quick app, etc.; the target scenario type may also include the location of the conversation page, such as a general page, an advertisement page, a product details page, etc. Therefore, as one way, the target scenario type of the content acquisition request can be determined by checking the carrier where the target user is located. As another way, the target scenario type of the content acquisition request can be determined by querying the location of the current conversation page.
[0194] S5731: According to the target scenario type, multiple jump process nodes are screened to obtain a target jump process node, and the scenario type identifier of the target jump process node matches the target scenario type.
[0195] After determining the target scene type of the content acquisition request, multiple jump process nodes can be screened according to the target scene type of the content acquisition request to obtain a target jump process node, wherein the scene type identifier of the target jump process node matches the target scene type. Specifically, the scene type identifier of each jump process node of the multiple jump process nodes can be obtained respectively, and then the scene type identifier of each jump process node is matched with the target scene type to determine the target jump process node.
[0196] In some embodiments, a matching threshold can be pre-set, and the matching threshold can be used to characterize the degree of matching between the scene type identifier and the target scene type. The scene type identifier of each jump process node is matched with the target scene type to obtain the matching degree between the scene type identifier of each jump process node and the target scene type. When the matching degree between the scene type identifier of the jump process node and the target scene type is higher than the matching threshold, it can be indicated that the scene type identifier of the jump process node matches the target scene type, and the jump process node can be used as the target jump process node. If there are multiple jump process nodes with a matching degree higher than the matching degree threshold, the jump process node with the highest matching degree can be used as the target jump process node.
[0197] S5732: Jump from the target process node to the target jump process node.
[0198] In some embodiments, S570 can execute one or more of the three methods S5710-S5713, S5720-S5723, and S5730-S5732. That is, one or more of the above methods can be executed synchronously to obtain the target jump process node corresponding to each method for jumping, thereby jumping to multiple target process nodes at the same time and sending the node content information of multiple target process nodes. For example, the above three methods are executed synchronously, and the target process nodes are determined to be node 1, node 2, and node 1 respectively, and the target process node jumps to node 1 and node 2 at the same time, and the node content information of node 1 and node 2 is sent to the target user at the same time.
[0199] Compared with the data processing method provided in the embodiment of the present application, Fig.10 The data processing method shown also includes obtaining a user message input by a target user on a dialogue interface, performing semantic recognition on the user message to obtain semantic features of the user message; obtaining semantic features of node content information of each process node in a plurality of process nodes; determining a matching degree between the user message and each process node based on the semantic features of the user message and the semantic features of the node content information of each process node; determining a jump process node in a plurality of process nodes based on the matching degree between the user message and each process node; jumping from the target process node to the jump process node; obtaining node content information of the jump process node, and sending the node content information of the jump process node to the target user, so as to obtain reply information that is more accurate with the user's intention and enhance the target user's interactive experience when interacting with the interactive object.
[0200] See also Fig.17 , Fig.17 The flowchart of the data processing method provided in another embodiment of the present application can be applied to a terminal device or a server. This embodiment is described by taking the data processing method applied to the server as an example. The data processing method includes S610 to S660.
[0201] S610: In response to a content acquisition request from a target user, node content information of a target process node is acquired.
[0202] S620: Send node content information to the target user.
[0203] For the detailed description of S610-S620, please refer to S410-S420, which will not be repeated here.
[0204] S630: In response to a component triggering operation of a target card component in at least one card component by a target user, a connection relationship of a target process node is obtained.
[0205] When the target user interacts with the interactive object, at least one card component may be displayed on the conversation page, and the target user may perform a component trigger operation on the card component. When the target user performs a component trigger operation on a card component in at least one card component, the server may obtain the connection relationship of the target process node in response to the target user's component trigger operation on the target card component in at least one card component. The server pre-stores the connection relationship of each process node in a plurality of process nodes, so when the server detects that the target user has performed a component trigger operation on the target card component in at least one card component, it may directly obtain the connection relationship of the target process node from the server. The target card component is the card component on which the target user has performed a component trigger operation. For example, Fig.18 As shown, the dialog page displays the node content information of the target process node, and the node content information includes the button card components "Yes" and "Have a look". The target user touches the card component "Have a look" to implement the component trigger operation of the card component, that is, the card component "Have a look" is used as the target card component. When the target user triggers the card component "Have a look", the server can obtain the connection relationship between the target process node and other process nodes in the current process.
[0206] S640: According to the connection relationship, at least one connection process node pointed to by the target configuration element corresponding to the target card component is determined as a jump process node.
[0207] In each process node, the configuration element configured by the staff is displayed to the target user in the form of a card component on the dialogue interface. Each configuration element usually corresponds to a card component. The connection relationship of the process node may include a connection relationship from the configuration element to other connected process nodes. Therefore, the target configuration element corresponding to the target card component can be obtained, and then according to the connection relationship of the target process node, at least one connected process node pointed to by the target configuration element is determined, and the at least one connected process node is determined as a jump process node. For example, Fig.18 As shown, the dialog page displays the node content information of the target process node, and the node content information includes the card components "Yes" and "Just have a look". When the target user triggers the card component "Just have a look", the server can obtain the connection relationship of the target process node displayed on the current dialog page. Figure 5 It can be obtained that the target card component, that is, the target configuration element corresponding to the card component "Take a look", points to the connection process node 1, so node 1 can be determined as the jump process node.
[0208] S650: Jump from the target process node to the jump process node.
[0209] Among them, the specific description of S650 can be found in S570, S5710-S5713, S5720-S5723 or S5730-S5732, which will not be repeated here.
[0210] S660: Obtain node content information of the jump process node, and send the node content information of the jump process node.
[0211] After the server jumps from the target process node to the jump process node, it can obtain the node content information of the jump process node and send the node content information of the jump process node. Furthermore, the node content of the jump process node can be displayed on the dialog page. For example, Fig.18 As shown in the figure, the target user triggers the card component "Take a look", and the server can obtain the connection relationship of the target process node displayed on the current conversation page. Figure 5 It can be obtained that the target card component, that is, the target configuration element corresponding to the card component "Just have a look", points to the connection process node 1, so node 1 can be determined as the jump process node. At the same time, the node content information of node 1 can be obtained, and the node content information of node 1 can be sent, thereby obtaining the following: Fig.19 As shown, the node content information of node 1 is displayed on the conversation page.
[0212] Compared with the data processing method provided in the embodiment of the present application, Fig.10 The data processing method shown also includes obtaining the connection relationship of the target process node in response to the target user's component trigger operation on the target card component in at least one card component; determining at least one connection process node pointed to by the target configuration element corresponding to the target card component as a jump process node based on the connection relationship; jumping from the target process node to the jump process node; obtaining the node content information of the jump process node, and sending the node content information of the jump process node, thereby returning a response to the target user's operation through the target user's operation and the connection relationship of the process nodes, thereby improving the target user's interactive experience.
[0213] See also Fig. 20 , Fig. 20 A flowchart of a data processing method provided in another embodiment of the present application. Fig. 20 The data processing method includes S710 to S760.
[0214] S710: In response to a node selection operation of a working user, the server determines a target process node among a plurality of displayed process nodes.
[0215] S720: In response to the working user's component configuration operation on the target process node, the server updates at least one configuration component of the target process node.
[0216] S730: According to the updated at least one configuration element, the server generates node content information corresponding to the target process node.
[0217] Among them, the specific description of S710-S730 can be found in S110-S130, which will not be repeated here.
[0218] S740: In response to a preset trigger operation of the target user, the terminal device sends a content acquisition request of the target user to the server.
[0219] When the target user interacts with the interactive object, the terminal device may respond to the preset trigger operation of the target user and send a content acquisition request of the target user to the server. The preset trigger operation of the target user may be an input operation on the dialogue page displayed by the terminal device, a touch operation on the dialogue page, or an audio input operation on the dialogue page, which is not limited here.
[0220] In some embodiments, a correspondence between preset trigger operations and content acquisition requests may be pre-stored. When a terminal device detects a preset trigger operation of a target user, the target user's content acquisition request may be determined based on the correspondence between the preset trigger operation and the content acquisition request. The terminal device may then send the target user's content acquisition request to the server.
[0221] S750: In response to the content acquisition request, the server acquires the node content information of the target process node and sends the node content information to the terminal device.
[0222] S760: The terminal device displays the node content information on the dialogue interface of the target user.
[0223] After receiving the node content information sent by the server, the terminal device can display the node content information on the target user's dialogue interface to return a reply to the target user's operation, thereby realizing the interaction between the target user and the interactive object.
[0224] The data processing method provided by the embodiment of the present application is that in response to the node selection operation of the working user, the server determines the target process node among the displayed multiple process nodes; in response to the component configuration operation of the working user on the target process node, the server updates at least one configuration element of the target process node; according to the at least one updated configuration element, the server generates node content information corresponding to the target process node; in response to the preset trigger operation of the target user, the terminal device sends the target user's content acquisition request to the server; in response to the content acquisition request, the server acquires the node content information of the target process node and sends the node content information to the terminal device; the terminal device displays the node content information on the dialogue interface of the target user. Therefore, the working user does not need to write code, and can configure the sending process in a visual way, which simplifies the configuration process of the node content information and improves efficiency; at the same time, the corresponding node content information can be returned according to the request of the target user, so as to enhance the interactive experience of the target user when interacting with the interactive object.
[0225] It should be noted that, for the parts not described in detail in the aforementioned method steps, please refer to the aforementioned embodiments and will not be repeated here.
[0226] It is understandable that the above examples are only schematic illustrations of the application of the method provided in the embodiment of the present application in a specific scenario, and do not constitute a limitation on the embodiment of the present application. More different applications can be realized based on the method provided in the embodiment of the present application.
[0227] See also Fig.21 , Fig.21 FIG. 8 is a block diagram of a process processing device 800 provided in an embodiment of the present invention. Fig.21 The block diagram is used to illustrate that the process processing device 800 includes: a node selection module 810, a node configuration module 820 and an information generation module 830, wherein:
[0228] The node selection module 810 is used to determine a target process node among multiple displayed process nodes in response to a node selection operation by a user.
[0229] The node configuration module 820 is used to update at least one configuration element of the target process node in response to a user's element configuration operation on the target process node.
[0230] Furthermore, the node configuration module 820 includes: a component determination submodule, a position determination submodule and a component display submodule.
[0231] The component determination submodule is used to determine a target configuration component from a plurality of preset configuration components displayed in the component library area in response to a component selection operation of a working user on a target process node.
[0232] The position determination submodule is used to determine whether the end position of the dragging operation is located in the editing area of the target process node on the canvas area in response to the working user's dragging operation on the target configuration element.
[0233] The component display submodule is used to display the target configuration component in the editing area of the target process node if so, thereby determining at least one configuration component of the target process node.
[0234] Furthermore, the node configuration module 820 also includes: an information acquisition submodule, a first update submodule and an information update submodule.
[0235] The information acquisition submodule is used to acquire input information in response to the information input operation of the working user on the target configuration element after the target configuration element is displayed in the editing area of the target process node.
[0236] The first updating submodule is used to update the target configuration element according to the input information.
[0237] The information updating submodule is used to generate node content information according to the updated target configuration element, and the node content information includes input information.
[0238] The information generation module 830 is used to generate node content information corresponding to the target process node according to the updated at least one configuration element, and the node content information is used to be sent and displayed on the dialogue interface.
[0239] Furthermore, the process processing device 800 further includes: a component determination submodule, a first connection establishment submodule, and a second update submodule.
[0240] The component determination submodule is used to determine a target configuration component from at least one configuration component of the target process node in response to a component selection operation of a working user on the target process node.
[0241] The first connection establishment submodule is used to respond to the working user's connection operation on the target configuration element, determine one other than the target process node from multiple process nodes as a connection process node, and establish a connection relationship from the target configuration element to the connection process node.
[0242] The second updating submodule is used to update the target configuration component of the target process node in response to the component configuration operation of the working user on the target process node.
[0243] Furthermore, the target process node includes multiple configuration elements, the multiple configuration elements include at least one interactive configuration element, the interactive configuration element is used to detect the component trigger operation, and the process processing device 800 also includes: a connection relationship determination submodule, an end node determination submodule and a second connection establishment submodule. Among them:
[0244] The connection relationship determination submodule is used to determine whether there is an interactive configuration element with a zero connection relationship among the multiple configuration elements corresponding to the target process node.
[0245] The end node determination submodule is used to determine whether the target process node is an end node if there is an interactive configuration element with a zero connection relationship.
[0246] The second connection establishment submodule is used to establish a connection relationship from the interactive configuration element with a zero connection relationship to the end node if the target process node is not the end node.
[0247] Furthermore, the process processing device 800 further includes: a data acquisition submodule, a jump rate determination submodule, a threshold determination submodule and an information display submodule. Among them:
[0248] The data acquisition submodule is used to obtain historical sending data.
[0249] The jump rate determination submodule is used to determine the jump rate of each process node based on historical transmission data.
[0250] The threshold determination submodule is used to determine whether the jump rate of each process node is less than a preset threshold.
[0251] The information display submodule is used to display a prompt message if the jump rate is less than a preset threshold value, and the prompt message is used to prompt the working user to check the connection relationship of the process node.
[0252] See also Fig. 22 , Fig. 22 1 shows a block diagram of a data processing device 900 provided in an embodiment of the present invention. Fig. 22 The block diagram is used to illustrate that the data processing device 900 includes: a request response module 910 and an information sending module 920, wherein:
[0253] The request response module 910 is used to respond to the content acquisition request of the target user and acquire the node content information of the target process node.
[0254] The information sending module 920 is used to send the node content information to the target user.
[0255] Furthermore, the data processing device 900 further includes: a semantic recognition module, a feature acquisition module, a matching degree determination module, a node jump module and a first information acquisition module.
[0256] The semantic recognition module is used to obtain the user message input by the target user on the dialogue interface, perform semantic recognition on the user message, and obtain the semantic features of the user message.
[0257] The feature acquisition module is used to acquire the semantic features of the node content information of each process node in the multiple process nodes.
[0258] The matching degree determination module is used to determine the matching degree between the user message and each process node according to the semantic features of the user message and the semantic features of the node content information of each process node.
[0259] The node jump module is used to jump from the target process node to the jump process node.
[0260] The first information acquisition module is used to acquire the node content information of the jump process node and send the node content information of the jump process node to the target user.
[0261] Further, the node content information is used to generate a sending card including at least one card component, and the at least one card component corresponds one-to-one to at least one configuration element of the target process node. The data processing device 900 also includes: a connection relationship acquisition module, a node determination module, a node jump module and a second information acquisition module, wherein:
[0262] The connection relationship acquisition module is used to obtain the connection relationship of the target process node in response to the component triggering operation of the target card component in at least one card component by the target user.
[0263] The node determination module is used to determine at least one connection process node pointed to by the target configuration element corresponding to the target card component as a jump process node according to the connection relationship.
[0264] The node jump module is used to jump from the target process node to the jump process node.
[0265] The second information acquisition module is used to acquire the node content information of the jump process node and send the node content information of the jump process node.
[0266] Furthermore, there are multiple jump process nodes, and the node jump module includes: a portrait acquisition submodule, a portrait matching submodule, a target user determination submodule and a first node jump submodule, wherein:
[0267] The portrait acquisition submodule is used to obtain the user portrait corresponding to the target user and the user portraits corresponding to multiple historical users of each jump process node.
[0268] The portrait matching submodule is used to match the user portrait corresponding to the target user with the user portrait corresponding to each historical user to obtain the user similarity between the target user and each historical user.
[0269] The target user determination submodule is used to determine the target historical user corresponding to the maximum user similarity among multiple historical users according to the user similarity between the target user and each historical user.
[0270] The first node jump submodule is used to jump from the target process node to the jump process node of the target historical user.
[0271] Furthermore, the number of jump process nodes is multiple, and the node jump module further includes: a portrait determination submodule, a similarity determination submodule and a second node jump submodule, wherein:
[0272] The portrait determination submodule is used to determine a predicted user portrait corresponding to each jump process node based on the user portraits corresponding to multiple historical users of each jump process node.
[0273] The similarity determination submodule is used to match the user profile corresponding to the target user with each predicted user profile to obtain the user similarity between the target user and each predicted user profile.
[0274] The second node jump submodule is used to jump from the target process node to the jump process node corresponding to the maximum user similarity.
[0275] Furthermore, there are multiple jump process nodes, each jump process node has a scene type identifier, and the node jump module further includes: a type acquisition submodule, a node screening submodule and a third node jump submodule, wherein:
[0276] The type acquisition submodule is used to obtain the target scene type of the content acquisition request.
[0277] The node screening submodule is used to screen multiple jump process nodes according to the target scene type to obtain a target jump process node, and the scene type identifier of the target jump process node matches the target scene type.
[0278] The third node jump submodule is used to jump from the target process node to the target jump process node.
[0279] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0280] In several embodiments provided by the present invention, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0281] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.
[0282] Please refer to Fig.23 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 1000 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 1000 in the present application may include one or more of the following components: a processor 1010, a memory 1020, and one or more applications, wherein the one or more applications may be stored in the memory 1020 and configured to be executed by one or more processors 1010, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0283] The processor 1010 may include one or more processing cores. The processor 1010 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1020, and calling data stored in the memory 1020. Optionally, the processor 1010 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1010 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1010, but may be implemented separately through a communication chip.
[0284] The memory 1020 may include a random access memory (RAM) or a read-only memory (ROM). The memory 1020 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1020 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 1000 during use.
[0285] See also Fig.24 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable storage medium 1100 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0286] The computer readable storage medium 1100 can be an electronic memory such as a flash memory, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a hard disk or a ROM. Optionally, the computer readable storage medium 1000 includes a non-transitory computer-readable storage medium. The computer readable storage medium 1100 has a storage space for program code 1110 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 1110 can be compressed, for example, in an appropriate form.
[0287] 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 make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A process processing method, characterized in that: include: In response to a node selection operation by a working user, determining a target process node among a plurality of displayed process nodes; In response to the working user's operation of configuring a component of the target process node, updating at least one configuration component of the target process node; and Generate node content information corresponding to the target process node according to the at least one updated configuration element, wherein the node content information is used to be sent and displayed on the dialogue interface, and the node content information is used to be sent to the target user, obtain a user message input by the target user on the dialogue interface, and perform semantic recognition on the user message to obtain a semantic feature of the user message; Acquire the semantic features of the node content information of each of the multiple process nodes; determine the matching degree between the user message and each of the process nodes according to the semantic features of the user message and the semantic features of the node content information of each of the process nodes; Determining a jump process node among the multiple process nodes according to a matching degree between the user message and each process node; Jump from the target process node to the jump process node, wherein the number of the jump process nodes is multiple; and obtain the node content information of the jump process node, and send the node content information of the jump process node to the target user, wherein the jump from the target process node to the jump process node includes: obtaining the user portrait corresponding to the target user and the user portraits corresponding to multiple historical users of each of the jump process nodes; matching the user portrait corresponding to the target user with the user portrait corresponding to each of the historical users to obtain the user similarity between the target user and each of the historical users; according to the user similarity between the target user and each of the historical users, determining the target historical user corresponding to the maximum user similarity among the multiple historical users; and jumping from the target process node to the jump process node of the target historical user.
2. The method according to claim 1, characterized in that The updating of at least one configuration element of the target process node in response to the working user's configuration operation on the element of the target process node comprises: In response to the working user's component selection operation on the target process node, determining a target configuration component from a plurality of preset configuration components displayed in a component library area; In response to the working user's dragging operation on the target configuration element, determining whether an end position of the dragging operation is located in an editing area of the target process node on a canvas area; and If so, the target configuration element is displayed in the editing area of the target process node, thereby determining at least one configuration element of the target process node.
3. The method according to claim 2, characterized in that After displaying the target configuration element in the editing area of the target process node, the method further includes: In response to the working user's information input operation on the target configuration element, acquiring input information; and updating the target configuration element according to the input information; The generating node content information corresponding to the target process node according to the at least one updated configuration element includes: The node content information is generated according to the updated target configuration element, and the node content information includes the input information.
4. The method according to claim 1, characterized in that: After determining the target process node among the displayed multiple process nodes in response to the node selection operation of the working user, the method further includes: In response to the working user's component selection operation on the target process node, determining a target configuration component from the at least one configuration component of the target process node; and In response to the working user's connection operation on the target configuration element, determining one other than the target process node from the plurality of process nodes as a connection process node, and establishing a connection relationship from the target configuration element to the connection process node; The updating of at least one configuration element of the target process node in response to the working user's configuration operation on the element of the target process node comprises: In response to the working user's component configuration operation on the target process node, the target configuration component of the target process node is updated.
5. The method according to claim 4, characterized in that The target process node includes a plurality of configuration elements, the plurality of configuration elements include at least one interactive configuration element, the interactive configuration element is used to detect a component trigger operation, after in response to the working user's connection operation on the target configuration element, determining one other than the target process node from the plurality of process nodes as a connection process node, and establishing a connection relationship from the target configuration element to the connection process node, the method further includes: Determine whether there is an interactive configuration element with a zero-connection relationship among the multiple configuration elements corresponding to the target process node; If there is an interactive configuration element with the zero connection relationship, determining whether the target process node is an end node; and If the target process node is not the end node, a connection relationship is established from the interaction configuration element with the zero connection relationship to the end node.
6. The method according to claim 4, after determining, in response to the working user's connection operation on the target configuration element, one other than the target process node from the plurality of process nodes as a connection process node, and establishing a connection relationship from the target configuration element to the connection process node, the method further comprises: Get historical sending data; Determine the jump rate of each process node based on historical sending data; Determining whether the jump rate of each process node is less than a preset threshold; and If the jump rate is less than the preset threshold, a prompt message is displayed, where the prompt message is used to prompt the working user to check the connection relationship of the process node.
7. A data processing method, characterized in that: include: In response to a content acquisition request of a target user, acquiring node content information of the target process node in the method according to claim 1; and Sending the node content information to the target user; Acquire a user message input by the target user on the dialogue interface, and perform semantic recognition on the user message to obtain semantic features of the user message; Acquire semantic features of node content information of each of the multiple process nodes; Determining a matching degree between the user message and each process node according to a semantic feature of the user message and a semantic feature of the node content information of each process node; Determining a jump process node among the multiple process nodes according to a matching degree between the user message and each process node; Jump from the target process node to the jump process node; and Obtaining node content information of the jump process node, and sending the node content information of the jump process node to the target user, wherein the number of the jump process nodes is multiple, and the jumping from the target process node to the jump process node includes: Obtaining a user portrait corresponding to the target user and user portraits corresponding to multiple historical users of each of the jump process nodes; Matching the user portrait corresponding to the target user with the user portrait corresponding to each of the historical users to obtain the user similarity between the target user and each of the historical users; According to the user similarity between the target user and each of the historical users, determining a target historical user corresponding to the maximum user similarity among the multiple historical users; and Jump from the target process node to the jump process node of the target historical user.
8. The data processing method according to claim 7, characterized in that: The node content information is used to generate a sending card including at least one card component, wherein the at least one card component corresponds one-to-one to the at least one configuration element of the target process node. After sending the node content information to the target user, the method further includes: In response to the target user triggering an operation on a target card component in the at least one card component, acquiring a connection relationship of the target process node; According to the connection relationship, at least one connection process node pointed to by the target configuration element corresponding to the target card component is determined as a jump process node; Jump from the target process node to the jump process node; and The node content information of the jump process node is obtained, and the node content information of the jump process node is sent.
9. The data processing method according to claim 8, characterized in that: The number of the jump process nodes is multiple, and the jumping from the target process node to the jump process node includes: Obtaining a user portrait corresponding to the target user and user portraits corresponding to multiple historical users of each of the jump process nodes; Determine a predicted user portrait corresponding to each jump process node according to the user portraits corresponding to the multiple historical users of each jump process node; Matching the user portrait corresponding to the target user with each of the predicted user portraits to obtain a user similarity between the target user and each of the predicted user portraits; and Jump from the target process node to the jump process node corresponding to the maximum user similarity.
10. The data processing method according to claim 8, characterized in that: There are multiple jump process nodes, each of which has a scenario type identifier, and jumping from the target process node to the jump process node includes: Obtaining a target scene type of the content acquisition request; According to the target scenario type, the plurality of jump process nodes are screened to obtain a target jump process node, the scenario type identifier of the target jump process node matches the target scenario type; and Jump from the target process node to the target jump process node.
11. A data processing method, characterized in that: include: In response to a node selection operation of a working user, the server determines a target process node from among a plurality of displayed process nodes; In response to the working user's configuration operation on the component of the target process node, the server updates at least one configuration component of the target process node; The server generates node content information corresponding to the target process node according to the at least one updated configuration element; In response to a preset trigger operation of a target user, the terminal device sends a content acquisition request of the target user to the server; In response to the content acquisition request, the server acquires node content information of the target process node and sends the node content information to the terminal device; and The terminal device displays the node content information on the dialogue interface of the target user; The terminal device acquires a user message input by the target user on the dialogue interface, and performs semantic recognition on the user message to obtain a semantic feature of the user message; The terminal device acquires semantic features of node content information of each of the multiple process nodes; The terminal device determines the matching degree between the user message and each process node according to the semantic features of the user message and the semantic features of the node content information of each process node; The terminal device determines a jump process node among the multiple process nodes according to a matching degree between the user message and each process node; The terminal device jumps from the target process node to the jump process node; and The terminal device acquires the node content information of the jump process node, and sends the node content information of the jump process node to the target user, wherein the number of the jump process nodes is multiple, and the terminal device jumps from the target process node to the jump process node including: The terminal device obtains a user portrait corresponding to the target user and user portraits corresponding to multiple historical users of each jump process node; The terminal device matches the user portrait corresponding to the target user with the user portrait corresponding to each of the historical users to obtain the user similarity between the target user and each of the historical users; The terminal device determines, according to the user similarity between the target user and each of the historical users, a target historical user corresponding to the maximum user similarity among the multiple historical users; and The terminal device jumps from the target process node to the jump process node of the target historical user.
12. A process processing device, characterized in that: include: A node selection module, for determining a target process node from among a plurality of displayed process nodes in response to a user's node selection operation; A node configuration module, configured to update at least one configuration element of the target process node in response to a user's element configuration operation on the target process node; and An information generation module, configured to generate node content information corresponding to the target process node according to the at least one updated configuration element, wherein the node content information is used to be sent and displayed on a dialogue interface, and the node content information is used to be sent to a target user, obtain a user message input by the target user on the dialogue interface, and perform semantic recognition on the user message to obtain a semantic feature of the user message; Acquire the semantic features of the node content information of each of the multiple process nodes; determine the matching degree between the user message and each of the process nodes according to the semantic features of the user message and the semantic features of the node content information of each of the process nodes; Determining a jump process node among the multiple process nodes according to a matching degree between the user message and each process node; Jump from the target process node to the jump process node, wherein the number of the jump process nodes is multiple; and obtain the node content information of the jump process node, and send the node content information of the jump process node to the target user, wherein the jump from the target process node to the jump process node includes: obtaining the user portrait corresponding to the target user and the user portraits corresponding to multiple historical users of each of the jump process nodes; matching the user portrait corresponding to the target user with the user portrait corresponding to each of the historical users to obtain the user similarity between the target user and each of the historical users; according to the user similarity between the target user and each of the historical users, determining the target historical user corresponding to the maximum user similarity among the multiple historical users; and jumping from the target process node to the jump process node of the target historical user.
13. A data processing device, characterized in that: include: A request response module, configured to respond to a content acquisition request of a target user and acquire node content information of the target process node in the method according to claim 1; and An information sending module is used to send the node content information to the target user.
14. An electronic device, characterized in that: include: one or more processors; Memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-11.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Question and answer interaction method and device, storage medium and equipment
CN112084315A