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

Message sending method and device and electronic equipment Download PDF

Info

Publication number
CN113300938B
CN113300938B CN202110362042.XA CN202110362042A CN113300938B CN 113300938 B CN113300938 B CN 113300938B CN 202110362042 A CN202110362042 A CN 202110362042A CN 113300938 B CN113300938 B CN 113300938B
Authority
CN
China
Prior art keywords
content information
target
message
input
information
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.)
Active
Application number
CN202110362042.XA
Other languages
Chinese (zh)
Other versions
CN113300938A (en
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 CN202110362042.XA priority Critical patent/CN113300938B/en
Publication of CN113300938A publication Critical patent/CN113300938A/en
Priority to PCT/CN2022/083454 priority patent/WO2022206699A1/en
Application granted granted Critical
Publication of CN113300938B publication Critical patent/CN113300938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • 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/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (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 problem of low efficiency of sending files and prompting related contacts to check can be solved. The method comprises the following steps: receiving a first input of a user to a target message under the condition that an interface of the target group chat is displayed and the interface of the target group chat comprises the target message, wherein the target message comprises M pieces of content information; responding to the first input, and displaying M controls corresponding to M pieces of content information, wherein one piece of content information corresponds to one control; receiving a second input of the user to a target control in the M controls; and responding to the second input, editing the target message, replacing the target content information corresponding to the target control with the first content information, generating the first message, and sending the first message to a server corresponding to the target group chat. The method and the device for sending the file are applied to the process that the electronic device sends the file in the group chat.

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
The social application program of the current electronic equipment has rich and various functions, and not only provides a text chat function, a voice call function and a video call function for a user, but also provides a file receiving and sending function, a location sharing function, an information sharing function and the like for the user.
In the related art, in a scene of group chat, a user needs to send a file (a file such as a document, a picture, a video, an audio and the like) to some contacts, so that the user can send the file to the group chat and prompt the contacts to view the file by using a single message (namely, by means of @ the contacts); or first prompt these contacts by means of @ contacts and then send the file.
However, the above methods all require multiple steps to achieve the corresponding effect. And if the user has not reached the @ contacts after sending the file, and other contacts send messages, the messages sent by the contacts (namely the messages of the sent file and the @ contacts) are split; or, if the user needs to send a plurality of files and needs a plurality of different contacts to view, the user can see the message including a plurality of scattered files and a plurality of @ contacts in the group chat, and in this case, all contacts are inconvenient to correspond to which files are files that need to be viewed by the user. Therefore, the operation of the user is cumbersome and time-consuming, so that the efficiency of the electronic device sending the file and prompting the related contacts to view is low.
Disclosure of Invention
The embodiment of the application aims to provide a message sending method, a message sending device and electronic equipment, which can solve the problem of low efficiency of sending a file and prompting related contacts to check.
In order to solve the technical problem, the present application is implemented as follows:
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 to a target message under the condition that the interface of the target group chat is displayed and the interface of the target group chat comprises the target message, wherein the target message comprises M pieces of content information, and M is a positive integer; responding to the first input, and displaying M controls corresponding to M pieces of content information, wherein one piece of content information corresponds to one control; receiving a second input of a user to a target control in the M controls; in response to the second input, editing the target message, replacing the target content information corresponding to the target control with the first content information, generating a first message, and sending the first message to a server corresponding to the target group chat; the first content information and the target content information are the same type of content information, the first message is composed of the first content information and M-1 content information, and the M-1 content information is the content information except the target content information in the M content information.
In a second aspect, an embodiment of the present application provides a message sending apparatus, including: the device comprises a receiving module, a display module, an editing module, a generating module and a sending module. The receiving module is used for receiving a first input of a user to a target message under the condition that an interface of the target group chat is displayed and the interface of the target group chat includes the target message, wherein the target message includes M pieces of content information, and M is a positive integer. And the display module is used for responding to the first input received by the receiving module and displaying M controls corresponding to the M pieces of content information, and one piece of content information corresponds to one control. And the receiving module is also used for receiving a second input of the user to a target control in the M controls. And the editing module is used for responding to the second input received by the receiving module, editing the target message and replacing the target content information corresponding to the target control with the first content information. A generating module for generating a first message. And the sending module is used for sending the first message to a server corresponding to the target group chat. The first content information and the target content information are the same type of content information, the first message is composed of the first content information and M-1 content information, and the M-1 content information is the content information except the target content information in the M content information.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the 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 method according to the first aspect.
In this embodiment of the application, when the electronic device displays an interface of a target group chat and the interface of the target group chat includes a target message, a user may perform a first input on the target message, so as to trigger the electronic device to display M controls corresponding to M content information included in the target message. And then the user can input a target control in the M controls to trigger the electronic device to edit the target message, replace the target content information corresponding to the target control with the first content information, generate the first message based on the first content information and the M-1 content information except the target content information in the M content information, and send the first message to a server corresponding to the target group chat. It is therefore possible to obtain a new message by re-editing and modifying the message on the basis of a message that has been sent in the history and to send the new message again. Without requiring the user to re-edit one or more new messages to send the file and prompt the associated contacts for viewing. Therefore, the operation of the user is simplified, and the efficiency of the electronic equipment for sending the file and prompting the related contact persons to check is improved.
Drawings
Fig. 1 is a schematic diagram of a message sending method according to an embodiment of the present application;
fig. 2 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 4 is a second schematic diagram of a message sending method according to an embodiment of the present application;
fig. 5 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 6 is a third schematic diagram of a message sending method according to an embodiment of the present application;
fig. 7 is a fourth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 8 is a fourth schematic diagram of a message sending method according to an embodiment of the present application;
fig. 9 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 10 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present application;
fig. 12 is a schematic hardware structure diagram 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 clearly and completely described 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 obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope 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 are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a 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 "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The message sending method provided by the embodiment of the application can be applied to a scene that the electronic equipment sends the message through the group chat and reminds related contacts to check. The specific application scenario may be determined according to the use requirement, and the application is not limited.
For example, a file is sent in a group chat and a related contact is prompted to view, assuming that an interface currently displayed by an electronic device is an interface of the group chat, and the interface of the group chat includes a history message (the history message is a message sent by a user and used for prompting the contact 1 and the contact 2 to view), if the user needs to send a file 2 again and prompts the contact 2, the contact 3 and the contact 4 to view, the user may input the history message in the interface of the group chat, so as to trigger the electronic device to display a plurality of controls corresponding to a plurality of content information (namely, the identifiers of the file 1, the contact 1 and the contact 2) included in the history message, and the user may input a target control in the plurality of controls to trigger the electronic device to re-edit the message, for example, delete the file 1 in the plurality of content information, and add the file 2; and deleting the identifier of the contact 1 in the plurality of content information, and adding the identifier of the contact 3 and the identifier of the contact 4, so that the electronic equipment can generate a new message based on the newly added content information and the undeleted content information, and send the new message to the group chat, so as to send the file 2 to the group chat, and remind the contact 2, the contact 3 and the contact 4 of viewing. Without requiring the user to re-edit a new message.
In the embodiment of the application, the user can obtain a new message by re-editing the sent historical message and send the new message to the group chat, so that the operation of the user can be simplified, and the efficiency of sending the file and prompting the related contact persons to view by the electronic equipment is improved.
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.
An embodiment of the present application provides a message sending method, and fig. 1 shows a flowchart of a message sending method provided in an embodiment of the present application, where the method may be applied to an electronic device. As shown in fig. 1, a message sending method provided in an embodiment of the present application may include steps 201 to 204 described below.
Step 201, in the case that the interface of the target group chat is displayed and the interface of the target group chat includes the target message, the electronic device receives a first input of the target message from a user.
In this embodiment of the present application, the target message includes M pieces of content information, where M is a positive integer.
In the embodiment of the application, when the electronic device displays an interface of a target group chat and the interface of the target group chat includes a target message (i.e., a message sent by history), a user may input the target message to trigger the electronic device to display M controls corresponding to M pieces of content information included in the target message, so that the user may input a target control of the M controls again to edit the content information included in the target message, thereby deleting the target content information corresponding to the target control, generating a new message (i.e., a first message) based on the first content information and M-1 pieces of content information, excluding the target content information, of the M pieces of content information, and sending the first message to a server corresponding to the target group chat.
It should be noted that the interface of the target group chat is a conversation interface corresponding to a plurality of contacts, and the plurality of contacts may all send messages in the conversation interface for viewing by other contacts (i.e., the contacts other than the contact sending the message) and can view messages sent by other contacts. The interface of the target group chat may include a plurality of history messages, and the target message is a history message sent by any contact person. And, the target message may be specifically a message in the form of a file, a picture, a video, an audio, and the like.
Optionally, in this embodiment of the application, the first input of the target message by the user may be any of: long press input, click input, tap input, drag input, and the like.
Optionally, in this embodiment of the application, the M pieces of content information included in the target message may be at least one of the following: file information, reminder identification information, text content information, voice content information, and the like.
Optionally, in this embodiment of the application, the reminding identification information may include at least one of the following: contact person nicknames, contact person head images, contact person account numbers and the like.
It should be noted that the input of the target message by the user may be understood as the input of the user in the display area where the target message is located, that is, the input position of the finger of the user may be any area corresponding to the target message, for example: the input position of the finger of the user can cover file information, or the input position of the finger of the user can cover reminding identification information, or the input position of the finger of the user can cover text content information and the like.
Step 202, the electronic device responds to the first input and displays M controls corresponding to the M pieces of content information.
In this embodiment, one of the M pieces of content information corresponds to one of the M pieces of control.
In one implementation, the electronic device displays M controls according to a first input of a target message by a user, where the M controls may be at least one of: a file replacement control, a recipient replacement control, a text replacement control, and the like.
The electronic device is taken as a mobile phone for illustration. As shown in fig. 2, the mobile phone displays a target group chat interface 10, a target message 11 is included in the target group chat interface 10, and the target message 11 includes 3 pieces of content information: file information 12, reminder identification information 13, and textual content information 14.
With reference to fig. 2, as shown in fig. 3 (a), the user may input the target message 11 to trigger the mobile phone to display three controls, that is, a file replacement control 15 corresponding to the file information 12, a recipient replacement control 16 corresponding to the reminder identification information 13, and a text replacement control 17 corresponding to the text content information 14. Therefore, the user can select and input the controls to trigger the mobile phone to edit the corresponding content information.
In another implementation, according to a first input of a user to a target message, an electronic device displays M pieces of content information included in the target message separately (i.e., a complete target message is split into M modules to be displayed independently), and displays a deletion control on each piece of content information correspondingly (i.e., M pieces of content information display M deletion controls correspondingly).
Referring to fig. 2, as shown in fig. 3 (B), the user may input the target message 11 to trigger the mobile phone to split and display the target message 11 containing the file information 12, the reminder identifier information 13, and the text content information 14, and display a deletion control 18 on the split and displayed file information 12, reminder identifier information 13, and text content information 14, respectively. So that the user can make selection inputs to the deletion controls 18 to trigger the mobile phone to edit the corresponding content information.
And 203, the electronic equipment receives a second input of the user to a target control in the M controls.
In one implementation, when the M displayed controls are: when the file replacement control, the recipient replacement control and the text replacement control are used, a user can select and input any one of the three controls (namely, the target control) to trigger the electronic device to reselect a file to be sent, or reselect a recipient (namely, a contact person needing to view the file), or re-edit text information and the like.
In another implementation manner, when the M pieces of content information are separately displayed and a deletion control is correspondingly displayed on each piece of content information, a user can input the deletion control corresponding to the content information to be replaced, so that a file to be sent can be directly reselected, or a receiver can be reselected, or text information can be edited again; alternatively, the user may directly reselect the file to be sent (or reselect the recipient, or re-edit the text message) to trigger the electronic device to edit the target message.
And step 204, the electronic equipment responds to the second input, edits the target message, replaces the target content information corresponding to the target control with the first content information, generates a first message, and sends the first message to a server corresponding to the target group chat.
In an embodiment of the present application, the first content information and the target content information are content information of the same type, the first message is composed of the first content information and M-1 pieces of content information, and the M-1 pieces of content information are content information except the target content information in the M pieces of content information.
Optionally, in this embodiment of the present application, the first content information is content information newly added by a user, and there is a correspondence between the first content information and content information corresponding to the target control, that is, the first content information and the content information corresponding to the target control may be content information of the same type. The first content information may be any one of: file information, reminder identification information, text content information, voice content information, and the like.
Specifically, when the content information corresponding to the target control is file information, the first content information may be any one of the following items: files, such as files, pictures, video, audio, and the like; under the condition that the content information corresponding to the target control is the reminding identification information, the first content information can be a contact person identification selected by the user again; when the content information corresponding to the target control is text content information, the first content information may be text content or voice content newly edited by the user.
Optionally, in this embodiment of the application, after the user determines the first content information corresponding to the target control, the electronic device may generate a new message (i.e., a first message) according to the first content information and content information, except for the target content information, in the M pieces of content information, and send the new message to the target group chat for the corresponding contact to view.
It should be noted that, in the embodiment of the present application, the electronic device may send the sent file and the sent text as a whole (that is, combine the sent file and the sent text into a message body to send), and identify the contact person who receives the file, so as to facilitate the user to quickly screen the file that needs to be paid attention to by himself or herself. Thereby alerting the contact by displaying the recipient's avatar or nickname identification on top of the body of the transmitted file message.
The embodiment of the application provides a message sending method, wherein when an electronic device displays an interface of target group chat and the interface of the target group chat includes a target message, a user can perform first input on the target message, so that the electronic device is triggered to display M controls corresponding to M content information included in the target message. And then the user can input a target control in the M controls to trigger the electronic device to edit the target message, replace the target content information corresponding to the target control with the first content information, generate the first message based on the first content information and the M-1 content information except the target content information in the M content information, and send the first message to a server corresponding to the target group chat. It is therefore possible to obtain a new message by re-editing and modifying the message on the basis of a message that has been sent in the history and to send the new message again. Without requiring the user to re-edit one or more new messages to send the file and prompt the associated contacts for viewing. Therefore, the operation of the user is simplified, and the efficiency of the electronic equipment for sending the file and prompting the related contact persons to check is improved.
Optionally, in this embodiment of the application, the target content information includes any one of the following: the message sending method provided in this embodiment of the present application may further include the following steps 301 to 303, before "replacing the target content information corresponding to the target control with the first content information and generating the first message" in step 204, as shown in fig. 4, in combination with fig. 1, the reminding identification information is used to remind the corresponding contact to view the file information.
Step 301, the electronic device edits the target message and displays a target interface in response to the second input.
In this embodiment of the application, the target interface includes N pieces of content information, where N is a positive integer.
Optionally, in this embodiment of the application, when the user edits the target message through the second input, the electronic device may display a content addition control at a display position corresponding to the target content information, so that the user may input the content addition control to trigger the electronic device to display the target interface.
Optionally, in this embodiment of the application, the target interface may be any one of the following: a file selection interface, a contact selection interface, etc. The file selection interface comprises a plurality of files for a user to select; and the contact person selection interface comprises contact person identifications of all contact persons corresponding to the target group chat for the user to select.
It should be noted that the target interface is determined according to target content information corresponding to the target control, and the target interface is a file selection interface when the target content information is file information; under the condition that the target content information is the reminding identification information, the target interface is a contact person identification selection interface; and under the condition that the target content information is the character content information, the target interface is a text editing interface.
Step 302, the electronic device receives a third input of the second content information of the N content information from the user.
In this embodiment of the application, when the target content information includes file information, the N pieces of content information are: file information stored in the electronic device; in a case that the target content information includes the reminder identifier information, the N pieces of content information are: the N contact persons in the target group chat respectively correspond to content information, and one content information corresponds to one contact person.
Optionally, in this embodiment of the application, when the target interface is a file selection interface, the N pieces of content information are N files; and under the condition that the target interface is a contact person selection interface, the N pieces of content information are N contact person identifications corresponding to the target group chat.
For example, in conjunction with fig. 3 (B), as shown in fig. 5 (a), after the user inputs the deletion control 18 corresponding to the reminder identification information 13, the add-recipient control 19 may be displayed, so that the user may input the add-recipient control 19, as shown in fig. 5 (B), the mobile phone may display a recipient selection interface for the user to select a recipient.
Step 303, the electronic device determines the second content information as the first content information in response to the third input.
Optionally, in this embodiment of the application, the electronic device may determine, according to selection input of the file information or content information corresponding to each of the N contacts by the user, the content information selected by the user as the first content information, so as to combine the first content information with content information, except for the target content information, in the M content information to obtain a first message and send the first message.
It can be understood that the specific scenarios that can be applied in the embodiments of the present application may be: under the condition that a user sends a target message, if the user needs to send a first file (namely target content information) to other receivers, the user can press the target content information (namely the first file and corresponding characters) for a long time to enter an editing mode, the editing mode can directly display all elements (including a contact person, a file identifier, text content and the like of the received file) in an input box or an independent interface to be respectively used as a control, and each control is independent and is provided with a deletion control (used for quickly deleting corresponding content). If a user wants to change the contact person of the received file, the user only needs to click the deletion control corresponding to the contact person of the received file to delete the original contact person and then reselect a new contact person; if the user needs to replace the sent file, the user can click the deletion control of the file identifier and then reselect a new file; if the text content is replaced, the text content can be clicked to enter an edited text state. After all the contents are edited, clicking to send the contents to the group chat.
Or, in the case that the user has sent the target message, if the user needs to send the first file (i.e., the target content information) to another recipient, the user may press the target content information (i.e., the first file and corresponding text) for a long time to trigger the electronic device to suspend and pop up the related function menu on the interface of the target group chat: a file replacement control, a recipient replacement control, and a text replacement control. The user can select the corresponding control to trigger the electronic equipment to perform related operations. For example: selecting a file replacement control, and entering an interface for selecting a file; selecting a recipient replacing control, and entering a contact person selection interface; and selecting a text replacement control, and entering a text editing interface. After any operation is completed, the updated message body is displayed in the edit box, and a user clicks to send the new message to the group chat.
It should be noted that, when the foregoing steps 301 to 303 are executed, the specific content of the foregoing step 204 may be "the electronic device replaces the target content information corresponding to the target control with the first content information, generates the first message, and sends the first message to the server corresponding to the target group chat".
In the embodiment of the application, when the target content information corresponding to the target control deleted by the electronic device triggered by the user is the file information or the reminding identification information, the electronic device may display a target interface including N pieces of content information, so that the user may select the required content information from the displayed N pieces of content information to trigger the electronic device to determine the selected content information as the first content information. And the electronic equipment can combine the content information selected by the user with the content information except the target content information in the M pieces of content information to obtain a first message and send the first message to the target group chat, so that the flexibility of sending the message by the electronic equipment is improved.
Optionally, in this embodiment of the application, the target content information is text content information, and as shown in fig. 6 in combination with fig. 1, before "replacing the target content information corresponding to the target control with the first content information and generating the first message" in step 204, the message sending method provided in this embodiment of the application may further include steps 401 to 403 described below.
Step 401, the electronic device edits the target message and displays a text input box in response to the second input.
Optionally, in this embodiment of the application, when the user edits the target message through the second input, the electronic device may display a text input box at a display position corresponding to the target content information, so that the user may input text information in the text input box.
Optionally, in this embodiment of the application, the user may also perform voice input in the text input box to obtain a voice message. The input form of the user in the text input box is not limited in the application, the input form can be character input or voice input, and the specific input form is determined according to actual use requirements.
Step 402, the electronic device receives a fourth input of the target text content information in the text input box by the user.
Illustratively, in conjunction with fig. 3 (B), as shown in fig. 7, after the user inputs the deletion control 18 corresponding to the text information 14, the mobile phone may delete the text information 14 and display the text input box 20, so that the user may perform text input in the text input box 20 to obtain new target text information.
And step 403, in response to the fourth input, the electronic device determines the target text content information as the first content information.
Optionally, in this embodiment of the application, the electronic device may determine target text information input by the user in the text input box as the first content information, so as to replace the target content information with the first content information. Therefore, the first content information and the content information except the target content information in the M pieces of content information can be combined to obtain a first message which is sent to the target group chat.
In the case of executing steps 401 to 403, the specific content of step 204 may be "the electronic device replaces the target content information corresponding to the target control with the first content information, generates the first message, and sends the first message to the server corresponding to the target group chat".
In the embodiment of the application, under the condition that the target content information corresponding to the target control which is triggered to be deleted by the user is the text content information, the electronic equipment can display the text input box, so that the user can input the text in the text input box to obtain the target text content information, and the electronic equipment is triggered to determine the target text content information in the text input box as the first content information. And the electronic equipment can combine the target text content information with content information except the target content information in the M pieces of content information to obtain a first message and send the first message to the target group chat, so that the flexibility of sending the message by the electronic equipment is improved.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 8, before step 201, the message sending method provided in this embodiment may further include step 501 and step 502 described below.
Step 501, the electronic device receives a fifth input of the user when the first file information is selected and the N contact identifiers in the target group chat are displayed.
In this embodiment of the application, the fifth input is used to select at least one of the N contact identifiers.
Optionally, in this embodiment of the application, the first file information is a file to be sent selected by a user, and after the user selects the first file information, the electronic device may display a contact identifier selection interface for the user to select a corresponding contact.
Optionally, in this embodiment of the application, when the electronic device displays an interface of a target group chat, a user may input a file selection control to trigger the electronic device to display a file list interface, so that the user may select a file to be sent.
Further, after the user determines the file to be sent, the user may input a contact selection control to trigger the electronic device to display a contact identification selection interface, so that the user may select a corresponding contact, where the contact identification selection interface may be displayed in a list form or a floating frame form, and the contact selected by the user may be 1 contact or multiple contacts.
Optionally, in this embodiment of the application, the user may select the entry of the file, directly select the file from the interface of the target group chat, or directly find the file from a file storage application program such as a file management/album of the electronic device, and share the file in the target group chat in a long press or the like.
For example, referring to fig. 2, as shown in (a) of fig. 9, a user may input a file selection control 21 included in a target group chat interface 10 displayed by a mobile phone to trigger the mobile phone to display a file selection interface 22, and then the user may select and input a first file 23 in the file selection interface 22, and input a contact selection control 24 after the mobile phone has checked the first file 23, as shown in (B) of fig. 9, the mobile phone may display a contact selection interface 25, so that the user may select and input a plurality of contact identifiers 26 included in the contact selection interface 25, and after the mobile phone has determined a plurality of contacts corresponding to the first file 23, the mobile phone may generate a target message according to the first file and the plurality of contact identifiers.
Step 502, the electronic device responds to the fifth input, generates a target message based on the first file information and the first reminding identification information, and sends the target message to a server corresponding to the target group chat.
In this embodiment of the application, the first file information and the first reminding identification information are included in M pieces of content information, and the first reminding identification information is generated based on at least one contact identifier.
Optionally, in this embodiment of the application, the electronic device may combine the first file information and the first reminder identification information to generate a combined message (i.e., a target message) and send the combined message to the target group chat.
In the embodiment of the application, a user can edit a new message by selecting the file information and selecting at least one contact person identifier in the target group chat, so that the electronic device is triggered to generate the target message based on the file information and the reminding identifier information selected by the user, and the target message is sent to the server corresponding to the target group chat so that the contact person selected by the user can view the corresponding file content, and therefore the efficiency of the electronic device in sending the file and prompting the related contact person to view the file is improved.
Optionally, in this embodiment of the application, before "sending the target message to the server corresponding to the target group chat" in the step 502, the message sending method provided in this embodiment of the application may further include the following step 601 and step 602, and "generating the target message based on the first file information and the first reminder identification information" in the step 502 may be specifically implemented by the following step 502 a.
Step 601, the electronic device responds to the fifth input, generates a target message based on the first file information and the first reminding identification information, and displays a message preview interface.
In this embodiment, the message preview interface includes a text input box.
Optionally, in this embodiment of the application, after the electronic device generates the target message according to the first file information and the first reminding identification information, the electronic device may display a message preview interface first, and display a text input box in the message preview interface, so that a user may perform text input.
Optionally, in this embodiment of the application, a preview style of the target message is displayed in the message preview interface for a user to view, where the preview style of the target message is a preview style preset in the electronic device, and the user may select the preview style of the target message in the setting interface.
Step 602, the electronic device receives an input of first text content information in a text input box by a user.
Optionally, in this embodiment of the application, the user may also input the voice content information in the text input box, and the form of the content information input by the user in the text input box in the application is not limited, and may be a text form or a voice form.
For example, in conjunction with fig. 9 (B), as shown in fig. 10 (a), after the user determines a file to be sent and a contact corresponding to the file, the mobile phone may display a message preview interface 27, and display a target message 28 and a text input box 29 in the message preview interface 27, so that the user may perform text input in the text input box 29 to describe the sent target message 28, and after the text input is completed, input a sending control, as shown in fig. 10 (B), to send the target message 28 to a target group chat interface, in which the target message 28 is a combined message (i.e., a combined message composed of file information, reminder identification information, and text content information).
Step 502a, the electronic device generates a target message based on the first file information, the at least one contact identifier and the first text content information, and sends the target message to a server corresponding to the target group chat.
In this embodiment, the first text content information is one of M content information.
Optionally, in this embodiment of the application, the electronic device may generate the reminding identification information according to the at least one contact identifier, so that the target message is obtained by combining the first file information, the reminding identification information corresponding to the at least one contact identifier, and the first text content information.
It can be understood that, in the embodiment of the present application, the electronic device may combine the selected file content and the at least one contact identifier into one message body (i.e., a target message), and simultaneously present the message body to the user to provide a message body preview interface, so that the user can see the effect before sending the message body, and can input text content in the preview interface. The combined message body display effect can be a file text up-down typesetting or a left-right typesetting, and whether the head portrait, the nickname and the like of the receiver are displayed on the message body. The sent message body automatically carries the @ attribute, and can @ corresponding contacts so as to remind the contacts to check files in time.
In the embodiment of the application, after the user selects and determines the first file information and the at least one contact person identifier, the electronic device can display a message preview interface and display a text input box in the message preview interface, so that after the user can input characters in the text input box, the electronic device is triggered to generate the target message based on the first file information, the at least one contact person identifier and the first character content information and send the target message to the target group chat, the user can check the display effect of the sent target message in advance, and the flexibility of sending messages by the electronic device is improved.
It should be noted that, in the message sending method provided in the embodiment of the present application, the execution main body may be a message sending apparatus, or a control module in the message sending apparatus for executing the message sending method. The embodiment of the present application takes an example in which a message sending apparatus executes a method for sending a loading message, and describes a message sending apparatus provided in the embodiment of the present application.
Fig. 11 shows a schematic diagram of a possible structure of a message sending apparatus according to an embodiment of the present application. As shown in fig. 11, the message transmitting apparatus 70 may include: a receiving module 71, a display module 72, an editing module 73, a generating module 74 and a transmitting module 75.
The receiving module 71 is configured to receive a first input of a target message from a user when an interface of the target group chat is displayed and the interface of the target group chat includes the target message, where the target message includes M pieces of content information, and M is a positive integer. The display module 72 is configured to display M controls corresponding to M pieces of content information in response to the first input received by the receiving module 71, where one piece of content information corresponds to one control. The receiving module 71 is further configured to receive a second input of the target control in the M controls from the user. And the editing module 73 is configured to, in response to the second input received by the receiving module 71, edit the target message and replace the target content information corresponding to the target control with the first content information. A generating module 74 for generating the first message. The sending module 75 is configured to send the first message to a server corresponding to the target group chat. The first content information and the target content information are the same type of content information, the first message is composed of the first content information and M-1 content information, and the M-1 content information is the content information except the target content information in the M content information.
In one possible implementation, the target content information includes any one of: the system comprises file information and reminding identification information, wherein the reminding identification information is used for reminding a corresponding contact person to view the file information. The display module 72 is further configured to display a target interface before the editing module replaces the target content information corresponding to the target control with the first content information, where the target interface includes N pieces of content information, and N is a positive integer. The receiving module 71 is further configured to receive a third input of the second content information of the N content information from the user. The message sending apparatus 70 provided in the embodiment of the present application may further include: and determining a module. Wherein the determining module is configured to determine the second content information as the first content information in response to a third input received by the receiving module 71. Wherein, under the condition that the target content information includes the file information, the N pieces of content information are: file information stored in the electronic device; under the condition that the target content information comprises the reminding identification information, the N pieces of content information are as follows: and the N contact persons in the target group chat respectively correspond to content information, and one content information corresponds to one contact person.
In one possible implementation, the target content information is text content information. The display module 72 is further configured to display the text input box before the editing module replaces the target content information corresponding to the target control with the first content information. The receiving module 71 is further configured to receive a fourth input of the target text content information in the text input box by the user. The message sending apparatus 70 provided in the embodiment of the present application may further include: and determining a module. The determining module is configured to determine, in response to the fourth input received by the receiving module 71, the target text content information as the first content information.
In a possible implementation manner, the receiving module 71 is further configured to, before receiving a first input of the user for the target message when the interface of the target group chat is displayed and the target message is included in the interface of the target group chat, and when the first file information is selected and N contact identifiers in the target group chat are displayed, receive a fifth input of the user, where the fifth input is used to select at least one contact identifier in the N contact identifiers. The generating module 74 is further configured to generate the target message based on the first file information and the first reminder identification information in response to the fifth input received by the receiving module 71. The sending module 75 is further configured to send the target message to a server corresponding to the target group chat. The first file information and the first reminding identification information are in M content information, and the first reminding identification information is generated based on at least one contact person identification.
In a possible implementation manner, the display module 72 is further configured to display a message preview interface, which includes a text input box, before the sending module 75 sends the target message to the server corresponding to the target group chat. The receiving module 71 is further configured to receive an input of the first text content information in the text input box by the user. The generating module 74 is specifically configured to generate the target message based on the first file information, the at least one contact identifier, and the first text content information. Wherein, the first literal content information is in M content information.
The message sending device provided in the embodiment of the present application can implement each process implemented by the message sending device in the above method embodiments, and for avoiding repetition, detailed description is not repeated here.
The embodiment of the application provides a message sending device, when an electronic device displays an interface of target group chat and the interface of the target group chat includes a target message, a user can perform a first input on the target message, so as to trigger the electronic device to display M controls corresponding to M content information included in the target message. And then the user can input a target control in the M controls to trigger the electronic device to edit the target message, replace the target content information corresponding to the target control with the first content information, generate the first message based on the first content information and the M-1 content information except the target content information in the M content information, and send the first message to a server corresponding to the target group chat. It is therefore possible to obtain a new message by re-editing and modifying the message on the basis of a message that has been sent in the history and to send the new message again. Without requiring the user to re-edit one or more new messages to send the file and prompt the associated contacts for viewing. Therefore, the operation of the user is simplified, and the efficiency of the electronic equipment for sending the file and prompting the related contact person to check is improved.
The message sending device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message sending 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 (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 110, a memory 109, and a program or an instruction stored in the memory 109 and executable on the processor 110, where the program or the instruction is executed by the processor 110 to implement each process of the foregoing message sending method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation to 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 omitted here.
The user input unit 107 is configured to receive a first input of a target message from a user when an interface of the target group chat is displayed and the interface of the target group chat includes the target message, where the target message includes M pieces of content information, and M is a positive integer.
The display unit 106 is configured to display, in response to the first input, M controls corresponding to M pieces of content information, where one piece of content information corresponds to one control.
The user input unit 107 is further configured to receive a second input of the target control in the M controls from the user.
And the processor 110 is configured to edit the target message in response to the second input, replace the target content information corresponding to the target control with the first content information, generate a first message, and send the first message to a server corresponding to the target group chat. Wherein, the M-1 content information is the content information except the target content information in the M content information.
The embodiment of the application provides an electronic device, and when the electronic device displays an interface of a target group chat and the interface of the target group chat includes a target message, a user may perform a first input on the target message, so as to trigger the electronic device to display M controls corresponding to M content information included in the target message. And then the user can input a target control in the M controls to trigger the electronic device to edit the target message, replace the target content information corresponding to the target control with the first content information, generate the first message based on the first content information and the M-1 content information except the target content information in the M content information, and send the first message to a server corresponding to the target group chat. It is therefore possible to obtain a new message by re-editing and modifying the message on the basis of a message that has been sent in the history and to send the new message again. Without requiring the user to re-edit one or more new messages to send the file and prompt the associated contacts for viewing. Therefore, the operation of the user is simplified, and the efficiency of the electronic equipment for sending the file and prompting the related contact person to check is improved.
Optionally, the display unit 106 is further configured to display a target interface, where the target interface includes N pieces of content information, and N is a positive integer.
The user input unit 107 is further configured to receive a third input of a second content information of the N content information from the user.
The processor 110 is further configured to determine the second content information as the first content information in response to a third input. Wherein, under the condition that the target content information includes the file information, the N pieces of content information are: file information stored in the electronic device; under the condition that the target content information comprises the reminding identification information, the N pieces of content information are as follows: the N contact persons in the target group chat respectively correspond to content information, and one content information corresponds to one contact person.
In the embodiment of the application, when the target content information corresponding to the target control deleted by the electronic device triggered by the user is the file information or the reminding identification information, the electronic device may display a target interface including N pieces of content information, so that the user may select the required content information from the displayed N pieces of content information to trigger the electronic device to determine the selected content information as the first content information. And the electronic equipment can combine the content information selected by the user with the content information except the target content information in the M pieces of content information to obtain a first message and send the first message to the target group chat, so that the flexibility of sending the message by the electronic equipment is improved.
The display unit 106 is also used for displaying a text input box.
The user input unit 107 is further configured to receive a fourth input of the target text content information in the text input box by the user.
The processor 110 is further configured to determine the target text content information as the first content information in response to a fourth input.
In the embodiment of the application, under the condition that the target content information corresponding to the target control which is triggered to be deleted by the user is the text content information, the electronic equipment can display the text input box, so that the user can input the text in the text input box to obtain the target text content information, and the electronic equipment is triggered to determine the target text content information in the text input box as the first content information. And the electronic equipment can combine the target text content information with content information except the target content information in the M pieces of content information to obtain a first message and send the first message to the target group chat, so that the flexibility of sending the message by the electronic equipment is improved.
The user input unit 107 is further configured to receive a fifth input from the user, where the first file information is selected and N contact identifiers in the target group chat are displayed, and the fifth input is used to select at least one contact identifier in the N contact identifiers.
The processor 110 is further configured to generate a target message based on the first file information and the first reminder identification information in response to a fifth input, and send the target message to a server corresponding to the target group chat. The first file information and the first reminding identification information are in M content information, and the first reminding identification information is generated based on at least one contact person identification.
In the embodiment of the application, a user can edit a new message by selecting the file information and selecting at least one contact person identifier in the target group chat, the electronic device is triggered to generate the target message based on the file information and the reminding identifier information selected by the user at ease, and the target message is sent to the server corresponding to the target group chat so that the contact person selected by the user can view the corresponding file content, and therefore the efficiency of sending the file by the electronic device and prompting the relevant contact person to view the file is improved.
The display unit 106 is further configured to display a message preview interface, where the message preview interface includes a text input box.
The user input unit 107 is further configured to receive an input of the first text content information in the text input box from the user.
The processor 110 is specifically configured to generate a target message based on the first file information, the at least one contact identifier, and the first text content information. Wherein, the first literal content information is in M content information.
In the embodiment of the application, after the user selects and determines the first file information and the at least one contact person identifier, the electronic device can display a message preview interface and display a text input box in the message preview interface, so that after the user can input characters in the text input box, the electronic device is triggered to generate the target message based on the first file information, the at least one contact person identifier and the first character content information and send the target message to the target group chat, the user can check the display effect of the sent target message in advance, and the flexibility of sending messages by the electronic device is improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 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 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the foregoing message sending method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The 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 above-mentioned message sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted 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.
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 or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to 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 (10)

1. A method for sending a message, the method comprising:
receiving a first input of a user to a target message under the condition that an interface of target group chat is displayed and the interface of the target group chat comprises the target message, wherein the target message comprises M pieces of content information, and M is a positive integer;
responding to the first input, and displaying M controls corresponding to the M pieces of content information, wherein one piece of content information corresponds to one control;
receiving a second input of a user to a target control in the M controls;
in response to the second input, editing the target message, replacing target content information corresponding to the target control with first content information, generating a first message, and sending the first message to a server corresponding to the target group chat;
the first content information and the target content information are the same type of content information, the first message is composed of the first content information and M-1 pieces of content information, and the M-1 pieces of content information are the content information except the target content information in the M pieces of content information; the target content information includes: the file information and the reminding identification information are used for reminding the corresponding contact person to check the file information.
2. The method according to claim 1, wherein before replacing the target content information corresponding to the target control with the first content information and generating the first message, the method further comprises:
displaying a target interface, wherein the target interface comprises N pieces of content information, and N is a positive integer;
receiving a third input of a user to a second content information in the N content information;
determining the second content information as the first content information in response to the third input;
wherein, under the condition that the target content information includes file information, the N content information is: file information stored in the electronic device; under the condition that the target content information includes the reminding identification information, the N pieces of content information are: and the N contact persons in the target group chat respectively correspond to content information, and one content information corresponds to one contact person.
3. The method of claim 1, wherein the target content information is textual content information;
before replacing the target content information corresponding to the target control with the first content information and generating the first message, the method further includes:
displaying a text input box;
receiving fourth input of the target character content information in the text input box by the user;
and responding to the fourth input, and determining the target text content information as the first content information.
4. The method of any one of claims 1 to 3, wherein, in a case that an interface of the target group chat is displayed and a target message is included in the interface of the target group chat, before receiving a first input of the target message by a user, the method further comprises:
receiving a fifth input of a user under the condition that the first file information is selected and N contact person identifications in the target group chat are displayed, wherein the fifth input is used for selecting at least one contact person identification in the N contact person identifications;
responding to the fifth input, generating the target message based on the first file information and first reminding identification information, and sending the target message to a server corresponding to the target group chat;
wherein the first file information and the first reminder identification information are in the M content information, and the first reminder identification information is generated based on the at least one contact identification.
5. The method of claim 4, wherein prior to sending the target message to the server corresponding to the target group chat, the method further comprises:
displaying a message preview interface, wherein the message preview interface comprises a text input box;
receiving the input of a user to the first literal content information in the text input box;
the generating the target message based on the first file information and the at least one contact identification comprises:
generating the target message based on the first file information, the at least one contact identification and the first text content information;
wherein the first literal content information is one of the M content information.
6. A message transmission apparatus, characterized in that the message transmission apparatus comprises: the device comprises a receiving module, a display module, an editing module, a generating module and a sending module;
the receiving module is used for receiving a first input of a user to a target message under the condition that an interface of target group chat is displayed and the interface of the target group chat comprises the target message, wherein the target message comprises M pieces of content information, and M is a positive integer;
the display module is configured to display, in response to the first input received by the receiving module, M controls corresponding to the M pieces of content information, where one piece of content information corresponds to one control;
the receiving module is further configured to receive a second input of the user to a target control of the M controls;
the editing module is used for responding to the second input received by the receiving module, editing the target message and replacing target content information corresponding to the target control with first content information;
the generating module is used for generating a first message;
the sending module is configured to send the first message to a server corresponding to the target group chat;
the first content information and the target content information are the same type of content information, the first message is composed of the first content information and M-1 content information, the M-1 content information is the content information except the target content information in the M content information, and the target content information comprises: the file information and the reminding identification information are used for reminding the corresponding contact person to check the file information.
7. The message sending apparatus according to claim 6, wherein the display module is further configured to display a target interface before the editing module replaces the target content information corresponding to the target control with the first content information, where the target interface includes N pieces of content information, and N is a positive integer;
the receiving module is further configured to receive a third input of a user to a second content information of the N content information;
the message transmitting apparatus further includes: a determination module;
the determining module is configured to determine the second content information as the first content information in response to the third input received by the receiving module;
wherein, under the condition that the target content information includes file information, the N content information is: file information stored in the electronic device; under the condition that the target content information includes the reminding identification information, the N pieces of content information are: and the N contact persons in the target group chat respectively correspond to content information, and one content information corresponds to one contact person.
8. The message transmission apparatus according to claim 6, wherein the target content information is text content information;
the display module is further configured to display a text input box before the editing module replaces the target content information corresponding to the target control with the first content information;
the receiving module is further configured to receive a fourth input of the target text content information in the text input box by the user;
the message transmitting apparatus further includes: a determination module;
the determining module is configured to determine the target text content information as the first content information in response to the fourth input received by the receiving module.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and 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-5.
10. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the message sending method according to any one of claims 1-5.
CN202110362042.XA 2021-04-02 2021-04-02 Message sending method and device and electronic equipment Active CN113300938B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110362042.XA CN113300938B (en) 2021-04-02 2021-04-02 Message sending method and device and electronic equipment
PCT/CN2022/083454 WO2022206699A1 (en) 2021-04-02 2022-03-28 Message transmission method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110362042.XA CN113300938B (en) 2021-04-02 2021-04-02 Message sending method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113300938A CN113300938A (en) 2021-08-24
CN113300938B true CN113300938B (en) 2023-02-24

Family

ID=77319445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110362042.XA Active CN113300938B (en) 2021-04-02 2021-04-02 Message sending method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113300938B (en)
WO (1) WO2022206699A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300938B (en) * 2021-04-02 2023-02-24 维沃移动通信有限公司 Message sending method and device and electronic equipment
CN114095886B (en) * 2021-11-08 2023-07-28 维沃移动通信有限公司 Information transmission method, information transmission device and electronic equipment
CN114221923B (en) * 2021-12-16 2024-02-23 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN114629864B (en) * 2022-02-22 2024-04-16 维沃移动通信有限公司 Message sending method and device and electronic equipment
CN114928583A (en) * 2022-04-13 2022-08-19 广西宏廷智能科技有限公司 Data information communication method and system
CN114860117A (en) * 2022-04-24 2022-08-05 Oppo广东移动通信有限公司 Content input method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126301A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Image processing method and device, computer equipment and storage medium
CN111124221A (en) * 2019-12-03 2020-05-08 维沃移动通信有限公司 File sending method and terminal equipment
CN112333084A (en) * 2020-10-30 2021-02-05 维沃移动通信有限公司 File sending method and device and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016189350A1 (en) * 2015-05-23 2016-12-01 Yogesh Chunilal Rathod Calling to user(s) for real-time sharing, participation, e-commerce, workflow, communication & collaboration in the event of acceptance of call by caller user(s)
US20170214642A1 (en) * 2016-01-27 2017-07-27 Vonage Network Llc Systems and methods for managing delivery of media content to user communication terminals
US10348658B2 (en) * 2017-06-15 2019-07-09 Google Llc Suggested items for use with embedded applications in chat conversations
CN107911556B (en) * 2017-11-27 2021-04-13 珠海市魅族科技有限公司 Contact reminding method and device, computer device and computer readable storage medium
CN110545232A (en) * 2018-05-29 2019-12-06 阿里巴巴集团控股有限公司 group message prompting method, group message prompting device, data processing method, data processing device, electronic equipment and storage equipment
CN113068156A (en) * 2019-12-31 2021-07-02 华为技术有限公司 Method, electronic equipment and system for transmitting file in application
CN111277487B (en) * 2020-01-16 2022-04-01 腾讯科技(深圳)有限公司 Message processing method and device, computer readable storage medium and computer equipment
CN112165553B (en) * 2020-09-28 2021-12-07 维沃移动通信有限公司 Image generation method and device, electronic equipment and computer readable storage medium
CN113300938B (en) * 2021-04-02 2023-02-24 维沃移动通信有限公司 Message sending method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124221A (en) * 2019-12-03 2020-05-08 维沃移动通信有限公司 File sending method and terminal equipment
CN111126301A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Image processing method and device, computer equipment and storage medium
CN112333084A (en) * 2020-10-30 2021-02-05 维沃移动通信有限公司 File sending method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈为人.一种即时通讯移动终端的研究.《移动通信》.2016,(第06期),第80-82页. *

Also Published As

Publication number Publication date
WO2022206699A1 (en) 2022-10-06
CN113300938A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN113300938B (en) Message sending method and device and electronic equipment
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN111913629A (en) Information sending method and device and electronic equipment
CN113259222B (en) Message processing method and device and electronic equipment
CN107566892B (en) Video file processing method and device and computer readable storage medium
WO2023131055A1 (en) Message sending method and apparatus, and electronic device
CN112286887A (en) File sharing method and device and electronic equipment
CN112565063B (en) Message processing method and device and electronic equipment
CN113285866B (en) Information sending method and device and electronic equipment
CN113676589B (en) Unread message display method and device and electronic equipment
CN112286416A (en) Information display method and device and electronic equipment
CN112817676A (en) Information processing method and electronic device
WO2023040845A1 (en) Message transmission method and apparatus, and electronic device
WO2023125157A1 (en) Message sending method and apparatus, and electronic device and medium
CN114489913A (en) Interaction method, interaction device and electronic equipment
WO2024093815A1 (en) Data sharing method and apparatus, electronic device, and medium
CN112291414B (en) Message display method and device and electronic equipment
CN112269509B (en) Information processing method and device and electronic equipment
CN113852540B (en) Information transmission method, information transmission device and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment
CN114928585A (en) Message processing method and device, electronic equipment and readable storage medium
CN114374663A (en) Message processing method and message processing device
CN112462987A (en) Input box display method and device and electronic equipment
CN113037609A (en) Chat message deleting method and device
CN111857463A (en) New message reminding method and device, electronic equipment and medium

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
GR01 Patent grant
GR01 Patent grant