Method, apparatus, device and storage medium for message interaction
By generating and sending messages based on prompts and related information in response to user actions within the application platform, the problem of low message interaction efficiency in existing technologies is solved, and more efficient user interaction is achieved.
Patent Information
- Application Number
- CN202410940615.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2044-07-12
AI Technical Summary
Existing application platforms are unable to generate appropriate message content for users, resulting in low efficiency in message interaction between users.
By responding to the user's configuration operations, the system presents the target prompt information in the message configuration interface, receives message sending requests, and sends a message generated based on the prompt information and user association information to the target user.
It improves the efficiency of message interaction between users by automatically generating appropriate message content, thereby enhancing the interaction effect between users.
Smart Images

Figure CN119011522B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Example embodiments of the present disclosure generally relate to the field of Internet, and in particular, to a method, apparatus, device and computer readable storage medium for message interaction. BACKGROUND
[0002] In recent years, with the rapid development of the Internet, more and more users interact with messages in application platforms. However, due to the low efficiency of message interaction between users of the existing application platforms. SUMMARY
[0003] In a first aspect of the present disclosure, a method for message interaction is provided. The method comprises: in response to receiving a configuration operation of a first user, presenting target prompt information in a message configuration interface; receiving a message sending request, the message sending request indicating at least one message receiver, the at least one message receiver including a second user; and sending a first group of messages to the second user, the first group of messages including at least a first message, the first message being generated based on the target prompt information and first association information of the second user.
[0004] In a second aspect of the present disclosure, an apparatus for message interaction is provided. The apparatus comprises: a presentation module configured to present target prompt information in a message configuration interface in response to receiving a configuration operation of a first user; a receiving module configured to receive a message sending request, the message sending request indicating at least one message receiver, the at least one message receiver including a second user; and a sending module configured to send a first group of messages to the second user, the first group of messages including at least a first message, the first message being generated based on the target prompt information and first association information of the second user.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer readable storage medium is provided. The computer readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0008] The above-described and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent as various embodiments of the present disclosure are described in detail below with reference to the accompanying drawings, in which like reference numerals refer to like elements throughout. The drawings illustrated exemplary embodiments of the present disclosure and, as such, should not be considered limiting in scope. The
[0009] FIG. 1 A schematic diagram illustrating an example environment in which embodiments according to the present disclosure can be implemented is shown;
[0010] FIGS. 2A-2C An example interface according to some embodiments of the present disclosure is shown;
[0011] FIG. 3 A flowchart illustrating an example process of a message interaction according to some embodiments of the present disclosure is shown;
[0012] FIG. 4 A schematic block diagram of an example apparatus for a message interaction according to some embodiments of the present disclosure is shown; and
[0013] FIG. 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0014] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.
[0015] It is noted that the headings provided herein are not limitations of the various embodiments described herein. The various embodiments are described throughout this document and can be included under any heading. Additionally, embodiments described in any heading can be combined with any other embodiment described in the same heading and / or a different heading in any manner.
[0016] In the description of embodiments of the present disclosure, the term "includes" and its hash similar terms are to be interpreted as "including but not limited to." The term "based on" is to be interpreted as "based, at least in part, on." The term "one embodiment" or "an embodiment" is to be interpreted as "at least one embodiment." The term "some embodiments" is to be interpreted as "at least some embodiments." Other explicit or implicit definitions can also be included below. The terms "first," "second," etc. can refer to different or same objects. Other explicit or implicit definitions can also be included below.
[0017] The data of the user, the acquisition and / or use of the data, etc. can be involved in the embodiments of the present disclosure. These aspects comply with the corresponding laws and regulations and relevant provisions. In the embodiments of the present disclosure, the collection, acquisition, processing, processing, forwarding, use, etc. of all data are performed on the premise that the user is aware of and confirms. Accordingly, when implementing the embodiments of the present disclosure, the type, use range, use scenario, etc. of the data or information that can be involved should be informed to the user and the authorization of the user should be obtained through appropriate means according to the relevant laws and regulations. The specific informing and / or authorization manner can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this aspect.
[0018] In the present specification and embodiments, if personal information processing is involved, it will be processed on the premise of legality basis (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will be processed only within the prescribed or agreed range. The user refuses to process personal information other than the necessary information required for the basic function, which does not affect the user's use of the basic function.
[0019] As mentioned above, in recent years, with the rapid development of the Internet, more and more users interact in the application platform. However, due to the fact that the existing application platform cannot provide help for the user to send messages, for example, it cannot guide the user to generate appropriate message content, nor can it actively provide appropriate message content based on the user's needs, resulting in low efficiency of message interaction between users.
[0020] Embodiments of the present disclosure provide a scheme for message interaction. According to the scheme, in response to receiving a configuration operation of a first user, target prompt information is presented in a message configuration interface; a message sending request is received, the message sending request indicating at least one message receiving party, the at least one message receiving party including a second user; and a first group of messages is sent to the second user, the first group of messages including at least a first message, the first message being generated based on the target prompt information and first association information of the second user.
[0021] In this way, the present disclosure can determine prompt information for generating a message based on the configuration operation of the user. Further, the present disclosure can automatically generate a message according to the prompt message and the association information of the message receiving party, and can send the generated message to the user. Thus, the present disclosure can improve the efficiency of message interaction between users.
[0022] Various example implementations of the scheme are described in detail below in combination with the accompanying drawings.
[0023] Example Environment
[0024] FIG. 1A schematic diagram illustrating an example environment 100 in which embodiments of the present disclosure can be implemented is shown. As FIG. 1 The example environment 100 can include an electronic device 110, as shown.
[0025] In this example environment 100, the electronic device 110 can run an application 120 that supports interface interaction. The application 120 can be any suitable type of application for interface interaction, examples of which can include, but are not limited to, a social application, an image application, or other suitable application. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0026] In the example environment 100, FIG. 1 If the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting interface interaction through the application 120.
[0027] In some embodiments, the electronic device 110 communicates with a server 130 to implement the provisioning of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) device, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including an accessory or peripheral device for the foregoing, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as “wearable” circuitry, etc.).
[0028] The server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 can provide background services for the application 120 in the electronic device 110 that supports virtual scenarios.
[0029] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established through a wired or wireless manner. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like, and embodiments of the present disclosure are not limited in this regard. In embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, without implying any limitation on the scope of the present disclosure.
[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0032] Example Process
[0033] FIGS. 2A-2C Example interfaces 200A to 200C according to some embodiments of the present disclosure are shown. The interfaces 200A to 200C can be provided by the electronic device 110 shown, for example. FIG. 1
[0034] In some embodiments, the electronic device 110 can present a theme configuration interface in response to receiving a request to generate a message. As an example, the electronic device 110 can present a theme configuration interface in response to receiving a request of a first user to generate a message (e.g., a trigger of a control associated with the theme configuration interface) so as to generate message content.
[0035] In some embodiments, as shown in FIG. 2A , the electronic device 110 can present a theme configuration interface 200A in response to receiving a request to generate a message.
[0036] In some embodiments, with continued reference to FIG. 2A , the electronic device 110 can present a message configuration interface based on an input operation of the first user in the theme configuration interface 200A in response to receiving the input operation of the first user.
[0037] In some embodiments, with continued reference to FIG. 2A , the electronic device 110 receiving an input operation of the first user in the theme configuration interface 200A can include receiving a message theme input by the first user. The electronic device 110 can provide a first input component 205 in the theme configuration interface 200A. Further, the electronic device 110 can receive a message theme (e.g., sharing today's life, etc.) input by the first user through natural language based on the first input component 205.
[0038] In some embodiments, continue to refer to FIG. 2A The electronic device 110 may receive input from a first user in the theme configuration interface 200A, which may include a message template selected by the first user. As an example, the electronic device 110 may also provide a set of message templates 207 in the theme configuration interface 200A. Further, in response to receiving a target message template selected from the set of message templates 207, the electronic device 110 may use the target message template as the message template selected by the first user. As an example, the set of message templates 207 may include preset message content (e.g., message content that can be directly sent to the message recipient) or preset prompt items for generating target prompt information (e.g., a preset message topic).
[0039] In some embodiments, such as FIG. 2B As shown, electronic device 110 can present a message configuration interface 200B. In response to receiving a configuration operation from a first user, electronic device 110 can present a target prompt message 216 in the message configuration interface. As an example, the configuration operation from the first user may include, for instance, the user's input operation.
[0040] In some embodiments, continue to refer to FIG. 2B The electronic device 110 can also present a second message 214 determined based on the configuration operation in the message configuration interface 200B.
[0041] In some embodiments, continue to refer to FIG. 2B The electronic device 110 can provide a message configuration window 210 in the message configuration interface 200B. In response to receiving an input operation from the first user, the electronic device 110 can display candidate messages and / or candidate prompts in the message configuration window 210. The candidate messages and / or candidate prompts can be generated based on the input operation. As an example, the electronic device 110 can use a preset model to generate candidate messages and / or candidate prompts based on the first user's input operation. As an example, the preset model can be implemented as a generative model capable of processing input operations. This invention does not intend to limit the specific content and training process of the preset model.
[0042] In some embodiments, continue to refer to FIG. 2B The electronic device 110 can determine the second message to be sent and / or the target prompt information to be used based on the candidate messages and / or candidate prompt information. In some embodiments, the electronic device 110 can directly use the candidate messages and / or candidate prompt information as the second message 214 and / or the target prompt information 216 based on the first user's operation (e.g., confirmation operation).
[0043] In some embodiments, the electronic device 110 can receive an editing operation on the candidate message and / or the candidate prompt information to determine the second message 214 and / or the target prompt information 216. As an example, the electronic device 110 can receive an editing of the first user on the candidate message and / or the candidate prompt information to determine the edited candidate message and / or the edited candidate prompt information as the second message 214 and / or the target prompt information 216.
[0044] In some embodiments, the target prompt information 216 can indicate how to generate a message sent to a user. In some examples, the target prompt information 216 can also be referred to as a prompt word. For example, the prompt word can be “please ask the user about the makeup knowledge the user wants to learn, in a tone of chatting with a friend”.
[0045] In some embodiments, with continued reference to FIG. 2B , the electronic device 110 provides a theme control 211 in the message configuration window 210. As an example, the electronic device 110 can present a message theme determined based on the input operation of the first user in the theme control 211. Further, the electronic device 110 can receive an editing operation and a re-input operation of the first user on the message theme based on the theme control 211, update the message theme, and determine the updated message theme as the message theme corresponding to the input operation of the first user.
[0046] In some embodiments, with continued reference to FIG. 2B , the electronic device 110 can provide a set of theme templates 212 in the message configuration window 210. Further, the electronic device 110 can determine, in response to a trigger of a target theme template in the set of theme templates 212 by the first user, a message theme corresponding to the target theme template as the message theme corresponding to the input operation of the first user.
[0047] In some embodiments, with continued reference to FIG. 2B , the electronic device 110 can further provide an update control 213 in the message configuration window 210. Further, the electronic device 110 can present a new set of theme templates 212 in response to receiving a trigger of the update control 213.
[0048] In some embodiments, with continued reference to FIG. 2B , the electronic device 110 can receive a message sending request. The message sending request can indicate at least one message receiver, including a second user. As an example, the second user is different from the first user, and the second user has a preset association relationship, such as a following relationship, with the first user.
[0049] In some embodiments, with continued reference to FIG. 2BIn response to receiving the message sending request, the electronic device 110 can send the first set of messages to the second user. The first set of messages includes at least the first message. The first message is generated based on the target prompt information 216 and the first association information of the second user.
[0050] In some embodiments, continuing to refer to FIG. 2B In response to receiving the message sending request, the electronic device 110 can provide the target prompt information to a target model to generate the first message. As an example, the target model can be implemented as a generative model with text and / or image processing capability. The present disclosure is not intended to limit the specific content and training process of the target model.
[0051] In some embodiments, the first message can include text content and / or image content.
[0052] In some embodiments, the first set of messages sent to the second user can further include a second message 214 determined based on the configuration operation.
[0053] In some embodiments, the first association information of the second user can include, for example, context information of historical messages between the second user and the first user, or other information disclosed by the second user. It should be understood that the information (including but not limited to association information) related to users (including but not limited to the first user, the second user, the third user) mentioned in the present disclosure is acquired and used with the consent and authorization of the relevant user.
[0054] In some embodiments, the first message can be further generated based on the target prompt information 216, the first association information of the second user, and third association information of the first user. As an example, the third association information of the first user can include, for example, personalized content (e.g., personalized label, etc.) configured by the first user.
[0055] In some embodiments, continuing to refer to FIG. 2B The electronic device 110 can associate the first message to a virtual object associated with the first user to indicate that the first message comes from the virtual object. As an example, in some scenarios, the virtual object can also be referred to as a virtual avatar, which can be created based on the configuration operation of the first user. Such a virtual object can be implemented, for example, with a suitable generative model to interact accordingly based on the received target prompt information. The present disclosure is not intended to limit the specific construction of the virtual object.
[0056] In some embodiments, continuing to refer to FIG. 2B The electronic device 110 can associate the second message 214 to the first user to indicate that the second message comes from the first user.
[0057] In some embodiments, continuing to refer toFIG. 2B In some embodiments, continuing with reference to
[0058] In some embodiments, continuing with reference to FIG. 2B The third set of messages can further include the second message 214.
[0059] In some embodiments, continuing with reference to FIG. 2C The electronic device 110 can further present, in response to receiving the switch request, a fourth set of messages in the conversation preview window 215. The fourth set of messages includes a fifth message generated based on the target prompt information (e.g., the fifth message is generated based on the target prompt information and is different from the first message). The fifth message is different from the first message. Optionally, the fifth message is generated based on a second preset object (e.g., a second virtual user having a virtual association relationship with the first user). As an example, as shown in FIG. 2E, the electronic device 110 can provide a switch control 220 in the conversation preview window 215. Further, the electronic device 110 can present, in response to a trigger of the switch control 220, the fourth set of messages in the conversation preview window 215. Example Process
[0060] In some embodiments, continuing with reference to FIG. 3 The electronic device 110 can determine, based on the message sending request (e.g., a trigger of the send control 222), description information for the message recipient. Further, the electronic device 110 can determine, based on the description information, at least one message recipient. As an example, the electronic device 110 can provide a selection control 221 in the conversation preview window 215. The electronic device 110 can determine, based on a preset operation of the first user on the selection control 221, the description information for the message recipient. As an example, the selection control 221 can include a plurality of description options, the description options corresponding to the at least one message recipient. The electronic device 110 can determine, in response to a target description option selected from the plurality of description options, the at least one message recipient.
[0061] In some embodiments, the at least one message recipient can further include a third user. The electronic device 110 can send, to the third user, a second set of messages including at least a third message. The third message can be generated based on the target prompt information and second association information of the third user.
[0062] In some embodiments, the electronic device 110 can also receive a viewing request of the first user, and display a message viewing interface associated with the first user. The electronic device 110 can present at least one topic associated with historical messages between the first user and other users in the message viewing interface.
[0063] In some embodiments, the electronic device 110 can receive a selection of a target topic in the at least one topic, and can present a set of historical messages corresponding to the target topic and / or at least one reply message for the set of historical messages accordingly.
[0064] In some embodiments, as FIG. 1 shown, the electronic device 110 can present the conversation interface 200C of the second user. The electronic device 110 can present the second message 214 from the first user and the first message 225 from the virtual object associated with the first user in the conversation interface 200C. As an example, the electronic device 110 can also present the image message 226 from the virtual object associated with the first user in the conversation interface 200C.
[0065] Based on the message interaction process described above, embodiments of the present disclosure can determine prompt information for generating a message based on a configuration operation of a user. Further, the present disclosure can automatically generate a message according to the prompt message and the associated information of the message recipient, and can send the generated message to the user. Thus, the present disclosure can improve the efficiency of message interaction between users.
[0066] FIG. 3
[0067] Example Apparatus and Device A flowchart of an example process 300 of message interaction according to some embodiments of the present disclosure is shown. The process 300 can be implemented at the electronic device 110. The process 300 is described below with reference to FIG. 4 .
[0068] As FIG. 4 shown, at block 310, the electronic device 110 presents target prompt information in a message configuration interface in response to receiving a configuration operation of the first user.
[0069] At block 320, the electronic device 110 receives a message sending request, the message sending request indicating at least one message recipient, the at least one message recipient including the second user.
[0070] At block 330, the electronic device 110 sends a first set of messages to the second user, the first set of messages including at least a first message, the first message being generated based on the target prompt information and first associated information of the second user.
[0071] In some embodiments, the first set of messages further includes a second message determined based on the configuring operation.
[0072] In some embodiments, the process 300 further includes associating the first message to a virtual object associated with the first user to indicate that the first message is from the virtual object.
[0073] In some embodiments, the process 300 further includes determining, based on the message sending request, description information for the message receiver, and determining, based on the description information, the at least one message receiver.
[0074] In some embodiments, the at least one message receiver further includes a third user, and the process 300 further includes sending, to the third user, a second set of messages, the second set of messages including at least a third message generated based on the target prompt information and second association information of the third user.
[0075] In some embodiments, the process 300 further includes receiving an input operation of the first user, displaying, in the message configuration window, candidate prompt information generated based on the input operation, and determining the target prompt information based on the candidate prompt information.
[0076] In some embodiments, receiving the input operation of the first user includes receiving a message subject input by the first user, or receiving a message template selected by the first user.
[0077] In some embodiments, determining the target prompt information based on the candidate prompt information includes receiving an editing operation on the candidate prompt information to determine the target prompt information.
[0078] In some embodiments, the process 300 further includes presenting, in the conversation preview window, a third set of messages including at least a fourth message generated based on the target prompt information and preset association information of a preset object.
[0079] In some embodiments, the process 300 further includes presenting, in the conversation preview window, a fourth set of messages in response to receiving a switching request, the fourth set of messages including a fifth message generated based on the target prompt information, the fifth message being different from the first message.
[0080] In some embodiments, the process 300 further includes displaying a message viewing interface associated with the first user, the message viewing interface presenting at least one subject, and presenting, in response to a selection of a target subject in the at least one subject, a set of historical messages corresponding to the target subject and / or at least one reply message to the set of historical messages.
[0081] In some embodiments, the process 300 further includes providing the target prompt information to a target model to generate the first message.
[0082] FIG. 5
[0083] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. FIG. 5 A schematic structural block diagram of an example device 400 for message interaction according to certain embodiments of the present disclosure is shown. Device 400 may be implemented as or included in electronic device 110. Various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0084] like FIG. 5 As shown, the device 400 includes a presentation module 410 configured to present target prompt information in a message configuration interface in response to receiving a configuration operation from a first user; a receiving module 420 configured to receive a message sending request indicating at least one message recipient, the at least one message recipient including a second user; and a sending module 430 configured to send a first set of messages to the second user, the first set of messages including at least a first message, the first message being generated based on the target prompt information and a first association information between the second user and the target prompt information.
[0085] In some embodiments, the first set of messages may also include a second message determined based on configuration operations.
[0086] In some embodiments, the apparatus 400 further includes an association module configured to associate a first message with a virtual object associated with a first user, indicating that the first message originates from the virtual object.
[0087] In some embodiments, the apparatus 400 further includes a determining module configured to: determine description information for a message recipient based on a message sending request; and determine at least one message recipient based on the description information.
[0088] In some embodiments, at least one message recipient further includes a third user, and the device 400 further includes a first processing module configured to send a second set of messages to the third user, the second set of messages including at least a third message, the third message being generated based on target prompt information and the third user's second association information.
[0089] In some embodiments, the device 400 further includes a second processing module configured to: receive input operations from a first user; display candidate prompt information in a message configuration window, the candidate prompt information being generated based on the input operations; and determine target prompt information based on the candidate prompt information.
[0090] In some embodiments, the second processing module is further configured to: receive a message topic input by the first user; or receive a message template selected by the first user.
[0091] In some embodiments, the second processing module is further configured to receive an editing operation on the candidate prompt information to determine the target prompt information.
[0092] In some embodiments, the device 400 further includes a preview module configured to present a third set of messages in a session preview window, the third set of messages including at least a fourth message, the fourth message being generated based on target prompt information and preset association information of a preset user.
[0093] In some embodiments, the device 400 further includes a switching module configured to: in response to receiving a switching request, present a fourth set of messages in a session preview window, the fourth set of messages including a fifth message generated based on target prompt information, the fifth message being different from the first message.
[0094] In some embodiments, the device 400 further includes a viewing module, and the updating module is configured to: display a message viewing interface associated with a first user, the message viewing interface presenting at least one topic; and, in response to the selection of a target topic among the at least one topic, present a set of historical messages corresponding to the target topic and / or at least one reply message for the set of historical messages.
[0095] In some embodiments, the apparatus 400 further includes a generation module configured to provide target prompt information to the target model to generate a first message.
[0096] FIG. 1 A block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... FIG. 5 The electronic device 500 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. FIG. 5 The electronic device 500 shown can be used to achieve Electronic devices 110.
[0097] like As shown, electronic device 500 is in the form of a general-purpose electronic device. Components of electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 500.
[0098] The electronic device 500 typically includes a plurality of computer storage media. Such media can be any available media that is accessible by the electronic device 500 and includes both volatile and nonvolatile media, removable and non-removable media. The memory 520 can be volatile (such as register, cache, RAM), non-volatile (such as ROM, EEPROM, flash memory), or some combination of the two. The storage device 530 can be a removable or non-removable media, and can include machine-readable media, such as flash drives, magnetic disks, or any other media that can be used to store information and / or data and that can be accessed by the electronic device 500.
[0099] The electronic device 500 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, a disk drive for reading from or writing to a removable, non- volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In such instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 520 can include a computer program product 525 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0100] The communication unit 540 enables communications with other electronic devices over a communication medium. Additionally, the functionality of the components of the electronic device 500 can be implemented in a single computing cluster or a plurality of computer machines capable of communicating over a communication connection. As such, the electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes in the networking environment.
[0101] The input device 550 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 560 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc. through the communication unit 540, as needed, one or more devices that enable a user to interact with the electronic device 500, or any devices (e.g., a network card, a modem, etc.) that enable the electronic device 500 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0102] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0103] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0104] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0105] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0106] The computer program product of the present disclosure can have a signal including said computer program. This signal can be electronic, electromagnetic, optical, or any other suitable type of signal. Such a signal can be provided through a communication connection, such as electrical wiring, optical fiber, wireless interface, etc. Examples of computer program products include computer program implemented on a personal computer, server, or other networked device. A non-transitory computer readable medium, such as a floppy disk, CD-ROM, DVD-ROM, Blu-ray Disc, hard disk drive, or any other suitable non-transitory computer readable medium can store the computer program product.
[0107] Having described several implementations of the present disclosure, it is to be appreciated various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be part of this disclosure. Accordingly, the foregoing description is by way of example only and is not intended to be limiting. The implementation described herein is implementations of the present disclosure. Other implementations of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the present disclosure. Therefore, this disclosure is intended to cover all such modifications and variations as fall within the scope of the implementations. It is intended that the specification and depicted embodiments are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims
1. A method of message interaction, comprising: in response to receiving a configuration operation of a first user, presenting target prompt information in a message configuration interface, the target prompt information comprising a prompt word for indicating how a model generates a message sent to a user; receiving a message sending request, the message sending request indicating at least one message receiver, the at least one message receiver comprising a second user; and sending, in a conversation with the second user, a first set of messages to the second user, the first set of messages comprising at least a first message, the first message being generated based on the target prompt information and first associated information of the second user.
2. The method of claim 1, wherein the first set of messages further comprises a second message determined based on the configuration operation.
3. The method of claim 1, further comprising: associating the first message to a virtual object associated with the first user to indicate that the first message is from the virtual object.
4. The method of claim 1, further comprising: based on the message sending request, determining description information for a message receiver; and based on the description information, determining the at least one message receiver.
5. The method of claim 1, wherein the at least one message receiver further comprises a third user, the method further comprising: sending, to the third user, a second set of messages, the second set of messages comprising at least a third message, the third message being generated based on the target prompt information and second associated information of the third user.
6. The method of claim 1, further comprising: receiving an input operation of the first user; displaying, in the message configuration interface, candidate prompt information, the candidate prompt information being generated based on the input operation; and based on the candidate prompt information, determining the target prompt information.
7. The method of claim 6, wherein receiving the input operation of the first user comprises: receiving a message topic input by the first user; or receiving a message template selected by the first user.
8. The method of claim 6, wherein based on the candidate prompt information, determining the target prompt information comprises: receiving an editing operation for the candidate prompt information to determine the target prompt information.
9. The method of claim 1, further comprising: presenting, in a conversation preview window, a third set of messages, the third set of messages comprising at least a fourth message, the fourth message being generated based on the target prompt information and preset associated information of a preset object.
10. The method of claim 9, further comprising: in response to receiving a switching request, presenting, in the conversation preview window, a fourth set of messages, the fourth set of messages comprising a fifth message generated based on the target prompt information, the fifth message being different from the first message.
11. The method of claim 1, further comprising: displaying a message viewing interface associated with the first user, the message viewing interface presenting at least one topic; and In response to selection of a target topic in the at least one topic, a set of historical messages corresponding to the target topic and / or at least one reply message for the set of historical messages are presented.
12. The method of claim 1, further comprising: providing the target prompt information to a target model to generate the first message.
13. An apparatus for message interaction, comprising: a presentation module configured to present, in response to receiving a configuration operation of a first user, target prompt information in a message configuration interface, the target prompt information including prompt words for indicating how a model generates a message sent to a user; a receiving module configured to receive a message sending request, the message sending request indicating at least one message recipient, the at least one message recipient including a second user; and a sending module configured to send, in a conversation with the second user, a first set of messages to the second user, the first set of messages including at least a first message, the first message being generated based on the target prompt information and first association information of the second user.
14. An electronic device, comprising: at least one processing unit; and at least one memory that is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, cause the electronic device to perform the method of any of claims 1-12.
15. A computer-readable storage medium having stored thereon a computer program, the computer program being executable by a processor to implement the method of any of claims 1-12.
Citation Information
Patent Citations
Session message display method and device, terminal and storage medium
CN115373547A
Interaction method and device, equipment and storage medium
CN117850937A
Adding theme-based content to messages using artificial intelligence
US20240220717A1