Patent Description:
Terminals such as mobile phones have become indispensable tools in people's daily life. As people use the terminals more and more frequently, people's requirements on the terminals become higher and higher, especially the message group sending function of the terminals. The message group sending function of the terminal allows a user to send short messages or instant chat messages to a plurality of other terminals at one time, thereby reducing the number of times of editing and sending messages by the user, and improving the operation convenience of the terminal and the user experience effect.

However, in the message group sending function of the terminal provided in related art, in a case that a user needs to send at least two different messages to corresponding contacts, the user needs to edit the messages one by one and add the corresponding contacts to send the messages, and it is necessary to switch the message interface for many times in the sending process. Therefore, a large number of messages need to be sent, the operation is cumbersome and time-consuming. It can be seen that in the process of sending messages, the terminal in the related art has the problem of low message sending efficiency caused by the cumbersome and time-consuming operation.

<CIT> discloses that an apparatus for transmitting a message includes a message generator in which a data structure is generated. The data structure includes a plurality of address fields. Each address field includes at least one message recipient address. The message generator generates a message which includes a common message field and a hidden message field. The apparatus also includes a controller which controls transmission of the generated message to message recipient addresses entered into the plurality of address fields.

<CIT> discloses systems and methods for allowing a user to send customized electronic mails to recipients, comprising providing a graphical window on a display screen of an electronic device, allowing the user to input a message which is displayed within the graphical window, allowing the user to identify portions of the message as being intended for certain recipient groups, creating an electronic mail for each recipient group based on the portions of the message identified as being intended for that recipient group, and sending the electronic mails.

<CIT>discloses methods of producing and sending an e-message include receiving addressee instructions from a sender for a single sender e-message indicating addresses of first and second intended destinations of at least portions of content of the single sender e-message; associating a first content portion of the single e-message with the first intended destination, the first content portion being intended to be received by the first intended destination; and sending the first content portion toward the first intended destination in a destination e-message such that the first content portion is accessible at the first intended destination and is inhibited from being accessed at the second intended destination.

Embodiments of the present disclosure provide a message sending method and a terminal, so as to solve the problem of low message sending efficiency caused by the cumbersome and time-consuming operation in the process of sending messages by the terminal in the related art. To solve the foregoing technical problem, the present disclosure is implemented as follows:
according to a first aspect, the embodiments of the present disclosure provide a message sending method, applied to a terminal, which is defined in claim <NUM>.

According to a second aspect, the embodiments of the present disclosure further provide a terminal, which is defined in claim <NUM>.

According to a third aspect, the embodiments of the present disclosure further provide a computer readable storage medium, which is defined in claim <NUM>.

In the embodiments of the present disclosure, the method includes: receiving N message inputs that is performed in a message input area by a user; displaying N message objects in a message template display area in response to the N message inputs, wherein the N message objects are used to indicate message contents of N message templates edited by the N message inputs; and sending the message contents indicated by the N message objects to a target contact. In this way, in the process of sending messages, the terminal may edit a plurality of message templates in the same interface at one time and send the messages without switching the message interface, so that the terminal is convenient and time-saving in operation, and the message sending efficiency is improved.

The technical solutions in the embodiments of the present disclosure are described below clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure.

Referring to <FIG>, it is a schematic flowchart of a message sending method according to an embodiment of the present disclosure. As shown in <FIG>, the message sending method includes the following steps:.

Herein, the terminal may display the N message objects of the N message templates edited by the N message inputs in the message template display area according to the received N message inputs performed by the user in the message input area, and send the message contents indicated by the N message objects to the target contact, so that in the process of sending the message content of a plurality of message templates, the terminal may edit a plurality of message templates in the same interface at one time and send the message templates without switching the message interface, the terminal is convenient and time-saving in operation, and the message sending efficiency is improved.

It should be noted that the message input area and the message template display area may be different areas displayed in the same message interface. For example, it may be that the terminal displays the message interface in a case that the terminal receives the message interface for indicating display, the message interface includes the message input area and the message template display area, and the message interface may be a chat interface of an instant messaging application program. In addition, sizes, shapes and positions of the message input area and the message template display area may be fixed or changed, which is not limited herein.

Exemplarily, as shown in <FIG>, the message interface displays a message input area <NUM> and a message template display area <NUM>, and the message input area <NUM> may be used for a user to edit the message content of the message template; and the message template display area <NUM> may display a message object of a message template edited by a user in the message input area <NUM>.

In the above step <NUM>, when a user needs to send a plurality of messages with different message contents, the user may input N message inputs for editing the message contents of the N message templates in the message input area, and the terminal may receive the N message inputs performed by the user.

In this embodiment, each message input is an input for independently editing the message content of one message template, and the message input may be a voice input or a text input.

Exemplarily, as shown in <FIG>, the message input area <NUM> displays a text input box <NUM>, a user may input text in the text input box <NUM>, that is, the message input includes an operation for inputting text, and the terminal takes the text input by the user as the message content of the message template; or the message input area <NUM> also displays a plug-in control <NUM>, a user may call out a voice input sub-control by clicking the plug-in control <NUM>, and when a user presses the voice input sub-control and inputs voice, the terminal determines that the message input is received and takes the content of voice input by the user as the message content of the message template, and the like.

In the step <NUM>, in a case that the terminal receives the N message inputs, the terminal may display the message objects of the N message templates edited by the N message inputs in the message template display area in response to the N message inputs, and each message object is used to indicate the message content of the message template.

It should be noted that displaying the N message objects in the message display area in response to the N message inputs may be that when receiving that a user completes one message input, the terminal displays the message object of the message template edited by this message input in the message template display area until the user completes N message inputs, and the terminal displays all of the N message objects in the message template display area.

In this embodiment, the message object may be any object for indicating the message content of the corresponding message template. Specifically, the message object may be the message content of the corresponding message template, or may also be a message icon of the message template, and the message icon is used to indicate the message content of the message template.

In addition, displaying the N message objects in the message template display area may be that the terminal may display the N message objects in rows or in columns in the message template display area. For example, it may be that the terminal arranges and displays the message contents of the N message templates sequentially from top to bottom in the message template display area, and the like.

In some implementation manners, the message template display area may include at least one sub-display area, each sub-display area includes one message object, and each message object includes message content of a message template indicated by the message object.

Herein, the terminal may display the message content indicated by each message object in a corresponding sub-display area, that is, the terminal displays the message contents of the N message templates in N sub-display areas in the message template display area respectively, so that the message contents of the N message templates can be displayed in different areas, the message content of each message template can be displayed visually, and the display effect of the terminal can be improved.

It should be noted that at least one sub-display area in the above message template display area may be N sub-display areas, or may also be more than N sub-display areas; in addition, the at least one sub-display area may be preset and fixed, or may also be automatically added by the terminal according to the message input of the terminal, for example, it may be a sub-display area added and displayed in the message template display area when the terminal receives one message input, which is not limited herein.

In addition, that the terminal displays the message contents of the N message templates in the at least one sub-display area may be that the terminal automatically displays the message content of the message template emitted by this message input into an associated sub-display area when receiving that one message input is completed. For example, it may be that the message template display area of the terminal displays N sub-display areas, the N sub-display areas are preset with the serial number, and in a case that the terminal receives the k-th message input, if the terminal detects that a user does not input content in a preset duration, the terminal determines that the k-th message input is completed and displays the message content of the message template edited by the k-th message input in a sub-display area with the serial number being k, wherein k is a positive integer less than or equal to N.

In some implementation manners, the step of displaying N message objects in the message template display area in response to the N message inputs includes:.

In this implementation manner, each message template associates with one target identifier, and the target identifier may be a control or an icon.

In addition, the second input may be any input capable of establishing an association relationship between the i-th target identifier and a second sub-display area, which may be at least one of a voice input, a gesture input and a touch input, wherein the touch input may be a sliding operation, a pressing operation or a clicking operation.

Exemplarily, as shown in <FIG>, the message <NUM> includes N sub-display areas <NUM>; moreover, under the text input (that is, the i-th message input) that is performed in an input box <NUM> of a message input area <NUM> by a user, the terminal displays the message content of the message template edited by the text input in the input box <NUM>, and displays a thumbnail icon (that is, the i-th target identifier) associated with the message template in the message input area <NUM>, for example, if the text input is an input of a message content of an editing template A, the terminal displays a thumbnail small icon <NUM> of the template A in the message input area <NUM>, as shown in <FIG>;.

After the terminal receives this text input is completed, if the terminal receives a drag input (that is, a second input) performed by a user for dragging the thumbnail small icon in the message input area <NUM> to a certain sub-display area <NUM> (that is, a second sub-display area), the terminal displays the message template content associated with the thumbnail small icon in the sub-display area <NUM>, for example, as shown in <FIG>, in a case of receiving that the user drags the thumbnail small icon <NUM> of the template A to the topmost sub-display area, the terminal displays the message content of the template A in the topmost sub-display area; and by repeating the message input and the second input for many times, the terminal may display the message contents of the N message templates in the N sub-display areas <NUM> respectively, as shown in <FIG>, the message contents of the template A, a template B, a template C and a template D are displayed in four sub-display areas respectively.

In some other implementation manners, the terminal may display N message objects in the message template display area and may also arranges and displays message icons of the N message templates in the message template display area, and each message icon associates with the message content of the corresponding message template, for example, in a case of displaying N sub-display areas in the message template display area, the terminal may also display a message icon of one message template in each sub-display area.

Further, the step of displaying the N message objects in the message template display area in response to the N message inputs may include: in a case that the i-th message input is received, displaying an i-th message template input by the i-th message input in the message input area, and displaying an i-th target identifier, wherein the i-th identifier associates with the i-th message template and i is a positive integer less than or equal to N; receiving a second input for associating the i-th target identifier with a second sub-display area; and displaying a message icon of the i-th message template in the second sub-display area in response to the second input.

In the above step <NUM>: after the terminal displays the N message objects in the message template display area, the terminal may send the message contents indicated by the N message objects to a target contact, that is, send the message content of the N message templates to the target contact.

In this embodiment, the target contact may be one or more contacts selected by the terminal according to a contact selecting input performed by a user; moreover, sending the message contents indicated by the N message objects to the target contact may be to send the message contents indicates by any two of the N message objects to the same contact, or may be to send to different contacts, which is not limited herein.

Specifically, sending the message contents indicated by the N message objects to the target contact may be that the terminal may preset an association relationship between each message template and at least one contact according to the input performed by a user, and send the message content of each message template to a contact preset with an association relationship.

Exemplarily, as shown in <FIG>, the message interface also displays a contact adding area <NUM>, and the contact adding area <NUM> is used to select a contact in a contact list of the terminal; in a case that the message contents of the N message templates are displayed in the N sub-display areas, that is, as shown in <FIG>, when the terminal receives a sub-area selecting input (such as a duration or strength of pressing the target sub-display area exceeds a preset threshold) in a target sub-display area in the N sub-display areas, the terminal sets the message template in the target sub-display area as a to-be-added contact status; and when the terminal receives a contact selecting input performed by a user for selecting a contact in the contact adding area <NUM>, the terminal takes the selected contact as a contact associated with the message template displayed in the target display area, and the terminal may send the message content of the target sub-display area to the associated contact.

In some implementation manners, in a case that the message template display area includes the at least one sub-display area, before the step <NUM>, the method may include:.

The step <NUM> may include:
sending the message content displayed in the first sub-display area to the contact selected by first input.

Herein, the terminal may set a corresponding contact control for each sub-display area and send the message content of the message template displayed in the first sub-display area to a contact selected by a user through a contact control associated with the first sub-display area, so that the user may set the contact for each sub-display area as required, and the message content of each message template is sent to the contact selected by the user.

In this implementation manner, the first input may be any input of selecting a contact by the target contact control, and may include at least one of a voice input, a gesture input and a touch input. For example, the first input may include: a clicking input for clicking the target contact control to acquire a contact list, and a voice input for indicating a contact in the contact list.

Exemplarily, as shown in <FIG>, the message template display area <NUM> may also display one contact control <NUM> beside the N sub-display areas <NUM>, and each sub-display area <NUM> corresponds to the contact control <NUM> beside the sub-display area <NUM> (that is, the message template display area <NUM> also includes N contact controls <NUM>); in a case that the terminal receives a contact selecting input (that is, a first input) performed by a user on the target contact control <NUM>, the terminal may add at least one contact for the sub-display area <NUM> corresponding to the target contact control <NUM>, and the terminal sends the message content of the message template displayed in the sub-display area <NUM> corresponding to the target contact control <NUM> to the sub-display area <NUM> to add at least one contact.

It should be noted that the contact control is used to add at least one contact for the sub-display area corresponding to the contact control, which may independently select each contact by a user for the corresponding sub-display area through the contact control, or may add one contact group for the corresponding sub-display area according to a preset contact tag in the contact list, wherein the contact group includes at least one contact, or may add a contact and a contact group at the same time.

For example: as shown in <FIG>, the terminal may add one contact group for each sub-display area <NUM> respectively according to an input performed by a user on N contact controls <NUM>, such as adding a "colleague" contact group for the sub-display area <NUM> of a display template <NUM>, adding a "family" contact group for the sub-display area <NUM> of a display template <NUM>,. , and adding a "friend" contact group for the sub-display area <NUM> of a display template N, and the like.

In this implementation manner, the above different contact controls may add the same contact and/or contact group, or may also add different contacts and/or contact groups, which is not limited herein.

It should be noted that in a case that the sub-display area displays a message icon, similarly, a contact and/or contact group may be added for each sub-display area through the at least one contact control, which is not elaborated herein.

Certainly, the terminal may also set an associated contact for each message template through other manners, and send the message content of the message template to the associated contact. Specifically, it may be that the terminal further displays a contact display area in the message interface, the contact sub-display area displays at least one contact sub-display area, each contact sub-display area may be used for a user to select a contact and display the contact selected by the user, and the terminal may send the message content indicated by each of the N message objects to the contact displayed in the associated contact sub-area according to that input that is performed by the user for associating the contact sub-area with the message object.

Exemplarily, as shown in <FIG>, the message interface displays a message input area <NUM> and a contact display area <NUM>, and the contact display area <NUM> displays at least one contact sub-display area <NUM>, for example, displays four contact sub-display areas <NUM>. In a case that the terminal receives an input for adding a contact in a certain contact sub-display area <NUM>, the terminal may display the contact added by a user in the contact sub-display area <NUM>, and the contact may be an independent contact or a contact group; as shown in <FIG>, an independent contact and a contact group are added in the contact sub-display area <NUM> at the same time, and the terminal may expand the contact group in the contact sub-display area <NUM>, as shown in <FIG>, so that the contact is added for at least one contact sub-display area <NUM>, as shown in <FIG>; and when the terminal receives an input for associating M message objects with at least one contact sub-display area <NUM>, the terminal may send the message contents indicated by M message objects to the contact displayed in the contact sub-display area <NUM> associated with the M message objects.

In this embodiment, sending the message contents indicated by the N message objects to the target contact may be: in a case that the terminal receives an input performed by a user for indicating to send the message contents of all the message templates, sequentially sending the message contents of the N message templates in response to the input; or may also be: in a case that the terminal receives N message sending inputs performed by the user, sending the message contents of the N message templates in response to the N message sending inputs, each message sending input being used to indicate to send the message content of one message template.

In this embodiment, sending the message contents indicated by the N message objects to the target contact may be: receiving a first sending instruction performed by a user, the first sending instruction being used to indicate to send the message contents of N message templates; sequentially sending the message contents of the N message templates to the target contact in response to the first sending instruction, so that the terminal may send all the message contents of the N message templates at one time according to the received sending instruction, that is, the message contents of the N message templates can be sent with one key, and the message sending operation is convenient and time-saving.

Exemplarily, as shown in <FIG>, after the terminal adds the contacts for the N sub-display areas <NUM>, in a case that the terminal receives an operation of clicking a "sending" control <NUM> by a user (that is, the terminal receives the first sending instruction), the terminal may sequentially transmit the message contents of the N message templates to the associated contacts.

Certainly, in a case that the terminal also displays a contact display area, the terminal may also sequentially send the message contents of the N message templates to the associated contacts according to a one-time input performed by the user, for example, when the message template display area displays N message objects, the terminal may receive N drag inputs performed by the user, the drag input is used to drag one message object to one contact sub-display area, the terminal displays an identifier (such as a thumbnail) associated with the dragged at least one message object in each contact sub-area in response to the N drag inputs, and the message content indicated by the dragged message object in each contact sub-area is in a to-be-sent status; and after all the message objects are dragged to the contact sub-area, the terminal receives a clicking input performed by a user on a sending message control and sends the message contents indicated by all the message objects in response to the clicking input, and the message content indicated by the message object identified in each contact sub-area is sent to the contact displayed in the contact sub-area.

In addition, sending the message contents indicated by the N message objects to the target contact may also be: receiving N second sending instructions performed by a user, the second sending instruction being used to indicate to send the message content of one message template; sending the message contents indicated by the N message objects to the target contact in response to the N second sending instructions, so that the terminal may singly send the message content of one message template according to each second sending instruction of the user, and the N message templates are sent more flexibly.

Exemplarily, as shown in <FIG>, after the terminal adds the contacts for the N sub-display areas <NUM>, in a case that the terminal receives a clicking operation input by a user to continuously clicking the target sub-display area <NUM> in the N sub-display areas <NUM> for twice (that is, the terminal receives one second sending instruction), the terminal may send the message content of the message template corresponding to the target sub-display area <NUM>.

It should be noted that in a case that the terminal displays the at least one contact control and the at least one sub-display area at the same time, and the at least one contact control is arranged in one-to-one correspondence with the at least one sub-display area, the terminal may add the N messages to the at least one sub-display area first according to that input that is performed by the user and then an associated contact for each sub-display area to which the message object is added; or may also select an associated contact for each sub-display area first and then add the message object to the sub-display area where the contact is selected, which is not limited here.

Exemplarily, the terminal may display at least one sub-display area <NUM> in the message template display area <NUM> firstly, as shown in <FIG>; display the message content of one message template in each display sub-display area <NUM> in a case of receiving an input performed by a user to edit a plurality of templates (that is, N message inputs), as shown in <FIG>; and then display the selected contact in each sub-display area <NUM> in a case of receiving an input performed by the user to select the contact for each sub-display area <NUM> (that is, a first input), so as to edit the message template first and then select the contact.

In some implementation manners, after the step <NUM>, the method further includes:.

The step of sending the message contents indicated by the N message objects to the target contact includes:.

Here, in a case that the terminal displays the contact display area including at least one contact sub-display area, the terminal may select the contact for the target contact sub-display area according to the fourth input performed by the user, may send the message content indicated by the target message object to the contact displayed by the target contact sub-display area according to the fifth input performed by the user for associating the target contact sub-display area with the target message object, and may send the message content of any message template to the associated contact according to the indication of the user, so that the user experience effect is improved and operation is convenient and time-saving.

In this implementation manner, the target contact sub-display area may be any contact sub-display area of the at least one contact sub-display area; the target message object may one or more message objects in the N message objects, and each message object may include the message content of the message template, or each message object may also include a message icon of the message template, so that it is easier for the user to operate the message object.

Here, the target contact sub-display area is a plurality of contact sub-display areas, and in a case that the target message object is one message object, the terminal may rapidly send the message content of the same message template to different contacts; and the target contact sub-display area is one contact sub-display area, and in a case that the target message object is a plurality of message objects, the terminal may rapidly send the contents of different message templates to the same contact.

In addition, the fourth input may be any operation for selecting a contact, which may be at least one of a voice input, a gesture operation or a touch operation.

The fifth input may be any input for associating the target contact sub-display area with the target message object, and may also be at least one of a voice input, a gesture operation or a touch operation, for example, it may be a sliding input, and the sliding rack of the sliding input passes through the target contact sub-display area and the target message object; or in a case that each message object includes the message icon of the message template, the fifth input may include: an input for moving the message icon of the target message template to the target contact sub-display area, so that the operation of the user is more convenient and time-saving.

It should be noted that in a case that the terminal also displays a contact display area, the terminal may also display the at least one sub-display area in the message template display area, which is not limited here.

Exemplarily, as shown in <FIG>, after the terminal adds the contact for the at least one contact sub-display area <NUM>, in a case that the terminal receives the N message inputs performed by the user, the terminal displays message icons <NUM> (that is, N message objects) of the N message templates in the message template display area <NUM> of the message interface, such as a template A, a template B, a template C and a template D;.

Certainly, in a case that the contact display area displays at least one contact sub-display area, according to that input that is performed by the user, the terminal may select the contact in the at least one contact sub-display area first and then display N message objects in the message template display area, or may display N message objects in the message template display area first and then select the contact in the at least one contact sub-display area, which is not limited here.

For example, the terminal displays the selected contact in each contact sub-display area <NUM> in a case of receiving an input (that is, a fourth input) performed by a user to select a contact in each contact sub-display area <NUM>, as shown in <FIG>; then displays the message icons of the N message templates in the message template display area <NUM> in a case of receiving inputs (that is, N message inputs) performed by a user to edit N message templates in the message input area, as shown in <FIG>; and finally sends the message content of the target message template to the contact displayed in the target contact sub-display area <NUM> in a case of receiving an input (that is, a fifth input) of the user to drag the message content of the target message template to the target contact sub-display area <NUM>.

It should be noted that in the process that the terminal sends the message contents of the N message templates, the terminal may also identify the sending status of the message content of each message template in a certain manner, so that the display effect of the terminal is improved.

In some implementation manners, in a case that the message template display area includes the at least one sub-display area, the step <NUM> may include:.

Here, the terminal may display a progress bar in each sub-display area which displays the message content so as to the sending progress of the message content of each message template can be intuitively shown to the user, and the display effect of the terminal can be improved. For example, as shown in <FIG>, the progress bar <NUM> is displayed in each sub-display area <NUM>, and the progress bar <NUM> is configured to indicate the sending progress of the message content displayed in the sub-display area <NUM> where the progress bar is located.

In the implementation manner, the third input may be an input for indicating to send the message content of the N message templates, which may be at least one of a voice input, a gesture input and a touch input.

Certainly, in the process that the terminal sends the message content of the N message template, the terminal may also display a sending identifier for indicating whether the message content of each message template is sent successfully. For example, as shown in <FIG>, the message template display area <NUM> may also display N sending identifiers <NUM> arranged in one-to-one correspondence with N sub-display areas, wherein each sending identifier <NUM> is configured to identify whether the message content displayed by the corresponding sub-display area is sent successfully, for example, "x" indicates sending failure and "√" indicates sending success; and the terminal may also identify whether each message template is sent to the associated contact successfully, for example, when the contact is displayed in green, it means that the message content of the associated message template is sent to the contact successfully, and when the contact is displayed in red, it means that the message content of the associated message template has failed to be sent to the contact, and so on.

In some implementation manners, before the step <NUM>, the method may further includes:.

Here, the terminal may update, namely, re-edit, the message content of the target message template according to the seventh input and the eighth input performed by the user, and the operation is convenient and time-saving.

In the implementation manner, the seventh input may be any input for indicating to display the message content indicated by the target message object in a message input area, which may be at least one of a voice input, a gesture input and a touch input. For example, the seventh input may be an input for dragging the target message object to the message input area, or an input for clicking the target message for a preset times.

In addition, the eighth input may be an input for editing the message content of the target message template in the message input area, and may be a voice input or a text input, which is not limited here.

Exemplarily, as shown in <FIG>, in a case that the terminal receives an input (that is, a seventh input) performed by a user to select a sub-display area <NUM> which displays a target message object and drag to a message input box <NUM>, the terminal may display the message content of the message template (that is, the target message template) display in the sub-display area <NUM> in the message input box <NUM>, and in a case that the terminal receives an input (that is, an eighth input) performed by a user to modify the message content in the message input box <NUM>, the terminal modifies the message content in the sub-display area <NUM> according to that input that is performed by the user to modify the message content, for example, the terminal displays the message content of the template A in the message input box <NUM> when the user selects the sub-display area where the template A is located and drags to the message input box <NUM>, the terminal modifies the message content of the sub-display area where the template A is located when the user modifies the message content in the message input box <NUM>, such as modifying "The weather is fine today" in the message input box <NUM> into "it's sunny today", the terminal modifies the message content of the sub-display area where the template A is located from "The weather is fine today" to "it's sunny today";
or as shown in <FIG>, when the terminal receives an input (that is, a seventh input) performed by a user to click the message icon (that is, the target message object) of the template A continuously for twice, the terminal displays the message content of the template A in the message input area <NUM>, and changes the message content indicated by the message icon of the template A according to that input that is performed by the user to modify the message content in the message input area <NUM>.

In addition, one message content may be sent to a plurality of contacts and each contact has a different title, so in some implementation manners, in a case that the target message template associates with K contacts, K being an integer greater than <NUM>, the step <NUM> may include: generating K to-be-sent messages of the target message template in the background process, wherein the K to-be-sent messages associate with the K contacts one by one and the message content of each to-be-sent message includes the title of the associated contact; and sending a target to-be-sent message to the associated contact, so that the terminal may adjust the names in the message content according to different contacts, and the message sending quality can be improved.

For example, as shown in <FIG>, after the user adds a "colleague" contact group to the sub-display area <NUM> which displays the display content of the template A, if the "colleague" contact group includes two contacts, the terminal generates two to-be-sent messages associated with the two contacts in the background process, the message content of each to-be-sent message includes the title of the associated contact, and each to-be-sent message is sent to the associated contact after the user clicks a "sending" control; or as shown in <FIG>, after the user drags the message icon of the template A to the contact sub-display area <NUM> which displays a "family" contact group, if the "family" contact group includes three contacts, the terminal generates three to-be-sent messages associated with the three contacts in the background process, the message content of each to-be-sent message includes the name of the associated contact, and each to-be-sent message is sequentially sent to the associated contact.

Referring to <FIG> is a structural schematic diagram of a terminal according to an embodiment of the present disclosure. As shown in <FIG>, the terminal <NUM> includes:.

Optionally, the message template display area includes at least one sub-display area, each sub-display area includes one message object, and each message object includes message content of a message template indicated by the message object.

Optionally, the terminal <NUM> further includes:.

The sending module is specifically configured to:
send message content displayed in the first sub-display area to the contact selected by the first input displayed by the third display module.

Optionally, the first display module <NUM> includes:.

Optionally, the sending module <NUM> includes:.

Optionally, each message object includes a message icon of a message template.

Optionally, the fifth input includes: an input for moving a message icon of a target message template to the target contact sub-display area.

The terminal <NUM> can implement the processes implemented by the terminal in the foregoing embodiment and achieve a same beneficial effect. To avoid repetition, details are not described herein again.

<FIG> is a schematic structural diagram of hardware of a terminal implementing embodiments of the present disclosure. The terminal <NUM> includes but is not limited to: a radio frequency unit <NUM>, a network module <NUM>, an audio output unit <NUM>, an input unit <NUM>, a sensor <NUM>, a display unit <NUM>, a user input unit <NUM>, an interface unit <NUM>, a memory <NUM>, a processor <NUM>, a power supply <NUM>, and other components. The display unit <NUM> is a display screen. Those skilled in the art may understand that the terminal structure shown in <FIG> does not constitute a limitation on the terminal. The terminal may include more or fewer components than those shown in the figure, or some components may be combined, or there may be a different component arrangement. In this embodiment of the present disclosure, the terminal includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like. The processor <NUM> is configured to:.

It should be understood that, in this embodiment of the present disclosure, the radio frequency unit <NUM> may be configured to receive and send information or a signal in a call process. Specifically, after receiving downlink data from a base station, the radio frequency unit <NUM> sends the downlink data to the processor <NUM> for processing. In addition, the radio frequency unit <NUM> sends uplink data to the base station. Generally, the radio frequency unit <NUM> includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit <NUM> may also communicate with other devices through a wireless communication system and network.

The terminal provides wireless broadband Internet access for the user by using the network module <NUM>, for example, helping the user to send and receive an e-mail, browse a web page, and access streaming media.

The audio output unit <NUM> may convert audio data received by the radio frequency unit <NUM> or the network module <NUM> or stored in the memory <NUM> into an audio signal and output as voice. In addition, the audio output unit <NUM> may further provide audio output (for example, a call signal received voice, or a message received voice) related to a specific function executed by the mobile terminal <NUM>. The audio output unit <NUM> includes a loudspeaker, a buzzer, a receiver, and the like.

The input unit <NUM> is configured to receive an acoustic signal or a video signal. The input unit <NUM> may include a graphics processing unit (Graphics Processing Unit, GPU) <NUM> and a microphone <NUM>. The graphics processing unit <NUM> is used to process image data of a static picture or a video obtained by an image capturing device (for example, a camera) in a video capturing mode or an image capturing mode. A processed image frame may be displayed on the display unit <NUM>. The image frame processed by the graphics processing unit <NUM> may be stored in the memory <NUM> (or another storage medium) or sent by using the radio frequency unit <NUM> or the network module <NUM>. The microphone <NUM> may receive sound and can process such sound into audio data. The processed audio data may be converted, in a call mode, into a format that may be transmitted to a mobile communication base station by using the radio frequency unit <NUM> for output.

The terminal <NUM> further includes at least one sensor <NUM>, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor may adjust luminance of the display panel <NUM> based on brightness of ambient light. The proximity sensor may turn off the display panel <NUM> and/or backlight when the terminal <NUM> moves to an ear. As a type of the motion sensor, an accelerometer sensor may detect an acceleration value in each direction (generally, three axes), and detect a value and a direction of gravity when the accelerometer sensor is static, and may be configured to recognize a mobile terminal posture (such as screen switching between landscape and portrait modes, a related game, or magnetometer posture calibration), a function related to vibration recognition (such as a pedometer or a knock), and the like. The sensor <NUM> may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like.

The display unit <NUM> is configured to display information entered by the user or information provided for the user. The display unit <NUM> may include a display panel <NUM>, and the display panel <NUM> may be configured in a form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

A user input unit <NUM> may be configured to receive input digital or character information, and generate key signal input related to user setting and function control of a terminal. Specifically, the user input unit <NUM> includes a touch panel <NUM> and another input device <NUM>. The touch panel <NUM> is also referred to as a touchscreen, and may collect a touch operation performed by a user on or near the touch panel <NUM> (such as an operation performed by a user on the touch panel <NUM> or near the touch panel <NUM> by using any proper object or accessory, such as a finger or a stylus). The touch panel <NUM> may include two parts: a touch detection device and a touch controller. The touch detection device detects a touch position of the user, detects a signal brought by a touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts the touch information into contact coordinates, sends the contact coordinates to the processor <NUM>, and receives and executes a command from the processor <NUM>. In addition, the touch panel <NUM> may be implemented by using a plurality of types such as a resistive type, a capacitive type, an infrared ray type, and a surface acoustic wave type. In addition to the touch panel <NUM>, the user input unit <NUM> may further include other input devices <NUM>. Specifically, the other input devices <NUM> may include but are not limited to: a physical keyboard, a function key (such as a volume control key, a switch key), a trackball, a mouse, and a joystick, which is no longer repeated here.

Further, the touch panel <NUM> may cover the display panel <NUM>. After detecting the touch operation on or near the touch panel <NUM>, the touch panel <NUM> transmits the touch operation to the processor <NUM> to determine a type of a touch event, and then the processor <NUM> provides corresponding visual output on the display panel <NUM> based on the type of the touch event. In <FIG>, the touch panel <NUM> and the display panel <NUM> are used as two independent components to implement input and output functions of the terminal. However, in some embodiments, the touch panel <NUM> and the display panel <NUM> may be integrated to implement the input and output functions of the terminal. This is not specifically limited herein.

The interface unit <NUM> is an interface connecting an external device to the terminal <NUM>. For example, the external device may include a wired or wireless headset jack, an external power supply (or a battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, and a headset jack. The interface unit <NUM> can be configured to receive an input (for example, data information and power) from the external device and transmit the received input to one or more elements in the terminal <NUM>, or transmit data between the terminal <NUM> and the external device.

The memory <NUM> may be configured to store a software program and various data. The memory <NUM> may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application for at least one function (for example, a sound play function or an image play function), and the like. The data storage area may store data (for example, audio data or an address book) or the like created based on use of the mobile phone. In addition, the memory <NUM> may include a high-speed random access memory, or may include a nonvolatile memory, for example, at least one disk storage device, a flash memory, or another volatile solid-state storage device.

The processor <NUM> is a control center of the terminal, and connects all parts of the entire terminal through various interfaces and lines. By running or executing a software program and/or a module stored in the memory <NUM> and invoking data stored in the memory <NUM>, the processor <NUM> performs various functions of the terminal and data processing, to perform overall monitoring on the terminal. The processor <NUM> may include one or more processing units. Optionally, the processor <NUM> may be integrated with an application processor and a modem processor. The application processor mainly processes the operating system, the user interface, applications, etc. The modem processor mainly processes wireless communication. It may be understood that the modem processor may not be integrated into the processor <NUM>.

The terminal <NUM> may further include a power supply <NUM> (for example, a battery) that supplies power to various components. Optionally, the power supply <NUM> may be logically connected to the processor <NUM> through a power supply management system, thereby achieving functions of managing charging, discharging, and power consumption through the power supply management system.

In addition, the terminal <NUM> includes some functional modules not shown.

Optionally, the embodiments of the present disclosure further provide a terminal, including a processor <NUM>, a memory <NUM>, and a computer program stored in the memory <NUM> and executable on the processor <NUM>, wherein when the computer program is executed by the processor <NUM>, various process of the message sending method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, details are not described herein again.

The embodiments of the present disclosure further provide a computer readable storage medium. The computer readable storage medium stores a computer program, and when the computer program is executed by a processor, various processes of the foregoing message sending method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, details are not described herein again. The computer readable storage medium is, for example, a read-only memory (Read-only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.

It should be noted that in this specification, the terms "comprise", "include" and any other variants thereof are intended to cover non-exclusive inclusion, so that a process, a method, an article, or a device that includes a series of elements not only includes these very elements, but may also include other elements not expressly listed, or also include elements inherent to this process, method, article, or device. An element limited by "includes a. " does not, without more constraints, preclude the presence of additional identical elements in the process, method, article, or device that includes the element.

Claim 1:
A message sending method, comprising:
receiving (<NUM>) N inputs that is performed in a message input area (<NUM>, <NUM>) by a user;
displaying (<NUM>) N message objects in a message template display area (<NUM>, <NUM>) in response to the N inputs, wherein the N message objects indicate message contents of N message templates edited by the N inputs, N is a positive integer; and
sending (<NUM>) the message contents indicated by the N message objects to a target contact; wherein
the message input area (<NUM>, <NUM>) is used for the user to edit a message content of a message template; and the message template display area (<NUM>, <NUM>) is used to display at least one message object that indicates at least one message template edited by the user in the message input area (<NUM>, <NUM>), the message template display area (<NUM>, <NUM>) comprises at least one sub-display area (<NUM>), and in a case that the message template display area (<NUM>,<NUM>) comprises at least two sub-display areas (<NUM>), different sub-display areas (<NUM>) display different message objects, and different message templates comprise different messages contents; wherein
the displaying (<NUM>) N message objects in the message template display area (<NUM>, <NUM>) in response to the N inputs comprises:
in a case that an i-th input is received, displaying an i-th message template input by the i-th input in the message input area (<NUM>, <NUM>), and displaying an i-th target identifier, the i-th target identifier associating with the i-th message template of the N message templates, and the i-th input being any one of the N inputs, i being a positive integer less than or equal to N;
receiving a second input for associating the i-th target identifier with a second sub-display area; and
displaying message content of the i-th message template in the second sub-display area in response to the second input.