Interactive message processing method, device, computer equipment and storage medium

By receiving and processing interactive messages in intelligent dialogue services, using intent classification and semantic analysis to determine target mini programs, and displaying message processing results, the problem of limited functions of traditional interactive message processing methods is solved, and user stickiness and mini program usage times are improved. And implemented traffic statistics.

CN110162776BActive Publication Date: 2024-10-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN201910233186.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-03-26
Publication Date
2024-10-18
Estimated Expiration
2039-04-04

AI Technical Summary

Technical Problem

The interactive message processing method in traditional intelligent dialogue services has limited functions and insufficient user stickiness, making it difficult to meet the diverse needs of users.

Method used

By receiving message input triggering instructions in the target interactive interface, receiving interaction messages to be processed, and displaying the messages of the target applet based on the results returned by the message processing request, the message intent classification, semantic analysis and keyword determination are realized, and then the message processing is sent Results to extend interactive message processing capabilities.

Benefits of technology

It improves user viscosity and the number of times the mini program is used, forming a closed loop of operations to facilitate the statistics of traffic revenue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110162776B_ABST
    Figure CN110162776B_ABST
Patent Text Reader

Abstract

The present application relates to an interactive message processing method, device, computer equipment and storage medium running on a terminal. When a message input trigger instruction is received in a target interactive interface, a to-be-processed interactive message is received; when a message sending trigger instruction is received in the target interactive interface, the to-be-processed interactive message is displayed in the target interactive interface, and a message processing request is sent based on the to-be-processed interactive message; a message processing result returned based on the message processing request is received, and the message processing result is determined based on the target applet corresponding to the to-be-processed interactive message; according to the message processing result, a target interactive message based on the target applet is displayed in the target interactive interface. The present application also provides an interactive message processing method, device, computer equipment and storage medium running on a background server. It can expand the functions of interactive message processing, improve user stickiness, increase the number of times the applet is used, and facilitate the statistics of traffic revenue.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to an interactive message processing method, apparatus, computer equipment and storage medium. Background Art

[0002] Artificial intelligence is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. With the rapid development of information technology, artificial intelligence has been applied to all aspects of life and can provide users with intelligent dialogue services, such as various dialogue applications, dialogue devices, dialogue service platforms, etc. For example, Xiaomi's "Xiao Ai" and Tencent's "Qianxun AI dialogue robot".

[0003] The interactive message processing method in the traditional intelligent dialogue service can provide a simple message dialogue function, and its function needs to be further expanded. Therefore, the user stickiness of the interactive message processing method needs to be further improved. Summary of the invention

[0004] Based on this, it is necessary to provide an interactive message processing method, device, computer equipment and storage medium that can improve user stickiness in response to the above technical problems.

[0005] A method for processing interactive messages, the method comprising:

[0006] When a message input trigger instruction is received in the target interaction interface, an interaction message to be processed is received;

[0007] When a message sending trigger instruction is received in the target interaction interface, the to-be-processed interaction message is displayed in the target interaction interface, and a message processing request is sent based on the to-be-processed interaction message;

[0008] Receiving a message processing result returned based on the message processing request, wherein the message processing result is determined based on a target applet corresponding to the interaction message to be processed;

[0009] According to the message processing result, the target interaction message based on the target applet is displayed in the target interaction interface.

[0010] A method for processing interactive messages, the method comprising:

[0011] receiving interaction messages to be processed;

[0012] Classifying the intent of the interaction message to be processed to obtain an intent classification result of the interaction message to be processed;

[0013] Performing semantic analysis on the interaction message to be processed to determine message keywords of the interaction message to be processed;

[0014] Determine, according to the message keyword, a program identifier of a target mini-program corresponding to the interaction message to be processed;

[0015] Based on the program identifier of the target applet, a message processing result is sent.

[0016] An interactive message processing device, the device comprising:

[0017] An interactive message receiving module, used to receive an interactive message to be processed when a message input trigger instruction is received in the target interactive interface;

[0018] A message display and sending module, configured to display the to-be-processed interactive message in the target interactive interface upon receiving a message sending trigger instruction in the target interactive interface, and to send a message processing request based on the to-be-processed interactive message;

[0019] A message result receiving module, used to receive a message processing result returned based on the message processing request, wherein the message processing result is determined based on a target applet corresponding to the interaction message to be processed;

[0020] A target message display module is used to display a target interaction message based on the target applet in the target interaction interface according to the message processing result.

[0021] An interactive message processing device, the device comprising:

[0022] An interactive message receiving module, used for receiving an interactive message to be processed;

[0023] A message intent classification module, used to classify the intent of the interaction message to be processed and obtain the intent classification result of the interaction message to be processed;

[0024] A message semantic analysis module, used to perform semantic analysis on the interaction message to be processed, and determine message keywords of the interaction message to be processed;

[0025] A target program determination module, used to determine the program identifier of the target mini-program corresponding to the to-be-processed interactive message according to the message keyword;

[0026] The message result sending module is used to send the message processing result based on the program identifier of the target applet.

[0027] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0028] When a message input trigger instruction is received in the target interaction interface, an interaction message to be processed is received;

[0029] When a message sending trigger instruction is received in the target interaction interface, the to-be-processed interaction message is displayed in the target interaction interface, and a message processing request is sent based on the to-be-processed interaction message;

[0030] Receiving a message processing result returned based on the message processing request, wherein the message processing result is determined based on a target applet corresponding to the interaction message to be processed;

[0031] According to the message processing result, the target interaction message based on the target applet is displayed in the target interaction interface.

[0032] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0033] receiving interaction messages to be processed;

[0034] Classifying the intent of the interaction message to be processed to obtain an intent classification result of the interaction message to be processed;

[0035] Performing semantic analysis on the interaction message to be processed to determine message keywords of the interaction message to be processed;

[0036] Determine, according to the message keyword, a program identifier of a target mini-program corresponding to the interaction message to be processed;

[0037] Based on the program identifier of the target applet, a message processing result is sent.

[0038] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0039] When a message input trigger instruction is received in the target interaction interface, an interaction message to be processed is received;

[0040] When a message sending trigger instruction is received in the target interaction interface, the to-be-processed interaction message is displayed in the target interaction interface, and a message processing request is sent based on the to-be-processed interaction message;

[0041] Receiving a message processing result returned based on the message processing request, wherein the message processing result is determined based on a target applet corresponding to the interaction message to be processed;

[0042] According to the message processing result, the target interaction message based on the target applet is displayed in the target interaction interface.

[0043] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0044] receiving interaction messages to be processed;

[0045] Classifying the intent of the interaction message to be processed to obtain an intent classification result of the interaction message to be processed;

[0046] Performing semantic analysis on the interaction message to be processed to determine message keywords of the interaction message to be processed;

[0047] Determine, according to the message keyword, a program identifier of a target mini-program corresponding to the interaction message to be processed;

[0048] Based on the program identifier of the target applet, a message processing result is sent.

[0049] The above-mentioned interactive message processing method, device, computer equipment and storage medium can enable the terminal to display the target interactive message based on the target applet in the target interactive interface, thereby expanding the function of interactive message processing and improving user stickiness. At the same time, due to the limitations of the applet acquisition method, the above-mentioned interactive message processing method, device, computer equipment and storage medium can also increase the number of times the applet is used. In addition, based on the interactive message processing method, device, computer equipment and storage medium of this embodiment, it is also easy to form an operation closed loop, thereby facilitating the statistics of traffic revenue. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A schematic diagram of an application environment of an interactive message processing method in an embodiment;

[0051] Figure 2 It is a flowchart of an interactive message processing method in an embodiment running on a terminal;

[0052] Figure 3 is an example diagram of an interactive message processing method in a specific embodiment;

[0053] Figure 4 is an example diagram of an interactive message processing method in a specific embodiment;

[0054] Figure 5 It is a flowchart of an interactive message processing method in an embodiment running on a background server;

[0055] Figure 6 is an example diagram of an interactive message processing method in a specific embodiment;

[0056] Figure 7 is an example diagram of an interactive message processing method in a specific embodiment;

[0057] Figure 8 It is a logic diagram for implementing an interactive message processing method in a specific embodiment;

[0058] Fig. 9 It is a flowchart of an interactive message processing method at a product level in a specific embodiment;

[0059] Fig.10 is a partial flow chart of an interactive message processing method in a specific embodiment;

[0060] Fig.11 is a timing diagram of an interactive message processing method according to a specific embodiment;

[0061] Fig.12 is a structural block diagram of an interactive message processing device in an embodiment running on a terminal;

[0062] Fig.13 is a structural block diagram of an interactive message processing device in an embodiment running on a background server;

[0063] Fig.14 FIG. 1 is a schematic diagram of the structure of a computer device in an embodiment. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0065] Figure 1 FIG. 1 is a schematic diagram of an application environment of an interactive message processing method in an embodiment. The interactive message processing method provided by the present application can be applied to Figure 1 In the application environment shown, the terminal 102 communicates with the backend server 104 through the network.

[0066] An interactive message processing method of an embodiment of the present application can be run on the terminal 102. When the terminal 102 receives a message input trigger instruction in the target interactive interface, it receives the interactive message to be processed; when the terminal 102 receives a message sending trigger instruction in the target interactive interface, it displays the interactive message to be processed in the target interactive interface, and sends a message processing request based on the interactive message to be processed; receives the message processing result returned based on the message processing request, and the message processing result is determined based on the target applet corresponding to the interactive message to be processed; according to the message processing result, the target interactive message based on the target applet is displayed in the target interactive interface. The interactive message processing method can be implemented by an application, or by a public service platform under a parent application, or by a sub-application under a parent application. In a specific embodiment, the parent application can be a social platform, such as WeChat. The public service platform can be a service platform such as a public account, a subscription account, a service account, such as a Qianxun AI dialogue robot. A sub-application refers to an application that can be used without downloading and installing, such as a mini-program. Sub-applications such as mini-programs can be embedded in the parent application of the terminal, and corresponding business services can be provided to users by running the sub-applications in the parent application.

[0067] The interactive message processing method of an embodiment of the present application can also be run on the background server 104. The background server 104 receives the interactive message to be processed; classifies the intent of the interactive message to be processed, and obtains the intent classification result of the interactive message to be processed; when the intent classification result includes the mini program intent, performs semantic analysis on the interactive message to be processed, and determines the message keywords of the interactive message to be processed; determines the program identifier of the target mini program corresponding to the interactive message to be processed according to the message keywords; and sends the message processing result based on the program identifier of the target mini program. The message processing result will be returned to the terminal 102, so that the terminal 102 can display the target interactive message based on the target mini program in the target interactive interface according to the message processing result.

[0068] It should be noted that the terminal 102 may be a desktop device or a mobile terminal, such as a desktop computer, a tablet computer, a smart phone, etc. The backend server 104 may be an independent physical server, a physical server cluster, or a virtual server.

[0069] like Figure 2 As shown, in one embodiment, a method for processing interactive messages is provided. The method can be run on Figure 1 The interactive message processing method comprises the following steps:

[0070] S202, when a message input trigger instruction is received in the target interaction interface, receiving an interaction message to be processed.

[0071] The target interaction interface is an interface provided to the user on the terminal, which is a human-computer interface provided to the user. The target interaction interface can be an interface for displaying message interaction between the user and the product corresponding to the method, such as a mini-program, a public service platform or an application program that provides dialogue services. The method of receiving the message input trigger instruction can be receiving a command input by the user through text or voice, or clicking, long pressing, selecting or touching the message input control in the target interaction interface. The message input control can be a message input box, a key, a button or other controls.

[0072] Before receiving the message input trigger instruction in the target interaction interface, the target interaction interface needs to be displayed. The display of the target interaction interface can be triggered to display the target interaction interface after receiving the target interaction interface display instruction. The target interaction display instruction can be to open the product corresponding to the interactive message processing method, such as an application, a public service platform, a mini-program, etc. The public service platform can be a service platform such as a public account, a subscription account, and a service account. Specifically, the target interaction display instruction can be to open a public account that provides an intelligent dialogue function. More specifically, the target interaction display instruction can be to open the public account of the Qianxun AI dialogue robot on WeChat.

[0073] The interaction message to be processed is a message input by the user. The method of receiving the interaction message to be processed may be to receive a text message or a picture message input by the user through a message input control in the target interaction interface; or to collect a voice message input by the user through an audio collection device such as a microphone; or to collect a video message or a picture message input by the user through a video collection device such as a camera. That is, the interaction message to be processed may be a text message, a voice message, a picture message, and a video message.

[0074] S204, when a message sending trigger instruction is received in the target interaction interface, the interaction message to be processed is displayed in the target interaction interface, and a message processing request is sent based on the interaction message to be processed.

[0075] The message sending trigger instruction is used to trigger the terminal to send the received interaction message to be processed. The message sending trigger instruction can be received by clicking or touching the send button, clicking or touching the confirm send button, or receiving the message sending trigger instruction by voice or other command input.

[0076] Displaying the interaction messages to be processed in the target interaction interface can allow users to know what messages they have sent during the intelligent dialogue process, and can also facilitate users to find message records.

[0077] The message processing request is used to request the background server to process the pending interactive message so as to complete the reply to the pending interactive message in a complete dialogue process. The message processing request includes the pending interactive message and the user ID. When the user returns the message processing result, the user ID determines which terminal corresponds to the user to return to. When the message interaction processing method is implemented through the public service platform under the parent application, the user ID can be the user ID of the user in the parent application.

[0078] S206, receiving a message processing result returned based on the message processing request, where the message processing result is determined based on a target applet corresponding to the interactive message to be processed.

[0079] After receiving the message processing request, the background server processes the interaction message to be processed, obtains the message processing result based on the target mini program corresponding to the interaction message to be processed, and feeds back the message processing result to the terminal. The target mini program refers to the mini program corresponding to the interaction message to be processed. A mini program is a sub-application that can be used without downloading and installing. In order to provide users with more diversified business services, developers can develop corresponding mini programs for terminal applications (such as instant messaging applications, shopping applications, email applications, etc.). The mini program can be embedded as a sub-application into the terminal's parent application, and can provide users with corresponding business services by running the sub-application (i.e., the corresponding mini program) in the parent application.

[0080] The terminal receives the message processing result returned by the background server based on the message processing request, and the message processing result is determined by the background server based on the target applet corresponding to the interactive message to be processed.

[0081] The message processing result may include program information of the target applet. The program information may include program link information or call interface information of the target applet. The message processing result may also include page data of the target applet. The page data may be the home page data of the target applet, or may be the target page data corresponding to the interaction message to be processed in the target applet.

[0082] S208, displaying the target interaction message based on the target applet in the target interaction interface according to the message processing result.

[0083] The target interaction message based on the target applet may include the message processing result, and may also include the message obtained after further processing the message interaction result. For example, the program information of the target applet may be displayed in the target interaction interface; the icon or home page of the target applet may also be displayed in the target interaction interface, and the icon may be a hyperlink to the home page of the target applet; the calling interface information of the target applet may also be displayed in the target interaction interface, and the calling interface information may be the address information of the target page of the functional module in the target applet corresponding to the interaction message to be processed; the target page of the target applet may also be displayed in the target interaction interface; and the execution result after calling the target applet may also be displayed in the target interaction interface.

[0084] The above-mentioned interactive message processing method receives the interactive message to be processed when a message input trigger instruction is received in the target interactive interface; displays the interactive message to be processed in the target interactive interface when a message sending trigger instruction is received in the target interactive interface, and sends a message processing request based on the interactive message to be processed; receives the message processing result returned based on the message processing request, and the message processing result is determined based on the target applet corresponding to the interactive message to be processed; and displays the target interactive message based on the target applet in the target interactive interface according to the message processing result. Since the returned message processing result based on the target applet can be received, and the target interactive message based on the target applet can be displayed in the target interactive interface based on the message processing result, the function of interactive message processing can be expanded and user stickiness can be improved. At the same time, due to the limitations of the applet acquisition method, the above-mentioned interactive message processing method can also increase the number of times the applet is used. In addition, the interactive message processing method based on this embodiment is also easy to form an operation closed loop, thereby facilitating the statistics of traffic revenue.

[0085] In one embodiment, the message processing result includes program information of the target applet. According to the message processing result, displaying the target interaction message based on the target applet in the target interaction interface includes: displaying the target interaction message based on the target applet in the target interaction interface according to the program information of the target applet.

[0086] The program information may include program link information, program name, program identifier, program icon and other program-related information. The content of the target interactive message may be at least one of the program identifier, program name, program link information and program icon of the target applet. The program query request may be sent to the backend server through the program identifier or program name to obtain the program link information of the target applet, and then the target program request may be sent to the target applet through the program link information to request the service of the target applet. The target program request may also be sent to the target applet through the program identifier, program name, program link information or program icon to request the service of the target applet.

[0087] In this way, based on the program information of the target applet, the target interactive message is displayed on the target interactive interface of the terminal. The target applet can be recommended to the user, which is convenient for the user to request the service of the target applet through the terminal, and the function of the interactive message processing method is expanded, thereby improving user stickiness.

[0088] In one embodiment, the program information includes program link information of the target applet. The program link information may include a program link address, a port number, etc. Displaying a target interaction message based on the target applet in a target interaction interface according to the program information of the target applet includes: displaying a target interaction message based on the target applet in a target interaction interface according to the program link information of the target applet.

[0089] According to the program link information of the target applet, the method of displaying the target interaction message based on the target applet in the target interaction interface may be: displaying the program link information of the target applet in the target interaction interface. The target applet can be linked to by clicking the program link information on the target interaction interface displayed by the terminal, that is, by clicking the program link information, a target program request is sent to the target applet to request the service of the target applet.

[0090] According to the program link information of the target applet, the target interaction message based on the target applet is displayed in the target interaction interface, or it can be: displaying other program information of the target applet in the target interaction interface, and setting the hyperlink of the program information as the link information of the target applet. The target applet can be linked by clicking the program information on the target interaction interface displayed on the terminal, that is, sending a target service request to the target applet by clicking the program information to request the service of the target applet.

[0091] In this way, there is no need to first request program link information through other program information, and then request the service of the target applet through the program link information. Therefore, the service of the target applet can be requested quickly, which can further improve the user stickiness of interactive message processing.

[0092] In one embodiment, the program information includes the calling interface information of the target applet; the calling interface information may be a calling interface name, a calling interface identifier, etc. The calling interface information corresponds to the interaction message to be processed. According to the program information of the target applet, the target interaction message based on the target applet is displayed in the target interaction interface, including: according to the calling interface information of the target applet, the target interaction message based on the target applet is displayed in the target interaction interface.

[0093] According to the calling interface information of the target applet, the method of displaying the target interactive message based on the target applet in the target interactive interface may be: displaying the calling interface information of the target applet in the target interactive interface. The specific functional module corresponding to the interactive message to be processed in the target applet can be linked by clicking the calling interface information on the target interactive interface displayed on the terminal, that is, sending a service request to the target applet by clicking the calling interface information to request the specific service of the functional module in the target applet.

[0094] According to the calling interface information of the target applet, the method of displaying the target interactive message based on the target applet in the target interactive interface may be: displaying the program information of the target applet in the target interactive interface, and setting the hyperlink of the program information as the calling interface information of the target applet. The specific functional module corresponding to the interactive message to be processed in the target applet can be linked by clicking the program information on the target interactive interface displayed on the terminal, that is, sending a service request to the target applet by clicking the program information to request the specific service of the functional module in the target applet.

[0095] In this way, based on the calling interface information, a link can be made to a specific functional module in the target applet corresponding to the interactive message to be processed, thereby reducing the user operation steps and further improving user stickiness.

[0096] In one embodiment, the message processing result also includes the page data of the target applet. According to the program information of the target applet, the target interaction message based on the target applet is displayed in the target interaction interface, including: determining the target interaction message based on the target applet according to the program information and page data of the target applet; and displaying the target interaction message in the target interaction interface.

[0097] Page data refers to the page data provided by the target Mini Program, such as home page data or target page data. The home page refers to the first interface displayed when the target Mini Program provides services according to the normal process. The target page refers to the page corresponding to the functional module corresponding to the interactive message to be processed in the target Mini Program.

[0098] In this embodiment, the content of the target interaction message includes page data and program information. The method of displaying the target interaction message in the target interaction interface may be: displaying the page data and program information in the target interaction page. The method of displaying the target interaction message in the target interaction interface may also be: displaying the page data in the target interaction page, and setting the hyperlink of the page data as the program link information of the target mini-program.

[0099] In this way, by displaying the page of the target applet in the target interactive page of the terminal, the relevant information of the target applet can be displayed more intuitively, and the user can also understand the services that the target applet can provide more clearly and intuitively.

[0100] In one embodiment, the page data includes the home page data of the target mini program; the target interaction message is displayed in the target interaction interface, including: rendering the home page data, displaying the home page of the target mini program in the target interaction interface, and setting a hyperlink of the home page according to the program link information of the target mini program.

[0101] In this embodiment, the content of the target interactive message includes the home page data of the target applet. The terminal renders the home page data, displays the home page of the target applet in the target interactive interface, and sets the hyperlink of the home page to the program link information of the target applet. In this way, the user can be redirected to the home page of the target applet by clicking on the home page to provide the user with the service of the target applet. Thus, on the basis of recommending the target applet and the user being able to clearly and intuitively understand the service of the target applet, the service of the target applet can be conveniently and quickly provided to the user, thereby simplifying user operations and improving user stickiness.

[0102] It is understandable that in some other embodiments, the program link information of the mini-program may not be provided, and no jump may be provided, that is, no hyperlink to the target mini-program may be set, and the user may find the access method to the target mini-program by himself based on the target interaction message.

[0103] In one specific application scenario, a colleague at the company said to Xiaowei, "Please help me order 10 takeouts for lunch and then issue a company invoice." The traditional way could be: Xiaowei, on the premise that she is familiar with "Meituan Takeout", can think of using the WeChat applet, then she opens WeChat, types in the search for the "Meituan Takeout" applet, and starts ordering takeout. When filling in the company invoice, Xiaowei can't remember the long company ticket number. At this time, Xiaowei exits the "Meituan Takeout" applet, and searches and opens the "Tax Invoice Assistant" applet on the premise that she is familiar with the "Tax Invoice Assistant". After obtaining the tax number, Xiaowei reopens the "Meituan Takeout" applet.

[0104] After adopting the method of this embodiment, it can be, for example Figure 3As shown, the product corresponding to this method can be the target service platform under WeChat. Xiaowei only needs to tell the target service platform, "I want to order 10 takeouts and get an invoice", on the premise that he has knowledge of the target service platform, without having to know specific mini-programs such as "Meituan Takeaway" and "Tax Invoice Assistant". After the terminal of the target service platform obtains the pending interactive message, it forwards it to the background server of the target service platform. After the background server of the target service platform receives the pending interactive message, it processes it accordingly and finally returns the message processing result. The message processing result includes the back-up statement "Try using the following two programs", as well as the program names and home page data of the two target mini-programs "Meituan Takeaway" and "Tax Invoice Assistant". When the terminal displays the target interactive message, it displays the back-up statement, the program names and home page data of the two target mini-programs, and can hyperlink to the corresponding target mini-program through the displayed target interactive message.

[0105] In one embodiment, the page data includes target page data of the target applet. The target page data corresponds to the calling interface information of the target applet, and the calling interface information corresponds to the interaction message to be processed. Displaying the target interaction message in the target interaction interface includes: rendering the target page data, displaying the target page of the target applet in the target interaction interface, and setting a hyperlink of the target page according to the calling interface information of the target applet.

[0106] In this embodiment, the content of the target interactive message includes the target page data of the target applet. The terminal renders the target page data, displays the target page of the target applet in the target interactive interface, and sets the hyperlink of the target page as the calling interface information of the target applet. The target page is a page of a functional module in the target applet that provides services corresponding to the interactive message to be processed. By clicking on the target page, the user can jump to the target page of the target applet and provide the service of the target applet to the user. In a specific example, Figure 4 As shown, the target interactive message displayed by the terminal may include the following: "OK, open the mini program, let's order", the program name of the target mini program "Meituan Waimai" determined by the backend server, and the target page corresponding to the calling interface information of the target mini program order function module. In this way, on the basis that users can clearly and intuitively understand the target mini program services, the target mini program services can be provided to users conveniently and quickly, thereby improving user stickiness.

[0107] In one embodiment, the target page data is rendered, the target page of the target applet is displayed in the target interactive interface, and a hyperlink to the target page is set according to the calling interface information of the target applet, and then includes: based on the target page, receiving a service request sending instruction; the service request sending instruction includes the program information and preset parameters of the target applet; sending a target service request according to the program information and preset parameters; receiving and displaying a service response result returned based on the target service request.

[0108] In this embodiment, the target interactive message includes the interface call information of the target applet, and the interface call information corresponds to the interactive message to be processed. Based on the target interactive message, the service request sending instruction can be received by clicking, double-clicking or long pressing the target interactive message, or by clicking, double-clicking or long pressing a preset button or other control in the target interactive message.

[0109] The target service request is used to request the service of the target applet. The program information may be program link information. The preset parameter may be a relevant parameter that needs to be provided when requesting the target applet. The preset parameter may be received before receiving the service request sending instruction. The preset parameter may also be extracted from the message processing result before receiving the service request instruction, and the preset parameter corresponds to the interaction message to be processed. For example, when the target applet is a ticketing assistant, the preset parameter may be the company information that needs to be invoiced entered by the user, or the company information that needs to be invoiced extracted by the backend server in the interaction message to be processed, which is included in the message processing result. For another example, when the target applet is a takeaway applet such as Meituan Takeaway, the preset parameter may be the product, quantity, merchant and other related information of the takeaway entered by the user, or the product, quantity, merchant and other related information of the takeaway extracted by the backend server in the interaction message to be processed, which is included in the message processing result. The target service request includes program information and preset parameters. The target service request is sent to the server of the target applet according to the program information. The server of the target applet executes the target service according to the target service request and returns the service response result to the terminal. The terminal receives and displays the service response result returned based on the target service request.

[0110] Based on the interactive message processing method of this embodiment, when calling the target applet, the user does not need to understand the specific operation method of the target applet. After displaying the target page of the functional module corresponding to the interactive message to be processed in the target applet, a service sending request can be received based on the target page, and then a target service request is sent to the server of the target applet based on the service sending request, and finally the service response result is received and displayed. In this way, the user operation steps can be reduced, and the services of the target applet can be provided to the user more conveniently and quickly, thereby further improving user stickiness.

[0111] In one embodiment, displaying a target interaction message in a target interaction interface includes: displaying page data through a sub-page embedded in the target interaction interface, and setting a hyperlink of the page data according to program information of the target applet.

[0112] In this embodiment, the content of the target interactive message also includes page data. The page data is displayed in a subpage embedded in the target interactive interface. In this way, by displaying the page data in a different way from ordinary interactive messages, users can quickly distinguish ordinary interactive messages from the target interactive message based on the target applet, thereby further improving user stickiness. The terminal sets a hyperlink to the page data according to the program information of the target applet, so that users can easily and quickly link to the target applet, thereby further improving user stickiness.

[0113] In one embodiment, a target interaction message based on a target applet is displayed in a target interaction interface according to a result of message processing, and then further includes: receiving a program request sending instruction based on the target interaction message; sending a target program request according to program information of the target applet carried in the program request sending instruction; receiving and displaying program response information returned according to the target program request.

[0114] In this embodiment, the program information included in the message processing result may include the program link information of the target applet. Receiving a program request to send instruction based on the target interactive message may be receiving a program request to send instruction by clicking, double-clicking, or long pressing the target interactive message. The program request to send instruction carries the program link information of the target applet. A target program request is sent according to the program link information, and the target program request carries the program link information and the terminal identifier. Based on the program link information, the target program request will be sent to the server of the target applet. Based on the terminal identifier, the background server can return the program response information determined based on the target program request to the terminal. In this case, the program response information may include the home page data of the target applet.

[0115] In this embodiment, the program information included in the message processing result may also include the calling interface information of the target applet, and the calling interface information corresponds to the interaction message to be processed. Receiving a program request to send an instruction based on the target interaction message may be receiving a program request to send an instruction by clicking, double-clicking, or long pressing the target interaction message. The program request to send an instruction carries the calling interface information of the target applet. A target program request is sent according to the calling interface information, and the target program request carries the calling interface information and the terminal identifier. Based on the calling interface information, the target program request will be sent to the server of the target applet. Based on the terminal identifier, the background server can return the program response information determined based on the target program request to the terminal. In this case, the program response information may include the target page data of the target applet.

[0116] Based on the interactive message processing method of this embodiment, after the target mini-program is recommended to the user, the user can make a request for the target mini-program based on the program response information by receiving a program request to send instructions, sending a target program request, and then receiving and displaying the program response information. In this way, a method of accessing the target mini-program is provided to the user, which can increase the usage rate of the target mini-program.

[0117] In one embodiment, the program response information includes the target page data. That is, the target program request also carries the calling interface information. When receiving the program request sending instruction, the calling interface information of the function module clicked in the target interactive message can be obtained. After sending the target program request, the program response information returned based on the target program request is received and displayed, and then it also includes: receiving a service request sending instruction based on the program response information; the service request sending instruction includes the calling interface information and preset parameters of the target applet; sending the target service request according to the preset parameters and the calling interface information; receiving and displaying the service response result returned according to the target service request.

[0118] The method of receiving the service request sending instruction based on the program response information may be: receiving it by receiving the user clicking a preset button in the target page, and the preset button may be a button such as "Submit" or "Confirm". The service request sending instruction includes the calling interface information and preset parameters of the target applet. Based on the calling interface information, the function module service corresponding to the target applet is requested. The preset parameters are the parameters required for the function module service. The preset parameters correspond to the interaction message to be processed. The preset parameters can be determined by the background server according to the interaction message to be processed, and returned to the terminal through the message processing result.

[0119] The target service request carries the calling interface information and preset parameters. The target service request is used to request the service provided by the functional module required by the user in the target program, that is, the functional module service. The target service request also carries the terminal identifier, so that the server of the target applet can return the service response result to the terminal that sent the target service request according to the terminal identifier. The terminal receives and displays the service response result returned according to the target service request. The service response result is the execution result returned by the background server according to the target service request.

[0120] Based on the interactive message processing method of this embodiment, the program information of the target applet is first provided to the user, and a program request is received based on the program information to send an instruction; then a target program request is sent, and target page data is received and displayed; then a service request is received based on the target page to send an instruction, a target service request is sent, and a service response result is received and displayed. In this way, while providing the user with a dialogue function, the service function of the target applet can also be expanded. Thus, user stickiness can be improved.

[0121] In one embodiment, receiving a service request sending instruction based on program response information includes: receiving a parameter modification instruction based on the program response information; after modifying the preset parameters according to the parameter modification instruction, receiving a service request sending instruction based on the program response information; the service request sending instruction includes the calling interface information of the target applet and the modified preset parameters.

[0122] In this embodiment, after the preset parameters are determined, they can be modified. In this way, after the user sends the interaction message to be processed, if the relevant parameters of the user's needs change, or if the preset parameters in the message processing result are different from what the user actually wants to express, they can be modified. Therefore, the target service request can be made more in line with the actual needs of the user, thereby further improving user stickiness.

[0123] like Figure 5 As shown, the present application also provides an interactive message processing method running on a background server, the method comprising:

[0124] S502: Receive an interaction message to be processed.

[0125] The interaction message to be processed may be received by the terminal and forwarded to the background server, and specifically may be forwarded by the terminal through a target service platform running under the parent application.

[0126] The backend server receives the interaction message to be processed, which may be a text message, a voice message, or a video, picture, or emoticon message.

[0127] After obtaining the to-be-processed interactive message input by the user, the terminal can forward the to-be-processed interactive message to the background server for processing. In this way, the efficiency of the target service platform in responding to customers can be improved, thereby further improving user stickiness.

[0128] After obtaining the interaction message to be processed input by the user, the terminal may also forward the interaction message to be processed to the background server according to the preset strategy, that is, the background server will receive the interaction message to be processed according to the corresponding strategy. The preset strategy may be forwarding once every preset time interval, or forwarding once every time a preset number of interaction messages to be processed are received, and the preset number is at least 1.

[0129] S504: Classify the intent of the interaction message to be processed and obtain the intent classification result of the interaction message to be processed.

[0130] The background server can first perform semantic understanding on the interaction message to be processed, obtain the semantic information of the interaction message to be processed, and then perform intent classification on the semantic information to obtain the intent classification result. Intent classification refers to classifying the intrinsic intent expressed by the semantic information in the message to be processed, and the intent categories of the intrinsic intent may include: chat intent, character intent, music intent, sub-application intent and other intent categories. In this implementation, the number of intent categories is at least 2, and it can also be a dozen or even dozens. The intent categories in this embodiment include at least chat intent and sub-application intent. Each intent category can be embodied by a domain.

[0131] For example, in the process of AI (artificial intelligence) voice interaction, the user's natural language message can be scored after voice recognition and semantic understanding through a preset mapping process, and finally fall into an optimal domain range, and obtain the return result to be output in this domain range. Different domains represent different AI capabilities.

[0132] It should be noted that, for an interaction message to be processed, an intent category will eventually be matched, and the intent classification result will be determined based on the matched intent category.

[0133] S506: Perform semantic analysis on the interaction message to be processed to determine message keywords of the interaction message to be processed.

[0134] The backend server performs semantic analysis on the interaction message to be processed to obtain the message keywords of the interaction message to be processed. The semantic analysis can be implemented by an independent semantic analysis algorithm or by a neural network model. The semantic analysis can be implemented by NLP (Neuro-Linguistic Programming) technology to obtain the message keywords. The message keywords are words in the interaction message to be processed that reflect important information of the interaction message to be processed. For example, when the interaction message to be processed is "I want to order takeout", the message keywords obtained by semantic analysis may include: order takeout.

[0135] S508: Determine the program identifier of the target mini-program corresponding to the interactive message to be processed according to the message keyword.

[0136] After obtaining the message keywords, the backend server can determine the target applet corresponding to the interaction message to be processed based on the message keywords. By obtaining the program identifier of the target applet, the program identifier of the target applet corresponding to the interaction message to be processed can be obtained. For example, when the message keyword is to order takeout, the target applet can be determined as the applet for ordering takeout. Furthermore, it is also possible to combine the program features of the takeout ordering applet, such as the number of uses, the number of uses within the recent preset time, user reviews, etc., to determine which takeout program is ultimately determined as the target applet.

[0137] When the intent of the mini-program is included in the intent classification result, the program identifier of the target mini-program corresponding to the interaction message to be processed can be determined based on the message keywords. In this way, when the intent of the mini-program is not included in the intent classification result, it is not necessary to determine the program identifier of the target mini-program corresponding to the interaction message to be processed based on the message keywords.

[0138] Perform semantic analysis on the interactive message to be processed, determine the message keywords of the interactive message to be processed, and determine the program identifier of the target mini-program corresponding to the interactive message to be processed based on the message keywords. This can be combined with the intent classification of the interactive message to be processed to obtain the intent classification result of the interactive message to be processed, and implemented through a neural network model. For example, it can be implemented through a fully connected neural network, and the number and depth of the hidden layers of the fully connected neural network can be adjusted according to the labeled data. The output of the fully connected neural network can use sigmoid (threshold function) as an excitation so that the output value is between 0 and 1. The labeled data can be represented by a vector of 0 and 1. 0 means that this data does not have a label at this position, and 1 means that this data has a label at this position. The number of bits of the vector is equal to the number of mini-programs to be classified. That is, the identifier of the mini-program corresponding to 1 in the vector is the program identifier of the target mini-program.

[0139] S510, sending a message processing result based on the program identifier of the target applet.

[0140] The backend server sends the message processing result based on the program identifier of the target applet, so the message processing result sent is the message processing result based on the target applet. The message processing result can be the program identifier of the target applet, or the program information of the target applet found based on the program identifier, or the execution result of the target applet obtained after the backend server calls the target applet for execution based on the program identifier.

[0141] The program information may include program link information, program name, program identifier, program icon and other program-related information of the target applet, and may also include calling interface information of the target applet.

[0142] In this way, the terminal can display the target interaction message based on the target applet in the target interaction interface according to the message processing result returned by the background server.

[0143] The above-mentioned interactive message processing method receives the interactive message to be processed; classifies the intent of the interactive message to be processed to obtain the intent classification result of the interactive message to be processed; performs semantic analysis on the interactive message to be processed to determine the message keywords of the interactive message to be processed; determines the program identifier of the target applet corresponding to the interactive message to be processed according to the message keywords; and sends the message processing result based on the program identifier of the target applet. Since the message processing result based on the target applet can be fed back, the function of interactive message processing can be expanded and user stickiness can be improved. At the same time, due to the limitations of the applet acquisition method, the above-mentioned interactive message processing method can also increase the number of times the target applet is used. In addition, based on the interactive message processing method of this embodiment, it is also easy to form an operation closed loop, thereby facilitating the statistics of traffic revenue.

[0144] In one of the application scenarios, such as Figure 6 As shown, the user actively asks the target service platform, such as the Qianxun AI dialogue robot public account, "What is my tax reimbursement number?" After the backend server of the target service platform receives this interactive message to be processed, it classifies its intent, and the intent classification results obtained include the mini-program intent. After semantic analysis of the interactive message to be processed to obtain the message keywords, the program identifier of the mini-program "Tax Invoice Assistant" can be determined as the program identifier of the target mini-program based on the message keywords. The message processing result sent to the terminal can be the program information of the "Tax Invoice Assistant". The result displayed on the terminal is as follows. Figure 6 The following figure shows the link page of the target program. The user can enter the target mini program by clicking on the link page.

[0145] In one of the application scenarios, such as Figure 7As shown in the figure, during the process of chatting on the target service platform, the user said, "I am so hungry." When the backend server of the target service platform receives the interaction message to be processed, it can extract the keyword "hungry" through semantic analysis. In addition to the chat words, the returned message processing result can also include the program information of the "Meituan Takeaway" applet recommended for the user.

[0146] In one embodiment, the intent of the interaction message to be processed is classified to obtain the intent classification result of the interaction message to be processed, including: extracting the message features of the interaction message to be processed; performing preset intent classification mapping on the message features through a neural network model to obtain the intent classification result of the interaction message to be processed.

[0147] In this embodiment, after receiving the interaction message to be processed, the message features of the interaction message to be processed are first extracted. The message features may include feature vectors such as message keyword vectors and message semantic vectors. Through the neural network model, the message features are mapped with preset intent classification to obtain the intent classification result of the interaction message to be processed. In this way, the intent classification result of the interaction message to be processed is obtained by mapping through the neural network model. Thereby, the accuracy of the intent classification result can be improved, and the user stickiness can be improved.

[0148] In order to further improve the accuracy of the intent classification results, in one embodiment, the neural network model is a fully connected neural network model. The neural network model performs preset intent classification mapping on the message features to obtain the intent classification results of the interactive message to be processed, including: performing convolution mapping on the message features through the convolution layer of the fully connected neural network model to obtain the convolution result; performing pooling mapping on the convolution result through the pooling layer of the fully connected neural network model to obtain the pooling result; performing full connection mapping on the pooling result through the fully connected layer of the fully connected neural network model to obtain the intent classification results of the interactive message to be processed.

[0149] In this embodiment, the extracted message features are mapped to preset intent classifications through a fully connected neural network model. In the preset intent classification mapping process, convolution mapping is performed through a convolution layer to obtain a convolution result, pooling mapping is performed through a pooling layer to obtain a pooling result, and full connection mapping is performed through a fully connected layer to obtain an intent classification result. In this way, the accuracy of the intent classification result can be further improved, thereby further improving user stickiness.

[0150] In one embodiment, extracting the message features of the interaction message to be processed includes: performing speech recognition on the interaction message to be processed to obtain a text message; and extracting the message features of the text message.

[0151] Speech recognition can convert voice messages into text messages. Speech recognition can be achieved through ASR (Automatic Speech Recognition) technology. In this embodiment, the interactive message to be processed is a voice message, and speech recognition is performed on the voice message to obtain a text message, and then the message features of the text message are extracted to obtain the message features of the interactive message to be processed. In this way, the input efficiency of message input can be improved, and more effective information can be received, so that mini-programs that better meet user needs can be recommended, further improving user stickiness.

[0152] In one specific embodiment, the product of the method is a target service platform. The implementation logic diagram of the target service platform can be as follows: Figure 8 As shown, the user's proactive or chatty pending interactive message is obtained through the terminal, and the pending interactive message can be in text form or voice form. The terminal forwards the pending interactive message to the background server of the target service platform. The background server of the target service platform can perform voice recognition on the pending interactive message through the ASR voice recognition engine and convert the voice message into a text message. Then, the text message can be semantically analyzed by the NLP semantic understanding engine to extract the message features of the text message, such as message keywords, and the message features are mapped to preset intent classification through the neural network model to obtain the intent classification result of the pending interactive message, and the program identifier of the target applet corresponding to the pending interactive message is determined according to the message keywords. The program information of the target applet is obtained according to the program identifier of the target applet, and then the program information is sent to the terminal. The program information includes the program link information of the target applet. The program link information of the target applet is distributed through the terminal.

[0153] In the above embodiment, the function of distributing or calling the mini-program can be realized by means of the target service platform. At the product level of the target service platform, its logical flow can be as follows: Fig. 9 As shown. On the one hand, it can be that the user actively inputs clear needs through voice or typing, such as "I want to order takeout". On the other hand, it can be that the user exposes related vague needs during the chat, such as mentioning "I'm hungry" during the chat. The active "I want to order takeout" or the passive exposure of "I'm hungry" are classified as mini program intent. After determining the target mini program, it can be output to guide the bottom line and distribute the program link information of the target mini program, or it can be called The calling interface information of the target mini program directly reaches the user's last operation and returns the final result.

[0154] In one embodiment, sending a message processing result based on a program identifier of a target applet includes: obtaining program information of the target applet according to the program identifier; the program information includes program link information or calling interface information of the target applet; and sending a message processing result based on the program information.

[0155] The backend server can search for the program information of the target applet in the local database according to the program identifier, or send a search request to the server of the target applet according to the program identifier to request the program information of the target applet corresponding to the program identifier, thereby obtaining the program information of the target applet.

[0156] The program link information may include the link address, port number and other link information of the target applet. The call interface information may include the link address, port number and other link information of the functional module of the target applet. The message processing result sent based on the program information may be the program link information of the target applet, the call interface information of the target applet, or the page data corresponding to the program link information or the call interface information.

[0157] In this way, the message processing result fed back to the terminal includes program link information or calling interface information, so that the user can easily and quickly access the target applet through the program link or calling interface information, and the number of times the target applet is used can also be increased.

[0158] In one embodiment, sending a message processing result based on program information includes: requesting page data of a target applet according to the program information; and after receiving the page data, sending a message processing result based on the page data and the program information.

[0159] In this embodiment, the backend server sends a page request to the server of the target applet according to the program information, requesting the page data of the target applet. After receiving the page request, the server of the target applet returns the page data to the backend server according to the page request. After receiving the page data, the backend server sends the message processing result to the terminal based on the page data and program information. The message processing result fed back to the terminal by the backend server includes the page data and program information. In this way, the page data can be displayed on the terminal, so that the user can more intuitively understand the services provided by the target applet.

[0160] In one embodiment, the program identifier of the target mini-program corresponding to the interactive message to be processed is determined based on message keywords, including: determining the candidate mini-programs corresponding to the interactive message to be processed based on the message keywords; extracting the mini-program features of the candidate mini-programs; sorting the candidate mini-programs based on the mini-program features, and determining the program identifier of the candidate mini-program ranked in a preset position as the program identifier of the target mini-program.

[0161] In this embodiment, no less than one candidate mini-program can be determined based on the message keywords. For example, the mini-program corresponding to the weather may be China Weather Network, Moji Weather, etc. In this embodiment, the target mini-program with the highest correlation with the interactive message to be processed is determined by sorting these candidate mini-programs. The mini-program features of the candidate mini-programs can be combined through a linear regression model to optimize the number of times the mini-programs are opened, thereby obtaining the sorting results of the sub-applications. The program identifier of the candidate mini-program ranked in a preset position can be determined as the program identifier of the target mini-program. The preset position can be any position before, such as the first position.

[0162] Among them, the mini program features can include text features and non-text features. Among them, text features can be keywords, word frequency statistics, message matching, etc. Non-text features can be quality scores, number of fans, number of times the mini program has been opened, etc.

[0163] Based on the interactive message processing method of this embodiment, the target mini-program corresponding to the pending handover message is determined by sorting the program identifiers of the candidate mini-programs. In this way, the mini-program that better meets the user's needs can be determined, thereby improving the user's satisfaction and further improving user stickiness.

[0164] In one embodiment, extracting mini-program features of a candidate mini-program includes: when the candidate mini-program is a text-type mini-program, extracting text features of the candidate mini-program and non-text features of the candidate mini-program; or, when the candidate mini-program is a non-text-type mini-program, extracting non-text features of the candidate mini-program.

[0165] Text-based Mini Programs refer to Mini Programs that can get text-based answers, such as the weather Mini Program. If the question is "Beijing weather", the Mini Program can give a text-based answer, such as "Sunny, 10 degrees Celsius". Non-text-based Mini Programs refer to Mini Programs that do not have answers to questions and directly give jump pages, such as ticket booking Mini Programs, music playback Mini Programs, etc.

[0166] Text features can be keywords, word frequency statistics, and message matching. Non-text features can be quality scores, number of fans, number of times the mini program has been opened, etc. In this embodiment, text mini programs need to extract text features and non-text features, and non-text mini programs need to extract non-text features. Candidate mini programs can be ranked according to these application features to determine the target mini program.

[0167] In one specific example, Fig.10As shown, after receiving the interaction message to be processed, the background server of the target service platform performs intent classification on the interaction message to be processed based on the neural network model, and the intent classification result also includes the candidate mini-program identification. The background server pulls the list of candidate mini-programs, and then determines whether these candidate mini-programs are text-type mini-programs, such as whether they are text-type mini-programs. When the candidate mini-program is a text-type mini-program, the text result of the candidate mini-program is obtained, the text features of the candidate mini-program are extracted based on the text result, and then the non-text features of the candidate mini-program are extracted. When the candidate mini-program is a non-text mini-program, the non-text features of the candidate mini-program are obtained. According to these text features and non-text features, the candidate mini-programs are sorted by a logistic regression model, and then the target mini-program is determined.

[0168] Based on the message processing method of this embodiment, text features and non-text features are extracted for text-type mini-programs, and non-text features are extracted for non-text-type mini-programs, so that various factors can be comprehensively considered as much as possible, and the ranking results can be made more accurate. In this way, the target mini-programs that better meet the needs of users can be determined, and the user satisfaction can be improved, thereby further improving user stickiness.

[0169] In order to more clearly illustrate the embodiments of the present application on both the terminal and the backend server, a timing diagram of a specific embodiment is now described. Fig.11As shown. The terminal displays the target interaction interface, and when a message input trigger instruction is received in the target interaction interface, the interaction message to be processed is received; when a message sending trigger instruction is received in the target interaction interface, the interaction message to be processed is displayed in the target interaction interface, and a message processing request is sent to the background server based on the interaction message to be processed. The background server receives the interaction message to be processed; classifies the intent of the interaction message to be processed, and obtains the intent classification result of the interaction message to be processed; performs semantic analysis on the interaction message to be processed, and determines the message keywords of the interaction message to be processed; determines the program identifier of the target applet corresponding to the interaction message to be processed according to the message keywords; and sends the message processing result to the terminal based on the program identifier of the target applet. The terminal receives the message processing result returned based on the message processing request, and displays the program information based on the target applet in the target interaction interface according to the message processing result; receives the program request sending instruction based on the displayed program information; and then sends the target program request to the server of the target applet according to the program information of the target applet carried by the program request sending instruction. The server of the target applet returns the program response information to the terminal according to the target program request. The terminal displays the target page data according to the program response information, and receives the parameter modification instruction based on the displayed target page data; after modifying the preset parameters according to the parameter modification instruction, the terminal receives the service request sending instruction based on the program response information; the service request sending instruction includes the calling interface information of the target applet and the modified preset parameters; then, the target service request is sent to the server of the target applet according to the modified preset parameters and the calling interface information. The server of the target applet returns the service response result to the terminal according to the target service request. The terminal receives and displays the service response result returned according to the target service request.

[0170] It should be understood that although Figure 2 , 5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 , 5 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0171] In one embodiment, Fig.12 As shown, an interactive message processing device corresponding to the interactive message processing method running on the terminal is provided, including:

[0172] The interactive message receiving module 1202 is used to receive the interactive message to be processed when a message input trigger instruction is received in the target interactive interface;

[0173] The message display and sending module 1204 is used to display the interaction message to be processed in the target interaction interface when a message sending trigger instruction is received in the target interaction interface, and send a message processing request based on the interaction message to be processed;

[0174] A message result receiving module 1206 is used to receive a message processing result returned based on the message processing request, wherein the message processing result is determined based on a target applet corresponding to the interaction message to be processed;

[0175] The target message display module 1208 is used to display the target interaction message based on the target applet in the target interaction interface according to the message processing result.

[0176] The above-mentioned interactive message processing device receives the interactive message to be processed when receiving the message input trigger instruction in the target interactive interface; displays the interactive message to be processed in the target interactive interface when receiving the message sending trigger instruction in the target interactive interface, and sends a message processing request based on the interactive message to be processed; receives the message processing result returned based on the message processing request, and the message processing result is determined based on the target applet corresponding to the interactive message to be processed; and displays the target interactive message based on the target applet in the target interactive interface according to the message processing result. Since the returned message processing result based on the target applet can be received, and the target interactive message based on the target applet can be displayed in the target interactive interface based on the message processing result, the function of interactive message processing can be expanded and user stickiness can be improved. At the same time, due to the limitations of the applet acquisition method, the above-mentioned interactive message processing device can also increase the number of times the applet is used. In addition, the interactive message processing device based on this embodiment can also easily form an operation closed loop, thereby facilitating the statistics of traffic revenue.

[0177] In one embodiment, the message processing result includes program information of the target applet; the target message display module 1208 is used to display a target interaction message based on the target applet in the target interaction interface according to the program information of the target applet.

[0178] In one embodiment, the program information includes program link information of the target applet; the target message display module 1208 is used to display a target interaction message based on the target applet in the target interaction interface according to the program link information of the target applet.

[0179] In one embodiment, the program information includes calling interface information of the target applet; the calling interface information corresponds to the interaction message to be processed; the target message display module 1208 is used to display the target interaction message based on the target applet in the target interaction interface according to the calling interface information of the target applet.

[0180] In one embodiment, the message processing result also includes the page data of the target applet; the target message display module 1208 is used to determine the target interaction message based on the target applet according to the program information and the page data of the target applet; and display the target interaction message in the target interaction interface.

[0181] In one embodiment, the page data includes the home page data of the target mini program; the target message display module 1208 is used to render the home page data, display the home page of the target mini program in the target interactive interface, and set a hyperlink to the home page according to the program link information of the target mini program.

[0182] In one embodiment, the page data includes target page data of the target applet; the target page data corresponds to the calling interface information of the target applet, and the calling interface information corresponds to the interaction message to be processed; the target message display module 1208 is used to render the target page data, display the target page of the target applet in the target interaction interface, and set a hyperlink to the target page according to the calling interface information of the target applet.

[0183] In one embodiment, it also includes:

[0184] A service request receiving module, used to receive a service request sending instruction based on the target page; the service request sending instruction includes program information and preset parameters of the target applet;

[0185] A service request determination module, configured to send a target service request according to the program information and the preset parameters;

[0186] The service response receiving module is used to receive and display the service response result returned based on the target service request.

[0187] In one embodiment, the target message display module 1208 is used to display the page data through a sub-page embedded in the target interactive interface, and set a hyperlink to the page data according to the program information of the target applet.

[0188] In one embodiment, it also includes:

[0189] A program request receiving module, configured to receive a program request sending instruction based on the target interaction message;

[0190] A program request sending module, used to send a target program request according to the program information of the target applet carried by the program request sending instruction;

[0191] The program response receiving module is used to receive and display the program response information returned according to the target program request.

[0192] In one embodiment, the program response information includes target page data; the target page data corresponds to the interaction message to be processed; the device further includes:

[0193] A service request receiving module, used to receive a service request sending instruction based on the program response information; the service request sending instruction includes the calling interface information and preset parameters of the target applet;

[0194] A service request determination module, used to send a target service request according to the preset parameters and the calling interface information;

[0195] The service response receiving module is used to receive and display the service response result returned according to the target service request.

[0196] In one embodiment, it further includes: a modification instruction receiving module.

[0197] A modification instruction receiving module, used for receiving a parameter modification instruction based on the program response information;

[0198] The service request receiving module is further used to send an instruction based on the received service request according to the program response information after modifying the preset parameter according to the parameter modification instruction;

[0199] The service request sending instruction includes the calling interface information of the target applet and the modified preset parameters.

[0200] In one embodiment, Fig.13 As shown, an interactive message processing device corresponding to the interactive message processing method running on the background server is provided, including:

[0201] The interactive message receiving module 1302 is used to receive the interactive message to be processed;

[0202] The message intention classification module 1304 is used to classify the intention of the interaction message to be processed and obtain the intention classification result of the interaction message to be processed;

[0203] A message semantic analysis module 1306, configured to perform semantic analysis on the interaction message to be processed, and determine message keywords of the interaction message to be processed;

[0204] A target program determination module 1308, configured to determine a program identifier of a target mini-program corresponding to the to-be-processed interactive message according to the message keyword;

[0205] The message result sending module 1310 is used to send the message processing result based on the program identifier of the target applet.

[0206] The above-mentioned interactive message processing device receives the interactive message to be processed; classifies the intent of the interactive message to be processed to obtain the intent classification result of the interactive message to be processed; performs semantic analysis on the interactive message to be processed to determine the message keywords of the interactive message to be processed; determines the program identifier of the target applet corresponding to the interactive message to be processed according to the message keywords; and sends the message processing result based on the program identifier of the target applet. Since the message processing result based on the target applet can be fed back, the function of interactive message processing can be expanded and user stickiness can be improved. At the same time, due to the limitations of the applet acquisition method, the above-mentioned interactive message processing device can also increase the number of times the target applet is used. In addition, the interactive message processing device based on this embodiment is also easy to form an operation closed loop, thereby facilitating the statistics of traffic revenue.

[0207] In one embodiment, it further includes: a message feature extraction module;

[0208] A message feature extraction module, used to extract message features of the interaction message to be processed;

[0209] The message intent classification module 1304 is also used to perform preset intent classification mapping on the message features through a neural network model to obtain the intent classification result of the interactive message to be processed.

[0210] In one embodiment, the neural network model is a fully connected neural network model. The message intent classification module 1304 is further used to perform convolution mapping on the message features through the convolution layer of the fully connected neural network model to obtain a convolution result; perform pooling mapping on the convolution result through the pooling layer of the fully connected neural network model to obtain a pooling result; perform full connection mapping on the pooling result through the fully connected layer of the fully connected neural network model to obtain an intent classification result of the interaction message to be processed.

[0211] In one embodiment, it further includes: a speech recognition module;

[0212] A speech recognition module, used for performing speech recognition on the interaction message to be processed to obtain a text message;

[0213] The message feature extraction module is also used to extract message features of the text message.

[0214] In one embodiment, it further includes: a program information determination module;

[0215] A program information determination module, used to obtain program information of the target applet according to the program identifier; the program information includes program link information or calling interface information of the target applet;

[0216] The message result sending module 1310 is further used to send the message processing result based on the program information.

[0217] In one embodiment, it further includes: a page data request module;

[0218] A page data request module, used to request page data of the target applet according to the program information;

[0219] The message result sending module 1310 is further used to send a message processing result based on the page data and the program information after receiving the page data.

[0220] In one embodiment, it further includes: a candidate program determination module and a program feature extraction module;

[0221] A candidate program determination module, used to determine the candidate mini-program corresponding to the to-be-processed interactive message according to the message keywords;

[0222] A program feature extraction module, used to extract the mini-program features of the candidate mini-program;

[0223] The target program determination module 1308 is further configured to sort the candidate mini-programs according to the mini-program features, and determine the program identifier of the candidate mini-program ranked at a preset position as the program identifier of the target mini-program.

[0224] In one embodiment, the program feature extraction module is used to extract the text features of the candidate applet and the non-text features of the candidate applet when the candidate applet is a text applet; or, when the candidate applet is a non-text applet, extract the non-text features of the candidate applet.

[0225] like Fig.14As shown, in one embodiment, a computer device is provided, which may be a server or a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an interactive message processing method is implemented.

[0226] Those skilled in the art will understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0227] In one embodiment, a computer device is provided, which may be a server or a terminal. The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned interactive message processing method when executing the computer program.

[0228] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned interactive message processing method are implemented.

[0229] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0230] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0231] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for processing interactive messages, the method comprising: When a message input trigger instruction is received in the target interaction interface, an interaction message to be processed is received; When a message sending trigger instruction is received in the target interaction interface, the to-be-processed interaction message is displayed in the target interaction interface, and a message processing request is sent based on the to-be-processed interaction message; Receiving a message processing result returned based on the message processing request, wherein the message processing result is determined based on a target applet corresponding to the interaction message to be processed; the message processing result includes program information of the target applet; According to the program information of the target applet, a target interaction message based on the target applet is displayed in the target interaction interface.

2. The method according to claim 1, characterized in that: The program information includes program link information of the target applet; and displaying a target interaction message based on the target applet in the target interaction interface according to the program information of the target applet includes: According to the program link information of the target applet, a target interaction message based on the target applet is displayed in the target interaction interface.

3. The method according to claim 1, characterized in that The program information includes the calling interface information of the target applet; the calling interface information corresponds to the interaction message to be processed; and displaying the target interaction message based on the target applet in the target interaction interface according to the program information of the target applet includes: According to the calling interface information of the target applet, a target interaction message based on the target applet is displayed in the target interaction interface.

4. The method according to claim 1, characterized in that: The message processing result also includes page data of the target applet; and displaying the target interaction message based on the target applet in the target interaction interface according to the program information of the target applet includes: Determine a target interactive message based on the target applet according to the program information and the page data of the target applet; The target interaction message is displayed in the target interaction interface.

5. The method according to claim 4, characterized in that The page data includes the home page data of the target applet; and the displaying of the target interaction message in the target interaction interface includes: The home page data is rendered, the home page of the target applet is displayed in the target interactive interface, and a hyperlink of the home page is set according to the program link information of the target applet.

6. The method according to claim 4, characterized in that The page data includes target page data of the target applet; the target page data corresponds to the calling interface information of the target applet, and the calling interface information corresponds to the interaction message to be processed; The displaying the target interaction message in the target interaction interface includes: The target page data is rendered, the target page of the target applet is displayed in the target interactive interface, and a hyperlink of the target page is set according to the calling interface information of the target applet.

7. The method according to claim 6, characterized in that The step of rendering the target page data, displaying the target page of the target applet in the target interactive interface, and setting a hyperlink to the target page according to the calling interface information of the target applet, further comprises: Based on the target page, receiving a service request sending instruction; the service request sending instruction includes program information and preset parameters of the target applet; Sending a target service request according to the program information and the preset parameters; Receive and display a service response result returned based on the target service request.

8. The method according to claim 4, characterized in that The displaying the target interaction message in the target interaction interface includes: The page data is displayed through a sub-page embedded in the target interactive interface, and a hyperlink to the page data is set according to the program information of the target applet.

9. The method according to claim 1, characterized in that: The method further comprises: displaying a target interaction message based on the target mini-program in the target interaction interface according to the program information of the target mini-program; and then: receiving a program request to send an instruction based on the target interactive message; Sending a target program request according to the program information of the target applet carried by the program request sending instruction; Receive and display program response information returned according to the target program request.

10. The method according to claim 9, characterized in that The program response information includes target page data; the target page data corresponds to the interaction message to be processed; after sending the target program request, receiving and displaying the program response information returned based on the target program request, and then further including: Receive a service request sending instruction based on the program response information; the service request sending instruction includes the calling interface information and preset parameters of the target applet; Sending a target service request according to the preset parameters and the calling interface information; Receive and display the service response result returned according to the target service request.

11. The method according to claim 10, characterized in that The receiving a service request sending instruction based on the program response information includes: receiving a parameter modification instruction based on the program response information; After modifying the preset parameter according to the parameter modification instruction, sending an instruction based on the program response information according to the received service request; The service request sending instruction includes the calling interface information of the target applet and the modified preset parameters.

12. A method for processing interactive messages, the method comprising: receiving interaction messages to be processed; Classifying the intent of the interaction message to be processed to obtain an intent classification result of the interaction message to be processed; Performing semantic analysis on the interaction message to be processed to determine message keywords of the interaction message to be processed; Determine, according to the message keyword, a program identifier of a target mini-program corresponding to the interaction message to be processed; According to the program identifier, program information of the target applet is acquired; the program information includes program link information or calling interface information of the target applet; Based on the program information, a message processing result is sent.

13. The method according to claim 12, characterized in that The classifying the intent of the interaction message to be processed to obtain the intent classification result of the interaction message to be processed includes: Extracting message features of the interaction message to be processed; The message features are mapped to preset intent classifications through a neural network model to obtain intent classification results for the interactive message to be processed.

14. The method according to claim 13, characterized in that The neural network model is a fully connected neural network model; the preset intent classification mapping is performed on the message features through the neural network model to obtain the intent classification result of the interaction message to be processed, including: Performing convolution mapping on the message features through the convolution layer of the fully connected neural network model to obtain a convolution result; Performing pooling mapping on the convolution result through the pooling layer of the fully connected neural network model to obtain a pooling result; The pooling result is fully connected mapped through the fully connected layer of the fully connected neural network model to obtain the intent classification result of the interaction message to be processed.

15. The method according to claim 13, characterized in that The extracting the message feature of the to-be-processed interactive message includes: Performing voice recognition on the interaction message to be processed to obtain a text message; Message features of the text message are extracted.

16. The method according to claim 12, characterized in that The sending of the message processing result based on the program information includes: Requesting page data of the target applet according to the program information; After receiving the page data, a message processing result is sent based on the page data and the program information.

17. The method according to claim 12, characterized in that The determining, according to the message keyword, a program identifier of a target mini-program corresponding to the to-be-processed interactive message includes: Determine, according to the message keywords, a candidate mini-program corresponding to the to-be-processed interactive message; Extracting mini-program features of the candidate mini-program; The candidate mini-programs are sorted according to the mini-program features, and the program identifiers of the candidate mini-programs ranked in a preset position are determined as the program identifiers of the target mini-programs.

18. The method according to claim 17, characterized in that The step of extracting the mini-program features of the candidate mini-program includes: When the candidate applet is a text applet, extracting text features of the candidate applet and non-text features of the candidate applet; or, When the candidate applet is a non-text applet, non-text features of the candidate applet are extracted.

19. An interactive message processing device, the device comprising: An interactive message receiving module, used to receive an interactive message to be processed when a message input trigger instruction is received in the target interactive interface; A message display and sending module, configured to display the to-be-processed interactive message in the target interactive interface upon receiving a message sending trigger instruction in the target interactive interface, and to send a message processing request based on the to-be-processed interactive message; A message result receiving module, used to receive a message processing result returned based on the message processing request, wherein the message processing result is determined based on a target applet corresponding to the to-be-processed interactive message; the message processing result includes program information of the target applet; A target message display module is used to display a target interaction message based on the target applet in the target interaction interface according to the program information of the target applet.

20. The device according to claim 19, characterized in that The program information includes program link information of the target applet; the target message display module is also used to display a target interaction message based on the target applet in the target interaction interface according to the program link information of the target applet.

21. The device according to claim 19, characterized in that The program information includes the calling interface information of the target applet; the calling interface information corresponds to the interaction message to be processed; the target message display module is also used to display the target interaction message based on the target applet in the target interaction interface according to the calling interface information of the target applet.

22. The device according to claim 19, characterized in that The message processing result also includes the page data of the target applet; the target message display module is also used to determine the target interaction message based on the target applet according to the program information and the page data of the target applet; and display the target interaction message in the target interaction interface.

23. The device according to claim 22, characterized in that The page data includes the home page data of the target mini program; the target message display module is also used to render the home page data, display the home page of the target mini program in the target interactive interface, and set a hyperlink of the home page according to the program link information of the target mini program.

24. The device according to claim 22, characterized in that The page data includes the target page data of the target applet; the target page data corresponds to the calling interface information of the target applet, and the calling interface information corresponds to the interaction message to be processed; the target message display module is also used to render the target page data, display the target page of the target applet in the target interaction interface, and set a hyperlink to the target page according to the calling interface information of the target applet.

25. The device according to claim 24, characterized in that The device also includes: A service request receiving module, used to receive a service request sending instruction based on the target page; the service request sending instruction includes program information and preset parameters of the target applet; A service request determination module, configured to send a target service request according to the program information and the preset parameters; The service response receiving module is used to receive and display the service response result returned based on the target service request.

26. The device according to claim 22, characterized in that The target message display module is also used to display the page data through a sub-page embedded in the target interactive interface, and to set a hyperlink to the page data according to the program information of the target applet.

27. The device according to claim 19, characterized in that The device also includes: A program request receiving module, configured to receive a program request sending instruction based on the target interaction message; A program request sending module, used to send a target program request according to the program information of the target applet carried by the program request sending instruction; The program response receiving module is used to receive and display the program response information returned according to the target program request.

28. The device according to claim 27, characterized in that The program response information includes target page data; The target page data corresponds to the interaction message to be processed; the device further includes: A service request receiving module, used to receive a service request sending instruction based on the program response information; the service request sending instruction includes the calling interface information and preset parameters of the target applet; A service request determination module, used to send a target service request according to the preset parameters and the calling interface information; The service response receiving module is used to receive and display the service response result returned according to the target service request.

29. The device according to claim 28, characterized in that The device also includes: A service request receiving module, configured to receive a parameter modification instruction based on the program response information; The service request receiving module is further configured to send an instruction based on the received service request based on the program response information after modifying the preset parameter according to the parameter modification instruction; The service request sending instruction includes the calling interface information of the target applet and the modified preset parameters.

30. An interactive message processing device, the device comprising: An interactive message receiving module, used for receiving an interactive message to be processed; A message intent classification module, used to classify the intent of the interaction message to be processed and obtain the intent classification result of the interaction message to be processed; A message semantic analysis module, used to perform semantic analysis on the interaction message to be processed, and determine message keywords of the interaction message to be processed; A target program determination module, used to determine the program identifier of the target mini-program corresponding to the to-be-processed interactive message according to the message keyword; According to the program identifier, program information of the target applet is acquired; the program information includes program link information or calling interface information of the target applet; The message result sending module is used to send the message processing result based on the program information.

31. The device according to claim 30, characterized in that The device also includes: A message feature extraction module, used to extract message features of the interaction message to be processed; The message intent classification module is also used to perform preset intent classification mapping on the message features through a neural network model to obtain the intent classification result of the interactive message to be processed.

32. The device according to claim 31, characterized in that The neural network model is a fully connected neural network model; the message intent classification module is also used to perform convolution mapping on the message features through the convolution layer of the fully connected neural network model to obtain a convolution result; perform pooling mapping on the convolution result through the pooling layer of the fully connected neural network model to obtain a pooling result; perform full connection mapping on the pooling result through the fully connected layer of the fully connected neural network model to obtain an intent classification result of the interactive message to be processed.

33. The device according to claim 31, characterized in that The device also includes: A speech recognition module, used for performing speech recognition on the interaction message to be processed to obtain a text message; The message feature extraction module is also used to extract message features of the text message.

34. The device according to claim 30, characterized in that The device also includes: A page data request module, used to request page data of the target applet according to the program information; The message result sending module is further used to send a message processing result based on the page data and the program information after receiving the page data.

35. The device according to claim 30, characterized in that The device also includes: A candidate program determination module, used to determine the candidate mini-program corresponding to the to-be-processed interactive message according to the message keywords; A program feature extraction module, used to extract the mini-program features of the candidate mini-program; The target program determination module is further used to sort the candidate mini-programs according to the mini-program features, and determine the program identifier of the candidate mini-program ranked in a preset position as the program identifier of the target mini-program.

36. The device according to claim 35, characterized in that The program feature extraction module is also used to extract the text features of the candidate applet and the non-text features of the candidate applet when the candidate applet is a text applet; or, when the candidate applet is a non-text applet, extract the non-text features of the candidate applet.

37. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 18 are implemented.

38. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 18 are implemented.

Citation Information

Patent Citations

  • Method and device for processing message in group conversation, storage medium and computer device

    CN107229526A

  • Text content extraction method, device and system and storage medium

    CN107807917A

  • Methods and apparatus to generate knowledge base articles

    US20170005967A1

  • Method and apparatus for operating terminal

    WO2019007169A1