Patent Description:
With the development of various communication applications, communication between people is increasingly dependent on communication applications. During a session with a target contact via a communication application, there may be a case where a first text has been edited, but a second text needs to be first sent to the target contact. In this case, generally, a user first deletes the edited first text, edits the second text and sends it to the target contact, and then re-edits the first text and sends it to the target contact. This operation process is relatively complicated. In addition, the user may first copy or clip the first text, and paste the first text into an input box and send the first text after sending the second text. This copy and paste method can avoid a complicated process of re-editing the first text but can copy only the last edited content, and therefore has limitations. Moreover, a session may be conducted by setting and using content of a quick message reply, which can eliminate a process of message editing, but cannot meet diversified session communication requirements, and efficiency of sending session messages is low.

<CIT> discloses a method, system and computer program product for messaging over a network includes steps and means for logging on to engage in a messaging conversation with at least one party over a communication network. Steps and means prepare messages for the at least one party using a plurality of text input boxes. Steps and means select a one of the plurality of text input boxes for sending to the at least one party a contained message within the one of the plurality of text input boxes. Other embodiments further include steps and means for sending at least a portion of the contained message separately from the contained message and steps and means for adding an additional text input box to the plurality of text input boxes.

<CIT> discloses an instant messaging service providing method and a user terminal. The instant messaging service providing method includes: receiving and displaying a first message that is created by a message transmitter; determining whether a message switching condition is met after the first message is displayed; and displaying a second message that is created by the message transmitter when the message switching condition is determined to be met.

To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly describes the accompanying drawings required for describing the embodiments of the present disclosures.

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.

As shown in <FIG>, an embodiment of the present disclosure provides a message sending method, including the following steps.

Step <NUM>: Receive at least one first input.

Step <NUM>: Add, in response to each first input, at least one message input box to a message editing interface corresponding to a target contact.

Optionally, step <NUM> may include: receiving N first inputs; and step <NUM> may include: adding, in response to each of the N first inputs, at least one message input box to the message editing interface corresponding to the target contact.

Optionally, message input boxes displayed in the message editing interface are arranged in a predetermined arrangement mode, for example, arranged in columns (in a single column, in two columns, or the like) or in rows and columns.

For example, the message input boxes in the message editing interface are arranged in columns; the foregoing step <NUM> may specifically include: receiving an i-th first input, where i is a positive integer; and the foregoing step <NUM> may specifically include: adding, in response to the i-th first input, at least one message input box to the message editing interface corresponding to the target contact, where the added message input box is arranged at a position after the message input boxes that are already displayed in the message editing interface.

As an implementation, an i-th first input may be received; and one message input box may be added, in response to the i-th first input, to the message editing interface corresponding to the target contact at a position adjacent to a second target input box, where the second target input box is a message input box in an editing state in the message editing interface. For example, the added message input box may be located after or before the second target input box. In addition, the second target input box may alternatively be a message input box arranged at the first or the last position in the message input boxes that are already displayed and arranged in a predetermined order in the message editing interface.

Certainly, as another implementation, an i-th first input may alternatively be received; and a plurality of (for example, two, three, four. ) message input boxes may be added, in response to the i-th first input, to the message editing interface corresponding to the target contact at a position adjacent to a second target input box, where the second target input box is a message input box in an editing state in the message editing interface. For example, the added message input boxes may be located after or before the second target input box. In addition, the second target input box may alternatively be a message input box arranged at the first or the last position in the message input boxes that are already displayed and arranged in a predetermined order in the message editing interface.

Optionally, a quantity of message input boxes to be added to the message editing interface in response to the first input may be customized by a user, which can avoid a complicated process of performing a plurality of inputs when a plurality of message input boxes are added.

The first input may be a predetermined input acting on a display screen, for example, an input with a predetermined arc trajectory, an input with a predetermined zigzag trajectory, or an input with another predetermined graphic trajectory.

As shown in <FIG>, the first input may alternatively be an input for an add button <NUM> in a message editing interface <NUM>. For example, when there is a first message input box <NUM> in the current message editing interface <NUM>, a second message input box <NUM> is added to the message editing interface <NUM> in response to one first input for the add button <NUM>, as shown in <FIG>; and N second message input boxes <NUM> are added to the message editing interface <NUM> in response to N first inputs for the add button <NUM>.

The second target input box is a message input box in an editing state in the message editing interface or a message input box arranged at the last position in the message editing interface.

Specifically, according to at least one of the foregoing embodiments, in a scenario where the second target input box is a message input box in an editing state in the message editing interface, the second target input box in an editing state is determined from the message input boxes in response to the first input; and in the message editing interface, the added message input boxes are displayed in a predetermined arrangement mode at a position after or before the second target input box.

For example, the first message input box <NUM> where a cursor is located is the second target input box in an editing state. In this way, a message input box is added to a position after an arrangement position of the second target input box currently in an editing state, to facilitate a user's operations.

Step <NUM>: Receive at least one second input.

Step <NUM>: Send message content in a first target input box to the target contact in response to each second input, where the first target input box is one of message input boxes displayed in the message editing interface.

As an implementation, as shown in <FIG> and <FIG>, a send button <NUM> is provided in the message editing interface <NUM>. The foregoing step <NUM> includes: receiving a second input for the send button <NUM>.

The foregoing step <NUM> may be implemented in a manner including but being not limited to the following.

Manner <NUM>: Send respectively corresponding message contents in the message input boxes in sequence in response to the second input according to a predetermined arrangement order of the message input boxes in the message editing interface.

The predetermined arrangement order of the message input boxes in the message editing interface may be adjusted by the user according to needs. For example, the user may drag one of the message input boxes to a target position, to adjust the arrangement order of the message input boxes in the message editing interface, so that the respectively corresponding message contents in the message input boxes are sent in sequence according to the arrangement order after the adjustment. In this way, a plurality of messages may be sent to the target contact by performing one sending operation, helping simplify the user's operations.

Optionally, when there is no corresponding message content in a message input box arranged at the k-th position in the message input boxes, no message content in the message input box arranged at the k-th position is sent, and message content in a message input box arranged at the (k+<NUM>)-th position continues to be sent, where k is a positive integer and is less than or equal to a quantity of message input boxes that are already displayed in the message editing interface.

Manner <NUM>: The foregoing step <NUM> includes: receiving a j-th second input, where j is a positive integer; and
the foregoing step <NUM> includes: determining, in response to the j-th second input, a message input box arranged at the j-th position in the message input boxes that are arranged and displayed in a predetermined order in the message editing interface as the first target input box, and sending the message content in the first target input box to the target contact.

For example, there are three message input boxes already displayed and arranged in sequence in a single column in a current message editing interface: a first message input box, a second message input box, and a third message input box. When a <NUM>-st second input is received, message content in the first message input box is sent to the target contact; when a <NUM>-nd second input is received, message content in the second message input box is sent to the target contact; and when a <NUM>-rd second input is received, message content in the third message input box is sent to the target contact.

In this way, contents in message input boxes associated with an input order of a plurality of second inputs are sent in sequence according to the input order, so that continuous multiple times of sending are implemented, and a message input box whose message content is already sent may not be deleted, thereby avoiding a complicated process of adding a message input box again when an order of messages to be sent needs to be adjusted next time.

Manner <NUM>: After the foregoing step <NUM>, the method may further include: deleting the first target input box, where the first target input box is a message input box arranged at the first position in the message input boxes that are arranged and displayed in a predetermined order in the message editing interface.

Specifically, the first target input box is the message input box arranged at the first position in the message input boxes that are arranged and displayed in the predetermined order in the message editing interface. In this way, after the message content in the first target input box is sent to the target contact, the first target input box is deleted, so that a message input box that is originally arranged at the second position is rearranged at the first position in turn, which can ensure that message content in the message input box rearranged at the first position is sent to the target contact in response to a next second input, thereby implementing continuous sending of message contents without a need to manually adjust the order of the message input boxes.

Optionally, to facilitate the user's operations, a message input box may be added to the message editing interface in response to the first input, and the message input box is in an editing state. In this way, after adding the message input box, the user may directly edit message content to be first sent in the message input box, and then adjust an arrangement position of the message input box to the first position, to directly send the message content in the message input box to the target contact in response to the second input.

In addition, a first message input box is added to the message editing interface in response to the first input, and the first message input box is arranged at a position after an arrangement position of a second message input box (for example, the second message input box is arranged at the first position, so that the second message input box is the first target input box) currently in an editing state. The user may alternatively clip and paste message content in the second message input box into the first target input box, and edit the message content to be sent in advance in the second message input box.

Optionally, to further simplify the user's operations, a message input box, namely, the first target input box may alternatively be added, in response to the first input, to the message editing interface at the first arrangement position of the message input boxes, so that after adding the first target input box, the user directly edits message content to be first sent in the first target input box, to directly send the message content in the first target input box to the target contact in response to the second input, thereby simplifying a process of order adjustment.

Specifically, the foregoing method is described below with reference to examples.

As shown in <FIG>, there are three message input boxes A, B, and C displayed in a message editing interface <NUM>, where the message input box A is arranged at the first position, the message input box B is arranged at the second position, and the message input box C is arranged at the third position.

In this case, a second input for a send button <NUM> in the message editing interface <NUM> is received, and content in the message input box A is sent to the target contact in response to the second input.

Optionally, after the content in the message input box A is sent to the target contact, the message input box A is deleted from the message editing interface <NUM>, that is, display of the message input box A in the message editing interface <NUM> is canceled, so that the message input box B is rearranged at the first position in turn, and the message input box C is rearranged at the second position in turn, as shown in <FIG>. In this way, when the second input for the send button <NUM> in the message editing interface <NUM> is received again, content in the message input box B currently arranged at the first position is sent to the target contact in response to the second input.

Further, after the content in the message input box B is sent to the target contact, the message input box B is deleted from the message editing interface <NUM>, that is, display of the message input box B in the message editing interface <NUM> is canceled, so that the message input box C is rearranged at the first position in turn. Other cases are similar, and details are not described herein again.

It should be noted that, after the message input box is deleted from the message editing interface <NUM>, the foregoing steps <NUM> to <NUM> may further be repeated, and details are not described herein again.

In the following embodiment, which is not covered by the claimed invention, as shown in <FIG> and <FIG>, each of the message input boxes displayed in the message editing interface <NUM> corresponds to a send button; and the foregoing step <NUM> may specifically include: receiving a second input for a target send button, where the target send button is one of the send buttons corresponding to the message input boxes.

The foregoing step <NUM> may specifically include: sending, in response to the second input, the message content in the first target input box corresponding to the target send button to the target contact.

As shown in <FIG>, there are three message input boxes A, B, and C displayed in a message editing interface <NUM>, where the message input box A corresponds to a send button <NUM>, the message input box B corresponds to a send button <NUM>, and the message input box C corresponds to a send button <NUM>. In this case, each of the message input boxes corresponds to one send button, so that message content in each message input box is sent via the send button corresponding to the message input box, thereby reducing a step of adjusting an arrangement order of the message input boxes, and achieving higher flexibility.

Further, in a case that the first target input box is the message input box A in <FIG>, after the message content in the message input box A is sent to the target contact in response to the second input for the send button <NUM> corresponding to the message input box A, the message input box A may alternatively be deleted from the message editing interface <NUM>, that is, display of the message input box A in the message editing interface <NUM> is canceled, as shown in <FIG>.

It should be noted that, there is no strict limitation to a timing sequence between the foregoing steps <NUM> and <NUM> as well as between <NUM> and <NUM>. In other words, after the first input is received and at least one message input box is added, in response to the first input, to the message editing interface corresponding to the target contact, the second input may be received and the message content in the first target input box may be sent to the target contact in response to the second input; and at least one first input may further be received and at least one message input box may be added, in response to the first input, to the message editing interface corresponding to the target contact.

Alternatively, at least one first input may be first received and at least one message input box may be added, in response to the first input, to the message editing interface corresponding to the target contact; then the second input may be received and the message content in the first target input box may be sent to the target contact in response to the second input; and at least one first input may further be received and at least one message input box may be added, in response to the first input, to the message editing interface corresponding to the target contact.

In the foregoing solutions, message contents may be respectively edited in a plurality of message input boxes, which avoids a complicated process in which first message content that has been edited in a message input box needs to be first deleted, and then re-edited after second message content that needs to be first sent to the target contact is edited and sent to the target contact, thereby resolving problems such as that a required operation of temporarily adjusting an order of message contents to be sent in a message sending process is complicated and time-consuming, simplifying a user's operations, and helping improve message sending efficiency.

As shown in <FIG>, an embodiment of the present disclosure further provides a message sending method, including the following steps.

Step <NUM>: Adjust a position of a third target input box in the message editing interface in response to the third input.

Optionally, the foregoing step <NUM> may specifically include: receiving a third input for the third target input box, where the third target input box is one of message input boxes displayed in the message editing interface. The foregoing step <NUM> may specifically include: adjusting a display position of the third target input box in the message editing interface in response to the third input, where the third target input box is one of the message input boxes already displayed in the message editing interface.

For example, an operation point of the third input is determined as a target position in response to the third input, and the third target input box is adjusted to the target position.

As an implementation, the third input may be a drag input acting on the third target input box; an input final position of the drag input is determined as a target position; and the third target input box is adjusted to the target position.

Optionally, the drag input is activated by a deep-pressing operation that acts on the third target input box and whose pressing force exceeds a present threshold, thereby guaranteeing accuracy of the operation, and avoiding misoperations. In addition, the drag input may be an input acting on the third target input box at any position. Because an operation region of the third target input box may meet operation requirements, thereby helping further guarantee operation accuracy, and avoid misoperations.

As another implementation, as shown in <FIG> and <FIG>, each first message input box and each second message input box separately corresponds to a moving button <NUM>.

As shown in <FIG>, in a case that the third input is a first slide input for the moving button <NUM> corresponding to the second message input box <NUM>, for example, a slide direction of the first slide input is upward, the second message input box <NUM> is moved upward by one position, that is, a position of the second message input box <NUM> is interchanged with a position of the first message input box <NUM>; and in a case that the third input is a second slide input acting on the moving button <NUM> corresponding to the first message input box <NUM>, for example, a slide direction of the second slide input is downward, the first message input box <NUM> is moved downward by one position, that is, the position of the second message input box <NUM> is interchanged with the position of the first message input box <NUM>.

In addition, the third input may alternatively be a drag input acting on the moving button <NUM> corresponding to the third target input box; an input final position of the drag input is determined as a target position; and the third target input box is adjusted to the target position.

In this embodiment, an arrangement order of message input boxes may be dynamically adjusted according to user needs, for example, the corresponding moving button <NUM> on the left side of each message input box may be pressed to drag the message input box upward and downward, to adjust the arrangement order of the message input box.

Further, after the foregoing step <NUM>, the method may further specifically include: deleting the first target input box from the message editing interface, that is, canceling display of the first target input box in the message editing interface.

On a basis that the user may dynamically adjust the arrangement order of message input boxes according to needs, optionally, a send button <NUM> is provided in a message editing interface <NUM>, as shown in <FIG> and <FIG>.

The foregoing step <NUM> includes: receiving a second input for the send button <NUM>.

For example, there are three message input boxes already displayed and arranged in sequence in a column in a current message editing interface: a first message input box, a second message input box, and a third message input box. When a <NUM>-st second input is received, message content in the first message input box is sent to the target contact; when a <NUM>-nd second input is received, message content in the second message input box is sent to the target contact; and when a <NUM>-rd second input is received, message content in the third message input box is sent to the target contact.

Specifically, the first target input box is the message input box arranged at the first position in the message input boxes that are arranged and displayed in a predetermined order in the message editing interface. In this way, after the message content in the first target input box is sent to the target contact, the first target input box is deleted, so that a message input box that is originally arranged at the second position is rearranged at the first position in turn, which can ensure that message content in the message input box rearranged at the first position is sent to the target contact in response to a next second input, thereby implementing continuous sending of message contents without a need to manually adjust the order of the message input boxes.

It should be noted that, after the message input box is deleted from the message editing interface <NUM>, the foregoing steps <NUM> to <NUM> may further be repeated, and details are not described herein again. In addition, it also should be noted that, an execution sequence of the foregoing steps <NUM> to <NUM> is not limited to that in the foregoing embodiment, for example, steps <NUM> and <NUM> may be executed after step <NUM>, may be executed after one first input is received and a response to the first input is made, or may be executed after one second input is received and a response to the second input is made.

In the foregoing solutions, message contents are respectively edited in a plurality of message input boxes, which avoids a complicated process in which first message content that has been edited in a message input box needs to be first deleted, and then re-edited after second message content that needs to be first sent to the target contact is edited and sent to the target contact, thereby resolving problems such as that a required operation of temporarily adjusting an order of message contents to be sent in a message sending process is complicated and time-consuming, thereby simplifying a user's operations, and helping improve message sending efficiency. In addition, an arrangement order of the message input boxes can be dynamically adjusted, that is, sending an order of message contents respectively corresponding to the message input boxes is adjusted, thereby guaranteeing quick adjustment of the sending order of message contents.

Step <NUM>: Delete a fourth target input box from the message editing interface in response to the fourth input, where the fourth target input box is one of message input boxes already displayed in the message editing interface.

As an implementation, the fourth input may be a leftward-slide input acting on the fourth target input box; and display of the fourth target input box in the message editing interface is canceled in response to the leftward-slide input, that is, the fourth target input box is deleted from the message editing interface.

As another implementation, as shown in <FIG>, each first message input box and each second message input box separately corresponds to a delete button <NUM>.

The foregoing step <NUM> may specifically include: receiving a fourth input for a target delete button, where the target delete button is one of the delete buttons corresponding to the message input boxes; and the foregoing step <NUM> may specifically include: deleting, in response to the fourth input, the message input box corresponding to the target delete button. In this way, display of the message input box corresponding to the target delete button in the message editing interface is canceled via the fourth input for the target delete button, that is, the message input box corresponding to the target delete button is deleted.

Further, after step <NUM>, the method may further specifically include: deleting the first target input box from the message editing interface, that is, canceling display of the first target input box in the message editing interface.

Specifically, for details about the message sending method, refer to the description of the above embodiments, and the details are not described herein again.

It should be noted that, after the message input box is deleted from the message editing interface, the foregoing steps <NUM> to <NUM> may further be repeated, and details are not described herein again. In addition, it also should be noted that, an execution sequence of the foregoing steps <NUM> to <NUM> is not limited to that in the foregoing embodiment, for example, steps <NUM> and <NUM> may be executed after step <NUM>, may be executed after one first input is received and a response to the first input is made, or may be executed after one second input is received and a response to the second input is made.

In the foregoing solutions, message contents may be respectively edited in a plurality of message input boxes, which avoids a complicated process in which first message content that has been edited in a message input box needs to be first deleted, and then re-edited after second message content that needs to be first sent to the target contact is edited and sent to the target contact, thereby resolving problems such as that a required operation of temporarily adjusting an order of message contents to be sent in a message sending process is complicated and time-consuming, simplifying a user's operations, and helping improve message sending efficiency. In addition, any of a plurality of message input boxes may be deleted, thereby guaranteeing flexible adjustment in a sequence and a quantity of the plurality of message input boxes.

As shown in <FIG>, an embodiment of the present disclosure further provides a mobile terminal <NUM>, including:.

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

The second receiving module <NUM> includes:.

Optionally, the mobile terminal <NUM> further includes:
a deletion module, configured to delete the first target input box, where the first target input box is a message input box arranged at the first position in the message input boxes that are arranged and displayed in a predetermined order in the message editing interface.

According to the following embodiment, which is not covered by the claimed invention, each of the message input boxes displayed in the message editing interface corresponds to a send button; and the second receiving module <NUM> includes:.

Optionally, the mobile terminal <NUM> further includes:.

Optionally, each of the message input boxes displayed in the message editing interface corresponds to a delete button; and the mobile terminal <NUM> further includes:.

The mobile terminal provided in this embodiment of the present disclosure can implement the processes implemented by the mobile terminal in the method embodiments in <FIG>. To avoid repetition, details are not described herein again.

According to the mobile terminal <NUM> provided in this embodiment of the present disclosure, message contents may be respectively edited in a plurality of message input boxes, which avoids a complicated process in which first message content that has been edited in a message input box needs to be first deleted, and then re-edited after second message content that needs to be first sent to the target contact is edited and sent to the target contact, thereby resolving problems such as that a required operation of temporarily adjusting an order of message contents to be sent in a message sending process is complicated and time-consuming, simplifying a user's operations, and helping improve message sending efficiency.

<FIG> is a schematic diagram of a hardware structure of a mobile terminal that implements the embodiments of the present disclosure.

The mobile 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>, and a power supply <NUM>. A person skilled in the art may understand that the structure of the mobile terminal shown in <FIG> constitutes no limitation on the mobile terminal, and the mobile terminal may include more or fewer parts than those shown in the figure, or combine some parts, or have a different part arrangement. In this embodiment of the present disclosure, the mobile terminal includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.

The user input unit <NUM> is configured to receive at least one first input; and the processor <NUM> is configured to add, in response to each first input, at least one message input box to a message editing interface corresponding to a target contact.

The user input unit <NUM> is further configured to receive at least one second input; the processor <NUM> is further configured to send message content in a first target input box to the target contact in response to each second input, where the first target input box is one of message input boxes displayed in the message editing interface.

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 further communicate with another device by using a wireless communications system and network.

The mobile 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 the audio signal as sound. Moreover, the audio output unit <NUM> may further provide audio output (for example, call signal receiving sound and message receiving sound) related to a specific function performed by the mobile terminal <NUM>. The audio output unit <NUM> includes a loudspeaker, a buzzer, a telephone receiver, and the like.

The input unit <NUM> is configured to receive an audio 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> processes image data of a static picture or a video obtained by an image capture apparatus (for example, a camera) in video capture mode or image capture mode. A processed image frame may be displayed on the display unit <NUM>. An 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 the sound into audio data. The processed audio data may be converted, in a call mode, into a format that can be sent by the radio frequency unit <NUM> to a mobile communication base station for output.

The mobile terminal <NUM> further includes at least one sensor <NUM>, such as an optional sensor, a motion sensor, and another sensor. Specifically, the optional 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, and the proximity sensor may disable the display panel <NUM> and/or backlight when the mobile terminal <NUM> approaches 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 used in an application for recognizing 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 a user or information provided for a user. The display unit <NUM> may include a display panel <NUM>.

The user input unit <NUM> may be configured to receive input digit or character information and generate key signal input related to user setting and function control of the mobile 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 apparatus and a touch controller. The touch detection apparatus detects a touch location of the user, detects a signal brought by the touch operation, and sends the signal to the touch controller. The touch controller receives touch information from the touch detection apparatus, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor <NUM>, and can receive and execute a command sent by the processor <NUM>. In addition, the touch panel <NUM> may be implemented as a resistive type, a capacitive type, an infrared type, a surface acoustic wave type, or the like. In addition to the touch panel <NUM>, the user input unit <NUM> may further include another input device <NUM>. Specifically, the another input device <NUM> may include but is not limited to a physical keyboard, function keys (for example, a volume control key and an on/off key), a trackball, a mouse, and a joystick.

Further, the touch panel <NUM> may cover the display panel <NUM>. When detecting a 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. Then, the processor <NUM> provides corresponding visual output on the display panel <NUM> based on the type of the touch event. In <FIG>, although the touch panel <NUM> and the display panel <NUM> are used as two independent parts to implement input and output functions of the mobile terminal, in some embodiments, the touch panel <NUM> and the display panel <NUM> may be integrated to implement the input and output functions of the mobile terminal.

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

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 required for at least one function (for example, a sound playback function or an image playback 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 mobile terminal, and is connected to all parts of the entire mobile terminal by using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing the software program and/or the module that are stored in the memory <NUM> and invoking the data stored in the memory <NUM>, to implement overall monitoring on the mobile terminal. The processor <NUM> may include one or more processing units. Optionally, the processor <NUM> may integrate an application processor and a modem processor. The application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor <NUM>.

The mobile terminal <NUM> may further include a power supply <NUM> (such as a battery) that supplies power to each component. Optionally, the power supply <NUM> may be logically connected to the processor <NUM> by using a power supply management system, to implement functions such as charging, discharging, and power consumption management by using the power supply management system.

In addition, the mobile terminal <NUM> includes some function modules not shown, and details are not described herein.

Optionally, an embodiment of the present disclosure further provides a mobile terminal, including a processor <NUM>, a memory <NUM>, and a computer program stored in the memory <NUM> and executable on the processor <NUM>. When the processor <NUM> executes the computer program, the foregoing processes of the message sending method embodiment are implemented and a same technical effect can be achieved. To avoid repetition, details are not described herein again.

An embodiment of the present disclosure further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when a processor executes the computer program, the foregoing processes of the message sending method embodiment are implemented and a same technical effect can be achieved. To avoid repetition, details are not described herein again. The computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, a compact disc, or the like.

Claim 1:
A message sending method, performed by a mobile terminal, comprising:
receiving (<NUM>, <NUM>, <NUM>) at least one first input on a message editing interface (<NUM>) performed by a user;
adding (<NUM>, <NUM>, <NUM>), in response to each first input, at least one message input box (<NUM>) to the message editing interface (<NUM>) corresponding to a target contact;
receiving (<NUM>, <NUM>, <NUM>) at least one second input on a send button (<NUM>, <NUM>, <NUM>, <NUM>) in the message editing interface (<NUM>) performed by the user; and
sending (<NUM>, <NUM>, <NUM>) message content in a first target input box to the target contact in response to each second input, wherein the first target input box is one of message input boxes displayed in the message editing interface (<NUM>); characterized in that
the receiving (<NUM>, <NUM>, <NUM>) at least one second input comprises:
receiving a j-th second input, wherein j is a positive integer; and
the sending (<NUM>, <NUM>, <NUM>) message content in a first target input box to the target contact in response to each second input comprises:
determining, in response to the j-th second input, a message input box arranged at the j-th position in the message input boxes that are arranged and displayed in a predetermined order in the message editing interface (<NUM>) as the first target input box, and sending the message content in the first target input box to the target contact.