Message processing method and apparatus, device, and storage medium
By providing a conversation window between the user and the virtual object in the conversation interface, the virtual object generates corresponding messages, which solves the problem of cumbersome message processing of virtual objects in the prior art and improves message processing efficiency.
Patent Information
- Application Number
- PCT/CN2025/086998
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-08
- Filing Date
- 2025-04-02
- Publication Date
- 2025-10-16
AI Technical Summary
The current technology for handling messages using virtual objects is cumbersome and has low message processing efficiency.
The conversation interface provides conversation windows for both the user and the target object and the virtual object. It generates corresponding messages for the virtual object based on the messages from the target object, and generates a second message for the virtual object based on the target message to improve message processing efficiency.
By providing a conversation window between the user and virtual objects in the conversation interface, the efficiency of message processing is improved and the message processing flow is simplified.
Smart Images

Figure CN2025086998_16102025_PF_FP_ABST
Abstract
Description
Method, apparatus, device and storage medium for message processing
[0001] The present application claims priority to the Chinese patent application No. 202410418464.8, filed on April 08, 2024, entitled “Method, apparatus, device and storage medium for message processing”, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a method, apparatus, device and computer readable storage medium for message processing. BACKGROUND
[0003] In recent years, with the rapid development of machine learning technology, virtual objects implemented based on machine learning technology are widely applied to improve the efficiency of people's message processing. For example, some virtual objects can assist users in processing messages in a conversation scenario. SUMMARY
[0004] In a first aspect of the present disclosure, a method for message processing is provided. The method comprises: presenting a conversation interface, the conversation interface comprising a first conversation window, the first conversation window being used to present messages in a target conversation with a target object; presenting, in the conversation interface, a second conversation window with a virtual object, the virtual object being different from the target object; and presenting, in the second conversation window, a second message from the virtual object based on a first message received from the target object in the target conversation, the second message being generated by the virtual object based on the first message.
[0005] In a second aspect of the present disclosure, an apparatus for message processing is provided. The apparatus comprises: a first presentation module configured to present a conversation interface, the conversation interface comprising a first conversation window, the first conversation window being used to present messages in a target conversation with a target object; a second presentation module configured to present, in the conversation interface, a second conversation window with a virtual object, the virtual object being different from the target object; and a generation module configured to present, in the second conversation window, a second message from the virtual object based on a first message received from the target object in the target conversation, the second message being generated by the virtual object based on the first message.
[0006] 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.
[0007] 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.
[0008] In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product includes computer executable instructions, wherein the computer executable instructions implement the method of the first aspect when executed by a processor.
[0009] It should be understood that nothing in the Summary is to be construed as a limitation on the scope of the embodiments of the present disclosure or the present disclosure. Other features of the present disclosure will be apparent from the following description, the drawings, and the claims. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, aspects, and advantages of embodiments of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like reference numerals refer to like elements, wherein:
[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure can be implemented;
[0012] FIGS. 2A to 2F show example interfaces according to some embodiments of the present disclosure;
[0013] FIG. 3 shows a flowchart of an example process of message processing according to some embodiments of the present disclosure;
[0014] FIG. 4 shows a schematic structural block diagram of an example apparatus for message processing according to some embodiments of the present disclosure; and
[0015] FIG. 5 shows a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described in more detail with reference to the 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, but rather, the embodiments are provided so that the present disclosure will be more thoroughly and completely understood. It should be understood that the drawings and embodiments of the present disclosure are only for illustrative purposes and should not be construed as limiting the scope of protection of the present disclosure.
[0017] It should be noted that the titles of any sections / sub-sections provided herein are not limiting. Various embodiments are described throughout this document and any type of embodiment can be included under any section / sub-section. Furthermore, embodiments described in any section / sub-section can be combined with any other embodiments described in the same section / sub-section and / or different section / sub-section in any manner.
[0018] In the description of embodiments of the disclosure, the term "includes" and its conjugates are open-ended, i.e., "includes but is not limited to". The term "based on" is intended to mean "based, at least in part, on" The term "one embodiment" or "an embodiment" is intended to mean "at least one embodiment". The term "some embodiments" is intended to mean "at least some embodiments". Other explicitly and implicitly recited definitions can also be included below. The terms "first", "second", etc. can refer to different or same objects. Other explicit and implicit definitions can also be included below.
[0019] Data of users, acquisition and / or use of data, etc. can be involved in embodiments of the disclosure. These aspects all comply with corresponding laws and regulations and relevant provisions. In embodiments of the disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are performed on the premise that the user is aware of and confirms. Accordingly, when implementing embodiments of the disclosure, the type of data or information that can be involved, the use range, the use scenario, etc. should be notified to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations. The specific notification and / or authorization manner can vary according to the actual situation and application scenario, and the scope of the disclosure is not limited in this aspect.
[0020] In the specification and embodiments, if personal information processing is involved, it will be processed on the premise of legality (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and only within the prescribed or agreed range. Users refuse to process personal information other than the necessary information required for basic functions, which will not affect the user's use of basic functions.
[0021] As mentioned above, with the rapid development of machine learning technology, virtual objects based on machine learning technology are widely used. Nowadays, the speed of message dissemination is getting faster and faster, and people urgently need the assistance of virtual objects to improve the efficiency of message processing. However, in the prior art, the way virtual objects process messages is cumbersome, and the efficiency of message processing is low.
[0022] Embodiments of the present disclosure propose a scheme of message processing. According to the scheme, a conversation interface can be presented, the conversation interface including a first conversation window for presenting messages in a target conversation with a target object; a second conversation window with a virtual object different from the target object is presented in the conversation interface; and a second message from the virtual object is presented in the second conversation window based on a first message received from the target object in the target conversation, the second message being generated by the virtual object based on the first message.
[0023] In this way, embodiments of the present disclosure can provide conversation windows of a user with a target object and a virtual object in a conversation interface at the same time, and can generate and provide corresponding messages from the virtual object according to messages with the target object to help the user improve the efficiency of message processing.
[0024] Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
[0025] Example Environment
[0026] FIG. 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110.
[0027] 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, an instant messaging application, a social application, or other suitable application. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0028] In the environment 100 of 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.
[0029] In some embodiments, the electronic device 110 communicates with the server 130 to enable provisioning of services of the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a tablet 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) terminal, 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 to a user (such as “wearable” circuitry, etc.).
[0030] 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, and the like. The server 130 can provide background services for the application 120 in the electronic device 110 that supports a virtual scene.
[0031] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established by wired or wireless means. 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.
[0032] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, and do not imply any limitation on the scope of the present disclosure.
[0033] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0034] Example Interaction
[0035] FIGS. 2A-2F illustrate example interfaces 200A-200F, in accordance with some embodiments of the present disclosure. The interfaces 200A-200F can be provided, for example, by the electronic device 110 shown in FIG. 1.
[0036] In some embodiments, the electronic device 110 can present a conversation interface 200A as shown in FIG. 2A. As an example, the electronic device 110 can present the conversation interface 200A in the aforementioned application 120 in response to a conversation request.
[0037] In some embodiments, with reference to FIG. 2A, the electronic device 110 can present, in the conversation interface 200A, a first conversation window 205 for presenting messages in a target conversation between a current user and a target object.
[0038] It is to be understood that such a target object can be a user object or a virtual object created by a user or a platform that supports conversational interaction. That is, the first conversation window 205 can be used to support conversational interaction between the current user and any object that supports conversation.
[0039] In some embodiments, the current user can be a customer service object associated with the application 120, and the target object can be a user in the application 120. In some embodiments, the target conversation can be a conversation between the target object and the customer service object.
[0040] In some embodiments, the target conversation can be a one-on-one conversation between the current user and the target object. Alternatively, the target conversation can also be a group conversation, that is, the target conversation further includes at least one participant different from the target object and the current user. As an example, the conversation interface 200A can present a conversation within a group that includes more than two members, and the group can include multiple conversation participants.
[0041] In some embodiments, with continued reference to FIG. 2A, the electronic device 110 can further present, in the conversation interface 200A, a second conversation window 210 with a virtual object that is different from the target object. In some embodiments, the virtual object can be a digital assistant that supports conversational functions.
[0042] In some embodiments, the electronic device 110 can present, in the second conversation window, a second message from the virtual object based on a first message received from the target object in the target conversation, the second message being generated by the virtual object based on the first message.
[0043] In some embodiments, the electronic device 110 can trigger the virtual object to generate a second message based on the first message in response to receiving the first message in the target conversation. As an example, the electronic device 110 can present the second message 207-1 from the virtual object in the second conversation window 210 based on the first message 206-1 in the first conversation window 205, as illustrated in the conversation interface 200A of FIG. 2A.
[0044] In some embodiments, the electronic device 110 can trigger the virtual object to generate a second message based on the first message in response to the first message received in the target conversation satisfying a preset condition. Such a preset condition can be associated with the syntax information or the semantic information of the first message. For example, such a preset condition can include the first message containing a specific keyword, the number of words of the first message exceeding a threshold, and the like.
[0045] In some embodiments, with continued reference to FIG. 2A, the electronic device 110 can also present the second message from the virtual object in the second conversation window 210 based on a preset operation in response to receiving the preset operation for the first message (e.g., the first message 206-1) in the first conversation window. As an example, the preset operation here can be a tap, a long press, a drag into the second conversation window 210, and the like on the first message 206-1.
[0046] In some embodiments, the electronic device 110 can also present a fourth message generated by the virtual object based on a third message in the second conversation window 210 in response to receiving the new third message in the target conversation. As an example, the electronic device 110 can present the fourth message 207-2 generated by the virtual object based on the third message 206-2 in the second conversation window 210 based on the third message 206-2 in the first conversation window 205. It can be understood that the third message and the first message are both messages received from the target object in the target conversation, and the third message is referred to here only to distinguish from the first message (the first received message) when there are multiple messages in the target conversation. Therefore, the description of the first message in this disclosure can be considered as the description of all messages received from the target object in the target conversation including the third message, and by analogy, the description of the second message can also be considered as including the description of the fourth message.
[0047] In some embodiments, the second message can include context information associated with the first message. As an example, the context information can include the subject of the first message, the notification content, and other information associated with the first message, and the specific content of the context information is not limited in this disclosure. In some embodiments, with continued reference to FIG. 2A, the electronic device 110 can provide a set of preset fields in the second message 207-1, which are determined based on the first message.
[0048] As an example, as shown in the second conversation window 210 of FIG. 2A, the set of preset fields provided by the electronic device 110 in the second message 207-1 can include: first message content, reference information, appeal, solution, notification title, notification content, recommended solution / reply phrase, and other content, etc.
[0049] It can be understood that a person skilled in the art can freely set the specific content of the preset field according to the needs, which is only exemplarily described herein, and the present disclosure does not limit the specific content of the preset field.
[0050] In some embodiments, the electronic device 110 can provide the suggestion content generated based on the first message in the second message 207-1, and the suggestion content can include the candidate reply content for the first message and / or the suggestion operation for the first message. It can be understood that the candidate reply content for the first message and / or the suggestion operation for the first message can provide a reference for the current user to reply to the first message of the target object.
[0051] In some embodiments, the electronic device 110 can receive the adjustment of the context information associated with the first message by the current user.
[0052] In some embodiments, referring to the conversation interface 200B of FIG. 2B, the electronic device 110 can provide a plurality of preset controls in the second message 207. The electronic device 110 can present preset content (based on preset logic, display a target content among a plurality of contents associated with the preset control) in the preset control, and the preset content can indicate the context information associated with the first message. Further, the electronic device 110 can present a plurality of options associated with the preset control in response to the triggering of the preset control. The electronic device 110 can present an updated second message based on a target option among the plurality of options in response to receiving the selection of the target option by the current user, thereby achieving the adjustment of the context information associated with the first message.
[0053] As an example, as shown in FIG. 2B, in the second conversation window 210, the electronic device 110 provides the preset control 208-1 and the preset control 208-2 in the second message 207. Exemplarily, the electronic device 110 can present a plurality of solution options (for example, AAAAAAAAAAA, BBBBBBBBBBBB, CCCCC in FIG. 2B respectively represent different solution options) associated with the solution preset control in response to the triggering of the preset control 208-2. The electronic device 110 receives the selection of the solution option associated with BBBBBBBBBBBB by the user, and presents the solution BBBBBBBBBBBB in the preset control 208-2 in the second conversation window 210.
[0054] In some embodiments, the electronic device 110 can provide, in the second message 207-1, updated suggestion content generated based on the adjusted contextual information. As an example, as shown in the second conversation window 210 of FIG. 2B, the electronic device 110 can present, based on the adjusted scheme option content 208-2, updated suggestion content 208-3 (corresponding to candidate reply content for the first message) generated based on the adjusted contextual information.
[0055] In some embodiments, the electronic device 110 can provide, in the second message, at least one suggestion operation for the first message. Further, the electronic device 110 can trigger, in response to a selection of a target operation among the at least one suggestion operation by the current user, execution of the target operation. As an example, as shown in the conversation interface 200C of FIG. 2C, the electronic device 110 can provide, in the second message 207-1, a suggestion operation 208-4 (e.g., operation A). Further, the electronic device 110 can execute, in response to a trigger of the suggestion operation 208-4, operation A on behalf of the current user in the first conversation window 205.
[0056] It should be noted that the suggestion operation described herein is merely illustrative, and more suggestion operations can be provided by the virtual object in the second message according to the needs of the related technicians, for example, the suggestion operation can also be sending a link, media content, etc. associated with the first message, and the disclosure does not limit the specific content of the suggestion operation.
[0057] In some embodiments, referring to FIG. 2D, the electronic device 110 can present, in the second conversation window 210, at least one interaction option for at least part of the first message 206 based on a selection of the at least part of the first message 206 by the current user. In some embodiments, the at least one interaction option can include a plurality of interaction options corresponding to different content themes (that is, the interaction options presented can be different according to different content themes).
[0058] As an example, as shown in the conversation interface 200D of FIG. 2D, the electronic device 110 can present, in the second conversation interface 210, an interaction window 215 associated with the at least part of the first message 206 in response to a selection of the at least part of the first message 206 by the current user. The electronic device 110 can provide, in the interaction window 215, a generate reply interaction option 215-1 and a scene positioning interaction option 215-2.
[0059] In some embodiments, with continued reference to FIG. 2D, the electronic device 110 can send, to the virtual object, a first query message corresponding to the target interaction option in the at least one interaction option based on the user’s selection of the target interaction option. Further, the electronic device 110 can present, in the second conversation window 210, a second message corresponding to the first query message as a reply to the first query message. As an example, as the second conversation window 210 of FIG. 2D, the electronic device 110 can send, to the virtual object, a first query message 216-1 corresponding to the scene positioning interaction option 215-2 in the second conversation interface in response to the user’s triggering of the scene positioning interaction option 215-2. Further, the electronic device 110 can present, in the second conversation window 210, a second message 216-2 in which the virtual object replies to the first query message 216-1.
[0060] In some embodiments, with reference to FIG. 2E, the electronic device 110 can provide, in the second conversation interface 210, reference information associated with the target object, the reference information being generated based on historical conversations with the target object. As an example, as the conversation interface 200E of FIG. 2E, the electronic device 110 can provide, in the second conversation interface 210, reference information 220 associated with the target object. As an example, the reference information 220 can include historical target conversation content with the target object (e.g., which can be displayed as Last Session in FIG. 2E). The reference information 220 can also include a summary of current target conversation content with the target object (e.g., which can be displayed as Current Session in FIG. 2E). It can be appreciated that when there is no historical target conversation with the target object by the current user, the reference information 220 can only include the summary of current target conversation content with the target object.
[0061] In some embodiments, the electronic device 110 can also present, based on the update of the target conversation, a summary of current target conversation content with the target object in the reference information that is updated in real time by the virtual object.
[0062] In some embodiments, the electronic device 111 can also present, in the reference information 220, description information associated with the virtual object, the description information being used to describe the capability of the virtual object in message processing, e.g., a function introduction of the virtual object.
[0063] In some embodiments, with reference to FIG. 2F, the electronic device 110 can also provide, in the second conversation window 210 in the conversation interface 200F of FIG. 2F, an input control 225. Further, the electronic device 110 can generate, in the second conversation window 210, a second query message 216-3 to the virtual object in response to input content of the current user’s input received from the input control 225. Further, the electronic device 110 can present, in the second conversation window 210, a reply message 216-4 generated by the virtual object to the second query message.
[0064] It can be understood that the current user can input content (which can be content associated with the first message or other content) through the input control 225, send a query request to the virtual object, and obtain reply content of the virtual object based on the input content.
[0065] In some embodiments, with continued reference to FIG. 2E, the electronic device 110 can provide a set of interaction controls in the second conversation window 210. As an example, as shown in the conversation interface 200E of FIG. 2E, the electronic device 110 can provide a set of interaction controls 230 in the second conversation window. By way of example, the set of interaction controls 230 can include a scene recognition control 230-1 (associated with scene recognition of the second message 207-1), a question positioning control 230-2 (associated with question positioning of the second message 207-1), and a recommended reply control 230-3 (associated with recommended reply content of the second message 207-1). Notably, the specific interaction controls included in the set of interaction controls 230 here are by way of example only, and the present disclosure does not limit the specific interaction controls.
[0066] In some embodiments, the electronic device 110 can present, in the second conversation window 210, a response message from the virtual object in response to receiving a selection of a target control in the set of interaction controls 230, the subject of the response message corresponding to the target control, and the response message being generated based on at least the second message in the second conversation window. As an example, as shown in the conversation interface 200E of FIG. 2E, the electronic device 110 can present, in the second conversation window 210, a response message from the virtual object for the scene recognition control 230-1 in response to receiving a selection of the scene recognition control 230-1, the response message being the scene recognition content associated with the second message 207-1.
[0067] Based on the above-described interaction process, embodiments of the present disclosure are able to provide, in a conversation interface, a conversation window of a user with a target object and a virtual object at the same time, and are able to generate and provide a corresponding message from the virtual object according to a message with the target object, to help the user improve the efficiency of message processing.
[0068] Example processes
[0069] FIG. 3 illustrates a flowchart of an example process 300 of message processing, according to some embodiments of the present disclosure. The process 300 can be implemented at the electronic device 110. The process 300 is described below with reference to FIG. 1.
[0070] As shown in FIG. 3, at block 310, the electronic device 110 can present a conversation interface, the conversation interface including a first conversation window for presenting messages in a first conversation with a target object.
[0071] At block 320, the electronic device 110 can present, in the conversation interface, a second conversation window with a virtual object that is different from the target object.
[0072] At block 330, the electronic device 110 can present, in the second conversation window, a second message from the virtual object based on a first message received from the target object in the first conversation, the second message being generated by the virtual object based on the first message.
[0073] In some embodiments, presenting, in the second conversation window, the second message from the virtual object based on the first message received from the target object in the target conversation includes: in response to receiving the first message in the target conversation, triggering the virtual object to generate the second message based on the first message; and presenting the second message in the second conversation window.
[0074] In some embodiments, the process 300 further includes: in response to receiving a new third message in the target conversation, presenting, in the second conversation window, a fourth message generated by the virtual object based on the third message.
[0075] In some embodiments, triggering the virtual object to generate the second message based on the first message in response to receiving the first message in the target conversation includes: in response to the received first message satisfying a preset condition, triggering the virtual object to generate the second message based on the first message.
[0076] In some embodiments, presenting, in the second conversation window, the second message from the virtual object based on the first message received from the target object in the target conversation includes: receiving, in the first conversation window, a preset operation for the first message; and based on the preset operation, presenting, in the second conversation window, the second message from the virtual object.
[0077] In some embodiments, presenting, in the second conversation window, the second message from the virtual object based on the first message received from the target object in the target conversation includes: based on selection of at least part of the first message, presenting, in the second conversation window, at least one interaction option for the at least part of the first message; and based on selection of a target interaction option among the at least one interaction option, presenting, in the second conversation window, the second message from the virtual object.
[0078] In some embodiments, presenting, in the second conversation window, the second message from the virtual object based on selection of the target interaction option among the at least one interaction option includes: based on selection of the target interaction option among the at least one interaction option, sending, to the virtual object, a first query message corresponding to the target interaction option; and presenting, in the second conversation window, a second message corresponding to the first query message as a reply to the first query message.
[0079] In some embodiments, the at least one interaction option includes a plurality of interaction options corresponding to different content topics.
[0080] In some embodiments, the second message includes context information associated with the first message.
[0081] In some embodiments, the second message includes a set of preset fields for describing the context information, and the set of preset fields is determined based on the first message.
[0082] In some embodiments, the second message includes suggested content generated based on the first message, the suggested content including candidate reply content for the first message or suggested operation for the first message, the process 300 further includes receiving an adjustment to the context information, and providing updated suggested content generated based on the adjusted context information.
[0083] In some embodiments, the second message includes candidate reply content for the first message.
[0084] In some embodiments, the process 300 further includes generating, in the first conversation window, a reply message for the first message based on a selection of the candidate reply content.
[0085] In some embodiments, the second message includes at least one suggested operation for the first message.
[0086] In some embodiments, the process 300 further includes triggering execution of a target operation in the at least one suggested operation based on a selection of the target operation.
[0087] In some embodiments, the process 300 further includes providing, in the second conversation window, reference information associated with the target object, the reference information being generated based on historical conversations with the target object.
[0088] In some embodiments, the second conversation window further includes an input control, the method further includes generating a second query message to the virtual object based on input content received by the input control, and providing, in the second conversation window, a reply message for the second query message.
[0089] In some embodiments, the second conversation window further includes a set of interaction controls, the method further includes receiving a selection of a target control in the set of interaction controls, and presenting, in the second conversation window, a response message from the virtual object, wherein a topic of the response message corresponds to the target control, and the response message is generated based on at least the second message in the second conversation window.
[0090] In some embodiments, the target conversation is a conversation between the target object and a customer service object.
[0091] In some embodiments, the target session further includes at least one participant different from the target object and the current user.
[0092] Example apparatus and device
[0093] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above method or process. FIG. 4 shows a schematic structural block diagram of an example apparatus 400 for message processing according to certain embodiments of the present disclosure. The apparatus 400 can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 400 can be implemented by hardware, software, firmware, or any combination thereof.
[0094] As shown in FIG. 4, the apparatus 400 includes a first presentation module 410 configured to present a session interface, the session interface including a first session window for presenting a message in a target session with a target object; a second presentation module 420 configured to present, in the session interface, a second session window with a virtual object different from the target object; and a generation module 430 configured to present, in the second session window, a second message from the virtual object based on a first message received from the target object in the target session, the second message being generated by the virtual object based on the first message.
[0095] In some embodiments, the generation module 430 is further configured to present, in the second session window, the second message from the virtual object based on the first message received from the target object in the target session includes: in response to receiving the first message in the target session, triggering the virtual object to generate the second message based on the first message; and presenting the second message in the second session window.
[0096] In some embodiments, the generation module 430 is further configured to present, in the second session window, a fourth message generated by the virtual object based on a third message in response to receiving the new third message in the target session.
[0097] In some embodiments, the generation module 430 is further configured to trigger the virtual object to generate the second message based on the first message in response to receiving the first message in the target session includes: in response to the received first message satisfying a preset condition, triggering the virtual object to generate the second message based on the first message.
[0098] In some embodiments, the generation module 430 is further configured to present, in the second session window, the second message from the virtual object based on the first message received from the target object in the target session includes: receiving, in the first session window, a preset operation for the first message; and presenting, in the second session window, the second message from the virtual object based on the preset operation.
[0099] In some embodiments, the generating module 430 is further configured to present the second message from the virtual object in the second conversation window based on the first message received from the target object in the target conversation includes: presenting at least one interaction option with the at least part of the first message in the second conversation window based on the selection of the at least part of the first message; and presenting the second message from the virtual object in the second conversation window based on the selection of a target interaction option among the at least one interaction option.
[0100] In some embodiments, the generating module 430 is further configured to present the second message from the virtual object in the second conversation window based on the selection of the target interaction option among the at least one interaction option includes: sending a first query message corresponding to the target interaction option to the virtual object based on the selection of the target interaction option among the at least one interaction option; and presenting a second message corresponding to the first query message in the second conversation window as a reply to the first query message.
[0101] In some embodiments, the generating module 430 is further configured to the at least one interaction option includes a plurality of interaction options corresponding to different content topics.
[0102] In some embodiments, the generating module 430 is further configured to the second message includes context information associated with the first message.
[0103] In some embodiments, the generating module 430 is further configured to the second message includes a set of preset fields for describing the context information, and the set of preset fields is determined based on the first message.
[0104] In some embodiments, the generating module 430 is further configured to the second message includes suggestion content generated based on the first message, the suggestion content includes candidate reply content for the first message or suggestion operation for the first message, receive adjustment for the context information; and provide updated suggestion content generated based on the adjusted context information.
[0105] In some embodiments, the generating module 430 is further configured to the second message includes candidate reply content for the first message.
[0106] In some embodiments, the generating module 430 is further configured to generate a reply message for the first message in the first conversation window based on the selection of the candidate reply content.
[0107] In some embodiments, the generating module 430 is further configured to the second message includes at least one suggestion operation for the first message.
[0108] In some embodiments, the generation module 430 is further configured to trigger execution of the target operation based on the selection of the target operation in the at least one suggested operation.
[0109] In some embodiments, the second presentation module 420 is further configured to provide, in the second session window, reference information associated with the target object, the reference information being generated based on historical sessions with the target object.
[0110] In some embodiments, the second presentation module 420 is further configured to: the second session window further includes an input control, generate a second query message to the virtual object based on input content received by the input control; and provide, in the second session window, a reply message to the second query message.
[0111] In some embodiments, the second presentation module 420 is further configured to: the second session window further includes a set of interaction controls, receive a selection of a target control in the set of interaction controls; and present, in the second session window, a response message from the virtual object, wherein a subject of the response message corresponds to the target control and the response message is generated based on at least the second message in the second session window.
[0112] In some embodiments, the first presentation module 410 is further configured to: the target session is a session between the target object and a customer service object.
[0113] In some embodiments, the first presentation module 410 is further configured to: the target session further includes at least one participant different from the target object and the current user.
[0114] FIG. 5 illustrates a block diagram of an electronic device 500 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 500 illustrated in FIG. 5 is merely exemplary and should not be construed as limiting on the functionality and scope of the embodiments described herein. The electronic device 500 illustrated in FIG. 5 can be used to implement the electronic device 110 of FIG. 1.
[0115] As shown in FIG. 5, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 can include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 730, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 can be an actual or virtual processor and is capable of performing various processing according to programs stored in the memory 520. In a multi-processor system, multiple processing units perform computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0116] 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.
[0117] 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.
[0118] The communication unit 540 enables communication with other electronic devices over communication media. 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 communication over a communication connection. Thus, 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.
[0119] 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).
[0120] 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.
[0121] 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.
[0122] 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.
[0123] 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.
[0124] 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, cellular phone infrastructure, or computer bus or network. Such a signal can also be provided as a computer readable (storage) medium, for example a compact disk, a DVD, a Blu-ray disk, a memory stick, a memory card, or a USB stick. 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, cellular phone infrastructure, or computer bus or network. Such a signal can also be provided as a computer readable (storage) medium, for example a compact disk, a DVD, a Blu-ray disk, a memory stick, a memory card, or a USB stick.
[0125] Having described several implementations of the present disclosure, it will be clear to those of ordinary skill in the art that many modifications can be made to the described implementations without departing from the scope and spirit of the described implementations. In some instances, well-known steps have not been described in detail in order to avoid obscuring the present disclosure. No limitation is intended to the details of the described implementations, which can also include techniques other than those explicitly described to provide the features and benefits described in this disclosure. Further, each of the implementations discussed above can be used independently or in combination with other implementations discussed above.
Claims
1. A message processing method, comprising: Presenting a conversation interface, the conversation interface including a first conversation window, the first conversation window being used to present messages in a target conversation with a target object; presenting a second conversation window with a virtual object in the conversation interface, where the virtual object is different from the target object; as well as Based on a first message received from the target object in the target conversation, a second message from the virtual object is presented in the second conversation window, where the second message is generated by the virtual object based on the first message.
2. The method of claim 1 , wherein presenting a second message from the virtual object in the second conversation window based on the first message received from the target object in the target conversation comprises: In response to receiving the first message in the target session, triggering the virtual object to generate a second message based on the first message; as well as The second message is presented in the second conversation window.
3. The method according to claim 2, further comprising: In response to receiving a new third message in the target conversation, presenting a fourth message generated by the virtual object based on the third message in the second conversation window.
4. The method of claim 2, wherein triggering the virtual object to generate a second message based on the first message in response to receiving the first message in the target session comprises: In response to the received first message meeting a preset condition, the virtual object is triggered to generate the second message based on the first message.
5. The method of claim 1 , wherein presenting a second message from the virtual object in the second conversation window based on the first message received from the target object in the target conversation comprises: receiving, in the first conversation window, a preset operation for the first message; as well as Based on the preset operation, the second message from the virtual object is presented in the second conversation window.
6. The method of claim 1 , wherein presenting a second message from the virtual object in the second conversation window based on the first message received from the target object in the target conversation comprises: Based on the selection of at least a portion of the first message, presenting at least one interaction option with the at least a portion of the first message in the second conversation window; as well as Based on a selection of a target interaction option among the at least one interaction option, the second message from the virtual object is presented in the second conversation window.
7. The method according to claim 6, wherein presenting the second message from the virtual object in the second conversation window based on selection of a target interaction option among the at least one interaction option comprises: Based on the selection of a target interaction option among the at least one interaction option, sending a first query message corresponding to the target interaction option to the virtual object; as well as The second message corresponding to the first query message is presented in the second conversation window as a reply to the first query message. The method of claim 6 , wherein the at least one interaction option comprises a plurality of interaction options corresponding to different content themes.
9. The method of claim 1, wherein the second message includes context information associated with the first message. 10 . The method according to claim 9 , wherein the second message comprises a set of preset fields for describing the context information, and the set of preset fields is determined based on the first message.
11. The method according to claim 9, wherein the second message includes suggested content generated based on the first message, the suggested content including candidate reply content for the first message or a suggested action for the first message, the method further comprising: receiving an adjustment to the context information; as well as Provide updated suggested content generated based on the adjusted context information.
12. The method of claim 1, wherein the second message includes candidate reply content to the first message.
13. The method according to claim 12, further comprising: Based on the selection of the candidate reply content, a reply message to the first message is generated in the first conversation window. The method of claim 1 , wherein the second message includes at least one suggested action for the first message.
15. The method according to claim 14, further comprising: Based on the selection of a target operation from the at least one suggested operation, execution of the target operation is triggered.
16. The method according to claim 1, further comprising: Reference information associated with the target object is provided in the second conversation window, where the reference information is generated based on a historical conversation with the target object.
17. The method according to claim 1, wherein the second session window further comprises an input control, the method further comprising: generating a second query message to the virtual object based on the input content received by the input control; as well as A reply message to the second query message is provided in the second conversation window.
18. The method according to claim 1, wherein the second conversation window further comprises a set of interactive controls, the method further comprising: receiving a selection of a target control from the set of interactive controls; as well as A response message from the virtual object is presented in the second conversation window, wherein a subject of the response message corresponds to the target control, and the response message is generated based on at least the second message in the second conversation window. The method according to claim 1 , wherein the target conversation is a conversation between the target object and a customer service object.
20. The method of claim 1, wherein the target conversation further includes at least one participant other than the target object and the current user.
21. A device for message processing, comprising: a first presentation module configured to present a conversation interface, the conversation interface including a first conversation window, the first conversation window being used to present messages in a target conversation with a target object; a second presentation module configured to present a second conversation window with a virtual object in the conversation interface, where the virtual object is different from the target object; as well as A generating module is configured to present a second message from the virtual object in the second conversation window based on a first message received from the target object in the target conversation, where the second message is generated by the virtual object based on the first message.
22. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 20 when executed by the at least one processing unit.
23. A computer-readable storage medium having a computer program stored thereon, wherein the computer program is executable by a processor to implement the method according to any one of claims 1 to 20.
24. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 20.
Citation Information
Patent Citations
Information processing method and device
CN113315693A
Online consultation processing method and device and computer equipment
CN114239604A
Data processing method and device, computer equipment and storage medium
CN116795955A
Content interaction method and device, equipment and storage medium
CN117170550A
Interaction method and device, equipment and storage medium
CN117618894A