Conversation message sending and receiving method and device, electronic device, and readable storage medium

By establishing a connection with the second user within the first conversation interface, and directly displaying and editing messages in the input box, the inconvenience caused by users frequently switching conversation interfaces in social applications is resolved, thus improving the chat experience and efficiency.

CN114500432BActive Publication Date: 2024-11-26VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210181362.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2024-11-26
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

In social applications, users need to frequently switch between chat interfaces to forward and edit private content, making chat operations inconvenient.

Method used

The system receives user input in the first session interface, establishes a connection between the second user and the first session interface, displays the first message in the input box, and sends the edited input from the user to the second user.

Benefits of technology

It simplifies the message forwarding and editing process without switching the chat interface, improving the user's chat experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114500432B_ABST
    Figure CN114500432B_ABST
Patent Text Reader

Abstract

The present application discloses a conversation message sending and receiving method and device, electronic device, and readable storage medium, which belongs to the field of information technology. The method includes: when a first message sent by a first user is received in a first conversation interface, receiving a first input from the user; in response to the first input, establishing an association relationship between a second user and the first conversation interface, and displaying the first message in an input box of the first conversation interface; receiving a second input from the user; and in response to the second input, sending the first message to the second user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of information technology, and specifically relates to a method and device for sending and receiving conversation messages, an electronic device, and a readable storage medium. Background Art

[0002] Currently, when users use social applications on electronic devices to chat, it is common to chat with multiple people. For example, if the current user needs to ask friend B to confirm a reply to a message sent by friend A, the user usually takes a screenshot of the chat message with friend A or selects multiple messages and forwards them to friend B.

[0003] The target message sent by friend A involves private content and needs to be edited before being forwarded to friend B. In this case, it is necessary to switch from the current conversation interface with friend A to the conversation interface with friend B, and then copy the message to the input box of the conversation interface with friend B for editing, and then send it to friend B.

[0004] This will cause the user to frequently switch back and forth between the conversation interfaces of friend A and friend B, causing trouble to the user. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a method and device for sending and receiving a session message, an electronic device, and a readable storage medium, which can solve the inconvenience caused by existing message forwarding.

[0006] In a first aspect, an embodiment of the present application provides a method for sending and receiving a session message, the method comprising:

[0007] When a first message sent by a first user is received in the first conversation interface, receiving a first input from the user;

[0008] In response to the first input, establishing an association relationship between the second user and the first conversation interface, and displaying the first message in an input box of the first conversation interface;

[0009] receiving a second input from the user;

[0010] In response to the second input, the first message is sent to the second user.

[0011] In a second aspect, an embodiment of the present application provides a session message sending and receiving device, including:

[0012] A first receiving module, configured to receive a first input from a user when a first message sent by a first user is received in the first conversation interface;

[0013] a response module, configured to establish an association relationship between the second user and the first conversation interface in response to the first input, and display the first message in an input box of the first conversation interface;

[0014] A second receiving module, used for receiving a second input from the user;

[0015] The first sending module is used to send the first message to the second user in response to the second input.

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

[0017] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0018] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

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

[0020] In an embodiment of the present application, by receiving a first message sent by a first user in a first conversation interface, receiving a first input from a user; in response to the first input, establishing an association relationship between a second user and the first conversation interface, and displaying the first message in an input box of the first conversation interface; receiving a second input from the user; and in response to the second input, sending the first message to the second user, it is possible to edit and forward the message sent by the first user to the second user in a simple and convenient manner in the conversation interface with the first user, thereby avoiding the tedious operation of the user switching from the conversation interface with the first user to the conversation interface with the second user, copying and pasting the message into the input box of the conversation interface with the second user for editing, and then sending it to the second user, thereby improving the user's chat experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flowchart of the method for sending and receiving conversation messages according to an embodiment of the present application.

[0022] Figure 2This is one of the user interface schematic diagrams of the conversation message sending and receiving method of the embodiment of the present application.

[0023] Figure 3 This is one of the user interface schematic diagrams of the conversation message sending and receiving method of the embodiment of the present application.

[0024] Figure 4A , Figure 4B , Figure 4C and Figure 4D It is a user interface diagram of the conversation message sending and receiving method according to an embodiment of the present application.

[0025] Figure 5 It is a structural block diagram of the session message sending and receiving device of an embodiment of the present application.

[0026] Figure 6 It is a structural block diagram of an electronic device according to an embodiment of the present application.

[0027] Figure 7 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION

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

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

[0030] The following is a detailed description of the method for sending and receiving a session message provided by the embodiment of the present application through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0031] Figure 1 Schematic diagram of the process of sending and receiving session messages according to an embodiment of the present application. Figure 1 As shown, the application operation method of the embodiment of the present application includes the following steps 102 to 108.

[0032] Step 102: When a first message sent by a first user is received in the first conversation interface, a first input of the user is received.

[0033] The first conversation interface is an interface for the current user to have a conversation and chat with the first user, and the first message sent by the first user is a normal chat message.

[0034] It is understandable that the first input may be an operation for calling up a user list, and the first input indicates that the user wants to forward the first message. For example, the first input may be an operation in which the user enters text multiple times in the input box of the first conversation interface and then deletes it; or a specific gesture operation of the user on the first message, such as long pressing, sliding, clicking, etc.

[0035] Step 104: In response to the first input, establish an association relationship between the second user and the first conversation interface, and display the first message in an input box of the first conversation interface.

[0036] It is understandable that after receiving the first message, it is possible to determine whether the first input exists by detecting the input operation of the current user. If the first input exists, the user list is displayed on the first conversation interface.

[0037] like Figure 2 As shown, when the current user receives a message 10 sent by friend A, other friends are needed to help reply to the message 10. The current user can perform a long press input operation (first input) on the chat message displayed in the first conversation interface, so that the corresponding contact avatar list is displayed in the current first conversation interface with friend A.

[0038] It is understandable that the friends who are close to the current user may be determined based on the chat frequency, the most recent chat time, etc., so that the avatar list of these users is displayed. The current user may then select one or more contacts as the second user from the displayed contact list.

[0039] After receiving the user's selection operation for a contact (second user) in the contact list, it can be considered that the association relationship between the contact and the first conversation interface is established. It can be understood that after the association relationship exists between the second user and the first conversation interface, the conversation messages sent by the first user to the current user can be forwarded to the second user relatively quickly or directly.

[0040] Optionally, after the association relationship is established between the second user and the first conversation interface, a control may be displayed in the first conversation interface, the control being used to point to the second user, and the control may be specifically displayed with the avatar or name of the second user. Exemplarily, the control may be a control that already exists in the first conversation interface, for example, a send control, and the avatar of the second user may be directly displayed on the send control.

[0041] In addition, when the second user establishes an association with the first conversation interface, the message received by the first conversation interface can be directly displayed in the input box, and the message in the input box can be edited.

[0042] In the embodiment of the present application, by establishing an association relationship between the second user and the first conversation interface, the message sending object in the input box of the first conversation interface can be selected as the second user, that is, the current user can quickly forward the message received in the first conversation interface to the associated user without exiting the first conversation interface.

[0043] like Figure 3 As shown, after the current user binds the current conversation interface with friend A to friend B, the message 10 sent by friend A is displayed in the input box of the conversation interface and can be edited by the current user.

[0044] Step 106: Receive a second input from the user.

[0045] Step 108: In response to the second input, send the first message to the second user.

[0046] It can be understood that the second input may be an input of the user to the above-mentioned control directed to the second user.

[0047] Optionally, the receiving the second input of the user includes: receiving an input of the user to a send control displayed in the first conversation interface, the send control being associated with the second user. The send control displayed in the first conversation interface is used to perform a sending operation on the content in the input box, and the send control is correspondingly displayed as an identifier of the second user, or text representing the second user. That is, clicking the send control in the first conversation interface does not send the message to the first user, but sends the content in the input box to the second user.

[0048] like Figure 3 As shown, the second user's sending control can use the second user's avatar logo and the text "Friend B" as the background. Correspondingly, when the user clicks the avatar background of the send control, it means that the current user sends the content in the input box to the contact friend B with the corresponding avatar background.

[0049] The second user who establishes an association relationship with the first conversation interface may be one or more. If there are multiple second users, sending controls corresponding to the multiple associated second users are displayed on the first conversation interface.

[0050] The current user can select one or more from multiple displayed second users' sending controls through a second input, such as clicking, long pressing, sliding, etc., thereby sending the content including the first input message in the input box to the selected second user in the first conversation interface.

[0051] Optionally, before sending the first message to the second user, the method further includes receiving an editing operation of the user on the content in the input box.

[0052] If the user needs to slightly modify the first message sent by the first user before sending it to the second user, edit it in the input box; otherwise, the user can directly confirm and send it to the second user.

[0053] In the embodiment of the present application, the user can associate the first conversation interface with the second user to directly display the message received in the first conversation interface in the first input box of the current interface, so as to directly forward the message content in the first input box to the second user without editing in the first conversation interface, or edit the message content in the first input box and then forward it to the second user without switching to the conversation interface corresponding to the second user. In this way, switching back and forth between the current conversation interface and the conversation interface of the second user is avoided, and the user's chat experience is improved.

[0054] Optionally, after sending the first message to the second user, the method further includes: receiving a second message sent by the second user when the first conversation interface is displayed; displaying the second message in the first input box when there is no content in the first input box of the first conversation interface; or displaying the second message in a target input box when there is content in the first input box of the first conversation interface, wherein the target input box does not overlap with the first input box.

[0055] In this embodiment, the second message sent to the current user by the second user who has established an association with the first conversation interface can be directly displayed not only in the first conversation interface between the current user and the first user, but also in the input box of the conversation interface.

[0056] It can be understood that after establishing a relationship with the second user in the first conversation interface and sending at least one first message to the second user, the second message sent by the second user may be a reply message to the first message, and the current user needs the help of the second user to reply to the first message. Therefore, the received second message can be directly displayed in the input box in the first conversation interface.

[0057] Of course, the present application is not limited to this specific embodiment. If the message sent by the second user is only displayed in the first conversation interface, the current user can copy and paste the message into the input box of the conversation interface to avoid switching to the second conversation interface with the second user to obtain a reply message.

[0058] In an embodiment of the present application, since the message sent by the second user is directly displayed in the input box of the first conversation interface, the current user can avoid switching to the conversation interface with the second user to obtain a reply message, and can directly edit the second user's message in the input box and send the message directly to the first user for reply.

[0059] Of course, the reply message of the second user may also be displayed in the second conversation interface between the second user and the current user, which is the same as the display of the existing chat conversation interface.

[0060] In some optional embodiments, when a second message sent by a second user is received, the first input box of the first conversation interface between the current user and the first user may contain message text content to be edited, or may not contain any text content.

[0061] Specifically, when there is no content in the first input box of the first conversation interface, the second message is displayed in the input box. If there is no other content in the first input box, the received second message is displayed in the input box by default, that is, the user can directly send the message in the input box.

[0062] Specifically, when there is content in the first input box of the first conversation interface, the second message is displayed in the target input box, and the target input box does not overlap with the first input box. If there is other content entered by the current user in the first input box, in order not to overwrite the content entered by the user, another input box (target input box) can be displayed in the current interface (first conversation interface). There is no content in the target input box, so the message sent by the second user can be displayed in the target input box. The display position of the target input box can be near the first input box, but it does not overlap with the existing message display area and input box area. In addition, the second message can also be directly displayed near the first input box, for example, the second message is displayed above the first input box.

[0063] In this way, the current user can see the input content and the content sent by the second user at the same time, and can combine the two contents to reply to the first user.

[0064] In the above step 104, the first message displayed in the input box of the first conversation interface may be displayed in the same manner as the second message in the input box of this embodiment, which will not be described in detail here.

[0065] Optionally, after displaying the second message in the first input box or the target input box, it also includes: adjusting the send control to be associated with the first user; receiving a third input from the user to the send control; and sending the second message to the first user in response to the third input.

[0066] After the second message sent by the second user is displayed in the input box, the send control can be restored to the initial state (a control that only includes the word "Send"), or the background of the send control can be adjusted to the avatar or logo of the first user. The third input of the user to the send control can be a click input to the send control. That is, when the user clicks the send control, the content in the input box (the first input box or the target input box) can be directly sent to the first user. Specifically, the content in the input box can be edited content or unedited content. However, after the second message is displayed in the first conversation interface, the associated object corresponding to the send control is changed.

[0067] In some optional embodiments, before sending the second message to the first user, the process further includes: receiving an editing operation of the current user on the message in the input box.

[0068] Similar to the step of sending the first message to the second user, if the user needs to slightly modify the second message sent by the second user before sending it to the first user, edit it in the input box; otherwise, you can directly confirm to send the second message to the first user.

[0069] In this way, the current user can directly display the second message sent by the second user in the conversation interface with the first user, and can reply to the first user according to the reply message of the second user without switching to the conversation interface with the second user. And by directly displaying the second message in the input box of the conversation interface with the first user, it is more convenient to edit and process the second message and then forward it to the first user, avoiding the tedious operation of copying and pasting the second message into the input box for editing, thereby improving the user's chat experience.

[0070] Optionally, after establishing the association relationship between the second user and the first conversation interface, the method further includes: when the second conversation interface with the second user is displayed, if a third message sent by the first user is received, displaying the third message in a second input box of the second conversation interface.

[0071] In this embodiment, after the second user establishes an association with the first conversation interface, if the current user is in the second conversation interface with the second user at this time, the third message can be directly displayed in the second conversation interface. That is, the third message can be directly sent to the associated second user without the operation of the current user.

[0072] Specifically, the third message can be displayed in the second input box of the second conversation interface. If there is content in the second input box, as in the above example, the third message can be displayed in another input box in the second conversation interface, which is different from the second input box, or the third message can be directly displayed near the second input box.

[0073] The following is combined with FIG. 4A to FIG. 4D The application scenario of the method for sending and receiving conversation messages in an embodiment of the present application is described.

[0074] like Figure 4A As shown, the user is currently chatting with friend A in the conversation interface 100, and currently receives a message from friend A, "Which one should I choose for the last multiple-choice question in yesterday's math test?" If it is detected that the user has a first input, an avatar list pops up, and the avatar list includes friend B. After the user selects friend B, an association relationship is established between friend B and the conversation interface 100, and the above message is displayed in the first input box of the conversation interface 100, and the avatar of friend B is displayed above the corresponding send control (that is, the send control points to friend B), as shown in FIG. Figure 4B shown.

[0075] like Figure 4C As shown, the conversation interface 200 between friend B and the user (the conversation interface displayed in the device held by friend B) will normally display the above message received by friend B from the user "Which answer should I choose for the last multiple-choice question in yesterday's math test?" Friend B enters the reply message "The answer is C" in the input box of the conversation interface 200 between friend B and the user, and clicks Send to send the message to the user.

[0076] like Figure 4D As shown, returning to the conversation interface 100 between the user and friend A, the reply message from friend B received by the user will be directly displayed in the input box of the conversation interface 100, and the corresponding send control will use the avatar of friend A as the background.

[0077] The user can edit the message "Choose C for the answer" displayed in the input box, and send the message to friend A through the second input. For example, click the send control corresponding to friend A to send the message "Choose C for the answer" to friend A.

[0078] In an embodiment of the present application, by receiving a first message sent by a first user in a first conversation interface, receiving a first input from a user; in response to the first input, establishing an association relationship between a second user and the first conversation interface, and displaying the first message in an input box of the first conversation interface; receiving a second input from the user; and in response to the second input, sending the first message to the second user, it is possible to edit and forward the message sent by the first user to the second user in a simple and convenient manner in the conversation interface with the first user, avoiding the cumbersome operation of switching from the conversation interface with the first user to the conversation interface with the second user, copying and pasting the message into the input box of the conversation interface with the second user for editing, and then sending it to the second user, thereby improving the user's chat experience.

[0079] In addition, by directly displaying the reply message of the second user in the conversation interface with the first user, it is possible to avoid switching to the conversation interface with the second user to obtain the corresponding reply message. By directly displaying the reply message of the second user in the input box of the conversation interface with the first user, it is more convenient for the user to directly edit and forward the message to the first user. It is avoided that the user frequently switches back and forth between the conversation interfaces with different users, and the efficiency of sending and receiving conversation messages is improved.

[0080] The conversation message sending and receiving method provided in the embodiment of the present application can be executed by a conversation message sending and receiving device. In the embodiment of the present application, the conversation message sending and receiving device provided in the embodiment of the present application is described by taking the conversation message sending and receiving device executing the conversation message sending and receiving method as an example.

[0081] like Figure 5 As shown, the conversation message sending and receiving device 800 of the embodiment of the present application includes: a first receiving module 820, a responding module 840, a second receiving module 860 and a first sending module 880.

[0082] The first receiving module 820 is used to receive a first input from a user when a first message sent by a first user is received in the first conversation interface; the responding module 840 is used to establish an association relationship between a second user and the first conversation interface in response to the first input, and display the first message in the input box of the first conversation interface; the second receiving module 860 is used to receive a second input from the user; and the first sending module 880 is used to send the first message to the second user in response to the second input.

[0083] Optionally, the second receiving module 860 is specifically configured to: receive an input from the user to a send control displayed in the first conversation interface, where the send control is associated with the second user.

[0084] Optionally, the device 800 further includes:

[0085] A third receiving module (not shown in the figure), configured to receive a second message sent by the second user after sending the first message to the second user, when the first conversation interface is displayed;

[0086] The first display module (not shown in the figure) is used to display the second message in the first input box of the first conversation interface when there is no content in the first input box; or to display the second message in a target input box when there is content in the first input box of the first conversation interface, and the target input box does not overlap with the first input box.

[0087] Optionally, the device 800 further includes:

[0088] an adjustment module (not shown in the figure), configured to adjust the sending control to be associated with the first user after the second message is displayed in the first input box or the target input box;

[0089] a fourth receiving module (not shown in the figure), configured to receive a third input of the user to the sending control;

[0090] The second sending module (not shown in the figure) is used to send the second message to the first user in response to the third input.

[0091] Optionally, the device 800 further includes:

[0092] The second display module (not shown in the figure) is used for, after establishing an association relationship between the second user and the first conversation interface, displaying the third message in the second input box of the second conversation interface if a third message sent by the first user is received when the second conversation interface with the second user is displayed.

[0093] In an embodiment of the present application, by receiving a first message sent by a first user in a first conversation interface, receiving a first input from a user; in response to the first input, establishing an association relationship between a second user and the first conversation interface, and displaying the first message in an input box of the first conversation interface; receiving a second input from the user; and in response to the second input, sending the first message to the second user, the message sent by the first user can be edited and forwarded to the second user in a simple and convenient manner in the conversation interface with the first user, avoiding the tedious operation of switching from the conversation interface with the first user to the conversation interface with the second user, copying and pasting the message into the input box of the conversation interface with the second user for editing, and then sending it to the second user, thereby improving the user's chat experience.

[0094] In addition, by directly displaying the reply message of the second user in the conversation interface with the first user, it is possible to avoid switching to the conversation interface with the second user to obtain the corresponding reply message. By directly displaying the reply message of the second user in the input box of the conversation interface with the first user, it is more convenient for the user to directly edit and forward the message to the first user. This avoids the user from frequently switching back and forth between the conversation interfaces with different users, and improves the efficiency of sending and receiving conversation messages.

[0095] The conversation message sending and receiving device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a personal computer (personal computer, PC), etc., which is not specifically limited in the embodiment of the present application.

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

[0097] The conversation message sending and receiving device provided in the embodiment of the present application can achieve Figures 1 to 4D To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0098] Alternatively, if Figure 6 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 940 and a memory 920, and the memory 920 stores a program or instruction that can be executed on the processor 940. When the program or instruction is executed by the processor 940, the various steps of the above-mentioned session message sending and receiving method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0100] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0101] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

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

[0103] The user input unit 1007 is used to receive a first input from a user when a first message sent by a first user is received in the first conversation interface;

[0104] Processor 1010, configured to establish an association relationship between a second user and the first conversation interface in response to the first input;

[0105] A display unit 1006, configured to display the first message in an input box of the first conversation interface;

[0106] A user input unit 1007, configured to receive a second input from the user;

[0107] Processor 1010 is configured to send the first message to the second user in response to the second input.

[0108] Optionally, the user input unit 1007 is specifically configured to: receive an input from the user to a send control displayed in the first conversation interface, the send control being associated with the second user. Optionally, the user input unit 1007 is further configured to, after sending the first message to the second user, receive a second message sent by the second user when the first conversation interface is displayed;

[0109] The display unit 1006 is further configured to display the second message in the first input box of the first conversation interface when there is no content in the first input box; or display the second message in a target input box when there is content in the first input box of the first conversation interface, wherein the target input box does not overlap with the first input box.

[0110] Optionally, the processor 1010 is further configured to, after displaying the second message in the first input box or the target input box, adjust the sending control to be associated with the first user;

[0111] The user input unit 1007 is further used to receive a third input of the user to the sending control;

[0112] The processor 1010 is further configured to send the second message to the first user in response to the third input.

[0113] Optionally, the display unit 1006 is further configured to, after establishing an association relationship between the second user and the first conversation interface, display the third message in the second input box of the second conversation interface if a third message sent by the first user is received when the second conversation interface with the second user is displayed.

[0114] In an embodiment of the present application, by receiving a first message sent by a first user in a first conversation interface, receiving a first input from a user; in response to the first input, establishing an association relationship between a second user and the first conversation interface, and displaying the first message in an input box of the first conversation interface; receiving a second input from the user; and in response to the second input, sending the first message to the second user, it is possible to edit and forward the message sent by the first user to the second user in a simple and convenient manner in the conversation interface with the first user, avoiding the cumbersome operation of switching from the conversation interface with the first user to the conversation interface with the second user, copying and pasting the message into the input box of the conversation interface with the second user for editing, and then sending it to the second user, thereby improving the user's chat experience.

[0115] By directly displaying the reply message of the second user in the conversation interface with the first user, it is possible to avoid switching to the conversation interface with the second user to obtain the corresponding reply message.

[0116] By directly displaying the second user's reply message in the input box of the conversation interface with the first user, it is more convenient for the user to directly edit and forward the message to the first user, thereby avoiding the user from frequently switching back and forth between the conversation interfaces with different users, and improving the efficiency of conversation message sending and receiving.

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

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

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

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

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

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

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

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

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

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

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

Claims

1. A method for sending and receiving a session message, characterized in that: include: When a first message sent by a first user is received in the first conversation interface, a first input of the user is received; wherein the first input includes an operation for calling a user list and an operation for selecting a second user from the user list; In response to the first input, establishing an association relationship between the second user and the first conversation interface, displaying a control pointing to the second user on the first conversation interface, and displaying the first message in an input box of the first conversation interface; receiving a second input from the user, the second input being an input from the user to a control directed to the second user; In response to the second input, sending the first message to the second user; After sending the first message to the second user, the method further includes: receiving a second message sent by the second user when the first conversation interface is displayed; displaying the second message in the first input box of the first conversation interface when there is no content; or displaying the second message in a target input box when there is content in the first input box of the first conversation interface, wherein the target input box does not overlap with the first input box; and / or, After establishing the association relationship between the second user and the first conversation interface, the method further includes: when the second conversation interface with the second user is displayed, if a third message sent by the first user is received, displaying the third message in a second input box of the second conversation interface.

2. The method according to claim 1, characterized in that The receiving a second input from the user comprises: An input of the user to a send control displayed in the first conversation interface is received, wherein the send control is associated with the second user.

3. The method according to claim 2, characterized in that After displaying the second message in the first input box or the target input box, the method further includes: adjusting the sending control to be associated with the first user; receiving a third input of the user to the sending control; In response to the third input, the second message is sent to the first user.

4. A conversation message sending and receiving device, characterized in that: include: A first receiving module, configured to receive a first input from a user when a first message sent by a first user is received in a first conversation interface; wherein the first input includes an operation for calling a user list and an operation for selecting a second user from the user list; a response module, configured to establish, in response to the first input, an association relationship between the second user and the first conversation interface, display a control pointing to the second user on the first conversation interface, and display the first message in an input box of the first conversation interface; A second receiving module, configured to receive a second input from the user, where the second input is an input from the user to a control directed to the second user; A first sending module, configured to send the first message to the second user in response to the second input; The device further includes a third receiving module, a first display module, and / or a second display module; wherein, the third receiving module is configured to receive a second message sent by the second user after sending the first message to the second user, when the first conversation interface is displayed; the first display module is configured to display the second message in the first input box of the first conversation interface if there is no content in the first input box; or display the second message in a target input box if there is content in the first input box of the first conversation interface, wherein the target input box does not overlap with the first input box; The second display module is configured to, after establishing an association relationship between the second user and the first conversation interface, display the third message in the second input box of the second conversation interface if a third message sent by the first user is received while the second conversation interface with the second user is displayed.

5. The device according to claim 4, characterized in that The second receiving module is specifically used for: An input of the user to a send control displayed in the first conversation interface is received, wherein the send control is associated with the second user.

6. The device according to claim 5, characterized in that Also includes: An adjustment module, configured to adjust the sending control to be associated with the first user after displaying the second message in the first input box or the target input box; A fourth receiving module, configured to receive a third input of the user to the sending control; The second sending module is configured to send the second message to the first user in response to the third input.

7. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for sending and receiving a conversation message according to any one of claims 1 to 3 are implemented.

8. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the conversation message sending and receiving method according to any one of claims 1 to 3 are implemented.