CN113992615B - Method and device for displaying withdrawal message, electronic equipment and storage medium - Google Patents

Method and device for displaying withdrawal message, electronic equipment and storage medium Download PDF

Info

Publication number
CN113992615B
CN113992615B CN202111250977.5A CN202111250977A CN113992615B CN 113992615 B CN113992615 B CN 113992615B CN 202111250977 A CN202111250977 A CN 202111250977A CN 113992615 B CN113992615 B CN 113992615B
Authority
CN
China
Prior art keywords
message
target message
user
session interface
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111250977.5A
Other languages
Chinese (zh)
Other versions
CN113992615A (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 method, a device, electronic equipment and a storage medium for displaying withdrawal messages, which belong to the technical field of message processing, and the method comprises the following steps: the method comprises the steps that under the condition that a target message in a first session interface is canceled from being displayed, first input of a first user is received by first electronic equipment, wherein the first input is used for triggering and restoring the display of the target message, and the target message is sent to the first electronic equipment by second electronic equipment; in response to the first input, displaying the target message in the first session interface if the target message satisfies a resume condition; wherein the recovery condition includes: and detecting that the withdrawn target message in a second session interface of the second electronic device is restored to be displayed, or the target message is hidden in the second session interface, wherein the second session interface is matched with the first session interface.

Description

Method and device for displaying 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 withdrawn messages, electronic equipment and a storage medium.
Background
With the development of internet technology, the functions of the instant messaging system are more and more abundant, for example, a message withdraw function is added, and the function supports that a message sending end withdraws a message sent before in a period of time after the message is sent, and when the message sending end withdraws the message sent before, the message sending end and a message receiving end can both see a notification that "XX withdraws one message".
However, when there are various message withdrawal intents of the user, the current message withdrawal function is relatively single, and cannot meet the diversified needs of the user.
Disclosure of Invention
The embodiment of the application aims to provide a display method, a device, electronic equipment and a storage medium for withdrawal messages, which can solve the problems 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 in the case that a target message in a first session interface has been canceled from display, wherein the first input is used for triggering and restoring the display of the target message, 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 resume condition;
wherein the recovery condition includes: and detecting that the withdrawn target message in a second session interface of the second electronic device is restored to be displayed, or the target message is hidden 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 the second session interface under the condition that a target message in the second session interface is canceled from being displayed, wherein the third input is used for triggering and restoring the display of the target message, and the target message is sent to the first electronic device by the second electronic device;
and responding to the third input, displaying the target message on the second session interface in a second mode, wherein the second mode is different from the display mode of other messages in the second session interface, 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 operation of a hidden control.
In a third aspect, an embodiment of the present application provides a display device for a withdrawal message, which is applied to a first electronic device, and the device includes:
a first receiving module, configured to receive a first input of a first user if a target message in a first session interface has been cancelled from being displayed, where the first input is used to trigger to resume 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, configured to respond to the first input, and display the target message in the first session interface if the target message meets a recovery condition;
wherein the recovery condition includes: and detecting that the withdrawn target message in a second session interface of the second electronic device is restored to be displayed, or the target message is hidden 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 display device for a withdrawal message, applied to a second electronic device, where the device includes:
a second receiving module, configured to receive a third input from a second user to a second session interface if a target message in the second session interface has been cancelled from being displayed, where the third input is used to trigger to resume display of the target message, and the target message is a message sent by the second electronic device to the first electronic device;
And the second display module is used for responding to the third input and displaying the target message on the second session interface in a second mode, wherein the second mode is different from the display mode of other messages in the second session interface, 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 operation of a hidden control.
In a fifth aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first or second aspect when executed by the processor.
In a sixth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method according to the first or second aspect.
In a seventh aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement the steps of the method according to the first or second aspect.
In the embodiment of the application, the following functions can be added on the basis of the existing message withdrawal function: for the session message which is canceled from being displayed, the user of the message receiving 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 receiving end decides to resume the display of the session message and the session message meets the resume condition, the session message is resumed and displayed on the session interface of the local end. Compared with the prior art, in the embodiment of the application, the message withdrawal function is enriched, and the diversified requirements of users can be met.
In the embodiment of the application, the following functions can be added on the basis of the existing message withdrawal function: for the session message which is canceled from being displayed, 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 displayed on the session interface of the local end in a distinguishing way. Compared with the prior art, in the embodiment of the application, the message withdrawal function is enriched, and the diversified requirements of users can be met.
Drawings
Fig. 1 is a flowchart of a method for displaying a revocation message according to an embodiment of the present application;
FIG. 2 is a first exemplary diagram of a method for displaying a revocation message provided in an embodiment of the present application;
FIG. 3 is a second exemplary diagram of a method for displaying a revocation message provided in an embodiment of the present application;
FIG. 4 is a third exemplary diagram of a method for displaying a revocation message provided in an embodiment of the present application;
FIG. 5 is a fourth exemplary diagram of a method for displaying a revocation message provided in an embodiment of the present application;
FIG. 6 is a flowchart of another method for displaying a revocation message provided by an embodiment of the present application;
fig. 7 is a block diagram of a display device for a revocation message provided in an embodiment of the present application;
fig. 8 is a block diagram of a structure of a display device of another revocation message provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The embodiment of the application provides a method and device for displaying withdrawal messages, electronic equipment and a storage medium.
The method for displaying the withdrawal message provided in the embodiment of the present application is described in detail below by means of specific embodiments and application scenarios thereof with reference to the accompanying drawings.
The method provided by the embodiment of the application is applicable to an electronic device, and in practical application, the electronic device may include: mobile terminals such as smartphones, tablet computers, personal digital assistants, etc., to which embodiments of the present application are not limited.
Fig. 1 is a flowchart of a method for displaying a revocation message, provided in an embodiment of the present application, applied to a first electronic device, as shown in fig. 1, where the method may include the following steps: step 101, and step 102, wherein,
in step 101, a first input of a first user is received in case a target message in a first session interface has been cancelled from display, wherein the first input is used to trigger a restoration of a display of the target message, the target message being a message sent by a second electronic device to the first electronic device.
In the embodiment of the present application, the second electronic device is an electronic device that sends the target message, that is, the message sending end; the first electronic device is an electronic device that receives a target message, that is, a message receiving end.
In this embodiment of the present application, the second user is a user who operates 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. the user of 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 session interface is a session interface displayed on the first electronic device when the first user and the second user perform a session, that is, a session interface displayed in the message receiving end.
For ease of understanding, description will be made later with "message sender" replacing "second electronic device", "user of message sender" replacing "second user", "message receiver" replacing "first electronic device", and "user of message receiver" replacing "first user".
In this embodiment of the present application, the first input may be a click input, a long press input, or the like.
In this embodiment of the present application, the cancellation display of the target message may be divided into two cases: the target message is withdrawn and the target message is hidden, wherein the message is withdrawn in the embodiment of the application as the message is withdrawn in the prior art, the message is withdrawn and triggered by a user of the message sending end, for example, the user of the message sending end clicks a withdraw control to trigger the message to be withdrawn; in this embodiment, the message is hidden and displayed, that is, although the hidden message is not displayed on the session interface, the hidden message may be viewed by the user of the message sending end and the user of the message receiving end at any time, and the message is hidden and triggered by the user of the message sending end, for example, the user of the message sending end clicks the hiding control to trigger the message to be hidden.
For ease of understanding, the distinction between message being withdrawn and message being hidden is illustrated in connection with the example diagrams shown in fig. 2-4.
As shown in fig. 2, a session interface of a message sending end is shown, a user of the message sending end presses a message in the session interface for a long time, and a popup floating window can be triggered, where the floating window includes: withdraw controls and hide controls. If the user of the message sender clicks the withdraw control, the message will be withdrawn on the session interface of the message sender, and "XX withdrawn one message" is displayed. If the user of the message sending end clicks the hiding control, the message is hidden on the session interface of the message sending end, and the message is displayed as XX is hidden.
Corresponding to fig. 2, fig. 3 shows a session interface of the message receiving end, and when the user of the message sending end clicks the withdraw control, the corresponding message will be withdrawn on the session interface of the message receiving end, and meanwhile, a message is displayed that "XX is withdrawn. When a user at the message sending end clicks the hiding control, the corresponding message is also hidden on the session interface of the message receiving end, and meanwhile, XX is displayed to hide one message.
As shown in fig. 4, in the session interface of the message sending end, the process from being withdrawn to being recovered is shown as follows: the user of the message sending end triggers the withdrawal message, the XX withdraws a message on the session interface of the message sending end, the user of the message sending end can click the withdrawn message, and the withdrawn message is displayed in a gray setting mode on the session interface of the message sending end.
That is, after the message sending end withdraws the message, the user of the message sending end can check the withdrawn message at any time through the recovery operation, and the withdrawn message is recovered to be displayed in a gray setting mode, so that the reading of the normal message is not influenced.
In this embodiment, for the hidden message, both the user at the message sending end and the user at the message receiving end may restore the display of the hidden message by clicking "XX on the session interface to hide a message".
In step 102, 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 includes: and detecting that the withdrawn target message in the second session interface of the second electronic equipment is restored to be displayed, or the target message is hidden in the second session interface, wherein the second session interface is matched with the first session interface.
In the embodiment of the present application, since the target message is canceled to be displayed, two cases can be divided: is withdrawn and hidden, so the recovery condition may also include two cases: one corresponds to the case where the message is revoked and the other corresponds to the case where the message is hidden.
Corresponding to the case where the message is withdrawn, the recovery conditions are: the withdrawn target message in the second session interface of the second electronic device has been restored for display; corresponding to the case where the message is hidden, the recovery conditions are: the target message is hidden in the second session interface.
In one embodiment provided in the present application, in order to facilitate the user to distinguish between the message that was cancelled from the message that was not 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 session interface under the condition that the target message meets the recovery condition, wherein the first mode is different from the display modes of other messages in the first session interface.
It is to be understood that the first mode may be a gray display mode, a highlighting display mode, or a bolded display of the font of the target message, and the display mode of the first mode is not limited herein.
In another embodiment provided in the present application, after the user at the message sending end withdraws the message, the withdrawn message may be recovered through a recovery operation, and at this time, the message receiving end may receive a notification that the message sending end recovers the message, 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 second electronic equipment, wherein the prompt information is used for indicating that target information in a second session interface is restored to be displayed;
and receiving a second input of the prompt information by 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 message sender does not mind the withdrawn message that the user at the message receiver viewed, the display of the message can be resumed on the session interface by clicking on the withdrawn message. At this time, as shown in fig. 5, the message list of the message receiving end pops up a notification of "one message is restored by the other party", the user of the message receiving end clicks the notification, the session interface of the message receiving end automatically jumps to the position of the message, and the message is restored to be displayed.
In this embodiment of the present application, the first session interface may further include: and the first shortcut control is used for triggering the first electronic equipment to display all the messages which are canceled from being displayed in the first session interface.
Therefore, in the embodiment of the application, the user at the message receiving end can check all the withdrawn/hidden messages meeting the recovery condition on the session interface of the message receiving end by one click without clicking for checking, 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 withdrawal function: for the session message which is canceled from being displayed, the user of the message receiving 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 receiving end decides to resume the display of the session message and the session message meets the resume condition, the session message is resumed and displayed on the session interface of the local end. Compared with the prior art, in the embodiment of the application, the message withdrawal function is enriched, and the diversified requirements of users can be met.
Fig. 6 is a flowchart of another method for displaying a revocation message provided in an embodiment of the present application, which is applied to a second electronic device, as shown in fig. 6, and 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 session interface has been displayed in a canceling manner, receiving a third input of the second user to the second session interface, where the canceling of the display of the target message in the second session interface is triggered by the second user through the withdraw control, or the canceling of the display of the target message in the second session interface is triggered by the second user through the operation of the hide control, and the third input is used to trigger to resume the display of the target message, where the target message is a message sent by the second electronic device to the first electronic device.
In the prior art, once a message sender withdraws a session message, the message sender and a message receiver cannot check the withdrawn session message again, and if the message sender forgets a certain message which is withdrawn by the user, but the message is important, the message sender cannot check the withdrawn session message again. In view of the above problems, in the embodiment of the present application, for the withdrawn and hidden session message, the message sending end can view at any time.
In the prior art, the withdrawn message refers to a message that the message sending end does not want to make the message receiving end see, and the message receiving end can never see the withdrawn message. For some messages, however, the message sender simply withdraws 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, the message sender may determine whether the message receiver may view the revoked messages.
Specifically, in the embodiment of the application, for the withdrawn session message, the message sending end can view the withdrawn message at any time, and at this time, the message receiving end cannot view the withdrawn message. And for the withdrawn messages which are not careless to the message sending end, the message receiving end can be notified to check the withdrawn messages through a series of recovery operations.
In this embodiment of the present application, the message sending end may also determine whether to mind the message receiving end to see the message when canceling the display of the message. If mind, selecting withdrawal, and then only checking the subsequent message by the message sending end; if not, the message can be checked by the message sending end and the message receiving end subsequently.
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 the third input, the target message is displayed in a second manner on the second session interface, wherein the second manner is different from the display manner of other messages in the second session interface.
In the embodiment of the application, in order to facilitate the user to distinguish the message which is cancelled from the message which is not cancelled, for the message which is cancelled from the session interface of the message sending end, if the message is restored to be displayed, the message is distinguished and displayed on the session interface.
It is to be understood that the second mode may be a gray display mode, a highlighting display mode, or a bolded display of the font of the target message, and the display mode of the second mode is not limited herein.
In this embodiment of the present invention, after the display of the target message is restored, 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 has been restored to be displayed, so that the user of the message receiving end restores and displays the target message on the session interface of the message receiving end by operating the prompt message.
In this embodiment of the present application, the second session interface may further include: and the second shortcut control is used for triggering the second electronic equipment to display all the messages which are canceled from being displayed in the second session interface.
Therefore, in the embodiment of the application, the user at the message sending end can check all the 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 higher.
As can be seen from the above embodiment, in this embodiment, the following functions can be added on the basis of the existing message withdrawal function: for the session message which is canceled from being displayed, 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 displayed on the session interface of the local end in a distinguishing way. Compared with the prior art, in the embodiment of the application, the message withdrawal function is enriched, and the diversified requirements of users can be met.
It should be noted that, in the method for displaying a revocation message provided in the embodiment of the present application, the execution body may be a display device of the revocation message, or a control module in the display device of the revocation message for executing the method for loading the revocation message. In the embodiment of the present application, the display device for the revocation message provided in the embodiment of the present application is described by taking the example that the display device for the revocation message performs the display method for loading the revocation message.
Fig. 7 is a block diagram of a display device for a revocation message, which is applied to a first electronic apparatus and shown in fig. 7, and the display device 700 for a revocation message 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 in a case where a target message in a first session interface has been cancelled from being displayed, where the first input is used to trigger to resume 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 respond to the first input, and display the target message in the first session interface if the target message meets a recovery condition; wherein the recovery condition includes: and detecting that the withdrawn target message in a second session interface of the second electronic device is restored to be displayed, or the target message is hidden 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 withdrawal function: for the session message which is canceled from being displayed, the user of the message receiving 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 receiving end decides to resume the display of the session message and the session message meets the resume condition, the session message is resumed and displayed on the session interface of the local end. Compared with the prior art, in the embodiment of the application, the message withdrawal function is enriched, and the diversified requirements of users can be met.
Alternatively, as an embodiment, the first display module 702 may include:
the first receiving sub-module is used for receiving prompt information sent by the second electronic equipment, wherein the prompt information is used for indicating that the target message in the second session interface is restored to be displayed;
the second receiving sub-module is used for receiving a second input of the prompt information by the first user;
and the first display sub-module is used for 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.
Alternatively, as an embodiment, the first display module 702 may include:
and the second display sub-module is used for displaying the target message on the first session interface in a first mode, wherein the first mode is different from the display modes of other messages in the first session interface.
Optionally, as an embodiment, the first session interface further includes: and the first shortcut control is used for triggering the first electronic equipment to display all the messages which are canceled to be displayed in the first session interface.
Fig. 8 is a block diagram of another display device for a revocation message according to an embodiment of the present application, which is applied to a second electronic apparatus, as shown in fig. 8, the display device 800 for a revocation message may include: a second receiving module 801 and a second display module 802, wherein,
a second receiving module 801, configured to receive a third input from a second user to a second session interface if a target message in the second session interface has been cancelled from being displayed, where the third input is used to trigger to resume display of the target message, and the target message is a message sent by the second electronic device to the first electronic device;
And a second display module 802, configured to respond to the third input, and display the target message on the second session interface in a second manner, where the second manner is different from a manner of displaying 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 withdraw control, or the cancellation display of the target message in the second session interface is triggered by the second user through operation of 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 withdrawal function: for the session message which is canceled from being displayed, 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 displayed on the session interface of the local end in a distinguishing way. Compared with the prior art, in the embodiment of the application, the message withdrawal function is enriched, and the diversified requirements of users can be met.
Optionally, as an embodiment, the display device 800 of the withdrawal message may further include:
And the sending module is used for sending prompt information to the first electronic equipment, wherein the prompt information is used for indicating that the target message in the second session 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 equipment to display all the messages which are canceled from being displayed in the second session interface.
The display device of the withdrawal message in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
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 operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The device for displaying the withdrawal message provided in the embodiment of the present application can implement each process implemented in the embodiment of the method of fig. 1, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 9, the embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and capable of running on the processor 901, where the program or the instruction implements each process of the above embodiment of the method for displaying a withdrawal message when executed by the processor 901, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
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 in a case where a target message in a first session interface has been canceled from being displayed, where the first input is used to trigger restoration 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, where the target message meets a recovery condition; wherein the recovery condition includes: and detecting that the withdrawn target message in a second session interface of the second electronic device is restored to be displayed, or the target message is hidden 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 withdrawal function: for the session message which is canceled from being displayed, the user of the message receiving 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 receiving end decides to resume the display of the session message and the session message meets the resume condition, the session message is resumed and displayed on the session interface of the local end. Compared with the prior art, in the embodiment of the application, the message withdrawal function is enriched, and the 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 session interface has been restored to be displayed;
a user input unit 1007, configured to receive a second input of the prompt information from the first user;
the display unit 1006 is further configured to skip 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 on 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: and the first shortcut control is used for triggering the first electronic equipment to display all the messages which are canceled to be displayed in the first session 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 of the second user to the second session interface if the target message in the second session interface has been cancelled from being displayed, where 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;
and a display unit 1006, configured to respond to the third input, and display the target message on the second session interface in a second manner, where the second manner is different from a manner of displaying 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 withdraw control, or the cancellation display of the target message in the second session interface is triggered by the second user through operation of a hidden control.
Optionally, as an embodiment, the processor 1010 is configured to send a prompt to the first electronic device, where the prompt is used to indicate that the target message in the second session interface has been 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 equipment to display all the messages which are canceled from being displayed in the second session interface.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 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 can include two portions, 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, a joystick, and so forth, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1010 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the 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 processes of the embodiment of the method for displaying the withdrawal message are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, implementing each process of the embodiment of the method for displaying the withdrawal message, and achieving the same technical effect, so as to avoid repetition, and no further description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (14)

1. A method for displaying a revocation message, the method being applied to a first electronic device, the first electronic device being a message receiving terminal and corresponding to a first user, the method comprising:
receiving a first input of the first user in the case that a target message in a first session interface has been canceled from being displayed, wherein the first input is used for triggering and restoring the display of the target message, and the target message is a message sent to the first electronic device by a second electronic device; the second electronic equipment is a message sending end; the cancellation display of the target message is triggered by a second user of the second electronic device; if the second electronic equipment determines that the second user mind the first user to see the target message, selecting to withdraw the target message, wherein the target message can only be viewed by the second user after being withdrawn; if the second electronic equipment determines that the second user does not mind that the first user sees the target message, selecting to hide the target message, wherein the target message can be viewed by the first user and the second user after being hidden;
in response to the first input, displaying the target message in the first session interface if the target message satisfies a resume condition;
Wherein the recovery condition includes: and detecting that the withdrawn target message in a second session interface of the second electronic device is restored to be displayed, or the target message is hidden in the second session interface, wherein the second session interface is matched with the first session interface.
2. The method of claim 1, wherein the displaying the target message in the first session interface comprises:
receiving prompt information sent by the second electronic equipment, wherein the prompt information is used for indicating that target information in the second session interface is restored to be displayed;
receiving a second input of the prompt information by the first user;
and 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.
3. The method of claim 1, wherein the displaying the target message in the first session interface comprises:
and displaying the target message in the first session interface in a first mode, wherein the first mode is different from the display modes of other messages in the first session interface.
4. The method of claim 1, wherein the first session interface further comprises: and the first shortcut control is used for triggering the first electronic equipment to display all the messages which are canceled to be displayed in the first session interface.
5. A method for displaying a revocation message, applied to a second electronic device, where the second electronic device is a message sending end and corresponds to a second user, the method comprising:
receiving a third input of the second user to the second session interface under the condition that the target message in the second session interface is canceled from being displayed, wherein the third input is used for triggering and restoring the display of the target message, and the target message is sent to the first electronic device by the second electronic device; the first electronic equipment is a message receiving end and corresponds to a first user; if the second electronic equipment determines that the second user mind the first user to see the target message, selecting to withdraw the target message, wherein the target message can only be viewed by the second user after being withdrawn; if the second electronic equipment determines that the second user does not mind that the first user sees the target message, selecting to hide the target message, wherein the target message can be viewed by the first user and the second user after being hidden;
And responding to the third input, displaying the target message on the second session interface in a second mode, wherein the second mode is different from the display mode of other messages in the second session interface, 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 operation of a hidden control.
6. The method of claim 5, wherein said displaying the target message after the second session interface is displayed in the second manner further comprises:
and sending prompt information to the first electronic equipment, wherein the prompt information is used for indicating that the target message in the second session 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 equipment to display all the messages which are canceled from being displayed in the second session interface.
8. A display device for withdrawing a message, the display device being applied to a first electronic device, the first electronic device being a message receiving end and corresponding to a first user, the device comprising:
A first receiving module, configured to receive a first input of the first user if a target message in a first session interface has been cancelled from being displayed, where the first input is used to trigger to resume display of the target message, and the target message is a message sent by a second electronic device to the first electronic device; the second electronic equipment is a message sending end; the cancellation display of the target message is triggered by a second user of the second electronic device; if the second electronic equipment determines that the second user mind the first user to see the target message, selecting to withdraw the target message, wherein the target message can only be viewed by the second user after being withdrawn; if the second electronic equipment determines that the second user does not mind that the first user sees the target message, selecting to hide the target message, wherein the target message can be viewed by the first user and the second user after being hidden;
a first display module, configured to respond to the first input, and display the target message in the first session interface if the target message meets a recovery condition;
Wherein the recovery condition includes: and detecting that the withdrawn target message in a second session interface of the second electronic device is restored to be displayed, or the target message is hidden 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 sub-module is used for receiving prompt information sent by the second electronic equipment, wherein the prompt information is used for indicating that the target message in the second session interface is restored to be displayed;
the second receiving sub-module is used for receiving a second input of the prompt information by the first user;
and the first display sub-module is used for 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.
10. The apparatus of claim 8, wherein the first display module comprises:
and the second display sub-module is used for displaying the target message on the first session interface in a first mode, wherein the first mode is different from the display modes of other messages in the first session interface.
11. A display device for withdrawing a message, the display device being applied to a second electronic device, the second electronic device being a message sender and corresponding to a second user, the device comprising:
a second receiving module, configured to receive a third input of a second user to a second session interface if a target message in the second session interface has been cancelled from being displayed, where the third input is used to trigger to resume display of the target message, and the target message is a message sent by the second electronic device to the first electronic device; the first electronic equipment is a message receiving end and corresponds to a first user, if the second electronic equipment determines that the second user mind the first user sees the target message, the target message is selected to be withdrawn, and the target message can only be viewed by the second user after being withdrawn; if the second electronic equipment determines that the second user does not mind that the first user sees the target message, selecting to hide the target message, wherein the target message can be viewed by the first user and the second user after being hidden;
and the second display module is used for responding to the third input and displaying the target message on the second session interface in a second mode, wherein the second mode is different from the display mode of other messages in the second session interface, 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 operation of a hidden control.
12. The apparatus of claim 11, wherein the apparatus further comprises:
and the sending module is used for sending prompt information to the first electronic equipment, wherein the prompt information is used for indicating that the target message in the second session interface is restored to be displayed.
13. An electronic device comprising a processor, a memory and a program or instruction stored on said memory and executable on said processor, said program or instruction when executed by said processor implementing the steps of the method of displaying a revocation message as claimed in any of claims 1 to 7.
14. A readable storage medium, characterized in that it has stored thereon a program or instructions which, when executed by a processor, are adapted to carry out the steps of the method for displaying a revocation message 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 CN113992615A (en) 2022-01-28
CN113992615B true 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)

Families Citing this family (2)

* 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
CN115220619A (en) * 2022-06-06 2022-10-21 网易(杭州)网络有限公司 Message processing method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7752271B2 (en) * 2004-06-01 2010-07-06 International Business Machines Corporation Method of retracting an instant message
US20130145474A1 (en) * 2011-12-06 2013-06-06 Activepath Ltd. Concealing and revealing message data
KR102104385B1 (en) * 2013-10-04 2020-04-24 삼성전자주식회사 Instant message transmitting and receiveing system, terminal device and controlling method thereof
CN105490919B (en) * 2015-11-24 2019-11-08 小米科技有限责任公司 Message cancelling method and device
CN106330687B (en) * 2016-10-17 2019-09-13 腾讯科技(深圳)有限公司 Message treatment method, apparatus and system
CN108632129B (en) * 2017-03-15 2021-07-02 阿里巴巴集团控股有限公司 Message prompting method, message display method and related device
CN109688042B (en) * 2017-10-18 2021-12-31 阿里巴巴集团控股有限公司 Message processing method and device
US11140151B2 (en) * 2017-12-05 2021-10-05 Jae Ho SUNG Method for providing message hidden services in chatting windows
CN108566332B (en) * 2018-04-17 2022-07-08 广州腾讯科技有限公司 Instant messaging information processing method, device and storage medium
US11082378B2 (en) * 2019-04-10 2021-08-03 Microsoft Technology Licensing, Llc Tracing messages within a message chain
CN111641554B (en) * 2020-06-02 2022-03-04 Oppo广东移动通信有限公司 Message processing method and device and computer readable storage medium
CN111800333B (en) * 2020-06-11 2021-12-31 腾讯科技(深圳)有限公司 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
CN113518026B (en) * 2021-03-25 2023-06-06 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN113992615B (en) * 2021-10-26 2023-05-26 维沃移动通信有限公司 Method and device for displaying withdrawal message, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
WO2023072150A1 (en) 2023-05-04
CN113992615A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
CN113992615B (en) Method and device for displaying withdrawal message, electronic equipment and storage medium
CN113141293B (en) Message display method and device and electronic equipment
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN112671635B (en) Sending method, device and electronic equipment
CN112947829B (en) Misoperation processing method and device, electronic equipment and readable storage medium
CN112417420A (en) Information processing method and device and electronic equipment
CN112422735B (en) Information prompting method and device
CN113709306B (en) Session processing method and device and electronic equipment
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
CN112181351A (en) Voice input method and device and electronic equipment
CN113965640B (en) Message processing method and device
CN112764628B (en) Content display method, content display device, electronic equipment and storage medium
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN112286615A (en) Information display method and device of application program
CN111880702A (en) Interface switching method and device and electronic equipment
CN113126780A (en) Input method, input device, electronic equipment and readable storage medium
CN112416202B (en) Message notification method and device and electronic equipment
CN112437196B (en) Page display method and device and electronic equipment
CN113824841B (en) Notification message processing method and device, electronic equipment and readable storage medium
CN112291412B (en) Application program control method and device and electronic equipment
CN113268300B (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