CN104133739A - Method and device for automatically backing up file - Google Patents
Method and device for automatically backing up file Download PDFInfo
- Publication number
- CN104133739A CN104133739A CN201410361620.8A CN201410361620A CN104133739A CN 104133739 A CN104133739 A CN 104133739A CN 201410361620 A CN201410361620 A CN 201410361620A CN 104133739 A CN104133739 A CN 104133739A
- Authority
- CN
- China
- Prior art keywords
- file destination
- file
- described file
- changes
- backup
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
-
- 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/1734—Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
Abstract
The embodiment of the invention discloses a method and a device for automatically backing up a file. The method and the device can back up a changed file in time. The method comprises the following steps of: monitoring whether a target file in terminal equipment changes or not; and if the condition that the target file changes, reminding a user of backing up the target file, or directly backing up the target file. The device comprises a monitoring unit and a backup unit, wherein the monitoring unit is used for monitoring whether the target file in the terminal equipment changes or not; and the backup unit is used for reminding the user of backing up the target file, or directly backing up the target file if the monitoring unit determines that the target file changes. The method and the device provided by the invention are applicable to the file backup.
Description
Technical field
The present invention relates to the redundancy technique field of file, relate in particular to a kind of method and device of automated back-up file.
Background technology
Terminal device based on Android operating system, as on mobile phone, does not have the mechanism of perfect backup file at present, so there are a lot of third-party backup file application programs, helps the file of user ID mobile phone.
The mode of backup file application program of the prior art, a kind of is when user enters the user interface of corresponding application software, could interim which data file of scanning need backup; Another kind is registration service in Android system, has then monitored which data file by the broadcast of receiving system and has changed.
In aforesaid first kind of way, if not entering the carrying out of the user interface of corresponding application software, user scans temporarily, just can not find that variation has occurred which data file; In the second way, on the one hand, when this service not time, miss the variation that system broadcasts just can not identify system data in time, on the other hand, be not every class data transmission variation in Android system time, there is corresponding system broadcasts, for example, in the time that the data of third party application change, just do not have corresponding system broadcasts.The method of above-mentioned existing two kinds of file backups, the file that all can not realize changing backs up in time.
Summary of the invention
The invention provides a kind of method and device of automated back-up file, can back up the file changing in time.
On the one hand, the invention provides a kind of method of automated back-up file, comprising:
Whether the file destination in monitoring terminal equipment changes;
If determine, described file destination changes, and reminding user backs up described file destination, or directly described file destination is backed up.
Alternatively, whether the file destination in described monitoring terminal equipment changes comprises: on the backstage of terminal device, whether the file destination in monitoring terminal equipment changes.
Alternatively, whether the file destination in described monitoring terminal equipment changes and comprises: whether the modification time of the file destination in monitoring terminal equipment changes; If the modification time of described file destination changes, determine that described file destination changes.
Alternatively, whether the file destination in described monitoring terminal equipment changes and comprises: whether the size of the file destination in monitoring terminal equipment and/or data content change; If the size of described file destination and/or data content change, determine that described file destination changes.
Alternatively, whether the file destination in described monitoring terminal equipment changes and comprises: whether the quantity of documents in the file destination list in monitoring terminal equipment changes; If the quantity of documents in described file destination list changes, determine that described file destination changes.
Alternatively, whether the file destination in described monitoring terminal equipment changes and comprises: whether the modification time of the file destination in monitoring terminal equipment changes; Change if monitor the modification time of described file destination, whether size and/or the data content of monitoring described file destination change; If the size of described file destination and/or data content change, determine that described file destination changes.
Alternatively, whether the modification time of the file destination in described monitoring terminal equipment changes and comprises: the modification time that obtains described file destination; Search the backup file of described file destination; If find the backup file of described file destination, by the modification time of the described file destination obtaining, contrast with the modification time of the backup file of described file destination; According to described contrast, if the modification time of the described file destination obtaining is not identical with the modification time of the backup file of described file destination, determine that the modification time of described file destination changes; If do not find the backup file of described file destination, determine that the modification time of described file destination changes.
Alternatively, whether the size of the file destination in described monitoring terminal equipment and/or data content change and comprise: the size and/or the data content that obtain described file destination; Search the backup file of described file destination; If find the backup file of described file destination, by the size of the described file destination obtaining and/or data content, contrast with the size and/or the data content that record in the backup file of described file destination; According to described contrast, if the size of the described file destination obtaining and/or data content are not identical with the size and/or the data content that record in the backup file of described file destination, determine that the data content of described file destination changes; If do not find the backup file of described file destination, determine that described file destination changes.
Alternatively, whether the quantity of documents in the file destination list in described monitoring terminal equipment changes and comprises: obtain the quantity of documents in the described file destination list in terminal device; Search the backup file of described file destination; If find the backup file of described file destination, by the quantity of documents in the described file destination list of obtaining, contrast with the quantity of documents recording in the backup file of described file destination; According to described contrast, if the quantity of documents in the described file destination list of obtaining is not identical with the quantity of documents recording in the backup file of described file destination, determine that the quantity of documents in described file destination list changes; If do not find the backup file of described file destination, determine that described file destination changes.
Alternatively, after reminding user backs up described file destination, comprising: receive the instruction that user backs up described file destination; According to described instruction, the described file destination in terminal device is backed up.
Alternatively, the method for described automated back-up file also comprises: set in advance the file destination that needs monitoring in described terminal device.
Alternatively, described terminal device is the terminal device based on Android operating system.
The method of the automated back-up file of the embodiment of the present invention, according to the monitoring to file destination, if this file destination changes, reminding user backs up this file destination in terminal device, or directly this file destination in terminal device is backed up, thereby, can, in the time that this file destination changes, in time the file changing be backed up.
On the other hand, the invention provides a kind of device of automated back-up file, comprising:
Whether monitoring unit, change for the file destination of monitoring terminal equipment;
Backup units, if determine that for described monitoring unit described file destination changes, reminding user backs up described file destination, or directly described file destination is backed up.
Alternatively, described monitoring unit, for the backstage at terminal device, whether the file destination in monitoring terminal equipment changes.
Alternatively, described monitoring unit comprises: whether the first monitoring module, change for the modification time of the file destination of monitoring terminal equipment; The first determination module, if the modification time that monitors described file destination for described the first monitoring module changes, determines that described file destination changes.
Alternatively, described monitoring unit comprises: whether the second monitoring module, change for size and/or the data content of the file destination of monitoring terminal equipment; The second determination module, if the size and/or the data content that monitor described file destination for described the second monitoring module change, determines that described file destination changes.
Alternatively, described monitoring unit comprises: whether the 3rd monitoring module, change for the quantity of documents in the file destination list of monitoring terminal equipment; The 3rd determination module, if the quantity of documents that monitors described file destination list for described the 3rd monitoring module changes, determines that described file destination changes.
Alternatively, described monitoring unit comprises: whether the 4th monitoring module, change for the modification time of the file destination of monitoring terminal equipment; The 5th monitoring module, if the modification time that monitors described file destination for described the 4th monitoring module changes, whether size and/or the data content of monitoring described file destination change; The 4th determination module, if the size and/or the data content that monitor described file destination for described the 5th monitoring module change, determines that described file destination changes.
Alternatively, described the first monitoring module or the 4th monitoring module comprise: first obtains submodule, for obtaining the modification time of described file destination; First searches submodule, for searching the backup file of described file destination; The first contrast submodule, if for the described first backup file of searching submodule and finding described file destination, by the modification time of the described file destination obtaining, contrasts with the modification time of the backup file of described file destination; First determines submodule, for according to described contrast, if the modification time of the described file destination obtaining is not identical with the modification time of the backup file of described file destination, determines that the modification time of described file destination changes; Described first determines submodule, if also for the described first backup file of searching submodule and not finding described file destination, determine that the modification time of described file destination changes.
Alternatively, described the second monitoring module or the 5th monitoring module comprise: second obtains submodule, for obtaining size and/or the data content of described file destination; Second searches submodule, for searching the backup file of described file destination; The second contrast submodule, if for the described second backup file of searching submodule and finding described file destination, by the size of the described file destination obtaining and/or data content, contrast with the size and/or the data content that record in the backup file of described file destination; Second determines submodule, be used for according to described contrast, if the size of the described file destination obtaining and/or data content are not identical with the size and/or the data content that record in the backup file of described file destination, determine that size and/or the data content of described file destination changes; Described second determines submodule, if also for the described second backup file of searching submodule and not finding described file destination, determine that size and/or the data content of described file destination changes.
Alternatively, described the 3rd monitoring module comprises: the 3rd obtains submodule, for obtaining the quantity of documents of described file destination list; The 3rd searches submodule, for searching the backup file of described file destination; The 3rd contrast submodule, if for the described the 3rd backup file of searching submodule and find described file destination, by the quantity of documents in the described file destination list of obtaining, contrasts with the quantity of documents recording in the backup file of described file destination; The 3rd determines submodule, be used for according to described contrast, if the quantity of documents in the described file destination list of obtaining is not identical with the quantity of documents recording in the backup file of described file destination, determine that the quantity of documents in described file destination list changes; The described the 3rd determines submodule, if also for the described the 3rd backup file of searching submodule and do not find described file destination, determine that the quantity of documents in described file destination list changes.
Alternatively, described backup units comprises: receiver module, for after reminding user backs up described file destination, receives the instruction that user backs up described file destination; Backup module, for according to described instruction, backs up the described file destination in terminal device.
Alternatively, the device of described automated back-up file also comprises: setting unit, needs for setting in advance described terminal device the file destination of monitoring.
Alternatively, described terminal device is the terminal device based on Android operating system.
The device of the automated back-up file of the embodiment of the present invention, monitoring according to monitoring unit to file destination, if determine, this file destination changes, backup units reminding user backs up this file destination in terminal device, or directly this file destination in terminal device is backed up, thereby, can, in the time that this file destination changes, in time the file changing be backed up.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of method one embodiment of automated back-up file of the present invention;
Fig. 2 is the structural representation of device one embodiment of automated back-up file of the present invention;
Fig. 3 is the structural representation of monitoring unit one embodiment in the device of automated back-up file of the present invention;
Fig. 4 is the structural representation of another embodiment of monitoring unit in the device of automated back-up file of the present invention;
Fig. 5 is the structural representation of the another embodiment of monitoring unit in the device of automated back-up file of the present invention;
Fig. 6 is the structural representation of the another embodiment of monitoring unit in the device of automated back-up file of the present invention;
Fig. 7 is the structural representation of another embodiment of device of automated back-up file of the present invention.
Embodiment
Below in conjunction with accompanying drawing, method and the device of a kind of automated back-up file of the embodiment of the present invention are described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Shown in Fig. 1, the embodiment of the method for a kind of automated back-up file of the present invention, comprising:
Whether the file destination in S1, monitoring terminal equipment changes;
If S2 determines that described file destination changes, reminding user backs up described file destination, or directly described file destination is backed up.
The method of the automated back-up file of the embodiment of the present invention, according to the monitoring to file destination, if this file destination changes, reminding user backs up this file destination in terminal device, or directly this file destination in terminal device is backed up, thereby, can, in the time that this file destination changes, in time the file changing be backed up.
In the embodiment of the method for aforementioned automated back-up file, alternatively, the file destination in described monitoring terminal equipment whether change (S1) comprising: on the backstage of terminal device, whether the file destination in monitoring terminal equipment changes.
In the embodiment of the present invention, can, after terminal device start, by starting the background service program that the file destination in terminal device is monitored, by this background service program, the file destination in terminal device be monitored.
In the optional embodiment of one of the present invention, due to when the file generation data change, correspondingly, the modification time of this file also can change, therefore, whether the file destination in described monitoring terminal equipment changes (S1), can comprise: whether the modification time of the file destination in monitoring terminal equipment changes; If the modification time of described file destination changes, determine that described file destination changes.
In the optional embodiment of another kind of the present invention, alternatively, the file destination in described monitoring terminal equipment whether change (S1) comprising: whether the size of the file destination in monitoring terminal equipment and/or data content change; If the size of described file destination and/or data content change, determine that described file destination changes.
In another optional embodiment of the present invention, alternatively, whether the file destination in described monitoring terminal equipment changes comprises: the quantity of documents in the file destination list in monitoring terminal equipment whether change (S1); If the quantity of documents in described file destination list changes, determine that described file destination changes.
In another optional embodiment of the present invention, alternatively, the file destination in described monitoring terminal equipment whether change (S1) comprising: whether the modification time of the file destination in monitoring terminal equipment changes; Change if monitor the modification time of described file destination, whether size and/or the data content of monitoring described file destination change; If the size of described file destination and/or data content change, determine that described file destination changes.
In the embodiment of the present invention, after the modification time that monitors file destination changes, data content corresponding to the file destination changing scanned, that has avoided that the data content of file destination on end of scan equipment frequently causes takies subscriber terminal equipment internal memory and consumes more users terminal device electric weight again.
In the embodiment of the method for aforementioned automated back-up file, alternatively, whether the modification time of the file destination in described monitoring terminal equipment changes comprises: the modification time that obtains described file destination; Search the backup file of described file destination; If find the backup file of described file destination, by the modification time of the described file destination obtaining, contrast with the modification time of the backup file of described file destination; According to described contrast, if the modification time of the described file destination obtaining is not identical with the modification time of the backup file of described file destination, determine that the modification time of described file destination changes; If do not find the backup file of described file destination, determine that the modification time of described file destination changes.
In the embodiment of the method for aforementioned automated back-up file, alternatively, whether the size of the file destination in described monitoring terminal equipment and/or data content change comprises: the size and/or the data content that obtain described file destination; Search the backup file of described file destination; If find the backup file of described file destination, by the size of the described file destination obtaining and/or data content, contrast with the size and/or the data content that record in the backup file of described file destination; According to described contrast, if the size of the described file destination obtaining and/or data content are not identical with the size and/or the data content that record in the backup file of described file destination, determine that the data content of described file destination changes; If do not find the backup file of described file destination, determine that size and/or the data content of described file destination changes.
In the embodiment of the present invention, preferably, after the modification time of determining described file destination changes, obtain size and/or the data content of described file destination, whether change with the data content of determining described file destination, like this, the electric weight of terminal device can not only be saved, the file destination that needs backup can also be determined more accurately.
In the embodiment of the method for aforementioned automated back-up file, alternatively, whether the quantity of documents in the file destination list in described monitoring terminal equipment changes and comprises: obtain the quantity of documents in the described file destination list in terminal device; Search the backup file of described file destination; If find the backup file of described file destination, by the quantity of documents in the described file destination list of obtaining, contrast with the quantity of documents recording in the backup file of described file destination; According to described contrast, if the quantity of documents in the described file destination list of obtaining is not identical with the quantity of documents recording in the backup file of described file destination, determine that the quantity of documents in described file destination list changes; If do not find the backup file of described file destination, determine that the quantity of documents in described file destination list changes.
In the embodiment of the present invention, when the quantity of file destination changes, when the increasing or reduce of file destination, just can determine that the file destination in terminal device changes.
In the embodiment of the method for aforementioned automated back-up file, alternatively, after reminding user backs up described file destination, comprising: receive the instruction that user backs up described file destination; According to described instruction, the described file destination in terminal device is backed up.
In the embodiment of the present invention, user can set in advance, and after definite file destination changes, reminding user backs up the described file destination in terminal device, or connects the described file destination in terminal device is backed up.
In the embodiment of the method for aforementioned automated back-up file, alternatively, the method for described automated back-up file also comprises: set in advance the file destination that needs monitoring in described terminal device.Like this, can make user that the file destination on own terminal device is set arbitrarily, can be the more file of user's automated back-up, improved user's experience.
Shown in Fig. 2, the embodiment of the device of a kind of automated back-up file of the present invention, comprising: whether monitoring unit 1, change for the file destination of monitoring terminal equipment; Backup units 2, if determine that for described monitoring unit 1 described file destination changes, reminding user backs up described file destination, or directly described file destination is backed up.
The device of the automated back-up file of the embodiment of the present invention, monitoring according to monitoring unit 1 to file destination, if determine, this file destination changes, backup units 2 reminding users back up this file destination in terminal device, or directly this file destination in terminal device is backed up, thereby, can, in the time that this file destination changes, in time the file changing be backed up.
In the embodiment of the device of aforementioned automated back-up file, alternatively, described monitoring unit 1, for the backstage at terminal device, whether the file destination in monitoring terminal equipment changes.
In the embodiment of the present invention, can, after terminal device start, by starting the background service program that the file destination in terminal device is monitored, start monitoring unit 1 file destination in terminal device is monitored.
Shown in Fig. 3, in the optional embodiment of one of the present invention, due to when the file generation data change, correspondingly, the modification time of this file also can change, therefore, and described monitoring unit 1, can comprise: whether the first monitoring module 11a, change for the modification time of the file destination of monitoring terminal equipment; The first determination module 12a, if the modification time that monitors described file destination for described the first monitoring module 11a changes, determines that described file destination changes.
Shown in Fig. 4, in the optional embodiment of another kind of the present invention, described monitoring unit 1, can comprise: whether the second monitoring module 11b, change for size and/or the data content of the file destination of monitoring terminal equipment; The second determination module 12b, if the size and/or the data content that monitor described file destination for described the second monitoring module 11b change, determines that described file destination changes.
Shown in Fig. 5, in another optional embodiment of the present invention, described monitoring unit 1, can comprise: whether the 3rd monitoring module 11c, change for the quantity of documents in the file destination list of monitoring terminal equipment; The 3rd determination module 12c, if the quantity of documents that monitors described file destination list for described the 3rd monitoring module 11c changes, determines that described file destination changes.
Shown in Fig. 6, in another optional embodiment of the present invention, described monitoring unit 1, can comprise: whether the 4th monitoring module 11d, change for the modification time of the file destination of monitoring terminal equipment; The 5th monitoring module 12d, if the modification time that monitors described file destination for described the 4th monitoring module 11d changes, whether size and/or the data content of monitoring described file destination change; The 4th determination module 13d, if the size and/or the data content that monitor described file destination for described the 5th monitoring module 12d change, determines that described file destination changes.
In the embodiment of the present invention, after the modification time that monitors file destination changes, data content corresponding to the file destination changing scanned, that has avoided that the data content of file destination on end of scan equipment frequently causes takies subscriber terminal equipment internal memory and consumes more users terminal device electric weight again.
Shown in Fig. 3, in the embodiment of the device of aforementioned automated back-up file, alternatively, described the first monitoring module 11a or the 4th monitoring module 11d comprise: first obtains submodule 111a, for obtaining the modification time of described file destination; First searches submodule 112a, for searching the backup file of described file destination; The first contrast submodule 113a, if for the described first backup file of searching submodule 112a and finding described file destination, by the modification time of the described file destination obtaining, contrasts with the modification time of the backup file of described file destination; First determines submodule 114a, for according to described contrast, if the modification time of the described file destination obtaining is not identical with the modification time of the backup file of described file destination, determines that the modification time of described file destination changes; Described first determines submodule 114a, if also for the described first backup file of searching submodule 112a and not finding described file destination, determine that the modification time of described file destination changes.
Shown in Fig. 4, in the embodiment of the device of aforementioned automated back-up file, alternatively, described the second monitoring module 11b or the 5th monitoring module 12d comprise: second obtains submodule 111b, for obtaining size and/or the data content of described file destination; Second searches submodule 112b, for searching the backup file of described file destination; The second contrast submodule 113b, if for the described second backup file of searching submodule 112b and finding described file destination, by the size of the described file destination obtaining and/or data content, contrast with the size and/or the data content that record in the backup file of described file destination; Second determines submodule 114b, be used for according to described contrast, if the size of the described file destination obtaining and/or data content are not identical with the size and/or the data content that record in the backup file of described file destination, determine that size and/or the data content of described file destination changes; Described second determines submodule 114b, if also for the described second backup file of searching submodule 112b and not finding described file destination, determine that size and/or the data content of described file destination changes.
In the embodiment of the present invention, preferably, after the modification time of determining described file destination changes, obtain size and/or the data content of described file destination, whether change with the data content of determining described file destination, like this, the electric weight of terminal device can not only be saved, the file destination that needs backup can also be determined more accurately.
Shown in Fig. 5, in the embodiment of the device of aforementioned automated back-up file, alternatively, described the 3rd monitoring module 11c comprises: the 3rd obtains submodule 111c, for obtaining the quantity of documents of described file destination list; The 3rd searches submodule 112c, for searching the backup file of described file destination; The 3rd contrast submodule 113c, if for the described the 3rd backup file of searching submodule 112c and find described file destination, by the quantity of documents in the described file destination list of obtaining, contrast with the quantity of documents recording in the backup file of described file destination; The 3rd determines submodule 114c, be used for according to described contrast, if the quantity of documents in the described file destination list of obtaining is not identical with the quantity of documents recording in the backup file of described file destination, determine that the quantity of documents in described file destination list changes; The described the 3rd determines submodule 114c, if also for the described the 3rd backup file of searching submodule and do not find described file destination, determine that the quantity of documents in described file destination list changes.
In the embodiment of the present invention, when the quantity of file destination changes, when the increasing or reduce of file destination, just can determine that the file destination in terminal device changes.
Shown in Fig. 7, in the embodiment of the device of aforementioned automated back-up file, alternatively, described backup units 2 comprises: receiver module 21, for after reminding user backs up described file destination, receive the instruction that user backs up described file destination; Backup module 22, for according to described instruction, backs up the described file destination in terminal device.
In the embodiment of the present invention, user can set in advance, and after definite file destination changes, reminding user backs up the described file destination in terminal device, or connects the described file destination in terminal device is backed up.
In the embodiment of the device of aforementioned automated back-up file, alternatively, the device of described automated back-up file also comprises: setting unit 3, needs the file destination of monitoring for setting in advance described terminal device.Like this, can make user that the file destination on own terminal device is set arbitrarily, can be the more file of user's automated back-up, improved user's experience.
In the method for aforementioned automated back-up file and the embodiment of device, alternatively, described terminal device is the terminal device based on Android operating system.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (RandomAccess Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (24)
1. a method for automated back-up file, is characterized in that, comprising:
Whether the file destination in monitoring terminal equipment changes;
If determine, described file destination changes, and reminding user backs up described file destination, or directly described file destination is backed up.
2. the method for automated back-up file according to claim 1, is characterized in that, whether the file destination in described monitoring terminal equipment changes comprises:
On the backstage of terminal device, whether the file destination in monitoring terminal equipment changes.
3. the method for automated back-up file according to claim 1, is characterized in that, whether the file destination in described monitoring terminal equipment changes comprises:
Whether the modification time of the file destination in monitoring terminal equipment changes;
If the modification time of described file destination changes, determine that described file destination changes.
4. the method for automated back-up file according to claim 1, is characterized in that, whether the file destination in described monitoring terminal equipment changes comprises:
Whether the size of the file destination in monitoring terminal equipment and/or data content change;
If the size of described file destination and/or data content change, determine that described file destination changes.
5. the method for automated back-up file according to claim 1, is characterized in that, whether the file destination in described monitoring terminal equipment changes comprises:
Whether the quantity of documents in the file destination list in monitoring terminal equipment changes;
If the quantity of documents in described file destination list changes, determine that described file destination changes.
6. the method for automated back-up file according to claim 1, is characterized in that, whether the file destination in described monitoring terminal equipment changes comprises:
Whether the modification time of the file destination in monitoring terminal equipment changes;
Change if monitor the modification time of described file destination, whether size and/or the data content of monitoring described file destination change;
If the size of described file destination and/or data content change, determine that described file destination changes.
7. according to the method for the automated back-up file described in claim 3 or 6, it is characterized in that, whether the modification time of the file destination in described monitoring terminal equipment changes comprises:
Obtain the modification time of described file destination;
Search the backup file of described file destination;
If find the backup file of described file destination, by the modification time of the described file destination obtaining, contrast with the modification time of the backup file of described file destination;
According to described contrast, if the modification time of the described file destination obtaining is not identical with the modification time of the backup file of described file destination, determine that the modification time of described file destination changes;
If do not find the backup file of described file destination, determine that the modification time of described file destination changes.
8. according to the method for the automated back-up file described in claim 4 or 6, it is characterized in that, whether the size of the file destination in described monitoring terminal equipment and/or data content change comprises:
Obtain size and/or the data content of described file destination;
Search the backup file of described file destination;
If find the backup file of described file destination, by the size of the described file destination obtaining and/or data content, contrast with the size and/or the data content that record in the backup file of described file destination;
According to described contrast, if the size of the described file destination obtaining and/or data content are not identical with the size and/or the data content that record in the backup file of described file destination, determine that size and/or the data content of described file destination changes;
If do not find the backup file of described file destination, determine that size and/or the data content of described file destination changes.
9. the method for automated back-up file according to claim 5, is characterized in that, whether the quantity of documents in the file destination list in described monitoring terminal equipment changes and comprise:
Obtain the quantity of documents in the described file destination list in terminal device;
Search the backup file of described file destination;
If find the backup file of described file destination, by the quantity of documents in the described file destination list of obtaining, contrast with the quantity of documents recording in the backup file of described file destination;
According to described contrast, if the quantity of documents in the described file destination list of obtaining is not identical with the quantity of documents recording in the backup file of described file destination, determine that the quantity of documents in described file destination list changes;
If do not find the backup file of described file destination, determine that the quantity of documents in described list changes.
10. the method for automated back-up file according to claim 1, is characterized in that, after reminding user backs up described file destination, comprising:
Receive the instruction that user backs up described file destination;
According to described instruction, the described file destination in terminal device is backed up.
The method of 11. automated back-up files according to claim 1, is characterized in that, also comprises:
Set in advance the file destination that needs monitoring in described terminal device.
12. according to the method for the automated back-up file described in claim 1-11 any one, it is characterized in that, described terminal device is the terminal device based on Android operating system.
The device of 13. 1 kinds of automated back-up files, is characterized in that, comprising:
Whether monitoring unit, change for the file destination of monitoring terminal equipment;
Backup units, if determine that for described monitoring unit described file destination changes, reminding user backs up described file destination, or directly described file destination is backed up.
The device of 14. automated back-up files according to claim 13, is characterized in that, described monitoring unit, and for the backstage at terminal device, whether the file destination in monitoring terminal equipment changes.
The device of 15. automated back-up files according to claim 13, is characterized in that, described monitoring unit comprises:
Whether the first monitoring module, change for the modification time of the file destination of monitoring terminal equipment;
The first determination module, if the modification time that monitors described file destination for described the first monitoring module changes, determines that described file destination changes.
The device of 16. automated back-up files according to claim 13, is characterized in that, described monitoring unit comprises:
Whether the second monitoring module, change for size and/or the data content of the file destination of monitoring terminal equipment;
The second determination module, if the size and/or the data content that monitor described file destination for described the second monitoring module change, determines that described file destination changes.
The device of 17. automated back-up files according to claim 13, is characterized in that, described monitoring unit comprises:
Whether the 3rd monitoring module, change for the quantity of documents in the file destination list of monitoring terminal equipment;
The 3rd determination module, if the quantity of documents that monitors described file destination list for described the 3rd monitoring module changes, determines that described file destination changes.
The device of 18. automated back-up files according to claim 13, is characterized in that, described monitoring unit comprises:
Whether the 4th monitoring module, change for the modification time of the file destination of monitoring terminal equipment;
The 5th monitoring module, if the modification time that monitors described file destination for described the 4th monitoring module changes, whether size and/or the data content of monitoring described file destination change;
The 4th determination module, if the size and/or the data content that monitor described file destination for described the 5th monitoring module change, determines that described file destination changes.
19. according to the device of the automated back-up file described in claim 15 or 18, it is characterized in that, described the first monitoring module or the 4th monitoring module comprise:
First obtains submodule, for obtaining the modification time of described file destination;
First searches submodule, for searching the backup file of described file destination;
The first contrast submodule, if for the described first backup file of searching submodule and finding described file destination, by the modification time of the described file destination obtaining, contrasts with the modification time of the backup file of described file destination;
First determines submodule, for according to described contrast, if the modification time of the described file destination obtaining is not identical with the modification time of the backup file of described file destination, determines that the modification time of described file destination changes;
Described first determines submodule, if also for the described first backup file of searching submodule and not finding described file destination, determine that the modification time of described file destination changes.
20. according to the device of the automated back-up file described in claim 16 or 18, it is characterized in that, described the second monitoring module or the 5th monitoring module comprise:
Second obtains submodule, for obtaining size and/or the data content of described file destination;
Second searches submodule, for searching the backup file of described file destination;
The second contrast submodule, if for the described second backup file of searching submodule and finding described file destination, by the size of the described file destination obtaining and/or data content, contrast with the size and/or the data content that record in the backup file of described file destination;
Second determines submodule, be used for according to described contrast, if the size of the described file destination obtaining and/or data content are not identical with the size and/or the data content that record in the backup file of described file destination, determine that size and/or the data content of described file destination changes;
Described second determines submodule, if also for the described second backup file of searching submodule and not finding described file destination, determine that size and/or the data content of described file destination changes.
The device of 21. automated back-up files according to claim 17, is characterized in that, described the 3rd monitoring module comprises:
The 3rd obtains submodule, for obtaining the quantity of documents of described file destination list;
The 3rd searches submodule, for searching the backup file of described file destination;
The 3rd contrast submodule, if for the described the 3rd backup file of searching submodule and find described file destination, by the quantity of documents in the described file destination list of obtaining, contrasts with the quantity of documents recording in the backup file of described file destination;
The 3rd determines submodule, be used for according to described contrast, if the quantity of documents in the described file destination list of obtaining is not identical with the quantity of documents recording in the backup file of described file destination, determine that the quantity of documents in described file destination list changes;
The described the 3rd determines submodule, if also for the described the 3rd backup file of searching submodule and do not find described file destination, determine that the quantity of documents in described file destination list changes.
The device of 22. automated back-up files according to claim 13, is characterized in that, described backup units comprises:
Receiver module, for after reminding user backs up described file destination, receives the instruction that user backs up described file destination;
Backup module, for according to described instruction, backs up the described file destination in terminal device.
The device of 23. automated back-up files according to claim 13, is characterized in that, also comprises:
Setting unit, needs for setting in advance described terminal device the file destination of monitoring.
24. according to the device of the automated back-up file described in claim 13-23 any one, it is characterized in that, described terminal device is the terminal device based on Android operating system.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710407850.7A CN107315654B (en) | 2014-07-28 | 2014-07-28 | Method and device for automatically backing up files |
CN201410361620.8A CN104133739B (en) | 2014-07-28 | 2014-07-28 | A kind of method and device of automated back-up file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410361620.8A CN104133739B (en) | 2014-07-28 | 2014-07-28 | A kind of method and device of automated back-up file |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710407850.7A Division CN107315654B (en) | 2014-07-28 | 2014-07-28 | Method and device for automatically backing up files |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104133739A true CN104133739A (en) | 2014-11-05 |
CN104133739B CN104133739B (en) | 2017-09-05 |
Family
ID=51806424
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710407850.7A Active CN107315654B (en) | 2014-07-28 | 2014-07-28 | Method and device for automatically backing up files |
CN201410361620.8A Active CN104133739B (en) | 2014-07-28 | 2014-07-28 | A kind of method and device of automated back-up file |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710407850.7A Active CN107315654B (en) | 2014-07-28 | 2014-07-28 | Method and device for automatically backing up files |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107315654B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105119995A (en) * | 2015-08-27 | 2015-12-02 | 北京恒华伟业科技股份有限公司 | File cloud saving method, terminal equipment and backup server |
CN106096447A (en) * | 2016-06-15 | 2016-11-09 | 杭州华三通信技术有限公司 | A kind of document protection method and device |
CN109831323A (en) * | 2019-01-15 | 2019-05-31 | 网宿科技股份有限公司 | Management method, management system and the server of server info |
CN111639338A (en) * | 2020-05-11 | 2020-09-08 | 珠海豹趣科技有限公司 | Document backup method and related equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101281543A (en) * | 2008-05-13 | 2008-10-08 | 华为技术有限公司 | File synchronisation method and device |
US20090276475A1 (en) * | 2008-03-01 | 2009-11-05 | Roald Ramsey | Secure data access and backup |
CN101901175A (en) * | 2010-02-11 | 2010-12-01 | 宇龙计算机通信科技(深圳)有限公司 | Data backup method and electronic terminal |
CN102385614A (en) * | 2011-09-29 | 2012-03-21 | 奇智软件(北京)有限公司 | Terminal file updating management method and system |
CN103401904A (en) * | 2013-07-19 | 2013-11-20 | 蓝盾信息安全技术股份有限公司 | Method for backing up mobile terminal data |
CN103679002A (en) * | 2013-12-12 | 2014-03-26 | 小米科技有限责任公司 | Method and device for monitoring file change and server |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436151B (en) * | 2008-12-01 | 2012-01-11 | 成都索贝数码科技股份有限公司 | Data real time backup method and system based on file system |
US8762341B1 (en) * | 2011-12-22 | 2014-06-24 | Symantec Corporation | Efficiently configuring multiple backup data policies with information specifying data to backup |
-
2014
- 2014-07-28 CN CN201710407850.7A patent/CN107315654B/en active Active
- 2014-07-28 CN CN201410361620.8A patent/CN104133739B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090276475A1 (en) * | 2008-03-01 | 2009-11-05 | Roald Ramsey | Secure data access and backup |
CN101281543A (en) * | 2008-05-13 | 2008-10-08 | 华为技术有限公司 | File synchronisation method and device |
CN101901175A (en) * | 2010-02-11 | 2010-12-01 | 宇龙计算机通信科技(深圳)有限公司 | Data backup method and electronic terminal |
CN102385614A (en) * | 2011-09-29 | 2012-03-21 | 奇智软件(北京)有限公司 | Terminal file updating management method and system |
CN103401904A (en) * | 2013-07-19 | 2013-11-20 | 蓝盾信息安全技术股份有限公司 | Method for backing up mobile terminal data |
CN103679002A (en) * | 2013-12-12 | 2014-03-26 | 小米科技有限责任公司 | Method and device for monitoring file change and server |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105119995A (en) * | 2015-08-27 | 2015-12-02 | 北京恒华伟业科技股份有限公司 | File cloud saving method, terminal equipment and backup server |
CN106096447A (en) * | 2016-06-15 | 2016-11-09 | 杭州华三通信技术有限公司 | A kind of document protection method and device |
CN109831323A (en) * | 2019-01-15 | 2019-05-31 | 网宿科技股份有限公司 | Management method, management system and the server of server info |
CN111639338A (en) * | 2020-05-11 | 2020-09-08 | 珠海豹趣科技有限公司 | Document backup method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107315654A (en) | 2017-11-03 |
CN104133739B (en) | 2017-09-05 |
CN107315654B (en) | 2020-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102831035A (en) | Information backup method and device | |
CN105700901B (en) | Starting method, device and computer system | |
CN102043686B (en) | Disaster tolerance method, backup server and system of memory database | |
CN104133739A (en) | Method and device for automatically backing up file | |
CN102467624B (en) | Method and system for software license recovery and automatic reapplication | |
US20140081927A1 (en) | Data node fencing in a distributed file system | |
US20120233493A1 (en) | Portable device and backup method thereof | |
CN103281798A (en) | Method, device and system for achieving modification synchronization | |
CN111382008B (en) | Virtual machine data backup method, device and system | |
CN101499826A (en) | Method, system for searching Bluetooth device and Bluetooth device thereof | |
CN104391850A (en) | Method and device for cleaning garbage files of disks, and terminal device | |
CN103744912A (en) | Video file scanning method and electronic device | |
CN110716945A (en) | Data updating method, data updating system, server and storage medium | |
CN105760251B (en) | A kind of method and apparatus of Backup Data | |
CN103823727B (en) | A kind of backup method of live recording and device | |
CN104951348A (en) | Interruptible recovery upgrading method and device | |
US9928134B2 (en) | Method and apparatus for repairing dynamic link library file | |
CN104517067A (en) | Method, device and system for data access | |
CN104216997A (en) | Method and device for repairing terminal equipment | |
US20110016248A1 (en) | Insertion/removal detector | |
CN103838746A (en) | Method for multiple CPU systems to share storage data and systems | |
EP4300314A3 (en) | Data backup method, apparatus and system | |
CN107547605B (en) | message reading and writing method based on node queue and node equipment | |
CN105786650A (en) | Data management method and device | |
CN104021053A (en) | Method for restoration and backup of application programs, mobile terminal and network server |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20181228 Address after: 519031 Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province Patentee after: Zhuhai Seal Interest Technology Co., Ltd. Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong. Patentee before: Zhuhai Juntian Electronic Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |