Message sending method, device and electronic device

By providing target storage space and identifier management in the chat interface, the problem of cumbersome message order adjustment in chat is solved, and the message sending efficiency and reply accuracy are improved.

CN115220633BActive Publication Date: 2024-12-27VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210842720.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2024-12-27
Estimated Expiration
2042-07-18

AI Technical Summary

Technical Problem

When chatting through communication software, when users need to frequently change the order of reply messages, the operation in the prior art is complicated, which reduces the efficiency of users sending messages.

Method used

The target storage space is provided in the chat interface, and users can temporarily store messages to be sent and quickly manage them through identifiers, avoiding the steps of deleting and re-editing messages, and sending them directly after the reply to other messages is completed.

Benefits of technology

The message sending process is simplified, the efficiency of users sending messages is improved, the steps are reduced, and the effective reply to messages is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115220633B_ABST
    Figure CN115220633B_ABST
Patent Text Reader

Abstract

The present application discloses a message sending method, device and electronic device, which belongs to the field of communication technology. The message sending method includes: when a first message to be sent is displayed in a chat interface, receiving a first input from a user; in response to the first input, storing the first message in a target storage space, and displaying a first identifier in the chat interface, the first identifier is used to indicate the target storage space; receiving a second input from the user; in response to the second input, sending the first message in the target storage space to a first target contact.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a message sending method, device and electronic device. Background Art

[0002] At present, when chatting through communication software, it is often necessary to change the order of replying messages. At this time, the user needs to delete the message being edited, and then after replying to other messages in the specified reply order, re-edit and send the previously deleted message. The steps are cumbersome and the operation process is relatively complicated, which reduces the efficiency of users sending messages. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a message sending method, device and electronic device, which can improve the efficiency of users sending messages.

[0004] In a first aspect, an embodiment of the present application provides a message sending method, the method comprising: receiving a first input from a user when a first message to be sent is displayed in a chat interface; in response to the first input, storing the first message in a target storage space, and displaying a first identifier in the chat interface, the first identifier being used to indicate the target storage space; receiving a second input from the user; and in response to the second input, sending the first message in the target storage space to a first target contact.

[0005] In a second aspect, an embodiment of the present application provides a message sending device, which includes: a receiving unit, used to receive a first input from a user when a first message to be sent is displayed in a chat interface; a processing unit, used to store the first message in a target storage space in response to the first input, and display a first identifier in the chat interface, wherein the first identifier is used to indicate the target storage space; the receiving unit is also used to receive a second input from the user; and the processing unit is also used to send the first message in the target storage space to a first target contact in response to the second input.

[0006] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the message sending method of the first aspect are implemented.

[0007] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the message sending method of the first aspect are implemented.

[0008] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the message sending method of the first aspect.

[0009] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the message sending method of the first aspect.

[0010] In the message sending method provided in the embodiment of the present application, when the first message to be sent is displayed in the chat interface, the first input of the user is received; in response to the first input, the first message is stored in the target storage space, and the first identifier is displayed in the chat interface, and the first identifier is used to indicate the target storage space; the second input of the user is received; in response to the second input, the first message in the target storage space is sent to the first target contact. Through the above message sending method, when sending a message, the message being edited by the user (i.e., the above first message) can be sent to the target storage space for temporary storage according to the first input of the user, and the first identifier for indicating the target storage space is displayed in the chat interface. On this basis, the first message temporarily stored in the target storage space can be resent to the first target contact according to the second input of the user. In this way, when the user needs to change the order of replying messages, the first message being edited can be quickly added to the target storage space for temporary storage without deleting the message, and then after the other message replies are completed, the first message in the target storage space is directly sent to the first target contact by inputting the first identifier for indicating the above target storage space, without re-editing the message, reducing the steps of message sending, thereby improving the efficiency of user message sending. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A flowchart of a message sending method provided in an embodiment of the present application;

[0012] Figure 2 One of the schematic diagrams of the operation interface of the message sending method provided in the embodiment of the present application;

[0013] Figure 3 A second schematic diagram of the operation interface of the message sending method provided in an embodiment of the present application;

[0014] Figure 4 The third schematic diagram of the operation interface of the message sending method provided in the embodiment of the present application;

[0015] Figure 5 A fourth schematic diagram of the operation interface of the message sending method provided in an embodiment of the present application;

[0016] Figure 6 A fifth schematic diagram of the operation interface of the message sending method provided in an embodiment of the present application;

[0017] Figure 7 A structural block diagram of a message sending device provided in an embodiment of the present application;

[0018] Figure 8 A structural block diagram of an electronic device provided in an embodiment of the present application;

[0019] Fig. 9 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0022] The embodiment of the first aspect of the present application proposes a message sending method. The execution subject of the technical solution of the message sending method provided in the embodiment of the present application can be a message sending device, which can be determined according to actual use requirements and is not limited in the embodiment of the present application. In order to more clearly describe the message sending method provided in the embodiment of the present application, the execution subject of the message sending method is an exemplary description as a message sending device in the following method embodiment.

[0023] The message sending method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0024] like Figure 1 As shown, the embodiment of the present application provides a message sending method, which may include the following S102 to S108:

[0025] S102: When a first message to be sent is displayed in the chat interface, receiving a first input from a user.

[0026] Among them, the above-mentioned first message is a message to be sent in the chat interface, and the message to be sent may specifically be a message that the user is editing or has completed editing in the input box of the chat interface.

[0027] Furthermore, the above-mentioned first input is the user's touch input to the chat interface or the operation controls thereon, and the touch input can specifically be a single-click input, a double-click input, a long press input, a sliding input, an input along a preset trajectory, etc. For the specific form of the above-mentioned first input, technical personnel in this field can set it according to actual conditions, and no specific limitation is made here.

[0028] S104: In response to the first input, the first message is stored in the target storage space, and the first identifier is displayed on the chat interface.

[0029] Among them, the above-mentioned first input is used to quickly send the message to be sent (ie, the first message) in the input box of the chat interface to the target storage space for temporary storage.

[0030] Specifically, a first control may be provided in the above-mentioned chat interface. When sending a message, if the order of reply messages needs to be changed, the user can quickly send the message to be sent (i.e., the first message) in the input box of the chat interface to the target storage space for temporary storage through touch input of the first control in the chat interface, so as to directly call the first message later.

[0031] Furthermore, after the user quickly sends the message to be sent (i.e., the first message) in the input box of the chat interface to the target storage space for temporary storage by touch input to the first control in the chat interface, a first identifier may be displayed in the chat interface, and the first identifier is used to indicate the target storage space. In actual application, the first identifier may be used as an entrance to the target storage space, so that the user can process the message to be sent stored in the target storage space by inputting the first identifier.

[0032] For example, Figure 2 As shown in (a) of FIG. 1 , the chat interface 200 includes an input box 202 for editing and sending messages and a display interface 204 for displaying the sent messages. The input box 202 displays a first message 208 that has been edited and a first control 210. The electronic device receives and responds to a single click input (i.e., the first input) from the user to the first control 210, such as Figure 2 As shown in (b) of FIG. 2 , the first message 208 is stored in the target storage space, and a first mark 206 is displayed in the chat interface 200, and the first mark 206 is used to indicate the target storage space. Figure 2 As shown in (b) in FIG. 1 , a number may be displayed on the first mark 206 , and the number indicates the number of to-be-sent messages that have been sent to the target storage space.

[0033] S106: Receive a second input from the user.

[0034] Among them, the above-mentioned second input is the user's touch input to the above-mentioned first identifier, and the touch input can specifically be a single-click input, a double-click input, a long press input, a sliding input, an input along a preset trajectory, etc. For the specific form of the above-mentioned second input, technical personnel in this field can set it according to actual conditions, and no specific limitation is made here.

[0035] S108: In response to the second input, sending the first message in the target storage space to the first target contact.

[0036] The second input is a user's touch input to the first identifier, and the second input is used to call the first message in the target storage space to directly send the first message to the first target contact without re-editing the message.

[0037] Specifically, during the process of sending messages, if the order of replying messages needs to be changed, the user can quickly send the first message in the input box of the chat interface to the target storage space for temporary storage through the first input of the chat interface, without having to delete the message. On this basis, the user replies to other messages in the preset reply order, and then after all other messages have been replied, the user directly sends the first message in the target storage space to the first target contact through the second input of the first identifier in the chat interface, without having to edit a new message.

[0038] Through the above-mentioned message sending method provided by the embodiment of the present application, when sending a message, the message being edited by the user (i.e., the above-mentioned first message) can be sent to the target storage space for temporary storage according to the user's first input, and the first identifier indicating the target storage space can be displayed in the chat interface. On this basis, the first message temporarily stored in the target storage space can be resent to the first target contact according to the user's second input. In this way, when the user needs to change the order of reply messages, the first message being edited can be quickly added to the target storage space for temporary storage without the need to delete the message. After the reply to other messages is completed, the first message in the target storage space can be directly sent to the first target contact through the input operation of the first identifier indicating the above-mentioned target storage space, without the need to re-edit the message, thereby reducing the steps of message sending, thereby improving the efficiency of user message sending.

[0039] In the embodiment of the present application, the first input includes a first sub-input and a second sub-input. On this basis, the step of storing the first message in the target storage space in response to the first input in S104 may specifically include the following S104a and S104b:

[0040] S104a: In response to the first sub-input, determine a first target contact associated with the first message.

[0041] Among them, the above-mentioned first sub-input is the user's touch input to the first target contact in the chat interface or the conversation message sent by it. The touch input can specifically be a single-click input, a double-click input, a long press input, a sliding input, an input along a preset trajectory, etc. For the specific form of the above-mentioned first sub-input, technical personnel in this field can set it according to actual conditions, and no specific limitation is made here.

[0042] Specifically, when the first message to be sent in the input box of the chat interface is stored in the target storage space according to the user's input operation, the user can first establish an association relationship between the first message and the first target contact in the chat interface through touch input (i.e., the first sub-input) of the first target contact in the chat interface or the conversation message sent by him, so that when the first message stored in the target storage space is subsequently sent according to the association relationship, a targeted reply can be made to the first target contact or the conversation message sent by him, so as to improve the targeted nature of the message sending and thereby ensure an effective reply to the message.

[0043] S104b: In response to the second sub-input, the first message is stored in the target storage space, and a second mark is displayed at a preset position of the first message.

[0044] Among them, the above-mentioned second sub-input is the user's touch input to the chat interface or the operation controls thereon, and the touch input can specifically be a single-click input, a double-click input, a long press input, a sliding input, an input along a preset trajectory, etc. For the specific form of the above-mentioned second sub-input, technical personnel in this field can set it according to actual conditions, and no specific limitation is made here.

[0045] Specifically, the chat interface may be provided with a first control. After the user establishes an association relationship between the first message and the first target contact by touch input to the first target contact in the chat interface or the conversation message sent by the contact, the user may send the first message in the input box of the chat interface to the target storage space for temporary storage by touch input to the first control, and display a second identifier indicating the first target contact at a preset position of the first message. In this way, subsequent users may send the first message according to the association relationship between the first message and the first target contact, thereby making a targeted reply to the conversation message sent by the first target contact, and ensuring an effective reply to the message.

[0046] In the actual application process, when establishing the association relationship between the above-mentioned first message and the first target contact through touch input of the first target contact in the chat interface or the conversation message sent by the first target contact, the user can directly enter "@" in the input box of the chat interface, and the electronic device responds to the user's input operation and displays a contact list, and then establishes the association relationship between the above-mentioned first message and the first target contact according to the user's selection input of the first target contact in the above-mentioned contact list.

[0047] Furthermore, when establishing an association relationship between the above-mentioned first message and the first target contact through touch input to the first target contact in the chat interface or the conversation message sent by the contact, the user can also turn on the optional mode of the conversation message in the chat interface through touch input (such as long press input) to a conversation message in the chat interface, and then establish an association relationship between the above-mentioned first message and the first target contact based on the user's selection input of the conversation message sent by the first target contact.

[0048] In addition, after the association relationship between the first message and the first target contact is established, the association relationship between the first message and the contact can be indicated in the form of "@+name" in the input box of the chat interface, such as "@contact A", "@contact B". At the same time, the association relationship between the first message and the conversation message sent by the first target contact can also be indicated in the form of "name+conversation message" in the input box of the chat interface, such as "contact A: XXXXX", "contact B: YYYYY". On this basis, when the user cancels the association relationship between the first message and the first target contact, it can be achieved by manually deleting the first target contact or the conversation message sent by it in the input box.

[0049] For example, Figure 4 As shown in (a) of FIG. 1 , a plurality of conversation messages 226 are displayed in the display interface 204 of the chat interface 200, and a first message 208 to be sent is displayed in the input box 202. The electronic device receives and responds to the user's long press input (i.e., the first sub-input) of the first conversation message 228 in the plurality of conversation messages 226, such as Figure 4 As shown in (b) of FIG. 1 , the optional mode of the conversation message in the chat interface is turned on, so that according to the user's selection input of the conversation message sent by the first target contact, the association relationship between the first message and the first target contact is established. On this basis, the electronic device receives and responds to the user's single-click input on the first control 210 (i.e., the second sub-input), such as Figure 4As shown in (c), the first message 208 in the input box 202 is sent to the target storage space for temporary storage, and a first marker 206 is displayed in the chat interface 200. The first marker 206 is used to indicate the above-mentioned target storage space, and a number is displayed on the first marker 206 to indicate the number of pending messages that have been sent to the target storage space.

[0050] In the above embodiment provided by the present application, the first input includes a first sub-input and a second sub-input. When the first message is stored in the target storage space in response to the first input, the association relationship between the first message and the first target contact can be established in response to the first sub-input, and then the first message is stored in the target storage space in response to the second sub-input, and the second identifier for indicating the first target contact is displayed at the preset position of the first message. In this way, when the user needs to change the order of reply messages, the user can quickly establish the association relationship between the first message being edited and the first target contact through simple input, and then quickly add the first message to the target storage space for temporary storage without deleting the message, thereby ensuring the rapidity of subsequent reply messages, and at the same time ensuring that the user makes a targeted reply to the conversation message sent by the first target contact in the chat interface, ensuring the effective reply to the message.

[0051] In the embodiment of the present application, the second input includes a third sub-input and a fourth sub-input. On this basis, the S108 may specifically include the following S108a and S108b:

[0052] S108a: In response to the third sub-input, display the first window.

[0053] Among them, the above-mentioned third sub-input is the user's touch input to the above-mentioned first identifier, and the touch input can specifically be a single-click input, a double-click input, a long press input, a sliding input, an input along a preset trajectory, etc. For the specific form of the above-mentioned third sub-input, technical personnel in this field can set it according to actual conditions, and no specific limitation is made here.

[0054] Furthermore, the first window includes at least one message to be sent, and the at least one message to be sent includes the first message.

[0055] Specifically, after the user stores the first message in the input box of the chat interface to the target storage space through the first input of the chat interface, and displays the first identifier indicating the target storage space in the chat interface, the user can suspend the above-mentioned first window in the chat interface through the third sub-input of the first identifier, thereby displaying at least one message to be sent stored by the user in the target storage space, and the at least one message to be sent includes the first message, so that the user can directly call the first message later.

[0056] S108b: In response to the fourth sub-input, sending the first message to the first target contact.

[0057] Among them, the above-mentioned fourth sub-input is the user's touch input for the first message in the above-mentioned first window. The touch input can specifically be a single-click input, a double-click input, a long press input, a sliding input, an input along a preset trajectory, etc. For the specific form of the above-mentioned fourth sub-input, technical personnel in this field can set it according to actual conditions, and no specific limitation is made here.

[0058] Specifically, after the user uses the third sub-input of the first identifier in the chat interface to float the above-mentioned first window in the chat interface, the user can use the fourth sub-input of the first message in at least one message to be sent in the first window to send the first message directly to the first target contact without editing a new message, thereby improving the efficiency of message sending.

[0059] For example, Figure 3 As shown in (a) of FIG. 1 , a first identifier 206 is displayed in the chat interface 200 of the electronic device, and the electronic device receives and responds to a single click input (i.e., the third sub-input) of the user on the first identifier 206, such as Figure 3 As shown in (b) of FIG. 2 , a first window 212 is suspended and displayed in the chat interface 200 . In the first window 212 , a plurality of to-be-sent messages 230 stored in the target storage space are displayed, and the plurality of to-be-sent messages 230 include the first message 208 .

[0060] At this time, the electronic device receives and responds to the user's single-click input (ie, the fourth sub-input) for the first message 208, such as Figure 3 As shown in (c) of FIG. 1 , the first message 208 is displayed in the input box 202 in the chat interface 200, so that the user can send the first message 208 by touching the "Send" control in the chat interface 200. Alternatively, the electronic device receives and responds to the user's single-click input of the first message 208, such as Figure 3 As shown in (d) in FIG. 1 , the first message is directly sent to the first target contact “Contact A” associated therewith. Meanwhile, the first message 208 in the first window 212 is deleted to delete the first message 208 from the target storage space.

[0061] In the above-mentioned embodiment provided by the present application, the above-mentioned second input includes a third sub-input and a fourth sub-input. On this basis, when the first message in the target storage space is sent to the first target contact in response to the second input, the first window is displayed in specific response to the user's third sub-input of the first identifier, and the first window includes at least one message to be sent, and at least one message to be sent includes the above-mentioned first message associated with the first target contact. On this basis, in response to the user's fourth sub-input of the above-mentioned first message, the first message is sent to the first target contact associated with it. In this way, according to the user's simple input, the first message temporarily stored in the target storage space can be directly sent to the first target contact associated with it, without the need to re-edit the message, reducing the steps of message sending, thereby improving the efficiency of user message sending.

[0062] In the embodiment of the present application, the first window includes at least one contact identifier. On this basis, the message sending method may further include the following S110 to S116:

[0063] S110: Receive a third input of a user for a target identifier in at least one contact identifier.

[0064] The first window may include at least one contact identifier, and each contact identifier corresponds to at least one message to be sent in the target storage space.

[0065] Furthermore, the above-mentioned third input is a touch input of the user to the target identifier in at least one contact identifier in the first window. The touch input can specifically be a single-click input, a double-click input, a long press input, a sliding input, an input along a preset trajectory, etc. For the specific form of the above-mentioned first input, technicians in this field can set it according to actual conditions, and no specific limitation is made here.

[0066] Furthermore, the contact identifier is used to indicate the association relationship between the first message and at least one contact (or at least one conversation message). That is, each contact identifier is used to indicate the contact associated with the message to be sent, or to indicate the conversation message sent by the contact.

[0067] S112: In response to the third input, display a second window.

[0068] The second window includes at least one message to be sent associated with a second target contact, and the second target contact is a contact corresponding to the target identifier.

[0069] Furthermore, the above-mentioned third input is a user's touch input of a target identifier in at least one contact identifier in the first window, and the target identifier corresponds to the second target contact. On this basis, the above-mentioned third input is used to display at least one message to be sent associated with the second target contact in the target storage space in the second window.

[0070] Specifically, the user can display a first window in the chat interface by touching a first identifier in the chat interface, and the first window includes at least one contact identifier. On this basis, the user can display a second window in the chat interface by touching a target identifier in at least one contact identifier in the first window, and the second window displays at least one to-be-sent message associated with the second target contact, so that the user can directly call the at least one to-be-sent message later, thereby making a targeted reply to the conversation message sent by the second target contact corresponding to the target identifier.

[0071] S114: Receive a fourth input from the user regarding a target message in at least one message to be sent.

[0072] The target message corresponds to a target identifier in at least one contact identifier in the first window, and the target identifier is used to indicate an association relationship between the target message and the second target contact in the chat interface or a conversation message sent by the contact.

[0073] S116: In response to the fourth input, sending the target message to the second target contact.

[0074] Among them, the above-mentioned fourth input is a user's touch input of a target message in at least one message to be sent in the above-mentioned second window. The fourth input is used to call the target message in the target storage space to send the target message directly to the second target contact without re-editing the message.

[0075] Specifically, after the user displays the second window in the chat interface by touch input of the target identifier in at least one contact identifier in the first window, the target message can be directly called through the fourth input of the target message in the second window, thereby eliminating the need to edit a new message and directly sending the target message in the target storage space to the associated second target contact, thereby making a targeted reply to the second target contact associated with the target message or the conversation message sent by the second target contact.

[0076] For example, Figure 5 As shown in (a) of FIG. 1 , a first identifier 206 is displayed in the chat interface 200 of the electronic device, and the electronic device receives and responds to a single click input of the user to the first identifier 206, such as Figure 5As shown in (b) of FIG. 2 , a first window 212 is suspended and displayed in the chat interface 200, and a plurality of contact identifiers 214 are displayed in the first window 212. At this time, the electronic device receives and responds to the user's single-click input of the target identifier 216 in the plurality of contact identifiers 214, such as Figure 5 As shown in (c) in the figure, a second window 218 is displayed floatingly in the chat interface 200, and a plurality of to-be-sent messages 230 associated with the second target contact are displayed in the second window 218, so that the user can send the target message by touch input on the target message among the plurality of to-be-sent messages 230, thereby making a targeted reply to the second target contact associated with the target message or the conversation message sent by the contact.

[0077] In the above-mentioned embodiment provided by the present application, the above-mentioned first window may include at least one contact identifier, and on this basis, a third input of a user for a target identifier in at least one contact identifier may also be received, and in response to the third input, a second window is displayed, wherein the second window includes at least one to-be-sent message associated with the second target contact. Further, a fourth input of a user for a target message in at least one to-be-sent message is received, and in response to the fourth input, the target message is sent to the second target contact. In this way, according to the different contacts associated with the to-be-sent messages, a plurality of to-be-sent messages temporarily stored in the target storage space are classified, thereby ensuring the orderliness of the storage of the to-be-sent messages in the target storage space, and then according to the user's input operation, the target message associated with the second target contact is quickly sent to the second target contact, thereby improving the rapidity and pertinence of the target message sending, thereby ensuring the effective reply of the message.

[0078] In the embodiment of the present application, after the above S108a, the above message sending method may further include the following S118:

[0079] S118: In response to the user's fifth input to the first window, display a second message in the first window.

[0080] Specifically, in actual application, the first window may include a first area and a second area.

[0081] The second area displays at least one message to be sent, or displays at least one contact identifier in the second area. The first area is an editable area, and the user can add a second message in the first area by inputting into the first area, so that the user can directly call the second message later.

[0082] Furthermore, the second message is a quick reply message customized by the user, such as "Good morning", "In a meeting", "Contact me later", etc.

[0083] Specifically, after the user displays the first window in the chat interface in suspension by touch input on the first identifier in the chat interface, the user can customize and add a quick reply message (i.e., the second message) in the first area through input operation on the first area of ​​the first window, so that subsequent users can directly retrieve and send the quick reply message, thereby improving the efficiency of users sending messages.

[0084] For example, Figure 6 As shown in (a) of FIG. 1 , a first window 212 is suspended in the chat interface 200 of the electronic device, and the first window 212 includes a first area 222 and a second area 220. The second area 220 displays the plurality of messages 230 to be sent, and the first area 222 includes a second control 232, i.e., an "add" control. The electronic device receives and responds to a single click input of the user on the second control 232, enters a text editing interface, and then responds to the text input of the user on the text editing interface, such as Figure 6 As shown in (b) in the figure, a second message 224 is displayed in the first area 222. The second message 224 is a quick reply message customized by the user, so that subsequent users can directly call and send the quick reply message.

[0085] In the above-mentioned embodiment provided by the present application, the above-mentioned first window is divided into two areas for display. After displaying the first window, the user can also customize and add a quick message in the first window through the fifth input of the first window, so that the quick message can be directly sent later, thereby improving the efficiency of the user in sending messages.

[0086] In the embodiment of the present application, the fourth sub-input includes a first operation and a second operation. On this basis, the S108b may specifically include the following S108b1 and S108b2:

[0087] S108b1: In response to the first operation, display the first message and the third identifier in the input box of the chat interface.

[0088] The third identifier is used to indicate the first target contact associated with the first message.

[0089] In actual application, the third identifier may be in the form of the first target contact's avatar, @+the first contact's nickname, or the first contact's nickname+conversation message, for example, "@contact A", "@contact B", "contact A: XXXXX", "contact B: YYYYY", etc.

[0090] S108b2: In response to the second operation, the first message in the input box is sent to the first target contact according to the third identifier.

[0091] Specifically, when the user sends the first message to the first target contact through the fourth sub-input of the first message in the first window, the first message and the third identifier for indicating the first target contact associated with the first message can be displayed in the input box of the chat interface in response to the user's first operation on the first message. On this basis, in response to the user's second operation on the first control in the input box, such as the "Send" control, the first message in the input box is directly sent to the first target contact indicated by the third identifier.

[0092] In this way, there is no need to edit new messages, which improves the efficiency of message sending. At the same time, the first message is directly sent to the associated first target contact according to the third identifier, ensuring that the user makes a targeted reply to the conversation message sent by the first target contact in the chat interface, thereby ensuring the effective reply to the message.

[0093] In the above embodiment provided by the present application, when sending the first message in the first window to the first target contact, the first message and the third identifier indicating the first target contact associated with the first message can be displayed in the input box of the chat interface through the user's first operation on the first message, and then the first message in the input box can be directly sent to the first target contact indicated by the third identifier through the user's second operation on the first control in the input box. In this way, while improving the efficiency of message sending, the user can make targeted replies to the conversation message sent by the first target contact in the chat interface, thereby ensuring the effective reply of the message.

[0094] In the embodiment of the present application, after the above S108b1, the above message sending method may further include the following S120 to S130:

[0095] S120: Receive a sixth input of the user regarding the third identifier.

[0096] The third identifier is used to indicate the first target contact associated with the first message.

[0097] S122: In response to the sixth input, the third identifier is deleted, and the association between the first message and the first target contact is released.

[0098] Specifically, in actual application, the third identifier may be in the form of the first target contact's avatar, @+the first contact's nickname, or the first contact's nickname+conversation message, for example, "@contact A", "@contact B", "contact A: XXXXX", "contact B: YYYYY", etc.

[0099] On this basis, the user can remove the association between the first message and the first target contact by deleting the third identifier in the input box.

[0100] S124: Receive a seventh input from the user.

[0101] Among them, the above-mentioned seventh input is the text input by the user into the input box in the chat interface.

[0102] Specifically, the first input may be represented by inputting “@” in the input box of the chat interface.

[0103] S126: In response to the seventh input, display a contact list.

[0104] The contact list includes a plurality of contacts, so that the user can select a corresponding contact and establish an association relationship between the contact and the first message.

[0105] S128: Receive an eighth input from the user regarding a third target contact in the contact list.

[0106] S130: In response to the eighth input, establishing an association relationship between the first message and the third target contact.

[0107] Specifically, when establishing an association relationship between the first message and the third target contact, the user can directly enter "@" in the input box of the chat interface. The electronic device responds to the user's input operation and displays a contact list. Then, based on the user's selection input of the third target contact in the above contact list, an association relationship between the above first message and the third target contact is established, so that the first message can be directly sent to the third target contact subsequently, thereby ensuring the validity of the message reply.

[0108] In the above-mentioned embodiment provided by the present application, after the first message and the third identifier are displayed in the input box of the chat interface, the association relationship between the first message and the first target contact can be released by deleting the third identifier, and then a new association relationship between the first message and the third target contact can be established through the user's eighth input, thereby adjusting the reply object of the first message.

[0109] In the embodiment of the present application, after the above S108b1, the above message sending method may further include the following S132 and S134:

[0110] S132: Receive a ninth input of the user regarding the reference message.

[0111] Among them, the above-mentioned reference message is a conversation message in the chat interface.

[0112] Furthermore, in actual application, the ninth input may include a fifth sub-input and a sixth sub-input. The fifth sub-input is a user's touch input for a reference message or other conversation messages in the chat interface, and the fifth sub-input is used to enable an optional mode for conversation messages in the chat interface, and the sixth sub-input is a user's selection input for the reference message.

[0113] S134: In response to the ninth input, an association relationship between the first message and the referenced message is established.

[0114] Specifically, after the first message and the third identifier are displayed in the input box of the chat interface, the user can also turn on the optional mode of the conversation message in the chat interface through touch input (such as long press input) of a conversation message in the chat interface, and then establish an association relationship between the above-mentioned first message and the quoted message based on the user's selection input of the quoted message in the chat interface, so as to make a targeted reply to the quoted message later.

[0115] In the above-mentioned embodiment provided by the present application, after the first message and the third identifier are displayed in the input box of the chat interface, the user can add an association relationship between the referenced message and the first message through the ninth input of the referenced message in the chat interface, so that when the first message is subsequently sent to the first target contact associated with it, a targeted reply can be made to the above-mentioned referenced message, thereby improving the effectiveness of the message reply.

[0116] In the embodiment of the present application, the chat interface includes a first chat interface corresponding to the first target contact, and a second chat interface corresponding to the fourth target contact. On this basis, the above S106 may specifically include the following S106a. After the above S108, the above message sending method may further specifically include the following S136:

[0117] S106a: While displaying the second chat interface, receiving a second input of the user on the first identifier.

[0118] S136: Display the first chat interface, or keep displaying the second chat interface.

[0119] Among them, the above-mentioned second chat interface corresponds to the fourth target contact, and the above-mentioned first chat interface corresponds to the first target contact.

[0120] Furthermore, the second input is a user's touch input of the first identifier displayed in the second chat interface, and the second input is used to call the first message in the target storage space to send the first message directly to the first target contact without re-editing the message.

[0121] In the above-mentioned embodiment provided by the present application, after the user communicates with the fourth target contact through the second chat interface and sends the first message in the target storage space to the first target contact by inputting the first identifier in the second chat interface, the user can directly jump to the first chat interface corresponding to the first target contact, or remain in the second chat interface corresponding to the fourth target contact, thereby simplifying the user's operation steps.

[0122] The message sending method provided in the embodiment of the first aspect of the present application can be executed by a message sending device. In the embodiment of the present application, the message sending device performing the above message sending method is taken as an example to illustrate the message sending device provided in the embodiment of the second aspect of the present application.

[0123] like Figure 7 As shown, an embodiment of the present application provides a message sending device 700, which may include the following receiving unit 702 and processing unit 704.

[0124] The receiving unit 702 is configured to receive a first input from a user when a first message to be sent is displayed in the chat interface;

[0125] The processing unit 704 is used to store the first message in the target storage space in response to the first input, and display a first identifier on the chat interface, where the first identifier is used to indicate the target storage space;

[0126] The receiving unit 702 is further configured to receive a second input from a user;

[0127] The processing unit 704 is further configured to send the first message in the target storage space to the first target contact in response to the second input.

[0128] Through the message sending device provided by the embodiment of the present application, when sending a message, the message being edited by the user (i.e., the above-mentioned first message) can be sent to the target storage space for temporary storage according to the user's first input, and the first identifier indicating the target storage space can be displayed in the chat interface. On this basis, the first message temporarily stored in the target storage space can be resent to the first target contact according to the user's second input. In this way, when the user needs to change the order of reply messages, the first message being edited can be quickly added to the target storage space for temporary storage without the need to delete the message. After the reply to other messages is completed, the first message in the target storage space can be directly sent to the first target contact through the input operation of the first identifier indicating the above-mentioned target storage space, without the need to re-edit the message, thereby reducing the steps of message sending, thereby improving the efficiency of user message sending.

[0129] In an embodiment of the present application, the first input includes a first sub-input and a second sub-input, and the processing unit 704 is specifically used to: in response to the first sub-input, determine a first target contact associated with the first message; in response to the second sub-input, store the first message to the target storage space, and display a second identifier at a preset position of the first message, wherein the second identifier is used to indicate the first target contact.

[0130] In the above embodiment provided by the present application, the first input includes a first sub-input and a second sub-input. When the first message is stored in the target storage space in response to the first input, the association relationship between the first message and the first target contact can be established in response to the first sub-input, and then the first message is stored in the target storage space in response to the second sub-input, and the second identifier for indicating the first target contact is displayed at the preset position of the first message. In this way, when the user needs to change the order of reply messages, the user can quickly establish the association relationship between the first message being edited and the first target contact through simple input, and then quickly add the first message to the target storage space for temporary storage without deleting the message, thereby ensuring the rapidity of subsequent reply messages, and at the same time ensuring that the user makes a targeted reply to the conversation message sent by the first target contact in the chat interface, ensuring the effective reply to the message.

[0131] In an embodiment of the present application, the second input includes a third sub-input and a fourth sub-input, and the processing unit 704 is specifically used to: in response to the third sub-input, display a first window, the first window including at least one message to be sent, and the at least one message to be sent includes a first message; in response to the fourth sub-input of the first message, send the first message to the first target contact.

[0132] In the above-mentioned embodiment provided by the present application, the above-mentioned second input includes a third sub-input and a fourth sub-input. On this basis, when the first message in the target storage space is sent to the first target contact in response to the second input, the first window is displayed in specific response to the user's third sub-input of the first identifier, and the first window includes at least one message to be sent, and at least one message to be sent includes the above-mentioned first message associated with the first target contact. On this basis, in response to the user's fourth sub-input of the above-mentioned first message, the first message is sent to the first target contact associated with it. In this way, according to the user's simple input, the first message temporarily stored in the target storage space can be directly sent to the first target contact associated with it, without the need to re-edit the message, reducing the steps of message sending, thereby improving the efficiency of user message sending.

[0133] In an embodiment of the present application, the first window includes at least one contact identifier, and the receiving unit 702 is also used to: receive a third input from the user for a target identifier in the at least one contact identifier; the processing unit 704 is also used to: in response to the third input, display a second window, the second window including at least one message to be sent associated with a second target contact, and the second target contact is the contact corresponding to the target identifier; the receiving unit 702 is also used to: receive a fourth input from the user for a target message in the at least one message to be sent; the processing unit 704 is also used to: in response to the fourth input, send the target message to the second target contact.

[0134] In the above-mentioned embodiment provided by the present application, the above-mentioned first window may include at least one contact identifier, and on this basis, a third input of a user for a target identifier in at least one contact identifier may also be received, and in response to the third input, a second window is displayed, wherein the second window includes at least one to-be-sent message associated with the second target contact. Further, a fourth input of a user for a target message in at least one to-be-sent message is received, and in response to the fourth input, the target message is sent to the second target contact. In this way, according to the different contacts associated with the to-be-sent messages, a plurality of to-be-sent messages temporarily stored in the target storage space are classified, thereby ensuring the orderliness of the storage of the to-be-sent messages in the target storage space, and then according to the user's input operation, the target message associated with the second target contact is quickly sent to the second target contact, thereby improving the rapidity and pertinence of the target message sending, thereby ensuring the effective reply of the message.

[0135] In the embodiment of the present application, the processing unit 704 is further configured to: display a second message in the first window in response to a fifth input of the user to the first window.

[0136] The above-mentioned embodiment provided by the present application can also receive and respond to the user's fifth input to the first window after displaying the first window, and customize and add a quick message in the first window so that the quick message can be directly sent later, thereby improving the efficiency of the user in sending messages.

[0137] In an embodiment of the present application, the fourth sub-input includes a first operation and a second operation, and the processing unit 704 is specifically used to: in response to the first operation, display a first message and a third identifier in an input box of the chat interface, the third identifier being used to indicate a first target contact associated with the first message; in response to the second operation, send the first message in the input box to the first target contact according to the third identifier.

[0138] In the above embodiment provided by the present application, when sending the first message in the first window to the first target contact, the first message and the third identifier indicating the first target contact associated with the first message can be displayed in the input box of the chat interface through the user's first operation on the first message, and then the first message in the input box can be directly sent to the first target contact indicated by the third identifier through the user's second operation on the first control in the input box. In this way, while improving the efficiency of message sending, the user can make targeted replies to the conversation message sent by the first target contact in the chat interface, thereby ensuring the effective reply of the message.

[0139] In an embodiment of the present application, the receiving unit 702 is also used to: receive a sixth input from the user for a third identifier; the processing unit 704 is also used to: in response to the sixth input, delete the third identifier, and release the association between the first message and the first target contact; the receiving unit 702 is also used to: receive a seventh input from the user; the processing unit 704 is also used to: in response to the seventh input, display a contact list; the receiving unit 702 is also used to: receive an eighth input from the user for a third target contact in the contact list; the processing unit 704 is also used to: in response to the eighth input, establish an association between the first message and the third target contact.

[0140] In the above-mentioned embodiment provided by the present application, after the first message and the third identifier are displayed in the input box of the chat interface, the association relationship between the first message and the first target contact can be released by deleting the third identifier, and then a new association relationship between the first message and the third target contact can be established through the user's seventh input, thereby adjusting the reply object of the first message.

[0141] In the embodiment of the present application, the receiving unit 702 is further used to: receive a ninth input of the user for the reference message; the processing unit 704 is further used to: establish an association relationship between the first message and the reference message in response to the ninth input.

[0142] In the above-mentioned embodiment provided by the present application, after the first message and the third identifier are displayed in the input box of the chat interface, the user can add an association relationship between the referenced message and the first message through the ninth input of the referenced message in the chat interface, so that when the first message is subsequently sent to the first target contact associated with it, a targeted reply can be made to the above-mentioned referenced message, thereby improving the effectiveness of the message reply.

[0143] In an embodiment of the present application, the chat interface includes a first chat interface corresponding to the first target contact, and a second chat interface corresponding to the fourth target contact. The receiving unit 702 is specifically used to: receive the user's second input for the first identifier while displaying the second chat interface; after sending the first message in the target storage space to the first target contact, the processing unit 704 is also used to: display the first chat interface, or keep displaying the second chat interface.

[0144] In the above-mentioned embodiment provided by the present application, after the user communicates with the fourth target contact through the second chat interface and sends the first message in the target storage space to the first target contact by inputting the first identifier in the second chat interface, the user can directly jump to the first chat interface corresponding to the first target contact, or remain in the second chat interface corresponding to the fourth target contact, thereby simplifying the user's operation steps.

[0145] The message sending device 700 in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0146] The message sending device 700 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0147] The message sending device 700 provided in the second aspect of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0148] Alternatively, if Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 802 and a memory 804, wherein the memory 804 stores programs or instructions that can be executed on the processor 802, and when the program or instructions are executed by the processor 802, the various steps of the message sending method embodiment of the first aspect mentioned above are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0149] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0150] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0151] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.

[0152] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0153] The electronic device 900 of the embodiment of the present application can be used to implement the various steps of the embodiment of the message sending method of the first aspect mentioned above.

[0154] Among them, the user input unit 907 is used to receive the user's first input when the first message to be sent is displayed in the chat interface.

[0155] The processor 910 is used to store the first message in the target storage space in response to the first input, and control the display unit 906 to display a first identifier on the chat interface, where the first identifier is used to indicate the target storage space.

[0156] The user input unit 907 is further used to receive a second input from the user.

[0157] The processor 910 is further configured to, in response to a second input, send the first message in the target storage space to the first target contact.

[0158] In an embodiment of the present application, when sending a message, the message being edited by the user (i.e., the first message mentioned above) can be sent to the target storage space for temporary storage according to the user's first input, and a first identifier indicating the target storage space can be displayed in the chat interface. On this basis, the first message temporarily stored in the target storage space can be resent to the first target contact according to the user's second input. In this way, when the user needs to change the order of reply messages, the first message being edited can be quickly added to the target storage space for temporary storage without the need to delete the message. After the reply to other messages is completed, the first message in the target storage space can be directly sent to the first target contact through the input operation of the first identifier indicating the target storage space, without the need to re-edit the message, thereby reducing the steps of message sending and improving the efficiency of user message sending.

[0159] Optionally, the first input includes a first sub-input and a second sub-input, and the processor 910 is specifically used to: in response to the first sub-input, determine a first target contact associated with the first message; in response to the second sub-input, store the first message to the target storage space, and control the display unit 906 to display a second identifier at a preset position of the first message, where the second identifier is used to indicate the first target contact.

[0160] In the above embodiment provided by the present application, the first input includes a first sub-input and a second sub-input. When the first message is stored in the target storage space in response to the first input, the association relationship between the first message and the first target contact can be established in response to the first sub-input, and then the first message is stored in the target storage space in response to the second sub-input, and the second identifier for indicating the first target contact is displayed at the preset position of the first message. In this way, when the user needs to change the order of reply messages, the user can quickly establish the association relationship between the first message being edited and the first target contact through simple input, and then quickly add the first message to the target storage space for temporary storage without deleting the message, thereby ensuring the rapidity of subsequent reply messages, and at the same time ensuring that the user makes a targeted reply to the conversation message sent by the first target contact in the chat interface, ensuring the effective reply to the message.

[0161] Optionally, the second input includes a third sub-input and a fourth sub-input, and the processor 910 is specifically used to: in response to the third sub-input, control the display unit 906 to display a first window, the first window including at least one message to be sent, and the at least one message to be sent includes a first message; in response to the fourth sub-input of the first message, send the first message to the first target contact.

[0162] In the above-mentioned embodiment provided by the present application, the above-mentioned second input includes a third sub-input and a fourth sub-input. On this basis, when the first message in the target storage space is sent to the first target contact in response to the second input, the first window is displayed in specific response to the user's third sub-input of the first identifier, and the first window includes at least one message to be sent, and at least one message to be sent includes the above-mentioned first message associated with the first target contact. On this basis, in response to the user's fourth sub-input of the above-mentioned first message, the first message is sent to the first target contact associated with it. In this way, according to the user's simple input, the first message temporarily stored in the target storage space can be directly sent to the first target contact associated with it, without the need to re-edit the message, reducing the steps of message sending, thereby improving the efficiency of user message sending.

[0163] Optionally, the first window includes at least one contact identifier, and the user input unit 907 is also used to: receive a third input from the user for a target identifier in at least one contact identifier; the processor 910 is also used to: in response to the third input, control the display unit 906 to display a second window, the second window including at least one message to be sent associated with a second target contact, and the second target contact is the contact corresponding to the target identifier; the user input unit 907 is also used to: receive a fourth input from the user for a target message in at least one message to be sent; the processor 910 is also used to: in response to the fourth input, send the target message to the second target contact.

[0164] In the above-mentioned embodiment provided by the present application, the above-mentioned first window may include at least one contact identifier, and on this basis, a third input of a user for a target identifier in at least one contact identifier may also be received, and in response to the third input, a second window is displayed, wherein the second window includes at least one to-be-sent message associated with the second target contact. Further, a fourth input of a user for a target message in at least one to-be-sent message is received, and in response to the fourth input, the target message is sent to the second target contact. In this way, according to the different contacts associated with the to-be-sent messages, a plurality of to-be-sent messages temporarily stored in the target storage space are classified, thereby ensuring the orderliness of the storage of the to-be-sent messages in the target storage space, and then according to the user's input operation, the target message associated with the second target contact is quickly sent to the second target contact, thereby improving the rapidity and pertinence of the target message sending, thereby ensuring the effective reply of the message.

[0165] Optionally, the processor 910 is further configured to: in response to a fifth input of the user to the first window, control the display unit 906 to display the second message in the first window.

[0166] The above-mentioned embodiment provided by the present application can also receive and respond to the user's fifth input to the first window after displaying the first window, and customize and add a quick message in the first window so that the quick message can be directly sent later, thereby improving the efficiency of the user in sending messages.

[0167] Optionally, the fourth sub-input includes a first operation and a second operation, and the processor 910 is specifically used to: in response to the first operation, control the display unit 906 to display a first message and a third identifier in the input box of the chat interface, where the third identifier is used to indicate a first target contact associated with the first message; in response to the second operation, send the first message in the input box to the first target contact according to the third identifier.

[0168] In the above embodiment provided by the present application, when sending the first message in the first window to the first target contact, the first message and the third identifier indicating the first target contact associated with the first message can be displayed in the input box of the chat interface through the user's first operation on the first message, and then the first message in the input box can be directly sent to the first target contact indicated by the third identifier through the user's second operation on the first control in the input box. In this way, while improving the efficiency of message sending, the user can make targeted replies to the conversation message sent by the first target contact in the chat interface, thereby ensuring the effective reply of the message.

[0169] Optionally, the user input unit 907 is also used to: receive a sixth input from the user for a third identifier; the processor 910 is also used to: in response to the sixth input, delete the third identifier, and release the association between the first message and the first target contact; the user input unit 907 is also used to: receive a seventh input from the user; the processor 910 is also used to: in response to the seventh input, control the display unit 906 to display a contact list; the user input unit 907 is also used to: receive an eighth input from the user for a third target contact in the contact list; the processor 910 is also used to: in response to the eighth input, establish an association between the first message and the third target contact.

[0170] In the above-mentioned embodiment provided by the present application, after the first message and the third identifier are displayed in the input box of the chat interface, the association relationship between the first message and the first target contact can be released by deleting the third identifier, and then a new association relationship between the first message and the third target contact can be established through the user's seventh input, thereby adjusting the reply object of the first message.

[0171] Optionally, the user input unit 907 is further configured to: receive a ninth input of the user on the reference message; and the processor 910 is further configured to: establish an association relationship between the first message and the reference message in response to the ninth input.

[0172] In the above-mentioned embodiment provided by the present application, after the first message and the third identifier are displayed in the input box of the chat interface, the user can add an association relationship between the referenced message and the first message through the ninth input of the referenced message in the chat interface, so that when the first message is subsequently sent to the first target contact associated with it, a targeted reply can be made to the above-mentioned referenced message, thereby improving the effectiveness of the message reply.

[0173] Optionally, the chat interface includes a first chat interface corresponding to the first target contact, and a second chat interface corresponding to the fourth target contact, and the user input unit 907 is specifically used to: receive the user's second input for the first identifier while displaying the second chat interface; after sending the first message in the target storage space to the first target contact, the processor 910 is also used to: control the display unit 906 to display the first chat interface, or keep displaying the second chat interface.

[0174] In the above-mentioned embodiment provided by the present application, after the user communicates with the fourth target contact through the second chat interface and sends the first message in the target storage space to the first target contact by inputting the first identifier in the second chat interface, the user can directly jump to the first chat interface corresponding to the first target contact, or remain in the second chat interface corresponding to the fourth target contact, thereby simplifying the user's operation steps.

[0175] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and at least one of other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0176] The memory 909 can be used to store software programs and various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 909 may include a volatile memory or a non-volatile memory, or the memory 909 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0177] The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 910.

[0178] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned first aspect message sending method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0179] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0180] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned first aspect message sending method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0181] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0182] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the message sending method embodiment of the first aspect mentioned above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0183] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0184] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0185] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A message sending method, characterized in that: The message sending method comprises: When a first message to be sent is displayed in the chat interface, receiving a first input from a user; In response to the first input, the first message is stored in a target storage space, and a first identifier is displayed on the chat interface, where the first identifier is used to indicate the target storage space, and a number is displayed on the first identifier, where the number indicates the number of pending messages that have been sent to the target storage space; receiving a second input from the user; In response to the second input, sending the first message in the target storage space to a first target contact; The message sending method further comprises: displaying a first window, wherein the first window comprises at least one contact identifier, each of the contact identifiers corresponding to at least one message to be sent in the target storage space; receiving a third input of a target identifier in the at least one contact identifier by a user; In response to the third input, displaying a second window, wherein the second window includes at least one to-be-sent message associated with a second target contact, wherein the second target contact is a contact corresponding to the target identifier; receiving a fourth input from a user regarding a target message in the at least one message to be sent; In response to the fourth input, the target message is sent to the second target contact.

2. The message sending method according to claim 1, characterized in that: The first input includes a first sub-input and a second sub-input, and in response to the first input, storing the first message in a target storage space includes: In response to the first sub-input, determining a first target contact associated with the first message; In response to the second sub-input, the first message is stored in the target storage space, and a second identifier is displayed at a preset position of the first message, where the second identifier is used to indicate the first target contact.

3. The message sending method according to claim 1, characterized in that: The second input includes a third sub-input and a fourth sub-input, and in response to the second input, sending the first message in the target storage space to the first target contact includes: In response to the third sub-input, displaying the first window, wherein the first window includes at least one message to be sent, and the at least one message to be sent includes the first message; In response to a fourth sub-input of the first message, the first message is sent to the first target contact.

4. The message sending method according to claim 3, characterized in that: After displaying the first window, the message sending method further includes: In response to a fifth input of the user on the first window, a second message is displayed in the first window.

5. The message sending method according to claim 3, characterized in that: The fourth sub-input includes a first operation and a second operation, and in response to the fourth sub-input of the first message, sending the first message to the first target contact includes: In response to the first operation, displaying the first message and a third identifier in an input box of the chat interface, wherein the third identifier is used to indicate a first target contact associated with the first message; In response to the second operation, the first message in the input box is sent to the first target contact according to the third identifier.

6. The message sending method according to claim 5, characterized in that: After the first message and the third identifier are displayed in the input box of the chat interface, the message sending method further includes: receiving a sixth input of the third identifier from the user; In response to the sixth input, deleting the third identifier, and releasing the association between the first message and the first target contact; receiving a seventh input from the user; In response to the seventh input, displaying a contact list; receiving an eighth input from the user regarding a third target contact in the contact list; In response to the eighth input, an association relationship between the first message and the third target contact is established.

7. The message sending method according to claim 5, characterized in that: After displaying the first message and the third identifier in the input box of the chat interface, the method further includes: receiving a ninth input of the user for the reference message; In response to the ninth input, an association relationship between the first message and the reference message is established.

8. The message sending method according to any one of claims 1 to 7, characterized in that: The chat interface includes a first chat interface corresponding to the first target contact, and a second chat interface corresponding to the fourth target contact, and the receiving of the second input of the user includes: When the second chat interface is displayed, receiving a second input of the first identifier by the user; After sending the first message in the target storage space to the first target contact, the method further includes: Display the first chat interface, or keep displaying the second chat interface.

9. A message sending device, characterized in that: The message sending device comprises: A receiving unit, configured to receive a first input from a user when a first message to be sent is displayed in the chat interface; a processing unit, configured to store the first message in a target storage space in response to the first input, and display a first identifier on the chat interface, wherein the first identifier is used to indicate the target storage space, and a number is displayed on the first identifier, wherein the number indicates the number of pending messages that have been sent to the target storage space; The receiving unit is further used to receive a second input from a user; The processing unit is further configured to send the first message in the target storage space to a first target contact in response to the second input; The receiving unit is further configured to: display a first window, wherein the first window includes at least one contact identifier, and each of the contact identifiers corresponds to at least one message to be sent in the target storage space; receiving a third input of a target identifier in the at least one contact identifier by a user; The processing unit is also used for: In response to the third input, displaying a second window, wherein the second window includes at least one to-be-sent message associated with a second target contact, wherein the second target contact is a contact corresponding to the target identifier; The receiving unit is also used for: receiving a fourth input from a user regarding a target message in the at least one message to be sent; The processing unit is also used for: In response to the fourth input, the target message is sent to the second target contact.

10. The message sending device according to claim 9, characterized in that: The first input includes a first sub-input and a second sub-input, and the processing unit is specifically configured to: In response to the first sub-input, determining a first target contact associated with the first message; In response to the second sub-input, the first message is stored in the target storage space, and a second identifier is displayed at a preset position of the first message, where the second identifier is used to indicate the first target contact.

11. The message sending device according to claim 9, characterized in that: The second input includes a third sub-input and a fourth sub-input, and the processing unit is specifically configured to: In response to the third sub-input, displaying the first window, wherein the first window includes at least one message to be sent, and the at least one message to be sent includes the first message; In response to a fourth sub-input of the first message, the first message is sent to the first target contact.

12. The message sending device according to claim 11, characterized in that: The processing unit is also used for: In response to a fifth input of the user on the first window, a second message is displayed in the first window.

13. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction running on the processor, and when the program or instruction is executed by the processor, the steps of the message sending method according to any one of claims 1 to 8 are implemented.