Method and apparatus for setting burn-after-reading message by means of pressure
Abstract
Embodiments of the present invention provide a method for setting a burn-after-reading message by means of a pressure. The method includes: displaying a message exchange interface, where the interface includes at least one message; detecting a pressure value of a screen touch on a first message by a user, where the first message is one of the at least one message; and setting the first message to a burn-after-reading message when it is detected that the pressure value is greater than a preset threshold. By means of this method, the user can quickly set, by means of a force touch (force touch), a message that the user wants to delete, recall, or destruct to a burn-after-reading message, bringing great convenience and desirable experience to the user while protecting user privacy.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for setting a burn-after-reading message by means of a pressure, wherein the method comprises:
displaying a message exchange interface, wherein the interface comprises at least one message; detecting a pressure value of a screen touch on a first message by a user, wherein the first message is one of the at least one message; and setting the first message to a burn-after-reading message when it is detected that the pressure value is greater than a preset threshold.
2 . The method according to claim 1 , wherein the setting the first message to a burn-after-reading message comprises: adding a burning time mark to the first message, wherein the burning time mark comprises a time t, and the time t is used to instruct a receiving terminal or a server to delete the first message after the first message is received and the time t elapses.
3 . The method according to claim 1 , wherein the setting the first message to a burn-after-reading message comprises: triggering a burn-after-reading mechanism in a terminal or an application to set the first message to a burn-after-reading message.
4 . The method according to claim 2 , wherein when a larger detected pressure value indicates a shorter time tin the burning time mark added to the first message.
5 . The method according to claim 1 , wherein after the setting the first message to a burn-after-reading message, the method further comprises: displaying an indication icon, wherein the indication icon is used to inform the user that the first message is a burn-after-reading message.
6 . The method according to claim 5 , wherein the indication icon is a countdown icon, and the countdown icon is used to inform the user of a remaining time before the first message is deleted.
7 . The method according to claim 1 , wherein after the setting the first message to a burn-after-reading message and before the first message is deleted, if a screen touch operation on the indication icon by the user is detected, the method further comprises: popping up prompt information, wherein the prompt information comprises a restoration option, and the restoration option triggers cancellation of setting the first message to a burn-after-reading message.
8 . The method according to claim 1 , wherein if the first message is one of N messages, and the N messages are selected in batches and enter an editing state, the method further comprises: setting all the N messages to burn-after-reading messages.
9 . An apparatus for setting a burn-after-reading message by a pressure, wherein the apparatus comprises:
a display module, configured to display a message exchange interface, wherein the interface comprises at least one message; a detection module, configured to detect a pressure value of a screen touch on a first message by a user, wherein the first message is one of the at least one message displayed by the display module; and a setting module, configured to set the first message to a burn-after-reading message when the detection module detects that the pressure value is greater than a preset threshold.
10 . The apparatus according to claim 9 , wherein the setting module is configured to: add a burning time mark to the first message, wherein the burning time mark comprises a time t, and the time t is used to instruct a receiving terminal or a server to delete the first message after the first message is received and the time t elapses.
11 . The apparatus according to claim 9 , wherein the setting module is configured to: trigger a burn-after-reading mechanism in a terminal or an application to set the first message to a burn-after-reading message.
12 . The apparatus according to claim 10 , wherein when a larger pressure value detected by the detection module indicates a shorter time tin the burning time mark added by the setting module to the first message.
13 . The apparatus according to claim 9 , wherein after setting the first message to a burn-after-reading message, the setting module is further configured to set an indication icon, wherein the indication icon is used to inform the user that the first message is a burn-after-reading message.
14 . The apparatus according to claim 13 , wherein the indication icon is a countdown icon, and the countdown icon is used to inform the user of a remaining time before the first message is deleted.
15 . The apparatus according to claim 9 , wherein after the setting module sets the first message to a burn-after-reading message, and before the first message is deleted, if the detection module detects a screen touch operation on the indication icon by the user, the setting module is further configured to: pop up prompt information, wherein the prompt information comprises a restoration option, and the restoration option triggers cancellation of setting the first message to a burn-after-reading message.
16 . The apparatus according to claim 9 , wherein if the first message is one of N messages, and the N messages are selected in batches and enter an editing state, the setting module is further configured to: set all the N messages to burn-after-reading messages.
17 . A smart device, wherein the terminal comprises at least: a display screen, a processor, a memory, and a bus; the display screen, the processor, and the memory are connected to and communicate with each other by using the bus; and the display screen is configured to receive an operation of a user, the memory stores a program and an instruction, and the processor invokes the program and the instruction that are in the memory, and is configured to implement the method according to claim 1 according to the operation of the user received by the display screen.Join the waitlist — get patent alerts
Track US2018196588A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.