CN107145501A - File updating method, file copying method and corresponding system - Google Patents

File updating method, file copying method and corresponding system Download PDF

Info

Publication number
CN107145501A
CN107145501A CN201710164612.8A CN201710164612A CN107145501A CN 107145501 A CN107145501 A CN 107145501A CN 201710164612 A CN201710164612 A CN 201710164612A CN 107145501 A CN107145501 A CN 107145501A
Authority
CN
China
Prior art keywords
file
folder
operating
document
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
Application number
CN201710164612.8A
Other languages
Chinese (zh)
Other versions
CN107145501B (en
Inventor
王全礼
邵小亮
陈飞
谢隆飞
郑坚钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201710164612.8A priority Critical patent/CN107145501B/en
Publication of CN107145501A publication Critical patent/CN107145501A/en
Application granted granted Critical
Publication of CN107145501B publication Critical patent/CN107145501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of file updating method, file copying method and corresponding system.Included according to a kind of file updating method of embodiment:Determine whether document folder and operating file folder meet more new demand;If meeting the requirements, the file during document is pressed from both sides copies to operating file folder;Judge that whether consistent document folder presss from both sides with operating file;If consistent, set up under operating file folder and write lock, carried out file and update operation.Included according to the file updating method of another embodiment:Judge whether file directory to be updated is damaged;If having damaged, file directory to be updated is emptied, currently used file directory is copied into file directory to be updated;By the renewal list update of this and last time to file directory to be updated;File directory to be updated is switched to currently used file directory.According to embodiment, the occupancy of disk space is saved, and will not be accumulated in internal memory and account for substantial amounts of handle, it is to avoid system is because file handle is excessive and stops read-write and services.

Description

File updating method, file copying method and corresponding system
Technical field
The present invention relates to microcomputer data processing, in particular it relates to a kind of file updating method, file copying method And corresponding system.
Background technology
Search engine is the function of message area very core, and knowing required for user can be navigated to rapidly by search Know, search efficiency and the Intelligent treatment to search result turn into the core point of search engine.
Current search engine index typically passes through the shared side of NFS (Network File System, NFS) Formula realizes that the index file of searcher above different server is read, so, indexed file more news, if read simultaneously Following two problems can be caused by writing index file:
1) there are substantial amounts of .nfs temporary files, substantial amounts of disk space can be taken;
2) substantial amounts of file handle is taken in internal memory to be discharged, and cause system to stop file reading because file handle is excessive Write service.
The content of the invention
In view of the drawbacks described above of prior art, it is multiple that various different embodiments provide a kind of file updating method, file Method processed and corresponding system.
The file updating method provided according to a kind of embodiment, wherein, the file of storage file is including storage The operating file folder for carrying out the file of write operation, the document folder and storage backup text that preserve the file after last time renewal The backup file of part.Wherein, the file updating method includes:
Determine whether the document folder and operating file folder meet more new demand;
The document folder and operating file folder meet more new demand, then the file during the document is pressed from both sides is replicated To operating file folder;
Judge that whether consistent the document folder presss from both sides with the operating file;
If consistent, set up under operating file folder and write lock, carried out file and update operation.
The file updating method provided according to another embodiment, it includes:
Judge whether file directory to be updated is damaged;
If the file directory to be updated has been damaged, the file directory to be updated is emptied, by currently used file Catalogue copies to the file directory to be updated;
By the renewal list update of this and last time to the file directory to be updated;
The file directory to be updated is switched into currently used file directory.
The file copying method provided according to another embodiment, it includes:
Empty destination folder;
Read lock is generated in source folder, lock is write in file destination generation;
File in the source folder in addition to locked file is copied into the destination folder;
Delete in the read lock in the source file and the destination folder and write lock.
It is used for the system that file updates according to what a kind of embodiment was provided, it includes:
Memory, for storing one or more programs;
Processor, for performing one or more programs of the memory storage so as to any one above-mentioned embodiment The operation of described file updating method.
It is used for the system that file is replicated according to what another embodiment was provided, it includes:
Memory, for storing one or more programs;
Processor, for performing one or more programs of the memory storage so as to described in above-mentioned any embodiment File copying method operation.
According to various different embodiments, the occupancy of disk space is saved, and will not be accumulated in internal memory and account for substantial amounts of sentence Handle, it is to avoid system stops file read-write service because file handle is excessive.
Brief description of the drawings
Fig. 1 is the flow chart for showing the file updating method according to embodiment;
Fig. 2 is the flow chart for showing the file updating method according to embodiment;
Fig. 3 is shown deposits strategy according to the index of embodiment;
Fig. 4 is the flow chart for showing the file copying method according to embodiment;
Fig. 5 is the index upgrade flow chart according to embodiment;
Fig. 6 is the check process figure pressed from both sides according to the document of embodiment;
Fig. 7 is the check process figure pressed from both sides according to the operating file of embodiment;
Fig. 8 is the index backup flow chart according to embodiment;
Fig. 9 is to update flow chart according to the searcher of embodiment;
Figure 10 is the index upgrade flow chart according to embodiment;
Figure 11 is the check process figure of the index list to be written according to embodiment.
Embodiment
For the ease of understanding the various aspects, feature and advantage of technical solution of the present invention, below in conjunction with the accompanying drawings to this hair It is bright to be specifically described.It should be appreciated that following various embodiments are served only for for example, not for the limitation present invention's Protection domain.
Fig. 1 is shown according to a kind of file updating method of embodiment.For example, present embodiment mainly for file more New frequency is low, the larger situation of the amount of updating the data, because involving file copy operation, is not suitable for file and updates frequently Scene.It is advantageous that only updating to inside a file, it is fairly simple that file updates part logic.In the present embodiment, The file of storage file includes storing the file after the operating file folder for the file for carrying out write operation, preservation last time update Document folder and storage backup file backup file.Also, as shown in figure 1, according to the file of present embodiment Update method can include:
S101. determine whether the document folder and operating file folder meet more new demand;
S102. the document folder and operating file folder meet more new demand, then the text during the document is pressed from both sides Part copies to the operating file folder;
S103. judge that whether consistent the document folder presss from both sides with the operating file;
If S104. consistent, set up under operating file folder and write lock, carried out file and update operation.
Using present embodiment, it is to avoid substantial amounts of .nfs temporary files occur, the occupancy of disk space is reduced, also, not Substantial amounts of file handle can be taken in internal memory not discharge, thus avoid system from stopping file read-write clothes because file handle is excessive Business.
Alternatively, in processing S101, determine whether the document folder and operating file folder meet more new demand It can include:Check that whether normal the document folder and operating file press from both sides;The document folder and operating file folder are equal Normally, then judge whether the operating file folder is whether empty and described document folder is non-NULL;The operating file is pressed from both sides Empty and described document presss from both sides non-NULL, it is determined that be that document folder and operating file folder meet more new demand.
Wherein, check whether the document folder can normally include:Judge document folder whether by Whether write-in is in cleaning state;If the document folder be not written into or in cleaning state, described Document folder is checked as normal.Alternatively, check whether the document folder normally may also include:If described prepare text Part folder is written into or is not in cleaning state, then judge operating file folder whether be written into or whether be It is empty;If the operating file folder be not written into or is being not sky, the document folder is emptied;By the operating file File in folder copies to the document folder, so that document folder is checked as normally.
Wherein, check whether the operating file folder can normally include:Judge operating file folder whether by Whether write-in is in cleaning state;If the operating file folder is being written into or in cleaning state, the fortune is emptied Row file, so that operating file folder is checked as normally.Alternatively, check whether the operating file folder normally may be used also Including:If the operating file folder is not written into or be not at cleaning state, whether the operating file folder is judged It is read;If the operating file folder is read, the read lock under the operating file folder is deleted, so that the fortune Style of writing part folder is checked as normal;If the operating file folder be not read, the operating file folder is checked as Normally.
Alternatively, it be may further include according to the file updating method of above-mentioned embodiment by the file backup after renewal To the backup file.Specifically, for example, judging whether the document folder is written into;If the document Folder be not written into, then judges whether the number of the backup file in the backup file exceedes threshold value;If described standby The number of part file exceedes threshold value, then removes BACKUP TIME and exceed schedule time the backup text of (for example, oldest or earliest) Part;, will if the number of the backup file is not above threshold value or the backup file exceeded schedule time has been removed File in the document folder copies to the backup file.
Alternatively, it may further include according to the file updating method of above-mentioned embodiment:Judge what is currently run Whether file is newest;If the file currently run is not newest, the file copy during the document is pressed from both sides is described in Backup file;File in the backup file is switched to the file currently run.
In addition, for example, can be included according to the system for being used for file renewal of embodiment:Memory, for depositing Store up one or more programs (or computer-readable instruction);Processor, for performing the one or more of the memory storage Program (or computer-readable instruction) is to carry out the operation described in any of the above-described embodiment.
Fig. 2 shows the file updating method according to another embodiment.For example, present embodiment is mainly for file Frequently scene is updated, updates frequent for file, if being likely to result in frequent copied files, shadow using above-mentioned embodiment Ring efficiency.Present embodiment is by the way of two file directorys can be read and write, while only one of which file writes a text The mode that part folder is read.As shown in Fig. 2 can be included according to the file updating method of present embodiment:
S201. judge whether file directory to be updated is damaged;
If S202. the file directory to be updated has been damaged, the file directory to be updated is emptied, will be currently used File directory copies to the file directory to be updated;
S203. by the renewal list update of this and last time to the file directory to be updated;
S204. the file directory to be updated is switched into currently used file directory.
As described previously for the situation of file frequent updating, system can be further improved by using present embodiment Efficiency.
In addition, for example, can be included according to the system for being used for file renewal of embodiment:Memory, for depositing Store up one or more programs (or computer-readable instruction);Processor, for performing the one or more of the memory storage Program (or computer-readable instruction) is to carry out the operation described in above-mentioned embodiment.
In addition, can be included according to the file copying method of various embodiments:Empty destination folder;In source folder Read lock is generated, lock is write in file destination generation;File in the source folder in addition to locked file is replicated To the destination folder;Delete in the read lock in the source file and the destination folder and write lock.Wherein, it is described to empty Destination folder can include:Lock is emptied in destination folder generation, to empty destination folder, empties and is deleted after file destination Empty lock.
Correspondingly, for example, can be included according to the system for being used for file duplication of embodiment:Memory, for storing One or more programs (or computer-readable instruction);Processor, one or more journeys for performing the memory storage Sequence (computer-readable instruction) is to carry out the operation of the file copying method described in above-mentioned embodiment.
Need explanation, although each operation or processing of above-mentioned embodiment combination accompanying drawing to method are described, But each operation or processing are not required to be performed according to order shown in the drawings, certain operations or processing can with it is another A little operations or processing are parallel to be performed, and certain operations or processing can be performed after or before other operations or processing.Also, The part or complete that the part or all of processing of some embodiments can be with other embodiments in above-mentioned various embodiments Portion's processing is combined in any way, and the embodiment that combination is obtained still falls within embodiments of the present invention.For example, The embodiment being respectively shown in for Fig. 1 and Fig. 2, can be combined in the following manner:First, it is frequent updating to determine that file updates Still infrequently update;Then, used for infrequently more news at the various embodiments with reference to described in Fig. 1 Reason, is handled when frequent updating using the various embodiments with reference to described in Fig. 2.Updated by both files Scheme can accomplish that read-write is kept completely separate, to solve the problem of prior art is present.
Various embodiments illustrate the file update scheme of the present invention, file by taking index file as an example, schematically below Replication theme.
Search engine is the function of message area very core, and knowing required for user can be navigated to rapidly by search Know.Below various embodiments by two kinds of search engine index Controlling models of design to solve the read and write abruption of index file Problem.One kind is to update infrequently model, and one kind is to update frequent model, and different indexes is used according to different application scenarios Controlling model.This model is specifically described respectively below.
【Update infrequently model】
This model is low mainly for index upgrade frequency, the larger situation of the amount of updating the data, because involving file copy Operation, so being not suitable for index upgrade frequently scene, advantage is only to update to an index the inside, and index upgrade part is patrolled Collect fairly simple.
The storage of index
As shown in figure 3, index file folder may include backup (Backup), prepare (Ready) and operation (Running) three Sub-folder, wherein:
1) Running files are carrying out the file of write operation for index, are successfully tied when an index upgrade is operated Shu Shi, under the index copy in Running files to Ready files;
2) Ready files preserve index file newest after last time renewal, and it act as reading for all searchers, And in the index in indexing destruction Running, recover former index;
3) the index backup for specifying number, at the end of once-through operation is updated successfully, first are deposited under Backup files Index in Ready files is backed up, if the number of backup exceedes the number specified, and deletes oldest a backup, For example, backup when deleting 2016-01-25.
Under normal conditions, only one of which is in the state write in Running files and Ready files, therefore, Have one in the error of arbitrary process, Ready files and Running files without destroyed, that is, this system be can Self-recovery.
When occurring both in situation about writing (such as artificial outside modification), then this file system is unstable, is updated Program is exited.
Under normal conditions, if being all substantial in Running and Ready files, and not in write-in State, then they are the same, because Ready files are the last time backups of Running files.If between them Uniformity destroyed, then can not judge that wherein which is correct, now more new procedures are exited.
Index upgrade
Need to do when needing index upgrade, check two file state in which, be described in detail below:
Running files do not have any reading and write operation.
Ready files may be read, but without write operation.
Judgment rule:
For Ready files:
1) there can only be one to write, be write from Running files, that is, from Running files copied index to Ready Under catalogue;
2) it can be read with multiple, including:The reading of index upgrade module or the reading of Running Fault recoveries;
For Running files:
1) only one of which is read, from the reading of Ready files;
2) possible write for two kinds:One is writing of normally indexing, and another is writing for Fault recovery, from Ready files What is pressed from both sides writes.
Hereafter the renewal to index is specifically described.Before this, first introduce in index upgrade flow and copy Index the replicated folder flow used.
<Replicated folder flow>
Copied index uses all the elements in replicated folder flow, i.e. copy source (source) file to target (target) file.
As shown in figure 4, replicated folder flow at least includes:
S401~S403. empties (clear) lock in the generation of target files, clears up target files, deletes clear Lock;
S404, S405. read (read) lock in the generation of source files, and (write) lock is write in the generation of target files;
S406. the All Files in source files in addition to file is locked is replicated to target files;
S407, S408. delete the read lock in source files and the write locks in target.
<Index upgrade flow>
As shown in figure 5, index upgrade flow is as follows:
S501. check whether Ready files and Running files are normal, it is abnormal then to update failure, normally then turn S502;
S502.Running files are for empty and Ready file non-NULLs, if it is not, then turning S505, if so, then turning S503;
S503. Ready files are copied to and clip to Running files, that is, recover newest index;Wherein, flow is replicated As described above, being not repeated herein.
S504. replicate and successfully then enter S505, otherwise update failure;
S505, S506. judge Ready and Running uniformity, unanimously then turn S507, otherwise update failure;
S507, S508. set up under Running files and write lock, are indexed renewal operation.
In the index upgrade flow, check whether Ready files are normal, that is, judge that Ready file rules are File Ready may be read, but without write operation, flow is as shown in fig. 6, as follows:
S601. it is write-in or cleaning state to judge Ready files, if so, then clipping to index from Running files Interrupted in the reproduction process of Ready files, turn S602, otherwise returned and check successfully;
S602. judging Running is write or for dummy status, is checked failure if so, then returning, is otherwise turned S603;
S603~S607. empties Ready files, by the copy content of Running files to Ready files, if Whole process success, then return and check successfully, otherwise check failure.
In index upgrade flow, check whether Running files normally check rule:File Running does not have There is any reading and write operation, flow is as shown in fig. 7, as follows:
S700. judge whether Running is currently written into or empties, if so, breaking during then indexing, turn S711, Otherwise S721 is turned;
S711, S712. empty Running files, clear up successfully then return and check successfully, and failing then to return checks mistake Lose;
S721. judge whether Running is reading, checked successfully if it is not, then returning, if so, then turning S722;
S722, S723. index are interrupted in the reproduction process for clipping to Ready files from Running files, are deleted and are read Lock, deletes and successfully then checks successfully, otherwise returns and checks failure.
Index backup
Alternatively, embodiment also includes index backup procedure, i.e., index is backuped into Backup texts after index upgrade Part is pressed from both sides.For example, as shown in figure 8, index backup procedure can include:
Whether S801.Ready files are currently written into, if so, can not then back up, otherwise turn S802;
S802. judge whether the number of backup file exceedes threshold value, more than S803 is then turned, otherwise turn S804;
S803. oldest backup is cleared up, then turns S804;
S804. Ready files are copied into Backup files;Wherein, the duplication flow of file is above in conjunction with Fig. 4 It is described, it is not repeated herein.
Searcher index upgrade
Searcher index upgrade flow refers to that the index that searcher is read in timing enters from the acquisition of Ready files is newest The process of line replacement a, it is assumed that searcher has two index files of A and B to backup each other to use, its renewal process such as Fig. 9 institutes Show, in general, judge whether the index currently run is newest, is not to copy the index under Ready to Backup Archive index is simultaneously switched to searcher to index by file;Then two index files are all replaced into when being unused newest .
【Update frequent model】
The model is mainly for index upgrade frequently scene, in the case of index upgrade is frequent, if using previous Frequent copied index can be caused by planting model, influence efficiency.This model is by the way of two index lists can be read and write, simultaneously Only one of which file writes the mode that a file is read.
Assuming that two index lists of A and B, when A is that current search device uses catalogue, then by last time and this renewal list (List) catalogue B is written to, search catalogue then is switched into B goes to update write-in index A, such a process repeatedly, tool Body flow such as Figure 10 institutes.Wherein, index list validity check flow is as shown in figure 11, as follows:
S1101. judge whether index list to be written damages, S1104 is turned if it is not, being then proved to be successful, if so, then turning S1102;
S1102, S1103. empty index list to be written, while index to be updated will be copied to using index list Catalogue;
S1104~S1106. updates index list, checks again for whether index is complete, completely then prompting is updated successfully, no Then judge whether to exceed update times, update failure more than returning, otherwise turn S1102.
In summary, according to present embodiment, two kinds of search engine index control more new models of design solve different scenes Under file update control problem, naturally it is also possible to expand to file renewal application scenarios.
File read-write can cause the generation of temporary file under file sharing scenario, and substantial amounts of disk can be taken by having accumulated long Space, while can take substantial amounts of file handle can not discharge, thus, each embodiment of the invention is intended to the index by design Update method can solve the problems, such as the read and write abruption of index, it is to avoid substantial amounts of .nfs temporary files occur, reduce accounting for for disk space With, also, substantial amounts of file handle will not be taken in internal memory do not discharge, system is thus avoided because file handle is excessive and stops File read-write is serviced.The scheme that the present invention is provided is not limited only to the control scene of search engine index file, may apply to and appoints What file, which updates, needs the scene of read and write abruption.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by The mode of software combination hardware platform is realized.Understood based on such, technical scheme makes tribute to background technology That offers can be embodied in the form of software product in whole or in part, and the computer software product can be stored in storage and be situated between In matter, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment (can be individual calculus Machine, server, or network equipment etc.) perform method described in some parts of each of the invention embodiment or embodiment.
Skilled person should be appreciated that disclosed above is only embodiments of the present invention, certainly can not be with This limits the interest field of the present invention, and the equivalent variations made according to embodiment of the present invention still belong to the claims in the present invention institute The scope covered.

Claims (15)

1. a kind of file updating method, it is characterised in that the file of storage file includes the text that storage is carrying out write operation The backup file of the operating file folder of part, the document folder for preserving the file after last time renewal and storage backup file,
Wherein, the file updating method includes:
Determine whether the document folder and operating file folder meet more new demand;
The document folder and operating file folder meet more new demand, then the file during the document is pressed from both sides copies to institute State operating file folder;
Judge that whether consistent the document folder presss from both sides with the operating file;
If consistent, set up under operating file folder and write lock, carried out file and update operation.
2. file updating method according to claim 1, it is characterised in that determine the document folder and operating file Whether folder, which meets renewal, requires to include:
Check that whether normal the document folder and operating file press from both sides;
The document folder and operating file press from both sides normal, then whether judge the operating file folder is empty and described preparation text Whether part folder is non-NULL;
The operating file folder is empty and described document folder non-NULL, it is determined that for document folder and operating file folder Meet more new demand.
3. file updating method according to claim 2, it is characterised in that check whether the document folder normally wraps Include:
Judge whether the document folder is being written into or whether is being in cleaning state;
If the document folder be not written into or in cleaning state, the document folder is checked as just Often.
4. file updating method according to claim 3, it is characterised in that check whether the document folder is normally gone back Including:
If the document folder is written into or be not in cleaning state, whether the operating file folder is judged It is written into or whether is empty;
If the operating file folder be not written into or is being not sky, the document folder is emptied;
File during the operating file is pressed from both sides copies to the document folder, so that document folder is checked as just Often.
5. file updating method according to claim 2, it is characterised in that check whether the operating file folder normally wraps Include:
Judge whether the operating file folder is being written into or whether is being in cleaning state;
If the operating file folder is being written into or in cleaning state, the operating file folder is emptied, so that the fortune Style of writing part folder is checked as normal.
6. file updating method according to claim 5, it is characterised in that check whether the operating file folder is normally gone back Including:
If the operating file folder is not written into or be not at cleaning state, whether just the operating file folder is judged It is being read;
If the operating file folder is read, the read lock under the operating file folder is deleted, so that the operating file Folder is checked as normal;
If the operating file folder be not read, the operating file folder is checked as normal.
7. file updating method according to claim 1, it is characterised in that also include:File backup after renewal is arrived The backup file.
8. file updating method according to claim 7, it is characterised in that by the file backup after renewal to the backup File includes:
Judge whether the document folder is written into;
If document folder be not written into, judge backup file in the backup file number whether More than threshold value;
If the number of the backup file exceedes threshold value, the backup file that BACKUP TIME exceeds schedule time is removed;
, will if the number of the backup file is not above threshold value or the backup file exceeded schedule time has been removed File in the document folder copies to the backup file.
9. the file updating method according to claim 1 or 7, it is characterised in that also include:
Judge whether the file currently run is newest;
If the file currently run is not newest, by the file copy in document folder to the backup file Folder;
File in the backup file is switched to the file currently run.
10. a kind of file updating method, it is characterised in that including:
Judge whether file directory to be updated is damaged;
If the file directory to be updated has been damaged, the file directory to be updated is emptied, by currently used file directory Copy to the file directory to be updated;
By the renewal list update of this and last time to the file directory to be updated;
The file directory to be updated is switched into currently used file directory.
11. a kind of file copying method, it is characterised in that including:
Empty destination folder;
Read lock is generated in source folder, lock is write in file destination generation;
File in the source folder in addition to locked file is copied into the destination folder;
Delete in the read lock in the source file and the destination folder and write lock.
12. file copying method according to claim 11, it is characterised in that emptying destination folder includes:In target File generation empties lock, to empty destination folder, empties deletion after file destination and empties lock.
13. a kind of system updated for file, it is characterised in that including:
Memory, for storing one or more programs;
Processor, for performing one or more programs of the memory storage to carry out claim 1 to 9 any one The operation of described method.
14. a kind of system updated for file, it is characterised in that including:
Memory, for storing one or more programs;
Processor, for performing one or more programs of the memory storage to carry out the method described in claim 10 Operation.
15. a kind of system replicated for file, it is characterised in that including:
Memory, for storing one or more programs;
Processor, for performing one or more programs of the memory storage to carry out described in claim 11 or 12 The operation of method.
CN201710164612.8A 2017-03-20 2017-03-20 File updating method, file copying method and corresponding system Active CN107145501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710164612.8A CN107145501B (en) 2017-03-20 2017-03-20 File updating method, file copying method and corresponding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710164612.8A CN107145501B (en) 2017-03-20 2017-03-20 File updating method, file copying method and corresponding system

Publications (2)

Publication Number Publication Date
CN107145501A true CN107145501A (en) 2017-09-08
CN107145501B CN107145501B (en) 2020-09-29

Family

ID=59783462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710164612.8A Active CN107145501B (en) 2017-03-20 2017-03-20 File updating method, file copying method and corresponding system

Country Status (1)

Country Link
CN (1) CN107145501B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920704A (en) * 2018-07-19 2018-11-30 Oppo(重庆)智能科技有限公司 File access pattern method, file restoring device and mobile terminal
WO2019105221A1 (en) * 2017-11-28 2019-06-06 比亚迪股份有限公司 Energy storage system startup method and energy storage device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226603A (en) * 2013-04-27 2013-07-31 南京信息工程大学 File synchronization update method and system based on portable storage device
CN103473239A (en) * 2012-06-08 2013-12-25 腾讯科技(深圳)有限公司 Method and device for updating data of non relational database
CN103559319A (en) * 2013-11-21 2014-02-05 华为技术有限公司 Cache synchronization method and equipment for distributed cluster file system
US20160154704A1 (en) * 2014-11-27 2016-06-02 Institute For Information Industry Backup system and backup method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473239A (en) * 2012-06-08 2013-12-25 腾讯科技(深圳)有限公司 Method and device for updating data of non relational database
CN103226603A (en) * 2013-04-27 2013-07-31 南京信息工程大学 File synchronization update method and system based on portable storage device
CN103559319A (en) * 2013-11-21 2014-02-05 华为技术有限公司 Cache synchronization method and equipment for distributed cluster file system
US20160154704A1 (en) * 2014-11-27 2016-06-02 Institute For Information Industry Backup system and backup method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙家启 等: "《计算机网络基础》", 30 June 1998 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019105221A1 (en) * 2017-11-28 2019-06-06 比亚迪股份有限公司 Energy storage system startup method and energy storage device
CN108920704A (en) * 2018-07-19 2018-11-30 Oppo(重庆)智能科技有限公司 File access pattern method, file restoring device and mobile terminal

Also Published As

Publication number Publication date
CN107145501B (en) 2020-09-29

Similar Documents

Publication Publication Date Title
US10628378B2 (en) Replication of snapshots and clones
US8060468B2 (en) Storage system and data recovery method
US8145605B2 (en) NAS system and remote copy method
US7072916B1 (en) Instant snapshot
US7225371B2 (en) Method and apparatus for storing and retrieving multiple point-in-time consistent data sets
US8412905B2 (en) Storage system having secondary data store to mirror data
US7107396B2 (en) Chaining of blocks for optimal performance with DASD (Direct Access Storage Devices) free nonvolatile updates
US20070180000A1 (en) Storage apparatus and storage system
CN106407040A (en) Remote data copy method and system
EP3785120B1 (en) Fast and optimized restore using delta information
CN104281538B (en) It is a kind of store equipment dilatation and Snapshot Method and storage equipment
JP3785074B2 (en) Data processing system backup control apparatus and method
CN111552437B (en) Snapshot method and snapshot device applied to distributed storage system
US8180838B2 (en) Efficiently managing modular data storage systems
US9015526B2 (en) Restoring method and computer system
CN109086078A (en) Android system upgrade method, device, server and mobile terminal
CN106959907A (en) A kind of cloud platform fragmentation data backup and reduction system
US10929052B2 (en) Snapshot space reduction method and apparatus
CN107092598A (en) The management method and device of data storage location information
CN107145501A (en) File updating method, file copying method and corresponding system
US20090248760A1 (en) Backup method of computer system
US20060150013A1 (en) System and method for storing and restoring a data file using several storage media
JP2013519139A (en) Data storage method
CN105573862A (en) Method and equipment for recovering file systems
JP3598202B2 (en) Online system

Legal Events

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