WO2023197960A1 - 一种消息处理方法及装置、电子设备和可读存储介质 - Google Patents

一种消息处理方法及装置、电子设备和可读存储介质 Download PDF

Info

Publication number
WO2023197960A1
WO2023197960A1 PCT/CN2023/087017 CN2023087017W WO2023197960A1 WO 2023197960 A1 WO2023197960 A1 WO 2023197960A1 CN 2023087017 W CN2023087017 W CN 2023087017W WO 2023197960 A1 WO2023197960 A1 WO 2023197960A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
target
conversation
user
input
Prior art date
Application number
PCT/CN2023/087017
Other languages
English (en)
French (fr)
Inventor
赵军奎
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023197960A1 publication Critical patent/WO2023197960A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Definitions

  • This application belongs to the field of communication technology, and specifically relates to a message processing method and device, electronic equipment and readable storage media.
  • the purpose of the embodiments of the present application is to provide a message processing method and device, electronic device and readable storage medium, which can solve the problem of low conversation communication efficiency caused by the related message withdrawal function.
  • embodiments of the present application provide a message processing method, which is applied to the message sender.
  • the method includes:
  • the target message withdrawal mode includes: batch withdrawal mode, partial withdrawal mode or Some users withdraw the mode.
  • inventions of the present application provide a message processing device, which is applied to the message sender.
  • the device includes:
  • the first display module is used to display the session message interface of the target session in which the first user participates; the session message interface includes the session message sent by the first user;
  • a second display module configured to update the display of the target conversation message according to the target message withdrawal mode in response to the first user's first input of the target conversation message in the conversation message;
  • the target message withdrawal mode includes: batch withdrawal mode, partial withdrawal mode or partial user withdrawal mode.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the programs or instructions are processed by the processor.
  • the processor is executed, the steps of the method described in the first aspect are implemented.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the steps of the method described in the first aspect are implemented. .
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect. the method described.
  • embodiments of the present application provide a computer program/program product.
  • the program/program product is stored in a storage medium.
  • the program/program product is executed by at least one processor to implement the method as described in the first aspect. .
  • Target message withdrawal modes include batch withdrawal mode, partial withdrawal mode or partial user withdrawal mode, whereby users can choose different target message withdrawal modes according to personal needs to meet users' different withdrawal processing needs for target session messages and simplify the withdrawal operation process, improving the efficiency of conversational communication.
  • Figure 1 is a schematic flow chart of a message processing method provided by an embodiment of the present application.
  • Figure 2 is a schematic diagram of the message withdrawal mode option provided by the embodiment of the present application.
  • Figure 3 is a second schematic diagram of the message withdrawal mode option provided by the embodiment of the present application.
  • Figure 4 is a schematic diagram of at least two first message units provided by the embodiment of the present application.
  • Figure 5 is a schematic diagram showing the withdrawal prompt provided by the embodiment of the present application.
  • Figure 6 is a schematic diagram after withdrawing the first target message unit provided by the embodiment of the present application.
  • Figure 7 is a schematic diagram of the first input provided by the embodiment of the present application.
  • Figure 8 is a schematic diagram of at least two second message units provided by the embodiment of the present application.
  • Figure 9 is a schematic diagram of the content of the resent target message provided by the embodiment of the present application.
  • Figure 10 is a schematic diagram of the sixth input provided by the embodiment of the present application.
  • FIG 11 is a schematic diagram of the third message unit provided by the embodiment of the present application.
  • Figure 12 is a schematic diagram of session member identification provided by an embodiment of the present application.
  • Figure 13 is a schematic diagram of the eighth input provided by the embodiment of the present application.
  • Figure 14 is a schematic diagram of the target quantity and target time period provided by the embodiment of the present application.
  • Figure 15 is a schematic diagram after withdrawing at least two conversation messages provided by the embodiment of the present application.
  • Figure 16 is a schematic diagram of displaying multiple withdrawn conversation messages in the conversation message input area provided by the embodiment of the present application.
  • Figure 17 is a schematic diagram of multiple conversation messages after adjusting the order
  • Figure 18 is a schematic diagram of resending multiple session messages
  • Figure 19 is one of the schematic diagrams of the message update reminder information provided by the embodiment of the present application.
  • Figure 20 is a schematic diagram of the target session message before update provided by the embodiment of the present application.
  • Figure 21 is a second schematic diagram of the message update reminder information provided by the embodiment of the present application.
  • Figure 22 is a schematic structural diagram of a message processing device provided by an embodiment of the present application.
  • Figure 23 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 24 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,” “second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • Figure 1 is a schematic flow chart of a message processing method provided by an embodiment of the present application.
  • one embodiment of the present application provides a message processing method, which is applied to the message sender. This embodiment uses the method as an example when applied to an electronic device.
  • the message processing method includes the following steps:
  • Step 101 Display the session message interface of the target session in which the first user participates, where the session message interface includes the session message sent by the first user;
  • an instant messaging application is run on the electronic device, the first user logs in to the instant messaging application with the first account, and the electronic device displays a session message interface of the target session in which the first user participates.
  • the session message interface Contains conversation messages sent by the first user.
  • the first user belongs to the message sender, or the electronic device operated by the first user belongs to the message sender.
  • the target session is a session in an instant messaging application running on the electronic device.
  • the session message interface is the session message interface of the target session.
  • the session message interface includes the session message sent by the first user, that is, the first user can Conversation message interface View the session messages sent by the first user. Of course, you can also view session messages sent by session members in other sessions to the first user in the session message interface, or session messages sent by session members in the target session.
  • Step 102 In response to the first user's first input of the target conversation message in the conversation message, update the display of the target conversation message according to the target message withdrawal mode;
  • the electronic device when the electronic device receives the first input of the target conversation message in the conversation message from the first user, it will respond to the first input and update the display of the target conversation message according to the target message withdrawal mode,
  • the target session message is processed when the display of the target session message is updated according to the target message recall mode.
  • the target message withdrawal mode includes a batch withdrawal mode, a partial withdrawal mode, or a partial user withdrawal mode. That is, the target message withdrawal mode can be any one of the batch withdrawal mode, a partial withdrawal mode, and a partial user withdrawal mode. Different target message withdrawal modes Under the circumstances, the recall processing methods for target conversation messages are different.
  • the batch recall mode can recall at least one target conversation message at the same time, while the partial recall mode can recall part of the content in a single target session message, and the partial user recall mode can recall the target conversation message.
  • Conversation messages are withdrawn from some users, thus enriching the methods of withdrawing conversation messages, allowing users to have more choices in different scenarios, and improving the efficiency of conversation communication.
  • the target message withdrawal mode may be determined by the first input of the first user, or may remain the same as the message withdrawal mode used by the first user when he last made a withdrawal on the session message interface.
  • the target conversation message may be one or multiple, and the number of target conversation messages may be determined based on the first input.
  • the display of the target conversation message will be updated according to the target message withdrawal mode, that is, the functions of withdrawing and resending the target conversation message are realized;
  • the target message withdrawal mode includes batch withdrawal mode, partial withdrawal mode or partial user withdrawal mode, thus Users can choose different target message withdrawal modes according to personal needs to meet users' different withdrawal processing of target conversation messages. requirements, simplifying the withdrawal operation process and improving conversational communication efficiency.
  • updating the display of the target conversation message according to the target message withdrawal mode includes:
  • the display of the target conversation message is updated according to the target message withdrawal mode corresponding to the target message withdrawal mode option.
  • the first input when the electronic device receives the first input of the first user to the target conversation message in the conversation message, for example, the first input may be a preset touch input to the target conversation message in the conversation message interface. , such as click input, long press input, sliding input, etc., the electronic device will respond to the first input and display message withdrawal mode options, where each message withdrawal mode option corresponds to a message withdrawal mode. If the electronic device receives a second input from the user to the target message withdrawal mode option among the message withdrawal mode options, for example, the second input can be a click input, a long press input, a drag input, etc.
  • the electronic device In response to the second input, the message withdrawal mode corresponding to the target message withdrawal mode option is determined as the target message withdrawal mode, and the display of the target conversation message is updated according to the target message withdrawal mode.
  • displaying a message withdrawal mode option in response to the first user's first input of a target conversation message in the conversation message, includes:
  • a message withdrawal mode option matching the message type of the target conversation message is displayed.
  • the electronic device in response to the first user's first input of the target conversation message in the conversation message, the electronic device will display the corresponding message withdrawal mode selection according to the message type of the target conversation message. item.
  • the message type of the target conversation message may be a picture message type, a text message type, etc.
  • the corresponding message recall mode option includes the batch recall mode option, part User withdrawal mode option;
  • the target conversation message is a text message type, when the message withdrawal mode option is displayed, the corresponding message withdrawal mode options include batch withdrawal mode option, partial withdrawal mode, partial user withdrawal mode option, etc. , which can meet the needs of users to choose different message withdrawal modes for different message types.
  • the display name of the above message withdrawal mode option can be named according to the function or specific execution method of the corresponding message withdrawal mode, and is not limited to the above name in practical applications.
  • Figure 2 is one of the schematic diagrams of the message withdrawal mode option provided by an embodiment of the present application.
  • an arc curve will be displayed in the conversation message interface 201, and the message withdrawal mode options supported by the target conversation message will be arranged and displayed on the arc curve.
  • the displayed processing mode options include a first option 202 and a second option 203.
  • the first option 202 corresponds to the "batch withdrawal mode" and the second option 203 corresponds to the "partial user withdrawal mode”. ”, the user can select any option.
  • Figure 3 is a second schematic diagram of the message withdrawal mode option provided by an embodiment of the present application.
  • an arc curve will be displayed in the session message interface, and the message withdrawal mode options supported by the target session message will be arranged and displayed on the arc curve.
  • the displayed processing mode options include the first option 202, the second option 203 and the third option 204.
  • the first option 202 corresponds to the "batch recall mode”
  • the second option 203 corresponds to "Partial user withdrawal mode”
  • the third option 204 corresponds to the "partial user withdrawal mode”
  • the user can select any option.
  • the target message withdrawal mode includes a partial withdrawal mode
  • the partial withdrawal mode includes a first partial withdrawal mode and a second partial withdrawal mode
  • updating the display of the target conversation message according to the target message withdrawal mode includes:
  • the target message withdrawal mode is the first partial withdrawal mode
  • the target conversation message in response to the first user's first input of the target conversation message in the conversation message, the target conversation message is updated and displayed as at least two a first message unit;
  • the target message withdrawal mode includes a partial withdrawal mode.
  • the partial withdrawal mode part of the content in the target session message can be withdrawn.
  • the partial withdrawal mode includes a first partial withdrawal mode and a second partial withdrawal mode.
  • the electronic device will update and display the target conversation message as at least two first message units in response to the first input of the first user;
  • the first The message unit can be a word, word, sentence, etc., such as a word, a phrase, several words, a punctuation mark, etc.
  • the electronic device can use syntax analysis, semantic analysis and other means to parse the target conversation message, or it can also analyze the target conversation message based on punctuation marks. Split to split the target session message into at least two first message units.
  • the electronic device if the electronic device receives a third input from the first user to the first target message unit among the at least two first message units, the electronic device will respond to the third input and cancel the response to the third target message unit in the target conversation message.
  • Display of a target message unit that is, the first target message unit in the target session message is withdrawn. This eliminates the cumbersome process of first withdrawing the target conversation message, then re-editing it in the edit box, and then re-sending it after the editing is completed. This simplifies the withdrawal operation, improves the efficiency of conversation communication, and the first target message unit of the withdrawal is It can be chosen independently by the user, bringing greater flexibility to withdrawal processing.
  • the at least two first message units obtained by parsing may be set at intervals.
  • adjacent first message units may be separated by spaces or by identifiers such as vertical bars.
  • the selected first target message unit can be identified by bolding, underlining, changing font color, etc., to facilitate the user to distinguish and view.
  • the first target message unit when canceling the display of the first target message unit in the target conversation message, may be updated and displayed as the preset message content.
  • the preset message content may be overlaid and displayed on the first target message unit.
  • the original display position of the message unit, the preset message content can be "message content has been deleted", “message content is being re-edited", etc., or it can be a blank space, etc.
  • the display positions of the remaining message units in the target conversation message are updated.
  • the first target message may be deleted from the target conversation message. unit, then reorder the remaining message units into a new conversation message, and then display the new conversation message.
  • Figure 4 is a schematic diagram of at least two first message units provided by the embodiment of the present application.
  • Figure 5 is a schematic diagram of the display of the withdrawal prompt provided by the embodiment of the present application.
  • Figure 6 is a schematic diagram of the withdrawal prompt provided by the embodiment of the present application. Schematic diagram behind a target message unit.
  • the target conversation message 41 in the conversation message interface is split into a plurality of first message units 42.
  • the plurality of first message units 42 are separated by vertical lines.
  • the user selects the first message unit in the conversation message interface.
  • the target message unit that is, the first target message unit is "two".
  • the electronic device displays the withdrawal prompt information.
  • the withdrawal prompt information includes "Withdraw this content?” and two options of "OK" and "Cancel”.
  • the user can withdraw the first target message unit by clicking the "OK" option.
  • the first target message unit is withdrawn, that is, the first target message unit in the originally displayed target conversation message is deleted, and the remaining message content constitutes the updated conversation message 43 .
  • the conversation message interface includes a conversation message display area and a conversation message input area
  • the method also includes:
  • the message content of the first target message unit is displayed
  • the updated message content of the first target message unit is used to update the target conversation message displayed in the conversation message display area.
  • the conversation message display area is used to display the conversation messages that have been sent or received
  • the conversation message input area is used to edit the conversation messages.
  • the message content of the first target message unit can be displayed in the conversation message input area of the conversation message interface, that is, the first target message unit can be withdrawn and displayed in the conversation message input. , to achieve partial withdrawal effect.
  • the electronic device receives a fourth input from the first user to the message content of the first target message unit displayed in the conversation message input area, for example, the fourth input is to edit the first target message unit in the conversation message input area.
  • the electronic device will respond to the fourth input, update the message content of the first target message unit in the conversation message input area, and use the updated message content of the first target message unit to update the conversation.
  • the target conversation message displayed in the message display area for example, replaces the original first target message unit in the target conversation message displayed in the conversation message display area with the message content of the updated first target message unit, or displays the conversation message All target conversation messages displayed in the area are replaced with the updated message content of the first target message unit.
  • the updated message content of the first target message unit is used to update the conversation message display area. If the target conversation message is displayed, the updated message content of the first target message unit is displayed at the location of the target conversation message in the conversation message display area before withdrawal. For both the sender and the receiver, it is equivalent to placing the target conversation message. The conversation message is replaced with the updated message content of the first target message unit. Therefore, the display position of the message content of the updated first target message unit that is withdrawn and resent remains consistent before and after the withdrawal, so that the contextual messages in the conversation message interface are not confused, the logic is smooth, and it is convenient for users to read and understand.
  • the conversation message interface includes a conversation message display area and a conversation message input area; in response to the first user's first input of the target conversation message in the conversation message, according to the target Message recall mode updates the display of the target session messages to include:
  • the target message withdrawal mode is the second partial withdrawal mode
  • the target message withdrawal mode in response to the The first user makes a first input to the target conversation message displayed in the conversation message display area, and displays the message content of the target conversation message in the conversation message input area;
  • the target conversation message displayed in the conversation message display area is updated using the target message content.
  • the conversation message display area is used to display the conversation messages that have been sent or received, and the conversation message input area is used to edit the conversation messages.
  • the target message withdrawal mode selected by the first user is the second partial withdrawal mode
  • the electronic device will respond to the first input of the target conversation message displayed in the conversation message display area by the first user. Once input, the message content of the target conversation message is displayed in the conversation message input area, which is equivalent to withdrawing the entire target conversation message into the conversation message input area.
  • the electronic device receives a fifth input from the first user to the target message content among the message contents of the target conversation message displayed in the conversation message input area, for example, the fifth input is to select the target conversation in the conversation message input area.
  • the electronic device will respond to the fifth input and use the target message content to update the target session message displayed in the session message display area, for example, the target session message displayed in the session message display area.
  • the conversation message is replaced with the target message content, and the function of withdrawing the entire conversation message and then sending part of the withdrawn conversation message is realized.
  • the target message content is used to update the target conversation message displayed in the conversation message display area, then the target message content is displayed
  • the position of the target conversation message in the conversation message display area before withdrawal is equivalent to replacing the target conversation message with the target message content for both the sender and the receiver.
  • the display position of the resent target message content remains consistent before and after the withdrawal, so that the contextual messages in the conversation message interface are not confused, the logic is smooth, and it is convenient for users to read and understand.
  • the message content of the target conversation message displayed in the conversation message input area includes:
  • the target displayed in the conversation message display area is updated. Conversation messages.
  • the message content of the target conversation message can be updated and displayed as at least two second message units.
  • the second message units can be words, words , sentence, etc., such as a word, a word, several words, a punctuation mark, etc.
  • the electronic device can use grammatical analysis, semantic analysis and other means to parse the target conversation message, and can also split it according to punctuation marks to separate the conversation.
  • the target conversation message in the message input area is split into at least two second message units.
  • the electronic device receives a fifth input from the first user to the second target message unit among the at least two second message units, for example, the fifth input is to select the second target message unit in the conversation message input area. input, the electronic device will respond to the fifth input and use the second target message unit to update the target conversation message displayed in the conversation message display area, for example, replace the target conversation message displayed in the conversation message display area with the second
  • the target message unit implements the function of sending part of the withdrawn session message after withdrawing the entire session message, and the electronic device can automatically parse and split the target session message, eliminating the user's manual editing process and improving the efficiency of session communication. efficiency.
  • the target conversation message in the conversation message input area may be split into at least two second message units, due to limitations of syntax parsing, semantic parsing and other processing means, it may be split into If the at least two second message units are not the split results desired by the first user, the first user can re-split and select the at least two second message units by inputting the target conversation message.
  • the electronic device receives an input from the first user to the target conversation message, for example, the input is an input of long pressing a second message unit in the target conversation message and moving left or right
  • the electronic device will respond Based on the input, the original at least two second message units are updated and displayed as at least two third message units, wherein the third message unit and the second message unit are The message lengths of the units are different, that is, the message content is re-divided.
  • the first user can select any third message unit to update the target conversation message displayed in the conversation message display area.
  • Figure 7 is a schematic diagram of the first input provided by the embodiment of the present application.
  • Figure 8 is a schematic diagram of at least two second message units provided by the embodiment of the present application.
  • Figure 9 is a schematic diagram of the first input provided by the embodiment of the present application. Illustration of the content of the resent target message.
  • the conversation message interface includes a conversation message display area 71 and a conversation message input area 72.
  • the first input may include long pressing the target conversation message 41 in the conversation message interface and dragging it to the conversation message input area 72.
  • the target conversation message 41 will be withdrawn; in Figure 8, the withdrawn target conversation message 41 is displayed in the conversation message input area 72, and the update is displayed as a plurality of second message units; in Figure 9, the user can Click the Send button to send the second target message unit 74.
  • the resent second target message unit 74 is updated and displayed at the original display position of the corresponding target conversation message 41.
  • the second target message unit 74 is part of the withdrawn target conversation message 41. content.
  • the target conversation message after the target conversation message is updated and displayed as at least two first message units in response to the first user's first input of the target conversation message in the conversation message, also includes:
  • the message lengths of the third message unit and the first message unit are different.
  • the target conversation message is split into at least two first message units, due to the limitations of syntax parsing, semantic parsing and other processing means, it is possible that the at least two first messages obtained by splitting If the unit is not the split result that the first user wants, the first user can re-split and select the at least two first message units through the sixth input.
  • the electronic device receives the sixth input of the first user to the target conversation message, for example, the sixth input is an input of long pressing a first message unit in the target conversation message and moving left or right, then the electronic device In response to the sixth input, the device will update and display the original at least two first message units as at least two second message units.
  • the display of the third target message unit thereby realizes the withdrawal of part of the message content in the target conversation message, and this withdrawal method allows the electronic device to automatically split the target conversation message into at least two first message units.
  • the above further re-splits and combines at least two first message units, which not only simplifies the user's operations to a certain extent, but also allows the user to independently re-split and combine to obtain the message content the user wants to choose, ensuring a certain degree of flexibility. sex.
  • Figure 10 is a schematic diagram of the sixth input provided by the embodiment of the present application
  • Figure 11 is a schematic diagram of the third message unit provided by the embodiment of the present application.
  • the sixth input may be an input of sliding left/right after long pressing the first message unit 42 in the target conversation message in the conversation message interface, then the electronic device will respond to the sixth input , the at least two first message units 42 are updated and displayed as at least two third message units 112.
  • By setting such a selection input it is convenient for the user to select the third message unit 112 with any number of words.
  • the target message withdrawal mode includes a partial user withdrawal mode, and the partial user withdrawal mode includes a first partial user withdrawal mode;
  • the target session is a group session in an instant messaging application;
  • the method also includes:
  • the target message withdrawal mode is the first part user withdrawal mode
  • the session members in response to the first user's first input of the target session message in the session message, display the session members participating in the group session.
  • Session member ID In the case where the target message withdrawal mode is the first part user withdrawal mode, in response to the first user's first input of the target session message in the session message, display the session members participating in the group session. Session member ID;
  • the first withdrawal instruction information is used to instruct the electronic device running the target instant messaging application to cancel the display of the target conversation message.
  • the first user in the partial user withdrawal mode, can be withdrawn from some users.
  • the partial user withdrawal pattern includes a first partial user withdrawal pattern.
  • the target session is a group session in an instant messaging application, that is, a group session. If the target message withdrawal mode selected by the user is the first part of the user withdrawal mode, then when the electronic device receives the user's first input to the target conversation message in the conversation message, the electronic device will respond to the first input and display participation in the group.
  • the session member ID of the session member for example, the session member ID is the session member's username.
  • the electronic device if the electronic device receives an eighth input from the user to the target session member ID among the session member IDs, for example, the eighth input is an input of clicking the target session member ID, the electronic device will respond to the eighth input.
  • the target instant messaging application logged in with the target session member ID sends first withdrawal instruction information.
  • the first withdrawal instruction information is used to instruct the electronic device running the target instant messaging application to cancel the display of the target session message, that is, to run the target instant messaging
  • the electronic device of the application After receiving the first withdrawal instruction information, the electronic device of the application will cancel the display of the target conversation message, thereby realizing the withdrawal of the target conversation message on some users' electronic devices, that is, the electronic devices corresponding to the electronic devices running the target instant messaging application. The user will then be unable to view the target conversation messages.
  • the first user does not have to withdraw the target session information from all other users, but only By selecting the target session members, it is possible to authorize viewing of some session members and revoke the viewing permissions of some session members. Moreover, the session members whose viewing permissions have been revoked can be selected by the first user, which greatly facilitates the withdrawal processing process. Brings greater flexibility.
  • Figure 12 is a schematic diagram of session member identification provided by an embodiment of the present application
  • Figure 13 is a schematic diagram of the eighth input provided by an embodiment of the present application.
  • the first input may include the input of long pressing the target conversation message 41 in the conversation message interface
  • the electronic device will respond to the first input and display the conversation member identification 121 of the conversation member participating in the group conversation.
  • each session member identifier 121 can be displayed at intervals on the arc that pops up in the session message interface; in Figure 14, the user triggers the withdrawal of the session member by dragging the target session member identifier to the input of the target area. After withdrawing, The corresponding session members will not be able to view the target session message 41.
  • the target message withdrawal mode includes a partial user withdrawal mode, and the partial user withdrawal mode includes a second partial user withdrawal mode;
  • the target session is: Group conversations in real-time communication applications;
  • the method also includes:
  • the target conversation message in response to the first user's first input of the target conversation message in the conversation message, the target conversation message is updated and displayed as at least two fourth message units;
  • the tenth input is to send second withdrawal instruction information to the target instant messaging application logged in with the target session member ID.
  • the second withdrawal instruction information is used to instruct the electronic device running the target instant messaging application to cancel the first Display of the four-target message unit.
  • the partial user withdrawal mode part of the content in the target session message sent by the first user can be withdrawn from some users, and the partial user withdrawal mode includes the second partial user withdrawal mode.
  • the target session is a group session in an instant messaging application, that is, a group session. If the target message withdrawal mode selected by the user is the second part user withdrawal mode, then when the electronic device receives the user's first input to the target conversation message in the conversation message, the electronic device will respond to the first input and send the target conversation to the user.
  • the message update is displayed as at least two fourth message units.
  • the fourth message unit can be a word, a word, a sentence, etc., such as a word, a word, a few words, a punctuation mark, etc.
  • the electronic device can use syntax analysis, semantics, etc.
  • the target conversation message may be parsed by means such as analysis, or may be split according to punctuation marks to split the target conversation message into at least two fourth message units.
  • the electronic device also receives a ninth input from the first user to the fourth target message unit, for example, the ninth input is an input of clicking on the fourth target message unit, and the parameter is the target session among the session members of the group session.
  • the tenth input of the target session member ID corresponding to the member For example, the tenth input is the input of the target session member ID corresponding to the click target session member.
  • the session members participating in the group session all correspond to the session member ID.
  • the session member ID can be user name of the session member
  • the electronic device will respond to the ninth input and the tenth input and send second withdrawal instruction information to the target instant messaging application logged in with the target session member ID.
  • the second withdrawal instruction information is used to instruct running
  • the electronic device of the target instant messaging application cancels the display of the fourth target message unit, that is, After receiving the second withdrawal instruction information, the electronic device running the target instant messaging application will cancel the display of the fourth target message unit, thereby realizing the withdrawal of part of the message content in the target conversation message on some users' electronic devices, that is, The user corresponding to the electronic device running the target instant messaging application will not be able to view the withdrawn part of the message content in the target conversation message.
  • the first user does not have to completely withdraw the target session information, but only through Select the message content that needs to be withdrawn and the object that needs to be withdrawn (that is, the target session member), you can authorize some session members to view part of the message content, and revoke the permission of some session members to view another part of the message content, and the permission to view the part is revoked
  • the session members with the message content permissions can be independently selected by the first user, and part of the withdrawn content can also be independently selected by the first user, which greatly facilitates the withdrawal processing process and brings greater flexibility.
  • the target conversation message includes at least two conversation messages
  • updating the display of the target conversation message according to the target message withdrawal mode includes:
  • the message processing option is the batch withdrawal mode
  • canceling the at least two conversation messages in the conversation message interface show in response to the first user's first input of the at least two conversation messages.
  • the first user can batch withdraw multiple conversation messages at the same time, and the multiple conversation messages can be voice messages, picture messages, text messages, etc.
  • the electronic device receives a first input from the first user to at least two conversation messages (ie, target messages) in the conversation message, the electronic device will respond to the first input by canceling at least one of the conversation messages in the conversation message interface.
  • the display of two conversation messages realizes the simultaneous withdrawal of multiple conversation messages.
  • the first input may be the input of sliding a preset distance in the conversation message interface, or the input of the number of conversation messages that need to be withdrawn on the conversation message interface, or the input of the number of conversation messages that need to be withdrawn on the conversation message interface. If the time period corresponding to the session information is entered, the corresponding number or session information in the target time period will be selected. That is to say, the target number of session messages that need to be withdrawn or the session messages within a period of time that need to be withdrawn can be determined based on the first input.
  • the length of the sliding distance is positively related to the target number of conversation messages that need to be withdrawn, that is, the longer the length, the more the target number, the shorter the length, the smaller the target number, and the target
  • the number can be counted starting from the latest message sent being 1, or the length of the sliding distance is positively correlated with the length of the target time period corresponding to the session message that needs to be withdrawn, that is, the longer the length, the longer the target time period, and the longer the length. Short, the shorter the target time period, the starting time of the target time period can start from the time corresponding to the latest message sent.
  • the number entered is the number of conversation messages that need to be withdrawn. For example, if N is entered, N conversation messages are withdrawn.
  • the input time period is the target time period. For example, if 2 minutes are entered, the time corresponding to the withdrawal of the latest message sent will be calculated forward within 2 minutes. All conversation messages.
  • FIG. 14 is a schematic diagram of the target number and target time period provided by the embodiment of the present application.
  • FIG. 15 is a schematic diagram of the withdrawal of at least two conversation messages provided by the embodiment of the present application.
  • the first input may include an input sliding in the conversation message interface, and the electronic device will respond to the input by displaying the first withdrawal option 141 and the second withdrawal option 142.
  • the user can use the first withdrawal option 141 and the second withdrawal option 142.
  • Two withdrawal options 142 are used to choose to withdraw a target number of session messages or session messages within a target time period; in Figure 15, multiple session messages are withdrawn in batches at the same time.
  • the cumbersome operation of withdrawing messages one by one is avoided, which greatly improves the efficiency of withdrawing messages.
  • the number of withdrawals can be selected by the user, which greatly facilitates the withdrawal processing process and brings greater benefits. flexibility.
  • the conversation message interface includes a conversation message display area and a conversation message input area
  • the method also includes:
  • the updated message contents of the at least two target conversation messages are used to update the target conversation message displayed in the conversation message display area.
  • the conversation message display area is used to display the conversation messages that have been sent or received
  • the conversation message input area is used to edit the conversation messages.
  • the contents of the at least two withdrawn session messages can be displayed in the session message input area in accordance with the original display order of the withdrawn at least two session messages in the session message display area.
  • the eleventh input is an input for editing the message content, or adjusting the order of the at least two conversation messages.
  • Session messages implement the function of batch resending after batch withdrawal.
  • the user can directly edit the message content of the conversation message that needs to be re-edited and then sent in the conversation message input area, avoiding the situation where the user needs to copy the conversation message before withdrawing the conversation message (because it cannot be withdrawn after it is withdrawn) and then copying), and also avoids the situation in the related technology that each time a session message is withdrawn, the session message overwrites the original information in the session message input area, which improves the session message withdrawal efficiency and sending efficiency.
  • Figure 16 is a schematic diagram of displaying multiple withdrawn conversation messages in the conversation message input area provided by an embodiment of the present application.
  • Figure 17 is a schematic diagram of multiple conversation messages after adjusting the order.
  • Figure 18 is Diagram of resending multiple conversation messages.
  • the conversation message interface 210 includes a conversation message display area 71 and a conversation message input area 72. Multiple withdrawn conversation messages 161 are displayed in the conversation message input area 72. The user can update at least two of them through the eleventh input.
  • Conversation message 161 for example, the user can move the position of any conversation message 161 to adjust the order of multiple conversation messages 161; as shown in Figure 17, after the order of multiple conversation messages 161 is adjusted, sending can be triggered; As shown in Figure 18, multiple conversation messages 161 are sent in sequence according to the adjusted arrangement order.
  • the first input of the target conversation message in response to the first user's response to the conversation message
  • the first input of the target conversation message after updating the display of the target conversation message according to the target message withdrawal mode, also includes:
  • message update reminder information is displayed; the message update reminder information is used for the second user participating in the target session to initiate a target session message viewing request, and the target session message viewing request is used to request to view updates The previous target session message.
  • the message update reminder information can be displayed in the conversation message interface to remind other users to know which conversation messages have been updated.
  • the second user participating in the target session can initiate a target session message viewing request through the message update reminder information, and the target session message viewing request can be sent to the first user to request to view the target session message before the update, Therefore, if the second user is interested in the target conversation message before the update, the second user can apply for permission to view the target conversation message by sending a viewing request to the first user.
  • Figure 19 is one of the schematic diagrams of the message update reminder information provided by the embodiment of the present application
  • Figure 20 is a schematic diagram of the target session message before update provided by the embodiment of the present application.
  • the message update reminder information 191 can be displayed on the conversation message interface.
  • the message update reminder information 191 is specifically "the message has been withdrawn", or "the viewing permission has been revoked", Or "Sensitive information has been withdrawn.”
  • the second user can trigger the sending of the target conversation message viewing request by inputting the message update reminder information 191. If the sender of the target conversation message 41 agrees to the target conversation message viewing request, the second user can trigger the sending of the target conversation message viewing request in the conversation message interface.
  • the target conversation message 41 is displayed for viewing by the second user.
  • the method further includes:
  • a display position of the updated target conversation message in the conversation message interface is positioned.
  • the electronic device after the message update reminder information is displayed in the session message interface, if the electronic device receives the twelfth input of the message update reminder information from the first user, for example, the twelfth input is clicking on the message update reminder information. input, the electronic device will respond to the twelfth input and jump to the display position of the updated target conversation message in the conversation message interface. As a result, the first user You can quickly view updated target conversation messages with one click, which improves viewing efficiency and eliminates the tedious steps of browsing through numerous conversation messages.
  • Figure 21 is a second schematic diagram of message update reminder information provided by an embodiment of the present application.
  • the message update reminder information 191 can be displayed in the session message interface.
  • the message update reminder information 191 is specifically "The user has updated a message, click to view it immediately or scroll back to the previous message.” "Nearby” or "the user withdrew part of the message”, the user can make the electronic device quickly jump to the display position of the target conversation message through the twelfth input of the message update reminder information 191.
  • the display of the target conversation message after receiving the first input of the target conversation message from the first user, the display of the target conversation message will be updated according to the target message withdrawal mode, that is, the withdrawal and resending of the target conversation message will be realized.
  • the target message withdrawal mode includes batch withdrawal mode, partial withdrawal mode or partial user withdrawal mode, whereby users can choose different target message withdrawal modes according to personal needs to meet users' different withdrawal processing needs for target session messages, simplifying The withdrawal operation process improves the efficiency of conversational communication.
  • the execution subject may be a message processing device.
  • a message processing device executing a message processing method is used as an example to illustrate the message processing device provided by the embodiment of the present application.
  • FIG 22 is a schematic structural diagram of a message processing device provided by an embodiment of the present application. As shown in Figure 22, another embodiment of the present application also provides a message processing device, which is applied to the message sender.
  • the device 2200 includes:
  • the first display module 2201 is used to display the session message interface of the target session in which the first user participates; the session message interface includes the session message sent by the first user;
  • the second display module 2202 is configured to update the display of the target conversation message according to the target message withdrawal mode in response to the first user's first input of the target conversation message in the conversation message;
  • the target message withdrawal mode includes: batch withdrawal mode, partial withdrawal mode or partial user withdrawal mode.
  • the second display module includes:
  • a first display unit configured to display a message withdrawal mode option in response to the first user's first input of a target conversation message in the conversation message;
  • a second display unit configured to respond to the first user's second input of the target message withdrawal mode option among the message withdrawal mode options, and update the message withdrawal mode according to the target message withdrawal mode corresponding to the target message withdrawal mode option. Display of target session messages.
  • the first display unit includes:
  • a first display subunit configured to display a message withdrawal mode option that matches the message type of the target conversation message in response to the first user's first input of the target conversation message in the conversation message.
  • the target message withdrawal mode includes a partial withdrawal mode
  • the partial withdrawal mode includes a first partial withdrawal mode and a second partial withdrawal mode
  • the second display module includes:
  • a third display unit configured to display the target message in response to the first user's first input of the target conversation message in the conversation message when the target message withdrawal mode is the first partial withdrawal mode.
  • Session message updates are displayed as at least two first message units;
  • a fourth display unit configured to cancel the display of the first target message unit in the target conversation message in response to the first user's third input to the first target message unit in the at least two first message units. display.
  • the fourth display unit includes:
  • a second display subunit configured to update and display the first target message unit as the preset message content in response to the first user's third input to the first target message unit, or to cancel the first target message unit. Display a target message unit and update the display positions of remaining message units in the target conversation message.
  • the conversation message interface includes a conversation message display area and a conversation message input area;
  • the device also includes:
  • a third display module configured to display the message content of the first target message unit in the conversation message input area
  • a fourth display module configured to update the message content of the first target message unit in response to the first user's fourth input of the message content of the first target message unit displayed in the conversation message input area.
  • the fifth display module is configured to use the updated message content of the first target message unit to update the target conversation message displayed in the conversation message display area.
  • the conversation message interface includes a conversation message display area and a conversation message input area;
  • the second display module includes:
  • a fifth display unit configured to respond to the first user's response to the first user's response to the target conversation message displayed in the conversation message display area when the target message withdrawal mode is the second partial withdrawal mode.
  • An input display the message content of the target conversation message in the conversation message input area;
  • a sixth display unit configured to, in response to the first user's fifth input of the target message content in the target conversation message, use the target message content to update all the information displayed in the conversation message display area. Describe the target session message.
  • the fifth display unit includes:
  • a third display subunit configured to update and display the message content of the target conversation message displayed in the conversation message input area as at least two second message units;
  • the sixth display unit includes:
  • a fourth display subunit configured to respond to a fifth input by the first user to a second target message unit among the at least two second message units, using the second target message unit to update the conversation message
  • the target session message is displayed in the display area.
  • the second display module also includes:
  • a seventh display unit configured to update and display the at least two first message units into at least two third message units in response to the first user's sixth input of the target conversation message;
  • An eighth display unit configured to cancel the third target message unit in the target conversation message in response to the first user's seventh input to the third target message unit in the at least two third message units. show;
  • the message lengths of the third message unit and the first message unit are different.
  • the target message withdrawal mode includes a partial user withdrawal mode, and the partial user withdrawal mode includes a first partial user withdrawal mode;
  • the target session is a group session in an instant messaging application;
  • the device also includes:
  • a sixth display module configured to display, in response to the first user's first input of the target conversation message in the conversation message, the participating messages when the target message withdrawal mode is the first user withdrawal mode.
  • a first sending module configured to send the first withdrawal instruction information to the target IM logged in with the target session member ID in response to the first user's eighth input of the target session member ID.
  • the first withdrawal instruction information is used to instruct the electronic device running the target instant messaging application to cancel the display of the target conversation message.
  • the target message withdrawal mode includes a partial user withdrawal mode, and the partial user withdrawal mode includes a second partial user withdrawal mode;
  • the target session is a group session in an instant messaging application;
  • the device also includes:
  • a seventh display module configured to display the target conversation message in the conversation message in response to the first user's first input when the target message withdrawal mode is the second user withdrawal mode.
  • the target session message update is displayed as at least two fourth message units;
  • a second sending module configured to respond to the first user's ninth input to a fourth target message unit among the at least two fourth message units, and to a target session member among the session members participating in the group session.
  • the second withdrawal instruction information is sent to the target instant messaging application logged in with the target session member ID, and the second withdrawal instruction information is used to instruct running of the target instant messaging application.
  • the electronic device cancels the display of the fourth target message unit.
  • the target conversation message includes at least two conversation messages
  • the second display module includes:
  • a ninth display unit configured to cancel all the conversation messages in the conversation message interface in response to the first user's first input of the at least two conversation messages when the message processing option is a batch withdrawal mode. Display of at least two conversation messages.
  • the conversation message interface includes a conversation message display area and a conversation message input area;
  • the device also includes:
  • An eighth display module configured to display the message content of the at least two conversation messages in the conversation message input area according to the display order of the at least two conversation messages in the conversation message display area;
  • a ninth display module configured to update the at least two target conversation messages in response to the first user's eleventh input of the message content of the at least two conversation messages displayed in the conversation message input area.
  • the tenth display module is configured to use the updated message contents of the at least two target conversation messages to update the target conversation message displayed in the conversation message display area.
  • the device also includes:
  • An eleventh display module configured to display message update reminder information in the session message interface; the message update reminder information is used for a second user participating in the target session to initiate a target session message viewing request, and the target session The message viewing request is used to request viewing of the target session message before update.
  • the device also includes:
  • a twelfth display module configured to respond to the first user's twelfth input of the message update reminder information, and locate the updated display position of the target conversation message in the conversation message interface.
  • Target message withdrawal modes include batch withdrawal mode, partial withdrawal mode or partial user withdrawal mode, whereby users can choose different target message withdrawal modes according to personal needs to meet users' different withdrawal processing needs for target session messages and simplify withdrawal
  • the operation process improves the efficiency of conversational communication.
  • the message processing device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR).
  • ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDA), etc., and can also be personal computers (PC), TVs Television (TV), teller machine or self-service machine, etc. are not specifically limited in the embodiments of this application.
  • the message processing device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the message processing device provided by the embodiment of the present application can implement various processes implemented by the method embodiments of Figures 1 to 21. To avoid duplication, they will not be described again here.
  • this embodiment of the present application also provides an electronic device 2300, including a processor 2301 and a memory 2302.
  • the memory 2302 stores programs or instructions that can be run on the processor 2301.
  • the program or instruction is executed by the processor 2301, each step of the above message processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
  • Figure 24 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • the electronic device 2400 includes but is not limited to: radio frequency unit 2401, network module 2402, audio output unit 2403, input unit 2404, sensor 2405, display unit 2406, user input unit 2407, interface unit 2408, memory 2409, processor 2410, etc. part.
  • the electronic device 2400 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 2410 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. Shown in Figure 24
  • the structure of the electronic device shown does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or may combine certain components, or arrange different components, which will not be described again here.
  • the display unit 2406 is used to display the session message interface of the target session in which the first user participates, where the session message interface includes the session message sent by the first user;
  • Processor 2410 configured to update the display of the target conversation message according to the target message withdrawal mode in response to the first user's first input of the target conversation message in the conversation message;
  • the target message withdrawal mode includes: batch withdrawal mode, partial withdrawal mode or partial user withdrawal mode.
  • the display unit 2406 is further configured to display a message withdrawal mode option in response to the first user's first input of the target conversation message in the conversation message;
  • the processor 2410 is further configured to respond to the first user's second input of the target message withdrawal mode option among the message withdrawal mode options, and update the target message withdrawal mode according to the target message withdrawal mode corresponding to the target message withdrawal mode option. Display of target session messages.
  • the display unit 2406 is further configured to display a message withdrawal mode option that matches the message type of the target conversation message in response to the first user's first input of the target conversation message in the conversation message.
  • the target message withdrawal mode includes a partial withdrawal mode
  • the partial withdrawal mode includes a first partial withdrawal mode and a second partial withdrawal mode
  • the display unit 2406 is further configured to, when the target message withdrawal mode is the first partial withdrawal mode, in response to the first user's first input of the target conversation message in the conversation message, display the target message in the conversation message.
  • Session message updates are displayed as at least two first message units;
  • the user input unit 2407 is also configured to update and display the first target message unit as preset message content in response to the first user's third input to the first target message unit, or, Cancel the display of the first target message unit, and update the display positions of remaining message units in the target conversation message.
  • the conversation message interface includes a conversation message display area and a conversation message input area;
  • the user input unit 2407 is also used to display the message content of the first target message unit in the conversation message input area;
  • the processor 2410 is further configured to update the message content of the first target message unit in response to the first user's fourth input of the message content of the first target message unit displayed in the conversation message input area. ;
  • the processor 2410 is also configured to use the updated message content of the first target message unit to update the target conversation message displayed in the conversation message display area.
  • the conversation message interface includes a conversation message display area and a conversation message input area;
  • the display unit 2406 is further configured to respond to the first user's comment on the third target conversation message displayed in the conversation message display area when the target message withdrawal mode is the second partial withdrawal mode.
  • An input display the message content of the target conversation message in the conversation message input area;
  • the display unit 2406 is further configured to, in response to the first user's fifth input of the target message content in the target conversation message, use the target message content to update all the information displayed in the conversation message display area. Describe the target session message.
  • the display unit 2406 is also configured to update and display the message content of the target conversation message displayed in the conversation message input area as at least two second message units;
  • the display unit 2406 is further configured to respond to the first user's fifth input to a second target message unit among the at least two second message units, and update the conversation message display using the second target message unit.
  • the target session message is displayed in the area.
  • the display unit 2406 is further configured to update and display the at least two first message units into at least two third message units in response to the first user's sixth input of the target conversation message;
  • the display unit 2406 is further configured to cancel the third target message unit in the target conversation message in response to the seventh input of the first user to the third target message unit in the at least two third message units. show;
  • the message lengths of the third message unit and the first message unit are different.
  • the target message withdrawal mode includes a partial user withdrawal mode, and the partial user withdrawal mode includes a first partial user withdrawal mode;
  • the target session is a group session in an instant messaging application;
  • the display unit 2406 is further configured to display all participating messages in response to the first user's first input of the target conversation message in the conversation message when the target message withdrawal mode is the first user withdrawal mode.
  • Network module 2402 configured to respond to the first user's eighth input of the target session member ID in the session member ID, sending the first withdrawal instruction information to the target instant messaging application logged in with the target session member ID. , the first withdrawal instruction information is used to instruct the electronic device running the target instant messaging application to cancel the display of the target conversation message.
  • the target message withdrawal mode includes a partial user withdrawal mode, and the partial user withdrawal mode includes a second partial user withdrawal mode;
  • the target session is a group session in an instant messaging application;
  • the display unit 2406 is further configured to, when the target message withdrawal mode is the second partial user withdrawal mode, respond to the first user's first input of the target conversation message in the conversation message.
  • the target session message update is displayed as at least two fourth message units;
  • the network module 2402 is further configured to respond to the first user's ninth input to the fourth target message unit among the at least two fourth message units, and to the target session member among the session members participating in the group session.
  • the second withdrawal instruction information is sent to the target instant messaging application logged in with the target session member ID, and the second withdrawal instruction information is used to instruct running of the target instant messaging application.
  • the electronic device cancels the display of the fourth target message unit.
  • the target conversation message includes at least two conversation messages
  • the display unit 2406 is also configured to cancel all the conversation messages in the conversation message interface in response to the first user's first input of the at least two conversation messages when the message processing option is the batch withdrawal mode. Display of at least two conversation messages.
  • the conversation message interface includes a conversation message display area and a conversation message input area;
  • the display unit 2406 is further configured to display the message content of the at least two conversation messages in the conversation message input area according to the display order of the at least two conversation messages in the conversation message display area;
  • the processor 2410 is further configured to update the content of the at least two target conversation messages in response to the first user's eleventh input of the message content of the at least two conversation messages displayed in the conversation message input area.
  • Message content
  • the processor 2410 is also configured to use the updated message contents of the at least two target conversation messages to update the target conversation message displayed in the conversation message display area.
  • the display unit 2406 is also configured to display message update reminder information in the session message interface; the message update reminder information is used for the second user participating in the target session to initiate a target session message viewing request, so The target session message viewing request is used to request to view the target session message before update.
  • the display unit 2406 is further configured to, in response to the first user's twelfth input of the message update reminder information, locate the updated display position of the target conversation message in the conversation message interface. .
  • Target message withdrawal modes include batch withdrawal mode, partial withdrawal mode or partial user withdrawal mode, whereby users can choose different target message withdrawal modes according to personal needs to meet users' different withdrawal processing needs for target session messages and simplify the withdrawal operation process, improving the efficiency of conversational communication.
  • the input unit 2404 may include a graphics processor (Graphics Processing Unit, GPU) 24041 and a microphone 24042.
  • the graphics processor 24041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 2406 may include a display panel 24061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the input unit 2407 includes a touch panel 24071 and at least one of other input devices 24072. Touch panel 24071, also known as touch screen.
  • the touch panel 24071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 24072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the memory 2409 can be used to store software programs and various data.
  • the memory 2409 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data.
  • the first storage area can store an operating system and at least one function. Required applications or instructions (such as sound playback function, image playback function, etc.), etc.
  • memory 2409 may include volatile memory or nonvolatile memory, or memory 2409 may include both volatile and nonvolatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory Synchronous DRAM, SDRAM
  • Double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDRSDRAM
  • Enhanced SDRAM, ESDRAM synchronous link dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus random access memory
  • the processor 2410 may include one or more processing units; optionally, the processor 2410 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 2410.
  • An embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program A program or instruction, which when executed by a processor, implements each process of the above message processing method embodiment and can achieve the same technical effect. To avoid duplication, it will not be described again here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage media includes computer-readable storage media, such as computer read-only memory, random access memory, magnetic disks or optical disks.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above message processing method embodiment. Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • Embodiments of the present application provide a computer program/program product.
  • the program/program product is stored in a storage medium.
  • the program/program product is executed by at least one processor to implement each process of the above message processing method embodiment, and can achieve the same technical effect, so to avoid repetition, we will not repeat them here.
  • the embodiment method can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to related technologies.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种消息处理方法及装置、电子设备和可读存储介质,属于通信技术领域。所述消息处理方法应用于消息发送方,所述方法包括:显示第一用户参与的目标会话的会话消息界面,所述会话消息界面中包括所述第一用户发送的会话消息;响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示;其中,所述目标消息撤回模式包括:批量撤回模式、部分撤回模式或者部分用户撤回模式。

Description

一种消息处理方法及装置、电子设备和可读存储介质
相关申请的交叉引用
本申请主张在2022年04月11日在中国提交的中国专利申请No.202210375326.7的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种消息处理方法及装置、电子设备和可读存储介质。
背景技术
随着通信技术和互联网技术的发展,出现了即时通讯应用。通过即时通讯应用,可实现两个用户之间的会话交互,或者多个用户之间的会话交互。
目前,用户在使用即时通讯应用进行通讯时,可能会出现错发消息的场景,用户可使用相关技术中的消息撤回功能撤回消息。但是,相关技术中的消息撤回功能单一,在错发多条消息的情况下,需要逐一撤回,再逐一编辑后发送,操作繁琐,撤回编辑效率低,导致会话沟通效率低。
发明内容
本申请实施例的目的是提供一种消息处理方法及装置、电子设备和可读存储介质,能够解决相关的消息撤回功能导致会话沟通效率低的问题。
第一方面,本申请实施例提供了一种消息处理方法,应用于消息发送方,该方法包括:
显示第一用户参与的目标会话的会话消息界面,所述会话消息界面中包括所述第一用户发送的会话消息;
响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示;
其中,所述目标消息撤回模式包括:批量撤回模式、部分撤回模式或者 部分用户撤回模式。
第二方面,本申请实施例提供了一种消息处理装置,应用于消息发送方,该装置包括:
第一显示模块,用于显示第一用户参与的目标会话的会话消息界面;所述会话消息界面中包括所述第一用户发送的会话消息;
第二显示模块,用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示;
其中,所述目标消息撤回模式包括:批量撤回模式、部分撤回模式或者部分用户撤回模式。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供一种计算机程序/程序产品,该程序/程序产品被存储在存储介质中,该程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法。
在本申请实施例中,在接收到第一用户对目标会话消息的第一输入后,将按照目标消息撤回模式更新目标会话消息的显示,即实现对目标会话消息的撤回、重新发送等功能;目标消息撤回模式包括批量撤回模式、部分撤回模式或者部分用户撤回模式,由此用户可以根据个人需求选择不同的目标消息撤回模式,以满足用户对目标会话消息的不同撤回处理需求,简化了撤回操作过程,提高了会话沟通效率。
附图说明
图1为本申请实施例提供的一种消息处理方法的流程示意图;
图2为本申请实施例提供的消息撤回模式选项的示意图之一;
图3为本申请实施例提供的消息撤回模式选项的示意图之二;
图4为本申请实施例提供的至少两个第一消息单元的示意图;
图5为本申请实施例提供的撤回提示的显示示意图;
图6为本申请实施例提供的撤回第一目标消息单元后的示意图;
图7为本申请实施例提供的第一输入的示意图;
图8为本申请实施例提供的至少两个第二消息单元的示意图;
图9为本申请实施例提供的重新发送的目标消息内容的示意图;
图10为本申请实施例提供的第六输入的示意图;
图11为本申请实施例提供的第三消息单元的示意图;
图12为本申请实施例提供的会话成员标识的示意图;
图13为本申请实施例提供的第八输入的示意图;
图14为本申请实施例提供的目标数量和目标时间段的示意图;
图15为本申请实施例提供的撤回至少两条会话消息后的示意图;
图16为本申请实施例提供的在会话消息输入区域显示撤回的多条会话消息的示意图;
图17为调整顺序后的多条会话消息的示意图;
图18为重新发送多条会话消息的示意图;
图19为本申请实施例提供的消息更新提醒信息的示意图之一;
图20为本申请实施例提供的更新前的目标会话消息的示意图;
图21为本申请实施例提供的消息更新提醒信息的示意图之二;
图22为本申请实施例提供的一种消息处理装置的结构示意图;
图23为本申请实施例提供的一种电子设备的结构示意图;
图24为实现本申请实施例的一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息处理方法及装置、电子设备和可读存储介质进行详细地说明。
请参考图1,图1为本申请实施例提供的一种消息处理方法的流程示意图。如图1所示,本申请一方面实施例提供了一种消息处理方法,应用于消息发送方,本实施例以该方法应用于电子设备进行举例说明,该消息处理方法包括以下步骤:
步骤101:显示第一用户参与的目标会话的会话消息界面,所述会话消息界面中包括所述第一用户发送的会话消息;
本实施例中,可选地,电子设备上运行即时通讯应用,第一用户以第一账号登录即时通讯应用,电子设备显示第一用户参与的目标会话的会话消息界面,所述会话消息界面中包括所述第一用户发送的会话消息。
本实施例中,可选地,第一用户即属于消息发送方,或者说第一用户所操作的电子设备即属于消息发送方。目标会话是电子设备上运行的即时通讯应用中的会话,会话消息界面是目标会话的会话消息界面,在该会话消息界面中,包括了第一用户发送的会话消息,即第一用户可以在该会话消息界面 查看第一用户发送的会话消息,当然,也可以在该会话消息界面中查看其它会话中的会话成员向第一用户发送的会话消息,或者目标会话中的会话成员发送的会话消息。
步骤102:响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示;
本实施例中,电子设备在接收到第一用户对会话消息中的目标会话消息的第一输入的情况下,将响应于该第一输入,按照目标消息撤回模式来更新目标会话消息的显示,在按照目标消息撤回模式更新目标会话消息的显示时,即对目标会话消息进行了处理。其中,目标消息撤回模式包括批量撤回模式、部分撤回模式或者部分用户撤回模式,即目标消息撤回模式可以为批量撤回模式、部分撤回模式、部分用户撤回模式中的任意一者,不同目标消息撤回模式下,对目标会话消息的撤回处理方式不同,例如,批量撤回模式可以同时撤回至少一个目标会话消息,而部分撤回模式则可以撤回单个目标会话消息中的部分内容,部分用户撤回模式则可以将目标会话消息从部分用户处撤回,由此,丰富了会话消息的撤回方式,使得用户在不同场景下具有更多的选择,提高了会话沟通效率。
本实施例中,可选地,目标消息撤回模式可以由第一用户的第一输入来确定,也可以保持与第一用户上一次在会话消息界面进行撤回时采用的消息撤回模式相同。
其中,目标会话消息可以是一条,也可以是多条,目标会话消息的数量可以根据第一输入来确定。
由此,相较于相关技术中的消息撤回方式为只能整条信息撤回,并且一次只能撤回一条而言,在本申请实施例中,在接收到第一用户对目标会话消息的第一输入后,将按照目标消息撤回模式更新目标会话消息的显示,即实现对目标会话消息的撤回、重新发送等功能;目标消息撤回模式包括批量撤回模式、部分撤回模式或者部分用户撤回模式,由此用户可以根据个人需求选择不同的目标消息撤回模式,以满足用户对目标会话消息的不同撤回处理 需求,简化了撤回操作过程,提高了会话沟通效率。
下面结合具体实施例进行介绍。
本申请的一些实施例中,所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示,包括:
响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示消息撤回模式选项;
响应于所述第一用户对所述消息撤回模式选项中目标消息撤回模式选项的第二输入,按照所述目标消息撤回模式选项对应的目标消息撤回模式,更新所述目标会话消息的显示。
本实施例中,电子设备在接收到第一用户对会话消息中目标会话消息的第一输入的情况下,例如该第一输入可以为在会话消息界面中对目标会话消息的预设触控输入,例如点击输入、长按输入、滑动输入等,则电子设备将响应于该第一输入,显示消息撤回模式选项,其中,每一个消息撤回模式选项对应一种消息撤回模式。若接收到用户对消息撤回模式选项中的目标消息撤回模式选项的第二输入,例如该第二输入可以为对目标消息撤回模式选项的点击输入、长按输入、拖拽输入等,则电子设备将响应于该第二输入,将该目标消息撤回模式选项对应的消息撤回模式确定为目标消息撤回模式,并按照该目标消息撤回模式更新目标会话消息的显示。由此,在进行会话消息撤回前,用户可以自主选择所需要的目标消息撤回模式,从而满足用户在不同场景下对会话消息撤回方式的个性化需求,提高了会话沟通效率。
在本申请的一些实施例中,所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示消息撤回模式选项,包括:
响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示与所述目标会话消息的消息类型相匹配的消息撤回模式选项。
也就是说,电子设备在响应于第一用户对会话消息中的目标会话消息的第一输入时,将根据目标会话消息的消息类型来显示相应的消息撤回模式选 项。可选地,目标会话消息的消息类型可以为图片消息类型、文字消息类型等。示例性地,在目标会话消息为图片消息类型时,则在显示消息撤回模式选项时,由于图片作为一个整体,无法撤回部分内容,因此与之对应的消息撤回模式选项有批量撤回模式选项,部分用户撤回模式选项;而在目标会话消息为文字消息类型时,则在显示消息撤回模式选项时,与之对应的消息撤回模式选项有批量撤回模式选项,部分撤回模式、部分用户撤回模式选项等等,由此可以满足用户对不同消息类型选择不同消息撤回模式的需求。
可以理解的是,上述消息撤回模式选项的显示名称可以根据对应消息撤回模式的功能或具体执行方式来进行命名,实际应用中不局限为上述名称。
请参考图2,图2为本申请实施例提供的消息撤回模式选项的示意图之一。如图2所示,在接收到用户在会话消息界面201的第一输入后,将在会话消息界面201中显示弧形曲线,并在弧形曲线上排列显示目标会话消息支持的消息撤回模式选项。例如,目标会话消息为图片消息类型时,显示的处理模式选项有第一选项202和第二选项203,第一选项202即对应“批量撤回模式”,第二选项203即对应“部分用户撤回模式”,用户可以选择任意一个选项。
请参考图3,图3为本申请实施例提供的消息撤回模式选项的示意图之二。如图3所示,在接收到用户在会话消息界面的第一输入后,将在会话消息界面中显示弧形曲线,并在弧形曲线上排列显示目标会话消息支持的消息撤回模式选项。例如,目标会话消息为文字消息类型时,显示的处理模式选项有第一选项202、第二选项203和第三选项204,第一选项202即对应“批量撤回模式”,第二选项203即对应“部分用户撤回模式”,第三选项204即对应“部分撤回模式”,用户可以选择任意一个选项。
本申请的一些实施例中,所述目标消息撤回模式包括部分撤回模式,所述部分撤回模式包括第一部分撤回模式和第二部分撤回模式;
所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示,包括:
在所述目标消息撤回模式为所述第一部分撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第一消息单元;
响应于所述第一用户对所述至少两个第一消息单元中第一目标消息单元的第三输入,取消对所述目标会话消息中所述第一目标消息单元的显示。
本实施例中,目标消息撤回模式包括部分撤回模式,例如,部分撤回模式下可以撤回目标会话消息中的部分内容,可选地,部分撤回模式包括第一部分撤回模式和第二部分撤回模式。
其中,若第一用户选择的目标消息撤回模式为第一部分撤回模式,则电子设备将响应于第一用户的第一输入,将目标会话消息更新显示为至少两个第一消息单元;该第一消息单元可以是字、词、句等,例如一个字、一个词语、几个字、一个标点符号等,电子设备可以采用语法分析、语义分析等手段对目标会话消息进行解析,也可以根据标点符号进行拆分,以将目标会话消息拆分为至少两个第一消息单元。之后,若电子设备接收到第一用户对该至少两个第一消息单元中的第一目标消息单元的第三输入,则电子设备将响应于该第三输入,取消对目标会话消息中的第一目标消息单元的显示,也就是说,目标会话消息中的第一目标消息单元被撤回。由此,省去了将目标会话消息先撤回、再在编辑框里重新编辑、编辑完成后再重新发送的繁琐过程,简化了撤回操作,提高了会话沟通效率,并且撤回的第一目标消息单元可以由用户自主选择,为撤回处理带来了更高的灵活性。
可选地,解析得到的至少两个第一消息单元可以间隔设置,例如相邻第一消息单元之间采用空格间隔开,也可以采用竖线等标识符进行分隔。
其中,被选中的第一目标消息单元可以采用加粗、加下划线、改变字体颜色等方式进行标识,以方便用户区分查看。
本申请的另一些实施例中,所述响应于所述第一用户对所述至少两个第一消息单元中第一目标消息单元的第三输入,取消对所述目标会话消息中所述第一目标消息单元的显示,包括:
响应于所述第一用户对所述第一目标消息单元的第三输入,将所述第一目标消息单元更新显示为预设消息内容,或者,取消所述第一目标消息单元的显示,并更新所述目标会话消息中剩余的消息单元的显示位置。
在一些实施例中,在取消对目标会话消息中的第一目标消息单元的显示时,可以将第一目标消息单元更新显示为预设消息内容,例如,预设消息内容覆盖显示在第一目标消息单元原来的显示位置,预设消息内容可以是“消息内容已删除”、“消息内容重新编辑中”等标识,也可以为空白格等。在另一些实施例中,在取消对目标会话消息中的第一目标消息单元的显示时,更新目标会话消息中剩余的消息单元的显示位置,例如,可以从目标会话消息中删除第一目标消息单元,再对剩余的消息单元进行重新排序成为一个新的会话消息,之后再显示该新的会话消息。
请参考图4,图4为本申请实施例提供的至少两个第一消息单元的示意图,图5为本申请实施例提供的撤回提示的显示示意图,图6为本申请实施例提供的撤回第一目标消息单元后的示意图。图4中,会话消息界面中的目标会话消息41被拆分为多个第一消息单元42,多个第一消息单元42之间采用竖线分割开,用户选取了会话消息界面中的第一目标消息单元,即第一目标消息单元为“两”。图5中,电子设备显示撤回提示信息,撤回提示信息包括“撤回该内容?”以及“确定”、“取消”两个选项,用户通过点击“确定”选项,即可撤回第一目标消息单元。图6中,第一目标消息单元被撤回,即原本显示的目标会话消息中的第一目标消息单元被删除,剩下的消息内容构成了更新后的会话消息43。
本申请的一些实施例中,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
所述方法还包括:
在所述会话消息输入区域中,显示所述第一目标消息单元的消息内容;
响应于所述第一用户对所述会话消息输入区域中显示的所述第一目标消息单元的消息内容的第四输入,更新所述第一目标消息单元的消息内容;
采用更新后的所述第一目标消息单元的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
其中,会话消息显示区域用于显示已发送或已接收到的会话消息,会话消息输入区域用于编辑会话消息。在撤回目标会话消息中的第一目标消息单元时,可以在会话消息界面的会话消息输入区域中显示该第一目标消息单元的消息内容,也即将第一目标消息单元撤回显示在会话消息输入中,实现部分撤回效果。之后,若电子设备接收到第一用户对会话消息输入区域中显示的第一目标消息单元的消息内容的第四输入,例如,该第四输入为编辑会话消息输入区域中的第一目标消息单元的消息内容的输入,则电子设备将响应于该第四输入,更新会话消息输入区域中的第一目标消息单元的消息内容,并且,采用更新后的第一目标消息单元的消息内容来更新会话消息显示区域中显示的目标会话消息,例如将会话消息显示区域中显示的目标会话消息中的原来的第一目标消息单元更换为更新后的第一目标消息单元的消息内容,或者将会话消息显示区域中显示的目标会话消息全部更换为更新后的第一目标消息单元的消息内容。
相较于相关技术中将撤回后重新编辑并发送的消息作为新的消息发送,本申请实施例中,采用更新后的所述第一目标消息单元的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息,则更新后的所述第一目标消息单元的消息内容是显示在撤回前的会话消息显示区域中目标会话消息所在的位置,对于收发双方而言,相当于将目标会话消息替换为更新后的所述第一目标消息单元的消息内容。由此,撤回并重新发送的更新后的所述第一目标消息单元的消息内容的显示位置在撤回前后保持一致,使得会话消息界面中上下文消息不发生错乱,逻辑通顺,方便用户阅读理解。
本申请的另一些实施例中,所述会话消息界面包括会话消息显示区域和会话消息输入区域;所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示,包括:
在所述目标消息撤回模式为所述第二部分撤回模式的情况下,响应于所 述第一用户对所述会话消息显示区域中显示的所述目标会话消息的第一输入,在所述会话消息输入区域中,显示所述目标会话消息的消息内容;
响应于所述第一用户对所述目标会话消息的消息内容中目标消息内容的第五输入,采用所述目标消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
其中,会话消息显示区域用于显示已发送或已接收到的会话消息,会话消息输入区域用于编辑会话消息。若第一用户选择的目标消息撤回模式为第二部分撤回模式,则电子设备在接收到第一用户对会话消息显示区域中显示的目标会话消息的第一输入的情况下,将响应于该第一输入,在会话消息输入区域中显示目标会话消息的消息内容,此时相当于将目标会话消息整条撤回到会话消息输入区域中。之后,若电子设备接收到第一用户对会话消息输入区域中显示的目标会话消息的消息内容中的目标消息内容的第五输入,例如,该第五输入为选取会话消息输入区域中的目标会话消息的消息内容中的目标消息内容的输入,则电子设备将响应于该第五输入,采用目标消息内容来更新会话消息显示区域中显示的目标会话消息,例如将会话消息显示区域中显示的目标会话消息更换为目标消息内容,实现撤回整条会话消息后发送撤回的会话消息的部分内容的功能。
相较于相关技术中将撤回后重新编辑并发送的消息作为新的消息发送,本申请实施例中,采用目标消息内容来更新会话消息显示区域中显示的目标会话消息,则目标消息内容是显示在撤回前的会话消息显示区域中目标会话消息所在的位置,对于收发双方而言,相当于将目标会话消息替换为目标消息内容。由此,重新发送的目标消息内容的显示位置在撤回前后保持一致,使得会话消息界面中上下文消息不发生错乱,逻辑通顺,方便用户阅读理解。
本申请的一些实施例中,所述在所述会话消息输入区域中,显示所述目标会话消息的消息内容,包括:
将所述会话消息输入区域中显示的所述目标会话消息的消息内容更新显示为至少两个第二消息单元;
所述响应于所述第一用户对所述目标会话消息的消息内容中目标消息内容的第五输入,采用所述目标消息内容,更新所述会话消息显示区域中显示的所述目标会话消息,包括:
响应于所述第一用户对所述至少两个第二消息单元中第二目标消息单元的第五输入,采用所述第二目标消息单元,更新所述会话消息显示区域中显示的所述目标会话消息。
本实施例中,在将目标会话消息整条撤回显示在会话消息输入区域时,可以将目标会话消息的消息内容更新显示为至少两个第二消息单元,该第二消息单元可以是字、词、句等,例如一个字、一个词语、几个字、一个标点符号等,电子设备可以采用语法分析、语义分析等手段对目标会话消息进行解析,也可以根据标点符号进行拆分,以将会话消息输入区域中的目标会话消息拆分为至少两个第二消息单元。之后,若电子设备接收到第一用户对该至少两个第二消息单元中的第二目标消息单元的第五输入,例如,该第五输入为选取会话消息输入区域中的第二目标消息单元的输入,则电子设备将响应于该第五输入,采用该第二目标消息单元来更新会话消息显示区域中显示的目标会话消息,例如将会话消息显示区域中显示的目标会话消息更换为第二目标消息单元,实现撤回整条会话消息后发送撤回的会话消息的部分内容的功能,并且电子设备可以自动将目标会话消息进行解析拆分,省去了用户手动编辑的过程,提高了会话沟通的效率。
在一些实施例中,可选地,在将会话消息输入区域中的目标会话消息拆分为至少两个第二消息单元之后,由于语法解析、语义解析等处理手段的局限性,可能拆分得到的至少两个第二消息单元并非是第一用户所想要拆分结果,则第一用户可以通过对目标会话消息进行输入来对至少两个第二消息单元进行重新拆分、选取。示例性地,若电子设备接收到第一用户对目标会话消息的输入,例如该输入为长按目标会话消息中的一个第二消息单元并向左或向右移动的输入,则电子设备将响应于该输入,将原来的至少两个第二消息单元更新显示为至少两个第三消息单元,其中,第三消息单元与第二消息 单元的消息长度不同,即实现了消息内容的重新划分。之后,第一用户可以选择任意一个第三消息单元来更新会话消息显示区域中显示的目标会话消息。
请参考图7至图9,图7为本申请实施例提供的第一输入的示意图,图8为本申请实施例提供的至少两个第二消息单元的示意图,图9为本申请实施例提供的重新发送的目标消息内容的示意图。图7中,会话消息界面包括会话消息显示区域71和会话消息输入区域72,第一输入可以包括长按会话消息界面中的目标会话消息41并拖拽至会话消息输入区域72的输入,电子设备将响应于该输入,撤回该目标会话消息41;图8中,撤回的目标会话消息41显示在会话消息输入区域72中,并且更新显示为多个第二消息单元;图9中,用户可以通过点击发送按钮发送第二目标消息单元74,重新发送的第二目标消息单元74更新显示在对应的目标会话消息41的原来显示位置,该第二目标消息单元74为撤回的目标会话消息41的部分内容。
本申请的另一些实施例中,所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第一消息单元之后,还包括:
响应于所述第一用户对所述目标会话消息的第六输入,将所述至少两个第一消息单元更新显示为至少两个第三消息单元;
响应于所述第一用户对所述至少两个第三消息单元中第三目标消息单元的第七输入,取消所述目标会话消息中所述第三目标消息单元的显示;
其中,所述第三消息单元与所述第一消息单元的消息长度不同。
也就是说,本实施例中,在将目标会话消息拆分为至少两个第一消息单元之后,由于语法解析、语义解析等处理手段的局限性,可能拆分得到的至少两个第一消息单元并非是第一用户所想要拆分结果,则第一用户可以通过第六输入来对至少两个第一消息单元进行重新拆分、选取。示例性地,若电子设备接收到第一用户对目标会话消息的第六输入,例如第六输入为长按目标会话消息中的一个第一消息单元并向左或向右移动的输入,则电子设备将响应于该第六输入,将原来的至少两个第一消息单元更新显示为至少两个第 三消息单元,其中,第三消息单元与第一消息单元的消息长度不同,即实现了消息内容的重新划分。之后,若电子设备接收到第一用户对重新划分的至少两个第三消息单元中的第三目标消息单元的第七输入,则电子设备将响应于该第七输入,取消目标会话消息中的第三目标消息单元的显示,由此实现了目标会话消息中的部分消息内容的撤回,并且,这种撤回方式允许在电子设备自动将目标会话消息拆分为至少两个第一消息单元的基础上进一步对至少两个第一消息单元进行重新拆分、组合,既在一定程度上简化了用户的操作,又允许用户可以自主重新拆分组合得到用户想选择的消息内容,保证了一定的灵活性。
请参考图10和图11,图10为本申请实施例提供的第六输入的示意图,图11为本申请实施例提供的第三消息单元的示意图。如图10和图11所示,第六输入可以是在会话消息界面中长按目标会话消息中的第一消息单元42之后向左/右滑动的输入,则电子设备将响应于该第六输入,将至少两个第一消息单元42更新显示为至少两个第三消息单元112,通过设定这样的选取输入,可以方便用户选取任意字数的第三消息单元112。
本申请的一些实施例中,所述目标消息撤回模式包括部分用户撤回模式,所述部分用户撤回模式包括第一部分用户撤回模式;所述目标会话为即时通信应用中的群会话;
所述方法还包括:
在所述目标消息撤回模式为所述第一部分用户撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示参与所述群会话的会话成员的会话成员标识;
响应于所述第一用户对所述会话成员标识中目标会话成员标识的第八输入,将第一撤回指示信息发送至以所述目标会话成员标识登录的目标即时通信应用,所述第一撤回指示信息用于指示运行所述目标即时通信应用的电子设备取消所述目标会话消息的显示。
本实施例中,部分用户撤回模式下,可以从部分用户中撤回第一用户已 经发送的目标会话消息,部分用户撤回模式包括第一部分用户撤回模式。其中,目标会话为即时通信应用中的群会话,也即群组会话。若用户选择的目标消息撤回模式为第一部分用户撤回模式,则电子设备在接收到用户对会话消息中的目标会话消息的第一输入的情况下,将响应于该第一输入,显示参与该群会话的会话成员的会话成员标识,例如,该会话成员标识为会话成员的用户名。之后,若电子设备接收到用户对会话成员标识中的目标会话成员标识的第八输入,例如,该第八输入为点击目标会话成员标识的输入,则电子设备将响应于该第八输入,向以目标会话成员标识登录的目标即时通信应用发送第一撤回指示信息,该第一撤回指示信息用于指示运行目标即时通信应用的电子设备取消目标会话消息的显示,也就是说,运行目标即时通信应用的电子设备在接收到该第一撤回指示信息之后,将取消显示目标会话消息,由此实现目标会话消息在部分用户的电子设备上的撤回,即运行目标即时通信应用的电子设备所对应的用户便无法查看目标会话消息。
由此,在一些撤回场景下,例如针对可能涉密的敏感信息,并非所有用户都有阅读/查看权限,此时,第一用户不必将目标会话信息从所有其他用户处都撤回,而仅仅是通过选取目标会话成员,即可实现对部分会话成员授权查看,而撤回部分会话成员的查看权限,并且,被撤回查看权限的会话成员可以由第一用户自主选择,极大方便了撤回处理过程,带来了更大的灵活性。
请参考图12和图13,图12为本申请实施例提供的会话成员标识的示意图,图13为本申请实施例提供的第八输入的示意图。图12中,第一输入可以包括长按会话消息界面中的目标会话消息41的输入,则电子设备将响应于该第一输入,显示参与该群会话的会话成员的会话成员标识121,可选地,各个会话成员标识121可以间隔显示在会话消息界面中弹出的弧线上;图14中,用户通过拖拽目标会话成员标识至目标区域的输入来触发对该会话成员的撤回,撤回后,相应会话成员将无法查看该目标会话消息41。
本申请的另一些实施例中,所述目标消息撤回模式包括部分用户撤回模式,所述部分用户撤回模式包括第二部分用户撤回模式;所述目标会话为即 时通信应用中的群会话;
所述方法还包括:
在所述目标消息撤回模式为所述第二部分用户撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第四消息单元;
响应于所述第一用户对所述至少两个第四消息单元中第四目标消息单元的第九输入,以及对参与所述群会话的会话成员中的目标会话成员对应的目标会话成员标识的第十输入,将第二撤回指示信息发送至以所述目标会话成员标识登录的目标即时通信应用,所述第二撤回指示信息用于指示运行所述目标即时通信应用的电子设备取消所述第四目标消息单元的显示。
本实施例中,部分用户撤回模式下,可以从部分用户中撤回第一用户已经发送的目标会话消息中的部分内容,部分用户撤回模式包括第二部分用户撤回模式。其中,目标会话为即时通信应用中的群会话,也即群组会话。若用户选择的目标消息撤回模式为第二部分用户撤回模式,则电子设备在接收到用户对会话消息中的目标会话消息的第一输入的情况下,将响应于该第一输入,将目标会话消息更新显示为至少两个第四消息单元,该第四消息单元可以是字、词、句等,例如一个字、一个词语、几个字、一个标点符号等,电子设备可以采用语法分析、语义分析等手段对目标会话消息进行解析,也可以根据标点符号进行拆分,以将目标会话消息拆分为至少两个第四消息单元。之后,若电子设备还接收到第一用户对第四目标消息单元的第九输入,例如该第九输入为点击第四目标消息单元的输入,以及对参数该群会话的会话成员中的目标会话成员对应的目标会话成员标识的第十输入,例如该第十输入为点击目标会话成员对应的目标会话成员标识的输入,参与该群会话的会话成员均对应有会话成员标识,会话成员标识可以为会话成员的用户名,则电子设备将响应于该第九输入以及第十输入,向以目标会话成员标识登录的目标即时通信应用发送第二撤回指示信息,该第二撤回指示信息用于指示运行目标即时通信应用的电子设备取消第四目标消息单元的显示,也就是说, 运行目标即时通信应用的电子设备在接收到该第二撤回指示信息之后,将取消显示第四目标消息单元,由此实现目标会话消息中的部分消息内容在部分用户的电子设备上的撤回,即运行目标即时通信应用的电子设备所对应的用户便无法查看目标会话消息中被撤回的部分消息内容。
由此,在一些撤回场景下,例如针对可能涉密的敏感信息,并非所有用户都有阅读/查看全部消息内容的权限,此时,第一用户不必将目标会话信息完全撤回,而仅仅是通过选取需要撤回的消息内容以及需要撤回的对象(即目标会话成员),即可实现对部分会话成员授权查看部分消息内容,而撤回部分会话成员查看另一部分消息内容的权限,并且,被撤回查看部分消息内容权限的会话成员可以由第一用户自主选择,撤回的部分内容也可以由第一用户自主选择,极大方便了撤回处理过程,带来了更大的灵活性。
本申请的一些实施例中,所述目标会话消息包括至少两条会话消息;
所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示,包括:
在所述消息处理选项为批量撤回模式的情况下,响应于所述第一用户对所述至少两条会话消息的第一输入,在所述会话消息界面中取消所述至少两条会话消息的显示。
也就是说,在批量撤回模式下,第一用户可以同时批量撤回多条会话消息,多条会话消息可以为语音消息、图片消息、文字消息等。具体来说,若电子设备接收到第一用户对会话消息中的至少两条会话消息(即目标消息)的第一输入,则电子设备将响应于该第一输入,在会话消息界面中取消至少两条会话消息的显示,即实现了同时撤回多条会话消息。
在一些实施例中,第一输入可以为会话消息界面中滑动预设距离的输入、或者是在会话消息界面输入需要撤回的会话消息的数量的输入,还可以是在会话消息界面输入需要撤回的会话信息所对应的时间段的输入,则相应数量或者目标时间段的会话信息将被选中。也就是说,可以根据第一输入确定需要撤回的会话消息的目标数量或者撤回哪一时间段内的会话消息。例如,第 一输入为在会话消息界面中滑动的输入时,滑动的距离的长度与需要撤回的会话消息的目标数量正相关,即长度越长,目标数量越多,长度越短,目标数量越少,目标数量可以从最迟发送的信息为1开始计数,或者,滑动的距离的长度与需要撤回的会话消息所对应的目标时间段的长短正相关,即长度越长,目标时间段越长,长度越短,目标时间段越短,目标时间段的起始时间可以从最迟发送的信息对应的时刻开始计时。又如,第一输入为在会话消息界面中输入数字的输入时,输入的数字即为需要撤回的会话消息的数量,例如输入N,即撤回N条会话消息。再如,第一输入为在会话消息界面中输入时间段的输入时,输入的时间段即为目标时间段,例如输入2分钟,则撤回最迟发送的信息对应的时刻往前推算2分钟内的所有会话消息。
请参考图14和图15,图14为本申请实施例提供的目标数量和目标时间段的示意图,图15为本申请实施例提供的撤回至少两条会话消息后的示意图。图14中,第一输入可以包括在会话消息界面中滑动的输入,则电子设备将响应于该输入,显示第一撤回选项141和第二撤回选项142,用户可以通过第一撤回选项141和第二撤回选项142来选择撤回目标数量的会话消息或者目标时间段内的会话消息;图15中,多条会话消息被同时批量撤回。
由此,本申请实施例中,避免了逐一撤回消息的繁琐操作,大大提升了撤回消息的效率,并且,撤回的数量可以由用户自主选择,极大方便了撤回处理过程,带来了更大的灵活性。
本申请的另一些实施例中,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
所述方法还包括:
按照所述至少两条会话消息在所述会话消息显示区域中的显示顺序,在所述会话消息输入区域中显示所述至少两条会话消息的消息内容;
响应于所述第一用户对所述会话消息输入区域中显示的所述至少两条会话消息的消息内容的第十一输入,更新所述至少两条目标会话消息的消息内容;
采用更新后的所述至少两条目标会话消息的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
其中,会话消息显示区域用于显示已发送或已接收到的会话消息,会话消息输入区域用于编辑会话消息。在批量撤回至少两条会话消息之后,可以按照撤回的至少两条会话消息在会话消息显示区域中的原有显示顺序,在会话消息输入区域中显示撤回的至少两条会话消息的内容。之后,若接收到用户对会话消息输入区域中的至少两条会话消息的消息内容的第十一输入,例如该第十一输入为编辑消息内容的输入,或者调整至少两条会话消息的排列顺序的输入,则电子设备将响应于该第十一输入,更新会话消息输入区域中的消息内容;然后,采用更新后的至少两条目标会话消息的消息内容来更新会话消息显示区域中显示的目标会话消息,即实现了批量撤回后批量重新发送的功能。
由此,用户可以直接在会话消息输入区域中对需要重新编辑后再发送的会话消息的消息内容进行编辑,避免了用户需要复制会话消息之后才能撤回会话消息的情况的发生(因为撤回后便不可再复制),同时也避免了相关技术中每次撤回一条会话消息时,该条会话消息即覆盖会话消息输入区域中原有的信息的情况的发生,提高了会话消息撤回效率和发送效率。
请参考图16至图18.,图16为本申请实施例提供的在会话消息输入区域显示撤回的多条会话消息的示意图,图17为调整顺序后的多条会话消息的示意图,图18为重新发送多条会话消息的示意图。如图16所示,会话消息界面210包括会话消息显示区域71和会话消息输入区域72,撤回的多条会话消息161显示在会话消息输入区域72中,用户可以通过第十一输入更新至少两条会话消息161,例如用户可以移动任意会话消息161的位置,以调整多条会话消息161的排列顺序;如图17所示,多条会话消息161的排列顺序调整完成,之后,即可触发发送;如图18所示,多条会话消息161按照调整后的排列顺序依次发送。
本申请的另一些实施例中,所述响应于所述第一用户对所述会话消息中 目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示之后,还包括:
在所述会话消息界面中,显示消息更新提醒信息;所述消息更新提醒信息用于参与所述目标会话的第二用户发起目标会话消息查看请求,所述目标会话消息查看请求用于请求查看更新前的所述目标会话消息。
也就是说,在按照目标消息撤回模式更新了目标会话消息的显示之后,可以在会话消息界面中显示消息更新提醒信息,以提醒其他用户获知哪些会话消息被更新。并且,参与该目标会话的第二用户可以通过该消息更新提醒信息来发起目标会话消息查看请求,该目标会话消息查看请求可以发送给第一用户,以用于请求查看更新前的目标会话消息,从而在第二用户对更新前的目标会话消息感兴趣的情况下,可以通过向第一用户发送查看请求来申请查看目标会话消息的权限。
请参考图19和图20,图19为本申请实施例提供的消息更新提醒信息的示意图之一,图20为本申请实施例提供的更新前的目标会话消息的示意图。如图19所示,目标会话消息被撤回查看权限之后,可以在会话消息界面显示消息更新提醒信息191,例如消息更新提醒信息191具体为“消息已撤回”、或者“查看权限已被撤销”、又或者“敏感消息已撤回”。如图20所示,第二用户可以通过对消息更新提醒信息191的输入来触发发送目标会话消息查看请求,目标会话消息41的发送方同意了目标会话消息查看请求,则可以在会话消息界面中显示目标会话消息41供第二用户查看。
本申请的另一些实施例中,所述方法还包括:
响应于所述第一用户对所述消息更新提醒信息的第十二输入,定位至所述会话消息界面中更新后的所述目标会话消息的显示位置。
本实施例中,在会话消息界面中显示了消息更新提醒信息之后,若电子设备接收到第一用户对消息更新提醒信息的第十二输入,例如该第十二输入为点击消息更新提醒信息的输入,则电子设备将响应于该第十二输入,跳转定位至会话消息界面中更新后的目标会话消息的显示位置,由此,第一用户 可以一键快速查看更新后的目标会话消息,提高了查看效率,省去了从众多会话消息中翻看的繁琐步骤。
请参考图21,图21为本申请实施例提供的消息更新提醒信息的示意图之二。如图21所示,更新显示目标会话消息之后,可以在会话消息界面中显示消息更新提醒信息191,例如消息更新提醒信息191具体为“用户更新了一条消息,点击立即查看或者滚动回之前的消息附近”又或者“用户撤回了消息的部分内容”,用户可以通过对该消息更新提醒信息191的第十二输入,使电子设备快速跳转至目标会话消息的显示位置。
总之,在本申请实施例中,在接收到第一用户对目标会话消息的第一输入后,将按照目标消息撤回模式更新目标会话消息的显示,即实现对目标会话消息的撤回、重新发送等功能;目标消息撤回模式包括批量撤回模式、部分撤回模式或者部分用户撤回模式,由此用户可以根据个人需求选择不同的目标消息撤回模式,以满足用户对目标会话消息的不同撤回处理需求,简化了撤回操作过程,提高了会话沟通效率。
本申请实施例提供的消息处理方法,执行主体可以为消息处理装置。本申请实施例中以消息处理装置执行消息处理方法为例,说明本申请实施例提供的消息处理装置。
请参考图22,图22为本申请实施例提供的一种消息处理装置的结构示意图。如图22所示,本申请另一方面实施例还提供了一种消息处理装置,应用于消息发送方,该装置2200包括:
第一显示模块2201,用于显示第一用户参与的目标会话的会话消息界面;所述会话消息界面中包括所述第一用户发送的会话消息;
第二显示模块2202,用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示;
其中,所述目标消息撤回模式包括:批量撤回模式、部分撤回模式或者部分用户撤回模式。
可选地,所述第二显示模块包括:
第一显示单元,用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示消息撤回模式选项;
第二显示单元,用于响应于所述第一用户对所述消息撤回模式选项中目标消息撤回模式选项的第二输入,按照所述目标消息撤回模式选项对应的目标消息撤回模式,更新所述目标会话消息的显示。
可选地,所述第一显示单元包括:
第一显示子单元,用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示与所述目标会话消息的消息类型相匹配的消息撤回模式选项。
可选地,所述目标消息撤回模式包括部分撤回模式,所述部分撤回模式包括第一部分撤回模式和第二部分撤回模式;
所述第二显示模块包括:
第三显示单元,用于在所述目标消息撤回模式为所述第一部分撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第一消息单元;
第四显示单元,用于响应于所述第一用户对所述至少两个第一消息单元中第一目标消息单元的第三输入,取消对所述目标会话消息中所述第一目标消息单元的显示。
可选地,所述第四显示单元包括:
第二显示子单元,用于响应于所述第一用户对所述第一目标消息单元的第三输入,将所述第一目标消息单元更新显示为预设消息内容,或者,取消所述第一目标消息单元的显示,并更新所述目标会话消息中剩余的消息单元的显示位置。
可选地,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
所述装置还包括:
第三显示模块,用于在所述会话消息输入区域中,显示所述第一目标消息单元的消息内容;
第四显示模块,用于响应于所述第一用户对所述会话消息输入区域中显示的所述第一目标消息单元的消息内容的第四输入,更新所述第一目标消息单元的消息内容;
第五显示模块,用于采用更新后的所述第一目标消息单元的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
可选地,所述会话消息界面包括会话消息显示区域和会话消息输入区域;所述第二显示模块包括:
第五显示单元,用于在所述目标消息撤回模式为所述第二部分撤回模式的情况下,响应于所述第一用户对所述会话消息显示区域中显示的所述目标会话消息的第一输入,在所述会话消息输入区域中,显示所述目标会话消息的消息内容;
第六显示单元,用于响应于所述第一用户对所述目标会话消息的消息内容中目标消息内容的第五输入,采用所述目标消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
可选地,所述第五显示单元包括:
第三显示子单元,用于将所述会话消息输入区域中显示的所述目标会话消息的消息内容更新显示为至少两个第二消息单元;
所述第六显示单元包括:
第四显示子单元,用于响应于所述第一用户对所述至少两个第二消息单元中第二目标消息单元的第五输入,采用所述第二目标消息单元,更新所述会话消息显示区域中显示的所述目标会话消息。
可选地,所述第二显示模块还包括:
第七显示单元,用于响应于所述第一用户对所述目标会话消息的第六输入,将所述至少两个第一消息单元更新显示为至少两个第三消息单元;
第八显示单元,用于响应于所述第一用户对所述至少两个第三消息单元中第三目标消息单元的第七输入,取消所述目标会话消息中所述第三目标消息单元的显示;
其中,所述第三消息单元与所述第一消息单元的消息长度不同。
可选地,所述目标消息撤回模式包括部分用户撤回模式,所述部分用户撤回模式包括第一部分用户撤回模式;所述目标会话为即时通信应用中的群会话;
所述装置还包括:
第六显示模块,用于在所述目标消息撤回模式为所述第一部分用户撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示参与所述群会话的会话成员的会话成员标识;
第一发送模块,用于响应于所述第一用户对所述会话成员标识中目标会话成员标识的第八输入,将第一撤回指示信息发送至以所述目标会话成员标识登录的目标即时通信应用,所述第一撤回指示信息用于指示运行所述目标即时通信应用的电子设备取消所述目标会话消息的显示。
可选地,所述目标消息撤回模式包括部分用户撤回模式,所述部分用户撤回模式包括第二部分用户撤回模式;所述目标会话为即时通信应用中的群会话;
所述装置还包括:
第七显示模块,用于在所述目标消息撤回模式为所述第二部分用户撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第四消息单元;
第二发送模块,用于响应于所述第一用户对所述至少两个第四消息单元中第四目标消息单元的第九输入,以及对参与所述群会话的会话成员中的目标会话成员对应的目标会话成员标识的第十输入,将第二撤回指示信息发送至以所述目标会话成员标识登录的目标即时通信应用,所述第二撤回指示信息用于指示运行所述目标即时通信应用的电子设备取消所述第四目标消息单元的显示。
可选地,所述目标会话消息包括至少两条会话消息;
所述第二显示模块包括:
第九显示单元,用于在所述消息处理选项为批量撤回模式的情况下,响应于所述第一用户对所述至少两条会话消息的第一输入,在所述会话消息界面中取消所述至少两条会话消息的显示。
可选地,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
所述装置还包括:
第八显示模块,用于按照所述至少两条会话消息在所述会话消息显示区域中的显示顺序,在所述会话消息输入区域中显示所述至少两条会话消息的消息内容;
第九显示模块,用于响应于所述第一用户对所述会话消息输入区域中显示的所述至少两条会话消息的消息内容的第十一输入,更新所述至少两条目标会话消息的消息内容;
第十显示模块,用于采用更新后的所述至少两条目标会话消息的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
可选地,所述装置还包括:
第十一显示模块,用于在所述会话消息界面中,显示消息更新提醒信息;所述消息更新提醒信息用于参与所述目标会话的第二用户发起目标会话消息查看请求,所述目标会话消息查看请求用于请求查看更新前的所述目标会话消息。
可选地,所述装置还包括:
第十二显示模块,用于响应于所述第一用户对所述消息更新提醒信息的第十二输入,定位至所述会话消息界面中更新后的所述目标会话消息的显示位置。
在本申请实施例中,在接收到第一用户对目标会话消息的第一输入后,将按照目标消息撤回模式更新目标会话消息的显示,即实现对目标会话消息的撤回、重新发送等功能;目标消息撤回模式包括批量撤回模式、部分撤回模式或者部分用户撤回模式,由此用户可以根据个人需求选择不同的目标消息撤回模式,以满足用户对目标会话消息的不同撤回处理需求,简化了撤回 操作过程,提高了会话沟通效率。
本申请实施例中的消息处理装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的消息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的消息处理装置能够实现图1至图21的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图23所示,本申请实施例还提供一种电子设备2300,包括处理器2301和存储器2302,存储器2302上存储有可在所述处理器2301上运行的程序或指令,该程序或指令被处理器2301执行时实现上述消息处理方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
图24为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备2400包括但不限于:射频单元2401、网络模块2402、音频输出单元2403、输入单元2404、传感器2405、显示单元2406、用户输入单元2407、接口单元2408、存储器2409、以及处理器2410等部件。
本领域技术人员可以理解,电子设备2400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器2410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图24中示 出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,显示单元2406,用于显示第一用户参与的目标会话的会话消息界面,所述会话消息界面中包括所述第一用户发送的会话消息;
处理器2410,用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示;
其中,所述目标消息撤回模式包括:批量撤回模式、部分撤回模式或者部分用户撤回模式。
可选地,显示单元2406,还用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示消息撤回模式选项;
处理器2410,还用于响应于所述第一用户对所述消息撤回模式选项中目标消息撤回模式选项的第二输入,按照所述目标消息撤回模式选项对应的目标消息撤回模式,更新所述目标会话消息的显示。
可选地,显示单元2406,还用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示与所述目标会话消息的消息类型相匹配的消息撤回模式选项。
可选地,所述目标消息撤回模式包括部分撤回模式,所述部分撤回模式包括第一部分撤回模式和第二部分撤回模式;
显示单元2406,还用于在所述目标消息撤回模式为所述第一部分撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第一消息单元;
响应于所述第一用户对所述至少两个第一消息单元中第一目标消息单元的第三输入,取消对所述目标会话消息中所述第一目标消息单元的显示。
可选地,用户输入单元2407,还用于响应于所述第一用户对所述第一目标消息单元的第三输入,将所述第一目标消息单元更新显示为预设消息内容,或者,取消所述第一目标消息单元的显示,并更新所述目标会话消息中剩余的消息单元的显示位置。
可选地,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
用户输入单元2407,还用于在所述会话消息输入区域中,显示所述第一目标消息单元的消息内容;
处理器2410,还用于响应于所述第一用户对所述会话消息输入区域中显示的所述第一目标消息单元的消息内容的第四输入,更新所述第一目标消息单元的消息内容;
处理器2410,还用于采用更新后的所述第一目标消息单元的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
可选地,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
显示单元2406,还用于在所述目标消息撤回模式为所述第二部分撤回模式的情况下,响应于所述第一用户对所述会话消息显示区域中显示的所述目标会话消息的第一输入,在所述会话消息输入区域中,显示所述目标会话消息的消息内容;
显示单元2406,还用于响应于所述第一用户对所述目标会话消息的消息内容中目标消息内容的第五输入,采用所述目标消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
可选地,显示单元2406,还用于将所述会话消息输入区域中显示的所述目标会话消息的消息内容更新显示为至少两个第二消息单元;
显示单元2406,还用于响应于所述第一用户对所述至少两个第二消息单元中第二目标消息单元的第五输入,采用所述第二目标消息单元,更新所述会话消息显示区域中显示的所述目标会话消息。
可选地,显示单元2406,还用于响应于所述第一用户对所述目标会话消息的第六输入,将所述至少两个第一消息单元更新显示为至少两个第三消息单元;
显示单元2406,还用于响应于所述第一用户对所述至少两个第三消息单元中第三目标消息单元的第七输入,取消所述目标会话消息中所述第三目标消息单元的显示;
其中,所述第三消息单元与所述第一消息单元的消息长度不同。
可选地,所述目标消息撤回模式包括部分用户撤回模式,所述部分用户撤回模式包括第一部分用户撤回模式;所述目标会话为即时通信应用中的群会话;
显示单元2406,还用于在所述目标消息撤回模式为所述第一部分用户撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示参与所述群会话的会话成员的会话成员标识;
网络模块2402,用于响应于所述第一用户对所述会话成员标识中目标会话成员标识的第八输入,将第一撤回指示信息发送至以所述目标会话成员标识登录的目标即时通信应用,所述第一撤回指示信息用于指示运行所述目标即时通信应用的电子设备取消所述目标会话消息的显示。
可选地,所述目标消息撤回模式包括部分用户撤回模式,所述部分用户撤回模式包括第二部分用户撤回模式;所述目标会话为即时通信应用中的群会话;
显示单元2406,还用于在所述目标消息撤回模式为所述第二部分用户撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第四消息单元;
网络模块2402,还用于响应于所述第一用户对所述至少两个第四消息单元中第四目标消息单元的第九输入,以及对参与所述群会话的会话成员中的目标会话成员对应的目标会话成员标识的第十输入,将第二撤回指示信息发送至以所述目标会话成员标识登录的目标即时通信应用,所述第二撤回指示信息用于指示运行所述目标即时通信应用的电子设备取消所述第四目标消息单元的显示。
可选地,所述目标会话消息包括至少两条会话消息;
显示单元2406,还用于在所述消息处理选项为批量撤回模式的情况下,响应于所述第一用户对所述至少两条会话消息的第一输入,在所述会话消息界面中取消所述至少两条会话消息的显示。
可选地,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
显示单元2406,还用于按照所述至少两条会话消息在所述会话消息显示区域中的显示顺序,在所述会话消息输入区域中显示所述至少两条会话消息的消息内容;
处理器2410,还用于响应于所述第一用户对所述会话消息输入区域中显示的所述至少两条会话消息的消息内容的第十一输入,更新所述至少两条目标会话消息的消息内容;
处理器2410,还用于采用更新后的所述至少两条目标会话消息的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
可选地,显示单元2406,还用于在所述会话消息界面中,显示消息更新提醒信息;所述消息更新提醒信息用于参与所述目标会话的第二用户发起目标会话消息查看请求,所述目标会话消息查看请求用于请求查看更新前的所述目标会话消息。
可选地,显示单元2406,还用于响应于所述第一用户对所述消息更新提醒信息的第十二输入,定位至所述会话消息界面中更新后的所述目标会话消息的显示位置。
在本申请实施例中,在接收到第一用户对目标会话消息的第一输入后,将按照目标消息撤回模式更新目标会话消息的显示,即实现对目标会话消息的撤回、重新发送等功能;目标消息撤回模式包括批量撤回模式、部分撤回模式或者部分用户撤回模式,由此用户可以根据个人需求选择不同的目标消息撤回模式,以满足用户对目标会话消息的不同撤回处理需求,简化了撤回操作过程,提高了会话沟通效率。
应理解的是,本申请实施例中,输入单元2404可以包括图形处理器(Graphics Processing Unit,GPU)24041和麦克风24042,图形处理器24041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元2406可包括显示面板24061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板24061。用户 输入单元2407包括触控面板24071以及其他输入设备24072中的至少一种。触控面板24071,也称为触摸屏。触控面板24071可包括触摸检测装置和触摸控制器两个部分。其他输入设备24072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器2409可用于存储软件程序以及各种数据,存储器2409可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器2409可以包括易失性存储器或非易失性存储器,或者,存储器2409可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器2409包括但不限于这些和任意其它适合类型的存储器。
处理器2410可包括一个或多个处理单元;可选的,处理器2410集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器2410中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程 序或指令,该程序或指令被处理器执行时实现上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器、随机存取存储器、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序/程序产品,该程序/程序产品被存储在存储介质中,该程序/程序产品被至少一个处理器执行以实现如上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述 实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (20)

  1. 一种消息处理方法,应用于消息发送方,所述方法包括:
    显示第一用户参与的目标会话的会话消息界面,所述会话消息界面中包括所述第一用户发送的会话消息;
    响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示;
    其中,所述目标消息撤回模式包括:批量撤回模式、部分撤回模式或者部分用户撤回模式。
  2. 根据权利要求1所述的方法,其中,所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示,包括:
    响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示消息撤回模式选项;
    响应于所述第一用户对所述消息撤回模式选项中目标消息撤回模式选项的第二输入,按照所述目标消息撤回模式选项对应的目标消息撤回模式,更新所述目标会话消息的显示。
  3. 根据权利要求2所述的方法,其中,所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示消息撤回模式选项,包括:
    响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示与所述目标会话消息的消息类型相匹配的消息撤回模式选项。
  4. 根据权利要求1所述的方法,其中,所述目标消息撤回模式包括部分撤回模式,所述部分撤回模式包括第一部分撤回模式和第二部分撤回模式;
    所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示,包括:
    在所述目标消息撤回模式为所述第一部分撤回模式的情况下,响应于所 述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第一消息单元;
    响应于所述第一用户对所述至少两个第一消息单元中第一目标消息单元的第三输入,取消对所述目标会话消息中所述第一目标消息单元的显示。
  5. 根据权利要求4所述的方法,其中,所述响应于所述第一用户对所述至少两个第一消息单元中第一目标消息单元的第三输入,取消对所述目标会话消息中所述第一目标消息单元的显示,包括:
    响应于所述第一用户对所述第一目标消息单元的第三输入,将所述第一目标消息单元更新显示为预设消息内容,或者,取消所述第一目标消息单元的显示,并更新所述目标会话消息中剩余的消息单元的显示位置。
  6. 根据权利要求4所述的方法,其中,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
    所述方法还包括:
    在所述会话消息输入区域中,显示所述第一目标消息单元的消息内容;
    响应于所述第一用户对所述会话消息输入区域中显示的所述第一目标消息单元的消息内容的第四输入,更新所述第一目标消息单元的消息内容;
    采用更新后的所述第一目标消息单元的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
  7. 根据权利要求4所述的方法,其中,所述会话消息界面包括会话消息显示区域和会话消息输入区域;所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示,包括:
    在所述目标消息撤回模式为所述第二部分撤回模式的情况下,响应于所述第一用户对所述会话消息显示区域中显示的所述目标会话消息的第一输入,在所述会话消息输入区域中,显示所述目标会话消息的消息内容;
    响应于所述第一用户对所述目标会话消息的消息内容中目标消息内容的第五输入,采用所述目标消息内容,更新所述会话消息显示区域中显示的所 述目标会话消息。
  8. 根据权利要求7所述的方法,其中,所述在所述会话消息输入区域中,显示所述目标会话消息的消息内容,包括:
    将所述会话消息输入区域中显示的所述目标会话消息的消息内容更新显示为至少两个第二消息单元;
    所述响应于所述第一用户对所述目标会话消息的消息内容中目标消息内容的第五输入,采用所述目标消息内容,更新所述会话消息显示区域中显示的所述目标会话消息,包括:
    响应于所述第一用户对所述至少两个第二消息单元中第二目标消息单元的第五输入,采用所述第二目标消息单元,更新所述会话消息显示区域中显示的所述目标会话消息。
  9. 根据权利要求4所述的方法,其中,所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第一消息单元之后,还包括:
    响应于所述第一用户对所述目标会话消息的第六输入,将所述至少两个第一消息单元更新显示为至少两个第三消息单元;
    响应于所述第一用户对所述至少两个第三消息单元中第三目标消息单元的第七输入,取消所述目标会话消息中所述第三目标消息单元的显示;
    其中,所述第三消息单元与所述第一消息单元的消息长度不同。
  10. 根据权利要求1所述的方法,其中,所述目标消息撤回模式包括部分用户撤回模式,所述部分用户撤回模式包括第一部分用户撤回模式;所述目标会话为即时通信应用中的群会话;
    所述方法还包括:
    在所述目标消息撤回模式为所述第一部分用户撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示参与所述群会话的会话成员的会话成员标识;
    响应于所述第一用户对所述会话成员标识中目标会话成员标识的第八输 入,将第一撤回指示信息发送至以所述目标会话成员标识登录的目标即时通信应用,所述第一撤回指示信息用于指示运行所述目标即时通信应用的电子设备取消所述目标会话消息的显示。
  11. 根据权利要求1所述的方法,其中,所述目标消息撤回模式包括部分用户撤回模式,所述部分用户撤回模式包括第二部分用户撤回模式;所述目标会话为即时通信应用中的群会话;
    所述方法还包括:
    在所述目标消息撤回模式为所述第二部分用户撤回模式的情况下,响应于所述第一用户对所述会话消息中目标会话消息的第一输入,将所述目标会话消息更新显示为至少两个第四消息单元;
    响应于所述第一用户对所述至少两个第四消息单元中第四目标消息单元的第九输入,以及对参与所述群会话的会话成员中的目标会话成员对应的目标会话成员标识的第十输入,将第二撤回指示信息发送至以所述目标会话成员标识登录的目标即时通信应用,所述第二撤回指示信息用于指示运行所述目标即时通信应用的电子设备取消所述第四目标消息单元的显示。
  12. 根据权利要求1所述的方法,其中,所述目标会话消息包括至少两条会话消息;
    所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示,包括:
    在所述消息处理选项为批量撤回模式的情况下,响应于所述第一用户对所述至少两条会话消息的第一输入,在所述会话消息界面中取消所述至少两条会话消息的显示。
  13. 根据权利要求12所述的方法,其中,所述会话消息界面包括会话消息显示区域和会话消息输入区域;
    所述方法还包括:
    按照所述至少两条会话消息在所述会话消息显示区域中的显示顺序,在所述会话消息输入区域中显示所述至少两条会话消息的消息内容;
    响应于所述第一用户对所述会话消息输入区域中显示的所述至少两条会话消息的消息内容的第十一输入,更新所述至少两条目标会话消息的消息内容;
    采用更新后的所述至少两条目标会话消息的消息内容,更新所述会话消息显示区域中显示的所述目标会话消息。
  14. 根据权利要求1所述的方法,其中,所述响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示之后,还包括:
    在所述会话消息界面中,显示消息更新提醒信息;所述消息更新提醒信息用于参与所述目标会话的第二用户发起目标会话消息查看请求,所述目标会话消息查看请求用于请求查看更新前的所述目标会话消息。
  15. 根据权利要求14所述的方法,其中,所述方法还包括:
    响应于所述第一用户对所述消息更新提醒信息的第十二输入,定位至所述会话消息界面中更新后的所述目标会话消息的显示位置。
  16. 一种消息处理装置,应用于消息发送方,所述装置包括:
    第一显示模块,用于显示第一用户参与的目标会话的会话消息界面;所述会话消息界面中包括所述第一用户发送的会话消息;
    第二显示模块,用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,按照目标消息撤回模式更新所述目标会话消息的显示;
    其中,所述目标消息撤回模式包括:批量撤回模式、部分撤回模式或者部分用户撤回模式。
  17. 根据权利要求16所述的装置,其中,所述第二显示模块包括:
    第一显示单元,用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示消息撤回模式选项;
    第二显示单元,用于响应于所述第一用户对所述消息撤回模式选项中目标消息撤回模式选项的第二输入,按照所述目标消息撤回模式选项对应的目标消息撤回模式,更新所述目标会话消息的显示。
  18. 根据权利要求17所述的装置,其中,所述第一显示单元包括:
    第一显示子单元,用于响应于所述第一用户对所述会话消息中目标会话消息的第一输入,显示与所述目标会话消息的消息类型相匹配的消息撤回模式选项。
  19. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-15中任一项所述的消息处理方法的步骤。
  20. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-15中任一项所述的消息处理方法的步骤。
PCT/CN2023/087017 2022-04-11 2023-04-07 一种消息处理方法及装置、电子设备和可读存储介质 WO2023197960A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210375326.7 2022-04-11
CN202210375326.7A CN114745346A (zh) 2022-04-11 2022-04-11 一种消息处理方法及装置、电子设备和可读存储介质

Publications (1)

Publication Number Publication Date
WO2023197960A1 true WO2023197960A1 (zh) 2023-10-19

Family

ID=82282667

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/087017 WO2023197960A1 (zh) 2022-04-11 2023-04-07 一种消息处理方法及装置、电子设备和可读存储介质

Country Status (2)

Country Link
CN (1) CN114745346A (zh)
WO (1) WO2023197960A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745346A (zh) * 2022-04-11 2022-07-12 维沃移动通信有限公司 一种消息处理方法及装置、电子设备和可读存储介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050267942A1 (en) * 2004-06-01 2005-12-01 Quinn Michael W Method of retracting an instant message
CN103516576A (zh) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 一种用于处理即时消息的方法和装置
US20160182434A1 (en) * 2014-12-19 2016-06-23 Facebook, Inc. Withdrawal of a message sent in a social networking system
CN106341304A (zh) * 2015-07-09 2017-01-18 广州市动景计算机科技有限公司 信息的纠正方法、系统及装置
CN109309614A (zh) * 2018-11-30 2019-02-05 努比亚技术有限公司 一种消息修改方法、移动终端、服务器及存储介质
CN110545236A (zh) * 2019-09-04 2019-12-06 网易(杭州)网络有限公司 即时通讯消息修改方法及装置、存储介质、电子设备
CN112565063A (zh) * 2020-12-11 2021-03-26 维沃移动通信有限公司 消息处理方法、装置和电子设备
CN113179204A (zh) * 2021-03-31 2021-07-27 维沃移动通信有限公司 撤回消息的方法、装置及电子设备
CN114745346A (zh) * 2022-04-11 2022-07-12 维沃移动通信有限公司 一种消息处理方法及装置、电子设备和可读存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9232016B2 (en) * 2013-03-26 2016-01-05 International Business Machines Corporation Undoing sent communications
CN106209581A (zh) * 2016-06-29 2016-12-07 北京奇虎科技有限公司 消息信息处理方法、装置、服务器及终端设备
CN110719220B (zh) * 2018-07-11 2022-08-26 钉钉控股(开曼)有限公司 消息撤回方法及装置
CN109558054A (zh) * 2018-11-30 2019-04-02 努比亚技术有限公司 一种移动终端的消息处理方法、移动终端及存储介质
CN109951379B (zh) * 2019-03-26 2021-08-31 北京小米移动软件有限公司 消息处理方法及装置
US11516165B2 (en) * 2019-04-10 2022-11-29 Microsoft Technology Licensing, Llc Revoking messages within a message chain
CN110321053A (zh) * 2019-04-24 2019-10-11 上海掌门科技有限公司 撤回聊天内容的方法及设备
CN110691028B (zh) * 2019-09-16 2022-07-08 腾讯科技(深圳)有限公司 一种消息处理方法、装置、终端和存储介质
CN111913625A (zh) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 消息处理方法、装置和电子设备
CN112035206B (zh) * 2020-09-01 2021-08-24 腾讯科技(深圳)有限公司 一种消息处理方法及设备
CN113518026B (zh) * 2021-03-25 2023-06-06 维沃移动通信有限公司 消息处理方法、装置和电子设备

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050267942A1 (en) * 2004-06-01 2005-12-01 Quinn Michael W Method of retracting an instant message
CN103516576A (zh) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 一种用于处理即时消息的方法和装置
US20160182434A1 (en) * 2014-12-19 2016-06-23 Facebook, Inc. Withdrawal of a message sent in a social networking system
CN106341304A (zh) * 2015-07-09 2017-01-18 广州市动景计算机科技有限公司 信息的纠正方法、系统及装置
CN109309614A (zh) * 2018-11-30 2019-02-05 努比亚技术有限公司 一种消息修改方法、移动终端、服务器及存储介质
CN110545236A (zh) * 2019-09-04 2019-12-06 网易(杭州)网络有限公司 即时通讯消息修改方法及装置、存储介质、电子设备
CN112565063A (zh) * 2020-12-11 2021-03-26 维沃移动通信有限公司 消息处理方法、装置和电子设备
CN113179204A (zh) * 2021-03-31 2021-07-27 维沃移动通信有限公司 撤回消息的方法、装置及电子设备
CN114745346A (zh) * 2022-04-11 2022-07-12 维沃移动通信有限公司 一种消息处理方法及装置、电子设备和可读存储介质

Also Published As

Publication number Publication date
CN114745346A (zh) 2022-07-12

Similar Documents

Publication Publication Date Title
CN113282424B (zh) 信息引用方法、装置和电子设备
WO2023131055A1 (zh) 消息发送方法、装置和电子设备
WO2022121877A1 (zh) 消息处理方法、装置和电子设备
WO2022089409A1 (zh) 文件发送方法、装置及电子设备
EP4318238A1 (en) Image sharing methods and apparatuses, and electronic device
WO2023197960A1 (zh) 一种消息处理方法及装置、电子设备和可读存储介质
JP2024518775A (ja) メッセージ処理方法、第1メッセージ処理装置、第2メッセージ処理装置及び電子機器
CN113177190A (zh) 文档内容分享的方法和电子设备
WO2022262721A1 (zh) 信息交互方法、装置和电子设备
CN107844494B (zh) 词条审核的方法及终端、词条处理的方法及服务器
CN114741146A (zh) 多设备协作方法、装置、电子设备及介质
WO2024114571A1 (zh) 信息显示方法、装置、电子设备和存储介质
CN113986574A (zh) 评论内容的生成方法、装置、电子设备和存储介质
WO2024109731A1 (zh) 内容分享方法、装置、电子设备和可读存储介质
WO2024114461A1 (zh) 视频播放方法及其装置
CN114374663A (zh) 消息处理方法和消息处理装置
WO2024093815A1 (zh) 数据共享方法、装置、电子设备及介质
WO2024051522A1 (zh) 消息发送方法、装置、电子设备及存储介质
WO2024083018A1 (zh) 信息处理方法、装置和电子设备
WO2024002072A1 (zh) 信息收集方法、装置和电子设备
WO2023179539A1 (zh) 视频编辑方法、装置及电子设备
US20230328181A1 (en) Video call method and apparatus
WO2023131134A1 (zh) 会话方法及其装置
WO2023131290A1 (zh) 信息交互方法、装置、电子设备及介质
CN111641551A (zh) 语音播放方法、语音播放装置和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23787604

Country of ref document: EP

Kind code of ref document: A1