CN113992615A - Display method and device of withdrawal message, electronic equipment and storage medium - Google Patents

Display method and device of withdrawal message, electronic equipment and storage medium Download PDF

Info

Publication number
CN113992615A
CN113992615A CN202111250977.5A CN202111250977A CN113992615A CN 113992615 A CN113992615 A CN 113992615A CN 202111250977 A CN202111250977 A CN 202111250977A CN 113992615 A CN113992615 A CN 113992615A
Authority
CN
China
Prior art keywords
message
target message
display
electronic device
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111250977.5A
Other languages
Chinese (zh)
Other versions
CN113992615B (en
Inventor
吴凯凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111250977.5A priority Critical patent/CN113992615B/en
Publication of CN113992615A publication Critical patent/CN113992615A/en
Priority to PCT/CN2022/127719 priority patent/WO2023072150A1/en
Application granted granted Critical
Publication of CN113992615B publication Critical patent/CN113992615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Abstract

The application discloses a display method and device of withdrawn messages, electronic equipment and a storage medium, which belong to the technical field of message processing, and the method comprises the following steps: the method comprises the steps that a first electronic device receives a first input of a first user when a target message in a first conversation interface is canceled from being displayed, wherein the first input is used for triggering the display of the target message to be recovered, and the target message is a message sent to the first electronic device by a second electronic device; in response to the first input, displaying the target message in the first session interface if the target message satisfies a recovery condition; wherein the recovery condition comprises: detecting that the withdrawn target message in a second session interface of the second electronic device has been restored to be displayed, or hiding the target message in the second session interface, wherein the second session interface is matched with the first session interface.

Description

Display method and device of withdrawal message, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of message processing, and particularly relates to a method and a device for displaying a withdrawn message, electronic equipment and a storage medium.
Background
With the development of internet technology, the functions of instant messaging systems are more and more abundant, for example, a message withdrawal function is added, the function supports a message sender to withdraw a message sent before a certain time after the message is sent, and when the message sender withdraws the message sent before, both the message sender and the message receiver will see a notification that "XX withdraws a message".
However, when there are various message withdrawal intentions of the user, the current message withdrawal function is relatively single, and cannot meet the diversified needs of the user.
Disclosure of Invention
An embodiment of the application aims to provide a method and a device for displaying a message withdrawal, an electronic device and a storage medium, which can solve the problem that the message withdrawal function is single and the diversified needs of users cannot be met in the prior art.
In a first aspect, an embodiment of the present application provides a method for displaying a revocation message, which is applied to a first electronic device, and the method includes:
receiving a first input of a first user when a target message in a first conversation interface is cancelled to be displayed, wherein the first input is used for triggering the display of the target message to be resumed, and the target message is a message sent to the first electronic device by a second electronic device;
in response to the first input, displaying the target message in the first session interface if the target message satisfies a recovery condition;
wherein the recovery condition comprises: detecting that the withdrawn target message in a second session interface of the second electronic device has been restored to be displayed, or hiding the target message in the second session interface, wherein the second session interface is matched with the first session interface.
In a second aspect, an embodiment of the present application provides a method for displaying a revocation message, which is applied to a second electronic device, and the method includes:
receiving a third input of a second user to a second session interface under the condition that a target message in the second session interface is cancelled to be displayed, wherein the third input is used for triggering the display of the target message to be recovered, and the target message is a message sent to a first electronic device by a second electronic device;
and responding to the third input, displaying the target message in a second mode on the second session interface, wherein the second mode is different from the display mode of other messages in the second session interface, and the cancellation display of the target message in the second session interface is triggered by the second user through a withdrawal control, or the cancellation display of the target message in the second session interface is triggered by the second user through operating a hidden control.
In a third aspect, an embodiment of the present application provides a revocation message display apparatus, which is applied to a first electronic device, and includes:
the first receiving module is used for receiving a first input of a first user when a target message in a first conversation interface is canceled from being displayed, wherein the first input is used for triggering the display of the target message to be recovered, and the target message is a message sent to the first electronic equipment by a second electronic equipment;
a first display module, configured to display the target message in the first session interface in response to the first input, if the target message satisfies a recovery condition;
wherein the recovery condition comprises: detecting that the withdrawn target message in a second session interface of the second electronic device has been restored to be displayed, or hiding the target message in the second session interface, wherein the second session interface is matched with the first session interface.
In a fourth aspect, an embodiment of the present application provides a revocation message display apparatus, which is applied to a second electronic device, and includes:
the second receiving module is used for receiving a third input of a second user to the second conversation interface under the condition that a target message in the second conversation interface is cancelled to be displayed, wherein the third input is used for triggering the restoration of the display of the target message, and the target message is a message sent to the first electronic device by the second electronic device;
and a second display module, configured to display, in response to the third input, the target message in a second manner on the second session interface, where the second manner is different from a display manner of other messages in the second session interface, and a cancellation display of the target message in the second session interface is triggered by the second user through a withdrawal control, or a cancellation display of the target message in the second session interface is triggered by the second user through an operation of a hidden control.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect or the second aspect.
In the embodiment of the present application, the following functions may be added on the basis of the existing message revocation function: for the conversation message which is canceled from being displayed, the user of the message receiving end can decide whether to resume the display of the conversation message on the conversation interface of the home terminal, and if the user of the message receiving end decides to resume the display of the conversation message and the conversation message meets the resumption condition, the conversation message is resumed and displayed on the conversation interface of the home terminal. Compared with the prior art, the message revocation function is enriched, and diversified requirements of users can be met.
In the embodiment of the present application, the following functions may be added on the basis of the existing message revocation function: for the session message whose display is cancelled, the user of the message sending end can decide whether to resume the display of the session message on the session interface of the local end, and if the user of the message sending end decides to resume the display of the session message, the session message is differentially displayed on the session interface of the local end. Compared with the prior art, the message revocation function is enriched, and diversified requirements of users can be met.
Drawings
Fig. 1 is a flowchart of a method for displaying revocation messages according to an embodiment of the present application;
fig. 2 is a first exemplary diagram of a method for displaying a revocation message according to an embodiment of the present application;
fig. 3 is a second exemplary diagram of a method for displaying revocation messages according to an embodiment of the present application;
fig. 4 is a third exemplary diagram of a display method of a revocation message according to an embodiment of the present application;
fig. 5 is a fourth exemplary diagram of a display method of a revocation message according to an embodiment of the present application;
fig. 6 is a flowchart of another revocation message display method according to an embodiment of the present application;
fig. 7 is a block diagram of a display device for revoking a message according to an embodiment of the present disclosure;
fig. 8 is a block diagram of another exemplary display device for revoking messages according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a hardware structure diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The embodiment of the application provides a display method and device of a withdrawal message, electronic equipment and a storage medium.
The method for displaying the revocation message provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings by using specific embodiments and application scenarios thereof.
It should be noted that the method provided in the embodiment of the present application is applicable to an electronic device, and in practical application, the electronic device may include: the mobile terminal includes a smart phone, a tablet computer, a personal digital assistant, and the like, which is not limited in the embodiment of the present application.
Fig. 1 is a flowchart of a method for displaying a revocation message according to an embodiment of the present application, which is applied to a first electronic device, and as shown in fig. 1, the method may include the following steps: step 101 and step 102, wherein,
in step 101, in a case that the target message in the first session interface has been cancelled from being displayed, a first input of a first user is received, wherein the first input is used for triggering the display of the target message to be resumed, and the target message is a message sent by the second electronic device to the first electronic device.
In the embodiment of the application, the second electronic device is an electronic device for sending the target message, namely a message sending end; the first electronic device is an electronic device that receives the target message, i.e., a message receiving end.
In the embodiment of the application, the second user is a user operating the second electronic device, that is, a user of the message sending end; the first user is a user operating the first electronic device, i.e. a user at the message receiving end.
In the embodiment of the application, the second session interface is a session interface displayed on the second electronic device when the first user and the second user perform a session, that is, a session interface displayed in the message sending end; the first conversation interface is a conversation interface displayed on the first electronic device when the first user is in conversation with the second user, namely the conversation interface displayed in the message receiving end.
For the convenience of understanding, the description will be made subsequently with "the message sender" replacing "the second electronic device", with "the user of the message sender" replacing "the second user", with "the message receiver" replacing "the first electronic device", and with "the user of the message receiver" replacing "the first user".
In the embodiment of the present application, the first input may be a click input, a long-press input, or the like.
In the embodiment of the present application, the cancellation of the display of the target message may be divided into two cases: the target message is withdrawn and the target message is hidden, wherein the withdrawal of the message in the embodiment of the present application is the same as that of the message in the prior art, and the withdrawal of the message is triggered by a user at the message sending end, for example, the user at the message sending end clicks a withdrawal control to trigger the withdrawal of the message; the message hiding in the embodiment of the present application refers to message hiding, that is, although the hidden message is not displayed on the session interface, the hidden message can be viewed by the user at the message sending end and the user at the message receiving end at any time, and the message hiding is also triggered by the user at the message sending end, for example, the user at the message sending end clicks a hiding control to trigger the message to be hidden.
For ease of understanding, the difference between messages being withdrawn and messages being hidden is illustrated in connection with the exemplary diagrams shown in fig. 2-4.
As shown in fig. 2, a session interface of a message sending end is shown, and a user of the message sending end presses a message in the session interface for a long time to trigger a pop-up floating window, where the floating window includes: withdraw control and hide control. If the user at the message sender clicks the withdrawal control, the message is withdrawn on the session interface at the message sender, and "XX withdraws a message" is displayed. If the user of the message sending end clicks the hidden control, the message is hidden on the session interface of the message sending end, and 'XX hides a message' is displayed at the same time.
Corresponding to fig. 2, fig. 3 shows a session interface of the message receiving end, when the user of the message sending end clicks the withdrawal control, the corresponding message is also withdrawn on the session interface of the message receiving end, and "XX withdraws a message" is displayed at the same time. When a user of the message sending end clicks the hidden control, the corresponding message can be hidden on the session interface of the message receiving end, and simultaneously 'XX hides a message' is displayed.
As shown in fig. 4, the process of withdrawing a message from a session interface of a message sender to a recovered message is shown, which is as follows: the user at the message sending end triggers the withdrawal message, and the conversation interface at the message sending end displays 'XX withdraws a message', the user at the message sending end can click the withdrawn message, and the conversation interface at the message sending end displays the withdrawn message in a gray setting mode.
That is to say, after the message sending end withdraws the message, the user of the message sending end can check the message withdrawn by the user at any time through the recovery operation, and the withdrawn message is restored and displayed in a gray setting mode, so that the reading of the normal message is not influenced.
In the embodiment of the application, for a hidden message, both a user at a message sending end and a user at a message receiving end can restore the display of the hidden message by clicking ' XX ' on a session interface to hide a message '.
In step 102, in response to the first input, the target message is displayed in the first session interface if the target message satisfies a recovery condition, wherein the recovery condition includes: and detecting that the withdrawn target message in a second session interface of the second electronic equipment is restored to be displayed, or hiding the target message in the second session interface, wherein the second session interface is matched with the first session interface.
In the embodiment of the present application, the target message is cancelled to be displayed in two cases: revoked and hidden, so the recovery condition may also include two cases: one corresponding to the case where the message is revoked and the other corresponding to the case where the message is hidden.
Corresponding to the case where the message is revoked, the recovery conditions are: the withdrawn target message in the second conversation interface of the second electronic equipment is restored to be displayed; corresponding to the situation where the message is hidden, the recovery conditions are: the targeted message is hidden in the second conversational interface.
In an embodiment provided by the present application, in order to facilitate a user to distinguish a message that has been cancelled from a message that has not been cancelled, the step 102 may specifically include the following steps:
and responding to the first input, and displaying the target message in a first mode on the first conversation interface under the condition that the target message meets the recovery condition, wherein the first mode is different from the display mode of other messages in the first conversation interface.
It should be understood that the first mode may be a grayed display mode, a highlighted display mode, a bold display mode of the target message font, or the like, and the display mode of the first mode is not limited herein.
In another embodiment provided by the present application, after a user at a message sending end withdraws a message, the withdrawn message may be recovered through a recovery operation, and at this time, a message receiving end receives a notification of recovering the message at the message sending end, so that the user at the message receiving end may also view the message, where step 102 may specifically include the following steps:
receiving prompt information sent by the second electronic device, wherein the prompt information is used for indicating that the target message in the second session interface is restored to display;
and receiving a second input of the prompt message from the first user, responding to the second input, jumping to a first position corresponding to the target message in the first session interface, and displaying the target message at the first position.
It can be appreciated that in one example, if the user at the sender of the message does not mind the revoked message viewed by the user at the receiver of the message, the message may resume display on the conversation interface by clicking on the revoked message. At this time, as shown in fig. 5, a message list at the message receiving end pops up a notification that the other party has recovered a message, and the user at the message receiving end clicks the notification, so that the session interface at the message receiving end automatically jumps to the position of the message, and resumes displaying the message.
In this embodiment of the application, the first session interface may further include: and the first shortcut control is used for triggering the first electronic device to display all the messages which are canceled from the first conversation interface.
Therefore, in the embodiment of the application, a user at the message receiving end can check all withdrawn/hidden messages meeting the recovery condition on the session interface of the message receiving end by one key without clicking to check, so that the checking efficiency can be improved.
As can be seen from the above embodiment, in this embodiment, the following functions can be added on the basis of the existing message revocation function: for the conversation message which is canceled from being displayed, the user of the message receiving end can decide whether to resume the display of the conversation message on the conversation interface of the home terminal, and if the user of the message receiving end decides to resume the display of the conversation message and the conversation message meets the resumption condition, the conversation message is resumed and displayed on the conversation interface of the home terminal. Compared with the prior art, the message revocation function is enriched, and diversified requirements of users can be met.
Fig. 6 is a flowchart of another revocation message display method provided in an embodiment of the present application, and is applied to a second electronic device, as shown in fig. 6, the method may include the following steps: step 601 and step 602, wherein,
in step 601, in a case that the target message in the second conversation interface has been cancelled and displayed, receiving a third input of the second user to the second conversation interface, where cancellation and display of the target message in the second conversation interface are triggered by the second user through a revocation control, or cancellation and display of the target message in the second conversation interface are triggered by the second user through operation of a hidden control, the third input is used to trigger restoration of display of the target message, and the target message is a message sent by the second electronic device to the first electronic device.
In the prior art, once a message sending end withdraws a session message, the message sending end and the message receiving end cannot check the withdrawn session message again, and if a user of the message sending end forgets a certain message which is withdrawn once and the message is important, the user has no way to check the message again. In view of the above problems, in the embodiment of the present application, for a withdrawn and hidden session message, a message sending end can view the session message at any time.
In the prior art, a revoked message refers to a message that a message sending end does not want to see by a message receiving end, and the message receiving end can never view the revoked message. However, for some messages, the message sender withdraws only to not affect the display of the primary information and does not mind the message receiver to see again. In view of the above problem, in the embodiment of the present application, it may be determined by the message sending end whether the message receiving end can check the revoked messages.
Specifically, in the embodiment of the present application, for a session message that has been revoked, a message sending end may view the message that has been revoked at any time, and at this time, a message receiving end cannot view the message. For the withdrawn messages which are not intention by the message sending end, the message receiving end can be informed to check the withdrawn messages through a series of recovery operations.
In the embodiment of the application, the message sending end can also decide whether to mind that the message receiving end sees the message when the message is cancelled. If the user wants to do willingness, the user selects to withdraw, and the subsequent message can only be checked by the message sending end; if not, hiding is selected, and the subsequent message can be checked by the message sending end and the message receiving end.
In the embodiment of the present application, the third input may be a click input, a long-press input, or the like.
In step 602, in response to a third input, the target message is displayed in a second manner on the second conversational interface, wherein the second manner is different from the manner in which other messages are displayed in the second conversational interface.
In the embodiment of the application, in order to facilitate the user to distinguish the message which is once cancelled and the message which is not cancelled and displayed, for the message which is once cancelled and displayed in the session interface of the message sending end, if the message is restored and displayed, the message is distinguished and displayed on the session interface.
It should be understood that the second mode may be a grayed display mode, a highlighted display mode, a bold display mode of the target message font, or the like, and the display mode of the second mode is not limited herein.
In this embodiment of the application, after the display of the target message is resumed, the message sending end may further send a prompt message to the first electronic device, where the prompt message is used to indicate that the target message in the second session interface is resumed, so that a user at the message receiving end resumes displaying the target message on the session interface at the message receiving end by operating the prompt message.
In the embodiment of the present application, the second session interface may further include: and the second shortcut control is used for triggering the second electronic device to display all the messages which are canceled from the second conversation interface.
Therefore, in the embodiment of the application, a user at the message sending end can check all withdrawn/hidden messages on the session interface of the message sending end by one key without clicking one by one, so that the efficiency is high.
As can be seen from the above embodiment, in this embodiment, the following functions can be added on the basis of the existing message revocation function: for the session message whose display is cancelled, the user of the message sending end can decide whether to resume the display of the session message on the session interface of the local end, and if the user of the message sending end decides to resume the display of the session message, the session message is differentially displayed on the session interface of the local end. Compared with the prior art, the message revocation function is enriched, and diversified requirements of users can be met.
It should be noted that, in the display method of the withdrawal message provided in the embodiment of the present application, the execution subject may be a display device of the withdrawal message, or a control module in the display device of the withdrawal message, for executing the display method of the loading withdrawal message. In the embodiment of the present application, a method for a display device of a revocation message to execute a display of a loaded revocation message is taken as an example, and the display device of the revocation message provided in the embodiment of the present application is described.
Fig. 7 is a block diagram of a display apparatus for revocation messages according to an embodiment of the present application, and the display apparatus 700 for revocation messages, as shown in fig. 7, for a first electronic device may include: a first receiving module 701 and a first display module 702, wherein,
a first receiving module 701, configured to receive a first input of a first user when a target message in a first session interface has been cancelled from being displayed, where the first input is used to trigger resumption of display of the target message, and the target message is a message sent by a second electronic device to the first electronic device;
a first display module 702, configured to, in response to the first input, display the target message in the first session interface if the target message satisfies a recovery condition; wherein the recovery condition comprises: detecting that the withdrawn target message in a second session interface of the second electronic device has been restored to be displayed, or hiding the target message in the second session interface, wherein the second session interface is matched with the first session interface.
As can be seen from the above embodiment, in this embodiment, the following functions can be added on the basis of the existing message revocation function: for the conversation message which is canceled from being displayed, the user of the message receiving end can decide whether to resume the display of the conversation message on the conversation interface of the home terminal, and if the user of the message receiving end decides to resume the display of the conversation message and the conversation message meets the resumption condition, the conversation message is resumed and displayed on the conversation interface of the home terminal. Compared with the prior art, the message revocation function is enriched, and diversified requirements of users can be met.
Optionally, as an embodiment, the first display module 702 may include:
the first receiving submodule is used for receiving prompt information sent by the second electronic device, wherein the prompt information is used for indicating that a target message in the second conversation interface is restored to display;
the second receiving submodule is used for receiving second input of the prompt message by the first user;
and the first display submodule is used for responding to the second input, jumping to a first position corresponding to a target message in the first conversation interface, and displaying the target message at the first position.
Optionally, as an embodiment, the first display module 702 may include:
and the second display submodule is used for displaying the target message in the first conversation interface in a first mode, wherein the first mode is different from the display mode of other messages in the first conversation interface.
Optionally, as an embodiment, the first session interface further includes: the first shortcut control is used for triggering the first electronic device to display all messages which are canceled from the first conversation interface.
Fig. 8 is a block diagram of another display apparatus for revocation messages according to an embodiment of the present application, and the display apparatus 800 for revocation messages, as shown in fig. 8, may include: a second receiving module 801 and a second display module 802, wherein,
a second receiving module 801, configured to receive, when a target message in a second conversation interface has been cancelled to be displayed, a third input of a second user to the second conversation interface, where the third input is used to trigger resumption of display of the target message, and the target message is a message sent by the second electronic device to the first electronic device;
a second display module 802, configured to, in response to the third input, display the target message in a second manner on the second session interface, where the second manner is different from a display manner of other messages in the second session interface, and cancellation display of the target message in the second session interface is triggered by the second user through a withdrawal control, or cancellation display of the target message in the second session interface is triggered by the second user through operating a hidden control.
As can be seen from the above embodiment, in this embodiment, the following functions can be added on the basis of the existing message revocation function: for the session message whose display is cancelled, the user of the message sending end can decide whether to resume the display of the session message on the session interface of the local end, and if the user of the message sending end decides to resume the display of the session message, the session message is differentially displayed on the session interface of the local end. Compared with the prior art, the message revocation function is enriched, and diversified requirements of users can be met.
Optionally, as an embodiment, the apparatus 800 for displaying the revocation message may further include:
and the sending module is used for sending prompt information to the first electronic device, wherein the prompt information is used for indicating that the target message in the second conversation interface is restored to be displayed.
Optionally, as an embodiment, the second session interface further includes: and the second shortcut control is used for triggering the second electronic device to display all the messages which are canceled from the second conversation interface.
The display device of the withdrawal message in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display device of the revocation message in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display device for revoking messages provided in the embodiment of the present application can implement each process implemented in the embodiment of the method in fig. 1, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and executable on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the foregoing embodiment of the method for displaying a revocation message, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
In one embodiment, when the electronic device 1000 is a first electronic device,
a user input unit 1007, configured to receive a first input of a first user when a target message in a first session interface has been cancelled from being displayed, where the first input is used to trigger resumption of display of the target message, and the target message is a message sent by a second electronic device to the first electronic device;
a display unit 1006, configured to display the target message in the first session interface in response to the first input, if the target message satisfies a recovery condition; wherein the recovery condition comprises: detecting that the withdrawn target message in a second session interface of the second electronic device has been restored to be displayed, or hiding the target message in the second session interface, wherein the second session interface is matched with the first session interface.
It can be seen that, in the embodiment of the present application, the following functions may be added on the basis of the existing message revocation function: for the conversation message which is canceled from being displayed, the user of the message receiving end can decide whether to resume the display of the conversation message on the conversation interface of the home terminal, and if the user of the message receiving end decides to resume the display of the conversation message and the conversation message meets the resumption condition, the conversation message is resumed and displayed on the conversation interface of the home terminal. Compared with the prior art, the message revocation function is enriched, and diversified requirements of users can be met.
Optionally, as an embodiment, the processor 1010 is configured to receive a prompt message sent by the second electronic device, where the prompt message is used to indicate that the target message in the second conversation interface is restored to be displayed;
a user input unit 1007, configured to receive a second input of the prompt information by the first user;
the display unit 1006 is further configured to jump to a first location corresponding to a target message in the first session interface in response to the second input, and display the target message at the first location.
Optionally, as an embodiment, the display unit 1006 is further configured to display the target message in the first session interface in a first manner, where the first manner is different from a display manner of other messages in the first session interface.
Optionally, as an embodiment, the first session interface further includes: the first shortcut control is used for triggering the first electronic device to display all messages which are canceled from the first conversation interface.
In another embodiment, when the electronic device 1000 is a second electronic device,
a user input unit 1007, configured to receive a third input to the second conversation interface from the second user when a target message in the second conversation interface has been cancelled from being displayed, where the third input is used to trigger resumption of display of the target message, and the target message is a message sent by the second electronic device to the first electronic device;
a display unit 1006, configured to display the target message in the second session interface in a second manner in response to the third input, where the second manner is different from a display manner of other messages in the second session interface, and the cancellation display of the target message in the second session interface is triggered by the second user through a withdrawal control, or the cancellation display of the target message in the second session interface is triggered by the second user through operating a hidden control.
Optionally, as an embodiment, the processor 1010 is configured to send a prompt message to the first electronic device, where the prompt message is used to indicate that the target message in the second conversation interface is restored to be displayed.
Optionally, as an embodiment, the second session interface further includes: and the second shortcut control is used for triggering the second electronic device to display all the messages which are canceled from the second conversation interface.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing display method for revoking a message, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message revocation display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A method for displaying revocation messages, the method being applied to a first electronic device, the method comprising:
receiving a first input of a first user when a target message in a first conversation interface is cancelled to be displayed, wherein the first input is used for triggering the display of the target message to be resumed, and the target message is a message sent to the first electronic device by a second electronic device;
in response to the first input, displaying the target message in the first session interface if the target message satisfies a recovery condition;
wherein the recovery condition comprises: detecting that the withdrawn target message in a second session interface of the second electronic device has been restored to be displayed, or hiding the target message in the second session interface, wherein the second session interface is matched with the first session interface.
2. The method of claim 1, wherein displaying the targeted message in the first session interface comprises:
receiving prompt information sent by the second electronic device, wherein the prompt information is used for indicating that a target message in the second session interface is restored to display;
receiving a second input of the prompt message by the first user;
and responding to the second input, jumping to a first position corresponding to a target message in the first conversation interface, and displaying the target message at the first position.
3. The method of claim 1, wherein displaying the targeted message in the first session interface comprises:
and displaying the target message in a first mode on the first conversation interface, wherein the first mode is different from the display mode of other messages in the first conversation interface.
4. The method of claim 1, wherein the first session interface further comprises: the first shortcut control is used for triggering the first electronic device to display all messages which are canceled from the first conversation interface.
5. A method for displaying revocation messages, the method being applied to a second electronic device, the method comprising:
receiving a third input of a second user to a second session interface under the condition that a target message in the second session interface is cancelled to be displayed, wherein the third input is used for triggering the display of the target message to be recovered, and the target message is a message sent to a first electronic device by a second electronic device;
and responding to the third input, displaying the target message in a second mode on the second session interface, wherein the second mode is different from the display mode of other messages in the second session interface, and the cancellation display of the target message in the second session interface is triggered by the second user through a withdrawal control, or the cancellation display of the target message in the second session interface is triggered by the second user through operating a hidden control.
6. The method of claim 5, wherein after displaying the targeted message in the second manner in the second conversational interface, further comprising:
and sending prompt information to the first electronic device, wherein the prompt information is used for indicating that the target message in the second conversation interface is restored to be displayed.
7. The method of claim 5, wherein the second session interface further comprises: and the second shortcut control is used for triggering the second electronic device to display all the messages which are canceled from the second conversation interface.
8. A revocation message display apparatus, for use with a first electronic device, the apparatus comprising:
the first receiving module is used for receiving a first input of a first user when a target message in a first conversation interface is canceled from being displayed, wherein the first input is used for triggering the display of the target message to be recovered, and the target message is a message sent to the first electronic equipment by a second electronic equipment;
a first display module, configured to display the target message in the first session interface in response to the first input, if the target message satisfies a recovery condition;
wherein the recovery condition comprises: detecting that the withdrawn target message in a second session interface of the second electronic device has been restored to be displayed, or hiding the target message in the second session interface, wherein the second session interface is matched with the first session interface.
9. The apparatus of claim 8, wherein the first display module comprises:
the first receiving submodule is used for receiving prompt information sent by the second electronic device, wherein the prompt information is used for indicating that a target message in the second conversation interface is restored to display;
the second receiving submodule is used for receiving second input of the prompt message by the first user;
and the first display submodule is used for responding to the second input, jumping to a first position corresponding to a target message in the first conversation interface, and displaying the target message at the first position.
10. The apparatus of claim 8, wherein the first display module comprises:
and the second display submodule is used for displaying the target message in the first conversation interface in a first mode, wherein the first mode is different from the display mode of other messages in the first conversation interface.
11. A revocation message display apparatus, for use with a second electronic device, the apparatus comprising:
the second receiving module is used for receiving a third input of a second user to the second conversation interface under the condition that a target message in the second conversation interface is cancelled to be displayed, wherein the third input is used for triggering the restoration of the display of the target message, and the target message is a message sent to the first electronic device by the second electronic device;
and a second display module, configured to display, in response to the third input, the target message in a second manner on the second session interface, where the second manner is different from a display manner of other messages in the second session interface, and a cancellation display of the target message in the second session interface is triggered by the second user through a withdrawal control, or a cancellation display of the target message in the second session interface is triggered by the second user through an operation of a hidden control.
12. The apparatus of claim 11, further comprising:
and the sending module is used for sending prompt information to the first electronic device, wherein the prompt information is used for indicating that the target message in the second conversation interface is restored to be displayed.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the method of displaying revocation messages according to any of claims 1 to 7.
14. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by the processor, carry out the steps of the method of displaying revocation messages according to any of claims 1 to 7.
CN202111250977.5A 2021-10-26 2021-10-26 Method and device for displaying withdrawal message, electronic equipment and storage medium Active CN113992615B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111250977.5A CN113992615B (en) 2021-10-26 2021-10-26 Method and device for displaying withdrawal message, electronic equipment and storage medium
PCT/CN2022/127719 WO2023072150A1 (en) 2021-10-26 2022-10-26 Recalled message display method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111250977.5A CN113992615B (en) 2021-10-26 2021-10-26 Method and device for displaying withdrawal message, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113992615A true CN113992615A (en) 2022-01-28
CN113992615B CN113992615B (en) 2023-05-26

Family

ID=79741962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111250977.5A Active CN113992615B (en) 2021-10-26 2021-10-26 Method and device for displaying withdrawal message, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113992615B (en)
WO (1) WO2023072150A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220619A (en) * 2022-06-06 2022-10-21 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
WO2023072150A1 (en) * 2021-10-26 2023-05-04 维沃移动通信有限公司 Recalled message display method and apparatus, electronic device, and storage medium

Citations (21)

* 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
US20130145474A1 (en) * 2011-12-06 2013-06-06 Activepath Ltd. Concealing and revealing message data
US20150099491A1 (en) * 2013-10-04 2015-04-09 Samsung Electronics Co., Ltd. Instant message transmitting and receiving system, terminal device and controlling method thereof
CN106330687A (en) * 2016-10-17 2017-01-11 腾讯科技(深圳)有限公司 Information processing method, device and system
CN106528167A (en) * 2016-11-24 2017-03-22 腾讯科技(深圳)有限公司 Message processing method and device
US20170149700A1 (en) * 2015-11-24 2017-05-25 Xiaomi Inc. Message withdrawal method, apparatus and storage medium
WO2018141226A1 (en) * 2017-02-03 2018-08-09 阿里巴巴集团控股有限公司 Method for withdrawing and modifying instant communication message, instant communication client side and server side
US20180270183A1 (en) * 2017-03-15 2018-09-20 Alibaba Group Holding Limited Methods and apparatuses for selectively displaying messages based on a predicted importance
CN108566332A (en) * 2018-04-17 2018-09-21 广州腾讯科技有限公司 A kind of instant communication information processing method, device and storage medium
CN109688042A (en) * 2017-10-18 2019-04-26 阿里巴巴集团控股有限公司 A kind of message treatment method and device
US20190173869A1 (en) * 2017-12-05 2019-06-06 Jae Ho SUNG Method for providing message hidden services in chatting windows
WO2020020126A1 (en) * 2018-07-26 2020-01-30 维沃移动通信有限公司 Information processing method and terminal
CN110798394A (en) * 2018-08-03 2020-02-14 腾讯科技(深圳)有限公司 Instant messaging message display method and device
CN111641554A (en) * 2020-06-02 2020-09-08 Oppo广东移动通信有限公司 Message processing method and device and computer readable storage medium
US20200328999A1 (en) * 2019-04-10 2020-10-15 Microsoft Technology Licensing, Llc Tracing messages within a message chain
CN111800333A (en) * 2020-06-11 2020-10-20 腾讯科技(深圳)有限公司 Session message processing method, device, computer readable storage medium and equipment
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN112422735A (en) * 2020-10-27 2021-02-26 维沃软件技术有限公司 Information prompting method and device and electronic equipment
CN113179204A (en) * 2021-03-31 2021-07-27 维沃移动通信有限公司 Message withdrawal method and device and electronic equipment
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium
CN113518026A (en) * 2021-03-25 2021-10-19 维沃移动通信有限公司 Message processing method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992615B (en) * 2021-10-26 2023-05-26 维沃移动通信有限公司 Method and device for displaying withdrawal message, electronic equipment and storage medium

Patent Citations (21)

* 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
US20130145474A1 (en) * 2011-12-06 2013-06-06 Activepath Ltd. Concealing and revealing message data
US20150099491A1 (en) * 2013-10-04 2015-04-09 Samsung Electronics Co., Ltd. Instant message transmitting and receiving system, terminal device and controlling method thereof
US20170149700A1 (en) * 2015-11-24 2017-05-25 Xiaomi Inc. Message withdrawal method, apparatus and storage medium
CN106330687A (en) * 2016-10-17 2017-01-11 腾讯科技(深圳)有限公司 Information processing method, device and system
CN106528167A (en) * 2016-11-24 2017-03-22 腾讯科技(深圳)有限公司 Message processing method and device
WO2018141226A1 (en) * 2017-02-03 2018-08-09 阿里巴巴集团控股有限公司 Method for withdrawing and modifying instant communication message, instant communication client side and server side
US20180270183A1 (en) * 2017-03-15 2018-09-20 Alibaba Group Holding Limited Methods and apparatuses for selectively displaying messages based on a predicted importance
CN109688042A (en) * 2017-10-18 2019-04-26 阿里巴巴集团控股有限公司 A kind of message treatment method and device
US20190173869A1 (en) * 2017-12-05 2019-06-06 Jae Ho SUNG Method for providing message hidden services in chatting windows
CN108566332A (en) * 2018-04-17 2018-09-21 广州腾讯科技有限公司 A kind of instant communication information processing method, device and storage medium
WO2020020126A1 (en) * 2018-07-26 2020-01-30 维沃移动通信有限公司 Information processing method and terminal
CN110798394A (en) * 2018-08-03 2020-02-14 腾讯科技(深圳)有限公司 Instant messaging message display method and device
US20200328999A1 (en) * 2019-04-10 2020-10-15 Microsoft Technology Licensing, Llc Tracing messages within a message chain
CN111641554A (en) * 2020-06-02 2020-09-08 Oppo广东移动通信有限公司 Message processing method and device and computer readable storage medium
CN111800333A (en) * 2020-06-11 2020-10-20 腾讯科技(深圳)有限公司 Session message processing method, device, computer readable storage medium and equipment
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN112422735A (en) * 2020-10-27 2021-02-26 维沃软件技术有限公司 Information prompting method and device and electronic equipment
CN113518026A (en) * 2021-03-25 2021-10-19 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN113179204A (en) * 2021-03-31 2021-07-27 维沃移动通信有限公司 Message withdrawal method and device and electronic equipment
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈娅;: "说出去的话等于泼出去的水?――试论微信中的消息撤回", 丝绸之路 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023072150A1 (en) * 2021-10-26 2023-05-04 维沃移动通信有限公司 Recalled message display method and apparatus, electronic device, and storage medium
CN115220619A (en) * 2022-06-06 2022-10-21 网易(杭州)网络有限公司 Message processing method and device and electronic equipment

Also Published As

Publication number Publication date
WO2023072150A1 (en) 2023-05-04
CN113992615B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN113141293B (en) Message display method and device and electronic equipment
WO2023072150A1 (en) Recalled message display method and apparatus, electronic device, and storage medium
CN112671635B (en) Sending method, device and electronic equipment
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN112286612A (en) Information display method and device and electronic equipment
CN112422735B (en) Information prompting method and device
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN112702261B (en) Information display method and device and electronic equipment
CN113709307A (en) Message display method and device and electronic equipment
CN112181559A (en) Interface display method and device and electronic equipment
CN111865763A (en) Message display method and device, electronic equipment and storage medium
CN112269510B (en) Information processing method and device and electronic equipment
CN113807831A (en) Payment method and device
CN113835601A (en) Screenshot management method and device
CN112286615A (en) Information display method and device of application program
CN113965640A (en) Message processing method and device
CN113342241A (en) Target character selection method and device, electronic equipment and storage medium
CN113138786A (en) Application updating method and device
CN111880702A (en) Interface switching method and device and electronic equipment
CN112291412B (en) Application program control method and device and electronic equipment
CN113268300B (en) Information display method and device
CN112437196B (en) Page display method and device and electronic equipment
CN113824841B (en) Notification message processing method and device, electronic equipment and readable storage medium
CN112035032B (en) Expression adding method and device
CN113986065A (en) Information display method and device

Legal Events

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