CN106155696B - Method and device for deleting information - Google Patents

Method and device for deleting information Download PDF

Info

Publication number
CN106155696B
CN106155696B CN201610608752.5A CN201610608752A CN106155696B CN 106155696 B CN106155696 B CN 106155696B CN 201610608752 A CN201610608752 A CN 201610608752A CN 106155696 B CN106155696 B CN 106155696B
Authority
CN
China
Prior art keywords
application
notification message
determining
processing command
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610608752.5A
Other languages
Chinese (zh)
Other versions
CN106155696A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610608752.5A priority Critical patent/CN106155696B/en
Publication of CN106155696A publication Critical patent/CN106155696A/en
Application granted granted Critical
Publication of CN106155696B publication Critical patent/CN106155696B/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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Abstract

The disclosure relates to a method and a device for deleting information, which are used for realizing automatic information deletion and simplifying user operation. The method comprises the following steps: monitoring the notification message in real time; receiving a first processing command for a first application; determining a notification message associated with the first application as a target notification message; and deleting the target notification message.

Description

Method and device for deleting information
Technical Field
The present disclosure relates to the field of communications and computer processing, and in particular, to a method and apparatus for deleting information.
Background
With the development of electronic technology, mobile terminals have become popular and are updated very quickly. The mobile terminal can install various applications to provide rich functions to the user. In order to facilitate the user to know all information in time, the mobile terminal can display notification prompt information of each application through the notification bar.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for deleting information.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for deleting information, including:
monitoring the notification message in real time;
receiving a first processing command for a first application;
determining a notification message associated with the first application as a target notification message;
and deleting the target notification message.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when an application is operated, the embodiment can automatically delete the associated notification message. The user does not need to quit the current application, enter the notification bar and delete the notification message, so that the user operation is simplified, and the storage space is saved in time.
In one embodiment, after receiving a first process command for a first application, the method further comprises:
checking whether the first application is in a preset cleaning application set;
the determining a notification message associated with a first application includes:
upon determining that the first application is in a preset set of cleaning applications, determining a notification message associated with the first application.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: for some applications, there is an associated notification message; for some applications, there is no associated notification message. The embodiment may determine whether the first application has an associated notification message by cleaning up the application set. If no associated notification message exists, the notification message is not determined. And subsequent processing links are saved. If there is an associated notification message, the process of determining the notification message can be performed such that the process of determining the notification message is more accurate.
In one embodiment, the first processing command is a processing command to open the first application.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in this embodiment, the first processing command is a processing command for opening the first application, that is, the associated notification message may be deleted when the first application is opened, so that the notification message is deleted in time.
In one embodiment, the determining a notification message associated with the first application comprises:
determining a notification message containing an identification of the first application; or
Determining a notification message sent by a server of the first application.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the embodiment provides various modes for determining the notification message, and is suitable for various application scenes, so that the information searching is more accurate.
In one embodiment, the first processing command is a processing command for a service in the first application;
the determining a notification message associated with the first application includes:
a notification message associated with the first process command is determined.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the present embodiment may delete the notification message only when a processing command related to the notification message occurs.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for deleting information, including:
the monitoring module is used for monitoring the notification message in real time;
the first receiving module is used for receiving a first processing command of a first application;
a determining module for determining a notification message associated with the first application as a target notification message;
and the deleting module is used for deleting the target notification message.
In one embodiment, the apparatus further comprises:
the checking module is used for checking whether the first application is in a preset cleaning application set or not;
the determining module comprises:
a first determining submodule, configured to determine a notification message associated with the first application when the first application is determined to be in a preset cleaning application set.
In one embodiment, the first processing command is a processing command to open the first application.
In one embodiment, the determining module comprises:
a second determining submodule for determining a notification message containing an identification of the first application; or
And the third determining submodule is used for determining the notification message sent by the server of the first application.
In one embodiment, the first processing command is a processing command for a service in the first application;
the determining module comprises:
a fourth determination submodule configured to determine a notification message associated with the first processing command.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for deleting information, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring the notification message in real time;
receiving a first processing command for a first application;
determining a notification message associated with the first application as a target notification message;
and deleting the target notification message.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of deleting information in accordance with an example embodiment.
FIG. 2 is a flow diagram illustrating a method of deleting information in accordance with an example embodiment.
FIG. 3 is a flow diagram illustrating a method of deleting information in accordance with an example embodiment.
FIG. 4 is a flow diagram illustrating a method of deleting information in accordance with an example embodiment.
FIG. 5 is a flow diagram illustrating a method of deleting information in accordance with an example embodiment.
FIG. 6 is a flow diagram illustrating a method of deleting information in accordance with an example embodiment.
FIG. 7 is a flow diagram illustrating a method of deleting information in accordance with an example embodiment.
Fig. 8 is a block diagram illustrating an apparatus for deleting information according to an example embodiment.
FIG. 9 is a block diagram illustrating an inspection module in accordance with an exemplary embodiment.
FIG. 10 is a block diagram illustrating a determination module in accordance with an exemplary embodiment.
FIG. 11 is a block diagram illustrating a determination module in accordance with an exemplary embodiment.
FIG. 12 is a block diagram illustrating a determination module in accordance with an exemplary embodiment.
Fig. 13 is a block diagram illustrating an apparatus for deleting information according to an example embodiment.
FIG. 14 is a block diagram illustrating an inspection module in accordance with an exemplary embodiment.
FIG. 15 is a block diagram illustrating an association module in accordance with an exemplary embodiment.
FIG. 16 is a block diagram illustrating an association module in accordance with an exemplary embodiment.
FIG. 17 is a block diagram illustrating a lookup module in accordance with an exemplary embodiment.
Fig. 18 is a block diagram illustrating an apparatus for deleting information according to an example embodiment.
FIG. 19 is a block diagram illustrating a deletion module in accordance with an exemplary embodiment.
FIG. 20 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, a system notification bar receives notification prompt information sent by a plurality of application servers, such as update of XX application, completion of XX file download, news reminding and the like. If the user enters the XX application and completes the update, the system notification bar will also have a notification that the application has an update. The user is required to manually delete the notification prompt information in the notification bar, or the notification bar is automatically deleted when a certain time elapses. And if the user needs to manually delete the data, inconvenience is brought to the user. If the waiting notification bar is automatically deleted, the notification prompt messages occupy the storage space until the notification bar deletes the notification prompt messages.
To solve the above problem, the present embodiment automatically deletes the notification message associated therewith according to the usage of some applications. The information can be cleaned in time, the storage space is saved, and the user operation can be reduced by automatic cleaning.
Fig. 1 is a flowchart illustrating a method of deleting information according to an exemplary embodiment, which may be implemented by a mobile terminal, as shown in fig. 1, and includes the following steps:
in step 101, monitoring the notification message in real time;
in step 102, receiving a first processing command for a first application;
in step 103, determining a notification message associated with the first application as a target notification message;
in step 104, the target notification message is deleted.
The present embodiment may trigger the deletion process of the notification message according to an operation of the first application by the user or an automatic process of the first application. The automatic deletion and timely deletion of the notification message are realized, the storage space is saved, and the user operation is reduced.
For example, the first application is a player application. A notification prompt (i.e., a notification message) is in the notification bar for the player application to be updated. The user can click the player application and update, and receiving the update command is equivalent to receiving a first processing command for the first application. And determining that the player application is associated with the notification bar application, and searching whether notification prompt information of the player application is related in the notification bar application. As a result, if the update notification of the player application is found, the update notification of the player application is deleted from the notification bar application. Because the player application has completed updating by the user's operation, the update notification in the notification bar has no meaning. The update notification in the notification bar can be deleted in time.
In one embodiment, after receiving a first process command for a first application, the method further comprises: step a 1.
In step a1, it is checked whether the first application is in a preset set of cleaning applications.
The step 102 comprises: step a 2.
In step a2, upon determining that the first application is in a preset set of cleaning applications, a notification message associated with the first application is determined.
Not all first applications have associated notification messages, so the set of cleaning applications is preconfigured. The cleaning application set records an identification of the first application that may be associated to the notification message. Whether a first application exists is searched in the cleaning application set, and if the first application exists, the associated notification message is determined. Unnecessary redundant processing can be reduced, and the processing procedure can be simplified.
The cleaning application set can be configured by the server and sent to the mobile terminal, and can also be configured on the mobile terminal by the user.
In one embodiment, the first processing command is a processing command to open the first application.
The first processing command may be any one command for the first application. When the first processing command is a processing command for opening the first application, the corresponding notification message can be deleted just when the first application is triggered, the notification message can be deleted in time, and the storage space can be cleared in time.
In one embodiment, the step 103 comprises: step C1 or step C2. Step C1 and step C2 provide various implementations of finding information. Of course other implementations are also suitable for the present embodiment.
In step C1, a notification message containing an identification of the first application is determined.
For example, the information content of a piece of information in the notification bar application includes XX application identification (name or icon, etc.), information content (such as a new message). And matching the identification of the first application with the XX application identification in the notification bar, and finding information about the first application if the matching is consistent. If the match is inconsistent, no information about the first application is found.
The embodiment is suitable for most scenes, and information can be simply and conveniently searched.
In step C2, a notification message sent by the server of the first application is determined.
For example, when the notification bar application receives a notification prompt message, the sender of the message can be known. Therefore, the sending end of the information may be matched with the server of the first application, the sending address may be matched, and the device identifier may also be matched. If the match is consistent, it is determined that information about the first application is found. If the match is inconsistent, no information about the first application is found.
In one embodiment, the first processing command is a processing command for a service in the first application;
the step 103 comprises: step C3.
In step C3, a notification message associated with the first process command is determined.
For example, the notification bar application receives a notification prompt, which is an update notification for the first application. When the first processing command is an update processing command, the first processing command is associated with the notification message, and the notification message may be deleted. Because the first application has been updated, the notification of the update of the first application is also meaningless and can be deleted.
The implementation is believed to be described below by way of several examples.
Fig. 2 is a flowchart illustrating a method of deleting information according to an exemplary embodiment, which may be implemented by a mobile terminal, as shown in fig. 2, and includes the following steps:
in step 201, the notification message is monitored in real time.
In step 202, a first process command for a first application is received.
In step 203, it is checked whether the first application is in a preset set of cleaning applications. And when the first application is determined to be in the preset cleaning application set, continuing to step 204, otherwise, ending the process.
In step 204, a notification message containing an identification of the first application is determined as a target notification message.
In step 205, the target notification message is deleted.
Fig. 3 is a flowchart illustrating a method of deleting information according to an exemplary embodiment, which may be implemented by a mobile terminal, as shown in fig. 3, and includes the steps of:
in step 301, the notification message is monitored in real time.
In step 302, a first process command for a first application is received.
In step 303 it is checked whether the first application is in a preset set of cleaning applications. And when the first application is determined to be in the preset cleaning application set, continuing to step 304, otherwise, ending the process.
In step 304, a notification message sent by the server of the first application is determined as a target notification message.
In step 305, the target notification message is deleted.
It was introduced above that the notification message in the notification bar relating to the first application can be deleted when the first application is triggered. Of course, when the first application is triggered, the notification message in the notification bar is not limited to be deleted, and information related to the first application in other applications may also be deleted, which is described below.
Fig. 4 is a flowchart illustrating a method of deleting information, which may be implemented by a mobile terminal, as shown in fig. 4, according to an example embodiment, including the steps of:
in step 401, a first process command for a first application is received.
In step 402, a second application associated with the first application is determined.
In step 403, information related to the first application is looked up in the second application.
In step 404, the information found is deleted.
The present embodiment may trigger the information deletion process for the second application according to an operation of the first application by the user or an automatic process of the first application. The automatic deletion and timely deletion of the information in the second application are realized, the storage space is saved, and the user operation is reduced.
For example, the first application is a player application and the second application is a notification bar application. A notification prompt message in the notification bar indicates that the player application is updated. The user can click the player application and update, and receiving the update command is equivalent to receiving a first processing command for the first application. And determining that the player application is associated with the notification bar application, and searching whether notification prompt information of the player application is related in the notification bar application. As a result, if the update notification of the player application is found, the update notification of the player application is deleted from the notification bar application. Because the player application has completed updating by the user's operation, the update notification in the notification bar has no meaning. The update notification in the notification bar can be deleted in time.
As another example, the first application is a social application, and the second application is an album application (or gallery application). The album application may store the photographed photos or videos, etc. The social application may provide functionality to share pictures among friends. The shared picture may be a photograph taken temporarily. And if the user enters the social application, clicking a sharing button, selecting a picture to be shared, and clicking to shoot the picture. At this point, the photograph may be taken and stored in the album application. Receiving a command to take a picture corresponds to receiving a first processing command to a first application. The user may then share the photo, which may be automatically deleted from the album after sharing the photo. The information stored in the album application is cleared in time, and the storage space is saved.
In one embodiment, after receiving a first process command for a first application, the method further comprises: step D1.
In step D1, it is checked whether the first application is in a preset set of cleaning applications.
The step 402 comprises: step D2.
In step D2, upon determining that the first application is in a preset cleaning application set, a second application associated with the first application is determined.
Not all first applications have associated second applications, so a set of cleaning applications is preconfigured. The clean-up application set records an identification of the first application that may be associated with the second application. Whether a first application exists is searched in the cleaning application set, and if the first application exists, the associated second application is determined. Unnecessary redundant processing can be reduced, and the processing procedure can be simplified.
The cleaning application set can be configured by the server and sent to the mobile terminal, and can also be configured on the mobile terminal by the user.
In one embodiment, the step 402 includes: step E1 or step E2. Step E1 and step E2 provide two implementations of determining the second application. Of course, other implementations are also possible and are suitable for the present embodiment.
In step E1, a second application associated with the first application is determined according to a preset correspondence relationship between applications.
The correspondence relationship between the first application and the second application may be preset, as shown in table 1.
TABLE 1
First application Second application
Social applications Notification bar application and photo album application
Browser application Notification bar application
…… ……
There may be one or more than two second applications associated with the first application. The associated second application may be determined by looking up table 1. Table 1 may be configured by the server and sent to the mobile terminal or may be configured by the user on the mobile terminal.
Table 1 may also be merged with the cleaning application set. Taking the table 1 as a cleaning application set, finding the first application in the first column of the table 1, and determining that the first application is in the cleaning application set.
The second application can be determined more conveniently and quickly by means of the corresponding relation. The first process command may be the first process command to the first application, and may be any command. Upon receiving a first processing command for a first application, an associated second application may be determined and a process of deleting information may be performed immediately. The present embodiment is suitable for a scene such as a notification bar.
In step E2, the application called by the first processing command is determined as the second application associated with the first application.
In the process of executing the first processing command, the first processing command is analyzed, the second application is determined to be involved in the execution of the first processing command, and then the involved second application is determined to be the associated second application. For example, the execution address of the first processing command points to the second application.
Or, different processing commands of the first application correspond to different second applications, and a corresponding relationship among the first application, the first processing command, and the second application is established, as shown in table 2:
TABLE 2
Figure BDA0001063292910000101
Figure BDA0001063292910000111
With table 2, the associated second application can be determined according to the first application and the first processing command. The information in the different second application is cleared according to the different processing commands. When the first application appears in table 2, the present embodiment requires the mobile terminal to monitor each first processing command of the first application to see whether it appears in table 2.
Table 2 may be merged with the cleaning application set. Taking the table 2 as a cleaning application set, finding the first application in the first column of the table 2, and determining that the first application is in the cleaning application set.
In one embodiment, the step 403 includes: step F1 or step F2 or step F3. Step F1, step F2, and step F3 provide various implementations of finding information. Of course other implementations are also suitable for the present embodiment.
In step F1, information containing the identity of the first application is looked up in the information content of the second application.
For example, the second application is a notification bar application, and the information content of a piece of information in the notification bar application includes XX application identification (name or icon, etc.), information content (such as a new message). And matching the identification of the first application with the XX application identification in the notification bar, and finding information about the first application if the matching is consistent. If the match is inconsistent, no information about the first application is found.
The embodiment is suitable for most scenes, and information can be simply and conveniently searched.
In step F2, the second application is searched for information sent from the server of the first application.
For example, the second application is a notification bar application. When the application of the notification bar receives a notification prompt message, the sending end of the message can be known. Therefore, the sending end of the information may be matched with the server of the first application, the sending address may be matched, and the device identifier may also be matched. If the match is consistent, it is determined that information about the first application is found. If the match is inconsistent, no information about the first application is found.
In step F3, the information required to be stored by the first processing command is looked up in the second application.
For example, the second application is an album application, the first application is a social application, and the first processing command is a shooting command. In the process of executing the shooting command, the shot photo is stored in the album, so that it is possible to know that the shooting command is directed to the album application and which photo is stored. Therefore, the corresponding photo can be found in the album application according to the shooting command.
In one embodiment, when the second application searches for the information required to be stored by the first processing command, the method further includes: step G1.
In step G1, a second process command for the first application is received.
Step 404 includes: step G2.
In step G2, after the execution of the second processing command is finished, the searched information is deleted.
For example, the first application is a social application and the second application is an album application. The first processing command is a shooting command, and the second processing command is a transmission command. After the photo is sent in the social application, the photo is shared with the friend. The album application may delete the sent photo at this point.
In steps 401-404, each of the 4 steps may be implemented by the operating system. Or when the operating system monitors the first processing command of the first application, the operating system inquires information in the second application and informs the second application of deleting. Alternatively, steps 401 and 402 are implemented by the first application, which may notify the second application to query for information and delete it. Other division manners can be provided among the operating system, the first application and the second application, and the method and the device are all suitable for the embodiment.
The implementation is believed to be described below by way of several examples.
Fig. 5 is a flowchart illustrating a method of deleting information, which may be implemented by a mobile terminal, as shown in fig. 2, according to an example embodiment, including the steps of:
in step 501, a first process command for a first application is received.
In step 502, it is checked whether the first application is in a preset set of cleaning applications. And when the first application is determined to be in the preset cleaning application set, continuing to step 503, otherwise, ending the process.
In step 503, a second application associated with the first application is determined according to a preset correspondence between applications.
In step 504, information containing the identity of the first application is looked up in the information content of the second application.
In step 505, the found information is deleted.
Fig. 6 is a flowchart illustrating a method of deleting information, which may be implemented by a mobile terminal, as shown in fig. 6, according to an example embodiment, including the steps of:
in step 601, a first process command for a first application is received.
In step 602, it is checked whether the first application is in a preset cleaning application set. And when the first application is determined to be in the preset cleaning application set, continuing the step 603, otherwise, ending the process.
In step 603, according to a preset correspondence between applications, a second application associated with the first application is determined.
In step 604, the second application is searched for information sent from the server of the first application.
In step 605, the found information is deleted.
Fig. 7 is a flowchart illustrating a method of deleting information according to an exemplary embodiment, which may be implemented by a mobile terminal, as shown in fig. 7, and includes the steps of:
in step 701, a first process command for a first application is received.
In step 702, the application called by the first processing command is determined as a second application associated with the first application.
In step 703, the second application is searched for information that is required to be stored by the first processing command.
In step 704, a second process command for the first application is received.
In step 705, after the execution of the second processing command is finished, the searched information is deleted.
The above description is directed to the implementation process of deleting information, which is implemented by a mobile terminal and a computer, and the following description is directed to the internal structures and functions of the two devices, respectively.
Fig. 8 is a schematic diagram illustrating an apparatus for deleting information according to an example embodiment. Referring to fig. 8, the apparatus includes: a monitoring module 801, a first receiving module 802, a determining module 803, and a deleting module 804.
And a monitoring module 801, configured to perform real-time monitoring on the notification message.
A first receiving module 802, configured to receive a first processing command for a first application.
A determining module 803, configured to determine a notification message associated with the first application as a target notification message;
a deleting module 804, configured to delete the target notification message.
In one embodiment, as shown in fig. 9, the apparatus further comprises: the module 901 is checked.
A checking module 901, configured to check whether the first application is in a preset cleaning application set.
As shown in fig. 10, the determining module 803 includes: a first determination submodule 1001.
A first determining submodule 1001, configured to determine a notification message associated with the first application when the first application is determined to be in a preset cleaning application set.
In one embodiment, the first processing command is a processing command to open the first application.
In one embodiment, as shown in fig. 11, the determining module 803 includes: a second determination submodule 1101 or a third determination submodule 1102.
A second determining submodule 1101 for determining a notification message containing an identification of the first application.
A third determining submodule 1102, configured to determine a notification message sent by the server of the first application.
In one embodiment, the first processing command is a processing command for a service in the first application.
As shown in fig. 12, the determining module 803 includes: a fourth determination submodule 1201.
A fourth determining sub-module 1201, configured to determine a notification message associated with the first processing command.
Fig. 13 is a schematic diagram illustrating an apparatus for deleting information according to an example embodiment. Referring to fig. 13, the apparatus includes: a first receiving module 1301, an association module 1302, a lookup module 1303, and a delete module 1304.
A first receiving module 1301 is configured to receive a first processing command for a first application. The first receiving module 1301 is the same as the first receiving module 802.
An association module 1302 for determining a second application associated with the first application.
A searching module 1303, configured to search for information related to the first application in the second application.
A deleting module 1304, configured to delete the found information. The delete module 1304 is the same as the delete module 804.
In one embodiment, as shown in fig. 14, the apparatus further comprises: the module 1401 is checked.
A checking module 1401 configured to check whether the first application is in a preset cleaning application set. The checking module 1401 is the same as the checking module 901.
As shown in fig. 15, the association module 1302 includes: a first association submodule 1501.
The first association submodule 1501 is configured to, when it is determined that the first application is in a preset cleaning application set, determine a second application associated with the first application.
In one embodiment, as shown in fig. 16, the association module 1302 includes: the second association sub-module 1601 or the third association sub-module 1602.
The second association sub-module 1601 is configured to determine, according to a preset correspondence between applications, a second application associated with the first application.
A third association sub-module 1602, configured to determine the application called by the first processing command as the second application associated with the first application.
In one embodiment, as shown in fig. 17, the lookup module 1303 includes: a first lookup submodule 1701, a second lookup submodule 1702 or a third lookup submodule 1703.
A first search submodule 1701 is configured to search for information containing an identifier of the first application in the information content of the second application.
A second searching sub-module 1702, configured to search the second application for the information sent by the server of the first application.
A third searching submodule 1703, configured to search the second application for the information required to be stored in the first processing command.
In one embodiment, as shown in fig. 18, when the second application searches for the information required to be stored by the first processing command, the apparatus further includes: a second receiving module 1801.
A second receiving module 1801, configured to receive a second processing command for the first application.
As shown in fig. 19, the deleting module 504 includes: sub-module 1901 is deleted.
The delete sub-module 1901 is configured to delete the searched information after the execution of the second processing command is finished.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 20 is a block diagram illustrating an apparatus 2000 for deleting information according to an example embodiment. For example, the apparatus 2000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 20, the apparatus 2000 may include one or more of the following components: a processing component 2002, a memory 2004, a power component 2006, a multimedia component 2008, an audio component 2010, an input/output (I/O) interface 2012, a sensor component 2014, and a communication component 2016.
The processing component 2002 generally controls the overall operation of the device 2000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 2002 may include one or more processors 2020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 2002 can include one or more modules that facilitate interaction between the processing component 2002 and other components. For example, the processing component 2002 may include a multimedia module to facilitate interaction between the multimedia component 2008 and the processing component 2002.
The memory 2004 is configured to store various types of data to support operations at the apparatus 2000. Examples of such data include instructions for any application or method operating on device 2000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 2004 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 2006 provides power to the various components of the device 2000. The power components 2006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the device 2000.
The multimedia component 2008 includes a screen providing an output interface between the device 2000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 2008 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 2000 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 2010 is configured to output and/or input audio signals. For example, audio component 2010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 2000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 2004 or transmitted via the communication component 2016. In some embodiments, audio assembly 2010 also includes a speaker for outputting audio signals.
The I/O interface 2012 provides an interface between the processing component 2002 and peripheral interface modules, which can be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 2014 includes one or more sensors for providing various aspects of state assessment for the device 2000. For example, sensor assembly 2014 may detect an open/closed state of device 2000, a relative positioning of components, such as a display and keypad of device 2000, a change in position of device 2000 or one component of device 2000, the presence or absence of user contact with device 2000, an orientation or acceleration/deceleration of device 2000, and a change in temperature of device 2000. The sensor assembly 2014 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 2014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 2014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 2016 is configured to facilitate wired or wireless communication between the apparatus 2000 and other devices. The device 2000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 2016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 2016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 2000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 2004 comprising instructions, executable by the processor 2020 of the apparatus 2000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
An apparatus for deleting information, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring the notification message in real time;
receiving a first processing command for a first application;
determining a notification message associated with the first application as a target notification message;
and deleting the target notification message.
The processor may be further configured to:
after receiving a first process command for a first application, the method further comprises:
checking whether the first application is in a preset cleaning application set;
the determining a notification message associated with a first application includes:
upon determining that the first application is in a preset set of cleaning applications, determining a notification message associated with the first application.
The processor may be further configured to:
the first processing command is a processing command to open the first application.
The processor may be further configured to:
the determining a notification message associated with the first application includes:
determining a notification message containing an identification of the first application; or
Determining a notification message sent by a server of the first application.
The processor may be further configured to:
the first processing command is a processing command for one service in the first application;
the determining a notification message associated with the first application includes:
a notification message associated with the first process command is determined.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of deleting information, the method comprising:
monitoring the notification message in real time;
receiving a first processing command for a first application;
determining a notification message associated with the first application as a target notification message;
and deleting the target notification message.
The instructions in the storage medium may further include:
after receiving a first process command for a first application, the method further comprises:
checking whether the first application is in a preset cleaning application set;
the determining a notification message associated with a first application includes:
upon determining that the first application is in a preset set of cleaning applications, determining a notification message associated with the first application.
The instructions in the storage medium may further include:
the first processing command is a processing command to open the first application.
The instructions in the storage medium may further include:
the determining a notification message associated with the first application includes:
determining a notification message containing an identification of the first application; or
Determining a notification message sent by a server of the first application.
The instructions in the storage medium may further include:
the first processing command is a processing command for one service in the first application;
the determining a notification message associated with the first application includes:
a notification message associated with the first process command is determined.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method of deleting information, comprising:
monitoring the notification messages in the notification bar in real time;
receiving a first processing command for a first application, wherein the first processing command is triggered by the operation of a user on the first application, and the first processing command is a processing command for opening the first application;
determining a notification message associated with the first application as a target notification message;
and deleting the target notification message.
2. The method of deleting information according to claim 1, wherein after receiving a first processing command for a first application, the method further comprises:
checking whether the first application is in a preset cleaning application set;
the determining a notification message associated with a first application includes:
upon determining that the first application is in a preset set of cleaning applications, determining a notification message associated with the first application.
3. The method of deleting information according to claim 1, wherein the determining a notification message associated with the first application includes:
determining a notification message containing an identification of the first application; or
Determining a notification message sent by a server of the first application.
4. The method of deleting information according to claim 1, wherein the first processing command is a processing command for a service in the first application;
the determining a notification message associated with the first application includes:
a notification message associated with the first process command is determined.
5. An apparatus for deleting information, comprising:
the monitoring module is used for monitoring the notification messages in the notification bar in real time;
the device comprises a first receiving module, a first processing module and a second receiving module, wherein the first receiving module is used for receiving a first processing command of a first application, the first processing command is triggered by the operation of a user on the first application, and the first processing command is a processing command for opening the first application;
a determining module for determining a notification message associated with the first application as a target notification message;
and the deleting module is used for deleting the target notification message.
6. The apparatus for deleting information according to claim 5, further comprising:
the checking module is used for checking whether the first application is in a preset cleaning application set or not;
the determining module comprises:
a first determining submodule, configured to determine a notification message associated with the first application when the first application is determined to be in a preset cleaning application set.
7. The apparatus for deleting information according to claim 5, wherein the determining module includes:
a second determining submodule for determining a notification message containing an identification of the first application; or
And the third determining submodule is used for determining the notification message sent by the server of the first application.
8. The apparatus for deleting information according to claim 5, wherein the first processing command is a processing command for a service in the first application;
the determining module comprises:
a fourth determination submodule configured to determine a notification message associated with the first processing command.
9. An apparatus for deleting information, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring the notification messages in the notification bar in real time;
receiving a first processing command for a first application, wherein the first processing command is triggered by the operation of a user on the first application, and the first processing command is a processing command for opening the first application;
determining a notification message associated with the first application as a target notification message;
and deleting the target notification message.
CN201610608752.5A 2016-07-28 2016-07-28 Method and device for deleting information Active CN106155696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610608752.5A CN106155696B (en) 2016-07-28 2016-07-28 Method and device for deleting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610608752.5A CN106155696B (en) 2016-07-28 2016-07-28 Method and device for deleting information

Publications (2)

Publication Number Publication Date
CN106155696A CN106155696A (en) 2016-11-23
CN106155696B true CN106155696B (en) 2020-02-04

Family

ID=58059432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610608752.5A Active CN106155696B (en) 2016-07-28 2016-07-28 Method and device for deleting information

Country Status (1)

Country Link
CN (1) CN106155696B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598403A (en) * 2016-12-08 2017-04-26 北京小米移动软件有限公司 Management method and device for notification messages
JP6974620B2 (en) 2017-09-26 2021-12-01 華為技術有限公司Huawei Technologies Co., Ltd. Notification message processing method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970774A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Notice icon clearing method and device
CN103984468A (en) * 2014-04-21 2014-08-13 联想(北京)有限公司 Method and device for information processing
CN105100483A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Notification setting method and device and terminal
CN105450505A (en) * 2015-11-03 2016-03-30 北京金山安全软件有限公司 Notification message processing method and device and terminal equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7370289B1 (en) * 2001-03-07 2008-05-06 Palmsource, Inc. Method and apparatus for notification on an electronic handheld device using an attention manager
CN103927081A (en) * 2014-03-31 2014-07-16 小米科技有限责任公司 Method and device for processing notification events
CN104077183B (en) * 2014-07-08 2018-07-06 广东欧珀移动通信有限公司 A kind of prompting of software new information reading and operating method and device
CN105812552B (en) * 2015-06-29 2019-08-20 维沃移动通信有限公司 A kind of removing method and terminal of the prompt information of application icon

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970774A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Notice icon clearing method and device
CN103984468A (en) * 2014-04-21 2014-08-13 联想(北京)有限公司 Method and device for information processing
CN105100483A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Notification setting method and device and terminal
CN105450505A (en) * 2015-11-03 2016-03-30 北京金山安全软件有限公司 Notification message processing method and device and terminal equipment

Also Published As

Publication number Publication date
CN106155696A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
CN106095465B (en) Method and device for setting identity image
US10324910B2 (en) Contact record processing method and apparatus
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN104850643B (en) Picture comparison method and device
CN107493366B (en) Address book information updating method and device and storage medium
CN104951522B (en) Method and device for searching
CN106155696B (en) Method and device for deleting information
CN108027821B (en) Method and device for processing picture
CN106878654B (en) Video communication method and device
CN106506808B (en) Method and device for prompting communication message
CN110928425A (en) Information monitoring method and device
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN107169042B (en) Method and device for sharing pictures and computer readable storage medium
CN107239490B (en) Method and device for naming face image and computer readable storage medium
CN110908814A (en) Message processing method and device, electronic equipment and storage medium
CN107885464B (en) Data storage method, device and computer readable storage medium
CN110764847A (en) User information processing method and device, electronic equipment and storage medium
CN106658412B (en) Positioning method and device
CN106528197B (en) Shooting method and device
CN106709027B (en) Picture recommendation method and device
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN106027735B (en) Method and device for integrating communication numbers
CN110941670B (en) Mark state detection method, device, equipment and storage medium
CN107257384B (en) Service state monitoring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant