WO2016086605A1 - 一种短信处理方法及装置 - Google Patents
一种短信处理方法及装置 Download PDFInfo
- Publication number
- WO2016086605A1 WO2016086605A1 PCT/CN2015/078809 CN2015078809W WO2016086605A1 WO 2016086605 A1 WO2016086605 A1 WO 2016086605A1 CN 2015078809 W CN2015078809 W CN 2015078809W WO 2016086605 A1 WO2016086605 A1 WO 2016086605A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- short message
- deletion
- time
- delay
- user
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the present invention relates to the field of mobile communications, and in particular, to a short message processing method and apparatus.
- the pop-up dialog box also provides a delete function, but since the deletion operation is very convenient, the user is very likely to delete some important information due to mistakes, and when the user realizes his mistake, it is I can't get back to the useful information that I didn't want to delete. For example, company employees often receive information from couriers, saying that there is a package of a certain courier company. If the user accidentally deletes the notification message, and when he goes to pick up the courier, he may forget the courier company. The name, then it has to find one by one among the many courier companies.
- Some third-party software of the smart phone system now provides the function of restoring user data.
- the Android system application store has such third-party software that can recover many information deleted by the user, including short messages.
- these softwares are powerful, they have their own shortcomings.
- the recovery of the user data There is no guarantee.
- new user data is added. For example, when the user deletes a short message and a new short message arrives, the system may store the new short message. The physical storage space of the short message has just been deleted, so that the original data cannot be recovered due to the physical storage space being overwritten.
- the embodiment of the invention provides a short message processing method and device for solving the above technical problem.
- an embodiment of the present invention provides a method for processing a short message, where the method includes: after receiving a short message deletion request of a user, starting a deletion delay; during the deletion delay, determining a user Whether to re-view the short message in the short message list; if yes, cancel the short message deletion operation; if not, the message is completely deleted after the deletion delay expires.
- the method before the deletion delay is started, the method further includes: the system sets the duration of the deletion delay by default, or sets the duration of the deletion delay based on the user requirement.
- the method further includes: if the mobile phone is turned off during the deletion delay, saving the deletion delay information; after the mobile phone is restarted, determining to cancel the short message according to the deletion delay information Delete the operation or delete the message completely.
- the deletion delay information includes a shutdown time, a remaining time, and an identifier of the short message to be deleted; wherein the shutdown time is a system time when the mobile phone is powered off, and the remaining time is a duration of the deletion delay. - Elapsed time from the start of the delete delay to the shutdown.
- determining to cancel the short message deletion operation or completely deleting the short message according to the deletion delay information includes: determining the boot time-shutdown time> the deletion delay information Whether the remaining time in the middle is established; if yes, the short message corresponding to the identifier is completely deleted; if not, in the remaining time - (boot time - shutdown time), it is determined whether the user re-brows the short message in the short message list If yes, the message deletion operation is cancelled, and if not, the message is completely deleted after the deletion delay expires.
- the short message is a pop-up instant new short message.
- an embodiment of the present invention further provides a short message processing device, where the device includes: a delay start module, configured to start a delete delay after receiving a short message deletion request of the user; The module is configured to: during the deletion delay period, determine whether the user re-brows the short message in the short message list; and the short message processing module is configured to cancel the short message deletion operation if the determination result of the determining module is yes. In the case that the determination result of the determination module is negative, after the deletion delay expires, the short message is completely deleted.
- a delay start module configured to start a delete delay after receiving a short message deletion request of the user
- the module is configured to: during the deletion delay period, determine whether the user re-brows the short message in the short message list; and the short message processing module is configured to cancel the short message deletion operation if the determination result of the determining module is yes. In the case that the determination result of the determination module is negative, after the deletion delay expires, the short message is completely deleted.
- the device further includes: a shutdown saving module, configured to save the deletion delay information when the mobile phone is turned off during the deletion delay; and the boot processing module is configured to restart the mobile phone Then, according to the deletion delay information, it is determined to cancel the SMS deletion operation or completely delete the short message.
- a shutdown saving module configured to save the deletion delay information when the mobile phone is turned off during the deletion delay
- the boot processing module is configured to restart the mobile phone Then, according to the deletion delay information, it is determined to cancel the SMS deletion operation or completely delete the short message.
- the deletion delay information includes a shutdown time, a remaining time, and an identifier of the short message to be deleted; wherein the shutdown time is a system time when the mobile phone is powered off, and the remaining time is a duration of the deletion delay. - Elapsed time from the start of the delete delay to the shutdown.
- the boot processing module includes: a time determining unit configured to determine whether the power-on time-off time> the remaining time in the deletion delay information is established; the first processing unit is configured to be in the When the judgment result of the time judging unit is YES, the short message corresponding to the identifier is completely deleted; and the second processing unit is set to be in the case of the remaining time - (the boot time when the judgment result of the time judging unit is NO) During the period of the shutdown time, it is determined whether the user re-brows the short message in the short message list. If yes, the short message deletion operation is cancelled. If not, the short message is completely deleted after the deletion delay expires.
- the advantages of the embodiment of the present invention compared to the third-party software are: first, the operation is relatively simple, and in order to recover the erroneously deleted short message, only need to re-browse it in the short message list; second, there is no risk of user privacy data leakage. Because third-party software is not involved; thirdly, recovery is guaranteed. As long as the deletion delay is within the deletion delay, the recovery of the accidentally deleted SMS is guaranteed and will not be covered by other new data. Fourth, personalized settings, users can Set the corresponding deletion delay information according to your living habits or other needs.
- FIG. 1 is a flowchart of a short message processing method according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a shutdown process of an erroneously deleted short message according to a second embodiment of the present invention
- FIG. 5 is a structural block diagram of a short message processing apparatus according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a short message processing method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (step S102-step) S108):
- Step S102 after receiving the short message deletion request of the user, starting the deletion delay. Specifically, after receiving the short message deletion request of the user, the short message deletion operation is not immediately performed, but the operation of starting the deletion delay is performed first.
- step S104 during the deletion delay period, it is determined whether the user re-brows the erroneously deleted short message in the short message list; if yes, step S106 is performed, and if no, step S108 is performed.
- Step S106 canceling the short message deletion operation, that is, recovering the erroneously deleted short message.
- Step S108 after the expiration of the deletion delay expires, the above short message is completely deleted.
- the problem that the operation of the erroneously deleted short message is restored by the third party software in the prior art is solved, and the operation effect is not ideal, and the operation is relatively simple, and there is no risk of leakage of the user's private data, and the short message recovery is guaranteed. Meet the user's personalized settings.
- the embodiment of the present invention uses a method of delay deletion for a short message (especially a pop-up type of instant new short message). If the user recognizes his mistake during the delay period, he wishes to withdraw the deletion. In operation, you can re-view the short message that has just been deleted in the short message list, and the delayed deletion will be revoked. This mechanism gives the user a chance to remedy, thus improving the user experience.
- the time value of the delayed deletion system has a default value.
- a delay deletion setting item is added to the option menu of the short message application, so that the user can personalize according to his living habits or other needs. This value can be 5 minutes or 0, if it is 0, it is no different from the normal SMS application.
- the embodiment provides a preferred implementation manner, that is, before the deletion delay is started, the method further includes: setting the duration of the deletion delay by default, or setting the duration of the deletion delay based on the user requirement.
- a special case is that the user shuts down within the time limit of the delay deletion, which may cause the delay timer to continue to work.
- the short message module will save the corresponding delay deletion information. Go down and continue unfinished work the next time you turn it on.
- the short message module determines whether to directly delete the corresponding short message content according to the information saved at the last shutdown, or to continue to open a timer with a smaller delay to perform the corresponding short message deletion operation.
- the embodiment provides a preferred implementation manner, that is, the method further includes: if the mobile phone is turned off during the deletion delay period, saving the deletion delay information; after the mobile phone is restarted, according to the foregoing deletion delay Information, determine to cancel the SMS deletion operation or completely delete the above SMS.
- deletion delay information After the mobile phone is restarted, according to the foregoing deletion delay information, it is determined whether to cancel the short message deletion operation or completely delete the short message, including: determining whether the remaining time in the above-mentioned deletion delay information is established; and if so, The SMS corresponding to the above identifier is completely deleted; if not, it is determined whether the user re-views the short message in the short message list during the remaining time - (boot time - shutdown time), and if so, cancels the short message deletion operation, if not, then After the above deletion delay expires, the above SMS is completely deleted.
- the short message is optionally a pop-up instant new short message.
- the deletion operation of the SMS other than the pop-up type of instant new SMS for example, the user browses in the short message list and performs the corresponding deletion operation. Because the operation is complicated, the user is not easy to operate incorrectly, and generally does not adopt the mechanism of delay deletion. .
- step S201 is a flowchart of recovering an erroneously deleted short message according to the first embodiment of the present invention. As shown in FIG. 2, the flow includes the following steps (step S201 - step S210):
- step S201 the user clicks the delete button to delete a short message, and the process goes to S202.
- step S202 it is determined whether the user deletes the pop-up type of instant new short message, if yes, the process goes to S203, and if not, the process goes to S206.
- step S203 it is determined whether the user sets a deletion delay in the option menu of the short message application, if it is set, the process goes to S205, and if not, the process goes to S204.
- step S204 the default deletion delay value of the system is obtained, and the process goes to S207.
- step S205 the deletion delay value set by the user is obtained, and the process goes to S207.
- step S206 the corresponding short message is deleted, and the process ends.
- step S207 the timer is started. After the expiration of the timer, the corresponding SMS will be deleted and the process will go to S208.
- step S208 it is judged whether the timer set in step S207 has arrived, if yes, the process goes to S206, otherwise to S210.
- Step S209 canceling the timer function that is started in step S207, that is, canceling the operation of deleting the short message, the process ends.
- step S210 it is determined whether the user browses the short message that has just been subjected to the deletion operation in the short message list, and if yes, the process goes to S209, otherwise, the process goes to S208.
- FIG. 3 is a flowchart of shutdown processing of an erroneously deleted short message according to the second embodiment of the present invention. As shown in FIG. 3, the flow includes the following steps (step S301-step S304):
- Step S301 after receiving the short message, the mobile phone suddenly shuts down.
- step S302 it is determined whether the deadline of the timer is cut off. If yes, step S304 is performed, and if no, step S303 is performed.
- step S303 the triplet is saved (shutdown time, remaining time, short message identifier).
- step S304 the process ends.
- FIG. 4 is a flowchart of shutdown processing of an erroneously deleted short message according to a third embodiment of the present invention. As shown in FIG. 4, the flow includes the following steps (step S401 - step S405):
- step S401 the mobile phone is restarted.
- step S402 it is determined whether the power-on time-off time>remaining time is established. If yes, step S403 is performed, and if no, step S404 is performed.
- step S403 the corresponding short message is completely deleted according to the short message identifier. Then step S405 is performed.
- Step S404 the timer is started, and during the remaining time - (boot time - shutdown time), it is determined whether the user re-brows the erroneously deleted short message in the short message list, and if so, the erroneously deleted short message is restored, if not, then After the deletion delay expires, the erroneously deleted short message is completely deleted.
- step S405 the flow ends.
- FIG. 5 is a structural block diagram of a short message processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes: a delay start module 10, a determination module 20, and a short message processing module 30. The structure is described in detail below.
- the delay start module 10 is configured to start a delete delay after receiving the short message deletion request of the user;
- the determining module 20 is connected to the delay starting module 10, and is configured to determine whether the user re-brows the short message in the short message list during the deletion delay period;
- the short message processing module 30 is connected to the determination module 20, and is configured to cancel the short message deletion operation when the determination result of the determination module is YES. If the determination result of the determination module is negative, the deletion delay is After the period, completely delete the above SMS.
- the problem that the operation of the erroneously deleted short message is restored by the third party software in the prior art is solved, and the operation effect is not ideal, and the operation is relatively simple, and there is no risk of leakage of the user's private data, and the short message recovery is guaranteed. Meet the user's personalized settings.
- the device may further include: a shutdown saving module configured to save the deletion delay information when the mobile phone is turned off during the deletion delay period; and the boot processing module is configured to: after the mobile phone is restarted, according to the deletion delay information, Be sure to cancel the SMS deletion or delete the above SMS completely.
- the boot processing module includes: a time determining unit configured to determine whether the power-on time-off time> the remaining time in the deletion delay information is established; and the first processing unit is configured to be that the judgment result of the time determining unit is yes.
- the second processing unit is configured to completely delete the short message corresponding to the identifier, and the second processing unit is configured to determine whether the user is in the short message during the remaining time-(boot time-shutdown time) in the case that the determination result of the time determining unit is negative. Re-view the above SMS in the list. If yes, cancel the SMS deletion. If no, delete the SMS completely after the deletion delay expires.
- the short message is optionally a pop-up instant new short message.
- the deletion operation of the SMS other than the pop-up type of instant new SMS for example, the user browses in the short message list and performs the corresponding deletion operation. Because the operation is complicated, the user is not easy to operate incorrectly, and generally does not adopt the mechanism of delay deletion. .
- the advantages of the embodiment of the present invention compared to the third-party software are: first, the operation is relatively simple, and in order to recover the erroneously deleted short message, only need to re-browse it in the short message list; second, There is no risk of user privacy data leakage, because third-party software is not involved; thirdly, recovery is guaranteed, as long as the deletion of the text message is guaranteed within the deletion delay, it will not be covered by other new data; Personalized settings, users can set the corresponding deletion delay information according to their living habits or other needs.
- the foregoing embodiments and preferred embodiments solve the problem that the third-party software performs the recovery of the erroneously deleted short message in the prior art, and the operation effect is not ideal, and the operation is relatively simple, and no user privacy data is leaked. Risk, SMS recovery is guaranteed, able to meet the user's personalized settings.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种短信处理方法及装置。其中,该方法包括:在接收到用户的短信删除请求后,启动删除延时;在所述删除延时期间,判断用户是否在短信列表内重新浏览所述短信;如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。通过本发明,解决了现有技术中通过第三方软件实行误删短信的恢复,其操作效果并不理想的问题,且操作较简单,无用户隐私数据泄露的风险,短信恢复有保障,能够满足用户的个性化设置。
Description
本发明涉及移动通讯领域,特别是涉及一种短信处理方法及装置。
目前大多数移动终端都提供弹出框式的即时新短信显示功能,该功能给用户查看即时新短信带来了极大的便捷。该弹出式对话框除了提供短信查看功能以外,还提供了删除功能,但由于删除操作非常便捷,用户极有可能由于失误而删除一些重要的信息,而当用户意识到自己的失误后,却又追不回来这些其本不希望删除的有用信息。例如,公司员工经常会收到一些快递员发来的信息,说有某某快递公司的包裹,如果用户不小心将这个通知短信删除,而当其去取快递时,很可能忘了快递公司的名称,然后其不得不在众多的快递公司之间进行逐个查找。再比如某人收到亲朋好友的宴会邀请短信,里面有活动详细的时间和地点,如果不小心将其删除,不得不再尴尬地向邀请人或其它受邀人进行询问。现实生活中有很多这样的实例,用户迫切希望移动终端***能够提供一种追回误删短信的方法。
现在有些智能手机***的第三方软件提供了恢复用户数据的功能,例如Android***应用商城就有这样的第三方软件,可以恢复用户删除的很多信息,包括短信。这些软件虽然功能强大,但是有其自身不足的。第一,其要求有较高的权限来读取用户的数据,例如对于提供短信误删恢复功能的软件来说,其一定会要求用户在安装该软件时给予其读取短信的权限,这意味着不仅是用户误删的短信,整个移动终端的短信都在它的监控之下,无形中暴露了用户本不希望暴露的信息,严重影响用户的隐私安全;第二,其对于用户数据的恢复是没有保障的,如果用户在删除相应的用户数据后,又增加了新的用户数据,例如当用户删除完一条短信后,又来了一条新的短信,***有可能会将此新短信存放在刚刚被删除短信的物理存储空间中,从而使得原来的数据由于物理存储空间被覆盖而无法恢复。
针对相关技术中通过第三方软件实行误删短信的恢复,其操作效果并不理想的问题,目前尚未提出有效的解决方案。
发明内容
针对相关技术中通过第三方软件实行误删短信的恢复,其操作效果并不理想的问题,本发明实施例提供了一种短信处理方法及装置,用以解决上述技术问题。
根据本发明的一个方面,本发明实施例提供了一种短信处理方法,其中,该方法包括:在接收到用户的短信删除请求后,启动删除延时;在所述删除延时期间,判断用户是否在短信列表内重新浏览所述短信;如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
在本发明实施例中,启动删除延时之前,所述方法还包括:***默认设置删除延时的时长,或者基于用户要求设置删除延时的时长。
在本发明实施例中,所述方法还包括:如果在所述删除延时期间手机关机,则保存删除延时信息;在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信。
在本发明实施例中,所述删除延时信息包括关机时间、剩余时间、欲删除短信的标识;其中,所述关机时间为手机关机时的***时间,所述剩余时间=删除延时的时长-从启动删除延时到关机时的已过时间。
在本发明实施例中,在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信,包括:判断开机时间-关机时间>所述删除延时信息中的剩余时间是否成立;如果是,则彻底删除所述标识对应的短信;如果否,则在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览所述短信,如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
在本发明实施例中,所述短信为弹出式即时新短信。
根据本发明的另一方面,本发明实施例还提供了一种短信处理装置,其中,该装置包括:延时启动模块,设置为在接收到用户的短信删除请求后,启动删除延时;判断模块,设置为在所述删除延时期间,判断用户是否在短信列表内重新浏览所述短信;短信处理模块,设置为在所述判断模块的判断结果为是的情况下,取消短信删除操作,在所述判断模块的判断结果为否的情况下,在所述删除延时到期后,彻底删除所述短信。
在本发明实施例中,所述装置还包括:关机保存模块,设置为在所述删除延时期间手机关机的情况下,保存删除延时信息;开机处理模块,设置为在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信。
在本发明实施例中,所述删除延时信息包括关机时间、剩余时间、欲删除短信的标识;其中,所述关机时间为手机关机时的***时间,所述剩余时间=删除延时的时长-从启动删除延时到关机时的已过时间。
在本发明实施例中,所述开机处理模块包括:时间判断单元,设置为判断开机时间-关机时间>所述删除延时信息中的剩余时间是否成立;第一处理单元,设置为在所述时间判断单元的判断结果为是的情况下,彻底删除所述标识对应的短信;第二处理单元,设置为在所述时间判断单元的判断结果为否的情况下,在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览所述短信,如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
本发明实施例相比第三方软件的优点在于:第一,操作较简单,要想恢复误删的短信,只需要在短信列表里重新浏览一下即可;第二,无用户隐私数据泄露的风险,因为不涉及第三方软件;第三,恢复有保障,只要在删除时延内,误删短信的恢复是有保障的,不会被其它新数据所覆盖;第四,个性化设置,用户可以根据自己的生活习惯或其它需要来设置相应的删除时延信息。
上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
图1是根据本发明实施例的短信处理方法流程图;
图2是根据本发明实施例一的误删短信的恢复流程图;
图3是根据本发明实施例二的误删短信的关机处理流程图;
图4是根据本发明实施例三的误删短信的关机处理流程图;
图5是根据本发明实施例的短信处理装置的结构框图。
为了解决现有技术中通过第三方软件实行误删短信的恢复,其操作效果并不理想的问题,本发明实施例提供了一种短信处理方法及装置,以下结合附图以及实施例,对本发明实施例进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。
本实施例提供了一种短信处理方法,该方法可以在终端侧实现,图1是根据本发明实施例的短信处理方法流程图,如图1所示,该方法包括以下步骤(步骤S102-步骤S108):
步骤S102,在接收到用户的短信删除请求后,启动删除延时。具体地,在接收到用户的短信删除请求后,不立即执行短信删除操作,而是先执行启动删除延时这一操作。
步骤S104,在上述删除延时期间,判断用户是否在短信列表内重新浏览被误删的短信;如果是,则执行步骤S106,如果否,则执行步骤S108。
步骤S106,取消短信删除操作,即恢复被误删的短信。
步骤S108,在上述删除延时到期后,彻底删除上述短信。
通过本实施例,解决了现有技术中通过第三方软件实行误删短信的恢复,其操作效果并不理想的问题,且操作较简单,无用户隐私数据泄露的风险,短信恢复有保障,能够满足用户的个性化设置。
大多数情况下,如果用户误删短信,一般在较短的时间内用户就会意识到这个错误,这个时间往往是在误删后的一瞬间。针对大多数用户的这一特点,本发明实施例对于短信(尤其是弹出框式的即时新短信),采用延时删除的方法,如果用户在延时期间内认识到自己的失误,希望撤回删除操作,可以在短信列表里重新浏览一次刚刚被施以删除操作的短信,延时删除的操作就会被撤消,通过这种机制给用户一个补救的机会,从而提高用户体验。
延时删除的时间值***有默认的值。另外在短信应用的选项菜单里增加一个延时删除设置项,以便用户根据其生活习惯或其它需要进行个性化设置。这个值可以为5分钟,也可以为0,如果为0就和一般短信应用的无延迟无异。基于此,本实施例提供了一种优选实施方式,即启动删除延时之前,上述方法还包括:***默认设置删除延时的时长,或者基于用户要求设置删除延时的时长。
在本实施例的实际操作过程中,一个特殊的情况是用户在延时删除的时间期限内关机,这会导致延时定时器无法继续工作,这个时候短信模块会将相应的延时删除信息保存下来,待下次开机时继续进行未完成的工作。具体地,如果在关机时延时删除定时器还没有到,短信模块就会将(关机时间,剩余时间,短信标识)三元组保存下来,其中关机时间为关机时的***时间,剩余时间=延时时间(当时设定的延时删除时间)-已过时间(从设定延时定时器到关机时消耗的时间)。当再次开机时,短信模块会根据上次关机时保存的信息来决定是直接删除相应的短信内容,还是继续开启一个时延更小的定时器来执行相应的短信删除操作。
基于上述介绍,本实施例提供了一种优选实施方式,即上述方法还包括:如果在上述删除延时期间手机关机,则保存删除延时信息;在上述手机重新开机后,根据上述删除延时信息,确定取消短信删除操作或者彻底删除上述短信。
上述删除延时信息包括关机时间、剩余时间、欲删除短信的标识;其中,上述关机时间为手机关机时的***时间,上述剩余时间=删除延时的时长-从启动删除延时到关机时的已过时间。
在上述手机重新开机后,根据上述删除延时信息,确定取消短信删除操作或者彻底删除上述短信,包括:判断开机时间-关机时间>上述删除延时信息中的剩余时间是否成立;如果是,则彻底删除上述标识对应的短信;如果否,则在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览上述短信,若是,则取消短信删除操作,若否,则在上述删除延时到期后,彻底删除上述短信。
通过上述优选实施例,能够针对特殊情况下(例如死机、电池耗尽等突然关机)的短信恢复提供一定保障,使得被误删短信的恢复方案更贴合用户的实际需求。
在本实施例中,短信可选地为弹出式即时新短信。对于弹出框式的即时新短信以外的短信的删除操作,例如用户在短信列表里进行浏览并进行相应的删除操作,由于其操作较复杂,用户不易发生误操作,一般不采用延时删除的机制。
下面通过优选实施例和附图,对本发明实施例的技术方案进行介绍。
实施例一
图2是根据本发明实施例一的误删短信的恢复流程图,如图2所示,该流程包括以下步骤(步骤S201-步骤S210):
步骤S201,用户点击删除按钮,删除一条短信,转至S202。
步骤S202,判断用户删除的是否是弹出框式的即时新短信,如果是则转至S203,不是则转至S206。
步骤S203,判断用户是否在短信应用的选项菜单里设置了删除时延,如果设置了则转至S205,没有则转至S204。
步骤S204,获取***默认的删除时延值,转至S207。
步骤S205,获取用户设置的删除时延值,转至S207。
步骤S206,删除相应的短信,流程结束。
步骤S207,开启定时器。该定时器的期限截止后,将会删除相应的短信,转至S208。
步骤S208,判断步骤S207设置的定时器是否已到,是则转向S206,否则转向S210。
步骤S209,取消步骤S207开启的定时器函数,即取消删除短信的操作,流程结束。
步骤S210,判断用户是否在短信列表里浏览了刚刚被施以删除操作的短信,如果是则转至S209,否则转至S208。
实施例二
图3是根据本发明实施例二的误删短信的关机处理流程图,如图3所示,该流程包括以下步骤(步骤S301-步骤S304):
步骤S301,接收到短信后,手机突然关机。
步骤S302,判断定时器的期限是否截止,如果是,则执行步骤S304,如果否,则执行步骤S303。
步骤S303,保存(关机时间,剩余时间,短信标识)三元组。
步骤S304,该流程结束。
实施例三
图4是根据本发明实施例三的误删短信的关机处理流程图,如图4所示,该流程包括以下步骤(步骤S401-步骤S405):
步骤S401,手机重新开机。
步骤S402,判断开机时间-关机时间>剩余时间是否成立,如果是,则执行步骤S403,如果否,则执行步骤S404。
步骤S403,根据短信标识,将相应短信彻底删除。之后执行步骤S405。
步骤S404,开启定时器,在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览被误删的短信,若是,则恢复被误删的短信,若否,则在删除延时到期后,彻底删除所述被误删的短信。
步骤S405,该流程结束。
对应于上述实施例介绍的短信处理方法,本实施例提供了一种短信处理装置,该装置可以设置在终端侧,用以实现上述实施例。图5是根据本发明实施例的短信处理装置的结构框图,如图5所示,该装置包括:延时启动模块10、判断模块20和短信处理模块30。下面对该结构进行详细介绍。
延时启动模块10,设置为在接收到用户的短信删除请求后,启动删除延时;
判断模块20,连接至延时启动模块10,设置为在上述删除延时期间,判断用户是否在短信列表内重新浏览所述短信;
短信处理模块30,连接至判断模块20,设置为在上述判断模块的判断结果为是的情况下,取消短信删除操作,在上述判断模块的判断结果为否的情况下,在上述删除延时到期后,彻底删除上述短信。
通过本实施例,解决了现有技术中通过第三方软件实行误删短信的恢复,其操作效果并不理想的问题,且操作较简单,无用户隐私数据泄露的风险,短信恢复有保障,能够满足用户的个性化设置。
为了针对特殊情况下(例如死机、电池耗尽等突然关机)的短信恢复提供一定保障,使得被误删短信的恢复方案更贴合用户的实际需求。上述装置还可以包括:关机保存模块,设置为在上述删除延时期间手机关机的情况下,保存删除延时信息;开机处理模块,设置为在上述手机重新开机后,根据上述删除延时信息,确定取消短信删除操作或者彻底删除上述短信。
上述删除延时信息包括关机时间、剩余时间、欲删除短信的标识;其中,上述关机时间为手机关机时的***时间,上述剩余时间=删除延时的时长-从启动删除延时到关机时的已过时间。
上述开机处理模块包括:时间判断单元,设置为判断开机时间-关机时间>上述删除延时信息中的剩余时间是否成立;第一处理单元,设置为在上述时间判断单元的判断结果为是的情况下,彻底删除上述标识对应的短信;第二处理单元,设置为在上述时间判断单元的判断结果为否的情况下,在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览上述短信,如果是,则取消短信删除操作,如果否,则在上述删除延时到期后,彻底删除上述短信。
在本实施例中,短信可选地为弹出式即时新短信。对于弹出框式的即时新短信以外的短信的删除操作,例如用户在短信列表里进行浏览并进行相应的删除操作,由于其操作较复杂,用户不易发生误操作,一般不采用延时删除的机制。
从以上的描述中可知,本发明实施例相比第三方软件的优点在于:第一,操作较简单,要想恢复误删的短信,只需要在短信列表里重新浏览一下即可;第二,无用户隐私数据泄露的风险,因为不涉及第三方软件;第三,恢复有保障,只要在删除时延内,误删短信的恢复是有保障的,不会被其它新数据所覆盖;第四,个性化设置,用户可以根据自己的生活习惯或其它需要来设置相应的删除时延信息。
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。
如上所述,通过上述实施例及优选实施方式,解决了现有技术中通过第三方软件实行误删短信的恢复,其操作效果并不理想的问题,且操作较简单,无用户隐私数据泄露的风险,短信恢复有保障,能够满足用户的个性化设置。
Claims (10)
- 一种短信处理方法,所述方法包括:在接收到用户的短信删除请求后,启动删除延时;在所述删除延时期间,判断用户是否在短信列表内重新浏览所述短信;如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
- 如权利要求1所述的方法,其中,启动删除延时之前,所述方法还包括:***默认设置删除延时的时长,或者基于用户要求设置删除延时的时长。
- 如权利要求1所述的方法,其中,所述方法还包括:如果在所述删除延时期间手机关机,则保存删除延时信息;在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信。
- 如权利要求3所述的方法,其中,所述删除延时信息包括关机时间、剩余时间、欲删除短信的标识;其中,所述关机时间为手机关机时的***时间,所述剩余时间=删除延时的时长-从启动删除延时到关机时的已过时间。
- 如权利要求4所述的方法,其中,在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信,包括:判断开机时间-关机时间>所述删除延时信息中的剩余时间是否成立;如果是,则彻底删除所述标识对应的短信;如果否,则在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览所述短信,如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
- 如权利要求1至5中任一项所述的方法,其中,所述短信为弹出式即时新短信。
- 一种短信处理装置,所述装置包括:延时启动模块,设置为在接收到用户的短信删除请求后,启动删除延时;判断模块,设置为在所述删除延时期间,判断用户是否在短信列表内重新浏览所述短信;短信处理模块,设置为在所述判断模块的判断结果为是的情况下,取消短信删除操作,在所述判断模块的判断结果为否的情况下,在所述删除延时到期后,彻底删除所述短信。
- 如权利要求7所述的装置,其中,所述装置还包括:关机保存模块,设置为在所述删除延时期间手机关机的情况下,保存删除延时信息;开机处理模块,设置为在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信。
- 如权利要求8所述的装置,其中,所述删除延时信息包括关机时间、剩余时间、欲删除短信的标识;其中,所述关机时间为手机关机时的***时间,所述剩余时间=删除延时的时长-从启动删除延时到关机时的已过时间。
- 如权利要求9所述的装置,其中,所述开机处理模块包括:时间判断单元,设置为判断开机时间-关机时间>所述删除延时信息中的剩余时间是否成立;第一处理单元,设置为在所述时间判断单元的判断结果为是的情况下,彻底删除所述标识对应的短信;第二处理单元,设置为在所述时间判断单元的判断结果为否的情况下,在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览所述短信,如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410728356.7 | 2014-12-04 | ||
CN201410728356.7A CN105721664B (zh) | 2014-12-04 | 2014-12-04 | 一种短信处理方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016086605A1 true WO2016086605A1 (zh) | 2016-06-09 |
Family
ID=54766109
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/074400 WO2015184883A1 (zh) | 2014-12-04 | 2015-03-17 | 一种短信处理方法及装置 |
PCT/CN2015/078809 WO2016086605A1 (zh) | 2014-12-04 | 2015-05-12 | 一种短信处理方法及装置 |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/074400 WO2015184883A1 (zh) | 2014-12-04 | 2015-03-17 | 一种短信处理方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105721664B (zh) |
WO (2) | WO2015184883A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108966159A (zh) * | 2018-09-03 | 2018-12-07 | 平安科技(深圳)有限公司 | 短信撤回方法、***、计算机设备和存储介质 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648962B (zh) * | 2016-10-10 | 2019-08-30 | Oppo广东移动通信有限公司 | 一种多开应用的管理方法、装置及智能终端 |
CN107526499B (zh) * | 2017-08-31 | 2020-05-22 | 麒麟合盛网络技术股份有限公司 | 消息处理方法及装置 |
CN107786728A (zh) * | 2017-09-19 | 2018-03-09 | 深圳天珑无线科技有限公司 | 短信管理方法、移动终端及计算机可读存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050108621A1 (en) * | 2003-11-19 | 2005-05-19 | Samsung Electronics Co., Ltd. | Apparatus and method for deleting a text message received in a mobile communication terminal |
US20050124360A1 (en) * | 2003-12-08 | 2005-06-09 | Samsung Electronics Co., Ltd. | Mobile phone capable of deleting sent short message stored in receiver's mobile phone and method of transmitting and deleting short message using the same |
CN101188836A (zh) * | 2007-11-01 | 2008-05-28 | 深圳华为通信技术有限公司 | 信息删除方法及装置 |
CN101697561A (zh) * | 2009-10-23 | 2010-04-21 | 中兴通讯股份有限公司 | 一种回收短消息的方法及移动终端 |
CN101938565A (zh) * | 2010-09-10 | 2011-01-05 | 中兴通讯股份有限公司 | 短信处理方法及移动终端 |
CN103164432A (zh) * | 2011-12-13 | 2013-06-19 | 联想(北京)有限公司 | 恢复误删除文件的方法及移动终端 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778163A (zh) * | 2010-01-05 | 2010-07-14 | 上海市共进通信技术有限公司 | 无线宽带客户端***中实现短信删除后恢复的装置及方法 |
CN103501243A (zh) * | 2013-09-23 | 2014-01-08 | 北京创艺和弦科贸有限公司 | 页面式通信管理装置及方法 |
CN104023322A (zh) * | 2014-05-12 | 2014-09-03 | 可牛网络技术(北京)有限公司 | 垃圾短信的处理方法和装置 |
CN103944811B (zh) * | 2014-05-15 | 2018-09-21 | 广州博冠信息科技有限公司 | 一种邮件提示方法和设备 |
-
2014
- 2014-12-04 CN CN201410728356.7A patent/CN105721664B/zh active Active
-
2015
- 2015-03-17 WO PCT/CN2015/074400 patent/WO2015184883A1/zh active Application Filing
- 2015-05-12 WO PCT/CN2015/078809 patent/WO2016086605A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050108621A1 (en) * | 2003-11-19 | 2005-05-19 | Samsung Electronics Co., Ltd. | Apparatus and method for deleting a text message received in a mobile communication terminal |
US20050124360A1 (en) * | 2003-12-08 | 2005-06-09 | Samsung Electronics Co., Ltd. | Mobile phone capable of deleting sent short message stored in receiver's mobile phone and method of transmitting and deleting short message using the same |
CN101188836A (zh) * | 2007-11-01 | 2008-05-28 | 深圳华为通信技术有限公司 | 信息删除方法及装置 |
CN101697561A (zh) * | 2009-10-23 | 2010-04-21 | 中兴通讯股份有限公司 | 一种回收短消息的方法及移动终端 |
CN101938565A (zh) * | 2010-09-10 | 2011-01-05 | 中兴通讯股份有限公司 | 短信处理方法及移动终端 |
CN103164432A (zh) * | 2011-12-13 | 2013-06-19 | 联想(北京)有限公司 | 恢复误删除文件的方法及移动终端 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108966159A (zh) * | 2018-09-03 | 2018-12-07 | 平安科技(深圳)有限公司 | 短信撤回方法、***、计算机设备和存储介质 |
CN108966159B (zh) * | 2018-09-03 | 2022-03-01 | 平安科技(深圳)有限公司 | 短信撤回方法、***、计算机设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN105721664A (zh) | 2016-06-29 |
WO2015184883A1 (zh) | 2015-12-10 |
CN105721664B (zh) | 2018-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6310030B2 (ja) | プログラム、端末および方法 | |
CN108494571B (zh) | 发起预约会议的方法、装置及*** | |
WO2017008629A1 (zh) | 工作状态的提示方法及装置 | |
WO2016086605A1 (zh) | 一种短信处理方法及装置 | |
KR101570406B1 (ko) | 소셜 네트워크 애플리케이션에서 사용자 관계를 실현하는 방법 및 장치 | |
US9111181B2 (en) | Detecting and flagging likely confidential content in photographs to prevent automated dissemination | |
US20150207917A1 (en) | Mobile terminal intelligent anti-theft method and mobile terminal | |
WO2016029578A1 (zh) | 双***电子装置及终端 | |
WO2015188771A1 (en) | Method and apparatus for processing application notification message, and terminal device | |
US20150244834A1 (en) | Method, Device and System for Processing Instant Messaging Information and Setting Terminal Priority | |
US20150099491A1 (en) | Instant message transmitting and receiving system, terminal device and controlling method thereof | |
US20170289086A1 (en) | Messaging system with message management control | |
WO2017166616A1 (zh) | 一种信息处理方法、装置和电子设备 | |
CN103957322A (zh) | 移动终端的防盗方法和移动终端 | |
CN110620847B (zh) | 智能终端的防盗方法、该智能终端 | |
CN111130986B (zh) | 消息发送方法、装置、设备及存储介质 | |
CN107704337B (zh) | 恢复出厂设置的方法、移动终端及具有存储功能的装置 | |
US20170012917A1 (en) | Method for Information Transmitting/Receiving and Terminal Therefor | |
WO2018126884A1 (zh) | 一种终端设备的节电方法及终端设备 | |
KR102184305B1 (ko) | 인증을 처리하는 방법 및 이를 제공하는 전자 장치와 서버 | |
CN110113246B (zh) | 一种保护会话隐私的方法 | |
EP3249883A1 (en) | Information sharing method and apparatus | |
WO2020097873A1 (zh) | 悬浮窗控制方法及相关产品 | |
CN105376279B (zh) | 推荐联系人的方法及装置 | |
CN105634882B (zh) | 网络接入设备共享方法、装置和*** |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15865881 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15865881 Country of ref document: EP Kind code of ref document: A1 |