Message sending method and device, equipment and storage medium
By displaying a quick operation panel on the conversation interface and providing candidate reply messages, users can send them by selecting them, which solves the problem of long interaction paths in the existing technology and achieves efficient conversation message replies.
Patent Information
- Application Number
- CN202510954586.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-10
- Publication Date
- 2025-10-03
AI Technical Summary
When replying to a conversation message, users need to manually enter the reply message, which results in a long interaction path and low efficiency.
A quick operation panel is displayed on the conversation interface, providing multiple candidate reply messages. Users can select one of them to send, including emoticon images, preset reply messages, and reply messages generated by artificial intelligence.
It reduces the number of interactive operation steps and improves the efficiency of human-computer interaction. Users can quickly reply to conversation messages without manual input.
Smart Images

Figure CN120750894A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of multimedia technology, and in particular to a message sending method, apparatus, device, and storage medium. Background Art
[0002] With the development of multimedia technology, more and more applications offer conversational features, such as allowing users to engage in conversations with others through in-app chat interfaces. Users often need to send replies to incoming messages. However, to reply to a message, users must first open a virtual keyboard, enter their reply, and confirm the reply before sending it. This long interaction path leads to low interaction efficiency. Summary of the Invention
[0003] The present disclosure provides a message sending method, apparatus, device, and storage medium, which reduces the number of operation steps and improves the efficiency of human-computer interaction. The technical solution of the present disclosure is as follows.
[0004] According to one aspect of an embodiment of the present disclosure, a message sending method is provided, the method comprising:
[0005] Displaying a conversation interface between a first object and a second object, wherein the conversation interface includes at least one conversation message, and the first object is a terminal login object;
[0006] In response to a selection operation on a first conversation message among the at least one conversation message, displaying a quick operation panel for the first conversation message, wherein at least one candidate reply message for the first conversation message is displayed on the quick operation panel;
[0007] In response to a selection operation of a first reply message among the at least one candidate reply message, the first reply message is sent to the second object.
[0008] In some embodiments, the at least one candidate reply message includes at least one of the following:
[0009] At least one expression image that meets preset conditions;
[0010] at least one reply message set by the first object;
[0011] At least one reply message to the first conversation message generated by artificial intelligence.
[0012] In some embodiments, the expression image that meets the preset condition includes at least one of the following:
[0013] Send emoticons that have reached a preset number of times;
[0014] An emoticon image that semantically matches the reply message generated by the artificial intelligence.
[0015] In some embodiments, the method further comprises: in response to a selection operation on a first conversation message in the at least one conversation message, displaying a message list, the message list including conversation messages in the at least one conversation message that are semantically associated with the first conversation message;
[0016] In response to a selection operation on the second conversation message in the message list, the displayed reply message generated by the artificial intelligence is updated, and the updated reply message is a reply message generated by the artificial intelligence based on the second conversation message to the first conversation message.
[0017] In some embodiments, the method further comprises:
[0018] In response to a selection operation on multiple candidate reply messages from the at least one candidate reply message, a target reply message is generated based on the multiple candidate reply messages, and the target reply message is sent to the second object.
[0019] In some embodiments, the method further comprises:
[0020] In response to a selection operation on a first conversation message among the at least one conversation message, information other than the first conversation message on the conversation interface is canceled from being displayed.
[0021] In some embodiments, the quick operation panel displaying the first conversation message includes:
[0022] A mask is displayed on the conversation interface, and the quick operation panel is displayed on the mask.
[0023] In some embodiments, the method further comprises at least one of the following:
[0024] Displaying the first conversation message in an enlarged manner on the quick operation panel;
[0025] Displaying a dynamic special effect of the first conversation message on the quick operation panel;
[0026] The first conversation message is displayed at a corresponding position of the quick operation panel, and a distance between the corresponding position and the quick operation panel is less than a preset distance.
[0027] In some embodiments, the method further comprises:
[0028] In response to a selection operation on a first conversation message in the at least one conversation message, displaying a message input box;
[0029] In response to a confirmation operation on the reply message input in the message input box, the input reply message is sent to the second object.
[0030] In some embodiments, the method further comprises:
[0031] At least one interactive control for the first conversation message is displayed on the quick operation panel.
[0032] According to another aspect of an embodiment of the present disclosure, a message sending device is provided, the device comprising:
[0033] A first display unit is configured to display a conversation interface between a first object and a second object, wherein the conversation interface includes at least one conversation message, and the first object is a terminal login object;
[0034] a second display unit configured to, in response to a selection operation on a first conversation message in the at least one conversation message, display a quick operation panel for the first conversation message, wherein at least one candidate reply message for the first conversation message is displayed on the quick operation panel;
[0035] The sending unit is configured to execute a selection operation on the first reply message in the at least one candidate reply message and send the first reply message to the second object.
[0036] In some embodiments, the at least one candidate reply message includes at least one of the following:
[0037] At least one expression image that meets preset conditions;
[0038] at least one reply message set by the first object;
[0039] At least one reply message to the first conversation message generated by artificial intelligence.
[0040] In some embodiments, the expression image that meets the preset condition includes at least one of the following:
[0041] Send emoticons that have reached a preset number of times;
[0042] An emoticon image that semantically matches the reply message generated by the artificial intelligence.
[0043] In some embodiments, the second display unit is further configured to perform:
[0044] In response to a selection operation on a first conversation message in the at least one conversation message, displaying a message list, the message list including conversation messages in the at least one conversation message that are semantically associated with the first conversation message;
[0045] In response to a selection operation on the second conversation message in the message list, the displayed reply message generated by the artificial intelligence is updated, and the updated reply message is a reply message generated by the artificial intelligence based on the second conversation message to the first conversation message.
[0046] In some embodiments, the sending unit is further configured to execute:
[0047] In response to a selection operation on multiple candidate reply messages from the at least one candidate reply message, a target reply message is generated based on the multiple candidate reply messages, and the target reply message is sent to the second object.
[0048] In some embodiments, the first display unit is further configured to perform:
[0049] In response to a selection operation on a first conversation message among the at least one conversation message, information other than the first conversation message on the conversation interface is canceled from being displayed.
[0050] In some embodiments, the second display unit is configured to perform the following steps:
[0051] A mask is displayed on the conversation interface, and the quick operation panel is displayed on the mask.
[0052] In some embodiments, the second display unit is further configured to perform at least one of the following:
[0053] Displaying the first conversation message in an enlarged manner on the quick operation panel;
[0054] Displaying a dynamic special effect of the first conversation message on the quick operation panel;
[0055] The first conversation message is displayed at a corresponding position of the quick operation panel, and a distance between the corresponding position and the quick operation panel is less than a preset distance.
[0056] In some embodiments, the second display unit is further configured to display a message input box in response to a selection operation on a first conversation message in the at least one conversation message;
[0057] The sending unit is further configured to execute a confirmation operation on the reply message input in the message input box, and send the input reply message to the second object.
[0058] In some embodiments, the second display unit is further configured to perform:
[0059] At least one interactive control for the first conversation message is displayed on the quick operation panel.
[0060] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device including:
[0061] processor;
[0062] a memory for storing instructions executable by the processor;
[0063] The processor is configured to execute the instructions to implement the above-mentioned message sending method.
[0064] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the above-mentioned message sending method.
[0065] According to another aspect of an embodiment of the present disclosure, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements the above-mentioned message sending method.
[0066] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
[0067] In an embodiment of the present disclosure, when a user selects any conversation message on a conversation interface, a quick operation panel for the conversation message is displayed, and a plurality of candidate reply messages for the first conversation message are provided on the quick operation panel. When the user selects any candidate reply message, the candidate reply message is sent, thereby implementing a quick reply to the first conversation message. In this way, when replying to any conversation message, the user does not need to manually enter a reply message, thereby reducing interactive operations and improving interaction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.
[0069] Figure 1 It is a schematic diagram showing an implementation environment according to an exemplary embodiment.
[0070] Figure 2 The figure is a flowchart of a message sending method according to an exemplary embodiment.
[0071] Figure 3 The figure is a flowchart of another message sending method according to an exemplary embodiment.
[0072] Figure 4The figure is a schematic diagram showing a quick operation panel according to an exemplary embodiment.
[0073] Figure 5 The figure is a flowchart of message sending according to an exemplary embodiment.
[0074] Figure 6 The figure is a schematic diagram showing a quick operation panel according to an exemplary embodiment.
[0075] Figure 7 It is a schematic diagram of a mask interface according to an exemplary embodiment.
[0076] Figure 8 The figure is a flowchart of message sending according to an exemplary embodiment.
[0077] Figure 9 The figure is a block diagram of a device for sending a message according to an exemplary embodiment.
[0078] Figure 10 It is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0079] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0080] It should be noted that the terms "first," "second," and the like in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure as detailed in the appended claims.
[0081] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, and display, etc.), and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the conversation messages and reply messages involved in this disclosure are all obtained with full authorization.
[0082] The message sending method provided by the embodiment of the present disclosure can be executed by an electronic device, and the electronic device can be provided as at least one of a terminal and a server. Figure 1 This is a schematic diagram of an implementation environment provided by the embodiment of the present disclosure, see Figure 1 , the implementation environment includes: a terminal 101 and a server 102. In the embodiment of the present disclosure, a target application is installed on the terminal 101, and the target application provides a conversation function. Users can have conversations with others through the conversation interface within the application. Conversation messages on the conversation interface include but are not limited to messages in the form of text, voice, pictures, and videos. The target application can be any application that provides a conversation function, such as a shopping application, a news application, a search application, a video application, and a social application, and is not specifically limited here. Server 102 is the background server of the target application and can provide background services for the conversation function of the terminal 101.
[0083] In some embodiments, when the user selects any conversation message on the conversation interface to reply, the terminal 101 displays a quick operation panel for the conversation message, and the quick operation panel displays at least one candidate reply message for the conversation message. The user selects any candidate reply message to directly send the reply message to the conversation object, that is, quickly reply to the conversation message based on the reply message.
[0084] Terminal 101 can be at least one of a smartphone, smartwatch, desktop computer, laptop computer, virtual reality terminal, augmented reality terminal, wireless terminal, and laptop computer. Terminal 101 has a communication function and can access a wired network or a wireless network. Terminal 101 can generally refer to one of multiple terminals. Those skilled in the art will appreciate that the number of terminals can be greater or lesser. Server 102 can be an independent physical server, or a server cluster or distributed file system consisting of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, server 102 is directly or indirectly connected to terminal 101 via wired or wireless communication, which is not limited in this embodiment of the present disclosure. Optionally, the number of servers 102 can be greater or lesser, which is not limited in this embodiment of the present disclosure. Of course, server 102 can also include other functional servers to provide more comprehensive and diverse services. Among them, the server 102 undertakes the main computing work, and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work, and the terminal 101 undertakes the main computing work; or, the server 102 or the terminal 101 can each undertake the computing work independently, and the embodiments of the present disclosure do not limit this.
[0085] Figure 2 FIG. 1 is a flow chart showing a message sending method according to an exemplary embodiment. Figure 2 As shown, the method is executed by the terminal, and the method includes the following steps.
[0086] In step S201, the terminal displays a conversation interface between a first object and a second object, the conversation interface including at least one conversation message, and the first object is a terminal login object.
[0087] In the disclosed embodiments, a conversation interface is used by a first party to conduct a conversation with a second party. A terminal can use the conversation interface to send conversation messages to the second party and receive conversation messages from the second party. Conversation messages include, but are not limited to, text, voice, image, and video messages.
[0088] In the embodiment of the present disclosure, the conversation interface may be an interface within any application having a conversation function.
[0089] In step S202, in response to a selection operation on a first conversation message in at least one conversation message, the terminal displays a quick operation panel of the first conversation message, where at least one candidate reply message for the first conversation message is displayed.
[0090] In the embodiments of the present disclosure, the first conversation message may be any one of the at least one conversation messages, and may be sent by the first party or the second party. The selection operation for any conversation message may be a click, long press, or swipe operation on the conversation message, and is not specifically limited herein.
[0091] The at least one candidate reply message is a message provided by the first party for quickly replying to the first conversation message. Each candidate reply message can be a message in the form of text, voice, picture, emoticon or video, or a message including multiple media formats, which is not specifically limited here.
[0092] In step S203, in response to the selection operation of the first reply message in the at least one candidate reply message, the terminal sends the first reply message to the second object.
[0093] In the embodiment of the present disclosure, the first reply message may be any one of the at least one candidate reply message. The selection operation for any candidate reply message may be a click operation, a long press operation, a sliding operation, or a drag operation on the candidate reply message, which is not specifically limited here.
[0094] For example, if the selection operation for the first reply message is a drag operation on the first reply message, it can also be to drag the first reply message to the conversation interface, or to drag the first reply message to the target area on the quick operation panel, thereby realizing a quick reply to the first conversation message based on the first reply message.
[0095] When the terminal sends a first reply message to the second party, the conversation message corresponding to the first reply message is displayed on the conversation interface. The conversation message includes the first reply message and the first conversation message. Furthermore, the first reply message and the first conversation message are displayed separately, such as by darkening the first reply message, using a larger font than the second conversation message, or displaying the first conversation message above the first reply message.
[0096] In the embodiments of the present disclosure, the method is described by taking the application of the method to a conversation interface between two objects as an example. In other embodiments, the method can also be applied to conversation messages in a group chat interface, which is not specifically limited here.
[0097] In an embodiment of the present disclosure, when a user selects any conversation message on a conversation interface, a quick operation panel for the conversation message is displayed, and a plurality of candidate reply messages for the first conversation message are provided on the quick operation panel. When the user selects any candidate reply message, the candidate reply message is sent, thereby implementing a quick reply to the first conversation message. In this way, when replying to any conversation message, the user does not need to manually enter a reply message, thereby reducing interactive operations and improving interaction efficiency.
[0098] above Figure 2 The following is only the basic process of the present disclosure. The solution provided by the present disclosure is further described based on a specific implementation method. Figure 3 , Figure 3 The flowchart of another message sending method according to an exemplary embodiment is shown. The method is executed by a terminal and includes the following steps.
[0099] In step S301, the terminal displays a conversation interface between a first object and a second object, the conversation interface including at least one conversation message, and the first object is a terminal login object.
[0100] In the embodiment of the present disclosure, step S301 is similar to step S201 and will not be described again here.
[0101] In step S302, in response to a selection operation on a first conversation message in at least one conversation message, the terminal displays a mask on the conversation interface, displays a quick operation panel for the first conversation message on the mask, and displays at least one candidate reply message for the first conversation message on the quick operation panel.
[0102] In the embodiment of the present disclosure, at least one candidate reply message includes at least one of the following.
[0103] (1) At least one expression image that meets the preset conditions.
[0104] The preset conditions can be set as needed. In this embodiment, candidate reply messages are emoticons that meet certain conditions. These emoticons can then be used to conveniently and efficiently reply to conversation messages. This allows users to quickly select an emoticon to reply without leaving the current conversation interface, reducing steps and time. Displaying emoticons on the quick operation panel also provides rich functionality and optimizes interface interaction.
[0105] Optionally, the emoticon images that meet the preset conditions include at least one of the following: an emoticon image that has been sent a preset number of times; an emoticon image that semantically matches the reply message generated by artificial intelligence.
[0106] The number of times sent refers to the number of times the first object sends the emoticon image. Furthermore, the number of times sent can be the number of times the first object sends the emoticon image on the conversation interface with the second object. The preset number of times can be set and changed as needed and is not specifically limited here.
[0107] In this embodiment, if the number of times any emoticon image is sent reaches a preset number, it means that the emoticon image has been sent many times, and thus the first object has a greater probability of sending the emoticon image again, and then the emoticon image is displayed as a candidate reply message, thereby improving the accuracy of the recommended candidate reply message.
[0108] Among them, there can be multiple reply messages generated by artificial intelligence, and the emoticon images that meet the preset conditions can include the emoticon images corresponding to each reply message.
[0109] It should be noted that since emoticons can have certain semantics, after determining the semantics of the reply message, it is possible to match it with the semantics of multiple emoticons to determine an emoticon that matches the semantics of the reply message. For example, if the semantics of the reply message is praise, then an emoticon with the semantics of a like could be a match for the reply message.
[0110] In this embodiment, the emoticon image is semantically matched with the reply message generated by artificial intelligence, and thus the first conversation message can be accurately replied to in a targeted manner based on the emoticon image, thereby improving the accuracy of the emoticon image.
[0111] (2) At least one reply message set by the first object.
[0112] In the disclosed embodiments, the reply message set by the first object can be in various forms such as text, voice, emoticons, etc., and is not specifically limited here. The first object can preset a reply message and can also adjust, modify, or delete the preset reply message, and is not specifically limited here.
[0113] In this embodiment, the first object can freely set the reply message, that is, the first object can set his or her own commonly used phrases, thereby improving the controllability of the reply message by the first object, and can reply with one click through the preset reply message each time, without having to manually enter it each time, which can obviously improve the efficiency of human-computer interaction.
[0114] (3) At least one reply message to the first conversation message generated by artificial intelligence.
[0115] Among them, the reply message generated by artificial intelligence can be a message in various forms such as text, voice, emoticon image, etc., and is not specifically limited here.
[0116] Among them, when a reply message to a first conversation message is generated by artificial intelligence, the artificial intelligence may generate the reply message based solely on the first conversation message, or may generate the reply message in combination with contextual content, such as generating the reply message in combination with a conversation message semantically associated with the first conversation message, or generating the reply message in combination with one or more conversation messages preceding the first conversation message, or generating the reply message in combination with one or more conversation messages following the first conversation message, or generating the reply message in combination with a conversation message whose sending time difference with the first conversation message is no greater than a preset time length, and no specific limitation is made here.
[0117] In this embodiment, artificial intelligence is used to generate a reply message to the first conversation message, which makes the generated reply message more targeted and more accurate. This not only improves the efficiency of replying to conversation messages, but also ensures the accuracy of the reply message.
[0118] In some embodiments, due to the limited display area on the quick operation panel, the candidate reply messages displayed are limited. Optionally, for each type of candidate reply message, a view more control can also be displayed on the quick operation panel, which is triggered to display more candidate reply messages.
[0119] In some embodiments, the three types of candidate reply messages mentioned above are used as examples for explanation. In other embodiments, other types of candidate reply messages may also be included, which are not specifically limited here. Optionally, if multiple types of candidate reply messages are displayed on the quick operation panel, the type identifier of each candidate reply message may also be displayed. For example, for candidate reply messages generated by artificial intelligence, they may be marked "AI", and for reply messages set by the first object, they may be marked "common language".
[0120] Furthermore, different types of candidate reply messages may be displayed in different areas on the quick operation panel, with a type identifier displayed in each area to facilitate user understanding and improve information transmission efficiency.
[0121] For example, see Figure 4 , Figure 4 1 is a schematic diagram of a quick operation panel according to an exemplary embodiment, wherein the quick operation panel displays multiple candidate reply messages 401 and a type identifier 402 of each candidate reply message.
[0122] In some embodiments, in response to a selection operation on a first conversation message among the at least one conversation message, the terminal cancels display of information other than the first conversation message on the conversation interface.
[0123] In this embodiment, an example of displaying an overlay on the conversation interface and then displaying a quick operation panel on the overlay is used for illustration. In other embodiments, the quick operation panel can also be displayed directly on the conversation interface; or a full-screen or half-screen pop-up window can be displayed on the conversation interface, with the quick operation panel displayed on the pop-up window.
[0124] In this embodiment, that is, in response to the selection operation of the first conversation message, the terminal only retains the first conversation message on the conversation interface while displaying the quick operation panel, thereby avoiding interference from other information on the conversation interface, highlighting the first conversation message, and allowing the user to focus on the first conversation message.
[0125] In this embodiment, the quick operation panel is displayed on the mask layer, which can highlight the quick operation panel and improve the visual display effect of the quick operation panel, so that the user can focus on the content on the quick operation panel and avoid interference from other information.
[0126] In some embodiments, the first conversation message is displayed simultaneously with the quick operation panel, and the process includes at least one of the following implementation methods: displaying the first conversation message in an enlarged manner on the quick operation panel; displaying dynamic special effects of the first conversation message on the quick operation panel; and displaying the first conversation message at a corresponding position of the quick operation panel, where the distance between the corresponding position and the quick operation panel is less than a preset distance.
[0127] The enlarged display of the first conversation message on the quick operation panel refers to an enlarged display of the first conversation message compared to the first conversation message displayed on the conversation interface.
[0128] Furthermore, the style of the first conversation message on the quick operation panel may also be different from the style of the first conversation message on the conversation interface, such as font style, color, etc.
[0129] The dynamic special effects of the first conversation message can be set as needed, such as displaying the first conversation message shaking, or displaying the first conversation message flashing, which is not specifically limited here.
[0130] The corresponding position of the quick operation panel can be set as needed, for example, the corresponding position can be the top area, bottom area, left area or right area of the quick operation panel.
[0131] In this embodiment, enlarging the first conversation message or displaying dynamic special effects for the first conversation message on the quick operation panel both effectively highlights the first conversation message and establishes a visual connection between the content on the quick operation panel and the first conversation message, enhancing the connection between the two and facilitating user understanding, thereby improving information transfer efficiency. Displaying the first conversation message near the quick operation panel reduces the user's visual search range, reduces the user's memory burden, and further enhances the display quality of the quick operation panel.
[0132] It should be noted that if a quick operation panel is displayed on the conversation interface, the first conversation message displayed at the corresponding position of the quick operation panel may be the original first conversation message on the conversation interface, and the quick operation panel is displayed at the corresponding position of the first conversation message. The distance between the corresponding position and the first conversation message is less than a preset distance, such as the corresponding position is on the left, right, above or below the first conversation message, etc., which is not specifically limited here.
[0133] In step S303, in response to the selection operation of the first reply message in the at least one candidate reply message, the terminal sends the first reply message to the second object.
[0134] In other embodiments, in response to a selection operation on multiple candidate reply messages in at least one candidate reply message, the terminal generates a target reply message based on the multiple candidate reply messages and sends the target reply message to the second object.
[0135] The target reply message may include the multiple candidate reply messages, which are arranged in the order in which they were selected; or the terminal may arrange the multiple candidate reply messages based on the semantics of the multiple candidate reply messages. In other embodiments, the terminal may also summarize the multiple candidate reply messages to obtain the target reply message, which is not specifically limited here.
[0136] In this embodiment, the user can select multiple candidate reply messages provided by the terminal, and the terminal can also generate a total reply message based on these multiple messages to reply. This ensures the richness of the content in the reply message and does not require more interactive operations, which also ensures the interaction efficiency.
[0137] In some embodiments, the terminal is also capable of generating a reply message to a first conversation message in combination with other conversation messages. The process may include the following steps: in response to a selection operation on a first conversation message in at least one conversation message, the terminal displays a message list, and the message list includes conversation messages in at least one conversation message that are semantically associated with the first conversation message; in response to a selection operation on a second conversation message in the message list, the terminal updates at least one displayed candidate reply message, and the updated at least one candidate reply message is a reply message to the first conversation message generated based on the second conversation message.
[0138] In this embodiment, in response to the selection operation on the first conversation message, the terminal displays the message list while displaying the quick operation panel. Optionally, for each conversation message in the message list, keywords in the conversation message that are semantically associated with the first conversation message may also be highlighted.
[0139] The second conversation message may be any conversation message in the message list. In this embodiment, the selection operation for the second conversation message may be a click operation, a long press operation, a slide operation, a drag operation, etc., which is not specifically limited here.
[0140] In this embodiment, a single conversation message in the message list is selected as an example for explanation. In other embodiments, multiple conversation messages in the message list may be selected, and the updated candidate reply message is a reply message generated based on these multiple conversation messages for the first conversation message.
[0141] In the disclosed embodiment, when artificial intelligence generates a reply message to a first conversation message, the user can also choose which other conversation messages the artificial intelligence should refer to for generation. This improves the user's controllability over the generated reply message and makes the generated reply message more accurate due to more references.
[0142] In some embodiments, the terminal further displays at least one interactive control for the first conversation message on the quick operation panel.
[0143] Among them, at least one interactive control includes at least one of copy, forward, favorite, translate, delete, etc.
[0144] In this embodiment, an interactive control for the first conversation message is also displayed on the quick operation panel. In this way, not only can a quick reply to the first conversation message be made through the quick operation panel, but also a quick interaction with the first conversation message can be performed. In this way, the interactive operations on the first conversation message are concentrated on the quick operation panel, so that similar information is displayed in a centralized manner, which reduces the dispersion of information and facilitates interaction.
[0145] See also Figure 5 , Figure 5 This is a flow chart illustrating a message sending process according to an exemplary embodiment. When a user long-presses a first conversation message on a conversation interface, the terminal displays an overlay, which displays the first conversation message and a quick operation panel. When the user triggers an emoticon on the quick operation panel, the emoticon is sent as a reply message, and a conversation message including the emoticon and the first conversation message is displayed on the conversation interface.
[0146] In the above embodiments, after any candidate reply message is triggered, the candidate reply message is directly sent as an example. In other embodiments, when the user selects any conversation message, the terminal also displays a message input box, so that the user can also reply by entering a message in the message input box. This process is described in the following steps S304-S305.
[0147] In step S304, in response to the selection operation on the first conversation message in the at least one conversation message, the terminal displays a message input box.
[0148] The message input box is used to reply to the first conversation message. Optionally, the message input box is also displayed on the quick operation panel. Alternatively, the message input box is displayed on the conversation interface, that is, displayed in an area outside the quick operation panel.
[0149] For example, see Figure 6 , Figure 6 FIG. 6 is a schematic diagram of a quick operation panel according to an exemplary embodiment, wherein a message input box 601 is displayed on the quick operation panel.
[0150] In step S305, in response to the confirmation operation on the reply message input in the message input box, the terminal sends the input reply message to the second object.
[0151] In some embodiments, the terminal displays a virtual keyboard while displaying the message input box. The virtual keyboard is used to enter a reply message in the message input box. In other embodiments, the terminal displays the virtual keyboard only in response to a trigger operation on the message input box, that is, only when it is confirmed that the user needs to enter a message in the message input box. The virtual keyboard and the shortcut operation panel can be displayed adjacent to each other or not. For example, see Figure 7 , Figure 7 A schematic diagram of an overlay interface according to an exemplary embodiment is shown, wherein a quick operation panel is displayed in the middle of the interface and a virtual keyboard is displayed at the bottom of the interface.
[0152] In some embodiments, a send control is displayed along with the message input box, and confirming a reply message entered in the message input box also triggers the send control. Alternatively, a send control is displayed on a virtual keyboard, and confirming a reply message entered in the message input box also triggers the send control on the virtual keyboard.
[0153] For example, see Figure 8 , Figure 8 This is a flow chart illustrating a message sending process according to an exemplary embodiment. When a user long-presses the first conversation message on the conversation interface, the terminal displays an overlay, which displays the first conversation message and a quick operation panel. The quick operation panel displays a message input box. Triggering the message input box displays a virtual keyboard. After entering a reply message in the message input box using the virtual keyboard, triggering the send control sends the reply message, and a conversation message including the reply message and the first conversation message is displayed on the conversation interface.
[0154] In this embodiment, when a user chooses to reply to any conversation message, not only are candidate reply messages displayed for quick reply, but a message input box is also provided. This allows the user to manually enter a custom reply message through the message input box. Furthermore, the virtual keyboard is displayed only after the user triggers the message input box, meaning that the virtual keyboard is not displayed until the user confirms that they want to manually enter a reply message. This avoids interface interference caused by the virtual keyboard displaying prematurely, thereby ensuring the interface display quality.
[0155] In an embodiment of the present disclosure, when a user selects any conversation message on a conversation interface, a quick operation panel for the conversation message is displayed, and a plurality of candidate reply messages for the first conversation message are provided on the quick operation panel. When the user selects any candidate reply message, the candidate reply message is sent, thereby implementing a quick reply to the first conversation message. In this way, when replying to any conversation message, the user does not need to manually enter a reply message, thereby reducing interactive operations and improving interaction efficiency.
[0156] Figure 9 FIG. 1 is a block diagram of a message sending device according to an exemplary embodiment. Figure 9 , the device comprises:
[0157] The first display unit 901 is configured to display a conversation interface between a first object and a second object, wherein the conversation interface includes at least one conversation message, and the first object is a terminal login object;
[0158] The second display unit 902 is configured to, in response to a selection operation on a first conversation message in the at least one conversation message, display a quick operation panel for the first conversation message, where at least one candidate reply message for the first conversation message is displayed on the quick operation panel;
[0159] The sending unit 903 is configured to execute, in response to a selection operation on the first reply message from at least one candidate reply message, send the first reply message to the second object.
[0160] In some embodiments, the at least one candidate reply message includes at least one of the following:
[0161] At least one expression image that meets preset conditions;
[0162] at least one reply message set by the first object;
[0163] At least one reply message to the first conversation message generated by artificial intelligence.
[0164] In some embodiments, an expression image that meets a preset condition includes at least one of the following:
[0165] Send emoticons that have reached a preset number of times;
[0166] Emoticon images that semantically match the AI-generated reply message.
[0167] In some embodiments, the second display unit 902 is further configured to perform:
[0168] In response to a selection operation on a first conversation message in the at least one conversation message, displaying a message list, the message list including conversation messages in the at least one conversation message that are semantically associated with the first conversation message;
[0169] In response to a selection operation on the second conversation message in the message list, the displayed reply message generated by artificial intelligence is updated, and the updated reply message is a reply message generated by artificial intelligence based on the second conversation message to the first conversation message.
[0170] In some embodiments, the sending unit 903 is further configured to execute:
[0171] In response to a selection operation on multiple candidate reply messages in the at least one candidate reply message, a target reply message is generated based on the multiple candidate reply messages, and the target reply message is sent to the second object.
[0172] In some embodiments, the first display unit 901 is further configured to perform:
[0173] In response to a selection operation on a first conversation message among the at least one conversation message, information other than the first conversation message on the conversation interface is canceled from being displayed.
[0174] In some embodiments, the second display unit 902 is configured to perform the following steps:
[0175] Display an overlay on the conversation interface, and display a quick operation panel on the overlay.
[0176] In some embodiments, the second display unit 902 is further configured to perform at least one of the following:
[0177] Enlarging and displaying the first conversation message on the quick operation panel;
[0178] Displaying a dynamic special effect of the first conversation message on the quick operation panel;
[0179] The first conversation message is displayed at a corresponding position of the quick operation panel, and a distance between the corresponding position and the quick operation panel is less than a preset distance.
[0180] In some embodiments, the second display unit 902 is further configured to display a message input box in response to a selection operation on a first conversation message in the at least one conversation message;
[0181] The sending unit 903 is further configured to execute a confirmation operation in response to the reply message input in the message input box, and send the input reply message to the second object.
[0182] In some embodiments, the second display unit 902 is further configured to perform:
[0183] At least one interactive control for the first conversation message is displayed on the quick operation panel.
[0184] In an embodiment of the present disclosure, when a user selects any conversation message on a conversation interface, a quick operation panel for the conversation message is displayed, and a plurality of candidate reply messages for the first conversation message are provided on the quick operation panel. When the user selects any candidate reply message, the candidate reply message is sent, thereby implementing a quick reply to the first conversation message. In this way, when replying to any conversation message, the user does not need to manually enter a reply message, thereby reducing interactive operations and improving interaction efficiency.
[0185] Regarding the apparatus in the above embodiment, the specific manner in which each unit performs operations has been described in detail in the embodiment of the method, and will not be elaborated on here.
[0186] In some embodiments, the electronic device is provided as a terminal. Figure 10The following is a block diagram of a terminal 1000 according to an exemplary embodiment of the present disclosure. Terminal 1000 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. Terminal 1000 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other similar names.
[0187] Typically, the terminal 1000 includes a processor 1001 and a memory 1002 .
[0188] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0189] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one program code, which is executed by the processor 1001 to implement the message sending method provided in the method embodiment of the present disclosure.
[0190] In some embodiments, terminal 1000 may optionally include a peripheral device interface 1003 and at least one peripheral device. Processor 1001, memory 1002, and peripheral device interface 1003 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 1003 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007, and a power supply 1008.
[0191] The peripheral device interface 1003 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0192] The RF circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1004 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 1004 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The RF circuit 1004 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1004 may also include circuits related to Near Field Communication (NFC), which is not limited in this disclosure.
[0193] The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch screen display, the display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the display screen 1005. The touch signal can be input as a control signal to the processor 1001 for processing. At this time, the display screen 1005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1005 can be one, set on the front panel of the terminal 1000; in other embodiments, the display screen 1005 can be at least two, respectively set on different surfaces of the terminal 1000 or in a folding design; in still other embodiments, the display screen 1005 can be a flexible display screen, set on the curved surface or folding surface of the terminal 1000. Even more, the display screen 1005 can be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0194] The camera assembly 1006 is used to capture images or videos. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0195] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 1001 for processing, or input into the RF circuit 1004 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the terminal 1000. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 1001 or the RF circuit 1004 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1007 may also include a headphone jack.
[0196] Power supply 1008 is used to power various components in terminal 1000. Power supply 1008 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1008 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0197] Those skilled in the art will understand that Figure 10 The structure shown in the figure does not constitute a limitation on the terminal 1000, and the terminal 1000 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0198] In an exemplary embodiment, a computer-readable storage medium is also provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the above-mentioned message sending method. Alternatively, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0199] In an exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements the above message sending method.
[0200] In some embodiments, the computer program product involved in the embodiments of the present disclosure may be deployed and executed on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed at multiple locations and interconnected through a communication network. Multiple electronic devices distributed at multiple locations and interconnected through a communication network may constitute a blockchain system.
[0201] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The description and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims. All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of the present application, and will not be described in detail here.
[0202] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A message sending method, characterized in that: The method comprises: Displaying a conversation interface between a first object and a second object, wherein the conversation interface includes at least one conversation message, and the first object is a terminal login object; In response to a selection operation on a first conversation message among the at least one conversation message, displaying a quick operation panel for the first conversation message, wherein at least one candidate reply message for the first conversation message is displayed on the quick operation panel; In response to a selection operation of a first reply message among the at least one candidate reply message, the first reply message is sent to the second object.
2. The message sending method according to claim 1, wherein: The at least one candidate reply message includes at least one of the following: At least one expression image that meets preset conditions; at least one reply message set by the first object; At least one reply message to the first conversation message generated by artificial intelligence.
3. The message sending method according to claim 2, wherein: The expression images that meet the preset conditions include at least one of the following: Send emoticons that have reached a preset number of times; An emoticon image that semantically matches the reply message generated by the artificial intelligence.
4. The message sending method according to claim 2, wherein: The method further comprises: In response to a selection operation on a first conversation message in the at least one conversation message, displaying a message list, the message list including conversation messages in the at least one conversation message that are semantically associated with the first conversation message; In response to a selection operation on the second conversation message in the message list, the displayed reply message generated by the artificial intelligence is updated, and the updated reply message is a reply message generated by the artificial intelligence based on the second conversation message to the first conversation message.
5. The message sending method according to claim 1 or 2, characterized in that: The method further comprises: In response to a selection operation on multiple candidate reply messages from the at least one candidate reply message, a target reply message is generated based on the multiple candidate reply messages, and the target reply message is sent to the second object.
6. The message sending method according to claim 1, wherein: The method further comprises: In response to a selection operation on a first conversation message among the at least one conversation message, information other than the first conversation message on the conversation interface is canceled from being displayed.
7. The message sending method according to claim 1, wherein: The quick operation panel displaying the first conversation message includes: A mask is displayed on the conversation interface, and the quick operation panel is displayed on the mask.
8. The message sending method according to claim 1 or 7, characterized in that: The method further comprises at least one of the following: Displaying the first conversation message in an enlarged manner on the quick operation panel; Displaying a dynamic special effect of the first conversation message on the quick operation panel; The first conversation message is displayed at a corresponding position of the quick operation panel, and a distance between the corresponding position and the quick operation panel is less than a preset distance.
9. The message sending method according to claim 1, wherein: The method further comprises: In response to a selection operation on a first conversation message in the at least one conversation message, displaying a message input box; In response to a confirmation operation on the reply message input in the message input box, the input reply message is sent to the second object.
10. The message sending method according to claim 1, wherein: The method further comprises: At least one interactive control for the first conversation message is displayed on the quick operation panel.
11. A message sending device, characterized in that: The device comprises: A first display unit is configured to display a conversation interface between a first object and a second object, wherein the conversation interface includes at least one conversation message, and the first object is a terminal login object; a second display unit configured to, in response to a selection operation on a first conversation message in the at least one conversation message, display a quick operation panel for the first conversation message, wherein at least one candidate reply message for the first conversation message is displayed on the quick operation panel; The sending unit is configured to execute a selection operation on the first reply message in the at least one candidate reply message and send the first reply message to the second object.
12. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the message sending method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the message sending method according to any one of claims 1 to 10.
14. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the message sending method according to any one of claims 1 to 10 is implemented.