Message interaction method, electronic equipment, computer storage medium and program product

By displaying the status information of the message card in the intelligent dialogue interface, users are allowed to edit the message card, which solves the problem of immutable IM message content, improves the accuracy and response speed of the output of the large language model, and improves the user experience.

CN119200925APending Publication Date: 2024-12-27HANGZHOU DUANQU NETWORK MEDIA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411112035.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In smart human-computer interaction, the content of the IM message cannot be changed after it is sent, resulting in the output returned by the large language model processing that is not accurate enough, increasing the user's waiting time.

Method used

By displaying the status information of the message card in the intelligent dialogue interface, users can decide whether to edit the message card, thereby updating the input data of the generated basic model and improving the accuracy and response speed of the output data.

Benefits of technology

It improves the accuracy of using the generative basic model to obtain output data, shortens the time for users to wait for accurately output data, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200925A_ABST
    Figure CN119200925A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message interaction method, electronic equipment, a computer storage medium and a program product. The message interaction method comprises the steps of receiving a first operation of a user; in response to the first operation, acquiring information of a message card from a local database and / or a card server, and displaying the message card in the intelligent dialogue interface according to state information in the information of the message card; wherein the intelligent dialogue interface is used for displaying information related to the use of the generative basic model, and the state information is used for indicating whether the message card can be edited or not. The user equipment displays the message card which can be edited by the user or cannot be edited by the user in the intelligent dialogue interface according to the state information of the message card, and when the message card can be edited by the user, the user can input data in an incremental manner in time, so that the accuracy of output data obtained by utilizing the generative basic model is improved, and the user experience is improved. The waiting time of the user is shortened, and the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of artificial intelligence technology, and in particular to a message interaction method, electronic device, computer storage medium, and program product. Background Art

[0002] With the development of Large Language Model (LLM), such as Generative Pre-trained Transformer (GTP), another wave of artificial intelligence (AI) technology has been set off in recent years. Many developers are actively exploring the application scenarios of large language models in applications (APP) to provide intelligent human-computer interaction capabilities.

[0003] At present, the intelligent human-computer interaction capability is reflected in the use of a chat window mode to complete the interaction between users and large language models. The interactive information flow adopts the instant messaging (IM) message mechanism commonly used in the industry. After the IM message is sent, it is processed using the large language model to obtain the output answer and feedback. IM messages have the characteristics of strong real-time, strong interactivity and wide dissemination range. They can respond to and meet user needs in real time, improving user participation and satisfaction.

[0004] However, the content data in the IM message cannot be changed after it is sent, and it takes a certain amount of time to process and return the output answer using a large language model. In scenarios where user interaction information needs to change, the output answer obtained using the large language model is not accurate enough, and the user's waiting time is increased. Summary of the invention

[0005] In view of this, embodiments of the present application provide a message interaction method, an electronic device, a computer storage medium, and a program product to at least partially solve the above-mentioned problems.

[0006] According to a first aspect of an embodiment of the present application, a message interaction method is provided, comprising: receiving a first operation of a user; in response to the first operation, obtaining information of a message card from a local database and / or a card server, and displaying the message card in an intelligent dialogue interface according to status information in the information of the message card; wherein the intelligent dialogue interface is used to display information related to the use of a generative basic model, and the status information is used to indicate whether the message card can be edited.

[0007] According to a second aspect of an embodiment of the present application, a message interaction method is provided, comprising: receiving first output data sent by a model server or a service device; wherein a generative basic model is deployed on the model server, and a plurality of services are deployed on the service device; generating information of a message card according to the first output data; the information of the message card comprises status information, and the status information is used to indicate whether the message card can be edited when the user device displays the message card in an intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model; and sending the information of the message card to the user device.

[0008] According to a third aspect of an embodiment of the present application, a message interaction method is provided, which is applied to a model server or a service device, wherein a generative basic model is deployed on the model server, and a plurality of services are deployed on the service device; the method comprises: receiving input data to be processed sent by a user device; generating output data according to the input data; and sending the output data to a card server; wherein the output data is used by the card server to generate information of a message card; the information of the message card comprises status information, and the status information is used to indicate whether the message card can be edited when the user device displays the message card in an intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model.

[0009] According to the fourth aspect of the embodiments of the present application, an electronic device is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method described in the first aspect, the second aspect or the third aspect.

[0010] According to a fifth aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect, the second aspect, or the third aspect is implemented.

[0011] According to a sixth aspect of an embodiment of the present application, a computer program product is provided, comprising computer instructions, wherein the computer instructions instruct a computing device to perform operations corresponding to the method described in the first aspect, the second aspect, or the third aspect.

[0012] According to a message interaction method provided by an embodiment of the present application, a card server and a local database on a user device store information of message cards generated during the use of a generative basic model. The information of the message card includes status information, and the status information indicates whether the message card can be edited. The user device receives a first operation of the user, obtains information of the message card from the local database and / or the card server, and displays a message card that can be edited by the user or cannot be edited by the user in the intelligent dialogue interface according to the status information of the message card. When the message card can be edited by the user, the user can modify or increment the input data in time, thereby updating the input data processed by the generative basic model and obtaining more accurate output data, thereby improving the accuracy of the output data obtained using the generative basic model, shortening the time for the user to wait for accurate output data, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0014] Figure 1 A schematic diagram of an exemplary system for a message interaction method according to an embodiment of the present application;

[0015] Figure 2 A flowchart of a message interaction method according to an embodiment of the present application;

[0016] Figure 3 is a flowchart of another message interaction method according to an embodiment of the present application;

[0017] Figure 4 is a flowchart of another message interaction method according to an embodiment of the present application;

[0018] Figure 5A to Figure 5C A flowchart of a message interaction method according to an embodiment of the present application;

[0019] Figure 6 This is an example diagram of a scenario according to an embodiment of the present application;

[0020] Figure 7 This is another example diagram of a scenario according to an embodiment of the present application;

[0021] Figure 8 This is another example diagram of a scenario according to an embodiment of the present application;

[0022] Fig. 9It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.

[0024] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.

[0025] Figure 1 Schematic diagram of an exemplary system applicable to the message interaction method of the embodiment of the present application. Figure 1 As shown, the system 100 may include a cloud service end 102, a communication network 104 and / or one or more user devices 106. Figure 1 The example in FIG. 1 is a plurality of user devices.

[0026] The cloud service end 102 may be any suitable device for storing information, data, programs and / or any other suitable type of content, including but not limited to a distributed storage system device, a server cluster, a computing cloud service end cluster, etc. In some embodiments, the cloud service end 102 includes a model server 1022, a service device 1024, and a card server 1026. Among them, a generative basic model is deployed on the model server 1022, and the model server 1022 can receive input data to be processed sent by a user device, generate and process the input data using the generative basic model to obtain output data, and send the output data to the card server 1026. A variety of services are deployed on the service device 1024, and the service device 1024 can receive input data to be processed sent by a user device, call a service according to the input data to generate output data, and send the output data to the card server 1026. The card server 1026 is used to generate, store and manage the information of the message card. The card server 1026 receives the output data sent by the model server 1022 or the service device 1024, and generates the information of the message card according to the output data. The card server 1026 also communicates with the user device 106, so that the user device 106 can obtain the information of the message card from the card server 1026, so that the user device 106 displays the message card. In some embodiments, the card server 1026 can receive a request message sent by the user device 106, and send the information of the message card to the user device 106 according to the request message. The information of the message card includes status information, and the status information of the message card is used to indicate whether the message card can be edited. The user device 106 displays the message card to the user according to the status information of the message card.

[0027] The communication network 104 can be any suitable combination of one or more wired and / or wireless networks. For example, the communication network 104 can include any one or more of the following: the Internet, an intranet, a wide area network (WAN), a local area network (LAN), a wireless network, a digital subscriber line (DSL) network, a frame relay network, an asynchronous transfer mode (ATM) network, a virtual private network (VPN) and / or any other suitable communication network. The user device 106 can be connected to the communication network 104 via one or more communication links (e.g., communication link 112), and the communication network 104 can be linked to the cloud service end 102 via one or more communication links (e.g., communication link 114). The communication link can be any communication link suitable for transmitting data between the user device 106 and the cloud service end 102, such as a network link, a dial-up link, a wireless link, a hard-wired link, any other suitable communication link, or any suitable combination of such links.

[0028] The user device 106 may include any one or more user devices suitable for interacting with a user. In some embodiments, the user device 106 may include any suitable type of device. For example, in some embodiments, the user device 106 may include a mobile device, a tablet computer, a laptop computer, a desktop computer, a wearable computer, a game console, a media player, a vehicle entertainment system, and / or any other suitable type of user device. In some embodiments, the user device 106 includes a local database, which is used to store information about message cards obtained from the card server 1026. In some embodiments, the user device 106 may receive a first operation of the user, and in response to the first operation, obtain information about the message card from the local database and / or the card server, and display the message card in the intelligent dialogue interface according to the status information in the information of the message card, wherein the intelligent dialogue interface is used to display information related to the use of the generative base model, and the status information is used to indicate whether the message card can be edited.

[0029] Based on the above system, an embodiment of the present application provides a message interaction method, which is described below through multiple embodiments.

[0030] In order to facilitate the understanding of this application, the relevant concepts are first explained.

[0031] 1. Generative basic model and intelligent dialogue interface

[0032] The generative basic model is an artificial intelligence model that generates various output data based on massive training data sets, neural networks and deep learning architectures, based on user input data, such as the LLM model. The LLM model can generate natural language text, realize text semantic understanding, text summarization, text classification, language translation, knowledge question and answer, intent recognition, query rewriting and other functions, and can handle a variety of natural language tasks.

[0033] In some embodiments of the present application, a generative basic model is deployed on a model server, and an APP is installed on a user device, and the APP has an intelligent human-computer dialogue function. The user device runs the APP. If the user uses the intelligent human-computer dialogue function, the user device displays an intelligent dialogue interface in the APP. The intelligent dialogue interface is used to display information related to the use of the generative basic model. The relevant information includes but is not limited to: input data processed by the generative basic model, output data corresponding to the input data, and other data related to the processing process. For example, the user device can display a message card in the intelligent dialogue interface, and the message card is used to display the output data obtained by processing the input data through the generative basic model.

[0034] The embodiments of the present application do not limit the functions implemented by the APP and the layout of the intelligent dialogue interface. For example, the APP can implement cloud storage.

[0035] 2. Message card, message card information, status information, time indication information

[0036] Message cards are a form of information display that is executed by sending or receiving card interfaces. The card interface is also represented as interface Card, which is a message model. The message body stores the information of the message card. Message cards contain rich information and data, not only text information, but also pictures, videos and other media forms. They can be used in single chat or group chat scenarios. Message cards have higher interactivity with users and better information display effects.

[0037] In this application, the user device exchanges the information of the message card with the card server. The card server is used to generate, store and manage the information of the message card. The user device obtains the information of the message card from the card server and stores it in the local database. The user device can display the message card obtained from the local database or from the card server in the intelligent dialogue interface.

[0038] The information of a message card includes: the identifier of the message card, the identifier of the message card template, the message content and the status information. The identifier of the message card is used to uniquely distinguish different message cards. The identifier of the message card template is used to indicate the template type used by the message card. Multiple message card templates can be predefined. The message content is usually not empty, but of course, it can also be empty.

[0039] Among them, the status information of the message card is used to indicate whether the message card can be edited by the user when the user device displays the message card. The user device displays the message card in the intelligent dialogue interface according to the status information of the message card. When the message card can be edited, the user can further input or modify the input data to be processed by editing the message card. In the related art, the content of the IM message or message card does not support changes after it is sent, that is, it does not support incremental update information, resulting in the user having to wait for the LLM model to complete the output answer based on the unchangeable data sent by the user before the incremental information can be fed back, and the user has to wait for a long time. In the present application, the message card can be edited by the user. In the process of realizing the intelligent human-computer dialogue function using the generative basic model, the user can incrementally update the information by editing the message card. Then, the generative basic model can obtain the updated input data in a timely manner, and obtain the output data corresponding to the updated input data in a timely manner, which shortens the time for the user to obtain accurate output data, shortens the user's waiting time, and improves the user's experience.

[0040] In some embodiments, the status information includes download status, normal status, completed status, and failed status. When the message card is in the normal status, the editing operation can be performed. When the message card is in the download status, completed status, or failed status, the editing operation cannot be performed. The local database of the user device and the card server can store the information of the message card in the normal status and the completed status. For details, please refer to Figure 5A to Figure 5C Description of the illustrated embodiment.

[0041] In some embodiments, the information of the message card also includes time indication information, and the time indication information is used to determine whether the information of the message card is the latest information. Optionally, the time indication information can be the generation time of the information of the message card. For message cards with the same identification, the closer the generation time is, the more recent the information is. Optionally, the time indication information can be a version number. For message cards with the same identification, the larger the version number is, the more recent the information is. The version number can be set using preset rules. For example, the version number includes numbers, and version 2.0 is higher than version 1.0. For another example, the version number includes letters a to z. In alphabetical order, version b is higher than version a, and version c is higher than version b.

[0042] In some embodiments, the information of the message card also includes other information, such as parameters carried when the user equipment sends a request message to the card server, which is not limited in this embodiment. The request message is used by the user equipment to obtain the information of the message card from the card server.

[0043] 3. IM messages

[0044] IM messages refer to information sent via instant messaging. In IM communication scenarios, the two parties can establish a persistent connection to achieve continuous communication without having to establish a connection every time they communicate.

[0045] In this application, continuous communication between the user device and the card server can be achieved based on the IM channel. For details, see Figure 4 Description of the illustrated embodiment.

[0046] Figure 2 A flowchart of a message interaction method according to an embodiment of the present application, the execution subject is Figure 1 The user equipment shown. This embodiment describes the solution of the embodiment of the present application from the perspective of the user equipment obtaining the message card. Figure 2 As shown, the message interaction method provided in this embodiment includes:

[0047] Step S202: The user equipment receives a first operation from the user.

[0048] The first operation is related to using the generative base model deployed on the model server.

[0049] In one feasible implementation, the first operation is used to trigger the display of an intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model. Subsequently, the user can operate in the intelligent dialogue interface to input input data to be processed, so as to use the generative basic model to obtain output data corresponding to the input data.

[0050] In this implementation, when the user device displays the intelligent dialogue interface, a historical message card can be displayed in the intelligent dialogue interface so that the user can obtain historical data and more accurately obtain output data using the generative basic model.

[0051] For example, one application scenario is: the user starts the intelligent human-computer dialogue function last time, the user device displays the intelligent dialogue interface, the user enters question 1, and the user device displays the answer to question 1 in the intelligent dialogue interface. The user closes the intelligent dialogue interface. Afterwards, the user wants to see the answer to question 1 again. The user performs a first operation, so that the user device displays the intelligent dialogue interface. At this time, historical data can be displayed in the intelligent dialogue interface, that is, the answer to question 1 is displayed.

[0052] For example, another application scenario is: the user last used an account to log in to user device 1, started the intelligent human-computer dialogue function, user device 1 displayed the intelligent dialogue interface, the user input question 1, and user device 1 displayed the answer to question 1 in the intelligent dialogue interface. Afterwards, the user uses the same account to log in to user device 2. Specifically, the user performs a first operation on user device 2, so that user device 2 displays the intelligent dialogue interface. At this time, the intelligent dialogue interface displayed by user device 2 can display historical data, that is, display question 1 and the answer to question 1.

[0053] In one feasible implementation, the user device currently displays an intelligent dialogue interface. The first operation is performed by the user in the intelligent dialogue interface, and is used for the user to input first input data to be processed, and the first input data is used to generate and process using the generative basic model to obtain output data corresponding to the first input data. For example, the first operation is the user inputting a knowledge question in the intelligent dialogue interface. For another example, in a cloud storage scenario, the first operation is the user inputting a natural language sentence in the intelligent dialogue interface to obtain photos stored in the cloud.

[0054] It should be noted that in this embodiment, the message card displayed by the user device in the intelligent dialogue interface can be edited by the user to input the input data to be processed. In order to distinguish the input data input by the user in different scenarios, the data input by the user not by editing the message card is called the first input data, for example, the question directly input by the user in the intelligent dialogue interface. The input data input by the user by editing the message card is called the second input data.

[0055] Step S204: In response to the first operation, the user device obtains information of the message card from the local database and / or the card server, and displays the message card in the intelligent dialogue interface according to the status information in the information of the message card.

[0056] Among them, the intelligent dialogue interface is used to display information related to the use of the generative basic model, and the status information is used to indicate whether the message card can be edited.

[0057] Specifically, the card server is used to generate, store and manage the information of the message card. The user equipment can obtain the information of the message card from the card server and store the obtained valid message card information in the local database.

[0058] By setting a local database on the user device to store the information of the message card, the user device can obtain the information of the message card from the local database in response to the first operation, which shortens the information acquisition time, reduces unnecessary updates and renderings, and speeds up the display of the message card. The user device can also obtain the information of the message card from the card server in response to the first operation, and can obtain the latest valid information, which improves the real-time and effectiveness of the message card display. Moreover, the status information of the message card indicates whether the message card can be edited by the user. The message card is displayed in the intelligent dialogue interface according to the status information of the message card, which is convenient for the user to further edit the message card and further input the input data to be processed, thereby updating the input data processed by the generative basic model and obtaining more accurate output data.

[0059] It can be seen that the message interaction method provided in this embodiment is suitable for scenarios using a generative basic model. The card server and the local database on the user device store information about message cards generated in the process of using the generative basic model. The information of the message card includes status information, which indicates whether the message card can be edited. The user device receives the user's first operation, obtains the information of the message card from the local database and / or the card server, and displays the message card that can be edited by the user or cannot be edited by the user in the intelligent dialogue interface according to the status information of the message card. When the message card can be edited by the user, the user can modify or increment the input data in time, thereby updating the input data processed by the generative basic model and obtaining more accurate output data, thereby improving the accuracy of the output data obtained using the generative basic model, shortening the time for the user to wait for accurate output data, and improving the user experience.

[0060] Optionally, the status information includes download status, normal status, completion status and failure status, which can be seen in the above description and will not be repeated here.

[0061] Optionally, the message interaction method provided in this embodiment further includes:

[0062] Step S206: If the user equipment obtains the information of the message card from the card server, the user equipment updates the information of the message card obtained from the card server to the local database.

[0063] By updating the information of the message cards stored in the local database, subsequent user devices can obtain the latest valid message card information from the local database, which shortens the information acquisition time, reduces unnecessary updates and renderings, and speeds up the display of message cards.

[0064] Figure 3 This is a flow chart of another message interaction method according to an embodiment of the present application, and the execution subject includes Figure 1The user device, card server, model server and service device shown in FIG. This embodiment describes the generation and interaction process of message cards. Figure 3 As shown, the message interaction method provided in this embodiment includes:

[0065] Step S302: The user device sends first input data to be processed to the model server or service device.

[0066] The first input data refers to the description in the above step S202 and will not be described again here.

[0067] A generative basic model is deployed on the model server, and a variety of services are deployed on the service device. If the first input data is related to the processing of the generative basic model, the user device sends the first input data to the model server. For example, in a cloud storage scenario, the user wants to find photos, and the first input data is the natural language sentence "I want to find photos taken at the beach last November" entered by the user in the intelligent dialogue interface. If the first input data is related to the service, the user device sends the first input data to the service device. For example, the user comments on the answer to the question displayed in the intelligent dialogue interface, and the first input data is the text data entered by the user when making the comment.

[0068] Step S304: The model server or service device generates first output data according to the first input data.

[0069] Step S306: The model server or service device sends first output data to the card server. The first output data is used by the card server to generate information of a message card; the information of the message card includes status information, which is used to indicate whether the message card can be edited when the user device displays the message card in the intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model.

[0070] Step S308: The card server generates information of the message card according to the first output data. The information of the message card includes status information, which is used to indicate whether the message card can be edited when the user device displays the message card in the intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model.

[0071] Optionally, the status information includes download status, normal status, completion status and failure status, which can be seen in the above description and will not be repeated here.

[0072] Step S310: The card server sends information of the message card to the user equipment.

[0073] In a feasible implementation, after the card server generates the information of the message card, it sends the information of the message card to the user device, wherein the status information of the message card is a normal status or a completed status. In this implementation, the card server actively sends the information of the message card to the user device.

[0074] In a feasible implementation, the card server receives a request message sent by the user device, the request message is used for the user device to obtain the information of the message card from the card server, and the card server sends a response message to the user device according to the request message. In this implementation, the user device obtains the information of the message card from the card server by sending a request message.

[0075] Optionally, in a feasible implementation, the card server sends a response message to the user device according to the request message, including: if the card server does not find the information of the message card, sending a first response message to the user device, the first response message is used to indicate that the acquisition of the message card from the card server fails.

[0076] Optionally, in a feasible implementation, the card server sends a response message to the user device according to the request message, including: if the card server finds the information of the message card, a second response message is sent to the user device, and the second response message includes the information of the message card. The status information of the message card is a normal state or a completed state.

[0077] Step S312: The user device displays the message card in the intelligent dialogue interface according to the status information of the message card.

[0078] Step S314: The user device updates the information of the message card to the local database.

[0079] In the message interaction method provided in this embodiment, the user device obtains the first input data to be processed input by the user, and the model server or service device obtains the first output data according to the first input data. The card server generates the information of the message card according to the first output data. The card server is used to generate, store and manage the information of the message card. Through the interaction between the card server and the user device, the user device displays the first output data in the form of a message card in the intelligent dialogue interface. Among them, the message card has different status information, which is used to indicate whether the message card can be edited by the user. When the message card can be edited by the user, the user can modify or update the input data in time so that the subsequent generative basic model can update the input data and obtain more accurate output data in time, thereby improving the accuracy of the output data obtained using the generative basic model, shortening the time for the user to wait for accurate output data, and improving the user experience.

[0080] In one possible implementation, see Figure 4 In step S304, the model server or service device generates the first output data according to the first input data, including: the model server or service device generates the first output data according to the first input data in multiple times, that is, generates part of the first output data each time. Correspondingly, in step S308, the card server generates the information of the message card according to the first output data, including: the card server generates the information of the message card according to part of the first output data.

[0081] In this implementation, since the model server or service device does not output all the first output data at one time, by generating partial content of the first output data multiple times, partial content of the first output data can be sent to the user device in real time, thereby achieving a streaming display effect of the output data, shortening the time for users to obtain output data, and improving the user's usage experience.

[0082] In one possible implementation, Figure 4 As shown, the message interaction method also includes:

[0083] Step 402: The user device subscribes to messages from the IM channel.

[0084] Correspondingly, in step S310, the card server sends the information of the message card to the user equipment, including: the card server sends the information of the message card to the user equipment through the IM channel.

[0085] Specifically, to achieve the streaming display effect of output data, the user device needs to maintain a connection with the model server / service device, and the user device needs to maintain a connection with the card server. By subscribing messages to the IM channel through the user device, the communication between the user device and the model server / service device, and the user device and the card server is based on the long connection mechanism in IM communication, and continuous communication can be achieved. By multiplexing IM communication to achieve streaming display of output data, development and maintenance costs are saved.

[0086] Optional, such as Figure 3 As shown, the message interaction method provided in this embodiment also includes:

[0087] Step S316: If the status information of the message card is a normal status, the user equipment receives a second operation performed by the user on the message card.

[0088] Step S318: The user device obtains second input data to be processed input by the user in response to the second operation.

[0089] The second input data is data input by the user when performing a second operation on the message card in the intelligent dialogue interface displayed by the user device.

[0090] Since message cards can be edited by users, in the process of using the generative basic model to realize the intelligent human-computer dialogue function, users can incrementally update information by editing message cards, that is, input second input data. Then, the generative basic model can obtain the updated second input data in a timely manner, and obtain the second output data corresponding to the second input data in a timely manner, which shortens the time for users to obtain accurate output data, shortens the user's waiting time, and improves the user's usage experience.

[0091] Step S320: The user device sends second input data to the model server or service device.

[0092] If the second input data is related to the processing of the generative basic model, the user device sends the second input data to the model server. If the second input data is related to the service, the user device sends the second input data to the service device. For example, if the user performs a like service operation on a message card displayed in the intelligent dialogue interface, the second input data is data related to the like service operation.

[0093] Step S322: The model server or service device generates second output data according to the second input data.

[0094] Step S324: The model server or service device sends the second output data to the card server.

[0095] Step S326: The card server generates information of a message card corresponding to the second input data according to the second output data.

[0096] Step S328: The card server sends information of the message card corresponding to the second output data to the user equipment.

[0097] Step S330: The user device displays the message card corresponding to the second input data in the intelligent dialogue interface according to the status information of the message card corresponding to the second input data.

[0098] Step S332: The user equipment updates the information of the message card corresponding to the second input data to the local database.

[0099] Figure 5A to Figure 5C A flow chart of a set of steps of a message interaction method according to an embodiment of the present application, wherein the execution subject includes Figure 1 The user device and the card server shown. This embodiment describes the solution of the embodiment of the present application from the perspective of the user device obtaining the message card, and especially describes the above step S204. Figure 5A It shows a scenario where the information of a message card fails to be obtained from a local database, but the information of a message card is successfully obtained from a card server; Figure 5BIt shows a scenario where the information of the message card is successfully obtained from the local database and the status information of the message card is in a normal state; Figure 5C It shows a scenario in which the information of the message card is successfully obtained from the local database and the status information of the message card is in a completed state.

[0100] like Figure 5A to Figure 5C As shown, in step S204, the information of the message card is obtained from the local database and / or the card server, and the message card is displayed in the intelligent dialogue interface according to the status information in the information of the message card, including:

[0101] Step S502: The user device searches the local database to determine whether to obtain the information of the message card.

[0102] The local database on the user device can store the information of the message card obtained by the user device from the card server. In response to the user's first operation, the user device first searches the local database for information of the message card that meets the conditions. By searching the local database for the message card, the information acquisition time is shortened, unnecessary updates and renderings are reduced, and the display of the message card is accelerated.

[0103] If the information of the message card is not obtained in the local database, steps S504 to S508 are executed to continue searching from the card server.

[0104] If the information of the message card is obtained in the local database, step S522 is executed, or steps S524 to S528 are executed.

[0105] In a feasible implementation, the user device searches the local database according to the identifier of the message card to determine whether to obtain the information of the message card. This implementation is suitable for scenarios where the identifier of the message card can be obtained and a specific message card can be searched.

[0106] In another feasible implementation, the user device searches the local database to determine whether to obtain the information of the message card within the preset time period. Optionally, the preset time period is a period of time starting from the current time. This implementation does not depend on the identification of the message card and is suitable for the scenario where the user triggers the display of the intelligent dialogue interface and needs to display historical data in the intelligent dialogue interface.

[0107] Step S504: If the user equipment does not obtain the information of the message card from the local database, it determines that the status information of the message card is a downloading status.

[0108] Step S506: The user device displays a message card indicating the download status in the intelligent dialogue interface.

[0109] Although the user device has not yet obtained the information of the message card, by displaying the message card with download status on the user device, the user is prevented from waiting for feedback information for a long time without displaying it, thereby improving the interaction effect between the user device and the user.

[0110] Step S508: The user equipment sends a request message to the card server, where the request message is used to obtain the information of the message card from the card server. Correspondingly, the card server receives the request message sent by the user equipment.

[0111] It is understandable that the card server continues to search for the information of the message card according to the request message, and may or may not find it. If the card server does not find the information of the message card, steps S510 to S514 are executed; if the card server finds the information of the message card, steps S516 to S520 are executed.

[0112] Step S510: If the card server does not find the information of the message card, it sends a first response message to the user equipment, where the first response message is used to indicate that the acquisition of the message card from the card server fails.

[0113] Step S512: The user equipment determines that the status information of the message card is a failure status.

[0114] Step S514: The user device displays a message card of a failed status in the intelligent dialogue interface.

[0115] By displaying a message card of a failure status on the user device, the user is promptly informed of the result that the output data cannot be obtained, thereby improving the interaction effect between the user device and the user.

[0116] Step S516: If the card server finds the information of the message card, it sends a second response message to the user equipment, wherein the second response message includes the information of the message card, and the status information of the message card is a normal status or a completed status.

[0117] Step S518: The user device displays a message card in a normal state or a completed state in the intelligent dialogue interface.

[0118] Step S520: The user equipment stores the information of the message card in the normal state or the completed state in the local database.

[0119] By updating the valid message card information obtained from the card server to the local database, subsequent user devices can obtain the latest valid message card information from the local database, shortening the information acquisition time, reducing unnecessary updates and rendering, and speeding up the display of message cards.

[0120] Step S522: If the user device obtains the information of the message card from the local database, and the status information of the message card is a completed status, the message card in the completed status is displayed in the intelligent dialogue interface.

[0121] In this scenario, since the message card obtained from the local database is in a completed state, that is, the user cannot edit the message card, it is considered that the conversation process corresponding to the message card has ended, and the user device can directly display the message card in a completed state.

[0122] Step S524: If the user equipment obtains the information of the message card from the local database and the status information of the message card is normal, a request message is sent to the card server.

[0123] In this scenario, since the message card obtained from the local database is in a normal state, that is, the user can edit the message card, it is considered that the conversation process corresponding to the message card has not ended. However, the message card stored in the local database is not necessarily the latest message card in the conversation, so a request message is sent to the card server to determine whether there is the latest message card on the card server.

[0124] The information of the message card also includes time indication information, and the time indication information is used to determine whether the information of the message card is the latest information.

[0125] Step S526: The card server sends a second response message to the user equipment. The second response message includes information of the message card. The status information of the message card is a normal status or a completed status.

[0126] Step S528: The user device displays the latest message card in the intelligent dialogue interface according to the time indication information of the message card obtained from the local database and the time indication information of the message card received from the card server.

[0127] The time indication information is as described above and will not be repeated here.

[0128] For example, the time indication information is a version number, and the version number includes numbers. Assume that the version number of the message card obtained from the local database is 1.0, and the version number of the message card received from the card server is 2.0, indicating that the message card received from the card server is the latest message card, and the message card received from the card server is displayed in the intelligent dialogue interface.

[0129] Step S530: If the message card obtained from the local database is not the latest message card, the user equipment stores the information of the latest message card obtained from the card server in the local database.

[0130] By updating the latest and valid message card information obtained from the card server to the local database, subsequent user devices can obtain the latest and valid message card information from the local database, shortening the information acquisition time, reducing unnecessary updates and rendering, and speeding up the display of message cards.

[0131] In one possible implementation, Figure 5A As shown, the message interaction method also includes:

[0132] Step S532: The user device displays a retry function control in the intelligent dialogue interface.

[0133] By displaying the retry function control, when the user device fails to obtain the information of the message card from the local database and the card server, the user is provided with an opportunity to try again, thereby improving the interaction effect.

[0134] In a feasible implementation, the message card of the failed state includes a retry function control, and when the user device displays the message card of the failed state in the intelligent dialogue interface, the retry function control is also displayed.

[0135] In a feasible implementation, the retry function control is independent of the message card in the failed state, and the user device displays the message card in the failed state in the intelligent dialogue interface, which is two steps of the user device displaying the retry function control in the intelligent dialogue interface.

[0136] Step S534: The user equipment receives a retry operation performed by the user on the retry function control.

[0137] Step S536: In response to the retry operation, the user equipment sends a request message to the card server.

[0138] Thereafter, the steps related to the step after the user equipment sends the request message to the card server in the above steps of this embodiment may be performed.

[0139] The following, combined Figure 6 Taking the cloud storage scenario as an example, the message interaction method provided by this application is exemplified, mainly showing Figure 4 The streaming display effect is shown.

[0140] like Figure 6As shown, a generative basic model is deployed on the model server, and an APP with cloud storage function is installed on the user device. The user device currently displays an intelligent dialogue interface 601. Assume that the user inputs in the intelligent dialogue interface 601: the story of the poet Li Bai (i.e., the input data to be processed), and hopes to obtain the story of the poet Li Bai recorded in the document stored in the cloud. The user device sends the input data to the model server. The model server uses the generative basic model to generate and process the input data to obtain part of the output data. The model server sends part of the output data to the card server. The card server generates information of the message card based on part of the output data, including story 1 and story 2, both of which are text information, and the status information of the message card is completed. The card server sends the information of the message card to the user device. The user device displays a message card 602 in the intelligent dialogue interface based on the status information of the message card, including story 1 and story 2. Afterwards, the model server uses the generative basic model to generate and process the input data, and continues to obtain part of the output data. The card server generates information of the message card based on part of the output data, including story 3 and story 4, both of which are text information, and the status information of the message card is completed. The card server sends the information of the message card to the user device. The user device displays the message card 603 in the intelligent dialogue interface according to the status information of the message card, including story 3 and story 4, achieving a streaming display effect of output data, avoiding the user from waiting for a long time for the complete output data, and improving the user's experience.

[0141] The following, combined Figure 7 Taking the cloud storage scenario as an example, the message interaction method provided by this application is exemplified, mainly showing the technical effect of the user device displaying editable message cards and obtaining correct output data in a timely manner.

[0142] like Figure 7As shown, the user device currently displays the intelligent dialogue interface 701. Assume that the user inputs in the intelligent dialogue interface 701: I took a picture on a snowy day (i.e., the input data to be processed), and hopes to find the target picture in the pictures stored in the cloud. The user device searches for the information of the message card in the local database and determines that the information of the message card has not been obtained. The user device determines that the status information of the message card is the download status, and displays the message card 702 of the download status in the intelligent dialogue interface 701. Although the user device has not obtained the information of the message card temporarily, by displaying the message card 702 of the download status in the intelligent dialogue interface, the interaction effect with the user is improved, and the user's use experience is improved. The user device sends the input data to the model server. The model server generates and processes the input data using the generative basic model to obtain the output data, and the user needs to further supplement the information. The model server sends the output data to the card server. The card server generates the information of the message card according to the output data, and the status information of the message card is the normal status. The card server sends the information of the message card to the user device. The user device displays the message card 703 of the normal status in the intelligent dialogue interface. The message card 703 can be edited by the user to increase the input data. In the message card 703, the text prompt information "In order to know you better, you can complete the information. Which one of the following is you?" is included, including pictures that the user needs to select (picture of person 1, picture of person 2 and picture of person 3), and also includes controls "Edit character" and "Confirm". Assuming that the user selects the picture of person 2 and clicks the control "Confirm", the user device obtains the second input data entered by the user for editing the message card 703 and sends it to the model server. The model server uses the generative basic model to generate and process the second input data to obtain output data. The model server sends the output data to the card server. The card server generates the information of the message card based on the output data, including photo 1 and photo 2, and the status information of the message card is the completed status. The card server sends the information of the message card to the user device. The user device displays the completed message card 704 in the intelligent dialogue interface, which includes photo 1 and photo 2.

[0143] It can be seen that in the scenario using the generative basic model, the card server can generate information about message cards that can be edited by the user or not, and whether the message card can be edited is indicated by the status information. The user device obtains the information of the message card from the local database and / or the card server, and displays the message card that can be edited by the user or not in the intelligent dialogue interface according to the status information of the message card. When the message card can be edited by the user, the user can modify or increment the input data in time, thereby updating the input data processed by the generative basic model and obtaining more accurate output data, which improves the accuracy of the output data obtained using the generative basic model, shortens the time the user waits for accurate output data, and improves the user experience.

[0144] The following, combined Figure 8 Taking the cloud storage scenario as an example, the message interaction method provided by the present application is exemplified, mainly showing the scenario where the user device fails to obtain the information of the message card from the local database and the card server.

[0145] like Figure 8 As shown, the user device currently displays the intelligent dialogue interface 801. Assume that the user inputs in the intelligent dialogue interface 801: the picture I took on a snowy day (i.e., the input data to be processed), and hopes to find the target picture in the pictures stored in the cloud. The user device searches for the information of the message card in the local database and determines that the information of the message card has not been obtained. The user device determines that the status information of the message card is the download status, and displays the message card 802 in the download status in the intelligent dialogue interface 801. The user device sends a request message to the card server, hoping to obtain the information of the message card from the card server. Assuming that the card server does not find the information of the message card, it sends a first response message to the user device, and the first response message is used to indicate that the acquisition of the message card from the card server failed. The user device receives the first response message, determines that the status information of the message card is the failure status, and displays the message card 803 in the failure status in the intelligent dialogue interface. In the message card 803 in the failure status, the text prompt information "Sorry, I was absent. Please try again later~" is included, and the control "Retry" is also included, which provides the user with an opportunity to try again, thereby improving the interaction effect.

[0146] Reference Fig. 9 , shows a schematic diagram of the structure of an electronic device according to an embodiment of the present application. The specific embodiment of the present application does not limit the specific implementation of the electronic device.

[0147] like Fig. 9As shown, the electronic device may include: a processor (processor) 502, a communication interface (Communications Interface) 504, a memory (memory) 506, and a communication bus 508.

[0148] in:

[0149] The processor 502 , the communication interface 504 , and the memory 506 communicate with each other via a communication bus 508 .

[0150] The communication interface 504 is used to communicate with other electronic devices or servers.

[0151] The processor 502 is used to execute the program 510, and specifically can execute the relevant steps performed by the user equipment, model server or service equipment in the above-mentioned message interaction method embodiment.

[0152] Specifically, the program 510 may include program codes, which include computer operation instructions.

[0153] The processor 502 may be a CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.

[0154] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0155] The program 510 may include multiple computer instructions. Specifically, the program 510 may enable the processor 502 to execute operations corresponding to the message interaction method described in any of the aforementioned method embodiments through the multiple computer instructions.

[0156] The specific implementation of each step in program 510 can refer to the corresponding description of the corresponding steps and units in the above method embodiment, and has corresponding beneficial effects, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above method embodiment, which will not be repeated here.

[0157] The present application also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the method described in any of the above-mentioned multiple method embodiments is implemented. The computer storage medium includes but is not limited to: a compact disk (CD-ROM), a random access memory (RAM), a floppy disk, a hard disk or a magneto-optical disk, etc.

[0158] An embodiment of the present application also provides a computer program product, including computer instructions, which instruct a computing device to execute operations corresponding to any message interaction method in the above-mentioned multiple method embodiments.

[0159] In addition, it should be noted that the user-related information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to sample data used to train the model, data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0160] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.

[0161] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor or programmable or dedicated hardware (such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA)). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (for example, a random access memory (RAM), a read-only memory (ROM), a flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the method described herein is implemented. In addition, when a general purpose computer accesses code for implementing the methods shown herein, the execution of the code transforms the general purpose computer into a special purpose computer for executing the methods shown herein.

[0162] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.

[0163] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.

[0164] The embodiment of the present application also provides A1. a message interaction method, comprising:

[0165] Receiving a first operation from a user;

[0166] In response to the first operation, information of the message card is obtained from a local database and / or a card server, and the message card is displayed in an intelligent dialogue interface based on status information in the information of the message card; wherein the intelligent dialogue interface is used to display information related to the use of a generative basic model, and the status information is used to indicate whether the message card can be edited.

[0167] A2. The method described in A1, wherein the status information includes download status, normal status, completion status and failure status; the message card can be edited when it is in the normal status, and cannot be edited when it is in the download status, the completion status or the failure status; the local database and the card server can store information of message cards in normal status and completion status.

[0168] A3. The method according to A2, wherein the acquiring the information of the message card from the local database and / or the card server, and displaying the message card in the intelligent dialogue interface according to the status information in the information of the message card, comprises:

[0169] Searching in the local database to determine whether to obtain the information of the message card;

[0170] If the information of the message card is not obtained from the local database, determining that the status information of the message card is the download status;

[0171] Displaying the message card of the download status in the intelligent dialogue interface;

[0172] A request message is sent to the card server, where the request message is used to obtain information of the message card from the card server.

[0173] A4. The method according to A3, wherein the obtaining of information of the message card from the local database and / or the card server, and displaying the message card in the intelligent dialogue interface according to the status information in the information of the message card, further comprises:

[0174] receiving a first response message sent by the card server, wherein the first response message is used to indicate that obtaining a message card from the card server fails;

[0175] Determine that the status information of the message card is the failure status;

[0176] The message card of the failure status is displayed in the intelligent dialogue interface.

[0177] A5. The method according to A4, wherein the method further comprises:

[0178] Displaying a retry function control in the intelligent dialogue interface;

[0179] Receiving a retry operation performed by the user on the retry function control;

[0180] In response to the retry operation, the request message is sent to the card server.

[0181] A6. The method according to any one of A3-A5, wherein the acquiring the information of the message card from the local database and / or the card server, and displaying the message card in the intelligent dialogue interface according to the status information in the information of the message card, further comprises:

[0182] receiving a second response message sent by the card server, wherein the second response message includes information of the message card; wherein the status information of the message card is the normal status or the completed status;

[0183] The message card in the normal state or the completed state is displayed in the intelligent dialogue interface.

[0184] A7. The method according to A3, wherein the acquiring of information of the message card from the local database and / or the card server, and displaying the message card in the intelligent dialogue interface according to the status information in the information of the message card, further comprises:

[0185] If the information of the message card is obtained from the local database, and the status information of the message card is the completed status, the message card in the completed status is displayed in the intelligent dialogue interface.

[0186] A8. The method according to A3, wherein the information of the message card further includes time indication information, and the time indication information is used to determine whether the information of the message card is the latest information;

[0187] The acquiring information of the message card from the local database and / or the card server, and displaying the message card in the intelligent dialogue interface according to the status information in the information of the message card, further comprises:

[0188] If the information of the message card is obtained from the local database and the status information of the message card is the normal status, sending the request message to the card server;

[0189] receiving a second response message sent by the card server, wherein the second response message includes information of the message card; wherein the status information of the message card is the normal status or the completed status;

[0190] The latest message card is displayed in the intelligent dialogue interface according to the time indication information of the message card obtained from the local database and the time indication information of the message card received from the card server.

[0191] A9. The method according to A2, wherein the acquiring the information of the message card from the local database and / or the card server, and displaying the message card in the intelligent dialogue interface according to the status information in the information of the message card, comprises:

[0192] receiving information of the message card sent by the card server; wherein the status information of the message card is the normal status or the completed status;

[0193] The message card in the normal state or the completed state is displayed in the intelligent dialogue interface.

[0194] A10. The method according to A9, wherein the method further comprises:

[0195] Subscribe to messages from the instant messaging IM channel;

[0196] The receiving the information of the message card sent by the card server includes:

[0197] The information of the message card sent by the card server is received through the IM channel.

[0198] A11. The method according to any one of A1-A6 and A9-A10, wherein the receiving the first operation of the user comprises:

[0199] Displaying the intelligent dialogue interface;

[0200] Receiving the first operation of the user in the intelligent dialogue interface; wherein the first operation is used by the user to input first input data to be processed, and the first input data is used to perform generation processing using the generative basic model to obtain output data corresponding to the first input data;

[0201] The method further comprises:

[0202] The first input data is sent to a model server, wherein the generative basic model is deployed on the model server.

[0203] A12. A method according to any one of A1-A8, wherein the first operation is used to trigger display of the intelligent dialogue interface.

[0204] A13. The method according to any one of A1-A12, wherein the method further comprises:

[0205] If the information of the message card is obtained from the card server, the information of the message card obtained from the card server is updated to the local database.

[0206] A14. The method according to any one of A2-A12, wherein the method further comprises:

[0207] If the status information of the message card is the normal status, receiving a second operation performed by the user on the message card;

[0208] In response to the second operation, obtaining second input data to be processed input by the user;

[0209] Sending the second input data to a model server or a service device; wherein the generative basic model is deployed on the model server, and a plurality of services are deployed on the service device;

[0210] receiving information of a message card corresponding to the second input data sent by the card server;

[0211] displaying a message card corresponding to the second input data in the intelligent dialogue interface according to the state information of the message card corresponding to the second input data;

[0212] The information of the message card corresponding to the second input data is updated in the local database.

[0213] The embodiment of the present application also provides B15. A message interaction method, comprising:

[0214] Receiving first output data sent by a model server or a service device; wherein a generative basic model is deployed on the model server, and a plurality of services are deployed on the service device;

[0215] Generate information of a message card according to the first output data; the information of the message card includes status information, the status information is used to indicate whether the message card can be edited when the user device displays the message card in an intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model;

[0216] Sending information of the message card to the user equipment.

[0217] B16. The method according to B15, wherein the status information includes download status, normal status, completion status and failure status; the message card can be edited when it is in the normal status, and cannot be edited when it is in the download status, the completion status or the failure status; the card server can store information of message cards in normal status and completion status.

[0218] B17. The method according to B16, wherein

[0219] Before sending the information of the message card to the user equipment, the method includes:

[0220] receiving a request message sent by the user equipment; the request message is used by the user equipment to obtain the information of the message card from the card server;

[0221] The sending the information of the message card to the user equipment includes:

[0222] If the information of the message card is found, a second response message is sent to the user equipment; the second response message includes the information of the message card; wherein the status information of the message card is the normal status or the completed status.

[0223] B18. The method according to B17, wherein the method further comprises:

[0224] If the information of the message card is not found, a first response message is sent to the user equipment; the first response message is used to indicate that the acquisition of the message card from the card server fails.

[0225] B19. The method according to any one of B15-B18, wherein the sending the information of the message card to the user equipment comprises:

[0226] The information of the message card is sent to the user device through an instant messaging IM channel.

[0227] B20. The method according to any one of B16-B18, wherein the status information of the message card is the normal status, and the method further comprises:

[0228] receiving second output data sent by the model server or the service device; the second output data is generated by the model server or the service device according to second input data, and the second input data is data input by the user when operating the message card in the intelligent dialogue interface displayed by the user device;

[0229] Generate information of a message card corresponding to the second output data according to the second output data;

[0230] Sending information of a message card corresponding to the second output data to the user equipment.

[0231] B21. A method according to any one of B16-B18, wherein the information of the message card also includes time indication information, and the time indication information is used to determine whether the information of the message card is the latest information.

[0232] The embodiment of the present application also provides C22. A message interaction method, applied to a model server or a service device, wherein a generative basic model is deployed on the model server, and a plurality of services are deployed on the service device; the method comprises:

[0233] receiving input data to be processed sent by a user device;

[0234] generating output data according to the input data;

[0235] The output data is sent to a card server; wherein the output data is used by the card server to generate information of a message card; the information of the message card includes status information, and the status information is used to indicate whether the message card can be edited when the user device displays the message card in an intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model.

[0236] C23. The method according to C22, wherein the status information includes download status, normal status, completion status and failure status; the message card can be edited when it is in the normal status, and cannot be edited when it is in the download status, the completion status or the failure status; the card server can store information of message cards in normal status and completion status.

[0237] C24. A method according to C22 or C23, wherein the information of the message card also includes time indication information, and the time indication information is used to determine whether the information of the message card is the latest information.

Claims

1. A message interaction method, comprising: Receiving a first operation from a user; In response to the first operation, information of the message card is obtained from a local database and / or a card server, and the message card is displayed in an intelligent dialogue interface based on status information in the information of the message card; wherein the intelligent dialogue interface is used to display information related to the use of a generative basic model, and the status information is used to indicate whether the message card can be edited.

2. The method according to claim 1, wherein: The status information includes download status, normal status, completion status and failure status; the message card can be edited when it is in the normal status, and cannot be edited when it is in the download status, the completion status or the failure status; the local database and the card server can store information of message cards in normal status and completion status.

3. The method according to claim 2, wherein: The acquiring information of the message card from the local database and / or the card server, and displaying the message card in the intelligent dialogue interface according to the status information in the information of the message card, comprises: Searching in the local database to determine whether to obtain the information of the message card; If the information of the message card is not obtained from the local database, determining that the status information of the message card is the download status; Displaying the message card of the download status in the intelligent dialogue interface; A request message is sent to the card server, where the request message is used to obtain information of the message card from the card server.

4. The method according to claim 3, wherein: The acquiring information of the message card from the local database and / or the card server, and displaying the message card in the intelligent dialogue interface according to the status information in the information of the message card, further comprises: receiving a first response message sent by the card server, wherein the first response message is used to indicate that obtaining a message card from the card server fails; Determine that the status information of the message card is the failure status; The message card of the failure status is displayed in the intelligent dialogue interface.

5. The method according to claim 4, wherein: The method further comprises: Displaying a retry function control in the intelligent dialogue interface; Receiving a retry operation performed by the user on the retry function control; In response to the retry operation, the request message is sent to the card server.

6. A message interaction method, comprising: Receiving first output data sent by a model server or a service device; wherein a generative basic model is deployed on the model server, and a plurality of services are deployed on the service device; Generate information of a message card according to the first output data; the information of the message card includes status information, the status information is used to indicate whether the message card can be edited when the user device displays the message card in an intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model; Sending information of the message card to the user equipment.

7. A message interaction method, applied to a model server or a service device, wherein a generative basic model is deployed on the model server and multiple services are deployed on the service device; the method comprises: Receiving input data to be processed sent by a user device; generating output data according to the input data; The output data is sent to a card server; wherein the output data is used by the card server to generate information of a message card; the information of the message card includes status information, and the status information is used to indicate whether the message card can be edited when the user device displays the message card in an intelligent dialogue interface, and the intelligent dialogue interface is used to display information related to the use of the generative basic model.

8. An electronic device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method according to any one of claims 1 to 7.

9. A computer storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. A computer program product, comprising computer instructions, wherein the computer instructions instruct a computing device to perform operations corresponding to the method according to any one of claims 1 to 7.