CN113157162A - Method, apparatus, medium and program product for revoking session messages - Google Patents

Method, apparatus, medium and program product for revoking session messages Download PDF

Info

Publication number
CN113157162A
CN113157162A CN202110441043.3A CN202110441043A CN113157162A CN 113157162 A CN113157162 A CN 113157162A CN 202110441043 A CN202110441043 A CN 202110441043A CN 113157162 A CN113157162 A CN 113157162A
Authority
CN
China
Prior art keywords
session
user
session message
revocation
users
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
CN202110441043.3A
Other languages
Chinese (zh)
Other versions
CN113157162B (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN202110441043.3A priority Critical patent/CN113157162B/en
Publication of CN113157162A publication Critical patent/CN113157162A/en
Application granted granted Critical
Publication of CN113157162B publication Critical patent/CN113157162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Abstract

An object of the present application is to provide a method, apparatus, medium and program product for revoking session messages, the method comprising: the method comprises the steps that reading state information of a first session message sent by a first user is obtained from network equipment in response to a first trigger operation executed by the first user in a session page aiming at the first session message; if the reading state information indicates that the first session message meets the preset reading condition, presenting a first withdrawal button on the session page in a first presentation mode; responding to a second triggering operation executed by the first user for the first withdrawing button, acquiring withdrawing reason information input by the first user, generating a first withdrawing request corresponding to the first session message and sending the first withdrawing request to the network equipment, so that the network equipment withdraws the first session message in the session, and sending the withdrawing reason information to one or more other users in the session and presenting the withdrawing reason information.

Description

Method, apparatus, medium and program product for revoking session messages
Technical Field
The present application relates to the field of communications, and more particularly, to a technique for revoking session messages.
Background
In the prior art, all large social software provides a message withdrawal mode, but before the message withdrawal happens frequently, the message is already seen by the opposite party or friends in the group, and unnecessary embarrassment is caused sometimes.
Disclosure of Invention
It is an object of the present application to provide a method, apparatus, medium and program product for revoking session messages.
According to an aspect of the present application, there is provided a method for revoking session messages, the method comprising:
the method comprises the steps that reading state information of a first session message sent by a first user is obtained from network equipment in response to a first trigger operation executed by the first user in a session page aiming at the first session message;
if the reading state information indicates that the first session message meets the preset reading condition, presenting a first withdrawal button on the session page through a first presentation mode, and otherwise, presenting a second withdrawal button on the session page through a second presentation mode, wherein the first presentation mode is different from the second presentation mode;
responding to a second triggering operation executed by the first user for the first revocation button, acquiring revocation reason information input by the first user, generating a first revocation request corresponding to the first session message and sending the first revocation request to the network equipment, wherein the first revocation request comprises the revocation reason information, so that the network equipment revokes the first session message in the session, and sends the revocation reason information to one or more other users in the session and performs presentation.
According to an aspect of the present application, there is provided a first user equipment for revoking a session message, the apparatus comprising:
a one-to-one module, configured to, in response to a first trigger operation performed by a first user in a session page for a first session message that has been sent by the first user, obtain, from a network device, reading state information of the first session message;
a second module, configured to present a first recall button on the conversation page in a first presentation manner if the reading status information indicates that the first session message satisfies a predetermined read condition, and otherwise present a second recall button on the conversation page in a second presentation manner, where the first presentation manner is different from the second presentation manner;
and a third module, configured to, in response to a second trigger operation performed by the first user with respect to the first revocation button, obtain revocation reason information input by the first user, generate a first revocation request corresponding to the first session message, and send the first revocation request to the network device, where the first revocation request includes the revocation reason information, so that the network device revokes the first session message in the session, and sends the revocation reason information to one or more other users in the session and performs presentation.
According to an aspect of the application, there is provided a computer device for use comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to implement the operations of any of the methods described above.
According to an aspect of the application, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the operations of any of the methods described above.
According to an aspect of the application, a computer program product is provided, comprising a computer program which, when executed by a processor, carries out the steps of any of the methods as described above.
Compared with the prior art, the method and the device have the advantages that reading state information of a first session message is obtained from a network device through a first triggering operation executed by a first user in a session page for the first session message sent by the first user, if the reading state information indicates that the first session message meets a preset reading condition, a first withdrawal button is presented on the session page through a first presentation mode, otherwise, a second withdrawal button is presented on the session page through a second presentation mode, wherein the first presentation mode is different from the second presentation mode, withdrawal reason information input by the first user is obtained in response to a second triggering operation executed by the first user for the first withdrawal button, a first withdrawal request corresponding to the first session message is generated and sent to the network device, the first withdrawing request comprises the withdrawing reason information, so that the network equipment withdraws the first session message in the session, and sends the withdrawing reason information to one or more other users in the session and presents the withdrawing reason information, thereby reducing the embarrassment of the user in withdrawing the session message which is read by other users, and greatly improving the user experience of withdrawing the session message.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method for revoking session messages according to one embodiment of the present application;
fig. 2 illustrates a first user equipment structure diagram for revoking session messages according to one embodiment of the present application;
FIG. 3 illustrates a flow diagram of a method for revoking session messages according to one embodiment of the present application;
FIG. 4 illustrates a flow diagram of a method for revoking session messages according to one embodiment of the present application;
FIG. 5 illustrates a flow diagram of a method for revoking session messages according to one embodiment of the present application;
FIG. 6 illustrates a flow diagram of a method for revoking session messages according to one embodiment of the present application;
FIG. 7 illustrates a flow diagram of a method for revoking session messages according to one embodiment of the present application;
FIG. 8 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (e.g., Central Processing Units (CPUs)), input/output interfaces, network interfaces, and memory.
The Memory may include forms of volatile Memory, Random Access Memory (RAM), and/or non-volatile Memory in a computer-readable medium, such as Read Only Memory (ROM) or Flash Memory. Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The device referred to in the present application includes, but is not limited to, a terminal, a network device, or a device formed by integrating a terminal and a network device through a network. The terminal includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an Android operating system, an iOS operating system, etc. The network Device includes an electronic Device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded Device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the terminal, the network device, or a device formed by integrating the terminal and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Fig. 1 shows a flowchart of a method for revoking session messages according to one embodiment of the present application, the method comprising step S11, step S12 and step S13. In step S11, the first user device obtains, from the network device, reading status information of a first session message sent by the first user in response to a first trigger operation performed by the first user in the session page for the first session message; in step S12, the first user equipment presents a first revocation button on the session page through a first presentation manner if the reading status information indicates that the first session message satisfies a predetermined read condition, otherwise presents a second revocation button on the session page through a second presentation manner, wherein the first presentation manner is different from the second presentation manner; in step S13, in response to a second triggering operation performed by the first user with respect to the first revocation button, the first user device obtains revocation reason information input by the first user, generates a first revocation request corresponding to the first session message, and sends the first revocation request to the network device, where the first revocation request includes the revocation reason information, so that the network device revokes the first session message in the session, and sends the revocation reason information to one or more other users in the session and performs presentation.
In step S11, the first user device obtains, from the network device, reading status information of a first session message sent by the first user in response to a first trigger operation performed by the first user in the session page for the first session message. In some embodiments, the session page may be a one-to-one private chat session page or a group chat session page. In some embodiments, the first user may withdraw any session message that has been sent by the first user in the session, or the first user may withdraw only session messages whose sending time in the session is less than or equal to a predetermined time interval from the current time, for example, the first user may withdraw only session messages that have been sent by the first user within 1 minute. In some embodiments, after the first user performs the first triggering operation on the first session message, the first user device may first detect whether a time interval between a sending time corresponding to the first session message and a current time is less than or equal to a predetermined time interval, and only if so, may obtain the reading state information of the first session message from the network device. In some embodiments, the first user device generates and sends a reading status obtaining request about a first session message to the network device, where the reading status obtaining request includes identification information of the first session message and/or identification information of the session, and after receiving the reading status obtaining request, the network device may generate and return, to the first user device, reading status information of the first session message according to currently received reading indication information about the first session message sent by at least one other user in the session, or after receiving the reading status obtaining request, the network device may also send the reading status obtaining request to one or more second user devices corresponding to all other users in the session, and then return, according to the received reading status obtaining request, to the at least one second user device in the one or more second user devices And reading the indication information to generate reading state information of the first session message and returning the reading state information to the first user equipment. In some embodiments, the read indication information sent by one other user is used for indicating that the other user has read the first session message, and the read indication information comprises the identification information of the other user. In some embodiments, the reading status information includes, but is not limited to, quantity information of other users who have read the first session message and/or identification information of one or more other users who have read the first session message.
In step S12, the first user equipment presents a first revocation button on the session page through a first presentation manner if the reading status information indicates that the first session message satisfies a predetermined read condition, and otherwise presents a second revocation button on the session page through a second presentation manner, wherein the first presentation manner is different from the second presentation manner. In some embodiments, the predetermined read condition includes, but is not limited to, that at least one other user in the session has read the first session message, that a predetermined number (e.g., 5) of other users in the session have read the first session, that a predetermined proportion (e.g., 50%) of other users in the session have read the first session, that if the reading status information indicates that the first session message satisfies the predetermined read condition, a first recall button is presented on the session page by a first presentation style, and that otherwise a second recall button is presented on the session page by a second presentation style, the first presentation style being different from the second presentation style, including, but not limited to, differences in the recall button style (e.g., differences in button color), differences in the display text of the recall button, differences in the area display text near the recall button, Differences in the text style in which the text is displayed on the recall button, etc. (e.g., differences in the font color of the text, differences in whether the text is highlighted, etc.).
In step S13, in response to a second triggering operation performed by the first user with respect to the first revocation button, the first user device obtains revocation reason information input by the first user, generates a first revocation request corresponding to the first session message, and sends the first revocation request to the network device, where the first revocation request includes the revocation reason information, so that the network device revokes the first session message in the session, and sends the revocation reason information to one or more other users in the session and performs presentation. In some embodiments, the second trigger operation includes, but is not limited to, a click, double click, long press, etc. operation. In some embodiments, in response to a second trigger operation performed by the first user with respect to the first revocation button, a revocation reason input box is presented on the conversation page for the first user to input a revocation reason corresponding to the first session message, or a plurality of default revocation reasons are presented on the conversation page for the first user to select. In some embodiments, a revocation reason input by a first user or a revocation reason selected from a plurality of default revocation reasons is obtained, a first revocation request corresponding to a first session message is generated and sent to the network device, and the first revocation request includes the revocation route, or further includes identification information of the session and/or identification information of the first session message. In some embodiments, the network device may revoke the first session message for all other users in the session after receiving the first revoke request, or may revoke the first session message only for all other users in the session who have read the first session message. In some embodiments, the revocation reason may be directly sent to and presented by all other users in the session or all other users who have read the first session message, or a revocation message may be generated according to the revocation reason information and then sent to and presented by all other users in the session or all other users who have read the first session message, where the message format of the revocation message may be "a revokes a message for a reason B", where a is the user name or user nickname of the first user and B is the revocation reason. In some embodiments, the first user equipment may send the revocation reason input by the first user to the network equipment, and then the network equipment generates a corresponding revocation message according to the revocation reason, or the first user equipment may generate a corresponding revocation message according to the revocation reason input by the first user and send the revocation message to the network equipment. In some embodiments, after receiving the revocation reason or the revocation message, the second user equipment corresponding to the other user may display the revocation reason or the revocation message at or near the original presentation position of the first session message in the session page corresponding to the session, or may also display the revocation reason or the revocation message at the end of the session page. The method and the device can reduce the embarrassment of the user when the user withdraws the session message which is read by other users, and can greatly improve the user experience of withdrawing the session message.
In some embodiments, the method further comprises: and the first user equipment generates a second withdrawing request corresponding to the first session message in response to a third triggering operation of the first user on the second withdrawing button and sends the second withdrawing request to the network equipment so as to enable the network equipment to withdraw the first session message in the session for all other users in the session. In some embodiments, the third trigger operation includes, but is not limited to, a click, double click, long press, etc. operation. In some embodiments, as shown in fig. 3, in response to a third triggering operation of the first user on the second recall button, a second recall request corresponding to the first session message is generated and sent to the network device, where the second recall request includes, but is not limited to, identification information of the session and identification information of the first session message, and after receiving the second recall request, the network device recalls the first session message directly for all other users in the session.
In some embodiments, the reading status information is generated by the network device according to read indication information about the first session message sent by at least one other user in the session. In some embodiments, for each other user in the session, in the process that the other user browses the session page corresponding to the session, if the first session message is presented in the current page, the second user equipment corresponding to the other user generates read indication information about the first session message and sends the read indication information to the network device, where the read indication information is used to indicate that the other user has read the first session message. In some embodiments, the second user equipment generates and sends the read indication information about the first session message to the network device only when the first session message is presented in the current page for a time period greater than or equal to a predetermined time period threshold (e.g., 1 second). In some embodiments, the first user equipment generates a reading status acquisition request related to the first session message and sends the reading status acquisition request to the network device, and after receiving the reading status acquisition request, the network device generates reading status information of the first session message according to the currently received reading indication information related to the first session message sent by at least one other user in the session and returns the reading status information to the first user equipment.
In some embodiments, the read conditions include, but are not limited to: at least one other user in the session has read the first session message; a predetermined number of other users in the session have read the first session; a predetermined percentage of other users in the session have read the first session. In some embodiments, the read conditions include, but are not limited to, at least one other user in the session having read the first session message, a predetermined number (e.g., 5) of other users in the session having read the first session, a predetermined percentage (e.g., 50%) of the other users in the session having read the first session.
In some embodiments, the method further comprises step S14 (not shown). In step S14, in response to a fourth triggering operation performed by the first user on the first recall button, the first user device generates and sends a third recall request corresponding to the first session message to a network device, so that the network device recalls the first session message in the session. In some embodiments, the fourth trigger operation is different from the second trigger operation, that is, if the second trigger operation is a click, the fourth trigger operation includes, but is not limited to, a double click, a long press, and other operations, if the second trigger operation is a double click, the fourth trigger operation includes, but is not limited to, a click, a long press, and other operations, and if the second trigger operation is a long press, the fourth trigger operation includes, but is not limited to, a click, a double click, and other operations. In some embodiments, as shown in fig. 4, in response to a fourth triggering operation of the first user on the first recall button, a third recall request corresponding to the first session message is generated and sent to the network device, where the third recall request includes, but is not limited to, identification information of the session and identification information of the first session message, and after receiving the third recall request, the network device recalls the first session message directly for all other users in the session.
In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message; wherein the step S14 includes: the first user equipment presents identification information of one or more second users who have read the first session message in response to a fourth triggering operation executed by the first user for the first revocation button; and acquiring at least one target second user selected by the first user from the one or more second users, generating a third revocation request corresponding to the first session message, and sending the third revocation request to the network device, wherein the third revocation request includes identification information of the at least one target second user, so that the network device revokes the first session message in the session only for other users who do not read the first session message and other second users who read the first session message except the at least one target second user, or so that the network device revokes the first session message only for other users who do not read the first session message and the at least one target second revocation user in the session. In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message, as shown in fig. 5, in response to a fourth triggering operation performed by the first user for the first recall button, the identification information of the one or more second users is presented on the session page for the first user to select, according to the identification information of at least one target second user selected by the first user, a third recall request corresponding to the first session message is generated and sent to the network device, the third recall request includes the identification information of the at least one target second user, or further includes the identification information of the session and/or the identification information of the first session message, and after receiving the third recall request, the network device only recalls the first session message for all other users who have not read the first session message and the at least one target second user, or withdrawing the first session message only for all other users in the session who have not read the first session message and other second users except the at least one target second user who have read the first session message.
In some embodiments, the network device withdraws the first session message in the session only for at least one fourth user that did not read the first session message. In some embodiments, the network device receives the third revoke request and revokes the first session message only for all other users of the session who did not read the first session message.
In some embodiments, the network device withdraws the first session message in the session only for the at least one fourth user and at least one of the one or more second users that is not currently reading the first session message. In some embodiments, the network device receives the third revoke request and revokes the first session message only for all other users in the session who have not read the first session message and at least one second user, of the one or more second users who have read the first session message, who is not currently reading the first session message. In some embodiments, as an implementation, the network device may, after receiving the third revocation request, sending a current reading state acquisition request related to the first session message to second user equipment corresponding to each second user who has read the first session message, after the second user equipment receives the current reading state acquisition request, judging whether the current page is presenting the conversation page corresponding to the conversation and whether the first conversation message is presented in the conversation page, if the two conditions are met simultaneously, determining that the second user is currently reading the first session message, otherwise determining that the second user is not currently reading the first session message, then generating current reading indication information about the first session message and returning to the network device, the current reading indication information is used for indicating whether the second user is currently reading the first session message. In some embodiments, as another implementation manner, for each other user in the session, during the process that the other user browses the session page corresponding to the session, if the first session message starts to be presented in the current page, the second user equipment corresponding to the other user generates reading start indication information about the first session message and sends the reading start indication information to the network device, and then if the first session message finishes to be presented from the current page, the second user equipment generates reading end indication information about the first session message and sends the reading end indication information to the network device. In some embodiments, after receiving the third revocation request, for each other user in the session, if only reading start indication information about the first session message sent by the other user has been currently received, and reading end indication information about the first session message sent by the other user has not been received, it may be determined that the other user is currently reading the first session message, and if reading start indication information and reading end indication information about the first session message sent by the other user have been currently received, it may be determined that the other user has read the first session message but is not currently reading the first session message.
In some embodiments, the network device sends and presents only the revocation reason information to one or more second users of the session who have read the first session message. In some embodiments, only the revocation reason for the first session message entered by the first user may be sent to and presented by all other users in the session who have read the first session message.
In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message; wherein the step S13 includes steps S131 (not shown), S132 (not shown), and S133 (not shown). In step S131, the first user equipment presents identification information of one or more second users who have read the first session message in response to a second triggering operation performed by the first user for the first recall button; in step S132, a first user device acquires at least one target second user selected by the first user from the one or second users and revocation reason information input by the first user; in step S133, the first user equipment generates a first revocation request corresponding to the first session message and sends the first revocation request to the network device, where the first revocation request includes the revocation reason information and the identification information of the at least one target second user, so that the network device revokes the first session message in the session, and sends and presents only the revocation reason information to the at least one target second user. In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message, as shown in fig. 6, in response to a second triggering operation performed by the first user for the first revocation button, the identification information of the one or more second users is presented for the first user to select, according to at least one target second user selected by the first user and a revocation reason input by the first user, a first revocation request corresponding to the first session message is generated and sent to the network device, the first revocation request includes the revocation reason and the identification information of the at least one target second user, or further includes the identification information of the session and/or the identification information of the first session message, and after receiving the first revocation request, the network device may revoke the first session message for all other users in the session, alternatively, the first session message may be revoked only for all other users in the session who do not read the first session message, or the first session message may be revoked only for all other users who do not read the first session message and the at least one target second user selected by the first user. In some embodiments, if the first session is revoked for all other users in the session, or the first session message is revoked only for all other users who have not read the first session message and the at least one target second user selected by the first user, the revocation reason information input by the first user is only sent to the at least one target second user selected by the first user and presented.
In some embodiments, the step S132 includes: s, first user equipment acquires at least one target second user selected by the first user from the one or the second users and acquires revocation reason information input by the first user aiming at the at least one target second user; repeatedly executing the step S, and acquiring one or more revocation reason information and at least one target second user associated with each revocation reason information; wherein the step S133 includes: and the first user equipment generates a first revocation request corresponding to the first session message and sends the first revocation request to the network equipment, wherein the first revocation request comprises the one or more revocation reason information and the identification information of at least one target second user associated with each revocation reason information, so that the network equipment revokes the first session message in the session, and only sends and presents each revocation reason information to at least one target second user associated with the revocation reason information. In some embodiments, each time the first user selects at least one target second user from the one or more second users who have read the first session message, the first user inputs a revocation reason for the at least one target second user, and then the selecting operation and the revocation reason inputting operation are repeatedly performed to achieve that different target second users respectively correspond to different revocation reasons, that is, different revocation reasons are respectively presented on second user devices corresponding to different target second users. In some embodiments, a first revocation request corresponding to a first session message is generated and sent to the network device, where the first revocation request includes one or more revocation reasons input by a first user and identification information of at least one target second user associated with each revocation reason, and after receiving the first revocation request, the network device revokes the first session message in the session and sends each revocation reason of the one or more revocation reasons to the at least one target second user associated with the revocation reason and performs presentation.
In some embodiments, the network device sends and presents the revocation reason information only to at least one of the one or more second users that is currently reading the first session message. In some embodiments, after receiving the first revocation request, the network device revokes the first session message in the session, and sends and presents only the revocation reason input by the first user to at least one second user, which is currently reading the first session message, of the one or more second users reading the first session message, and the method for the network device to determine whether a certain second user is currently reading the first session message is described in detail in the foregoing text and is not described in detail herein.
In some embodiments, the reading status information includes quantity information of second users who have read the first session message and/or identification information of one or more second users who have read the first session message; wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising: presenting the quantity information and/or the identification information on the session page. In some embodiments, the reading status information includes quantity information (e.g., 10) of the second users who have read the first session message and/or identification information of one or more second users who have read the first session message, and at this time, the quantity information and/or the identification information are presented on the session page while the first withdrawal button is presented on the session page corresponding to the session in the first presentation manner, so as to provide a reference when the first user considers whether to withdraw the first session message.
In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message and identification information of a target second user of the one or more second users who are currently reading the first session message; wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising: and presenting the identification information of the target second user on the session page in a third presentation mode, and presenting the identification information of other second users except the target second user in a fourth mode, wherein the third presentation mode is different from the fourth presentation mode. In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message and identification information of at least one target second user of the one or more second users who are currently reading the first session message, at this time, while the first recall button is presented on the session page corresponding to the session in the first presentation manner, the identification information of the at least one target second user is also presented on the session page in the third presentation manner, and the identification information of other second users than the at least one target second user of the one or more second users is presented in the fourth presentation manner, where the third presentation manner is different from the fourth presentation manner, specifically, but not limited to, a difference on the displayed text of the identification information (for example, adding text "currently reading" behind the identification information of the target second user who is currently reading the first session message "), differences in the display pattern of the identification information (e.g., highlighting the identification information of the target second user currently reading the first session message), etc., for the purpose of alerting the first user. In some embodiments, the method for the network device to determine whether a second user is currently reading the first session message is described in detail in the foregoing, and is not described herein again.
In some embodiments, the target second user is determined by the network device according to reading start indication information about the first session message sent by the one or more second users and reading end indication information about the first session message sent by at least one third user of the one or more second users. In some embodiments, for each other user in the session, during the process that the other user browses the session page corresponding to the session, if the first session message starts to be presented in the current page, the second user equipment corresponding to the other user generates reading start indication information about the first session message and sends the reading start indication information to the network device, and then if the first session message finishes to be presented from the current page, the second user equipment generates reading end indication information about the first session message and sends the reading end indication information to the network device. In some embodiments, after receiving the reading status obtaining request, for each second user in the session who has read the first session message, if only the reading start indication information about the first session message sent by the second user has been currently received, but the reading end indication information about the first session message sent by the second user has not been received, it may be determined that the second user is currently reading the first session message, and if the reading start indication information and the reading end indication information about the first session message sent by the second user have been currently received, it may be determined that the second user has read the first session message but is not currently reading the first session message.
In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message and reading duration information of each second user for the first session message; wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising: and presenting the identification information and the reading duration information on the session page. In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message and reading duration information (e.g., 5 seconds) of each second user for the first session message, and at this time, while presenting the first withdrawal button on the session page corresponding to the session in the first presentation manner, the identification information of each second user who has read the first session message and the reading duration information for the first session message are also presented on the session page, so as to provide a reference when the first user considers whether to withdraw the first session message. In some embodiments, the reading duration information of each second user for the first session message may be determined by the network device according to the reading start indication information about the first session message sent by one or more third users in the session and the reading end indication information about the first session message sent by at least one third user of the one or more third users, or, after each third user in the session finishes reading the first session message, the reading duration information about the first session message of the third user is calculated and sent to the network device by the third user device corresponding to the third user, or, after the reading duration information about the first session message of the third user is calculated by the third user device, the reading duration information about the first session message of the third user is stored locally in the third user device, and then, after receiving the reading status acquisition request by the network device, and generating a reading time length acquisition request related to the first session message, sending the reading time length acquisition request to each other user in the session or each second user reading the first session message, and then receiving reading time length information, which is returned by each second user device and corresponds to the second user device, of the first session message.
In some embodiments, the reading duration information is determined by the network device according to the reading start indication information about the first session message sent by the one or more second users and the reading end indication information about the first session message sent by at least one third user of the one or more second users. In some embodiments, after receiving the reading status obtaining request, for each second user that has read the first session message in the session, if the reading start indication information and the reading end indication information about the first session message sent by the second user are currently received, determining, according to a difference between a receiving time corresponding to the reading start indication information and a receiving time corresponding to the reading end indication information, a reading time duration of the second user for the first session message, if the reading start indication information and the reading end indication information about the first session message sent by the second user are not currently received, determining that the second user has not read the first session message, where a corresponding reading time duration for the first session message is 0, and if only the reading start indication information about the first session message sent by the second user is currently received, however, the reading end indication information about the first session message sent by the second user has not been received, it may be determined that the second user is currently reading the first session message, and the reading time duration of the second user for the first session message may be determined according to a difference between the receiving time of the reading start indication information and the current time.
Fig. 2 shows a first user equipment structure diagram for revoking session messages according to an embodiment of the present application, which includes a one-module 11, a two-module 12 and a three-module 13. A module 11, configured to, in response to a first trigger operation performed by a first user in a session page for a first session message that has been sent by the first user, obtain, from a network device, reading status information of the first session message; a second module 12, configured to present a first recall button on the conversation page in a first presentation manner if the reading status information indicates that the first session message satisfies a predetermined read condition, and otherwise present a second recall button on the conversation page in a second presentation manner, where the first presentation manner is different from the second presentation manner; a third module 13, configured to, in response to a second trigger operation performed by the first user with respect to the first revocation button, obtain revocation reason information input by the first user, generate a first revocation request corresponding to the first session message, and send the first revocation request to the network device, where the first revocation request includes the revocation reason information, so that the network device revokes the first session message in the session, and sends the revocation reason information to one or more other users in the session and performs presentation.
A module 11, configured to, in response to a first trigger operation performed by a first user in a session page for a first session message that has been sent by the first user, obtain, from a network device, reading status information of the first session message. In some embodiments, the session page may be a one-to-one private chat session page or a group chat session page. In some embodiments, the first user may withdraw any session message that has been sent by the first user in the session, or the first user may withdraw only session messages whose sending time in the session is less than or equal to a predetermined time interval from the current time, for example, the first user may withdraw only session messages that have been sent by the first user within 1 minute. In some embodiments, after the first user performs the first triggering operation on the first session message, the first user device may first detect whether a time interval between a sending time corresponding to the first session message and a current time is less than or equal to a predetermined time interval, and only if so, may obtain the reading state information of the first session message from the network device. In some embodiments, the first user device generates and sends a reading status obtaining request about a first session message to the network device, where the reading status obtaining request includes identification information of the first session message and/or identification information of the session, and after receiving the reading status obtaining request, the network device may generate and return, to the first user device, reading status information of the first session message according to currently received reading indication information about the first session message sent by at least one other user in the session, or after receiving the reading status obtaining request, the network device may also send the reading status obtaining request to one or more second user devices corresponding to all other users in the session, and then return, according to the received reading status obtaining request, to the at least one second user device in the one or more second user devices And reading the indication information to generate reading state information of the first session message and returning the reading state information to the first user equipment. In some embodiments, the read indication information sent by one other user is used for indicating that the other user has read the first session message, and the read indication information comprises the identification information of the other user. In some embodiments, the reading status information includes, but is not limited to, quantity information of other users who have read the first session message and/or identification information of one or more other users who have read the first session message.
A second module 12, configured to present a first revocation button on the conversation page through a first presentation manner if the reading status information indicates that the first session message satisfies a predetermined read condition, and otherwise, present a second revocation button on the conversation page through a second presentation manner, where the first presentation manner is different from the second presentation manner. In some embodiments, the predetermined read condition includes, but is not limited to, that at least one other user in the session has read the first session message, that a predetermined number (e.g., 5) of other users in the session have read the first session, that a predetermined proportion (e.g., 50%) of other users in the session have read the first session, that if the reading status information indicates that the first session message satisfies the predetermined read condition, a first recall button is presented on the session page by a first presentation style, and that otherwise a second recall button is presented on the session page by a second presentation style, the first presentation style being different from the second presentation style, including, but not limited to, differences in the recall button style (e.g., differences in button color), differences in the display text of the recall button, differences in the area display text near the recall button, Differences in the text style in which the text is displayed on the recall button, etc. (e.g., differences in the font color of the text, differences in whether the text is highlighted, etc.).
A third module 13, configured to, in response to a second trigger operation performed by the first user with respect to the first revocation button, obtain revocation reason information input by the first user, generate a first revocation request corresponding to the first session message, and send the first revocation request to the network device, where the first revocation request includes the revocation reason information, so that the network device revokes the first session message in the session, and sends the revocation reason information to one or more other users in the session and performs presentation. In some embodiments, the second trigger operation includes, but is not limited to, a click, double click, long press, etc. operation. In some embodiments, in response to a second trigger operation performed by the first user with respect to the first revocation button, a revocation reason input box is presented on the conversation page for the first user to input a revocation reason corresponding to the first session message, or a plurality of default revocation reasons are presented on the conversation page for the first user to select. In some embodiments, a revocation reason input by a first user or a revocation reason selected from a plurality of default revocation reasons is obtained, a first revocation request corresponding to a first session message is generated and sent to the network device, and the first revocation request includes the revocation route, or further includes identification information of the session and/or identification information of the first session message. In some embodiments, the network device may revoke the first session message for all other users in the session after receiving the first revoke request, or may revoke the first session message only for all other users in the session who have read the first session message. In some embodiments, the revocation reason may be directly sent to and presented by all other users in the session or all other users who have read the first session message, or a revocation message may be generated according to the revocation reason information and then sent to and presented by all other users in the session or all other users who have read the first session message, where the message format of the revocation message may be "a revokes a message for a reason B", where a is the user name or user nickname of the first user and B is the revocation reason. In some embodiments, the first user equipment may send the revocation reason input by the first user to the network equipment, and then the network equipment generates a corresponding revocation message according to the revocation reason, or the first user equipment may generate a corresponding revocation message according to the revocation reason input by the first user and send the revocation message to the network equipment. In some embodiments, after receiving the revocation reason or the revocation message, the second user equipment corresponding to the other user may display the revocation reason or the revocation message at or near the original presentation position of the first session message in the session page corresponding to the session, or may also display the revocation reason or the revocation message at the end of the session page. The method and the device can reduce the embarrassment of the user when the user withdraws the session message which is read by other users, and can greatly improve the user experience of withdrawing the session message.
In some embodiments, the apparatus is further configured to: and in response to a third triggering operation of the first user on the second withdrawing button, generating a second withdrawing request corresponding to the first session message and sending the second withdrawing request to the network equipment, so that the network equipment withdraws the first session message in the session for all other users in the session. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the reading status information is generated by the network device according to read indication information about the first session message sent by at least one other user in the session. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the read conditions include, but are not limited to: at least one other user in the session has read the first session message; a predetermined number of other users in the session have read the first session; a predetermined percentage of other users in the session have read the first session. The reading conditions are the same as or similar to those in the embodiment shown in FIG. 1, and are therefore not repeated herein, and are incorporated by reference.
In some embodiments, the apparatus further comprises a quad-module 14 (not shown). A fourth module 14, configured to, in response to a fourth triggering operation performed by the first user on the first recall button, generate and send a third recall request corresponding to the first session message to a network device, so that the network device recalls the first session message in the session. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message; wherein the four modules 14 are configured to: presenting, in response to a fourth triggering operation performed by the first user with respect to the first recall button, identification information of one or more second users who have read the first session message; and acquiring at least one target second user selected by the first user from the one or more second users, generating a third revocation request corresponding to the first session message, and sending the third revocation request to the network device, wherein the third revocation request includes identification information of the at least one target second user, so that the network device revokes the first session message in the session only for other users who do not read the first session message and other second users who read the first session message except the at least one target second user, or so that the network device revokes the first session message only for other users who do not read the first session message and the at least one target second revocation user in the session. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the network device withdraws the first session message in the session only for at least one fourth user that did not read the first session message. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the network device withdraws the first session message in the session only for the at least one fourth user and at least one of the one or more second users that is not currently reading the first session message. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the network device sends and presents only the revocation reason information to one or more second users of the session who have read the first session message. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message; the one-three module 13 includes a three-one module 131 (not shown), a three-two module 132 (not shown), and a three-three module 133 (not shown). A third-in-one module 131 for presenting identification information of one or more second users who have read the first session message in response to a second triggering operation performed by the first user with respect to the first recall button; a third and second module 132, configured to obtain at least one target second user selected by the first user among the one or second users and revocation reason information input by the first user; a thirty-three module 133, configured to generate a first revocation request corresponding to the first session message and send the first revocation request to a network device, where the first revocation request includes the revocation reason information and the identification information of the at least one target second user, so that the network device revokes the first session message in the session and sends and presents only the revocation reason information to the at least one target second user. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the one, three, two module 132 is configured to: s, first user equipment acquires at least one target second user selected by the first user from the one or the second users and acquires revocation reason information input by the first user aiming at the at least one target second user; repeatedly executing the step S, and acquiring one or more revocation reason information and at least one target second user associated with each revocation reason information; wherein the one, three and three modules 133 are configured to: and the first user equipment generates a first revocation request corresponding to the first session message and sends the first revocation request to the network equipment, wherein the first revocation request comprises the one or more revocation reason information and the identification information of at least one target second user associated with each revocation reason information, so that the network equipment revokes the first session message in the session, and only sends and presents each revocation reason information to at least one target second user associated with the revocation reason information. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the network device sends and presents the revocation reason information only to at least one of the one or more second users that is currently reading the first session message. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the reading status information includes quantity information of second users who have read the first session message and/or identification information of one or more second users who have read the first session message; wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising: presenting the quantity information and/or the identification information on the session page. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message and identification information of a target second user of the one or more second users who are currently reading the first session message; wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising: and presenting the identification information of the target second user on the session page in a third presentation mode, and presenting the identification information of other second users except the target second user in a fourth mode, wherein the third presentation mode is different from the fourth presentation mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the target second user is determined by the network device according to reading start indication information about the first session message sent by the one or more second users and reading end indication information about the first session message sent by at least one third user of the one or more second users. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the reading status information includes identification information of one or more second users who have read the first session message and reading duration information of each second user for the first session message; wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising: and presenting the identification information and the reading duration information on the session page. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the reading duration information is determined by the network device according to the reading start indication information about the first session message sent by the one or more second users and the reading end indication information about the first session message sent by at least one third user of the one or more second users. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
Fig. 7 shows a flow diagram of a method for revoking session messages according to one embodiment of the present application.
As shown in fig. 7, the user a long-presses a certain session message located on a session page corresponding to a certain session, and first detects whether the session message is read by other users in the session, if not, the session message is normally revoked in the session, if so, the color of the revocation button presented on the session page is changed, if the user a triggers the revocation button by an operation other than a long press, the session message is normally revoked in the session, if the user a triggers the revoke button by a long press operation, an input box pops up on the conversation page, the user a enters an interpretation scheme B for the conversation message in the input box, according to the interpretation scheme B, a corresponding withdrawal message "a withdraws a message for B reasons" is generated, the session message is then revoked in the session and sent to other users in the session and presented.
In addition to the methods and apparatus described in the embodiments above, the present application also provides a computer readable storage medium storing computer code that, when executed, performs the method as described in any of the preceding claims.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 8 illustrates an exemplary system that can be used to implement the various embodiments described herein;
in some embodiments, as shown in FIG. 8, the system 300 can be implemented as any of the devices in the various embodiments described. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 310 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 305 and/or any suitable device or component in communication with system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
System memory 315 may be used, for example, to load and store data and/or instructions for system 300. For one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 315 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 320 may be accessible over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310 to form a system on a chip (SoC).
In various embodiments, system 300 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (20)

1. A method for revoking a session message, applied to a first user equipment, wherein the method comprises:
the method comprises the steps that reading state information of a first session message sent by a first user is obtained from network equipment in response to a first trigger operation executed by the first user in a session page aiming at the first session message;
if the reading state information indicates that the first session message meets the preset reading condition, presenting a first withdrawal button on the session page through a first presentation mode, and otherwise, presenting a second withdrawal button on the session page through a second presentation mode, wherein the first presentation mode is different from the second presentation mode;
responding to a second triggering operation executed by the first user for the first revocation button, acquiring revocation reason information input by the first user, generating a first revocation request corresponding to the first session message and sending the first revocation request to the network equipment, wherein the first revocation request comprises the revocation reason information, so that the network equipment revokes the first session message in the session, and sends the revocation reason information to one or more other users in the session and performs presentation.
2. The method of claim 1, wherein the method further comprises:
and in response to a third triggering operation of the first user on the second withdrawing button, generating a second withdrawing request corresponding to the first session message and sending the second withdrawing request to the network equipment, so that the network equipment withdraws the first session message in the session for all other users in the session.
3. The method of claim 1, wherein the reading status information is generated by the network device according to read indication information about the first session message sent by at least one other user in the session.
4. The method of claim 1, wherein the read conditions comprise at least one of:
at least one other user in the session has read the first session message;
a predetermined number of other users in the session have read the first session;
a predetermined percentage of other users in the session have read the first session.
5. The method of claim 1, wherein the method further comprises:
and in response to a fourth triggering operation executed by the first user on the first withdrawing button, generating and sending a third withdrawing request corresponding to the first session message to a network device so as to enable the network device to withdraw the first session message in the session.
6. The method of claim 5, wherein the reading status information includes identification information of one or more second users who have read the first session message;
wherein, in response to a fourth trigger operation performed by the first user for the first recall button, generating and sending a third recall request corresponding to the first session message to a network device to cause the network device to recall the first session message in the session comprises:
presenting, in response to a fourth triggering operation performed by the first user with respect to the first recall button, identification information of one or more second users who have read the first session message;
and acquiring at least one target second user selected by the first user from the one or more second users, generating a third revocation request corresponding to the first session message, and sending the third revocation request to the network device, wherein the third revocation request includes identification information of the at least one target second user, so that the network device revokes the first session message in the session only for other users who do not read the first session message and other second users who read the first session message except the at least one target second user, or so that the network device revokes the first session message only for other users who do not read the first session message and the at least one target second revocation user in the session.
7. The method of claim 5, wherein the network device withdraws the first session message in the session only for at least one fourth user that did not read the first session message.
8. The method of claim 7, wherein the network device withdraws the first session message in the session only for the at least one fourth user and at least one of the one or more second users that is not currently reading the first session message.
9. The method of claim 1, wherein the network device sends and presents only the revocation reason information to one or more second users of the session that have read the first session message.
10. The method of claim 9, wherein the reading status information includes identification information of one or more second users who have read the first session message;
wherein, in response to a second triggering operation executed by the first user with respect to the first revocation button, acquiring revocation reason information input by the first user, generating a first revocation request corresponding to the first session message, and sending the first revocation request to the network device, the method includes:
presenting, in response to a second triggering operation performed by the first user with respect to the first recall button, identification information of one or more second users who have read the first session message;
acquiring at least one target second user selected by the first user from the one or second users and revocation reason information input by the first user;
and generating a first revocation request corresponding to the first session message and sending the first revocation request to the network equipment, wherein the first revocation request comprises the revocation reason information and the identification information of the at least one target second user, so that the network equipment revokes the first session message in the session and only sends the revocation reason information to the at least one target second user and performs presentation.
11. The method of claim 10, wherein the obtaining of the revocation reason information of the at least one target second user selected by the first user among the one or second users and the first user input comprises:
s, acquiring at least one target second user selected by the first user from the one or the second users, and acquiring revocation reason information input by the first user for the at least one target second user;
repeatedly executing the step S, and acquiring one or more revocation reason information and at least one target second user associated with each revocation reason information;
wherein the generating and sending a first revocation request corresponding to the first session message to a network device, where the first revocation request includes the revocation reason information and the identification information of the at least one target second user, so that the network device revokes the first session message in the session and sends and presents only the revocation reason information to the at least one target second user, includes:
and generating a first revocation request corresponding to the first session message and sending the first revocation request to the network equipment, wherein the first revocation request comprises the one or more revocation reason information and identification information of at least one target second user associated with each revocation reason information, so that the network equipment revokes the first session message in the session and only sends and presents each revocation reason information to at least one target second user associated with the revocation reason information.
12. The method of claim 9, wherein the network sends and presents only the revocation reason information to at least one of the one or more second users that is currently reading the first session message.
13. The method of claim 1, wherein the reading status information includes quantity information of second users who have read the first session message and/or identification information of one or more second users who have read the first session message;
wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising:
presenting the quantity information and/or the identification information on the session page.
14. The method of claim 1, wherein the reading status information includes identification information of one or more second users who have read the first session message and identification information of a target second user of the one or more second users who are currently reading the first session message;
wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising:
and presenting the identification information of the target second user on the session page in a third presentation mode, and presenting the identification information of other second users except the target second user in a fourth mode, wherein the third presentation mode is different from the fourth presentation mode.
15. The method of claim 14, wherein the target second user is determined by the network device according to reading start indication information about the first session message sent by the one or more second users and reading end indication information about the first session message sent by at least one third user among the one or more second users.
16. The method of claim 1, wherein the reading status information includes identification information of one or more second users who have read the first session message and reading duration information of each second user for the first session message;
wherein, if the reading status information indicates that the first session message satisfies the predetermined read condition, presenting a first recall button on the session page through a first presentation manner, further comprising:
and presenting the identification information and the reading duration information on the session page.
17. The method of claim 16, wherein the reading duration information is determined by the network device according to reading start indication information about the first session message sent by the one or more second users and reading end indication information about the first session message sent by at least one third user among the one or more second users.
18. A computer device for revoking session messages, comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to implement the steps of the method according to any of claims 1 to 17.
19. A computer-readable storage medium, on which a computer program/instructions are stored, which, when being executed by a processor, carry out the steps of the method according to any one of claims 1 to 17.
20. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method according to any one of claims 1 to 17 when executed by a processor.
CN202110441043.3A 2021-04-23 2021-04-23 Method, apparatus, medium and program product for revoking session messages Active CN113157162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110441043.3A CN113157162B (en) 2021-04-23 2021-04-23 Method, apparatus, medium and program product for revoking session messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110441043.3A CN113157162B (en) 2021-04-23 2021-04-23 Method, apparatus, medium and program product for revoking session messages

Publications (2)

Publication Number Publication Date
CN113157162A true CN113157162A (en) 2021-07-23
CN113157162B CN113157162B (en) 2022-12-30

Family

ID=76869903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110441043.3A Active CN113157162B (en) 2021-04-23 2021-04-23 Method, apparatus, medium and program product for revoking session messages

Country Status (1)

Country Link
CN (1) CN113157162B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338590A (en) * 2021-12-31 2022-04-12 上海掌门科技有限公司 Method, apparatus, medium, and program product for presenting mail

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160065520A1 (en) * 2014-08-29 2016-03-03 eProductivite, LLC Electronic message management with conversation participation status
CN108183854A (en) * 2018-03-16 2018-06-19 北京邦邦共赢网络科技有限公司 A kind of realization message receipt method and device
CN110233931A (en) * 2019-04-30 2019-09-13 维沃移动通信有限公司 A kind of unread message management method and terminal device
CN110719220A (en) * 2018-07-11 2020-01-21 钉钉控股(开曼)有限公司 Message withdrawing method and device
CN111934981A (en) * 2020-07-17 2020-11-13 上海连尚网络科技有限公司 Method and equipment for withdrawing red packet
CN112217714A (en) * 2020-11-05 2021-01-12 上海云鱼智能科技有限公司 Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160065520A1 (en) * 2014-08-29 2016-03-03 eProductivite, LLC Electronic message management with conversation participation status
CN108183854A (en) * 2018-03-16 2018-06-19 北京邦邦共赢网络科技有限公司 A kind of realization message receipt method and device
CN110719220A (en) * 2018-07-11 2020-01-21 钉钉控股(开曼)有限公司 Message withdrawing method and device
CN110233931A (en) * 2019-04-30 2019-09-13 维沃移动通信有限公司 A kind of unread message management method and terminal device
CN111934981A (en) * 2020-07-17 2020-11-13 上海连尚网络科技有限公司 Method and equipment for withdrawing red packet
CN112217714A (en) * 2020-11-05 2021-01-12 上海云鱼智能科技有限公司 Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
来源:手机乐园: "QQ自定义撤回消息怎么改在哪设置 更改撤回内容教程", 《闽南网》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338590A (en) * 2021-12-31 2022-04-12 上海掌门科技有限公司 Method, apparatus, medium, and program product for presenting mail
CN114338590B (en) * 2021-12-31 2023-11-17 上海掌门科技有限公司 Method, device, medium and program product for presenting mail

Also Published As

Publication number Publication date
CN113157162B (en) 2022-12-30

Similar Documents

Publication Publication Date Title
CN108958780B (en) Method and equipment for presenting update information of hosted program
CN110266505B (en) Method and equipment for managing session group
CN110417641B (en) Method and equipment for sending session message
CN110765395B (en) Method and equipment for providing novel information
CN110290557B (en) Method and equipment for loading page tags in application
CN110336733B (en) Method and equipment for presenting emoticon
CN110321189B (en) Method and equipment for presenting hosted program in hosted program
CN110413179B (en) Method and equipment for presenting session message
CN112822431B (en) Method and equipment for private audio and video call
CN110827061A (en) Method and equipment for providing presentation information in novel reading process
CN111162990B (en) Method and equipment for presenting message notification
CN110290058B (en) Method and equipment for presenting session message in application
CN110430253B (en) Method and equipment for providing novel update notification information
CN110535755B (en) Method and equipment for deleting session message
CN109254781B (en) Method and equipment for installing application on user equipment
CN112822430B (en) Conference group merging method and device
CN113157162B (en) Method, apparatus, medium and program product for revoking session messages
CN111817945B (en) Method and equipment for replying communication information in instant communication application
CN110780955A (en) Method and equipment for processing emoticon message
CN110460642B (en) Method and device for managing reading mode
CN112702257B (en) Method and device for deleting friend application
CN113918897A (en) Method, apparatus, and medium for displaying application in application open platform
CN111506233B (en) Method and equipment for providing book information in reading application
CN110321205B (en) Method and equipment for managing hosted program in hosted program
CN110784596B (en) Method and equipment for processing event information

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