WO2015184883A1 - 一种短信处理方法及装置 - Google Patents

一种短信处理方法及装置 Download PDF

Info

Publication number
WO2015184883A1
WO2015184883A1 PCT/CN2015/074400 CN2015074400W WO2015184883A1 WO 2015184883 A1 WO2015184883 A1 WO 2015184883A1 CN 2015074400 W CN2015074400 W CN 2015074400W WO 2015184883 A1 WO2015184883 A1 WO 2015184883A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
deletion
time
delay
user
Prior art date
Application number
PCT/CN2015/074400
Other languages
English (en)
French (fr)
Inventor
郭海林
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015184883A1 publication Critical patent/WO2015184883A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • This paper relates to the field of mobile communications, and in particular to a method and device for short message processing.
  • 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 period, Determine whether the user re-brows the deleted 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 further includes: before starting the deletion delay, 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 SMS deletion operation according to the deletion delay information or Delete the message completely.
  • determining to cancel the short message deletion operation or completely deleting the short message according to the deletion delay information including: determining the remaining time in the boot time-shutdown time>the deletion delay information Whether the time is established; if yes, the short message corresponding to the identifier is completely deleted; if not, during the remaining time - (boot time - shutdown time), it is determined whether the user re-brows the deleted short message in the short message list, if Yes, the SMS deletion operation is cancelled, and if not, the SMS 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 delete a short message received by a user. After the request, the deletion delay is started; the determining module is configured to determine whether the user re-brows the deleted short message in the short message list during the deletion delay period; the short message processing module is set to be determined by the determining module If yes, the short message deletion operation is cancelled. If the determination result of the determination module is negative, the short message is completely deleted after the deletion delay expires.
  • a delay start module configured to delete a short message received by a user. After the request, the deletion delay is started; the determining module is configured to determine whether the user re-brows the deleted short message in the short message list during the deletion delay period; the short message processing module is set to be determined by the determining module If yes, the short message deletion operation is cancelled. If the determination result of the determination module is negative, the short message is completely deleted after the deletion delay expires.
  • 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 set to be after the mobile phone is restarted, according to Deleting the delay information, determining to cancel the SMS deletion operation or completely deleting 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 set to be after the mobile phone is restarted, according to Deleting the delay information, determining to cancel the SMS deletion operation or completely deleting the short message.
  • 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 in the time determining unit If the result of the determination 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 - (boot time - shutdown time) During the period of time, it is determined whether the user re-brows the short message in the short message list, and if so, the short message deletion operation is cancelled, and if not, the short message is completely deleted after the deletion delay expires.
  • an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method.
  • 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.
  • the operation result is not ideal.
  • the embodiment of the present invention provides a method and a device for processing a short message, and further embodiments of the present invention are further described below with reference to the accompanying drawings. Detailed description. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the 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.
  • the SMS deletion operation After receiving the SMS deletion request from the user, the SMS 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 an optional 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 an optional 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 Time information, determine to cancel the SMS deletion operation or completely delete the above SMS.
  • the mobile phone After the mobile phone is restarted, according to the above deletion delay information, it is determined to cancel the SMS deletion operation or completely delete the short message, including: determining the boot time - shutdown time > the above deletion delay letter Whether the remaining time in the interest is established; if yes, the short message corresponding to the above identifier is completely deleted; if not, in the remaining time - (power on time - power off time), it is determined whether the user revisits the short message in the short message list. If yes, cancel the SMS deletion operation. If not, the above SMS will be completely deleted after the above 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. .
  • 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 determining whether the timer set in step S207 has arrived, and then proceeding to S206, such as If the timing time has not expired, go 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. If yes, the process goes to S209. If the user does not browse the short message in the short message list that has just been subjected to the deletion operation, 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-listing in the list The short message is described, if yes, the short message deletion operation is cancelled, and if not, the above short message is completely deleted after the above 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.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the operation is relatively simple, in order to recover the erroneously deleted short message, only need to re-view in the short message list; no risk of user privacy data leakage; recovery is guaranteed, as long as the deletion delay, the deletion of the short message The recovery is guaranteed and will not be covered by other new data; personalization settings, users can set the corresponding deletion delay information according to their living habits or other needs.

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 (11)

  1. 一种短信处理方法,所述方法包括:
    在接收到用户的短信删除请求后,启动删除延时;
    在所述删除延时期间,判断用户是否在短信列表内重新浏览被删除的短信;
    如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
  2. 如权利要求1所述的方法,所述方法还包括:
    启动删除延时之前,
    系统默认设置删除延时的时长,或者基于用户要求设置删除延时的时长。
  3. 如权利要求1所述的方法,所述方法还包括:
    如果在所述删除延时期间手机关机,则保存删除延时信息;
    在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信。
  4. 如权利要求3所述的方法,其中,
    所述删除延时信息包括关机时间、剩余时间、欲删除短信的标识;其中,所述关机时间为手机关机时的系统时间,所述剩余时间=删除延时的时长-从启动删除延时到关机时的已过时间。
  5. 如权利要求4所述的方法,其中,在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信,包括:
    判断开机时间-关机时间>所述删除延时信息中的剩余时间是否成立;
    如果是,则彻底删除所述标识对应的短信;
    如果否,则在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览被删除的短信,如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
  6. 如权利要求1至5中任一项所述的方法,其中,所述短信为弹出式即 时新短信。
  7. 一种短信处理装置,所述装置包括:
    延时启动模块,设置为在接收到用户的短信删除请求后,启动删除延时;
    判断模块,设置为在所述删除延时期间,判断用户是否在短信列表内重新浏览被删除的短信;
    短信处理模块,设置为在所述判断模块的判断结果为是的情况下,取消短信删除操作,在所述判断模块的判断结果为否的情况下,在所述删除延时到期后,彻底删除所述短信。
  8. 如权利要求7所述的装置,所述装置还包括:
    关机保存模块,设置为在所述删除延时期间手机关机的情况下,保存删除延时信息;
    开机处理模块,设置为在所述手机重新开机后,根据所述删除延时信息,确定取消短信删除操作或者彻底删除所述短信。
  9. 如权利要求8所述的装置,其中,
    所述删除延时信息包括关机时间、剩余时间、欲删除短信的标识;其中,所述关机时间为手机关机时的系统时间,所述剩余时间=删除延时的时长-从启动删除延时到关机时的已过时间。
  10. 如权利要求9所述的装置,其中,所述开机处理模块包括:
    时间判断单元,设置为判断开机时间-关机时间>所述删除延时信息中的剩余时间是否成立;
    第一处理单元,设置为在所述时间判断单元的判断结果为是的情况下,彻底删除所述标识对应的短信;
    第二处理单元,设置为在所述时间判断单元的判断结果为否的情况下,在剩余时间-(开机时间-关机时间)的期间,判断用户是否在短信列表内重新浏览所述短信,如果是,则取消短信删除操作,如果否,则在所述删除延时到期后,彻底删除所述短信。
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~6中任一项所述的方法。
PCT/CN2015/074400 2014-12-04 2015-03-17 一种短信处理方法及装置 WO2015184883A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410728356.7A CN105721664B (zh) 2014-12-04 2014-12-04 一种短信处理方法及装置
CN201410728356.7 2014-12-04

Publications (1)

Publication Number Publication Date
WO2015184883A1 true WO2015184883A1 (zh) 2015-12-10

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 After (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078809 WO2016086605A1 (zh) 2014-12-04 2015-05-12 一种短信处理方法及装置

Country Status (2)

Country Link
CN (1) CN105721664B (zh)
WO (2) WO2015184883A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
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 深圳天珑无线科技有限公司 短信管理方法、移动终端及计算机可读存储介质
CN108966159B (zh) * 2018-09-03 2022-03-01 平安科技(深圳)有限公司 短信撤回方法、系统、计算机设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778163A (zh) * 2010-01-05 2010-07-14 上海市共进通信技术有限公司 无线宽带客户端系统中实现短信删除后恢复的装置及方法
CN103501243A (zh) * 2013-09-23 2014-01-08 北京创艺和弦科贸有限公司 页面式通信管理装置及方法
CN103944811A (zh) * 2014-05-15 2014-07-23 广州博冠信息科技有限公司 一种邮件提示方法和设备
CN104023322A (zh) * 2014-05-12 2014-09-03 可牛网络技术(北京)有限公司 垃圾短信的处理方法和装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100663510B1 (ko) * 2003-11-19 2007-01-02 삼성전자주식회사 이동통신 단말기에 수신된 문자메시지를 삭제하는 장치 및방법
KR100584319B1 (ko) * 2003-12-08 2006-05-26 삼성전자주식회사 수신측 문자메시지 삭제 가능한 이동통신단말기 및 그의문자메시지 전송 및 삭제 방법
CN101188836A (zh) * 2007-11-01 2008-05-28 深圳华为通信技术有限公司 信息删除方法及装置
CN101697561A (zh) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 一种回收短消息的方法及移动终端
CN101938565A (zh) * 2010-09-10 2011-01-05 中兴通讯股份有限公司 短信处理方法及移动终端
CN103164432B (zh) * 2011-12-13 2016-03-30 联想(北京)有限公司 恢复误删除文件的方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
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 可牛网络技术(北京)有限公司 垃圾短信的处理方法和装置
CN103944811A (zh) * 2014-05-15 2014-07-23 广州博冠信息科技有限公司 一种邮件提示方法和设备

Also Published As

Publication number Publication date
CN105721664A (zh) 2016-06-29
WO2016086605A1 (zh) 2016-06-09
CN105721664B (zh) 2018-08-28

Similar Documents

Publication Publication Date Title
JP6310030B2 (ja) プログラム、端末および方法
US10530716B2 (en) Voice chat mode self-adapting method and apparatus
WO2016045191A1 (zh) 信息处理方法及信息处理装置
US9111181B2 (en) Detecting and flagging likely confidential content in photographs to prevent automated dissemination
US11307910B2 (en) Notification tagging for a workspace or application
WO2017008629A1 (zh) 工作状态的提示方法及装置
CN103024061B (zh) 网络通讯录共享系统及方法
US20150244834A1 (en) Method, Device and System for Processing Instant Messaging Information and Setting Terminal Priority
WO2016029578A1 (zh) 双系统电子装置及终端
WO2015184883A1 (zh) 一种短信处理方法及装置
KR102313395B1 (ko) 사용자 계정에 기반한 통신 처리 방법 및 장치
CN104158727A (zh) 一种定时删除即时消息的方法和装置
US9432810B2 (en) Opt-in and time limited bi-directional real-time location sharing
WO2017166707A1 (zh) 一种撤销发出的短信的方法、装置和电子设备
WO2017166616A1 (zh) 一种信息处理方法、装置和电子设备
CN111130986B (zh) 消息发送方法、装置、设备及存储介质
WO2016131286A1 (zh) 联系人信息同步方法和装置
KR102184305B1 (ko) 인증을 처리하는 방법 및 이를 제공하는 전자 장치와 서버
KR20180048830A (ko) 압력에 의해 열람후소멸 메시지로 설정하는 방법 및 장치
WO2020097873A1 (zh) 悬浮窗控制方法及相关产品
CN105634882B (zh) 网络接入设备共享方法、装置和系统
CN107704337B (zh) 恢复出厂设置的方法、移动终端及具有存储功能的装置
CN105376279B (zh) 推荐联系人的方法及装置
CN105515950B (zh) 通讯终端的漏接来电提醒方法及装置
US9888281B2 (en) Set-top box, client, system and method for access of virtual desktop

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: 15804041

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: 15804041

Country of ref document: EP

Kind code of ref document: A1