CN106844566B - Data processing method and system, detected device and processing device - Google Patents
Data processing method and system, detected device and processing device Download PDFInfo
- Publication number
- CN106844566B CN106844566B CN201611270936.1A CN201611270936A CN106844566B CN 106844566 B CN106844566 B CN 106844566B CN 201611270936 A CN201611270936 A CN 201611270936A CN 106844566 B CN106844566 B CN 106844566B
- Authority
- CN
- China
- Prior art keywords
- information
- application
- storage
- storage information
- application information
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/174—Redundancy elimination performed by the file system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The invention provides a data processing method, equipment and a system, wherein the method comprises the steps of obtaining application information of an application corresponding to detected equipment, wherein the application information is information capable of identifying the application; obtaining storage information corresponding to the application information, wherein the storage information is storage position information capable of indicating data to be deleted corresponding to the application; and detecting the detected equipment according to the storage information, and deleting the data matched with the storage information in the detected equipment.
Description
Technical Field
The present invention generally relates to the field of computer software, and in particular, to a data processing method and system, a detected device, and a processing device.
Background
With the popularization of various terminals such as mobile phones, PCs, tablets and the like, applications installed on clients are increasing. During the use of various applications on the client, various files (e.g., a cache of video software, a cookie of browser software) affecting the performance of the terminal are necessarily generated, and the files affecting the performance of the terminal seriously affect the capacity and the running speed of the terminal, so that the files need to be cleaned.
When various types of detection software or cleaning software are used for cleaning files affecting the performance of the terminal aiming at a specific application at present, the large-scale scanning is generally carried out on the terminal according to the application information, and the mode is obviously inefficient.
Disclosure of Invention
One aspect of the present invention provides a data processing method, including:
obtaining application information of an application corresponding to the detected equipment, wherein the application information is information capable of identifying the application;
and obtaining storage information corresponding to the application information, wherein the storage information is storage position information capable of indicating data to be deleted corresponding to the application.
Optionally, the data processing method is applied to the device under test, wherein obtaining the storage information corresponding to the application information includes: receiving storage information from the processing equipment, wherein the storage information is information which is obtained by matching the processing equipment in the corresponding relation between the application information and the storage information according to the application information; the data processing method further comprises: and detecting the detected equipment according to the storage information, and deleting the data matched with the storage information in the detected equipment.
Optionally, the data processing method is applied to the device under test, wherein obtaining the storage information corresponding to the application information includes: reading the corresponding relation between the application information and the storage information, and matching the application information in the corresponding relation to obtain the storage information; the data processing method further comprises: and detecting the detected equipment according to the storage information, and deleting the data matched with the storage information in the detected equipment.
Optionally, before reading the corresponding relationship between the application information and the storage information, the data processing method includes: update information is obtained from the processing device to update the correspondence of the application information with the stored information.
Optionally, the data processing method is applied to a processing device, wherein obtaining application information of an application corresponding to the detected device includes: receiving application information from a detected device; obtaining the storage information corresponding to the application information includes: reading the corresponding relation between the application information and the storage information, and matching the application information in the corresponding relation to obtain the storage information; the data processing method further comprises: and sending the storage information to the detected equipment, so that the detected equipment can detect the stored data according to the storage information and can delete the data matched with the storage information.
Optionally, before reading the correspondence between the application information and the storage information, the method includes: obtaining update information; and updating the corresponding relation between the application information and the storage information according to the updating information.
Another aspect of the present invention provides a data processing system, including:
the application information acquisition module is used for acquiring application information of an application corresponding to the detected equipment, wherein the application information is information capable of identifying the application;
and the storage information acquisition module is used for acquiring the storage information corresponding to the application information, and the storage information is storage position information capable of indicating the data to be deleted corresponding to the application.
One aspect of the present invention provides an electronic device, including:
a processor; and
a memory storing machine readable instructions that, when executed by the processor, cause the processor to:
obtaining application information of an application corresponding to the detected equipment, wherein the application information is information capable of identifying the application;
and obtaining storage information corresponding to the application information, wherein the storage information is storage position information capable of indicating data to be deleted corresponding to the application.
Optionally, the electronic device is used as a processing device, wherein the obtaining, by the processor, application information of an application corresponding to the detected device includes: receiving the application information from the detected device; the processor obtaining the storage information corresponding to the application information comprises: the processor reads the corresponding relation between the application information and the storage information, and matches the application information in the corresponding relation to obtain the storage information; the processor also sends the stored information to the detected device, so that the detected device can detect the stored data according to the stored information and delete the data matched with the stored information.
Optionally, the electronic device further includes a memory set as the detected device, where the memory set includes the above memory, and the obtaining, by the processor, the storage information corresponding to the application information includes: receiving storage information from the processing equipment, wherein the storage information is information which is obtained by matching the processing equipment in the corresponding relation between the application information and the storage information according to the application information;
the processor also detects the memory set according to the storage information and deletes the data matched with the storage information in the memory set.
Drawings
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically shows a flow chart of a data processing method of an embodiment of the present invention.
Fig. 2 schematically shows a flowchart of a data processing method on a device under test according to an embodiment of the present invention.
Fig. 3 schematically shows another flowchart of a data processing method on a device under test according to an embodiment of the present invention.
Fig. 4 schematically shows another flow chart of a method of processing data on a processing device according to an embodiment of the invention.
Fig. 5 schematically shows a structural schematic diagram of the device under test and the processing device in the first embodiment of the present invention.
Fig. 6 schematically shows a structural schematic diagram of the device under test and the processing device in the second embodiment of the present invention.
Fig. 7 schematically shows a schematic diagram of a data processing system according to a third embodiment of the present invention.
Fig. 8 is a schematic diagram of a data processing system according to a fourth embodiment of the present invention.
FIG. 9 schematically illustrates a data processing system workflow diagram of an embodiment of the present invention.
Detailed Description
Other aspects, advantages and salient features of the invention will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses exemplary embodiments of the invention.
In the present invention, the terms "include" and "comprise," as well as derivatives thereof, mean inclusion without limitation; the term "or" is inclusive, meaning and/or.
In this specification, the various embodiments described below which are meant to illustrate the principles of this invention are illustrative only and should not be construed in any way to limit the scope of the invention. The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of exemplary embodiments of the invention as defined by the claims and their equivalents. The following description includes various specific details to aid understanding, but such details are to be regarded as illustrative only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Moreover, descriptions of well-known functions and constructions are omitted for clarity and conciseness. Moreover, throughout the drawings, the same reference numerals are used for similar functions and operations.
Fig. 1 schematically shows a flowchart of a data processing method according to an embodiment of the present invention, which is used for cleaning files in an intelligent terminal to increase the storage capacity or the operating speed of the intelligent terminal. These files are, for example, files that affect the terminal performance generated when an application of the intelligent terminal is used, and as shown in fig. 1, the method includes:
s11, application information of the application corresponding to the device under test is obtained, the application information being information that can identify the application.
In step S11, the obtained application information may be application information of all applications on the device under test, or may be application information of part of application (S) on the device under test obtained by means of user specification, system recommendation, and the like. The detected device includes but is not limited to a mobile phone, a Personal Computer (PC), a Personal Digital Assistant (PDA), a tablet computer (PAD), and other intelligent terminals, and the application corresponding to the detected device may be various applications installed on the device, where the applications include but are not limited to instant messaging software (WeChat, QQ, Skype, and the like), Office software (IE browser, Office, AutoCAD), entertainment software (Yokov online video, Baidu player, and the like), and when the applications are used in the detected device, files affecting the performance of the terminal may be generated, including but not limited to chat records of instant messaging software, web page cache of browser, temporary files of Office software, video cache of video software, and the like.
The application information may include one or more basic information of the application program, the basic information includes, but is not limited to, an application name, an application version, an application publisher, an application installation date, etc., and the basic information may identify a corresponding application, for example, an IE browser, and the application information may include basic information as shown in table 1:
application name | Internet Explorer |
Application version | 8.0.6001.18505 |
Application publisher | Microsoft Cooperation |
Application installation date | 2016 (1 month and 1 day) |
…… | …… |
TABLE 1
S12, obtaining storage information corresponding to the application information, the storage information being storage location information capable of indicating data to be deleted corresponding to the application.
In step S12, the data to be deleted refers to data that is stored on the device under test and affects the performance of the device under test, and the data to be deleted on the device under test can improve the performance (including but not limited to storage performance and/or operation performance) of the corresponding device under test after being deleted. The storage information may be a directory of the file affecting the terminal performance in the detected device, and taking the IE browser in the table as an example, the directory where the corresponding web page cache is located is: c: the directory stores webpage cache Files generated by the User recently using the IE browser. In addition, in this embodiment, the correspondence relationship between the application information and the storage information should be a correspondence relationship between a large amount of application information and corresponding storage information, that is, the correspondence relationship records application information with wider market application and corresponding storage information, and the correspondence relationship can be modified in real time along with development of a new application program or update of an application program. The correspondence may be stored in the form of a table in the database, as shown in table 2:
TABLE 2
As can be seen from the examples shown in the above table, the application information and the storage information have corresponding relations, but the corresponding application information and the storage information may have a one-to-one relation or a one-to-many relation for different applications, for example, for a small application program with a small size, it may set only one directory as a directory for storing its junk files, and for an application program integrated with multiple functions (entertainment, office, communication), it may set multiple junk file directories corresponding to different functions.
The following scenarios exist: 15 applications are installed on a certain mobile phone, the application information in the correspondence relationship is the name of a 1000 popular applications on the market (including 10 applications in the 15 applications, and the 10 applications have 20 junk file directories on the mobile phone), and there are 2000 junk file directories, according to the prior art, whether one or more directories exist in the 2000 directories are directly scanned locally on the mobile phone, that is, 2000 full disk scans are needed locally, obviously, only 20 full disk scans are valid (i.e., 20 directories are scanned, and the other 10 directories are not scanned). In contrast to the above-mentioned embodiment of the present invention, for 15 application programs installed on a mobile phone, where names of 10 application programs and corresponding 20 junk file directories are in a corresponding relationship, the names of 10 application programs are determined in the application relationship, and 20 junk file directories in the corresponding relationship are found, and then the 20 junk file directories are scanned in the mobile phone in a full-disc manner (the other 5 application programs that are not in the corresponding relationship are not processed correspondingly), that is, the embodiment of the present invention only needs to scan 20 times, which reduces the scanning frequency by 99% compared with the existing 2000 times, and obviously improves the scanning efficiency.
The data processing method of this embodiment may be applied to the detected device, and the correspondence between the application information and the stored information may be stored in a processing device external to the detected device, or may be directly stored in the detected device. The processing device may be a server, which may provide storage information corresponding to application information for a plurality of intelligent terminals of different users, or a device dedicated to a certain user and serving a plurality of intelligent terminals of the user.
When the correspondence relationship of the application information of the application program and the storage information is stored on the processing device, the data processing method is as shown in fig. 2:
s21, the detected device locally obtains application information of the application;
s22, the detected device receives storage information from the processing device, wherein the storage information is information obtained by matching the processing device in the corresponding relation between the application information and the storage information according to the application information;
and S23, the detected device detects the detected device according to the storage information, and deletes the data matched with the storage information.
When the correspondence relationship between the application information and the storage information of the application program is stored on the device under test, the data processing method is as shown in fig. 3:
s31, the detected device locally obtains application information of the application;
s32, the detected device reads the corresponding relation between the application information and the storage information, and matches the application information in the corresponding relation to obtain the storage information;
and S33, the detected device detects the detected device according to the stored information, and deletes the data matched with the stored information.
In addition, in the method shown in fig. 3, the detected device also obtains update information from the processing device before reading the correspondence relationship between the application information and the storage information to update the correspondence relationship between the application information and the storage information.
In the methods shown in fig. 2 and fig. 3, the corresponding relations are stored in the detected device and the processing device, respectively, when the corresponding relations are stored in the detected device, the detected device can realize efficient data cleaning without communicating with the outside, and when the corresponding relations are stored in the processing device, the detected device needs to communicate with the processing device, but the storage space of the detected device is saved. In addition, when the corresponding relationship is updated, if the corresponding relationship is stored in the detected device, the user of each detected device needs to participate in the updating operation of the corresponding relationship in person, and if the corresponding relationship is stored in the processing device, only background personnel (such as a server administrator and an application program provider) need to update the corresponding relationship on the processing device, and one or more detected devices can be updated immediately without the participation of the user.
The data processing method of the present invention is also applicable to a processing apparatus, and at this time, the data processing method is as shown in fig. 4:
s41, the processing device obtains application information of the application corresponding to the detected device from the detected device;
s42, the processing device reads the corresponding relation between the application information and the storage information, and matches the application information in the corresponding relation to obtain the storage information;
s43, the processing device sends the storage information to the detected device so that the detected device can detect the stored data according to the storage information and can delete the data matching the storage information.
In addition, in the method shown in fig. 4, the processing device further obtains the update information before reading the correspondence relationship between the application information and the storage information, and updates the correspondence relationship between the application information and the storage information according to the update information.
An embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores machine-readable instructions, and the instructions, when executed by the processor, cause the processor to: obtaining application information of an application corresponding to the detected equipment, wherein the application information is information capable of identifying the application; and obtaining storage information corresponding to the application information, wherein the storage information is storage position information capable of indicating data to be deleted corresponding to the application.
Optionally, when the electronic device of the above embodiment is implemented, the electronic device may be implemented as a processing device, where the obtaining, by the processor, application information of an application corresponding to the detected device includes: receiving the application information from the detected device; the processor obtaining the storage information corresponding to the application information comprises: the processor reads the corresponding relation between the application information and the storage information, and matches the application information in the corresponding relation to obtain the storage information; the processor also sends the stored information to the detected device, so that the detected device can detect the stored data according to the stored information and delete the data matched with the stored information.
Still optionally, when the electronic device of the foregoing embodiment is implemented, the electronic device may be implemented as a detected device, where the detected device includes, in addition to the processor and the memory, a memory set, and the memory set includes the memory, where the processor obtains storage information corresponding to the application information, and includes: receiving storage information from the processing equipment, wherein the storage information is information which is obtained by matching the processing equipment in the corresponding relation between the application information and the storage information according to the application information; the processor also detects the memory set according to the storage information and deletes the data matched with the storage information in the memory set.
The above-mentioned device under test and the processing device are specifically described below, and it should be noted in advance that when the electronic device is used as the device under test, the memory and the processor are the first memory and the first processor described below, and when the electronic device is used as the processing device, the memory and the processor are the second memory and the second processor described below.
Fig. 5 schematically shows a schematic structural diagram of a device under test and a processing device in a first embodiment of the present invention, as shown in fig. 5, the device under test 10 includes a first memory 11, a first processor 12 and a first communicator 13, the processing device 20 includes a second memory 21, a second processor 22, a second communicator 23 and a memory a, and correspondence between application information and storage information of various applications installed on the device under test 10 is stored in the memory a. The first communicator 13 and the second communicator 23 are communicatively connected through a network. The first memory 11 stores a first instruction, when the first memory 11 sends the first instruction to the first processor 12, the first processor 12 executes corresponding data processing, and simultaneously, the second memory 21 stores a second instruction, when the second memory 21 sends the second instruction to the second processor 22, the second processor executes corresponding data processing. In addition, the first memory 11 belongs to a memory set (not shown) in the detected device 10, and the memory set stores therein data to be deleted by the present embodiment.
When the user operates on the detected device 10 in order to perform the corresponding data cleaning, the first processor 12 in the detected device 10 obtains instructions from the first memory 11.
The first processor 12 obtains application information of an application on the detected device 10 according to the instructions in the first memory 11, and transmits the application information to the processing device 20 through the first communicator 13.
The application information acquired by the first processor 12 may represent one application, or may represent a plurality of applications, for example, if a user issues an instruction of "clear IE browser" on a PC, the application represented by the instruction is the IE browser, and if the user issues an instruction of "clear browser" on the PC, the application represented by the instruction is all browsers on the PC, including the IE browser, Chrome browser, 360 browser, and the like.
The second processor 22 in the processing device 20 retrieves the instruction from the second memory when the processing device 20 receives the application information sent by the detected device 10.
The second processor 22 receives the application information sent by the detected device 10 through the second communicator 23, obtains the update information from the external device (not shown), and determines whether the correspondence between the application information and the stored information in the memory a needs to be updated according to the update information.
The external device may provide the latest update information in real time, for example, after an application is developed or updated, that is, the external device records the correspondence between the application information and the stored information. Therefore, when the update information is supplied to the memory a, the second processor 22 compares the correspondence relationship between the application information and the storage information in the storage device a with the correspondence relationship between the application information and the storage information in the update information, and if they match, it is considered that the update is not necessary, and if they do not match, it is considered that the update is necessary. In this way, the problem that the stored information cannot be accurately obtained due to application update or new application installation in the device under test 10 can be avoided.
In this embodiment, when the above-described process is not executed, after the correspondence between the application information and the storage information recorded in the external device (not shown) is updated or newly added, the update information may also be actively pushed to the processing device 20 connected in communication, so as to prompt the processing device 20 to update the correspondence between the application information and the storage information in the memory a.
The second processor 22 changes the correspondence between the application information and the storage information in the memory a to the correspondence between the application information and the storage information in the update information. For example, if the correspondence relationship recorded in the memory a is (application a, path 1) and the correspondence relationship in the update information is (application a, path 2), then (application a, path 1) is updated to (application a, path 2).
The second processor 22 matches the stored information from the correspondence between the application information and the stored information stored in the memory a according to the application information, and transmits the stored information to the detected device 10 through the second communicator 23. For example, if the application information is B, the storage information is matched from the corresponding relationship shown in table 2, that is, X: \ B \ B1 and X: \ B \ B2. In the step, the corresponding relation between the application information and the storage information is utilized, so that the corresponding storage information can be directly obtained, global scanning or large-range scanning in the detected equipment 10 is avoided, and the time is saved. In addition, the correspondence between the storage information and the application information of the embodiment is stored in the processing device 20, so that the local storage space of the detected device 10 is not occupied. After the first processor 12 acquires the storage information transmitted from the processing device 20 through the first communicator 13, the device under test 10 is detected based on the storage information, and the data matching the storage information in the device under test 10 is deleted.
In this step, the data matched with the stored information may be files that affect the performance of the detected device 10 (intelligent terminal) generated during the use process, such as a web page cache of a browser, a temporary file of office software, a video cache of video software, and the like, and after the files are deleted, firstly the capacity of the detected device 10 (intelligent terminal) is increased, and secondly, for example, the web page cache and the video cache are deleted, the speed of the detected device 10 in operating the browser and the video cache can be increased.
Fig. 6 schematically shows a schematic structural diagram of a device under test and a processing device in a second embodiment of the present invention, in the second embodiment, the device under test 10 includes a first memory 11, a first processor 12 and a first communicator 13, the processing device 20 includes a second memory 21, a second processor 22 and a second communicator 23, and the first communicator 13 and the second communicator 23 are connected through network communication. The second embodiment is different from the first embodiment in that a memory a for storing the correspondence relationship between the application information and the storage information is provided in the detected device 10, and the processing device 20 is further provided with a memory B for providing the updated information to the detected device 10.
When the user operates on the detected device 10 in order to perform the corresponding data cleaning, the first processor in the detected device 10 obtains the instruction from the first memory 11.
The first processor 12 obtains application information of an application on the detected device 10 according to the instructions in the first memory 11, and transmits the application information to the processing device 20 through the first communicator 13.
The second processor 22 in the processing device 20 retrieves the instruction from the second memory 21 when the processing device 20 receives the application information sent by the detected device 10.
The second processor 22 receives the application information sent by the detected device 10 through the second communicator 23, matches the corresponding update information from the memory B, and sends the update information to the detected device 10 through the second communicator 23, wherein the update information includes the corresponding relationship between the application information and the stored information.
It is emphasized that, unlike the first embodiment, the memory a for storing the correspondence relationship between the application information and the storage information in the second embodiment is provided in the detected device 10, so that the processing device 20 no longer provides the stored information to the detected device 10. In addition, in the second embodiment, the processing device 20 is further provided with the memory B for storing the update information, so that the processing device 20 is configured to provide the update information to the detected device 10 to update the corresponding relationship in the detected device 10.
The first processor 12 receives the update information transmitted by the processing device 20 through the first communicator 13, and determines whether the correspondence relationship between the application information and the stored information in the memory a needs to be updated according to the update information. Specifically, the first processor 22 compares the correspondence between the application information and the storage information in the memory a with the correspondence between the application information and the storage information in the update information, and if they match, it is determined that the update is not needed, and if they do not match, it is determined that the update is needed.
The first processor 12 changes the correspondence between the application information and the storage information in the memory a to the correspondence between the application information and the storage information in the update information.
The first processor 22 matches the stored information from the corresponding relationship between the application information and the stored information stored in the memory a according to the application information;
the first processor 12 detects the device under test 10 according to the stored information, and deletes the data matching the stored information in the device under test 10.
It should be noted that in this embodiment, the memory a is disposed in the detected device 10, that is, the detected device 10 itself stores the corresponding relationship between the application information and the stored information, and if there is no situation that the corresponding relationship changes due to application update or new application installation or the like in the detected device 10, the detected device 10 does not need to communicate with the processing device 10, and can obtain the corresponding stored information according to the application information.
In this embodiment, when the above method is not executed, after the correspondence between the application information and the storage information recorded in the memory B of the processing device 20 is updated or newly added, the processing device 20 may also actively push update information to the detected device 10 to prompt the detected device 10 to update the correspondence between the application information and the storage information in the memory a.
In the first and second embodiments described above, the application information acquired by the first processor 12 may be a plurality of application information in batch, for example, may be an application information list, at this time, the respective storage information is matched according to each application information in the application information list according to the corresponding relationship to obtain a storage information list, and when data is subsequently deleted, corresponding data is matched according to each storage information in the storage information list, and then the data is deleted.
Note that, the first memory 11 and the memory a in fig. 5 to 6; the second memory 21 and the memory B are only illustrated for distinguishing different data stored therein, and in practical implementation, a plurality of memories in the same device may be combined into one memory to store one or more of the instructions, the data to be deleted, the correspondence, the application information, and the storage information, or may be separately configured to store the instructions, the data to be deleted, the correspondence, the application information, and the storage information.
Fig. 7 schematically illustrates a schematic diagram of a data processing system according to a third embodiment of the present invention, and as shown in fig. 7, the data processing system 100 includes an application information obtaining module 101, a storage information obtaining module 102, a correspondence storage module 103, a processing module 104, and an updating module 105, where in this embodiment, the application information obtaining module 101 and the storage information obtaining module 102 are provided in the detected device 10, the correspondence storage module 103 and the processing module 104 are provided in the processing device 20, and the updating module 105 is provided in an external device (not shown) other than the detected device 10 and the processing device 20. Fig. 8 schematically illustrates a schematic diagram of a data processing system according to a fourth embodiment of the present invention, where the fourth embodiment is the same as the third embodiment, except that the information obtaining module 101, the stored information obtaining module 102, the correspondence storing module 103, and the processing module 104 are disposed in the detected device 10, and the updating module 105 is disposed in the processing device 20.
The data processing system work flow shown in fig. 7 and 8 is shown in fig. 9 and includes:
s100, the application information obtaining module 101 obtains application information of an application on the detected device 10, and sends the application information to the storage information obtaining module 102.
S200, the storage information obtaining module 102 obtains the update information from the update module 105 according to the application information, where the update information includes a corresponding relationship between the application information and the storage information, and obtains the corresponding relationship between the application information and the storage information from the corresponding relationship storage module 103 according to the application information.
S300, the storage information obtaining module 102 compares the corresponding relationship obtained from the updating module 105 with the corresponding relationship obtained from the corresponding relationship storing module 103, if they are consistent, step S500 is executed, and if they are not consistent, step S400 is executed.
S400, the storage information obtaining module 102 changes the correspondence between the application information and the storage information in the correspondence storage module 103 to the correspondence between the application information and the storage information in the update module 105.
S500, the storage information obtaining module 102 matches the storage information from the corresponding relationship between the application information and the storage information stored in the corresponding relationship storage module 103 according to the application information, and sends the storage information to the processing module 104;
s600, the processing module 104 detects the detected device 10 according to the stored information, and deletes the data matched with the stored information in the detected device 10.
The above-described methods and apparatus according to various embodiments of the present invention may be implemented by a computing-capable electronic device executing software containing computer instructions. The system may include storage devices to implement the various storage described above. The computing-capable electronic device may include, but is not limited to, a general-purpose processor, a digital signal processor, a special-purpose processor, a reconfigurable processor, and the like capable of executing computer instructions. Execution of such instructions causes the electronic device to be configured to perform the operations described above in accordance with the present invention. The above devices and/or modules may be implemented in one electronic device, or may be implemented in different electronic devices. Such software may be stored in a computer readable storage medium. The computer readable storage medium stores one or more programs (software modules) comprising instructions which, when executed by one or more processors in the electronic device, cause the electronic device to perform the methods of the present invention.
The software may be stored in the form of volatile or non-volatile memory (such as a storage device like ROM), whether erasable or rewritable, or in the form of memory (e.g. RAM, memory chips, devices or integrated circuits), or on optically or magnetically readable media (such as CD, DVD, magnetic disks or tapes, etc.). It should be appreciated that the storage devices and storage media are embodiments of machine-readable memory suitable for storing one or more programs that include instructions, which when executed, implement embodiments of the present invention. Embodiments provide a program and a machine readable memory storing such a program, the program comprising code for implementing an apparatus or method according to any one of the claims of the invention. Further, these programs may be delivered electronically via any medium (e.g., communication signals carried via a wired connection or a wireless connection), and embodiments suitably include these programs.
Methods, apparatus, units and/or modules according to embodiments of the invention may also be implemented using hardware or firmware, for example Field Programmable Gate Arrays (FPGAs), Programmable Logic Arrays (PLAs), system on a chip, system on a substrate, system on a package, Application Specific Integrated Circuits (ASICs) or in any other reasonable manner for integrating or packaging circuits, or in any suitable combination of software, hardware and firmware implementations. The system may include a storage device to implement the storage described above. When implemented in these manners, the software, hardware, and/or firmware used is programmed or designed to perform the corresponding above-described methods, steps, and/or functions according to the present invention. One skilled in the art can implement one or more of these systems and modules, or one or more portions thereof, using different implementations as appropriate to the actual needs. All of these implementations fall within the scope of the present invention.
As will be understood by those skilled in the art, for any and all purposes, such as in terms of providing a written description, all ranges disclosed herein also encompass any and all possible subranges and combinations of subranges thereof. Any listed range can be easily identified as a sufficient description and enabling the same range to be at least broken down into equal halves, thirds, quarters, fifths, tenths, etc. As a non-limiting example, each range discussed in this application can be readily broken down into a lower third, a middle third, and an upper third, among others. As those skilled in the art will also appreciate, all language such as "up to," "at least," "greater than," "less than," or the like, includes the recited quantity and refers to a range that can be subsequently broken down into subranges as discussed above. Finally, as will be understood by those skilled in the art, a range includes each individual component.
While the invention has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents. Accordingly, the scope of the present invention should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
Claims (4)
1. A method of data processing, comprising:
obtaining application information of an application corresponding to a detected device, wherein the application information is information capable of identifying the application;
obtaining storage information corresponding to the application information according to a corresponding relation between the application information and the storage information, wherein the storage information is storage position information capable of indicating data to be deleted corresponding to the application, and the corresponding relation between the application information and the storage information comprises the storage information of the data to be deleted corresponding to the application information;
wherein the application information does not include the storage information; when the method is applied to the detected device, the obtaining of the storage information corresponding to the application information includes: receiving the storage information from a processing device, wherein the storage information is information obtained by matching the processing device in the corresponding relation between the application information and the storage information according to the application information;
the method further comprises the following steps: detecting the detected equipment according to the storage information, and deleting data matched with the storage information in the detected equipment;
or
When the method is applied to a processing device, the obtaining application information of an application corresponding to a detected device comprises: receiving the application information from the detected device;
the obtaining of the storage information corresponding to the application information includes: reading the corresponding relation between application information and storage information, and matching the application information in the corresponding relation to obtain the storage information;
the method further comprises the following steps: and sending the storage information to the detected equipment, so that the detected equipment can detect the stored data according to the storage information and delete the data matched with the storage information.
2. The data processing method according to claim 1, wherein before the correspondence of the read application information and the storage information comprises:
obtaining update information;
and updating the corresponding relation between the application information and the storage information according to the updating information.
3. A data processing system comprising:
the device comprises an application information acquisition module, a detection module and a control module, wherein the application information acquisition module is used for acquiring application information of an application corresponding to a detected device, and the application information is information capable of identifying the application;
the storage information acquisition module is used for acquiring storage information corresponding to the application information according to a corresponding relation between the application information and the storage information, wherein the storage information is storage position information capable of indicating data to be deleted corresponding to the application, and the corresponding relation between the application information and the storage information comprises the storage information of the data to be deleted corresponding to the application information;
wherein the application information does not include the storage information;
wherein the obtaining of the storage information corresponding to the application information includes: receiving the storage information from a processing device, wherein the storage information is information obtained by matching the processing device in the corresponding relation between the application information and the storage information according to the application information;
the system further comprises: the processing module is used for detecting the detected equipment according to the stored information and deleting the data matched with the stored information in the detected equipment;
or
The obtaining application information of the application corresponding to the detected device comprises: receiving the application information from the detected device;
the obtaining of the storage information corresponding to the application information includes: reading the corresponding relation between application information and storage information, and matching the application information in the corresponding relation to obtain the storage information;
the system further comprises: and the processing module is used for sending the storage information to the detected equipment so that the detected equipment can detect the stored data according to the storage information and delete the data matched with the storage information.
4. An electronic device, comprising:
a processor; and
a memory storing machine readable instructions that, when executed by the processor, cause the processor to:
obtaining application information of an application corresponding to a detected device, wherein the application information is information capable of identifying the application;
obtaining storage information corresponding to the application information according to a corresponding relation between the application information and the storage information, wherein the storage information is storage position information capable of indicating data to be deleted corresponding to the application, and the corresponding relation between the application information and the storage information comprises the storage information of the data to be deleted corresponding to the application information;
wherein the application information does not include the storage information; when the electronic device is used as a processing device, the obtaining, by the processor, application information of an application corresponding to the detected device includes: receiving the application information from the detected device;
the processor obtaining storage information corresponding to the application information includes: the processor reads the corresponding relation between the application information and the storage information, and matches the application information in the corresponding relation to obtain the storage information;
the processor also sends the storage information to the detected equipment, so that the detected equipment can detect the stored data according to the storage information and delete the data matched with the storage information;
or
When the electronic device is a detected device, the electronic device further comprises a memory set, the memory set comprises the memory, wherein:
the processor obtaining storage information corresponding to the application information includes: receiving the storage information from a processing device, wherein the storage information is information obtained by matching the processing device in the corresponding relation between the application information and the storage information according to the application information;
the processor also detects the memory set according to the storage information and deletes the data matched with the storage information in the memory set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611270936.1A CN106844566B (en) | 2016-12-30 | 2016-12-30 | Data processing method and system, detected device and processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611270936.1A CN106844566B (en) | 2016-12-30 | 2016-12-30 | Data processing method and system, detected device and processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106844566A CN106844566A (en) | 2017-06-13 |
CN106844566B true CN106844566B (en) | 2020-11-20 |
Family
ID=59116977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611270936.1A Active CN106844566B (en) | 2016-12-30 | 2016-12-30 | Data processing method and system, detected device and processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106844566B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105447115A (en) * | 2015-11-13 | 2016-03-30 | 北京金山安全软件有限公司 | Method and device for cleaning junk files and electronic equipment |
CN105653681A (en) * | 2015-12-29 | 2016-06-08 | 北京金山安全软件有限公司 | File deletion method and device |
CN105930739A (en) * | 2016-04-14 | 2016-09-07 | 北京金山安全软件有限公司 | Method and terminal for preventing file from being deleted |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102654872A (en) * | 2011-03-03 | 2012-09-05 | 腾讯科技(深圳)有限公司 | Method and device for cleaning junk files generated by application programs |
CN102937990B (en) * | 2012-10-30 | 2018-07-06 | 小米科技有限责任公司 | A kind of method and apparatus for removing file |
CN103092938A (en) * | 2013-01-07 | 2013-05-08 | 浙江鸿程计算机系统有限公司 | Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone |
US8775485B1 (en) * | 2013-03-15 | 2014-07-08 | Joyent, Inc. | Object store management operations within compute-centric object stores |
CN104133822B (en) * | 2013-07-15 | 2016-09-14 | 腾讯科技(深圳)有限公司 | A kind of method and device that file on memorizer is scanned |
-
2016
- 2016-12-30 CN CN201611270936.1A patent/CN106844566B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105447115A (en) * | 2015-11-13 | 2016-03-30 | 北京金山安全软件有限公司 | Method and device for cleaning junk files and electronic equipment |
CN105653681A (en) * | 2015-12-29 | 2016-06-08 | 北京金山安全软件有限公司 | File deletion method and device |
CN105930739A (en) * | 2016-04-14 | 2016-09-07 | 北京金山安全软件有限公司 | Method and terminal for preventing file from being deleted |
Also Published As
Publication number | Publication date |
---|---|
CN106844566A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112613917B (en) | Information pushing method, device, equipment and storage medium based on user portrait | |
CN102104635B (en) | Method and device for updating Internet protocol (IP) address base | |
US8578009B1 (en) | Systems and methods for correlating online aliases with real-world identities | |
US9613382B1 (en) | Systems and methods for automatically synchronizing online communities | |
EP2378437A1 (en) | Data synchronization methods in communication systems | |
CN102385594A (en) | Method and device for controlling inner cores of multi-core browser | |
KR20130126930A (en) | Using text messages to interact with spreadsheets | |
CN105447035B (en) | data scanning method and device | |
CN102004994A (en) | Online product recommendation and selection method, device and system | |
CN107818156A (en) | A kind of real time individual news recommends method and system | |
KR101556743B1 (en) | Apparatus and method for generating poi information based on web collection | |
CN116204438A (en) | Test case generation method, automatic test method and related device | |
CN110457332B (en) | Information processing method and related equipment | |
CN112328592A (en) | Data storage method, electronic device and computer readable storage medium | |
CN104184782B (en) | A kind of method and device, system realizing third-party application social | |
CN112559913B (en) | Data processing method, device, computing equipment and readable storage medium | |
CN107844515B (en) | Data compliance checking method and device | |
CN106844566B (en) | Data processing method and system, detected device and processing device | |
CN105653674A (en) | File management method and system of intelligent terminal | |
CN104572943B (en) | Exempt from installation procedure method for cleaning and device | |
CN108038233B (en) | Method and device for collecting articles, electronic equipment and storage medium | |
CN110543457A (en) | Track type document processing method and device, storage medium and electronic device | |
KR101471522B1 (en) | System for providing personal information based on generation and consumption of content | |
CN111428117A (en) | Data acquisition method and device for application program | |
Squire et al. | The diffusion of pastebin tools to enhance communication in floss mailing lists |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |