CN115220633A - Message sending method and device and electronic equipment - Google Patents

Message sending method and device and electronic equipment Download PDF

Info

Publication number
CN115220633A
CN115220633A CN202210842720.7A CN202210842720A CN115220633A CN 115220633 A CN115220633 A CN 115220633A CN 202210842720 A CN202210842720 A CN 202210842720A CN 115220633 A CN115220633 A CN 115220633A
Authority
CN
China
Prior art keywords
message
input
target
user
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210842720.7A
Other languages
Chinese (zh)
Inventor
周剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210842720.7A priority Critical patent/CN115220633A/en
Publication of CN115220633A publication Critical patent/CN115220633A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a message sending method, a message sending device and electronic equipment, and belongs to the technical field of communication. The message sending method comprises the following steps: receiving a first input of a user under the condition that a first message to be sent is displayed in a chat interface; responding to the first input, storing the first message to the target storage space, and displaying a first identifier on the chat interface, wherein the first identifier is used for indicating the target storage space; receiving a second input of the user; in response to the second input, a first message in the target storage space is sent to the first target contact.

Description

Message sending method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message sending method, a message sending device and electronic equipment.
Background
At present, when chatting is performed through communication software, the sequence of reply messages is often required to be changed. At this time, the user is required to delete the message being edited, and then re-edit and send the previously deleted message after replying other messages according to the specified reply sequence, so that the steps are complicated, the operation process is complex, and the efficiency of sending the message by the user is reduced.
Disclosure of Invention
The embodiment of the application aims to provide a message sending method, a message sending device and electronic equipment, which can improve the message sending efficiency of a user.
In a first aspect, an embodiment of the present application provides a message sending method, where the method includes: receiving a first input of a user under the condition that a first message to be sent is displayed in a chat interface; responding to the first input, storing the first message to the target storage space, and displaying a first identifier on the chat interface, wherein the first identifier is used for indicating the target storage space; receiving a second input of the user; in response to the second input, a first message in the target storage space is sent to the first target contact.
In a second aspect, an embodiment of the present application provides a message sending apparatus, where the apparatus includes: the receiving unit is used for receiving a first input of a user under the condition that a first message to be sent is displayed in the chat interface; the processing unit is used for responding to the first input, storing the first message to the target storage space and displaying a first identifier on the chat interface, wherein the first identifier is used for indicating the target storage space; the receiving unit is also used for receiving a second input of the user; the processing unit is further used for responding to the second input and sending the first message in the target storage space to the first target contact.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions implement the steps of the message sending method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, and when executed by a processor, implement the steps of the message sending method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the message sending method according to the first aspect.
In a sixth aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the steps of the message sending method according to the first aspect.
In the message sending method provided by the embodiment of the application, under the condition that a first message to be sent is displayed in a chat interface, a first input of a user is received; responding to the first input, storing the first message to the target storage space, and displaying a first identifier on the chat interface, wherein the first identifier is used for indicating the target storage space; receiving a second input of the user; in response to the second input, a first message in the target storage space is sent to the first target contact. By the message sending method, when the message is sent, the message (namely the first message) edited by the user 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 the basis, the first message temporarily stored in the target storage space can be retransmitted to the first target contact according to the second input of the user. Therefore, when the user needs to change the sequence of the reply messages, the first message which is being edited can be quickly added into the target storage space for temporary storage without deleting the messages, and then after other messages are replied, the first message in the target storage space is directly sent to the first target contact through the input operation of the first identification used for indicating the target storage space, the messages do not need to be edited again, the steps of message sending are reduced, and the message sending efficiency of the user is improved.
Drawings
Fig. 1 is a schematic flowchart of a message sending method according to an embodiment of the present application;
fig. 2 is one of schematic operation interfaces of a message sending method according to an embodiment of the present application;
fig. 3 is a second schematic view of an operation interface of a message sending method according to the embodiment of the present application;
fig. 4 is a third schematic view of an operation interface of a message sending method according to the embodiment of the present application;
fig. 5 is a fourth schematic view of an operation interface of a message sending method according to an embodiment of the present application;
fig. 6 is a fifth schematic view of an operation interface of a message sending method according to an embodiment of the present application;
fig. 7 is a block diagram of a message sending apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
An embodiment of the first aspect of the present application provides a message sending method, and an execution subject of the technical scheme of the message sending method provided in the embodiment of the present application may be a message sending apparatus, and may specifically be determined according to an actual use requirement, and the embodiment of the present application is not limited. In order to describe the message sending method provided in the embodiment of the present application more clearly, the following method embodiment exemplarily illustrates that an execution subject of the message sending method is a message sending apparatus.
The message sending method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a message sending method, which may include the following steps S102 to S108:
s102: in a case where a first message to be transmitted is displayed in a chat interface, a first input of a user is received.
The first message is a message to be sent in the chat interface, and the message to be sent may specifically be a message that is being edited or is already edited by a user in an input box of the chat interface.
Further, the first input is a touch input of the user to the chat interface or the operation control thereon, where the touch input may be a single-click input, a double-click input, a long-press input, a sliding input, an input along a preset track, and the like, and for a specific form of the first input, a person skilled in the art may set the first input according to an actual situation, and the specific form is not limited specifically here.
S104: and responding to the first input, storing the first message to the target storage space, and displaying the first identifier on the chat interface.
The first input is used for quickly sending the message to be sent (namely the first message) in the input frame of the chat interface to the target storage space for temporary storage.
Specifically, the chat interface may be provided with a first control, and when sending a message, if the order of the reply message needs to be changed, a user may quickly send the message to be sent (i.e., the first message) in the input frame of the chat interface to the target storage space for temporary storage through touch input to the first control in the chat interface, so as to directly call the first message in the subsequent time.
Further, 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 through touch input to the first control in the chat interface, a first identifier may be displayed on the chat interface, where the first identifier is used to indicate the target storage space. In an actual application process, the first identifier may be used as an entry of the target storage space, so that a user can process a message to be sent stored in the target storage space through an input operation on the first identifier.
Illustratively, as shown in fig. 2 (a), an input box 202 for editing and sending messages and a display interface 204 for displaying the sent messages are included in the chat interface 200. In which a first message 208 and a first control 210 are displayed in the input box 202 that has been edited. In response to the electronic device receiving and responding to the user's single click input (i.e., the first input) to the first control 210, as shown in fig. 2 (b), the first message 208 is stored in the target storage space, and a first identifier 206 is displayed in the chat interface 200, where the first identifier 206 is used to indicate the target storage space. In addition, as shown in (b) of fig. 2, a number may be displayed on the first identifier 206, and the number indicates the number of messages to be sent that have been sent to the target storage space.
S106: a second input by the user is received.
The second input is a touch input of the user to the first identifier, and the touch input may be a single-click input, a double-click input, a long-press input, a sliding input, an input along a preset track, and the like.
S108: in response to the second input, a first message in the target storage space is sent to the first target contact.
The second input is touch input of the user to the first identifier, and the second input is used for calling the first message in the target storage space so as to directly send the first message to the first target contact person without re-editing the message.
Specifically, in the process of sending the message, if the sequence of the reply message 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, and the operation of deleting the message is not needed. On the basis, the user replies to other messages according to the preset reply sequence, and then after all the other messages are replied, the first message in the target storage space is directly sent to the first target contact person through the second input of the first identifier in the chat interface without editing new messages.
By the message sending method provided by the embodiment of the application, when the message is sent, the message (namely, the first message) edited by the user 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 the basis, the first message temporarily stored in the target storage space can be retransmitted to the first target contact according to the second input of the user. Therefore, when the user needs to change the sequence of the reply messages, the first message which is being edited can be quickly added into the target storage space for temporary storage without deleting the messages, and then after other messages are replied, the first message in the target storage space is directly sent to the first target contact through the input operation of the first identification used for indicating the target storage space, the messages do not need to be edited again, the steps of message sending are reduced, and the message sending efficiency of the user is improved.
In this embodiment, 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 steps S104a and S104b:
s104a: in response to the first sub-input, a first target contact associated with the first message is determined.
The first sub-input is a touch input of a user to a first target contact in a chat interface or a session message sent by the first target contact, where the touch input may be a single-click input, a double-click input, a long-press input, a sliding input, an input along a preset track, and the like.
Specifically, when a first message to be sent in an input box of a chat interface is stored in a target storage space according to an input operation of a user, an association relationship between the first message and a first target contact person may be established through a touch input (i.e., the first sub-input) of the user to the first target contact person or a session message sent by the first target contact person in the chat interface, so that when the first message stored in the target storage space is sent according to the association relationship subsequently, the first target contact person or the session message sent by the first target contact person can be responded in a targeted manner, thereby improving the pertinence of message sending and ensuring effective response of the message.
S104b: and responding to the second sub-input, storing the first message to the target storage space, and displaying a second identifier at a preset position of the first message.
The second sub-input is a touch input of a user to the chat interface or an operation control thereon, where the touch input may be a single-click input, a double-click input, a long-press input, a sliding input, an input along a preset track, and the like.
Specifically, the chat interface may be provided with a first control, after a user establishes an association relationship between the first message and a first target contact through touch input on the first target contact or a session message sent by the first target contact in the chat interface, the first message in the input frame of the chat interface may be sent to a target storage space for temporary storage through touch input on the first control, and a second identifier for indicating the first target contact is displayed at a preset position of the first message. Therefore, the subsequent user can send the first message according to the incidence relation between the first message and the first target contact person, so that the session message sent by the first target contact person is replied in a targeted manner, and the effective reply of the message is ensured.
In an actual application process, when the association relationship between the first message and the first target contact is established through touch input of the first target contact or a session message sent by the first target contact in the chat interface, a user can directly input '@' in an input box of the chat interface, the electronic device responds to input operation of the user, displays a contact list, and then establishes the association relationship between the first message and the first target contact according to selection input of the user on the first target contact in the contact list.
Further, when the association relationship between the first message and the first target contact is established through touch input to the first target contact or the session message sent by the first target contact in the chat interface, the user may also open the selectable mode of the session message in the chat interface through touch input (such as long press input) to a certain session message in the chat interface, and further establish the association relationship between the first message and the first target contact according to the selection input of the user to the session message sent by the first target contact.
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 may be expressed in the form of "@ + name" in an input box of the chat interface, such as "@ contact a", "@ contact B". Meanwhile, the association relationship between the first message and the session message sent by the first target contact can also be represented in the form of "name + session message" in the input box of the chat interface, for example, "contact a: xxxxxx "," contact B: YYYYY ". On the basis, when the user releases the association relationship between the first message and the first target contact, the user can delete the first target contact or the conversation message sent by the first target contact in the input box manually.
Illustratively, as shown in fig. 4 (a), a plurality of conversation messages 226 are displayed in the display interface 204 of the chat interface 200, and the first message 208 to be sent is displayed in the input box 202. The electronic device receives and responds to the long press input (i.e. the first sub-input) of the user on the first session message 228 in the plurality of session messages 226, and opens the selectable mode of the session messages in the chat interface, as shown in fig. 4 (b), so as to establish the association relationship between the first message and the first target contact according to the selection input of the user on the session message sent by the first target contact. On this basis, in response to the single-click input (i.e. the second sub-input) of the user to the first control 210, as shown in (c) of fig. 4, the electronic device sends the first message 208 in the input box 202 to the target storage space for temporary storage, and displays a first identifier 206 in the chat interface 200, where the first identifier 206 is used to indicate the target storage space, and a number is displayed on the first identifier 206 to indicate the number of messages to be sent that have been sent to the target storage space.
In the embodiment provided by the application, the first input includes a first sub-input and a second sub-input, and 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 person is specifically 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 person is displayed at the preset position of the first message. Therefore, when the user needs to change the sequence of the 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 into the target storage space for temporary storage without the operation of deleting the message, so that the rapidity of subsequent reply messages is ensured, the user is ensured to carry out targeted reply on the session message sent by the first target contact in the chat interface, and the effective reply of the message is ensured.
In an embodiment of the present application, the second input includes a third sub-input and a fourth sub-input, and on this basis, the S108 may specifically include the following S108a and S108b:
s108a: in response to the third sub-input, the first window is displayed.
The third sub-input is a touch input of the first identifier by a user, and the touch input may be a single-click input, a double-click input, a long-press input, a sliding input, an input along a preset track, and the like.
Further, the first window includes at least one message to be sent, and the at least one message to be sent includes the first message.
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 to the chat interface and displays the first identifier for indicating the target storage space in the chat interface, the user can suspend and display the first window in the chat interface through the third sub-input to the first identifier, so as to display at least one message to be sent, which is stored in the target storage space by the user, and the at least one message to be sent includes the first message, so that the user can subsequently and directly call the first message.
S108b: in response to the fourth sub-input, a first message is sent to the first target contact.
The fourth sub-input is a touch input of the first message in the first window by the user, and the touch input may be a single-click input, a double-click input, a long-press input, a sliding input, an input along a preset track, and the like.
Specifically, after the user suspends and displays the first window in the chat interface by inputting the third sub-message of the first identifier in the chat interface, the user can directly send the first message to the first target contact by inputting the fourth sub-message of the first message in at least one message to be sent in the first window without editing a new message, so that the message sending efficiency is improved.
Illustratively, as shown in fig. 3 (a), 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 first identifier 206 from the user, as shown in fig. 3 (b), a first window 212 is displayed in the chat interface 200 in a floating manner. A plurality of messages to be sent 230 stored in the target storage space are displayed in the first window 212, and the plurality of messages to be sent 230 include the first message 208.
At this time, the electronic device receives and responds to the single-click input (i.e., the fourth sub-input) of the user to the first message 208, as shown in (c) of fig. 3, the first message 208 is displayed in the input box 202 of the chat interface 200, so that the user can send the first message 208 by touch input to the "send" control in the chat interface 200. Alternatively, the electronic device receives and responds to a single click input by the user on the first message 208, as shown in fig. 3 (d), by sending the first message directly to the first target contact "contact a" associated therewith. At the same time, the first message 208 in the first window 212 is deleted to delete the first message 208 from the target storage space.
In the embodiment provided by the present application, the second input includes a third sub-input and a fourth sub-input, and 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, specifically, when the user responds to the third sub-input of the first identifier, a first window is displayed, where the first window includes at least one message to be sent, and the at least one message to be sent includes the first message associated with the first target contact. And on the basis, responding to the fourth sub-input of the user to the first message, and sending the first message to the first target contact associated with the first message. Therefore, the first message temporarily stored in the target storage space can be directly sent to the first target contact person associated with the first message according to the simple input of the user, the message does not need to be edited again, the message sending steps are reduced, and the message sending efficiency of the user is improved.
In this embodiment of the application, the first window includes at least one contact identifier, and on this basis, the message sending method may further include the following steps S110 to S116:
s110: and receiving a third input of the target identification in the at least one contact identification by the user.
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.
Further, the third input is a touch input of a user to a target identifier in at least one contact identifier in the first window, where the touch input may be a single-click input, a double-click input, a long-press input, a sliding input, an input along a preset track, and the like, and for a specific form of the first input, a person skilled in the art may set the third input according to an actual situation, and the specific form is not limited specifically here.
Further, the contact identifier is used to indicate an association relationship between the first message and at least one contact (or at least one session message). That is, each contact identification is used to indicate a contact associated with a message to be sent, or to indicate a conversation message sent by the contact.
S112: in response to a third input, a second window is displayed.
And the second window comprises at least one message to be sent associated with a second target contact person, and the second target contact person is a contact person corresponding to the target identifier.
Further, the third input is a touch input of a user to a target identifier in at least one contact identifier in the first window, where the target identifier corresponds to a second target contact, and on this basis, the third input is used to display at least one message to be sent in the target storage space, where the message to be sent is associated with the second target contact, in the second window.
Specifically, a user may hover and display a first window in the chat interface by touch input to a first identifier in the chat interface, the first window including at least one contact identifier. On this basis, the user can suspend and display the second window in the chat interface through touch input of the target identifier in the at least one contact identifier in the first window, and at least one message to be sent associated with the second target contact is displayed in the second window, so that the user can directly call the at least one message to be sent subsequently, and accordingly, the conversation message sent by the second target contact corresponding to the target identifier is replied in a targeted manner.
S114: and receiving a fourth input of the target message in the at least one message to be sent from the user.
The target message corresponds to a target identifier in at least one contact identifier in the first window. The target identification is used for representing the association relationship between the target message and a second target contact in the chat interface or the session message sent by the second target contact.
S116: in response to the fourth input, the targeted message is sent to the second targeted contact.
The fourth input is touch input of a user to a target message in at least one message to be sent in the second window, and the fourth input is used for calling the target message in the target storage space so as to directly send the target message to a second target contact person without re-editing the message.
Specifically, after the user hovers and displays the second window in the chat interface through touch input of the target identifier in the at least one contact identifier in the first window, the target message can be directly called through fourth input of the target message in the second window, so that a new message does not need to be edited, the target message in the target storage space is directly sent to the associated second target contact, and the second target contact associated with the target message or the session message sent by the second target contact is subjected to targeted reply.
Illustratively, as shown in fig. 5 (a), a first identifier 206 is displayed in a chat interface 200 of the electronic device, and the electronic device receives and responds to a single-click input of the first identifier 206 by a user, as shown in fig. 5 (b), a first window 212 is displayed in the chat interface 200 in a floating manner, and a plurality of contact identifiers 214 are displayed in the first window 212. At this time, in response to the single-click input of the user to the target identifier 216 in the multiple contact identifiers 214, as shown in (c) in fig. 5, a second window 218 is displayed in the chat interface 200 in a floating manner, and multiple messages to be sent 230 associated with a second target contact are displayed in the second window 218, so that the user sends the target message by touch input of the target message in the multiple messages to be sent 230, thereby performing a targeted reply on the second target contact associated with the target message or the session message sent by the second target contact.
In the foregoing embodiment provided by the application, the first window may include at least one contact identifier, and on this basis, a third input of a user to a target identifier in the at least one contact identifier may be further received, and a second window is displayed in response to the third input, where the second window includes at least one message to be sent that is associated with a second target contact. And further, receiving fourth input of the user on a target message in at least one message to be sent, and responding to the fourth input, and sending the target message to a second target contact. Therefore, according to the different contacts related to the messages to be sent, the messages to be sent temporarily stored in the target storage space are classified, the storage ordering of the messages to be sent in the target storage space is guaranteed, then the target messages related to the second target contact are quickly sent to the second target contact according to the input operation of a user, the sending rapidity and pertinence of the target messages are improved, and then the effective reply of the messages is guaranteed.
In this embodiment, after S108a, the message sending method may further include the following S118:
s118: in response to a fifth input by the user to the first window, a second message is displayed in the first window.
Specifically, in an actual application process, the first window may include a first area and a second area.
And at least one message to be sent is displayed in the second area, or at least one contact person identifier is displayed in the second area. The first area is an editable area, and a user can add a second message in the first area through input operation on the first area so that the user can directly call the second message subsequently.
Further, the second message is a quick reply message which is set by the user in a self-defined manner, such as "good morning", "in a meeting", "contact later" and the like.
Specifically, after the user suspends and displays the first window in the chat interface through touch input of the first identifier in the chat interface, the shortcut reply message (i.e., the second message) can be added in the first area in a user-defined manner through input operation on the first area in the first window, so that a subsequent user can directly call and send the shortcut reply message, and thus, the efficiency of sending the message by the user is improved.
Illustratively, as shown in fig. 6 (a), a first window 212 is displayed in a chat interface 200 of the electronic device in a floating manner, and the first window 212 includes a first area 222 and a second area 220. The plurality of messages 230 to be sent are displayed in the second area 220, and the first area 222 includes a second control 232, i.e., an "add" control. The electronic device receives and responds to the click input of the user to the second control 232, enters the text editing interface, and further responds to the text input of the user to the text editing interface, as shown in fig. 6 (b), a second message 224 is displayed in the first area 222, and the second message 224 is a quick reply message set by the user in a self-defined manner, so that a subsequent user can directly call and send the quick reply message.
According to the embodiment provided by the application, the first window is divided into two areas to be displayed, after the first window is displayed, the user can add the shortcut message in the first window in a user-defined mode through the fifth input of the first window, so that the shortcut message can be directly sent subsequently, and the message sending efficiency of the user is improved.
In the embodiment of the present application, the fourth sub-input includes a first operation and a second operation, and on this basis, the S108b may specifically include the following S108b1 and S108b2:
s108b1: and responding to the first operation, and displaying the first message and the third identification in an input box of the chat interface.
Wherein the third identification is indicative of the first target contact associated with the first message.
In an actual application process, the third identifier may be embodied in the form of an avatar of the first target contact, @ + a nickname of the first contact, and a nickname of the first contact + a session message. For example, "@ contact a", "@ contact B", "contact a: xxxxxx "," contact B: YYYYY ", etc.
S108b2: and responding to the second operation, and sending the first message in the input box to the first target contact according to the third identification.
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 identification indicating the first target contact associated with the first message may be displayed in an input box of the chat interface, specifically in response to the first operation of the first message by the user. On the basis, in response to a second operation of the first control in the input box, such as a sending control, by the user, the first message in the input box is directly sent to the first target contact indicated by the third identification.
Therefore, new messages do not need to be edited, the message sending efficiency is improved, meanwhile, the first messages are directly sent to the associated first target contact persons according to the third identification, the user is guaranteed to carry out targeted reply on the session messages sent by the first target contact persons in the chat interface, and therefore effective reply of the messages is guaranteed.
In the embodiment provided by the application, when the first message in the first window is sent to the first target contact, the first message and the third identifier, which is used for indicating the first target contact associated with the first message, are displayed in the input box of the chat interface through a first operation of the user on the first message, and then the first message in the input box is directly sent to the first target contact indicated by the third identifier through a second operation of the user on the first control in the input box. Therefore, the efficiency of message sending is improved, and the user can carry out targeted reply on the conversation message sent by the first target contact person in the chat interface, so that the effective reply of the message is ensured.
In this embodiment, after the step S108b1, the message sending method may further include the following steps S120 to S130:
s120: and receiving sixth input of the third identification by the user.
Wherein the third identification is used to indicate the first target contact associated with the first message.
S122: and in response to the sixth input, deleting the third identification, and disassociating the first message from the first target contact.
Specifically, in an actual application process, the third identifier may be specifically expressed in the form of an avatar of the first target contact, @ + a nickname of the first contact, a nickname of the first contact + a session message. For example, "@ contact a", "@ contact B", "contact a: xxxxxx "," contact B: YYYYY ", etc.
On the basis, the user can release the association relationship between the first message and the first target contact through the deleting operation of the third identifier in the input box.
S124: a seventh input by the user is received.
Wherein, the seventh input is the text input of the input box in the chat interface by the user.
In particular, this first input may appear as entering "@" in an input box of the chat interface.
S126: in response to a seventh input, a contact list is displayed.
The contact list comprises a plurality of contacts, so that a user can select the corresponding contact and establish the association relationship between the contact and the first message.
S128: an eighth input by the user to a third target contact in the contact list is received.
S130: in response to the eighth input, an association between the first message and the third target contact is established.
Specifically, when the association relationship between the first message and the third target contact is established, the user can directly input "@" in an input box of the chat interface, the electronic device responds to the input operation of the user and displays a contact list, and then the association relationship between the first message and the third target contact is established according to the selection input of the user on the third target contact in the contact list, so that the first message can be directly sent to the third target contact in the subsequent process, and the validity of message reply is ensured.
According to the embodiment provided by the 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 person can be released through the deletion operation of the third identifier, and then a new association relationship between the first message and the third target contact person can be established through the eighth input of the user, so that the reply object of the first message is adjusted.
In this embodiment, after the step S108b1, the message sending method may further include the following steps S132 and S134:
s132: a ninth input by the user to the referral message is received.
Wherein, the reference message is a session message in the chat interface.
Further, in an actual application process, the ninth input may include a fifth sub-input and a sixth sub-input. The fifth sub-input is a touch input of a user to a reference message or other session messages in the chat interface, the fifth sub-input is used for opening a selectable mode of the session messages in the chat interface, and the sixth sub-input is a selection input of the user to the reference message.
S134: in response to the ninth input, an association between the first message and the reference message is established.
Specifically, after the first message and the third identifier are displayed in the input box of the chat interface, the user may further open the selectable mode of the session message in the chat interface through a touch input (e.g., a long-press input) on a certain session message in the chat interface, and further establish the association relationship between the first message and the reference message according to a selection input of the user on the reference message in the chat interface, so as to perform a targeted reply on the reference message subsequently.
According to the embodiment provided by the application, after the first message and the third identifier are displayed in the input box of the chat interface, the association relationship between the reference message and the first message can be added through the ninth input of the user to the reference message in the chat interface, so that the reference message can be replied in a targeted manner while the first message is sent to the first target contact associated with the first message, and the effectiveness of message reply is improved.
In this embodiment of the application, the chat interfaces include a first chat interface corresponding to the first target contact and a second chat interface corresponding to the fourth target contact, and on this basis, the step S106 may specifically include the following step S106a, and after the step S108, the message sending method may further include the following step S136:
s106a: and receiving a second input of the first identifier from the user under the condition that the second chat interface is displayed.
S136: displaying the first chat interface, or keeping displaying the second chat interface.
The second chat interface corresponds to a fourth target contact, and the first chat interface corresponds to the first target contact.
Further, the second input is a touch input of the user to the first identifier displayed in the second chat interface, and the second input is used for calling the first message in the target storage space so as to directly send the first message to the first target contact without re-editing the message.
In the embodiment provided by the 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 through the input operation of 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 stay at the second chat interface corresponding to the fourth target contact, so that the operation steps of the user are simplified.
In the message sending method provided by the embodiment of the first aspect of the present application, the execution subject may be a message sending apparatus. In the embodiment of the present application, a message sending apparatus executes the message sending method as an example, and a message sending apparatus provided in the embodiment of the second aspect of the present application is described.
As shown in fig. 7, an embodiment of the present application provides a message sending apparatus 700, which may include a receiving unit 702 and a processing unit 704 described below.
A receiving unit 702, configured to receive a first input of a user when a first message to be sent is displayed in a chat interface;
a processing unit 704, configured to, in response to the first input, store the first message in the target storage space, and display a first identifier on the chat interface, where the first identifier is used to indicate the target storage space;
a receiving unit 702, further configured to receive a second input of the user;
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.
By the message sending device provided by the embodiment of the application, when the message is sent, the message (namely, the first message) edited by the user 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 the basis, the first message temporarily stored in the target storage space can be retransmitted to the first target contact according to the second input of the user. Therefore, when the user needs to change the sequence of the reply messages, the first message which is being edited can be quickly added into the target storage space for temporary storage without deleting the messages, and then after other messages are replied, the first message in the target storage space is directly sent to the first target contact through the input operation of the first identification used for indicating the target storage space, the messages do not need to be edited again, the steps of message sending are reduced, and the message sending efficiency of the user is improved.
In this embodiment of the application, the first input includes a first sub-input and a second sub-input, and the processing unit 704 is specifically configured to: determining a first target contact associated with the first message in response to the first sub-input; and responding to the second sub-input, storing the first message to the target storage space, and displaying a second identifier at a preset position of the first message, wherein the second identifier is used for indicating the first target contact.
In the embodiment provided by the application, the first input includes a first sub-input and a second sub-input, and 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 person is specifically 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 person is displayed at the preset position of the first message. Therefore, when the user needs to change the sequence of the reply messages, the user can quickly establish the association relationship between the first message being edited and the first target contact person through simple input, further quickly add the first message into the target storage space for temporary storage, without the operation of deleting the message, so that the rapidity of subsequent reply messages is ensured, meanwhile, the user is ensured to carry out targeted reply on the conversation message sent by the first target contact person in the chat interface, and the effective reply of the message is ensured.
In this embodiment of the application, the second input includes a third sub-input and a fourth sub-input, and the processing unit 704 is specifically configured to: responding to the third sub-input, and displaying a first window, wherein the first window comprises at least one message to be sent, and the at least one message to be sent comprises the first message; in response to the fourth sub-input to the first message, sending the first message to the first target contact.
In the embodiment provided by the present application, the second input includes a third sub-input and a fourth sub-input, and on this basis, when responding to the second input and sending the first message in the target storage space to the first target contact, specifically responding to the third sub-input of the user to the first identifier, a first window is displayed, where the first window includes at least one message to be sent, and the at least one message to be sent includes the first message associated with the first target contact. On the basis, responding to the fourth sub-input of the user to the first message, and sending the first message to the first target contact associated with the first message. Therefore, the first message temporarily stored in the target storage space can be directly sent to the first target contact person associated with the first message according to the simple input of the user, the message does not need to be edited again, the message sending steps are reduced, and the message sending efficiency of the user is improved.
In this embodiment of the application, the first window includes at least one contact identifier, and the receiving unit 702 is further configured to: receiving a third input of the target identifier in the at least one contact identifier from the user; the processing unit 704 is further configured to: responding to the third input, and displaying a second window, wherein the second window comprises at least one message to be sent associated with a second target contact person, and the second target contact person is a contact person corresponding to the target identification; the receiving unit 702 is further configured to: receiving a fourth input of the target message in at least one message to be sent by the user; the processing unit 704 is further configured to: in response to the fourth input, the targeted message is sent to the second targeted contact.
In the embodiment provided by the present application, the first window may include at least one contact identifier, and on this basis, a third input of a user to a target identifier in the at least one contact identifier may be further received, and a second window is displayed in response to the third input, where the second window includes at least one message to be sent that is associated with a second target contact. And further, receiving fourth input of the user on a target message in at least one message to be sent, and responding to the fourth input, and sending the target message to a second target contact. Therefore, according to the different contacts related to the messages to be sent, the messages to be sent temporarily stored in the target storage space are classified, the storage ordering of the messages to be sent in the target storage space is guaranteed, then the target messages related to the second target contact are quickly sent to the second target contact according to the input operation of a user, the sending rapidity and pertinence of the target messages are improved, and then the effective reply of the messages is guaranteed.
In this embodiment of the present application, the processing unit 704 is further configured to: in response to a fifth input by the user to the first window, a second message is displayed in the first window.
According to the embodiment provided by the application, after the first window is displayed, the fifth input of the user to the first window can be received and responded, and the shortcut message is added in the first window in a user-defined mode, so that the shortcut message can be directly sent subsequently, and the message sending efficiency of the user is improved.
In this embodiment of the application, the fourth sub-input includes a first operation and a second operation, and the processing unit 704 is specifically configured to: 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 for indicating a first target contact associated with the first message; and responding to the second operation, and sending the first message in the input box to the first target contact according to the third identification.
In the embodiment provided by the application, when the first message in the first window is sent to the first target contact, the first message and the third identifier indicating the first target contact associated with the first message are displayed in the input box of the chat interface through a first operation of the user on the first message, and then the first message in the input box is directly sent to the first target contact indicated by the third identifier through a second operation of the user on the first control in the input box. Therefore, the efficiency of message sending is improved, and the user can carry out targeted reply on the conversation message sent by the first target contact person in the chat interface, so that the effective reply of the message is ensured.
In this embodiment of the application, the receiving unit 702 is further configured to: receiving a sixth input of the third identifier from the user; the processing unit 704 is further configured to: in response to a sixth input, deleting the third identifier and releasing the association between the first message and the first target contact; the receiving unit 702 is further configured to: receiving a seventh input of the user; the processing unit 704 is further configured to: in response to a seventh input, displaying a contact list; the receiving unit 702 is further configured to: receiving an eighth input of the user to a third target contact in the contact list; the processing unit 704 is further configured to: in response to the eighth input, an association between the first message and the third target contact is established.
According to the embodiment provided by the 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 person can be released through the deletion operation of the third identifier, and then a new association relationship between the first message and the third target contact person can be established through the seventh input of the user, so that the reply object of the first message is adjusted.
In this embodiment, the receiving unit 702 is further configured to: receiving a ninth input of the user to the quote message; the processing unit 704 is further configured to: in response to the ninth input, an association between the first message and the reference message is established.
According to the embodiment provided by the application, after the first message and the third identifier are displayed in the input box of the chat interface, the association relationship between the quote message and the first message can be added through the ninth input of the user to the quote message in the chat interface, so that the quote message can be replied in a targeted manner while the first message is sent to the first target contact associated with the first message, and the effectiveness of message reply is improved.
In this embodiment of the application, the chat interfaces include a first chat interface corresponding to a first target contact and a second chat interface corresponding to a fourth target contact, and the receiving unit 702 is specifically configured to: receiving a second input of the first identifier from the user under the condition that a second chat interface is displayed; after sending the first message in the target storage space to the first target contact, the processing unit 704 is further configured to: displaying the first chat interface, or keeping displaying the second chat interface.
In the embodiment provided by the 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 through the input operation of 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 stay at the second chat interface corresponding to the fourth target contact, so that the operation steps of the user are simplified.
The message sending apparatus 700 in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The message sending apparatus 700 in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The message sending apparatus 700 provided in the embodiment of the second aspect of the present application can implement each process implemented in the embodiment of the method in fig. 1, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in an embodiment of the present application, and includes a processor 802 and a memory 804, where the memory 804 stores a program or an instruction that can be executed on the processor 802, and when the program or the instruction is executed by the processor 802, the steps of the message sending method embodiment of the first aspect described above are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
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.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The electronic device 900 of the embodiment of the present application may be configured to implement the steps of the message sending method embodiment of the first aspect described above.
The user input unit 907 is configured to receive a first input of a user when a first message to be sent is displayed in the chat interface.
The processor 910 is configured 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.
The user input unit 907 is also used for receiving a second input from the user.
The processor 910 is further configured to send a first message in the target storage space to the first target contact in response to the second input.
In the embodiment of the application, when a message is sent, the message (i.e. the first message) being edited by the user can be sent to the target storage space for temporary storage according to the first input of the user, and a first identifier for indicating the target storage space is displayed in the chat interface. On the basis, the first message temporarily stored in the target storage space can be retransmitted to the first target contact according to the second input of the user. Therefore, when the user needs to change the sequence of the reply messages, the first message which is being edited can be quickly added into the target storage space for temporary storage without deleting the messages, and then after other messages are replied, the first message in the target storage space is directly sent to the first target contact through the input operation of the first identification used for indicating the target storage space, the messages do not need to be edited again, the steps of message sending are reduced, and the message sending efficiency of the user is improved.
Optionally, the first input includes a first sub-input and a second sub-input, and the processor 910 is specifically configured to: determining a first target contact associated with the first message in response to the first sub-input; and responding to the second sub-input, storing the first message into the target storage space, and controlling the display unit 906 to display a second identifier at the preset position of the first message, wherein the second identifier is used for indicating the first target contact.
In the embodiment provided by the application, the first input includes a first sub-input and a second sub-input, and 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 person is specifically 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 person is displayed at the preset position of the first message. Therefore, when the user needs to change the sequence of the reply messages, the user can quickly establish the association relationship between the first message being edited and the first target contact person through simple input, further quickly add the first message into the target storage space for temporary storage, without the operation of deleting the message, so that the rapidity of subsequent reply messages is ensured, meanwhile, the user is ensured to carry out targeted reply on the conversation message sent by the first target contact person in the chat interface, and the effective reply of the message is ensured.
Optionally, the second input includes a third sub-input and a fourth sub-input, and the processor 910 is specifically configured to: in response to the third sub-input, controlling the display unit 906 to display a first window, where 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 the fourth sub-input to the first message, sending the first message to the first target contact.
In the embodiment provided by the present application, the second input includes a third sub-input and a fourth sub-input, and 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, specifically, when the user responds to the third sub-input of the first identifier, a first window is displayed, where the first window includes at least one message to be sent, and the at least one message to be sent includes the first message associated with the first target contact. And on the basis, responding to the fourth sub-input of the user to the first message, and sending the first message to the first target contact associated with the first message. Therefore, the first message temporarily stored in the target storage space can be directly sent to the first target contact person associated with the first message according to the simple input of the user, the message does not need to be edited again, the message sending steps are reduced, and the message sending efficiency of the user is improved.
Optionally, the first window includes at least one contact identifier therein, and the user input unit 907 is further configured to: receiving a third input of the target identifier in the at least one contact identifier from the user; the processor 910 is further configured to: in response to the third input, controlling the display unit 906 to display a second window, where 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; the user input unit 907 is also used to: receiving a fourth input of the target message in at least one message to be sent from the user; the processor 910 is further configured to: in response to the fourth input, the targeted message is sent to the second targeted contact.
In the foregoing embodiment provided by the application, the first window may include at least one contact identifier, and on this basis, a third input of a user to a target identifier in the at least one contact identifier may be further received, and a second window is displayed in response to the third input, where the second window includes at least one message to be sent that is associated with a second target contact. And further, receiving fourth input of the user on a target message in at least one message to be sent, and responding to the fourth input, and sending the target message to a second target contact. Therefore, according to the different contacts related to the messages to be sent, the messages to be sent temporarily stored in the target storage space are classified, the storage ordering of the messages to be sent in the target storage space is guaranteed, then the target messages related to the second target contact are quickly sent to the second target contact according to the input operation of a user, the sending rapidity and pertinence of the target messages are improved, and then the effective reply of the messages is guaranteed.
Optionally, the processor 910 is further configured to: in response to a fifth input to the first window by the user, the display unit 906 is controlled to display the second message in the first window.
According to the embodiment provided by the application, after the first window is displayed, the fifth input of the user to the first window can be received and responded, and the shortcut message is added in the first window in a user-defined mode, so that the shortcut message can be directly sent subsequently, and the message sending efficiency of the user is improved.
Optionally, the fourth sub-input includes a first operation and a second operation, and the processor 910 is specifically configured to: in response to the first operation, controlling the display unit 906 to display the first message and a third identifier within an input box of the chat interface, the third identifier indicating a first target contact associated with the first message; and responding to the second operation, and sending the first message in the input box to the first target contact according to the third identification.
In the embodiment provided by the application, when the first message in the first window is sent to the first target contact, the first message and the third identifier indicating the first target contact associated with the first message are displayed in the input box of the chat interface through a first operation of the user on the first message, and then the first message in the input box is directly sent to the first target contact indicated by the third identifier through a second operation of the user on the first control in the input box. Therefore, the efficiency of message sending is improved, and the user can carry out targeted reply on the conversation message sent by the first target contact person in the chat interface, so that the effective reply of the message is ensured.
Optionally, the user input unit 907 is further configured to: receiving a sixth input of the third identifier by the user; the processor 910 is further configured to: in response to a sixth input, deleting the third identification and releasing the association relationship between the first message and the first target contact; the user input unit 907 is also used to: receiving a seventh input of the user; the processor 910 is further configured to: in response to the seventh input, control the display unit 906 to display the contact list; the user input unit 907 is also used for: receiving an eighth input of the user to a third target contact in the contact list; the processor 910 is further configured to: in response to the eighth input, an association between the first message and the third target contact is established.
According to the embodiment provided by the 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 person can be released through the deletion operation of the third identifier, and then a new association relationship between the first message and the third target contact person can be established through the seventh input of the user, so that the reply object of the first message is adjusted.
Optionally, the user input unit 907 is further configured to: receiving a ninth input of the user to the quote message; the processor 910 is further configured to: in response to the ninth input, an association between the first message and the reference message is established.
According to the embodiment provided by the application, after the first message and the third identifier are displayed in the input box of the chat interface, the association relationship between the reference message and the first message can be added through the ninth input of the user to the reference message in the chat interface, so that the reference message can be replied in a targeted manner while the first message is sent to the first target contact associated with the first message, and the effectiveness of message reply is improved.
Optionally, the chat interfaces include 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 configured to: receiving a second input of the first identifier from the user under the condition that a second chat interface is displayed; after sending the first message in the target storage space to the first target contact, the processor 910 is further configured to: the display unit 906 is controlled to display the first chat interface or to keep displaying the second chat interface.
In the embodiment provided by the 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 through the input operation of 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 stay at the second chat interface corresponding to the fourth target contact, so that the operation steps of the user are simplified.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as 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 (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 909 may include volatile memory or nonvolatile memory, or the memory 909 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 909 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored in the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing first aspect message sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer readable storage media such as computer read only memory ROM, random access memory RAM, magnetic or optical disks, and the like.
An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction, to implement each process of the foregoing first aspect message sending method embodiment, and achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes in the foregoing first aspect message sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A method for sending a message, the method comprising:
receiving a first input of a user under the condition that a first message to be sent is displayed in a chat interface;
responding to the first input, storing the first message to a target storage space, and displaying a first identifier on the chat interface, wherein the first identifier is used for indicating the target storage space;
receiving a second input of the user;
in response to the second input, sending the first message in the target storage space to a first target contact.
2. The method according to claim 1, wherein the first input comprises a first sub-input and a second sub-input, and wherein the storing the first message to a target storage space in response to the first input comprises:
determining a first target contact associated with the first message in response to the first sub-input;
responding to the second sub-input, storing the first message to the target storage space, and displaying a second identifier at a preset position of the first message, wherein the second identifier is used for indicating the first target contact.
3. The method of claim 1, wherein the second input comprises a third sub-input and a fourth sub-input, and wherein sending the first message in the target storage space to a first target contact in response to the second input comprises:
responding to the third sub-input, and displaying a first window, wherein the first window comprises at least one message to be sent, and the at least one message to be sent comprises the first message;
sending the first message to the first target contact in response to a fourth sub-input to the first message.
4. The method according to claim 3, wherein the first window includes at least one contact identifier, and the method further comprises:
receiving a third input of the target identifier in the at least one contact identifier from the user;
responding to the third input, and displaying a second window, wherein the second window comprises at least one message to be sent associated with a second target contact person, and the second target contact person is a contact person corresponding to the target identification;
receiving a fourth input of the target message in the at least one message to be sent from the user;
in response to the fourth input, sending the targeted message to the second targeted contact.
5. The method according to claim 3, wherein after the displaying the first window, the method further comprises:
displaying a second message in the first window in response to a fifth input by a user to the first window.
6. The method for sending a message according to claim 3, wherein the fourth sub-input comprises a first operation and a second operation, and the sending the first message to the first target contact in response to the fourth sub-input of the first message comprises:
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 for indicating a first target contact associated with the first message;
and responding to the second operation, and sending the first message in the input box to the first target contact according to the third identification.
7. The method of claim 6, wherein after displaying the first message and the third identifier in the input box of the chat interface, the method further comprises:
receiving a sixth input of the third identification by the user;
in response to the sixth input, deleting the third identifier and disassociating the first message from the first target contact;
receiving a seventh input of the user;
in response to the seventh input, displaying a contact list;
receiving an eighth input of the user to a third target contact in the contact list;
in response to the eighth input, establishing an association between the first message and the third target contact.
8. The method of claim 6, wherein after displaying the first message and the third identifier in an input box of the chat interface, the method further comprises:
receiving a ninth input of the user to the quote message;
in response to the ninth input, establishing an association between the first message and the referral message.
9. The method according to any one of claims 1 to 8, wherein the chat interface includes a first chat interface corresponding to a first target contact and a second chat interface corresponding to a fourth target contact, and the receiving a second input of the user includes:
receiving a second input of the first identifier from the user under the condition that the second chat interface is displayed;
after sending the first message in the target storage space to a first target contact, the method further comprises:
and displaying the first chat interface or keeping displaying the second chat interface.
10. A message transmission apparatus, characterized in that the message transmission apparatus comprises:
the receiving unit is used for receiving a first input of a user under the condition that a first message to be sent is displayed in the chat interface;
the processing unit is used for responding to the first input, storing the first message to a target storage space and displaying a first identifier on the chat interface, wherein the first identifier is used for indicating the target storage space;
the receiving unit is further used for receiving a second input of the 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.
11. The message sending apparatus according to claim 10, wherein the first input comprises a first sub-input and a second sub-input, and the processing unit is specifically configured to:
determining a first target contact associated with the first message in response to the first sub-input;
responding to the second sub-input, storing the first message to the target storage space, and displaying a second identifier at a preset position of the first message, wherein the second identifier is used for indicating the first target contact.
12. The message sending apparatus according to claim 10, wherein the second input includes a third sub-input and a fourth sub-input, and the processing unit is specifically configured to:
responding to the third sub-input, and displaying a first window, wherein the first window comprises at least one message to be sent, and the at least one message to be sent comprises the first message;
sending the first message to the first target contact in response to a fourth sub-input to the first message.
13. The messaging device of claim 12, wherein the first window includes at least one contact identifier therein, and wherein the receiving unit is further configured to:
receiving a third input of the target identifier in the at least one contact identifier from the user;
the processing unit is further to:
responding to the third input, and displaying a second window, wherein the second window comprises at least one message to be sent associated with a second target contact person, and the second target contact person is a contact person corresponding to the target identification;
the receiving unit is further configured to:
receiving a fourth input of the target message in the at least one message to be sent from the user;
the processing unit is further to:
in response to the fourth input, sending the targeted message to the second targeted contact.
14. The messaging apparatus of claim 12, wherein the processing unit is further configured to:
displaying a second message in the first window in response to a fifth input by a user to the first window.
15. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the message sending method according to any one of claims 1 to 9.
CN202210842720.7A 2022-07-18 2022-07-18 Message sending method and device and electronic equipment Pending CN115220633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210842720.7A CN115220633A (en) 2022-07-18 2022-07-18 Message sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210842720.7A CN115220633A (en) 2022-07-18 2022-07-18 Message sending method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115220633A true CN115220633A (en) 2022-10-21

Family

ID=83612740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210842720.7A Pending CN115220633A (en) 2022-07-18 2022-07-18 Message sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115220633A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368828A (en) * 2013-07-05 2013-10-23 北京小米科技有限责任公司 Message temporary storage method and system
US20180152515A1 (en) * 2015-07-27 2018-05-31 Alibaba Group Holding Limited File Storage Method and Apparatus for Instant Communication Messages
CN111835616A (en) * 2019-04-16 2020-10-27 阿里巴巴集团控股有限公司 Reply message display method and device
CN112448884A (en) * 2020-11-11 2021-03-05 维沃移动通信(杭州)有限公司 Content saving method and device
CN113590008A (en) * 2021-07-30 2021-11-02 维沃移动通信(杭州)有限公司 Chat message display method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368828A (en) * 2013-07-05 2013-10-23 北京小米科技有限责任公司 Message temporary storage method and system
US20180152515A1 (en) * 2015-07-27 2018-05-31 Alibaba Group Holding Limited File Storage Method and Apparatus for Instant Communication Messages
CN111835616A (en) * 2019-04-16 2020-10-27 阿里巴巴集团控股有限公司 Reply message display method and device
CN112448884A (en) * 2020-11-11 2021-03-05 维沃移动通信(杭州)有限公司 Content saving method and device
CN113590008A (en) * 2021-07-30 2021-11-02 维沃移动通信(杭州)有限公司 Chat message display method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US10938756B2 (en) Task management based on instant message
CN111913629A (en) Information sending method and device and electronic equipment
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN113300938B (en) Message sending method and device and electronic equipment
CN112306325B (en) Interaction control method and device
CN113285866B (en) Information sending method and device and electronic equipment
JP2023521508A (en) Mail processing method, device, electronic device and storage medium
CN111857504A (en) Information display method and device, electronic equipment and storage medium
US11870742B2 (en) Information exchange method and apparatus, device, and medium
CN112711366A (en) Image generation method and device and electronic equipment
CN114327088A (en) Message sending method, device, electronic equipment and medium
WO2024114571A1 (en) Information display method and apparatus, electronic device, and storage medium
WO2024093815A1 (en) Data sharing method and apparatus, electronic device, and medium
CN112235412B (en) Message processing method and device
CN116016756A (en) Information processing method, apparatus, electronic device, and readable storage medium
CN115361354A (en) Message processing method and device, electronic equipment and readable storage medium
CN115586937A (en) Interface display method and device, electronic equipment and readable storage medium
CN115220633A (en) Message sending method and device and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment
CN114416248A (en) Conversation method and device thereof
CN114051009A (en) Message sending method and electronic equipment
CN114979060B (en) Information transmission method and information transmission device
CN115412524B (en) Message processing method, device, electronic equipment and medium
CN114356164A (en) Sharing method and sharing device
CN114416267A (en) Information processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination