Message response method and device, computing equipment, storage medium and program product

Through the collaborative work between the target server and the multimedia server, the artificial intelligence model is used to generate response messages, which solves the problem of high and low cost of session message response in multimedia applications, and realizes automatic response and resource optimization.

CN120342720AActive Publication Date: 2025-07-18BEIJING 58 INFORMATION TTECH CO LTD

Patent Information

Application Number
CN202510551145.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-07-18
Estimated Expiration
2045-04-28

AI Technical Summary

Technical Problem

The response of session message in multimedia applications in the prior art is costly and inefficient, and the service provider needs to manually reply consumer session messages one by one, resulting in waste of resources and delays.

Method used

The target server provides account authorization prompt information to the target client, receives session authorization requests, obtains session access tokens, uses the target artificial intelligence model to generate response messages in combination with domain knowledge, and sends response messages through the multimedia server.

Benefits of technology

It realizes automatic response to session messages in multimedia applications, reducing costs, avoiding untimely or omitted responses, and improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342720A_ABST
    Figure CN120342720A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message response method and device, computing equipment, a storage medium and a program product. Wherein the target server side provides account authorization prompt information for the target client side, responds to a first session authorization request of a first media account sent by the target client side for the account authorization prompt information, and sends a second session authorization request to the multimedia server side, and the multimedia server authorizes the first media account and feeds back the session access token. Based on the session access token, obtaining a first session message sent by a second client of the second media account to a first client of the first media account, generating a first response message by adopting a target artificial intelligence model corresponding to the first media account in combination with domain knowledge, and sending the first response message to the first client of the first media account through the multimedia server, and sending the first response message as a response message of the first client to the second client. According to the technical scheme provided by the embodiment of the invention, the session message in the multimedia application is automatically answered with low cost and high efficiency.
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 computer technology, and in particular, to a message response method, apparatus, computing device, storage medium, and program product. Background Art

[0002] With the development of Internet technology, service providers (such as merchants providing services) that provide services to consumers have begun to choose to promote and sell service objects (such as service products) through the Internet.

[0003] Currently, in order to attract more consumers to purchase the service objects provided by them, service providers usually choose to publish multimedia content for promoting their service objects in various different multimedia applications. This requires service providers to constantly pay attention to the session messages sent by consumers under different media systems and reply one by one, which is costly and inefficient. Improvement is urgently needed. Summary of the Invention

[0004] The embodiments of the present application provide a message response method, apparatus, computing device, storage medium, and program product to solve the problems of high cost and low efficiency in responding to session messages in multimedia applications in the prior art.

[0005] In the embodiments of the present application, a message response method is provided, which is applied to a target server of a target application, and includes: providing account authorization prompt information to a target client corresponding to the target application, so that the target client displays the account authorization prompt information; receiving a first session authorization request for a first media account in a multimedia application sent by the target client; the first session authorization request is generated in response to a trigger operation on the account authorization prompt information; in response to the first session authorization request, sending a second session authorization request for the first media account to a multimedia server corresponding to the multimedia application, so that the multimedia server authorizes the session of the first media account and feeds back a session access token of the first media account; based on the session access token of the first media account, obtaining a first session message from the multimedia server; the first session message is a session message sent by a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account; determining a target artificial intelligence model corresponding to the first media account; using the target artificial intelligence model and combining the domain knowledge corresponding to the first media account, generating a first response message corresponding to the first session message; and sending, through the multimedia server, the first response message as a response message of the first client to the first session message to the second client.

[0006] An embodiment of the present application also provides a message response method, which is applied to a target client of a target application and includes: receiving an account authorization prompt message provided by a target server of the target application; displaying the account authorization prompt message; generating a first session authorization request for a first media account in a multimedia application in response to a trigger operation on the account authorization prompt message; sending the first session authorization request to the target server, so that the target server, in response to the first session authorization request, sends a second session authorization request for the first media account to a multimedia server corresponding to the multimedia application, and the multimedia server authorizes the session of the first media account and feeds back a session access token of the first media account; the target server is further configured to obtain a first session message from the multimedia server based on the session access token of the first media account; the first session message is a session message sent by a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account; determining a target artificial intelligence model corresponding to the first media account; using the target artificial intelligence model and combining domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message; and sending the first response message as a response message of the first client to the first session message to the second client through the multimedia server.

[0007] An embodiment of the present application further provides a message response device, which is configured in a target server of a target application and includes: a first sending module, configured to provide an account authorization prompt message to a target client corresponding to the target application, so that the target client displays the account authorization prompt message; a first receiving module, configured to receive a first session authorization request for a first media account in a multimedia application sent by the target client; the first session authorization request is generated in response to a triggering operation of the account authorization prompt message; the first sending module is further configured to, in response to the first session authorization request, send a second session authorization request for the first media account to a multimedia server corresponding to the multimedia application, so that the multimedia server performs session authorization on the first media account and feedbacks a session access token of the first media account; a message acquisition module, configured to acquire a first session message from the multimedia server based on the session access token of the first media account; the first session message is a session message sent by a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account; a model determination module, configured to determine a target artificial intelligence model corresponding to the first media account; a message response module, configured to use the target artificial intelligence model and combine domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message; a message sending module, configured to send, through the multimedia server, the first response message as a response message of the first client to the first session message to the second client.

[0008] An embodiment of the present application further provides a message response device configured in a target client of a target application, including: a second receiving module, configured to receive an account authorization prompt message provided by a target server of the target application; a display module, configured to display the account authorization prompt message; a request generation module, configured to generate a first session authorization request for a first media account in a multimedia application in response to a trigger operation on the account authorization prompt message; a second sending module, configured to send the first session authorization request to the target server, so that the target server, in response to the first session authorization request, sends a second session authorization request for the first media account to a multimedia server corresponding to the multimedia application, and the multimedia server performs session authorization on the first media account and feeds back a session access token of the first media account; the target server is further configured to obtain a first session message from the multimedia server based on the session access token of the first media account; the first session message is a session message sent by a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account; determine a target artificial intelligence model corresponding to the first media account; use the target artificial intelligence model, in combination with domain knowledge corresponding to the first media account, to generate a first response message corresponding to the first session message; and send the first response message as a response message of the first client to the first session message to the second client through the multimedia server.

[0009] An embodiment of the present application further provides a computing device, including a processing component and a storage component; the storage component stores a computer program; the computer program is used to be called and executed by the processing component to implement the above information response method.

[0010] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processing component, the above information response method is implemented.

[0011] An embodiment of the present application further provides a computer program product, including a computer program or instruction, and when the computer program or instruction is executed by a processing component, the above information response method is implemented.

[0012] In an embodiment of the present application, a target server provides an account authorization prompt message to a target client. In response to a first session authorization request for a first media account sent by the target client for the account authorization prompt message, a second session authorization request for the first media account is sent to a multimedia server, so that the multimedia server authorizes the first media account and feeds back a session access token. Based on the session access token, a first session message sent by a second client of a second media account to a first client of the first media account is obtained. A target artificial intelligence model corresponding to the first media account is used to generate a first response message in combination with domain knowledge. Through the multimedia server, the first response message is sent to the second client as a response message of the first client to the first session message. In this embodiment, by requesting a multimedia application to perform session authorization on its multimedia account and obtaining the permission to access session messages in the multimedia application, it is possible to automatically respond to session messages from different media applications for users, reducing the message response cost and avoiding the situation of untimely response to session messages or omission of session messages caused by manual response.

[0013] These aspects or other aspects of the present application will be more clearly understood in the following description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:

[0015] Figure 1 A system architecture diagram corresponding to a target application provided by an exemplary embodiment of the present application is shown.

[0016] Figure 2 A flowchart of a message response method provided by an exemplary embodiment of the present application is shown.

[0017] Figure 3 A flowchart of another message response method provided by an exemplary embodiment of the present application is shown.

[0018] Figure 4 An interface schematic diagram of a group of private message management processes provided by an exemplary embodiment of the present application is shown.

[0019] Figure 5 A structural schematic diagram of a message response device provided by an exemplary embodiment of the present application is shown.

[0020] Figure 6 A structural schematic diagram of a message response device provided by an exemplary embodiment of the present application is shown.

[0021] Figure 7The structural schematic diagram of the computing device for message response provided by the present application is shown. Detailed implementation manners

[0022] To make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the scope of protection of the present application.

[0023] It should be noted that the technical solutions of the embodiments of the present application are applicable to a network virtual environment. The users described generally refer to "virtual users". Real users can register user accounts on the server through the registration method to obtain user identities in the network environment. The same user account can be logged in to the server through different types of clients, enabling the server to identify the same user.

[0024] The interaction operations between the server and the user can be implemented based on the user account. The corresponding data received or sent by the server to the user is also implemented based on the user account. Actually, it is the client corresponding to the user account that receives or sends the corresponding data to the server. In addition, through the user account, communication between users can also be realized. Among them, the user can refer to an individual or an organization, such as an enterprise, etc. The present application does not make specific limitations in this regard.

[0025] It should be noted that in the case where the embodiments of the present application involve user information, the user information (including but not limited to user characteristic data, user's multimedia accounts, service accounts, etc.) and data (including but not limited to data 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 relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or reject. In addition, various artificial intelligence models (including but not limited to language models or large models) involved in the present application comply with relevant laws and standards.

[0026] In addition, it should be noted that in the case where the embodiments of the present application involve user interaction operations or trigger operations, the user interaction operations or trigger operations involved in the embodiments of the present application include but are not limited to: interaction operations in various ways such as touch operations, gesture operations, voice operations, head movement operations, and eye movement operations; among them, touch operations include but are not limited to: click operations, double-click operations, long-press operations, swipe operations, pinch operations, or mouse hover operations, etc. Swipe operations include but are not limited to: linear swipes, curved swipes, etc.

[0027] Furthermore, it should be noted that, in the case where the embodiments of the present application involve the jump between the first interface and the second interface, the jump methods involved in the embodiments of the present application include, but are not limited to: directly jumping from the first interface to the second interface, first jumping from the first interface to the task interface and then jumping to the second interface when corresponding task operations are completed on the task interface; the completion of corresponding task operations on the task interface includes, but is not limited to: when the task interface is implemented as an authorization and authentication interface, completing authorization and authentication on the authorization and authentication interface; when the task interface is implemented as a media content publishing interface, completing the publishing operation of multimedia content on the media content publishing interface, and so on.

[0028] With the development of Internet technology, service providers (such as merchants providing services) that provide services to consumers begin to choose to promote and sell service objects (such as service products) through the Internet. Currently, in order to attract more consumers to purchase the service objects they provide, service providers usually choose to publish multimedia content for promoting their service objects in various different multimedia applications. This requires service providers to always pay attention to the session messages sent by consumers under different media systems and reply to them one by one, resulting in the problems of high session message response cost and low efficiency. To solve this technical problem, the embodiments of the present application provide a solution. The basic idea is: the target server provides an account authorization prompt message to the target client. In response to the first session authorization request of the first media account sent by the target client for the account authorization prompt message, a second session authorization request for the first media account is sent to the multimedia server, so that the multimedia server authorizes the first media account and feedbacks a session access token. Based on the session access token, the first session message sent by the second client of the second media account to the first client of the first media account is obtained, and a first response message is generated by using the target artificial intelligence model corresponding to the first media account in combination with domain knowledge. Through the multimedia server, the first response message is sent to the second client as the response message of the first client for the first session message. This embodiment requests the multimedia application to perform session authorization on its multimedia account to obtain the permission to access the session messages in the multimedia application, thereby realizing automatically replying session messages from different media applications for users, reducing the message response cost, and avoiding the situation of untimely response to session messages or omission of session messages caused by manual response.

[0029] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.

[0030] Before introducing the embodiments of the present application, the application programs involved in the embodiments of the present application, namely the target application, the service providing application, and the multimedia application, are explained. Among them,

[0031] The multimedia application can be an application program that supports users to share multimedia content. The multimedia content shared into the multimedia application can be viewed by all or part of the registered accounts that support the multimedia application. For example, it can be an application program that supports the release and browsing of short videos and graphic content. And session messages can be sent between any two multimedia accounts registered with the multimedia application through the client.

[0032] The service providing application can be an application program that provides transactions of service objects (such as service products). This application program supports service providers to register accounts and sell and promote their service objects in the application program based on the registered accounts. For example, the service providing application can be a shopping application, a group buying application, a recruitment application, etc.

[0033] The target application can be an application that supports automatically replying to session messages of authorized accounts in the multimedia application. To implement this function, the target application needs to obtain authorization from the multimedia application in advance. For example, it authorizes the service end of the target application to transmit the session messages of the authorized accounts in the multimedia application. The target application and the service providing application in this embodiment can be the same application, that is, the functions of the two applications are integrated into one application program. Or they can be two independent applications that can perform data interaction.

[0034] For each of the above application programs, it corresponds to a service end and a client, and the client corresponding to each application refers to the client installed with the application program. For an application program, its corresponding service end may be unique, but each user who registers the application program corresponds to a client. In this embodiment, the service end and the client of the target application are respectively called the target service end and the target client. The service end of the multimedia application is called the multimedia service end. The client corresponding to the user who publishes multimedia content in the multimedia application is called the first client, and the client corresponding to the user who sends session messages for the multimedia content is called the second client.

[0035] The user involved in this embodiment refers to a user who has the need to publish multimedia content. For example, it can be a merchant who promotes service products. This user has registered accounts in the target application, the multimedia application, and the service providing application. For example, the account registered in the multimedia application is called the first media account, and the account registered in the service providing application is called the service account.

[0036] Figure 1The system architecture diagram of the system corresponding to the target application in the technical solution of an embodiment of the present application is shown. The system architecture may include a target client 101 and a target server 102. (Or: It may include a target server and multiple target clients)

[0037] Among them, a connection can be established between the target client 101 and the target server 102 through a network. The network provides a medium for the communication link between the target client 101 and the target server 102. The network can include various connection types, such as wired, wireless, or fiber optic cable, etc. The target client 101 can interact with the target server 102 through the network to receive or send messages, etc.

[0038] Among them, the target client 101 can be a browser, an APP (Application), or a web application such as an H5 (HyperText Markup Language 5) application, or a light application (also known as a mini-program, a lightweight application program), or a cloud application, etc. The target client 101 can be deployed in an electronic device and needs to rely on the device or certain apps in the device to run, etc. The electronic device can, for example, have a display screen and support information browsing, etc., such as a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, a desktop computer, a smart speaker, a smart watch, etc. For the sake of easy understanding, Figure 1 the client is mainly represented by the image of the device. Various other types of applications can usually be configured in the electronic device, such as human-computer dialogue applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc. The electronic device can refer to a device used by a user and having functions such as computing, surfing the Internet, and communicating required by the user. For example, it can be a mobile phone, a tablet computer, a personal computer, a wearable device, etc. The electronic device usually includes at least one processing component and at least one storage component. The electronic device may also include basic configurations such as a network card chip, an IO (input / output) bus, and audio-video components. The present application does not limit this. Optionally, according to the implementation form of the electronic device, some peripheral devices such as a keyboard, a mouse, an input pen, a printer, etc. may also be included. The present application does not limit this.

[0039] The target server 102 can include servers that provide various services. For example, a server for background training that provides support for the models used on the target client 101, or a server that processes the interaction information sent by the client, etc.

[0040] It should be noted that the target server 102 can be implemented as a distributed server cluster composed of multiple servers, or as a single server. The server can also be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.

[0041] It should be noted that the message response method provided in the embodiments of the present application can also be jointly executed by the target client 101 and the target server 102. It should be understood that Figure 1 the number of target clients and target servers in

[0042] is only illustrative. According to actual needs, there can be any number of target clients and target servers.

[0043] Figure 2 FIG. shows a flowchart of a message response method provided by an exemplary embodiment of the present application. The technical solution of this embodiment can be executed by the target server of the target application. As Figure 2 shown, the method may include the following steps:

[0044] S201, provide an account authorization prompt message to the target client corresponding to the target application, so that the target client can display the account authorization prompt message.

[0045] Among them, the account authorization prompt message can be a message that prompts the user to authorize the account in the multimedia application, and can include, but is not limited to: introduction of the rights and interests that can be enjoyed after authorization and information of the control component for account authorization, etc.

[0046] Specifically, for the target application of this embodiment to be able to automatically respond to session messages of a certain media account in a multimedia application, it is a prerequisite that the media account has completed the authorization of the corresponding user account in the target application. Therefore, when a user wants to enable the function of automatically responding to session messages, an authorization operation of the media account needs to be performed. Therefore, when the target client needs to display the authorized media account information of the user in the multimedia application, the target server of this embodiment can send the relevant information of the authorized media account and the account authorization prompt information to the target client. The target client will display the received account authorization prompt information and the relevant information of the authorized media account together in the media account management interface. In this embodiment, the target server can also automatically send the account authorization prompt information to the target client when it detects that the user account of the client has no authorized media account in the multimedia application, so that the target client can display the account authorization prompt information to prompt the user to perform the authorization of the media account.

[0047] S202, receive a first session authorization request sent by the target client for a first media account in the multimedia application.

[0048] Among them, the first session authorization request is generated for the trigger operation of the account authorization prompt information.

[0049] Specifically, after the user views the account authorization prompt information through the target client, if they want to perform media account authorization, they can trigger the control component for account authorization in the account authorization prompt information and input the media account information (such as the account name) in the multimedia application that needs to be authorized. At this time, the target client sends a first session authorization request to the target server at least based on the media account information input by the user and the user account currently logged in to the target client.

[0050] S203, in response to the first session authorization request, send a second session authorization request for the first media account to the multimedia server corresponding to the multimedia application, so that the multimedia server can perform session authorization on the first media account and feedback the session access token of the first media account.

[0051] Among them, the first session authorization request and the second session authorization request in this embodiment are both used to request the first media account to authorize the user account currently logged in to the target client to transmit the session message of the first media account. However, the senders and receivers of the two session authorization requests are different. The first session authorization request is generated by the target client in response to the trigger operation of the account authorization prompt message, and the receiver is the target server. The second session authorization request is generated by the target server based on the first session authorization request, and the receiver is the multimedia server. The first session authorization request at least includes: the first media account information of the user in the multimedia application, and the user account information of the user in the target application (i.e., the current login information of the target client). On the basis of the first session authorization request, the second session authorization request may also need to add the scope of application permissions. The session access token in this embodiment can be a credential for verifying and authorizing the target application to access the multimedia application to obtain the session information of the first media account.

[0052] Optionally, the target server receives and responds to the first session authorization request, parses the input media account information of the user as the first media account (i.e., the authorized account), and parses the user account currently logged in to the target client as the authorized associated account of the first media account in the target application (i.e., the authorized account). Then, based on the first media account, its authorized associated account, and the scope of application permissions, the target server sends a second session authorization request to the multimedia server to request the multimedia server to perform session authorization on the first media account. Specifically, the target multimedia server may send an authorization confirmation request to the first client corresponding to the first media account based on the scope of application permissions and the authorized associated account. The first client displays the scope of application permissions and the authorized associated account. If the first client detects an operation to agree to the authorization, it will feedback a confirmation instruction to the multimedia server. At this time, the multimedia server will continue to perform relevant operations to complete the authorization, such as generating a session access token for the authorized associated account to obtain or send the session information of the first media account. After the multimedia server completes the authorization operation, it will feedback the session access token of the first media account to the target server.

[0053] S204, obtain the first session message from the multimedia server based on the session access token of the first media account.

[0054] Among them, the first session message is the session message sent by the second client corresponding to the second media account in the multimedia application to the first client corresponding to the first media account. The second media account may be the account registered by other users (i.e., the inquirer) who want to communicate with the user corresponding to the first media account in the multimedia application in the multimedia application.

[0055] The first session message can be the content that the inquirer corresponding to the second media account wants to communicate with the user corresponding to the first media account (i.e., the user who publishes the multimedia content). For example, if all the multimedia content published by the first media account is about the theme of moving, the first session message at this time can be an inquiry about the moving fee standard. The first session message in this embodiment is the message displayed in the session interface between the first media account and the second media account. For example, this session message can be a session message sent in the form of a private message, rather than a comment message for the multimedia content published by the first media account. It should be noted that the first session message in this embodiment is a session message for the multimedia content. The first session message may include, but is not limited to: session content, the second media account, timestamp, etc. The session content may contain information related to the multimedia content. For example, it includes the title, link, etc. of the multimedia content.

[0056] Each time the target server obtains a session message from the multimedia server, it needs to send the session access token of the first media account to the multimedia server. Only after the multimedia server authenticates the session access token can it allow the first session message to be obtained from the multimedia application. This ensures the security of the transmission of the session information of the first media account.

[0057] Specifically, it can be that after the multimedia server detects that the second client corresponding to the second media account sends a session message to the first client corresponding to the first media account, it checks whether the first media account has authorized the user account of the target application and whether it has received the session access token of the first media account sent by the server of the target application. If the first media account has authorized the user account of the target application and has received the session access token of the first media account, the first session message will be sent to the target server through the authorization interface. It can also be that the target server calls the authorization interface for each first media account that has an authorization relationship with the user account in the system to detect in real time or at regular intervals whether the first client corresponding to each first media account has received the first session message in the multimedia application. If it has received it, it will send the session access token of the first media account to the multimedia server, and the multimedia server will verify it and feedback the first session message through the authorization interface.

[0058] Optionally, in the process of the target server obtaining the first session from the multimedia application, it involves the process of transmitting the first session message between different applications. To prevent the session message from being leaked during the transmission process and ensure the security of the session message transmission process, the multimedia server in this embodiment can encrypt the first session message and then transmit it to the target server. That is to say, the first session message obtained by the target server at this time is the encrypted first session message. Therefore, after obtaining the session message, it can decrypt the received first session message based on the encryption and decryption algorithm negotiated with the multimedia application and then perform subsequent processing operations.

[0059] In some embodiments, the user may not always need the target application to help automatically answer session messages in the multimedia application. If the authorization is cancelled to prevent the target application from automatically answering session messages, there may be frequent authorization and cancellation. To solve this problem, in this embodiment, an option to turn on or off the answering function can be set for the first media account authorized by the user in the target application. The user can set it to on or off according to their needs. At this time, when performing the operation of S204, it can be to obtain the first session message from the multimedia server corresponding to the multimedia application based on the session access token of the first media account when the session answering function of the first media account is turned on. To achieve the function of flexibly turning on or off the automatic answering message when the first media account has been authorized, so as to meet the personalized needs of users.

[0060] S205. Determine the target artificial intelligence model corresponding to the first media account.

[0061] Among them, the target artificial intelligence model can be the model used in the target application to automatically answer session messages.

[0062] Optionally, an implementable manner of this step can be: Let the user pre-configure the target artificial intelligence model selected for each media account in advance. At this time, the target artificial intelligence model corresponding to the first media account can be determined according to the user's configuration requirements.

[0063] Optionally, since the first session message in the embodiment is the session message sent by the inquirer after browsing the multimedia content published under the first media account, the content of the session should be related to the multimedia content published under the first media account. Therefore, in this embodiment, the artificial intelligence model corresponding to the target theme of the multimedia published under the first media account can be used as the target artificial intelligence model corresponding to the first media account to answer the first session message. That is, an implementable manner of this step can be: For different target themes, pre-train the corresponding target artificial intelligence models. At this time, the first session message can be analyzed to determine the target theme of the multimedia content corresponding to the first session message, and the target artificial intelligence model corresponding to the target theme can be obtained as the target artificial intelligence model corresponding to the first media account.

[0064] When the user is a service provider, the target topic may be relatively broad, so in order to answer the conversation message more accurately, the target artificial intelligence model corresponding to the target topic can be further determined in combination with the industry categories of each service object provided by the service provider. For example, if the target topic of the multimedia content is cleaning, but the service object provided by the service provider belongs to the category of housecleaning industry, it will be more accurate to use the target artificial intelligence model corresponding to the housecleaning category to answer the first conversation message. Therefore, another achievable way of this step can be: determine the industry category corresponding to the service account according to the user feature data; use the target artificial intelligence model corresponding to the industry category as the target artificial intelligence model corresponding to the first media account. Specifically, it can be pre-training the corresponding artificial intelligence model for the industry categories of various service objects. This step can be based on the service content, service industry and other information in the attribute data contained in the user feature data to determine the industry category corresponding to the service account of the service provider in the service provision application; it can also be based on the historical release information in the user feature data, analyze the industry category to which the service object it publishes belongs, as the industry category corresponding to the service account. Then find the target artificial intelligence model corresponding to the industry category from the pre-trained artificial intelligence model.

[0065] It should be noted that user characteristic data refers to the attribute information of the service provider (such as service industry, service area, service content, etc.), historical publishing information (such as historical post information of the service object), etc. maintained in the service providing application. In this embodiment, the method of obtaining user characteristic data can be: determining the service account associated with the first media account in the service providing application; obtaining user characteristic data of the service account from the service providing application; wherein the service account can be the account registered by the service provider in the service providing application. The user characteristic data is the user characteristic data of the service account.

[0066] Specifically, when the target application of this embodiment is a service providing application, the user account logged in by the target client is the service account, and the user characteristic data can be directly searched in the database maintained by the service providing application based on the service account. When the target application of this embodiment is another application program independent of the service providing application, the two applications can be associated based on the user account. That is, the same service provider has an association relationship between the accounts registered for the two applications. At this time, the target server of the target application can obtain the user account logged in by the target client, and then determine the service account associated with the user account logged in by the target client in the service providing application based on the association relationship between the application registered accounts, and then interact with the service providing application to obtain the user characteristic data of the service account from the service providing application.

[0067] S206. Use the target artificial intelligence model and combine it with the domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message.

[0068] Among them, the domain knowledge can be the relevant knowledge of the industry field served by the user corresponding to the first media account, or it can be considered as the relevant knowledge of the field described in the multimedia content published by the first media account. For example, if the user of the first media account is a provider of moving services and the published multimedia content is also related to moving, then the domain knowledge corresponding to the first media account can be service guides, precautions, introductions of moving service products, charging standards, etc. in the moving industry.

[0069] Optionally, in this embodiment, it can be to use the target artificial intelligence model to analyze the intention of the first session message to determine whether there is a clear inquiry intention in the first session message. If so, the domain knowledge can be sorted out and analyzed to generate a first response message that can answer the inquiry intention. At this time, the first response message is used to answer questions. If not, the first response message can be generated according to the response intention corresponding to the first media account. At this time, the first response message is used to represent the response intention of the user corresponding to the first media account, and this intention will guide the user to further feedback relevant information. For example, it can be to guide the user to feedback the phone number so that the user of the first media account can directly contact the inquirer who sent the first session message by phone.

[0070] Optionally, since the target application of this embodiment can be a service-providing application, or other applications that are independent of the service-providing application but can interact with the service-providing application, and the user feature data maintained in the service-providing application can well reflect the domain knowledge of the field served by the user. Therefore, the determination method of the domain knowledge in this embodiment can be to determine the service account associated with the first media account in the service-providing application; obtain the user feature data of the service account from the service-providing application; and determine the domain knowledge corresponding to the first media account according to the user feature data. It should be noted that the process of determining the service account associated with the first media account in the service-providing application and obtaining the user feature data of the service account from the service-providing application has been introduced in the above embodiments and will not be elaborated here. The method of generating the domain knowledge corresponding to the first media account according to the user feature data can be to extract the content related to the user service field from the user feature data and refine and summarize it to obtain the domain knowledge corresponding to the first media account. This method reduces the complexity of obtaining domain knowledge and ensures the relevance to the services provided by the user.

[0071] It should be noted that the target artificial intelligence model involved in this article can be an artificial intelligence-based language model (LM) or a multimodal model (MM), etc. The embodiments of this application do not limit the number of model parameters supported by the model, aiming to meet actual needs. If the number of model parameters is relatively large, the scale of the language model will be relatively large and the model performance will be relatively better. Of course, more time and resources will be consumed during inference or training; if the number of model parameters is relatively small, the scale of the model will be relatively small. When the performance meets the requirements, the model is more lightweight and consumes relatively less time and resources during inference or training. The target artificial intelligence model involved in the embodiments of this application can be a deep learning model used to process and generate natural language text or multimodal data, which can be implemented based on a neural network architecture and can be pre-trained on a large amount of data. In an alternative implementation, the artificial intelligence model involved in this article can include an encoder, a decoder, a self-attention layer, and a feed-forward neural network, etc. The encoder is mainly used to convert the input data (usually in the form of a sequence) into a vector representation, and this process can capture the semantic features of the input data. The decoder is responsible for converting the intermediate representation generated by the encoder into output data (usually in the form of a sequence). The self-attention layer is a mechanism that enables the model to focus on other positions in the sequence to better encode the information at the current position; the feed-forward neural network is used to perform non-linear transformations on the output of the self-attention layer, etc., to enhance the model's expression ability. Each part works together to make the model constructed based on them perform well in various complex processing tasks, such as natural language processing, computer vision, speech recognition, machine translation, text summarization, and intelligent question answering, etc.

[0072] S207, through the multimedia server, send the first response message as the response message of the first client to the first session message to the second client.

[0073] Optionally, after generating the first response message, the target server can initiate a message response request to the multimedia server based on the first response message, the first media account, and the second media account, so that the multimedia server can, in response to the message response request, find the message conversation between the first media account and the second media account (the message conversation contains the first session message), forward the first response message to the message conversation, and then send the conversation message to the second client corresponding to the second media account and the first client corresponding to the first media account respectively, so that the users corresponding to the first media account and the second media account can view the first response message regarding the first session message through the message conversation. That is, it is realized that, through the multimedia server, the first response message is sent to the second client as the response message of the first client to the first session message.

[0074] It should be noted that, in this embodiment, the target server can, after generating the first response message, immediately send the first response message to the second client as the response message of the first client to the first session message through the multimedia server. Or it can also perform a unified sending operation once every preset period, such as one hour, for all the first response messages within the preset period. There is no limitation on this.

[0075] Optionally, considering that different systems support different information formats, before performing S207, the target server can further perform format conversion processing on the first response message generated in S206 in combination with the format requirements of the response message in the multimedia application, and then perform the operation of S207.

[0076] In this embodiment, the target server provides an account authorization prompt message to the target client, and in response to the first session authorization request of the first media account sent by the target client for the account authorization prompt message, sends a second session authorization request for the first media account to the multimedia server, so that the multimedia server authorizes the first media account and feedbacks a session access token. Based on the session access token, the first session message sent by the second client of the second media account to the first client of the first media account is obtained, the first response message is generated by using the target artificial intelligence model corresponding to the first media account in combination with domain knowledge, and through the multimedia server, the first response message is sent to the second client as the response message of the first client to the first session message. In this embodiment, by requesting the multimedia application to perform session authorization on its multimedia account, the permission to access the session message in the multimedia application is obtained, so as to realize automatically answering the session messages from different media applications for the user, reduce the message response cost, and avoid the situation of untimely response or omission of session messages caused by manual response.

[0077] In some embodiments, in order to help users collect the required information through response messages, the domain knowledge in this embodiment may include the domain collection requirements corresponding to the first media account for the user. The domain collection requirements are the information that the user wants to collect, such as, but not limited to, the phone number, the city where the user sending the first session message is located, etc. In this embodiment, different domain collection requirements can be set according to the characteristics of the services in different domains, or the users corresponding to each first media account can be supported to customize their own domain collection requirements. Correspondingly, when performing the above S206, the target artificial intelligence model can be used to generate a first response message corresponding to the first session message in combination with the domain collection requirements in the domain knowledge corresponding to the first media account; the first response message is used to indicate a session message that satisfies the domain collection requirements. Specifically, the target artificial intelligence model can be used to parse the domain collection requirements in the domain knowledge corresponding to the first media account, determine the domain information collection items (such as phone number, city), and then generate a statement for indicating the feedback of the domain collection items as the first response message. It can also be to generate intent response content based on the session intent in the first session message in the domain knowledge, and then add a statement for indicating the feedback of the domain collection items after the intent response content to obtain the first response message.

[0078] After the first response message containing the domain collection requirements in this embodiment is sent to the second client corresponding to the second media account through the multimedia application, the inquirer corresponding to the second media account may continue to send a second session message to the first client of the first media account based on the first response message. Correspondingly, the target server can obtain the second session message from the multimedia server based on the session access token of the first media account; the second session message is a session message feedback by the second client to the first client for the first response message; if the second session message satisfies the domain collection requirements, the domain collection information corresponding to the second media account is extracted; and the domain collection information corresponding to the second media account is sent to the target client for the target client to display the domain collection information.

[0079] Specifically, at this time, the target server can obtain the second session message in a manner similar to obtaining the first session message, and then determine whether the second session message contains the relevant information of the domain collection item corresponding to the domain collection requirement, that is, the domain collection information. If it contains, the target server extracts the domain collection information from the second session message, and then searches for the user registration account of the target application associated with the first media account (that is, the account registered by the user corresponding to the first media account in the target application), and then sends the domain collection information to the target client corresponding to the user registration account, so that the target client can display the domain collection information to the user. To meet the user's need for collecting domain information. For example, if the user is a service provider and its domain collection requirement is to collect the phone number of the inquirer, then at this time, the service provider can contact the inquirer based on the collected phone number to facilitate the conversion type of the services provided.

[0080] Optionally, in this embodiment, the target client can search for the corresponding target client in real time and send it to the user after extracting the domain collection information; or it can be that at each preset time period (such as one day), all the domain collection information obtained within the preset time period is sent to the corresponding target client at once.

[0081] Optionally, after sending the first response message containing the domain collection requirement to the second client corresponding to the second media account through the multimedia application, there may be the following two situations: that is, if the second session message does not meet the domain collection requirement, or the second session message is not received within the preset time period, the target artificial intelligence model is used to generate a second response message; the second response message is used to indicate again the session message that meets the domain collection requirement; through the multimedia server, the second response message is sent to the second client as the response message of the first client for the second session message or the first session message.

[0082] Specifically, for the situation where the second session message is received but does not meet the domain collection requirement, the target server can first answer the consultation intention in the second session message, and add the relevant statements of the domain collection requirement to the answer result again to obtain the second response message, so as to indicate the inquirer to feedback the session message of the domain collection requirement. If the second session message is not received within the preset time period (such as 2 hours later), in order to avoid losing contact with the inquirer and losing the service customer, a second response message can be generated to remind the inquirer to feedback the session message of the domain collection requirement. After generating the second response message, it can be sent to the second client corresponding to the second media account through the server of the multimedia application in a manner similar to sending the first response message. In this embodiment, multiple response messages can be sent to the second client corresponding to the second media account until the domain collection information is obtained. To help users collect business opportunities.

[0083] In one embodiment, to meet the personalized configuration requirements of users, another implementable way to determine the target artificial intelligence model corresponding to the first media account is as follows: before replying to session messages, provide model configuration prompt information to the target client so that the target client can display the model configuration prompt information; in response to the model selection request for the first media account sent by the target client, determine the model configuration information of the first media account; the model selection request is generated in response to the trigger operation on the model configuration prompt information. Based on the model configuration information of the first media account, determine the target artificial intelligence model corresponding to the first media account.

[0084] Specifically, it can be after authorizing the first media account or enabling the reply function for the first media account, provide model configuration prompt information to the target client. This model configuration prompt information is used to prompt the user to select an artificial intelligence model for replying to session messages for the first media account. It can include the introduction information of at least two artificial intelligence models that the user can choose from, such as the name of the model and the function introduction, etc. After receiving this model configuration prompt information, the target client will display it in the model configuration interface for the user to select. The target client can generate a model selection request carrying the model identifier (such as the model name) and the first media account in response to the trigger operation of the user on the model configuration prompt information, and send this model selection request to the target server. The target server will respond to this model selection request and use this model identifier as the model configuration information of the first media account. Correspondingly, when determining the target artificial intelligence model corresponding to the first media account, it can be the artificial intelligence model corresponding to the model identifier included in the configuration information of the first media account as the target artificial intelligence model corresponding to the first media account.

[0085] Based on the above embodiments, if the user believes that none of the models displayed in the model configuration prompt information meet their requirements, this embodiment can also determine the target artificial intelligence model corresponding to the first media account through the following method. That is, provide model training prompt information to the target client so that the target client can display the model training prompt information; in response to the model training request for the first media account sent by the target client, obtain the model training data. The model training request is generated in response to the trigger operation on the model training prompt information; based on the training data, train the target artificial intelligence model; according to the relevant information of the target artificial intelligence model, determine the model configuration information corresponding to the first media account.

[0086] Specifically, the target server can send model training prompt information while providing model configuration prompt information to the target client, so that the target client can display both the model configuration prompt information and the model training prompt information in the model configuration interface, for the user to select whether to use the model trained by the system or train a custom model according to their needs. The target server can also first provide the model configuration prompt information to the target client. When the target client displays the model configuration prompt information, it adds a model customization control. If the user believes that none of the models displayed in the model configuration prompt information meet their needs, they can trigger the model customization control. The target client responds to the trigger operation of the customization control and sends a model customization instruction to the target server. At this time, the target service will respond to this customization instruction and provide the model training prompt information to the target client, and then the target client displays the model training prompt information. The user can upload training data for the model training prompt information displayed by the target client, such as user-specific domain knowledge and session examples corresponding to the user's response intention. The target client will initiate a model training request to the target server based on the training data uploaded by the user. The target server responds to this model training request, obtains the training data uploaded by the user, and trains a dedicated target artificial intelligence model for the user based on this training data, and sets a model identifier for the target artificial intelligence model, and uses this model identifier as the model configuration information of the first media account. Correspondingly, when determining the target artificial intelligence model corresponding to the first media account, it can be based on the configuration information of the first media account, and use the trained target artificial intelligence model as the target artificial intelligence model corresponding to the first media account. This solution supports training a dedicated model for the response session according to the user's needs to meet the user's personalized needs.

[0087] In some embodiments, to facilitate the user's understanding of the situation where the target application replaces their own response session messages, this embodiment can also, for each media account, after performing a session response operation once, count the number of message responses for the first media account; send the number of message responses of the first media account to the target client, so that the target client can display the number of message responses of the first media account. Optionally, to avoid disturbing the user by frequently sending the number of message responses, this embodiment can send it when the user initiates a response message query request through the target client, or when the user enters the automatic response message configuration interface, so that the target client can display it in the automatic response message configuration interface.

[0088] Figure 3 The flowchart of a message response method provided by an exemplary embodiment of the present application. The technical solution of this embodiment can be executed by the target client corresponding to the target application. This method can include the following steps:

[0089] S301, Receive the account authorization prompt information provided by the target server of the target application.

[0090] S302, Display the account authorization prompt information.

[0091] S303, In response to the trigger operation for the account authorization prompt information, generate a first session authorization request for the first media account in the multimedia application.

[0092] S304, Send the first session authorization request to the target server, so that the target server, in response to the first session authorization request, sends a second session authorization request for the first media account to the multimedia server corresponding to the multimedia application. The multimedia server performs session authorization on the first media account and feeds back the session access token of the first media account. The target server is further configured to obtain the first session message from the multimedia server based on the session access token of the first media account. The first session message is a session message sent by the second client corresponding to the second media account in the multimedia application to the first client corresponding to the first media account. Determine the target artificial intelligence model corresponding to the first media account. Use the target artificial intelligence model, combined with the domain knowledge corresponding to the first media account, to generate a first response message corresponding to the first session message. Through the multimedia server, send the first response message as the response message of the first client to the first session message to the second client.

[0093] In some embodiments, the above method further includes: receiving the domain collection information corresponding to the second media account sent by the target server and displaying the domain collection information. The domain collection information is extracted from the second session message when the second session message meets the domain collection requirements. The second session message is a session message fed back by the second client to the first client in response to the first response message.

[0094] In some embodiments, the above method further includes: receiving the model configuration prompt information provided by the target server, displaying the model configuration prompt information. In response to the trigger operation for the model configuration prompt information, generate a model selection request for the first media account, and send the model selection request to the target server, so that the target server, in response to the model selection request for the first media account, determines the model configuration information of the first media account, and based on the model configuration information of the first media account, determines the target artificial intelligence model corresponding to the first media account.

[0095] In some embodiments, the above method further includes: receiving model training prompt information provided by the target server, displaying the model training prompt information, generating a model training request in response to an input operation on the model training prompt information; sending the model training request to the target server, so that the target server, in response to the model training request, obtains model training data, and trains a target artificial intelligence model based on the training data; determining the model configuration information of the first media account according to relevant information of the target artificial intelligence model.

[0096] In some embodiments, the above method further includes: receiving the message reply count of the first media account sent by the target server, and displaying the message reply count of the first media account.

[0097] In a practical application, the target application of the embodiments of the present application can support a solution in which a user configures and authorizes a first media account, obtains private messages received by a first customer corresponding to the first media account, and automatically replies to private messages for the first media account. Combining Figure 4 , the implementation manner of the above solution is introduced.

[0098] Figure 4 FIG. shows a schematic interface diagram of a group of private message management processes provided by an exemplary embodiment of the present application. Figure 4 The first interface in is a private message management interface. If the user clicks the "Go to Manage" button in the AI (Artificial Intelligence) private message card through the target client, the target client will send an account management request to the target server. After receiving the management request, the target server will provide account authorization prompt information to the target client. At this time, the target client can Figure 4 display a control component for "adding account authorization" in the second account management interface in, as well as the authorized accounts already bound under the user account of the target client, namely user account one and user account two, and relevant information of the user account, such as the authorization expiration time of the user account, whether the function of automatically replying to private messages is enabled, the "Select Customer Service" button and the "Enable / Disable Private Messages" button. It should be noted that Figure 4Both user account one and user account two shown are accounts registered by the user on the above XX platform. If the user clicks on the control component of "Add Account Authorization", the target client will further prompt the user to input relevant information of the new account, such as the account name, and then send a first session authorization request to the target server based on the content input by the user. The target server will, in response to the first session authorization request, send a second session authorization request for the first media account to the multimedia server, so that the multimedia server can perform session authorization on the new account input by the user and feedback the session access token of the new account. After receiving the session access token, the target server can generate relevant information of the new account and send it to the target client, so that the target client can add a management card for the new account in the account management interface.

[0099] The user can also, according to requirements, set the customer service for answering private messages for the user accounts bound with authorization, namely user account one and user account two. For example, if the user clicks on the "Select Customer Service" button corresponding to the user account one card, the target client will send a customer service selection request to the target server. At this time, the target server will provide model configuration prompt information to the target client, and the target client will display the model configuration prompt information in the customer service selection interface, such as Figure 4 shown in the third interface diagram in, which includes models already available in the server for the user to directly use, namely model one and model two. Model one and model two can display specific model-related information, such as the name and collection items, in the form of cards. To meet the personalized needs of users, the target client can also provide user-defined models. Suppose the user clicks on the card of model one. The target client will send user account one and model one to the target server, and the target server will use model one as the model configuration information for user account one. That is, subsequent private messages received by user account one will be answered by model one. If the user selects a user-defined model, at this time the user also needs to input information such as the model name, collection item content, and dialogue examples on the target client as training data. The target client will send the training data input by the user to the target server, and the target server will train a user-defined model exclusive to user account one based on the training data and use this model as the model configuration information for user account one.

[0100] In this embodiment, when the user wants to automatically answer the private message content received by user account one in the XXX platform through the target application, it can be opened at Figure 4The private message function is enabled in the second interface. Subsequently, the target server can obtain the private messages received by user account one from other accounts on the XXX platform; select Model One to generate a response message asking for the user's phone number; and use the response message as the response message of the client corresponding to user account one for this private message, and send it to the client of the other user through the XXX platform. It should be noted that if the other user does not continue to reply to the private message, or the replied private message does not contain the phone number, a private message can still be sent to the other user account until the phone number is obtained. Then, the collected phone number is sent to the target client for the user to view.

[0101] The detailed implementation manners and beneficial effects of the steps in the method of this embodiment have been described in detail in the foregoing embodiments, and will not be elaborated herein.

[0102] It should be noted that in some of the processes described in the above embodiments and the accompanying drawings, there are multiple operations that appear in a specific order. However, it should be clearly understood that these operations can be executed not in the order in which they appear in this document or in parallel. They are only used to distinguish different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations can be executed in sequence or in parallel. It should be noted that the descriptions such as "first" and "second" in this document are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, nor do they limit that "first" and "second" are of different types.

[0103] In addition to providing the method embodiment, the embodiments of the present application also provide a message response device. The process of the message response device provided by the embodiments of the present application will be described below.

[0104] Figure 5 It is a schematic structural diagram of a message response device provided for an exemplary embodiment of the present application. The device is configured in the target server of the target application and includes:

[0105] The first sending module 501 is configured to provide an account authorization prompt message to a target client corresponding to a target application, so that the target client displays the account authorization prompt message; the first receiving module 502 is configured to receive a first session authorization request for a first media account in a multimedia application sent by the target client; the first session authorization request is generated in response to a triggering operation on the account authorization prompt message; the first sending module 501 is further configured to, in response to the first session authorization request, send a second session authorization request for the first media account to a multimedia server corresponding to the multimedia application, so that the multimedia server performs session authorization on the first media account and feeds back a session access token for the first media account; the message acquisition module 503 is configured to obtain a first session message from the multimedia server based on the session access token of the first media account; the first session message is a session message sent by a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account; the model determination module 504 is configured to determine a target artificial intelligence model corresponding to the first media account; the message response module 505 is configured to use the target artificial intelligence model and combine domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message; the message sending module 506 is configured to send, through the multimedia server, the first response message as a response message of the first client to the first session message to the second client.

[0106] In an alternative embodiment, the above device further includes: a domain knowledge determination module, configured to determine a service account associated with the first media account in a service providing application; obtain user feature data of the service account from the service providing application; and determine domain knowledge corresponding to the first media account according to the user feature data.

[0107] In an alternative embodiment, the model determination module 504 is specifically configured to determine an industry category corresponding to the service account according to the user feature data; and use the target artificial intelligence model corresponding to the industry category as the target artificial intelligence model corresponding to the first media account.

[0108] In an alternative embodiment, the message response module 505 is specifically configured to use the target artificial intelligence model and combine a domain collection requirement in the domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message; the first response message is used to indicate feedback of a session message that meets the domain collection requirement.

[0109] In an optional embodiment, the message acquisition module 503 is further configured to obtain a second session message from the multimedia server based on the session access token of the first media account; the second session message is a session message fed back by the second client to the first client in response to the first response message; the information extraction module is configured to extract the domain collection information corresponding to the second media account if the second session message meets the domain collection requirements; the first sending module 501 is further configured to send the domain collection information corresponding to the second media account to the target client, so that the target client can display the domain collection information.

[0110] In an optional embodiment, the message response module 505 is further configured to generate a second response message by using the target artificial intelligence model if the second session message does not meet the domain collection requirements or the second session message is not received within a preset period; the second response message is used to indicate again to feed back a session message that meets the domain collection requirements; the message sending module 506 is further configured to send, through the multimedia server, the second response message to the second client as a response message of the first client to the second session message or the first session message.

[0111] In an optional embodiment, the first sending module 501 is further configured to provide model configuration prompt information to the target client, so that the target client can display the model configuration prompt information; the configuration information determination module is configured to determine the model configuration information of the first media account in response to a model selection request for the first media account sent by the target client; the model selection request is generated in response to a trigger operation on the model configuration prompt information; the model determination module 504 is specifically configured to determine the target artificial intelligence model corresponding to the first media account based on the model configuration information of the first media account.

[0112] In an optional embodiment, the first sending module 501 is further configured to provide model training prompt information to the target client, so that the target client can display the model training prompt information; the model training module is configured to obtain model training data in response to a model training request for the first media account sent by the target client; the model training request is generated in response to an input operation on the model training prompt information; train the target artificial intelligence model based on the training data; the configuration information determination module is further configured to determine the model configuration information of the first media account according to the relevant information of the target artificial intelligence model.

[0113] In an optional embodiment, the message response module 505 is specifically configured to, when the session response function of the first media account is enabled, obtain a first session message from the multimedia server based on the session access token of the first media account.

[0114] In an optional embodiment, it further includes a message statistics module for counting the number of message responses for the first media account; the first sending module 501 is further configured to send the number of message responses of the first media account to the target client, so that the target client can display the number of message responses of the first media account.

[0115] Figure 5 The described message response device can execute Figure 2 the message response method described in the illustrated embodiment. Its implementation principle and technical effects will not be elaborated further. For each module and unit in the above-mentioned 5 devices, the specific manner of performing operations has been described in detail in the embodiment related to the method, and will not be elaborated here.

[0116] Figure 6 The structure diagram of a message response device provided for an exemplary embodiment of the present application. This device is configured in the target client of the target application and includes: a second receiving module 601 for receiving the account authorization prompt information provided by the target server of the target application; a display module 602 for displaying the account authorization prompt information; a request generation module 603 for generating a first session authorization request for the first media account in the multimedia application in response to a trigger operation on the account authorization prompt information; a second sending module 604 for sending the first session authorization request to the target server, so that the target server, in response to the first session authorization request, sends a second session authorization request for the first media account to the multimedia server corresponding to the multimedia application. The multimedia server performs session authorization on the first media account and feeds back the session access token of the first media account; the target server is further configured to obtain a first session message from the multimedia server based on the session access token of the first media account; the first session message is a session message sent by the second client corresponding to the second media account in the multimedia application to the first client corresponding to the first media account; determining the target artificial intelligence model corresponding to the first media account; using the target artificial intelligence model and combining the domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message; and through the multimedia server, sending the first response message as the response message of the first client to the first session message to the second client.

[0117] In some embodiments, the second receiving module 601 is further configured to receive the domain collection information corresponding to the second media account sent by the target server, and the display module 602 is further configured to display the domain collection information; the domain collection information is extracted from the second session message when the second session message meets the domain collection requirement; the second session message is a session message fed back by the second client to the first client in response to the first response message.

[0118] In some embodiments, the second receiving module 601 is further configured to receive the model configuration prompt information provided by the target server, and the display module 602 is further configured to display the model configuration prompt information; the request generation module 603 is further configured to generate a model selection request for the first media account in response to a trigger operation for the model configuration prompt information, and the second sending module 604 is further configured to send the model selection request to the target server, so that the target server determines the model configuration information of the first media account in response to the model selection request of the first media account, and determines the target artificial intelligence model corresponding to the first media account based on the model configuration information of the first media account.

[0119] In some embodiments, the second receiving module 601 is further configured to receive the model training prompt information provided by the target server, and the display module 602 is further configured to display the model training prompt information. The request generation module 603 is further configured to generate a model training request in response to an input operation for the model training prompt information; the second sending module 604 is further configured to send the model training request to the target server, so that the target server obtains model training data in response to the model training request, trains the target artificial intelligence model based on the training data, and determines the model configuration information of the first media account according to the relevant information of the target artificial intelligence model.

[0120] In some embodiments, the above method further includes: the second receiving module 601 is further configured to receive the message response times of the first media account sent by the target server, and the display module 602 is further configured to display the message response times of the first media account.

[0121] Figure 6 The described message response device can execute Figure 3 the message response method described in the embodiments shown, and its implementation principle and technical effects will not be elaborated. For each module and unit in the above-mentioned 6 devices, the specific manner of performing operations has been described in detail in the embodiments related to the method, and will not be elaborated here.

[0122] Figure 7 The structural schematic diagram of an embodiment of a computing device provided by this application. AsFigure 7 As shown, in practice, the computing device may include: a storage component 701 and a processing component 702.

[0123] The storage component 701 is used to store computer programs and can be configured to store various other data to support operations on the computing device. Examples of such data include instructions for any application or method operating on the computing device, data structures, contact data, phone book data, messages, pictures, videos, etc.

[0124] The processing component 702 is coupled to the storage component 701 and is used to execute the computer programs in the storage component 701 to be used to implement, such as Figure 2 or Figure 3 the message response method.

[0125] Furthermore, as Figure 7 shown, the computing device may further include: other components such as a communication component 703, a display component 704, a power component 705, an audio component 706, etc. Figure 7 Only some components are schematically shown in, which does not mean that the computing device only includes Figure 7 the components shown in. Additionally, Figure 7 the components within the dashed box in are optional components, rather than mandatory components, and are specifically determined according to the product form of the computing device. The computing device in this embodiment can be implemented as a terminal device such as a desktop computer, a laptop computer, a smart phone, or an IOT (Internet of Things) device, or can also be a server device such as a conventional server, a cloud server, or a server array. If the computing device in this embodiment is implemented as a terminal device such as a desktop computer, a laptop computer, or a smart phone, it may include Figure 7 the components within the dashed box in; if the computing device in this embodiment is implemented as a server device such as a conventional server, a cloud server, or a server array, it may not include Figure 7 the components within the dashed box in.

[0126] The above-mentioned processing component includes one or more processors to execute computer instructions to complete all or part of the steps in the above-mentioned method. Of course, the processing component can also be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for executing the above-mentioned method.

[0127] The above storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0128] The above communication component is configured to facilitate communication, in a wired or wireless manner, between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as a mobile communication network, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel.

[0129] The above display component may include a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations.

[0130] The above power supply component provides power for various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device where the power supply component is located.

[0131] The above audio component can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive external audio signals. The received audio signals can be further stored in the memory or sent via the communication component. In some embodiments, the audio component further includes a speaker for outputting audio signals.

[0132] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to be able to implement the steps in the above method embodiments. Among them, the computer-readable storage medium can be implemented by volatile or non-volatile or a combination thereof, and can be removable or non-removable. Examples of computer-readable storage media include, but are not limited to, phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices or any other non-transmission medium

[0133] Accordingly, an embodiment of the present application further provides a computer program product, the computer program product including a computer program or instruction, which, when executed by a processor, causes the processor to be able to implement the steps in the above method embodiments. It should be understood that each process or a combination of multiple processes in the above method flow can be implemented by the computer program or instruction. In addition, these computer programs or instructions can be applied to the processors of general-purpose computers, special-purpose computers, embedded processors or other programmable data processing devices, so that the processors of general-purpose computers, special-purpose computers, embedded processors or other programmable data processing devices can be used as devices for implementing the corresponding functions in the above method embodiments.

[0134] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0135] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, commodity or device comprising the element.

[0136] Finally, it should be noted that the above are only embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A message response method, characterized in that, A target server for a target application, including: Providing account authorization prompt information to a target client corresponding to the target application so that the target client can display the account authorization prompt information; Receiving a first session authorization request for a first media account in a multimedia application sent by the target client; the first session authorization request is generated in response to a triggering operation on the account authorization prompt information; In response to the first session authorization request, sending a second session authorization request for the first media account to a multimedia server corresponding to the multimedia application so that the multimedia server can perform session authorization on the first media account and feedback a session access token for the first media account; Based on the session access token of the first media account, obtaining a first session message from the multimedia server; the first session message is a session message sent by a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account; Determining a target artificial intelligence model corresponding to the first media account; Using the target artificial intelligence model and combining the domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message; Through the multimedia server, sending the first response message as a response message of the first client to the first session message to the second client.

2. The method according to claim 1, characterized in that, It further includes: Determining a service account associated with the first media account in a service providing application; Obtaining user characteristic data of the service account from the service providing application; Determining the domain knowledge corresponding to the first media account according to the user characteristic data.

3. The method according to claim 2, wherein The determining the target artificial intelligence model corresponding to the first media account includes: Determining the industry category corresponding to the service account according to the user characteristic data; Taking the target artificial intelligence model corresponding to the industry category as the target artificial intelligence model corresponding to the first media account.

4. The method according to claim 1, wherein Using the target artificial intelligence model and combining the domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message, including: Using the target artificial intelligence model and combining the domain collection requirements in the domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message; the first response message is used to indicate feedback of session messages that meet the domain collection requirements.

5. The method according to claim 4, wherein It further includes: Based on the session access token of the first media account, obtaining a second session message from the multimedia server; The second session message is a session message feedback by the second client to the first client in response to the first response message; If the second session message meets the domain collection requirements, extracting the domain collection information corresponding to the second media account; Sending the domain collection information corresponding to the second media account to the target client so that the target client can display the domain collection information.

6. The method according to claim 5, wherein It further includes: If the second session message does not meet the domain collection requirements, or the second session message is not received within a preset time period, then using the target artificial intelligence model to generate a second response message; The second response message is used to indicate again the session message that meets the domain collection requirements; Through the multimedia server, the second response message is sent to the second client as the response message of the first client for the second session message or the first session message.

7. The method according to claim 1, characterized in that, It further includes: Providing model configuration prompt information to the target client so that the target client can display the model configuration prompt information; Responding to a model selection request for the first media account sent by the target client, determining the model configuration information of the first media account; The model selection request is generated in response to a trigger operation on the model configuration prompt information; Determining the target artificial intelligence model corresponding to the first media account includes: Based on the model configuration information of the first media account, determining the target artificial intelligence model corresponding to the first media account.

8. The method according to claim 7, wherein It further includes: Providing model training prompt information to the target client so that the target client can display the model training prompt information; Responding to a model training request for the first media account sent by the target client, obtaining model training data; the model training request is generated in response to an input operation on the model training prompt information; Training the target artificial intelligence model based on the training data; Determining the model configuration information of the first media account according to the relevant information of the target artificial intelligence model.

9. The method according to claim 1, wherein Obtaining a first session message from the multimedia server based on the session access token of the first media account, including: In the case where the first media account enables the session response function, obtaining a first session message from the multimedia server based on the session access token of the first media account.

10. The method according to claim 1, characterized in that, It further includes: Counting the number of message responses for the first media account; Sending the number of message responses of the first media account to the target client so that the target client can display the number of message responses of the first media account.

11. A message response method, characterized in that, Applied to the target client of the target application, including: Receiving account authorization prompt information provided by the target server of the target application; Displaying the account authorization prompt information; Responding to a trigger operation on the account authorization prompt information, generating a first session authorization request for the first media account in the multimedia application; Send the first session authorization request to the target server so that, in response to the first session authorization request, the target server sends a second session authorization request for the first media account to the multimedia server corresponding to the multimedia application. The multimedia server performs session authorization on the first media account and feeds back a session access token for the first media account. The target server is further configured to obtain a first session message from the multimedia server based on the session access token of the first media account. The first session message is a session message sent from a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account. Determine a target artificial intelligence model corresponding to the first media account. Use the target artificial intelligence model and combine with the domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message. Through the multimedia server, send the first response message as a response message of the first client to the first session message to the second client.

12. A message response device, characterized in that, The target server configured in the target application includes A first sending module, configured to provide an account authorization prompt message to a target client corresponding to the target application, so that the target client displays the account authorization prompt message; A first receiving module, configured to receive a first session authorization request for a first media account in the multimedia application sent by the target client. The first session authorization request is generated in response to a trigger operation on the account authorization prompt message; The first sending module is further configured to, in response to the first session authorization request, send a second session authorization request for the first media account to the multimedia server corresponding to the multimedia application, so that the multimedia server performs session authorization on the first media account and feeds back a session access token for the first media account; A message obtaining module, configured to obtain a first session message from the multimedia server based on the session access token of the first media account; The first session message is a session message sent from a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account; A model determining module, configured to determine a target artificial intelligence model corresponding to the first media account; A message response module, configured to use the target artificial intelligence model and combine with the domain knowledge corresponding to the first media account to generate a first response message corresponding to the first session message; A message sending module, configured to send, through the multimedia server, the first response message as a response message of the first client to the first session message to the second client.

13. A message response device, characterized in that, The target client configured in the target application includes: A second receiving module, configured to receive an account authorization prompt message provided by a target server of the target application; A display module, configured to display the account authorization prompt message; A request generating module, configured to generate a first session authorization request for a first media account in the multimedia application in response to a trigger operation on the account authorization prompt message; A second sending module, configured to send the first session authorization request to the target server, so that in response to the first session authorization request, the target server sends a second session authorization request of the first media account to the multimedia server corresponding to the multimedia application, the multimedia server authorizes the session of the first media account, and feeds back a session access token of the first media account; the target server is further configured to obtain a first session message from the multimedia server based on the session access token of the first media account; the first session message is a session message sent by a second client corresponding to a second media account in the multimedia application to a first client corresponding to the first media account; determine a target artificial intelligence model corresponding to the first media account; generate a first response message corresponding to the first session message by using the target artificial intelligence model and combining domain knowledge corresponding to the first media account; and send, through the multimedia server, the first response message as a response message of the first client to the first session message to the second client.

14. A computing device, characterized in that, Comprising a processing component and a storage component; The storage component stores a computer program; the computer program is used to be called and executed by the processing component to implement the message response method according to any one of claims 1-11.

15. A computer-readable storage medium, characterized in that, Stored thereon is a computer program, which when executed by the processing component, implements the message response method according to any one of claims 1-11.

16. A computer program product, characterized in that, Comprising a computer program or instruction, which when executed by the processing component, implements the message response method according to any one of claims 1-11.

Citation Information

Patent Citations

  • Authorization method, device and system based on OAuth protocol

    CN111327582A

  • Information interaction method and device, equipment and storage medium

    CN116679859A

  • Data processing method and device, equipment and storage medium

    CN119030716A

  • Conversation content generation method and device, equipment, storage medium and program product

    CN119398169A

  • Database account information management method and device and electronic equipment

    CN119513887A

Cited By

  • Session control method, system and equipment based on thread-level authorization lease and medium

    CN122160355A

  • Session control method, system, device and medium based on thread-level authorization lease

    CN122160355B