CN109951379B - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN109951379B
CN109951379B CN201910234228.XA CN201910234228A CN109951379B CN 109951379 B CN109951379 B CN 109951379B CN 201910234228 A CN201910234228 A CN 201910234228A CN 109951379 B CN109951379 B CN 109951379B
Authority
CN
China
Prior art keywords
message
picture
video
editing
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910234228.XA
Other languages
Chinese (zh)
Other versions
CN109951379A (en
Inventor
王芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910234228.XA priority Critical patent/CN109951379B/en
Publication of CN109951379A publication Critical patent/CN109951379A/en
Application granted granted Critical
Publication of CN109951379B publication Critical patent/CN109951379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a message processing method and device. The method comprises the following steps: receiving a first operation instruction aiming at a target message and displaying a plurality of operation options in response to the first operation instruction, wherein the plurality of operation options comprise re-editing options; and when a second operation instruction acting on the re-editing option is received, withdrawing the target message and starting a message editing task, wherein the editing type of the message editing task comprises the same type as the target message. The method and the device for editing the message can simplify the process of re-editing the message after the message is withdrawn, so that the message editing time is saved, and the user experience is improved.

Description

Message processing method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a message processing method and apparatus.
Background
In the related art, the message sending mode of the social chat tool is basically instant message sending, if the wrong message is sent, the message can be withdrawn within a limited time, but the content of the message can be directly deleted while the message is withdrawn. When the content sent by the user is more, it takes a lot of time to re-edit the message content, or the user can copy the required message content before withdrawing the message and then paste the message content into the edit box for re-editing, but this is very inconvenient to operate, and thus it brings bad experience to the user.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a message processing method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a message processing method, including:
receiving a first operation instruction aiming at a target message and displaying a plurality of operation options in response to the first operation instruction, wherein the plurality of operation options comprise re-editing options;
when a second operation instruction acting on the re-editing option is received, withdrawing the target message and starting a message editing task, wherein the editable type of the message editing task comprises the same type as the target message.
In one embodiment, said revoking said targeted message and initiating a message composition task comprises:
revoking the targeted message;
starting the message editing interface according to the type of the target message;
wherein the type of the target message comprises a text message, an emoticon message, a picture message, and/or a video message.
In one embodiment, said initiating said message composition interface according to the type of said target message comprises:
when the type of the target message is a text message, displaying text content corresponding to the target message in an edit box;
when the type of the target message is an expression message, starting an expression selection interface;
and when the type of the target message is a picture/video message, starting a picture/video selection interface or a picture/video shooting interface.
In one embodiment, when the type of the target message is a picture/video message, the starting a picture/video selection interface or a picture/video shooting interface includes:
when the type of the target message is a picture/video message, displaying an option for selecting the picture/video and an option for shooting the picture/video;
receiving a third operation instruction acting on the option of selecting the picture/video or the option of taking the picture/video;
and correspondingly starting a picture/video selection interface or a picture/video shooting interface according to the third operation instruction.
In one embodiment, the message processing method further includes:
and acquiring the re-edited update message, and sending the update message when a fourth operation instruction for sending the update message is received.
In one embodiment, the target message is a message sent within a preset time.
According to a second aspect of the embodiments of the present disclosure, there is provided a message processing apparatus including:
the receiving module is used for receiving a first operation instruction aiming at a target message and responding to the first operation instruction to display a plurality of operation options, wherein the operation options comprise re-editing options;
and the editing module is used for withdrawing the target message and starting a message editing task when a second operation instruction acting on the re-editing option is received, wherein the editable type of the message editing task comprises the same type as the target message.
In one embodiment, the editing module comprises:
a revocation submodule for revoking the targeted message;
the editing submodule is used for starting the message editing interface according to the type of the target message;
wherein the type of the target message comprises a text message, an emoticon message, a picture message, and/or a video message.
In one embodiment, the editing sub-module comprises:
the display unit is used for displaying the text content corresponding to the target message in an edit box when the type of the target message is a text message;
the first starting unit is used for starting an expression selection interface when the type of the target message is an expression message;
and the second starting unit is used for starting a picture/video selection interface or a picture/video shooting interface when the type of the target message is a picture/video message.
In one embodiment, the second enabling unit comprises:
the display subunit is used for displaying an option of selecting pictures/videos and an option of shooting the pictures/videos when the type of the target message is the pictures/video message;
a receiving subunit, configured to receive a third operation instruction acting on the option of selecting a picture/video or the option of taking a picture/video;
and the starting sub-unit is used for correspondingly starting a picture/video selection interface or a picture/video shooting interface according to the third operation instruction.
In one embodiment, the message processing apparatus further includes:
and the sending module is used for obtaining the re-edited update message and sending the update message when a fourth operation instruction for sending the update message is received.
In one embodiment, the target message is a message sent within a preset time.
According to a third aspect of the embodiments of the present disclosure, there is provided a message processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any of the embodiments of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the message processing method provided by the embodiment of the disclosure, a plurality of options including re-editing can be displayed when the target message needs to be withdrawn, so that the target message can be withdrawn actively according to the re-editing operation instruction selected by the user, and the message editing task is started according to the specific type of the target message, so that the process of re-editing the message after the target message is withdrawn can be simplified, the message editing time is saved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of message processing in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram of a message revocation interface shown in accordance with an exemplary embodiment;
FIG. 3a is a schematic diagram one of a message editing interface shown in accordance with an exemplary embodiment;
FIG. 3b is a diagram of a message editing interface shown in accordance with an exemplary embodiment;
FIG. 3c is a schematic diagram three of a message editing interface, shown in accordance with an exemplary embodiment;
FIG. 4 is a flow chart illustrating another message processing method in accordance with the illustrative embodiments;
FIG. 5 is a flow chart illustrating yet another message processing method in accordance with the illustrative embodiments;
FIG. 6 is a process diagram illustrating the steps of a method of message processing in accordance with the exemplary embodiments;
FIG. 7 is a process diagram illustrating the steps of another message processing method in accordance with the exemplary embodiments;
FIG. 8 is a process diagram illustrating the steps of yet another message processing method in accordance with the illustrative embodiments;
FIG. 9 is a process diagram illustrating steps of yet another message processing method in accordance with the illustrative embodiments;
FIG. 10 is a block diagram of a message processing apparatus shown in accordance with an exemplary embodiment;
FIG. 11 is a block diagram of a message processing apparatus shown in accordance with an exemplary embodiment;
FIG. 12 is a block diagram of a message processing apparatus shown in accordance with an exemplary embodiment;
FIG. 13 is a block diagram of a message processing apparatus shown in accordance with an exemplary embodiment;
FIG. 14 is a block diagram of a message processing apparatus shown in accordance with an exemplary embodiment;
fig. 15 is a block diagram illustrating a device for message processing according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical scheme provided by the embodiment of the disclosure relates to a terminal, in particular to social chat software installed in the terminal, wherein the terminal comprises a mobile phone, a tablet computer, a notebook computer and other intelligent devices capable of installing the chat software, and the social chat software comprises but is not limited to WeChat, Michat, QQ and other social software. In the related art, the message sending mode of the social chat tool is basically instant sending, if a message with an error is sent, the message can be withdrawn within a limited time, but the content of the message can be directly deleted while the message is withdrawn. When the content sent by the user is large, it takes a lot of time to re-edit the message content, or the user can copy the required message content before withdrawing the message and then paste it into the edit box for re-editing, but this is very inconvenient to operate, and thus it brings bad experience to the user. Based on this, the message processing method provided by the embodiment of the disclosure may display a plurality of options including re-editing when the target message needs to be withdrawn, so as to actively withdraw the target message according to the re-editing operation instruction selected by the user, and start a message editing task according to the specific type of the target message, so that the flow of re-editing the message after the target message is withdrawn may be simplified, thereby saving the message editing time, and improving the user experience.
Fig. 1 illustrates a flowchart of a message processing method provided by an embodiment of the present disclosure. As can be seen from fig. 1, the message processing method specifically includes the following steps S101 to S102:
in step S101, a first operation instruction for a target message is received, and a plurality of operation options including a re-editing option are displayed in response to the first operation instruction.
In this embodiment, the target message refers to a message that needs to be withdrawn, and is generally a message that is sent within a preset time, where the preset time is set based on an experience time of a user reading a new message, for example, a message sent within 1 minute can be withdrawn, but not limited thereto.
Specifically, the type of the target message includes at least any one or a combination of a text message, an emoticon message, a picture message, and a video message. Taking a text message as an example, when a user needs to withdraw a sent message, the user may press or right-click a position where the target message is located to generate a first operation instruction, and the terminal may display a plurality of operation options in response to the first operation instruction when receiving the first operation instruction, as shown in fig. 2, the operation options may include options of copying, forwarding, deleting, reminding, and re-editing. It should be noted that: this example is only for text messages, but the target message may also be other types of messages, such as emoji messages, picture messages, or video messages, or may also be a combination of the above message types, such as a combination of text messages and emoji messages.
In step S102, when a second operation instruction acting on the option of re-editing is received, the target message is withdrawn and a message editing task whose editable type includes the same type as the target message is started.
In this embodiment, the message editing task refers to a task that can be used to perform message editing, and may be specifically presented as a message editing interface, where the message types editable in the message editing interface at least include the same type as the withdrawn target message, and is not limited thereto.
Specifically, the step includes two actions of withdrawing the target message and starting the message editing task, and the trigger conditions of the two actions are second operation instructions acting on the re-editing option. For example, when the user determines to withdraw the selected target message, the re-editing option in the multiple operation options may be clicked to generate a second operation instruction, and the terminal, upon receiving the second operation instruction, actively withdraws the target message in response to the second operation instruction, and starts a message editing interface according to the type of the withdrawn target message, so that the user can re-edit the message in the message editing interface. The starting of the message editing interface according to the type of the target message can be divided into the following cases:
when the type of the target message is a text message, referring to fig. 3a, the text content corresponding to the target message is displayed in the edit box, that is, the text content of the withdrawn target message is displayed in the edit box, so as to avoid the trouble that the user forgets to copy the message and needs to re-edit. For example, after the terminal withdraws the target message in response to the second operation instruction, the text content corresponding to the target message may be displayed in the edit box for presentation to the user, and the user may edit the content again based on the content already in the edit box.
When the type of the target message is an emoticon message, referring to fig. 3b, the emoticon selection interface is started, that is, the emoticon selection interface is displayed to the user, so that the user can directly select a desired emoticon, and the trouble of reselecting the emoticon column is simplified. For example, after the terminal withdraws the target message in response to the second operation instruction, the terminal may present the selection interface of the emoticon to the user, and the user may edit the emoticon again based on the displayed emoticons.
When the type of the target message is a picture/video message, as shown in fig. 3c, a picture/video selection interface or a picture/video photographing interface is started. For example, after the terminal withdraws the target message in response to the second operation instruction, the terminal may present the user with two options of selecting a picture/video and taking the picture/video in preparation for the user to select a way of retrieving the picture/video. The step of selecting the picture/video refers to entering a picture library of the terminal to select the required picture/video, and the step of shooting the picture/video refers to starting a camera device of the terminal to acquire the required picture/video. Taking the example that the user clicks the option of selecting the picture/video, the terminal generates a third operation instruction according to the click operation, the third operation instruction indicates to enter a picture/video selection mode, and at this time, the terminal can start a picture/video selection interface according to the third operation instruction for the user to select. Taking the user clicking the option of taking the picture/video as an example, the terminal generates a third operation instruction according to the clicking operation, the third operation instruction indicates to enter a picture/video taking mode, and at this moment, the terminal can start a picture/video taking interface according to the third operation instruction so as to be used for the user to take a picture.
It should be noted that: the target message in this embodiment may contain only a single message type such as a text message, but may also contain a plurality of combined message types such as a combination of a text message and a picture message. For a target message containing a single message type, after withdrawing the target message, a message editing task may be initiated as described above. However, for a target message containing multiple combined message types, after the target message is withdrawn, the specific mode for starting the message editing task needs to be determined according to the preset rule.
In one embodiment, the specific manner in which the message editing task is initiated may be determined based on a predetermined priority of the different message types. For example, the priorities of different message types may be set according to the order of picture/video message-text message-emotion message, when withdrawing the target message and starting a message editing task, if the target message includes a picture/video message, a selection interface for selecting a picture/video and capturing a picture/video is started, further, according to the selection of the user, the picture/video selection interface or the picture/video capturing interface is started, if the target message does not include a picture/video message but includes a text message, text content corresponding to the target message is displayed in an editing box, and if the target message does not include a picture/video message and a text message, the emotion selection interface is started.
In another embodiment, the specific manner in which the message editing task is initiated may be determined based on the weights of the different message types, wherein the weight coefficients of the different message types may be preset. For example, if the weight relationship of different message types included in the target message is that the weight of the text message exceeds the weight of the emoticon message, the text content corresponding to the target message is displayed in the edit box, and if the weight relationship of different message types included in the target message is that the weight of the picture/video message exceeds the weight of the text message, a selection interface for selecting a picture/video and shooting a picture/video is started, and further a picture/video selection interface or a picture/video shooting interface is started according to the selection of the user.
In yet another embodiment, the specific manner in which the message editing task is initiated may also be determined based on the relevancy of the keyword/semantic information of different message types to the chat content. For example, keywords may be extracted based on a text message, semantic information may be extracted based on an emoticon message or picture/video information, and the association degree between different message types in the target message and the chat content may be determined by combining the extracted keywords/semantic information and the chat content, where the message type with the highest association degree is taken as the criterion, for example, when the association degree between the picture/video message and the chat content is the highest, a selection interface for selecting a picture/video and shooting a picture/video is started, and further, a picture/video selection interface or a picture/video shooting interface is started according to the selection of the user.
It should be noted that: in this embodiment, a combination manner of different message types in the target message is not specifically limited, and the combination manner may be only completed in the same edit box, for example, the custom expression may be directly sent after being selected and cannot be edited together with other types of messages. In addition, for some default emoticons of the application program, the default emoticons display text information such as embarrassment during editing, the messages can be regarded as emoticons when appearing independently, and can be regarded as text messages when appearing together with the text messages, so that the starting mode of a message editing interface is simplified when the target message contains a plurality of combined message types.
Based on the above steps S101 to S102, referring to fig. 4, after the message editing task is started and the message is edited again, the message processing method may further include the following step S103:
in step S103, the re-edited update message is acquired, and is transmitted upon receiving a fourth operation instruction to transmit the update message.
In this embodiment, the update message refers to a message to be sent that is re-edited after the target message is withdrawn, and includes at least a message of the same type as the target message, for example, when the target message is an emoticon message, the update message is also an emoticon message, but may further include a message of a different type from the target message, for example, when the target message is a picture message, the update message is a picture message plus a text message.
Based on the above steps S101 to S102, as shown in fig. 5, after the message editing task is started, the message processing method may further include the following step S104:
in step S104, the message edit task is canceled upon receiving a fifth operation instruction to cancel message edit.
Specifically, when the user withdraws the target message and does not need to resend the message, the text content in the edit box can be deleted, the expression selection interface can be exited, the picture/video selection interface can be exited, or the picture/video shooting interface can be cancelled, and when the terminal receives a fifth operation instruction generated according to the actions, the current message editing task can be cancelled.
Based on the above process, the message processing method provided by the embodiment of the disclosure does not need to install additional software or plug-in, can automatically execute the revocation operation of the target message when the user selects to re-edit the message, and can start the corresponding message editing method according to the type of the target message, so that the flow of re-editing the message after the target message is revoked can be simplified, the time for re-editing the message can be saved, and the user experience is improved.
The following describes in detail an implementation process of the present disclosure with reference to the accompanying drawings.
Fig. 6 is a flowchart illustrating a message processing method according to an exemplary embodiment, where an execution subject is a terminal device. When the target message only includes a text message, as shown in fig. 6, the message processing method specifically includes the following steps:
in step S601, when the target message needs to be withdrawn, receiving a first operation instruction generated according to a location where the long press target message is located;
in step S602, in response to the first operation instruction, displaying a plurality of operation options, where the plurality of operation options include options of copy, forward, delete, remind, and re-edit;
in step S603, receiving a second operation instruction generated by clicking the re-editing option;
in step S604, automatically withdrawing the target message in response to the second operation instruction, and displaying the text content corresponding to the target message in the edit box;
in step S605, a re-edited update message is acquired;
in step S606, a fourth operation instruction to transmit the update message is received, and the update message is transmitted in response to the fourth operation instruction.
The embodiment can display the text content corresponding to the text message in the edit box after the text message is withdrawn, so that the user can edit the message again based on the text content, thereby saving the time for editing the message.
Fig. 7 is a flowchart illustrating a message processing method according to another exemplary embodiment, the execution subject being a terminal device. When the target message only includes a picture message or a video message, as shown in fig. 7, the message processing method specifically includes the following steps:
in step S701, when the target message needs to be withdrawn, a first operation instruction generated according to a position where the right click target message is located is received;
in step S702, a plurality of operation options are displayed in response to the first operation instruction, where the operation options include options of copy, forward, delete, remind, and re-edit;
in step S703, receiving a second operation instruction generated by clicking the re-editing option;
in step S704, the target message is automatically withdrawn in response to the second operation instruction, and two options of selecting a picture/video and taking a picture/video are presented;
in step S705, receiving a third operation instruction generated by clicking an option to select a picture/video, where the third operation instruction indicates to enter a picture/video selection mode;
in step S706, a picture/video selection interface is started in response to the third operation instruction for selection by the user;
in step S707, an operation of clicking a certain picture/video is received to obtain an update message and a fourth operation instruction is generated;
in step S708, the update message, i.e., the updated picture/video, is sent in response to the fourth operation instruction.
The embodiment can display the options of selecting the picture/video and taking the picture/video after withdrawing the picture message or the video message, and further start the picture/video selection interface according to the selection of the user, so that the user can select the updated picture which needs to be resent, and the message editing process is simplified.
Fig. 8 is a flowchart illustrating a message processing method according to still another exemplary embodiment, the execution subject being a terminal device. When the target message includes both the text message and the emoticon message, as shown in fig. 8, the message processing method specifically includes the following steps:
in step S801, when the target message needs to be withdrawn, a first operation instruction generated according to the position of the long press target message is received;
in step S802, a plurality of operation options are displayed in response to the first operation instruction, where the operation options include options of copy, forward, delete, remind, undo, and re-edit;
in step S803, a second operation instruction generated according to the click of the re-edit option is received;
in step S804, automatically withdrawing the target message in response to the second operation instruction, and detecting whether the emotive message can be converted into a text type;
in step S805, if the emoticon message can be converted into a text type, displaying the text content corresponding to the text type message and the text message converted from the emoticon message in an edit box;
in step S806, if the emoticon message cannot be converted into a text type, detecting priorities of the text message and the emoticon message;
in step S807, when it is detected that the priority of the text message is greater than that of the emoji message, displaying the text content corresponding to the target message in the edit box;
in step S808, a re-edited update message is acquired;
in step S809, a fourth operation instruction to transmit the update message is received, and the update message is transmitted in response to the fourth operation instruction.
The embodiment can select the corresponding message editing mode according to the type of the emoji message after withdrawing the target message containing the text message and the emoji message, and further determine the mode for starting the message editing task according to the priority of the emoji message and the text message when the emoji message cannot be converted into the corresponding text type message, thereby providing convenience for the user to re-edit the message.
Fig. 9 is a flowchart illustrating a message processing method according to still another exemplary embodiment, the execution subject being a terminal device. When the target message includes both the picture message and the text message, as shown in fig. 9, the message processing method specifically includes the following steps:
in step S901, when the target message needs to be withdrawn, receiving a first operation instruction generated according to a position where the right click target message is located;
in step S902, a plurality of operation options are displayed in response to the first operation instruction, where the operation options include options of copy, forward, delete, remind, undo, and re-edit;
in step S903, a second operation instruction generated by clicking the re-editing option is received;
in step S904, the target message is automatically withdrawn in response to the second operation instruction, and the weight coefficients of the picture message and the text message are obtained, so as to obtain the weight relationship between the picture message and the text message;
in step S905, if the weight value of the picture message is greater than the weight value of the text message, two options of selecting a picture and taking a picture are displayed, otherwise, the text content corresponding to the text message is displayed in the edit box;
in step S906, taking the weighted value of the picture message as an example larger than the weighted value of the text message, receiving a third operation instruction generated according to clicking the option of taking the picture, where the third operation instruction instructs to enter a picture taking mode;
in step S907, a picture taking interface is started in response to the third operation instruction for the user to take a picture;
in step S908, a fifth operation instruction generated according to clicking of a button for canceling picture taking is received;
in step S909, the message editing task is canceled in response to the fifth operation instruction.
The embodiment can determine the mode of starting the message editing task according to the weight relation between the picture message and the text message after withdrawing the target message containing the picture message and the text message, and can also cancel the editing task according to the requirement of the user, thereby providing convenience for the user to edit the message and simultaneously providing various choices.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 10 is a schematic structural diagram illustrating a message processing apparatus, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both, according to an exemplary embodiment. As shown in fig. 10, the message processing apparatus specifically includes a receiving module 11 and an editing module 12. The receiving module 11 is configured to receive a first operation instruction for a target message and display a plurality of operation options in response to the first operation instruction, where the plurality of operation options include an option to be re-edited; the editing module 12 is configured to, upon receiving a second operation instruction acting on the re-editing option, withdraw the target message and start a message editing task, where an editable type of the message editing task includes the same type as the target message.
In one embodiment, as shown with reference to FIG. 11, the editing module 12 includes a recall sub-module 121 and an edit sub-module 122. Wherein the withdrawing submodule 121 is configured to withdraw the target message; the editing submodule 122 is configured to start the message editing interface according to the type of the target message; the types of the target message include a text message, an emoticon message, a picture message, and/or a video message.
In one embodiment, referring to FIG. 12, the editing sub-module 122 includes a display unit 1221, a first activation unit 1222, and a second activation unit 1223. The display unit 1221 is configured to display, when the type of the target message is a text message, text content corresponding to the target message in an edit box; the first starting unit 1222 is configured to start an emotive selection interface when the type of the target message is an emotive message; the second starting unit 1223 is configured to start the picture/video selection interface or the picture/video shooting interface when the type of the target message is a picture/video message.
In one embodiment, as shown with reference to fig. 13, the second enabling unit 1223 includes a display subunit 12231, a receiving subunit 12232, and a promoter unit 12233. The display subunit 12231 is configured to, when the type of the target message is a picture/video message, display an option of selecting a picture/video and an option of taking a picture/video; the receiving sub-unit 12232 is configured to receive a third operation instruction acting on the option of selecting a picture/video or the option of taking a picture/video; the starting sub-unit 12233 is configured to start a picture/video selection interface or a picture/video shooting interface according to the third operation instruction.
In one embodiment, referring to fig. 14, the message processing apparatus further includes a sending module 13, where the sending module 13 is configured to obtain the re-edited update message and send the update message when receiving a fourth operation instruction for sending the update message.
In one embodiment, the target message is a message sent within a preset time.
The message processing device provided by the embodiment of the disclosure can display a plurality of options including re-editing when the target message needs to be withdrawn, so that the target message is actively withdrawn according to the re-editing operation instruction selected by the user, and the message editing task is started according to the specific type of the target message, thereby simplifying the process of re-editing the message after the target message is withdrawn, saving the message editing time, and improving the user experience.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
An embodiment of the present disclosure further provides a message processing apparatus, where the apparatus includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform:
receiving a first operation instruction aiming at a target message and displaying a plurality of operation options in response to the first operation instruction, wherein the plurality of operation options comprise re-editing options;
when a second operation instruction acting on the re-editing option is received, withdrawing the target message and starting a message editing task, wherein the editable type of the message editing task comprises the same type as the target message.
In one embodiment, the processor may be further configured to:
the withdrawing the target message and initiating a message editing task comprises:
revoking the targeted message;
starting the message editing interface according to the type of the target message;
wherein the type of the target message comprises a text message, an emoticon message, a picture message, and/or a video message.
In one embodiment, the processor may be further configured to:
when the type of the target message is a text message, displaying text content corresponding to the target message in an edit box;
when the type of the target message is an expression message, starting an expression selection interface;
and when the type of the target message is a picture/video message, starting a picture/video selection interface or a picture/video shooting interface.
In one embodiment, the processor may be further configured to:
when the type of the target message is a picture/video message, displaying an option for selecting the picture/video and an option for shooting the picture/video;
receiving a third operation instruction acting on the option of selecting the picture/video or the option of taking the picture/video;
and correspondingly starting a picture/video selection interface or a picture/video shooting interface according to the third operation instruction.
In one embodiment, the processor may be further configured to:
and acquiring the re-edited update message, and sending the update message when a fourth operation instruction for sending the update message is received.
Fig. 15 is a block diagram illustrating a structure of a message processing apparatus according to an exemplary embodiment, the apparatus 100 being adapted to a terminal device. For example, the apparatus 100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 100 may include one or more of the following components: a processing component 102, a memory 104, a power component 106, a multimedia component 108, an audio component 110, an input/output (I/O) interface 112, a sensor component 114, and a communication component 116.
The processing component 102 generally controls overall operation of the device 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 102 may include one or more processors 120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the process component 102 can include one or more modules that facilitate interaction between the process component 102 and other components. For example, the processing component 102 can include a multimedia module to facilitate interaction between the multimedia component 108 and the processing component 102.
The memory 104 is configured to store various types of data to support operations at the apparatus 100. Examples of such data include instructions for any application or method operating on device 100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 104 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 106 provides power to the various components of the device 100. The power components 106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 100.
The multimedia component 108 includes a screen that provides an output interface between the device 100 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 110 is configured to output and/or input audio signals. For example, audio component 110 includes a Microphone (MIC) configured to receive external audio signals when apparatus 100 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 104 or transmitted via the communication component 116. In some embodiments, the audio component 110 further comprises a speaker for outputting audio signals.
The I/O interface 112 provides an interface between the processing component 102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 114 includes one or more sensors for providing various aspects of status assessment for the device 100. For example, the sensor assembly 114 may detect an open/closed state of the device 100, the relative positioning of components, such as a display and keypad of the device 100, the sensor assembly 114 may also detect a change in the position of the device 100 or a component of the device 100, the presence or absence of user contact with the device 100, orientation or acceleration/deceleration of the device 100, and a change in the temperature of the device 100. The sensor assembly 114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 116 is configured to facilitate wired or wireless communication between the apparatus 100 and other devices. The device 100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 116 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described goods presentation method at the user terminal side.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 104 comprising instructions, executable by the processor 120 of the apparatus 100 to perform the above-described terminal-side cleansing method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The disclosed embodiments also provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of the apparatus 100, enable the apparatus 100 to perform the above-mentioned message processing method, the method including:
receiving a first operation instruction aiming at a target message and displaying a plurality of operation options in response to the first operation instruction, wherein the plurality of operation options comprise re-editing options;
when a second operation instruction acting on the re-editing option is received, withdrawing the target message and starting a message editing task, wherein the editable type of the message editing task comprises the same type as the target message.
In one embodiment, said revoking said targeted message and initiating a message composition task comprises:
revoking the targeted message;
starting the message editing interface according to the type of the target message;
wherein the type of the target message comprises a text message, an emoticon message, a picture message, and/or a video message.
In one embodiment, said initiating said message composition interface according to the type of said target message comprises:
when the type of the target message is a text message, displaying text content corresponding to the target message in an edit box;
when the type of the target message is an expression message, starting an expression selection interface;
and when the type of the target message is a picture/video message, starting a picture/video selection interface or a picture/video shooting interface.
In one embodiment, when the type of the target message is a picture/video message, the starting a picture/video selection interface or a picture/video shooting interface includes:
when the type of the target message is a picture/video message, displaying an option for selecting the picture/video and an option for shooting the picture/video;
receiving a third operation instruction acting on the option of selecting the picture/video or the option of taking the picture/video;
and correspondingly starting a picture/video selection interface or a picture/video shooting interface according to the third operation instruction.
In one embodiment, the message processing method further includes:
and acquiring the re-edited update message, and sending the update message when a fourth operation instruction for sending the update message is received.
In one embodiment, the target message is a message sent within a preset time.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure should be limited only by the attached claims.

Claims (10)

1. A message processing method, comprising:
receiving a first operation instruction aiming at a target message and displaying a plurality of operation options in response to the first operation instruction, wherein the plurality of operation options comprise re-editing options;
withdrawing the target message and starting a message editing task when a second operation instruction acting on the re-editing option is received, wherein the editable type of the message editing task comprises the same type as the target message,
the withdrawing the target message and initiating a message editing task comprises:
revoking the targeted message;
starting a message editing interface according to the type of the target message;
wherein the type of the target message comprises a text message, an emoticon message, a picture message, and/or a video message,
the starting the message editing interface according to the type of the target message comprises:
when the type of the target message is a text message, displaying text content corresponding to the target message in an edit box;
when the type of the target message is an expression message, starting an expression selection interface;
and when the type of the target message is a picture/video message, starting a picture/video selection interface or a picture/video shooting interface.
2. The message processing method according to claim 1, wherein when the type of the target message is a picture/video message, starting a picture/video selection interface or a picture/video shooting interface comprises:
when the type of the target message is a picture/video message, displaying an option for selecting the picture/video and an option for shooting the picture/video;
receiving a third operation instruction acting on the option of selecting the picture/video or the option of taking the picture/video;
and correspondingly starting a picture/video selection interface or a picture/video shooting interface according to the third operation instruction.
3. The message processing method according to claim 1, further comprising:
and acquiring the re-edited update message, and sending the update message when a fourth operation instruction for sending the update message is received.
4. The message processing method according to any of claims 1-3, wherein the target message is a message sent within a preset time.
5. A message processing apparatus, comprising:
the receiving module is used for receiving a first operation instruction aiming at a target message and responding to the first operation instruction to display a plurality of operation options, wherein the operation options comprise re-editing options;
an editing module, configured to withdraw the target message and start a message editing task when receiving a second operation instruction acting on the re-editing option, where an editable type of the message editing task includes a same type as the target message,
the editing module comprises:
a revocation submodule for revoking the targeted message;
the editing submodule is used for starting a message editing interface according to the type of the target message;
wherein the type of the target message comprises a text message, an emoticon message, a picture message, and/or a video message,
the editing sub-module comprises:
the display unit is used for displaying the text content corresponding to the target message in an edit box when the type of the target message is a text message;
the first starting unit is used for starting an expression selection interface when the type of the target message is an expression message;
and the second starting unit is used for starting a picture/video selection interface or a picture/video shooting interface when the type of the target message is a picture/video message.
6. The message processing apparatus according to claim 5, wherein the second starting unit comprises:
the display subunit is used for displaying an option of selecting pictures/videos and an option of shooting the pictures/videos when the type of the target message is the pictures/video message;
a receiving subunit, configured to receive a third operation instruction acting on the option of selecting a picture/video or the option of taking a picture/video;
and the starting sub-unit is used for correspondingly starting a picture/video selection interface or a picture/video shooting interface according to the third operation instruction.
7. The message processing apparatus according to claim 5, characterized by further comprising:
and the sending module is used for obtaining the re-edited update message and sending the update message when a fourth operation instruction for sending the update message is received.
8. The message processing apparatus according to any of claims 5-7, wherein the target message is a message sent within a preset time.
9. A message processing apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1-4.
10. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 4.
CN201910234228.XA 2019-03-26 2019-03-26 Message processing method and device Active CN109951379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910234228.XA CN109951379B (en) 2019-03-26 2019-03-26 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910234228.XA CN109951379B (en) 2019-03-26 2019-03-26 Message processing method and device

Publications (2)

Publication Number Publication Date
CN109951379A CN109951379A (en) 2019-06-28
CN109951379B true CN109951379B (en) 2021-08-31

Family

ID=67010824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910234228.XA Active CN109951379B (en) 2019-03-26 2019-03-26 Message processing method and device

Country Status (1)

Country Link
CN (1) CN109951379B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW202131182A (en) * 2020-02-07 2021-08-16 萊思特科技股份有限公司 Method capable of quickly withdrawing chat messages, real-time communication device, and computer program product
CN111596821B (en) * 2020-04-29 2023-09-26 腾讯科技(深圳)有限公司 Message display method, device, computer equipment and storage medium
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN112035206B (en) * 2020-09-01 2021-08-24 腾讯科技(深圳)有限公司 Message processing method and device
CN113518026B (en) * 2021-03-25 2023-06-06 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN114745346A (en) * 2022-04-11 2022-07-12 维沃移动通信有限公司 Message processing method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368818A (en) * 2012-03-31 2013-10-23 多玩娱乐信息技术(北京)有限公司 Method for sending instant message
CN103516576A (en) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 Method for processing instant message and device thereof
CN106878152A (en) * 2016-02-29 2017-06-20 艾威梯科技(北京)有限公司 A kind of message cancelling method and module for instant messaging
CN108390813A (en) * 2017-02-03 2018-08-10 阿里巴巴集团控股有限公司 Instant communication information recalls, amending method, instant communication client and server-side
CN108566332A (en) * 2018-04-17 2018-09-21 广州腾讯科技有限公司 A kind of instant communication information processing method, device and storage medium
CN109034820A (en) * 2018-06-27 2018-12-18 阿里巴巴集团控股有限公司 It is a kind of to the processing method and processing device for having issued message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8255470B2 (en) * 2009-09-25 2012-08-28 At&T Intellectual Property I, L.P. System and method for message recall in a unified messaging

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368818A (en) * 2012-03-31 2013-10-23 多玩娱乐信息技术(北京)有限公司 Method for sending instant message
CN103516576A (en) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 Method for processing instant message and device thereof
CN106878152A (en) * 2016-02-29 2017-06-20 艾威梯科技(北京)有限公司 A kind of message cancelling method and module for instant messaging
CN108390813A (en) * 2017-02-03 2018-08-10 阿里巴巴集团控股有限公司 Instant communication information recalls, amending method, instant communication client and server-side
CN108566332A (en) * 2018-04-17 2018-09-21 广州腾讯科技有限公司 A kind of instant communication information processing method, device and storage medium
CN109034820A (en) * 2018-06-27 2018-12-18 阿里巴巴集团控股有限公司 It is a kind of to the processing method and processing device for having issued message

Also Published As

Publication number Publication date
CN109951379A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109951379B (en) Message processing method and device
US10728196B2 (en) Method and storage medium for voice communication
EP3316105B1 (en) Instant message processing method and device
CN106469054B (en) Notification message control method and device and terminal
CN111381739B (en) Application icon display method and device, electronic equipment and storage medium
CN109600303B (en) Content sharing method and device and storage medium
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN107566892B (en) Video file processing method and device and computer readable storage medium
CN106126025B (en) Interactive method and device for copying and pasting
RU2645282C2 (en) Method and device for calling via cloud-cards
WO2022142871A1 (en) Video recording method and apparatus
US11176192B2 (en) Method and apparatus for recalling image file, control method and apparatus for recalling image file, and mobile terminal
CN108011990B (en) Contact management method and device
CN110968364A (en) Method and device for adding shortcut plug-in and intelligent equipment
CN107493366B (en) Address book information updating method and device and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN108984098B (en) Information display control method and device based on social software
US20160349947A1 (en) Method and device for sending message
CN106506808B (en) Method and device for prompting communication message
EP3301888A1 (en) Call processing method and device for call notes
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN107948442B (en) Message management method, device and computer readable storage medium
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN109889662B (en) Information forwarding method and device, electronic equipment and computer readable storage medium
CN109714247B (en) Group chat information processing method and device, electronic equipment and storage medium

Legal Events

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