CN105119995A - File cloud saving method, terminal equipment and backup server - Google Patents

File cloud saving method, terminal equipment and backup server Download PDF

Info

Publication number
CN105119995A
CN105119995A CN201510536290.6A CN201510536290A CN105119995A CN 105119995 A CN105119995 A CN 105119995A CN 201510536290 A CN201510536290 A CN 201510536290A CN 105119995 A CN105119995 A CN 105119995A
Authority
CN
China
Prior art keywords
file
backup server
server
files passe
importance
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.)
Pending
Application number
CN201510536290.6A
Other languages
Chinese (zh)
Inventor
方文
陈显龙
江春华
罗新伟
杨志鹏
王洪兴
冯松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Forever Technology Co Ltd
Original Assignee
Beijing Forever Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Forever Technology Co Ltd filed Critical Beijing Forever Technology Co Ltd
Priority to CN201510536290.6A priority Critical patent/CN105119995A/en
Publication of CN105119995A publication Critical patent/CN105119995A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a file cloud saving method, terminal equipment and a backup server, wherein the file cloud saving method comprises the following steps: opening a file; detecting whether the content of the file is changed or not within a time interval of adjacent timing time points, wherein the timing time points are pre-set time points for planning to upload the file to the backup server; and the backup server is a server different from a saving server; and uploading the current file to the backup server when the next timing time point arrives if the content of the file is detected to be changed, so that the backup server backs up the current file. According to the invention, in emergency cases of the terminal equipment, , the possibility that data lost by the file are stored at a network side is increased, so that users can recover the data lost by the file through the file stored at the network side very possibly.

Description

A kind of file cloud store method, terminal equipment and backup server
Technical field
The present invention relates to file storage technology field, be specifically related to a kind of file cloud store method, terminal equipment and backup server.
Background technology
File cloud is preserved and is referred to, user the upper editor of terminal equipment (as mobile phone, panel computer, computer etc.) as word, excel, ppt, drawing etc. can editing files time, if user performs preserve the operation of file, then terminal equipment can by the files passe that will preserve to the technology of the preservation server of network side; Being preserved by file cloud to make user lose at the local file of terminal equipment, damage, or when using other-end equipment, preserving server, being deployed into the file preserved and preserve in server by logging in; Can find out, file cloud is preserved and can be realized file and the function such as to transfer at the carrying out safety backup of network side with account different equipment, and purposes is wider.
The present inventor studies discovery, there are the following problems for the mode of current file cloud preservation: preserve due to file cloud the operation needing user to preserve file and trigger, this makes user in the process of editing files, if there is the emergency case such as system crash, power failure in terminal equipment, when causing File lose data, because user under emergency case also cannot perform the operation of preserving file, therefore network side also cannot be preserved the data that this part is lost, user can only update the data of File lose, causes the workload of user to strengthen;
Based on this, how when there is the emergency case such as system crash, power failure in terminal equipment, improve the possibility that network side preservation has the data of File lose, make user very likely by the data of the file access pattern File lose of network side preservation, reduce the situation generation that user updates file, become the problem that those skilled in the art need to consider.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of file cloud store method, terminal equipment and backup server, with when there is emergency case in terminal equipment, improve the possibility that network side preservation has the data of File lose, make user very likely by the data of the file access pattern File lose of network side preservation, reduce the situation generation that user updates file.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of file cloud store method, be applied to terminal equipment, described method comprises:
Open file;
Within the time interval of adjacent timing, whether the content detecting described file changes; Wherein, described timing is default plan by described files passe to time of backup server, and described backup server is the server different from preserving server;
If detect, the content of described file changes, and when next timing arrives, by current described files passe to described backup server, backs up described current file to make described backup server.
Wherein, described by current described files passe to also comprising before described backup server:
Determine the importance mark of described file, with by current described files passe to described backup server time, carry described importance mark, make described backup server back up described current file, and the importance mark that record is corresponding;
And/or, determine current time marking, with by current described files passe to described backup server time, carry described time marking, make described backup server back up described current file, and the time marking that record is corresponding.
Wherein, if by current described files passe to before described backup server, also need the importance mark determining described file, then describedly determine that the importance mark of described file comprises:
Determine the store path of described file in described terminal equipment; The store path corresponding according to preset each importance rate, determines the importance rate that described store path is corresponding, identifies the importance mark that determined importance rate is corresponding;
Or, calling and obtaining user be described file preset importance mark.
Wherein, described method also comprises:
If detect, user preserves the operation of file, by preserved files passe to described preservation server; Wherein, the files passe preserved to after described preservation server, described backup server according to preset file erase rule, delete back up before described file is preserved at least one described in file.
The embodiment of the present invention also provides a kind of file cloud store method, is applied to backup server, and described method comprises:
The file that receiving terminal apparatus is uploaded; Wherein, described terminal equipment is within the time interval of adjacent timing, if detect, the content of described file changes, then when next timing arrives, by current described files passe to described backup server, described timing is default plan by described files passe to time of backup server;
Back up described file.
Wherein, described method also comprises:
When preserved files passe is extremely preserved server by terminal equipment, receive file erase instruction, described file erase instruction is used to indicate at least one file deleted and back up before described file is preserved;
According to preset file erase rule, delete described file preserve before back up at least one described in file.
Wherein, described method also comprises:
When the file that receiving terminal apparatus is uploaded, the importance received with the described file of described files passe identifies, with when backing up described file, and the importance mark that record is corresponding; Wherein, when receiving described file erase instruction, described backup server deletes the file erase rule that described file adopts, corresponding to the importance rate of described file;
And/or, when the file that receiving terminal apparatus is uploaded, receive the time marking with described files passe, with when backing up described file, the time marking that record is corresponding.
Wherein, if described backup server is with the corresponding file erase rule of the importance rate of described file, described file is deleted; Then corresponding to the importance rate of described file file erase rule comprises:
If described importance rate is minimum, then delete all described file backed up before described file is preserved;
If described importance rate is the highest, then before deleting the preservation of described file, in the described file backed up, the described file of BACKUP TIME setting quantity at most.
The embodiment of the present invention also provides a kind of terminal equipment, comprising:
Open module, for opening file;
Detection module, within the time interval of adjacent timing, whether the content detecting described file changes; Wherein, described timing is default plan by described files passe to time of backup server, and backup server is the server different from preserving server;
Transmission module in backup, if for detecting that the content of described file changes, when next timing arrives, by current described files passe to described backup server, backs up described current file to make described backup server.
The embodiment of the present invention also provides a kind of backup server, comprising:
File receive module, for the file that receiving terminal apparatus is uploaded; Wherein, described terminal equipment is within the time interval of adjacent timing, if detect, the content of described file changes, then when next timing arrives, by current described files passe to described backup server, described timing is default plan by described files passe to time of backup server;
Backup module, for backing up described file.
Based on technique scheme, in the file cloud store method that the embodiment of the present invention provides, the predeterminable plan of terminal equipment by files passe to the timing of backup server, thus for being in the file of open mode, terminal equipment can within the time interval of adjacent timing, and whether the content detecting described file changes; If detect, the content of described file changes, then terminal equipment can when next timing arrives, by current described files passe to described backup server; To ensure that terminal equipment when timing arrives, by with in the time interval of a upper timing, the file backup of content changing can occur to backup server.Due to the file cloud store method that the embodiment of the present invention provides, can by the time interval of adjacent timing, the file backup that content changes is to backup server, and whether the backup of file in backup server has file content change triggers primarily of in the described time interval, therefore backup server to not preserving but the file that changes of content, can carry out the backup of most amount according to the time; When there is emergency case in terminal equipment, user is very likely by file that backup server backs up, search out backup file nearest when occurring apart from emergency case, or even backup file when emergency case occurs, reduce the situation generation that user updates file.
Can find out, the file cloud store method that the embodiment of the present invention provides, can when there is emergency case in terminal equipment, improve the possibility that network side preservation has the data of File lose, make user very likely by the data of the file access pattern File lose of network side preservation, reduce the situation generation that user updates file.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The flow chart of the file cloud store method that Fig. 1 provides for the embodiment of the present invention;
Another flow chart of the file cloud store method that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram of the importance mark of the determination file that Fig. 3 provides for the embodiment of the present invention;
A flow chart again of the file cloud store method that Fig. 4 provides for the embodiment of the present invention;
The another flow chart of the file cloud store method that Fig. 5 provides for the embodiment of the present invention;
Another flow chart again of the file cloud store method that Fig. 6 provides for the embodiment of the present invention;
The structured flowchart of the terminal equipment that Fig. 7 provides for the embodiment of the present invention;
Another structured flowchart of the terminal equipment that Fig. 8 provides for the embodiment of the present invention;
A structured flowchart again of the terminal equipment that Fig. 9 provides for the embodiment of the present invention;
The structured flowchart of the backup server that Figure 10 provides for the embodiment of the present invention;
Another structured flowchart of the backup server that Figure 11 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The flow chart of the file cloud store method that Fig. 1 provides for the embodiment of the present invention, the method can be applicable to terminal equipment, and with reference to Fig. 1, the method can comprise:
Step S100, to open file;
Step S110, within the time interval of adjacent timing, whether the content detecting described file changes; Wherein, described timing is default plan by described files passe to time of backup server, and described backup server is the server different from preserving server;
In embodiments of the present invention, except when arranging user's execute file preservation operation, preserving outside the preservation server of the file that terminal equipment is uploaded, being also provided with the backup server different from preserving server;
The embodiment of the present invention can pre-set plan by files passe to the timing of backup server, and timing can be periodically time, and also can be concrete moment time that user is arranged, can also be the combination in periodically time and concrete moment time;
For the periodicity time, the embodiment of the present invention can be arranged planned files passe to backup server every 30 seconds;
For concrete moment time, user can arrange some plans by files passe to moment time of backup server, as planned files passe to backup server at 10 in the morning, files passe to backup server, is planned files passe to (as 11 is the power-off time etc. of notice) such as backup servers for 11 by plan in 10: 10;
Example is combined into periodicity time and concrete moment time, user can arrange between 10 o'clock to 11 o'clock, plans by files passe to backup server, after this every 30 seconds, files passe to backup server, is planned files passe to backup server etc. by plan in 11: 10 for 11: 30;
The concrete time numerical value of foregoing description is only example.
It should be noted that, timing is only plan that the embodiment of the present invention presets by files passe to time of backup server, whether the actual whether upload file when timing arrives, also need to there is content changing to judge within the time interval of adjacent timing in conjunction with file;
The time interval of adjacent timing can be understood as the time interval of a timing and next timing, plan files passe to backup server every 30 seconds as arranged, and 10: 30 seconds when being one of them timing, then arrival after 10: 30 seconds in the time interval of next timing (10: 1), the embodiment of the present invention need judge in this 30 second time interval, whether file content changes;
Optionally, it can be that file content adds (as there is the content of new edited) that file content changes, file content decreases (as there is deleted content), the editing mode of file changes etc. (editing mode of file change as file add Revision Marks, font size changes, content color adjusts, the arrangement on editing hurdle changes); When reality judges, as long as within the time interval of adjacent timing, the content of file content and a upper timing is not quite identical, then think that file content there occurs change within the time interval of adjacent timing.
If step S120 detects that the content of described file changes, when next timing arrives, by current described files passe to described backup server, back up described current file to make described backup server.
In the file cloud store method that the embodiment of the present invention provides, the predeterminable plan of terminal equipment by files passe to the timing of backup server, thus for being in the file of open mode, terminal equipment can within the time interval of adjacent timing, and whether the content detecting described file changes; If detect, the content of described file changes, then terminal equipment can when next timing arrives, by current described files passe to described backup server; To ensure that terminal equipment when timing arrives, by with in the time interval of a upper timing, the file backup of content changing can occur to backup server.Due to the file cloud store method that the embodiment of the present invention provides, can by the time interval of adjacent timing, the file backup that content changes is to backup server, and whether the backup of file in backup server has file content change triggers primarily of in the described time interval, therefore backup server to not preserving but the file that changes of content, can carry out the backup of most amount according to the time; When there is emergency case in terminal equipment, user is very likely by file that backup server backs up, search out backup file nearest when occurring apart from emergency case, or even backup file when emergency case occurs, reduce the situation generation that user updates file.
Can find out, the file cloud store method that the embodiment of the present invention provides, can when there is emergency case in terminal equipment, improve the possibility that network side preservation has the data of File lose, make user very likely by the data of the file access pattern File lose of network side preservation, reduce the situation generation that user updates file.
Optionally, within the time interval of adjacent timing, if detect, the content of described file changes, the embodiment of the present invention by files passe to backup server time, also can carry the importance mark of file, with make described backup server back up described current file time, can log file corresponding importance mark; What the importance mark of file represented is the importance rate of file, the importance mark that different importance rates is corresponding different;
Corresponding, Fig. 2 shows another flow chart of the file cloud store method that the embodiment of the present invention provides, and with reference to Fig. 2, the method can comprise:
Step S200, to open file;
Step S210, within the time interval of adjacent timing, whether the content detecting described file changes; Wherein, described timing is default plan by described files passe to time of backup server, and described backup server is the server different from preserving server;
If step S220 detects that the content of described file changes, when next timing arrives, determine the importance mark of described file, and current described file and described importance mark are uploaded to described backup server, described backup server is made to back up described current file, and the importance mark that record is corresponding.
Optionally, the importance mark of file can be determined by the store path of file, the store path that each importance rate of embodiment of the present invention install beforehand is corresponding; As the embodiment of the present invention can arrange the file importance grade etc. that store path is " C dish-working folder ", " D dish-entertainment file folder ", thus determine the importance mark of corresponding importance rate according to the store path of file;
Corresponding, Fig. 3 shows the method flow diagram of the importance mark of the determination file that the embodiment of the present invention provides, and with reference to Fig. 3, the method can comprise:
Step S300, determine the store path of described file in described terminal equipment;
Step S310, the store path corresponding according to preset each importance rate, determine the importance rate that described store path is corresponding, identifies the importance mark that determined importance rate is corresponding.
Optionally, the importance of file mark also can be arranged by User Defined, and be provided with the importance mark of file user after, the embodiment of the present invention is the preset importance mark of described file by calling and obtaining user, realizes the determination of the importance mark of file.
Optionally, the embodiment of the present invention is within the time interval of adjacent timing, if detect, the content of described file changes, also can determine current time marking, thus by current described files passe to described backup server time, carry described time marking, make described backup server back up described current file, and the time marking that record is corresponding.
Obviously, the importance mark of file all can be uploaded to backup server with current time marking together with file.
Optionally, if detect, user preserves the operation of file, then preserved files passe as prior art, extremely can be preserved in server by the embodiment of the present invention; But difference from prior art is, the embodiment of the present invention is when file is saved to preservation server, and at least one file that before also file can being preserved, backup server backs up is deleted, and stores pressure with the data discharging backup server;
Corresponding, Fig. 4 shows a flow chart again of the file cloud store method that the embodiment of the present invention provides, and with reference to Fig. 4, the method can comprise:
Step S400, to open file;
Step S410, within the time interval of adjacent timing, whether the content detecting described file changes; Wherein, described timing is default plan by described files passe to time of backup server, and described backup server is the server different from preserving server;
If step S420 detects that the content of described file changes, when next timing arrives, by current described files passe to described backup server, back up described current file to make described backup server;
If step S430 detects that user preserves the operation of file, by preserved files passe to described preservation server; Wherein, the files passe preserved to after described preservation server, described backup server according to preset file erase rule, delete back up before described file is preserved at least one described in file.
Optionally, when files passe is to described backup server, the importance mark of file can be carried, and/or, current time marking.
After files passe to described preservation server, can notify that backup server need carry out the deletion of backup file by preserving server; Also can be the deletion that terminal equipment notice backup server need carry out backup file.
Optionally, file erase rule can be determined by the importance rate represented by the importance mark of file, be worth because file that importance rate is high has more backup, therefore when making file erase, the file erase amount of the file that importance rate is high should lower than the low file of importance rate; As for the minimum file of importance rate, the all described file deleted and back up before described file is preserved can be set, for the file that importance rate is the highest, can arrange before deleting the preservation of described file, in the described file backed up, the described file of BACKUP TIME setting quantity at most.
Optionally, file erase rule also can be set by User Defined, as the file for any type, as long as after file is saved to preservation server, can arranges the file backed up in backup server and all delete; Also can arrange file to be saved to and to preserve after server, only delete the partial document etc. backed up in backup server.
Below with the angle of backup server, the file cloud store method that the embodiment of the present invention provides is introduced, file cloud store method described below can with above with the mutual corresponding reference of file cloud store method that terminal equipment angle describes.
The another flow chart of the file cloud store method that Fig. 5 provides for the embodiment of the present invention, with reference to Fig. 5, the method can comprise:
The file that step S500, receiving terminal apparatus are uploaded; Wherein, described terminal equipment is within the time interval of adjacent timing, if detect, the content of described file changes, then when next timing arrives, by current described files passe to described backup server, described timing is default plan by described files passe to time of backup server;
Step S510, back up described file.
Optionally, during terminal equipment upload file, also can carry the importance mark of file; Corresponding, backup server is when the file that receiving terminal apparatus is uploaded, and the importance that can receive with the described file of described files passe identifies, with when backing up described file, and the importance mark that record is corresponding;
Optionally, during terminal equipment upload file, time marking corresponding when also can carry files passe; Corresponding, backup server, when the file that receiving terminal apparatus is uploaded, can receive the time marking with described files passe, with when backing up described file, and the time marking that record is corresponding.
Optionally, after file is saved to preservation server, terminal equipment or preservation server can send file erase instruction to backup server, delete to make backup server at least one file backed up before described file is preserved;
Optionally, file erase rule can be corresponding to the importance rate of the file that need delete;
Corresponding, Fig. 6 shows another flow chart again of the file cloud store method that the embodiment of the present invention provides, and with reference to Fig. 6, the method can comprise:
The file that step S600, receiving terminal apparatus are uploaded; Wherein, described terminal equipment is within the time interval of adjacent timing, if detect, the content of described file changes, then when next timing arrives, by current described files passe to described backup server, described timing is default plan by described files passe to time of backup server;
Step S610, back up described file;
Step S620, terminal equipment by preserved files passe to when preserving server, receive file erase instruction, described file erase instruction is used to indicate at least one file deleted and back up before described file is preserved;
Step S630, according to preset file erase rule, delete described file preserve before back up at least one described in file; Described backup server deletes the file erase rule that described file adopts, corresponding to the importance rate of described file.
Optionally, file erase rule can be set by User Defined; Preferably, file erase rule can be determined by the importance rate represented by the importance of file mark, and principle is: during file erase, and the file erase amount of the file that importance rate is high should lower than the low file of importance rate;
The importance rate represented as importance mark is minimum, then can delete all described file backed up before described file is preserved;
The importance rate represented as importance mark is the highest, then before can deleting the preservation of described file, in the described file backed up, and the described file of BACKUP TIME setting quantity at most.
Edit drawing for user below, the application examples that the embodiment of the present invention provides be introduced:
Pre-set every 30 seconds, plan drawing to be uploaded to backup server;
User opens drawing at 10;
In 10 o'clock to 10: 30 seconds, detect that drawing content changes, at 10: 30 seconds, current drawing is uploaded to backup server;
After this every 30 seconds, the drawing that content in 30 seconds changes is uploaded to backup server;
User preserved drawing at 10: 30, and drawing is uploaded to preservation server, preserved the deletion that server instruction backup server carries out backup file simultaneously; Period has 40 parts of drawings and is uploaded to backup server;
The longest for BACKUP TIME 30 parts of drawings are deleted by backup server, retain 10 points of drawings that BACKUP TIME is the shortest.
The file cloud store method that the embodiment of the present invention provides, can when there is emergency case in terminal equipment, improve the possibility that network side preservation has the data of File lose, make user very likely by the data of the file access pattern File lose of network side preservation, reduce the situation generation that user updates file.
Be introduced the terminal equipment that the embodiment of the present invention provides below, terminal equipment described below can be thought to be arranged in terminal equipment, for implementing the functional module framework of file cloud store method; Terminal equipment described below, can with above with the mutual corresponding reference of file cloud store method that terminal equipment angle describes.
The structured flowchart of the terminal equipment that Fig. 7 provides for the embodiment of the present invention, with reference to Fig. 7, this terminal equipment can comprise:
Open module 100, for opening file;
Detection module 110, within the time interval of adjacent timing, whether the content detecting described file changes; Wherein, described timing is default plan by described files passe to time of backup server, and backup server is the server different from preserving server;
Transmission module 120 in backup, if for detecting that the content of described file changes, when next timing arrives, by current described files passe to described backup server, backs up described current file to make described backup server.
Optionally, Fig. 8 shows another structured flowchart of the terminal equipment that the embodiment of the present invention provides, and shown in composition graphs 7 and Fig. 8, this terminal equipment can also comprise:
Importance mark determination module 130, for determining the importance mark of described file, with back up on transmission module 120 by current described files passe to described backup server time, carry described importance mark, described backup server is made to back up described current file, and the importance mark that record is corresponding;
Time marking determination module 140, for determining current time marking, with back up on transmission module 120 by current described files passe to described backup server time, carry described time marking, described backup server is made to back up described current file, and the time marking that record is corresponding.
Optionally, terminal equipment also only can arrange one of them of importance mark determination module 130 and time marking determination module 140.
Optionally, the embodiment of the present invention is by the importance rate of the store path determination file of file; Corresponding, importance mark determination module 130 specifically can be used for, and determines the store path of described file in described terminal equipment; The store path corresponding according to preset each importance rate, determines the importance rate that described store path is corresponding, identifies the importance mark that determined importance rate is corresponding.
Optionally, the embodiment of the present invention also can be arranged the importance rate of file by user; Corresponding, importance mark determination module 130 specifically can be used for, and calling and obtaining user is the preset importance mark of described file.
Optionally, Fig. 9 shows a structured flowchart again of the terminal equipment that the embodiment of the present invention provides, and shown in composition graphs 7 and Fig. 9, this terminal equipment can also comprise:
Transmission module 150 in preservation, if for detecting that user preserves the operation of file, by preserved files passe to described preservation server; Wherein, the files passe preserved to after described preservation server, described backup server according to preset file erase rule, delete back up before described file is preserved at least one described in file.
Optionally, file erase rule can be determined by the importance rate represented by the importance mark of file.
Below the backup server that the embodiment of the present invention provides is introduced, backup server described below can with above to back up the mutual corresponding reference of file cloud store method that server side describes.
The structured flowchart of the backup server that Figure 10 provides for the embodiment of the present invention, with reference to Figure 10, backup server can comprise:
File receive module 200, for the file that receiving terminal apparatus is uploaded; Wherein, described terminal equipment is within the time interval of adjacent timing, if detect, the content of described file changes, then when next timing arrives, by current described files passe to described backup server, described timing is default plan by described files passe to time of backup server;
Backup module 210, for backing up described file.
Optionally, Figure 11 shows another structured flowchart of the backup server that the embodiment of the present invention provides, and shown in Figure 10 and Figure 11, this backup server can also comprise:
Command reception module 220, for when preserved files passe is extremely preserved server by terminal equipment, receive file erase instruction, described file erase instruction is used to indicate at least one file deleted and back up before described file is preserved;
File erase module 230, for according to preset file erase rule, delete described file preserve before back up at least one described in file.
Optionally, file receive module 200 is when the file that receiving terminal apparatus is uploaded, and the importance that also can receive with the described file of described files passe identifies, to make backup module 210 when backing up described file, and the importance mark that record is corresponding;
Optionally, command reception module 220 is when receiving described file erase instruction, and file erase module 230 deletes the file erase rule that described file adopts, can be corresponding to the importance rate of described file;
Optionally, file receive module 200, when the file that receiving terminal apparatus is uploaded, also can receive the time marking with described files passe, to make backup module 210 when backing up described file, and the time marking that record is corresponding.
Optionally, if described backup server is with the corresponding file erase rule of the importance rate of described file, described file is deleted; Then file erase module 230 specifically can be used for, if described importance rate is minimum, then deletes all described file backed up before described file is preserved; If described importance rate is the highest, then before deleting the preservation of described file, in the described file backed up, the described file of BACKUP TIME setting quantity at most.
The present invention when terminal equipment exists emergency case, can improve the possibility that network side preservation has the data of File lose, makes user very likely by the data of the file access pattern File lose of network side preservation, reduces the situation generation that user updates file.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a file cloud store method, is characterized in that, is applied to terminal equipment, and described method comprises:
Open file;
Within the time interval of adjacent timing, whether the content detecting described file changes; Wherein, described timing is default plan by described files passe to time of backup server, and described backup server is the server different from preserving server;
If detect, the content of described file changes, and when next timing arrives, by current described files passe to described backup server, backs up described current file to make described backup server.
2. file cloud store method according to claim 1, is characterized in that, described by current described files passe to also comprising before described backup server:
Determine the importance mark of described file, with by current described files passe to described backup server time, carry described importance mark, make described backup server back up described current file, and the importance mark that record is corresponding;
And/or, determine current time marking, with by current described files passe to described backup server time, carry described time marking, make described backup server back up described current file, and the time marking that record is corresponding.
3. file cloud store method according to claim 2, is characterized in that, if by current described files passe to before described backup server, also need the importance mark determining described file, then describedly determine that the importance mark of described file comprises:
Determine the store path of described file in described terminal equipment; The store path corresponding according to preset each importance rate, determines the importance rate that described store path is corresponding, identifies the importance mark that determined importance rate is corresponding;
Or, calling and obtaining user be described file preset importance mark.
4. the file cloud store method according to any one of claim 1-3, is characterized in that, also comprise:
If detect, user preserves the operation of file, by preserved files passe to described preservation server; Wherein, the files passe preserved to after described preservation server, described backup server according to preset file erase rule, delete back up before described file is preserved at least one described in file.
5. a file cloud store method, is characterized in that, is applied to backup server, and described method comprises:
The file that receiving terminal apparatus is uploaded; Wherein, described terminal equipment is within the time interval of adjacent timing, if detect, the content of described file changes, then when next timing arrives, by current described files passe to described backup server, described timing is default plan by described files passe to time of backup server;
Back up described file.
6. file cloud store method according to claim 6, is characterized in that, also comprise:
When preserved files passe is extremely preserved server by terminal equipment, receive file erase instruction, described file erase instruction is used to indicate at least one file deleted and back up before described file is preserved;
According to preset file erase rule, delete described file preserve before back up at least one described in file.
7. file cloud store method according to claim 6, is characterized in that, also comprise:
When the file that receiving terminal apparatus is uploaded, the importance received with the described file of described files passe identifies, with when backing up described file, and the importance mark that record is corresponding; Wherein, when receiving described file erase instruction, described backup server deletes the file erase rule that described file adopts, corresponding to the importance rate of described file;
And/or, when the file that receiving terminal apparatus is uploaded, receive the time marking with described files passe, with when backing up described file, the time marking that record is corresponding.
8. file cloud store method according to claim 7, is characterized in that, if described backup server is with the corresponding file erase rule of the importance rate of described file, deletes described file; Then corresponding to the importance rate of described file file erase rule comprises:
If described importance rate is minimum, then delete all described file backed up before described file is preserved;
If described importance rate is the highest, then before deleting the preservation of described file, in the described file backed up, the described file of BACKUP TIME setting quantity at most.
9. a terminal equipment, is characterized in that, comprising:
Open module, for opening file;
Detection module, within the time interval of adjacent timing, whether the content detecting described file changes; Wherein, described timing is default plan by described files passe to time of backup server, and backup server is the server different from preserving server;
Transmission module in backup, if for detecting that the content of described file changes, when next timing arrives, by current described files passe to described backup server, backs up described current file to make described backup server.
10. a backup server, is characterized in that, comprising:
File receive module, for the file that receiving terminal apparatus is uploaded; Wherein, described terminal equipment is within the time interval of adjacent timing, if detect, the content of described file changes, then when next timing arrives, by current described files passe to described backup server, described timing is default plan by described files passe to time of backup server;
Backup module, for backing up described file.
CN201510536290.6A 2015-08-27 2015-08-27 File cloud saving method, terminal equipment and backup server Pending CN105119995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510536290.6A CN105119995A (en) 2015-08-27 2015-08-27 File cloud saving method, terminal equipment and backup server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510536290.6A CN105119995A (en) 2015-08-27 2015-08-27 File cloud saving method, terminal equipment and backup server

Publications (1)

Publication Number Publication Date
CN105119995A true CN105119995A (en) 2015-12-02

Family

ID=54667878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510536290.6A Pending CN105119995A (en) 2015-08-27 2015-08-27 File cloud saving method, terminal equipment and backup server

Country Status (1)

Country Link
CN (1) CN105119995A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562568A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 The method and device of backup file
CN107632905A (en) * 2017-09-05 2018-01-26 江苏神州信源系统工程有限公司 A kind of file anti-loss method and device for safe U disc
CN107885807A (en) * 2017-11-03 2018-04-06 广州视源电子科技股份有限公司 File saving method and device, intelligent tablet and storage medium
CN108459927A (en) * 2018-02-28 2018-08-28 北京奇艺世纪科技有限公司 A kind of data back up method, device and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120143824A1 (en) * 2010-12-02 2012-06-07 Microsoft Corporation Protecting files that include editable metadata
CN103220358A (en) * 2013-04-19 2013-07-24 李晶 Multi-terminal on-line file synchronizing method, system, server, and terminal device
CN103607455A (en) * 2013-11-20 2014-02-26 珠海金山办公软件有限公司 Method and system for file transmission
CN104133739A (en) * 2014-07-28 2014-11-05 珠海市君天电子科技有限公司 Method and device for automatically backing up file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120143824A1 (en) * 2010-12-02 2012-06-07 Microsoft Corporation Protecting files that include editable metadata
CN103220358A (en) * 2013-04-19 2013-07-24 李晶 Multi-terminal on-line file synchronizing method, system, server, and terminal device
CN103607455A (en) * 2013-11-20 2014-02-26 珠海金山办公软件有限公司 Method and system for file transmission
CN104133739A (en) * 2014-07-28 2014-11-05 珠海市君天电子科技有限公司 Method and device for automatically backing up file

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562568A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 The method and device of backup file
CN107562568B (en) * 2016-07-01 2024-04-26 中兴通讯股份有限公司 File backup method and device
CN107632905A (en) * 2017-09-05 2018-01-26 江苏神州信源系统工程有限公司 A kind of file anti-loss method and device for safe U disc
CN107885807A (en) * 2017-11-03 2018-04-06 广州视源电子科技股份有限公司 File saving method and device, intelligent tablet and storage medium
CN108459927A (en) * 2018-02-28 2018-08-28 北京奇艺世纪科技有限公司 A kind of data back up method, device and server
CN108459927B (en) * 2018-02-28 2021-11-26 北京奇艺世纪科技有限公司 Data backup method and device and server

Similar Documents

Publication Publication Date Title
US11178224B2 (en) System and method for automatic cloud-based full-data backup on mobile devices
CN105119995A (en) File cloud saving method, terminal equipment and backup server
CN104714859B (en) A kind of quick backup of mass file and the method recovered
JP4304194B2 (en) File system management apparatus and method
CN103729270B (en) Backup method and operating equipment
CN106445414B (en) Method and system for expanding available storage space of terminal equipment
CN105528368A (en) A database migration method and device
CN101017453A (en) Method and system for managing deletions in backup sets
WO2005119496A3 (en) Dependency graph-based aggregate asset status reporting methods and apparatus
CN101763321B (en) Disaster-tolerant method, device and system
WO2006036886A3 (en) System for automated management of spontaneous node migration in a distributed fixed wireless network
CN107066349A (en) A kind of method and system of cluster file system data protection
CN105095027A (en) Data backup method and apparatus
WO2017113317A1 (en) File editing method and file editor
CN103986779A (en) Application data transmission method, device and terminal equipment
CN104899049A (en) File deletion method and device
CN104601366A (en) Configuration service method and device for control and service nodes
CN105306554A (en) Data synchronization method and the local server
CN107590162A (en) The storage method and device of journal file
CN103838645A (en) Remote difference synthesis backup method based on Hash
CN109521969B (en) Solid state disk data recovery method and device and computer readable storage medium
CN102937923B (en) A kind of method of automatic preservation user interface state
US8312237B2 (en) Automated relocation of in-use multi-site protected data storage
CN105740098A (en) Determination method and system for stale data among backup data
CN107391312B (en) Data cloud backup method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202

RJ01 Rejection of invention patent application after publication