CN107741889A - Document recovery method, system, readable storage medium and terminal - Google Patents
Document recovery method, system, readable storage medium and terminal Download PDFInfo
- Publication number
- CN107741889A CN107741889A CN201710778678.6A CN201710778678A CN107741889A CN 107741889 A CN107741889 A CN 107741889A CN 201710778678 A CN201710778678 A CN 201710778678A CN 107741889 A CN107741889 A CN 107741889A
- Authority
- CN
- China
- Prior art keywords
- document
- subfile
- file
- identifier
- recovery method
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000011084 recovery Methods 0.000 title claims abstract description 34
- 230000004044 response Effects 0.000 claims abstract description 16
- 230000006837 decompression Effects 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 230000008439 repair process Effects 0.000 claims description 3
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 150000001875 compounds Chemical class 0.000 description 4
- 238000012856 packing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004321 preservation Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1453—Management of the data involved in backup or backup restore using de-duplication of the data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (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 relates to a method, a system, a readable storage medium and a terminal for restoring a document, wherein the method comprises the following steps: in response to an event that a document is detected to be modified, sending document version information corresponding to the modified document and subfiles contained in the modified document to a server, wherein the document version information comprises a document identifier for identifying the document; in response to an event of receiving a document recovery signal carrying a target document identifier, finding a corresponding target document according to the target document identifier, and downloading the subfiles contained in the target document to obtain the document of a required version. The document recovery method provided by the invention does not need to repeatedly backup the documents of a plurality of versions in practical application, but only needs to store the modified document to conveniently recover the document of the required version, thereby greatly saving the storage space and meeting the requirement of practical application.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of document recovery method, system, readable storage medium storing program for executing and
Terminal.
Background technology
It is well known that in displaying is reported in current commercial affairs, PPT (Microsoft Office PowerPoint) is several
Have become a kind of mostly important demonstration mode, the commercial affairs work to people brings great convenience.
A kind of derived versions of the PPTX as PPT, it is substantially that a compound document (is also a Zip compressed packages, wrapped
Containing some files, it is made up of content file and resource file).It can not only include text, figure, spread-sheet data,
Sound, video image and other many information can also be included.For the PPT of former legacy version, its function is more
To be powerful, using also more extensive.
However, for compound document, usually require just be finally completed by multiple editor in its manufacturing process,
Therefore many intermediate releases can be produced.Sometimes some version before user wants to return to, then need to carry out repeatedly revocation
It can recover, be difficult to be recovered if not backed up to version before.But if each intermediate releases are carried out standby
Part, it is difficult not only management, and waste very much memory space.
The content of the invention
It is a kind of without carrying out repeating backup to all documents of multiple versions it is an object of the invention to propose based on this,
And document recovery method, system, readable storage medium storing program for executing and the terminal effectively recovered to the document of required version are remained to, with full
Sufficient practical application request.
The present invention proposes a kind of document recovery method, wherein, methods described comprises the following steps:
The event changed in response to detecting a document, by documentation release information corresponding to the amended document with
And the subfile that the amended document includes is sent to server, it is used to know wherein the documentation release information includes one
The document identifier of other document;
In response to the event for the Document retrieval signal for receiving a carrying destination document identifier, according to the destination document
Identifier finds corresponding destination document, the subfile that the destination document includes is downloaded to obtain required version
The document.
The document recovery method, wherein, the event changed in response to detecting a document, by amended institute
State documentation release information corresponding to document and the step of subfile that the amended document includes is sent to server
Before, methods described also includes:
The document is decompressed to obtain multiple subfiles;
It is described to detect that a step of document is changed includes:
Detect that at least one subfile in the document is changed.
The document recovery method, wherein, each subfile corresponds to a file cryptographic Hash respectively, described by after modification
The subfile that includes of document the step of being sent to server include:
When determining in the presence of the subfile uploaded is still needed to, file corresponding to the subfile is calculated and breathes out
Uncommon value;
When determining in the server in the absence of the file cryptographic Hash identical file with the subfile, then
The subfile is sent to the server.
The document recovery method, wherein, after described the step of sending the subfile to the server, institute
Stating method also includes:
It is file index information corresponding to each subfile record after the completion of determining the subfile and uploading,
Wherein described file index information includes at least one of:The file identifier of uniqueness, filename, file store path,
The file cryptographic Hash.
The document recovery method, wherein, methods described also includes:
When determining that the file cryptographic Hash changes corresponding to wherein one subfile, then generate one with it is described
The subfile of filename identical first of subfile, first subfile are corresponding with the first file identifier and the first file
Store path.
The document recovery method, wherein, the document also include corresponding documentation release number, document creation time and
Document memory space value, methods described also include:
When the file cryptographic Hash for determining at least one subfile in the document changes, then will repair
The document after changing is preserved to obtain the document of document name identical first;
Record the document identifier, the documentation release number, the document creation time corresponding to first document
And the document memory space value and stored.
The present invention also proposes a kind of Document retrieval system, wherein, the system includes:
Data transmission blocks, for the event changed in response to detecting a document, by the amended document pair
The subfile that the documentation release information and the amended document answered include is sent to server, wherein the document version
This information includes a document identifier for being used to identify document;
Document retrieval module, the thing for the Document retrieval signal in response to receiving a carrying destination document identifier
Part, corresponding destination document is found according to the destination document identifier, the subfile that the destination document is included is downloaded
To obtain the document of required version.
The Document retrieval system, wherein, the system also includes a document decompression module, and the document decompression module is used
In the document is decompressed to obtain multiple subfiles.
The present invention also proposes a kind of readable storage medium storing program for executing, is stored thereon with computer program, wherein, the program is by processor
Document recovery method as described above is realized during execution.
The present invention also proposes a kind of terminal, including memory, processor and storage are on a memory and can be in processor
The computer program of upper operation, wherein, document recovery method as described above is realized during the computing device described program.
Document recovery method proposed by the present invention, when a document is changed, then by the documentation release of amended document
Information and currently contained subfile are sent to server, when receiving a Document retrieval signal, then according to document
Recover the destination document identifier in signal, after the subfile included under destination document is downloaded one by one in the server
The document of version needed for obtaining is packed again, to be finally completed resuming work for document.Document recovery method proposed by the present invention exists
Repeat backup without be carried out to the documents of multiple versions in practical application, and preservation need to be only carried out to the file changed can be
Easily the document of required version is recovered in practical application, greatlys save memory space, meets practical application
Demand.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Fig. 1 is the theory diagram for the document recovery method that first embodiment of the invention proposes;
Fig. 2 is the flow chart that document decompression uploads in the document recovery method that second embodiment of the invention proposes;
Fig. 3 is the flow chart that cryptographic Hash judges in the document recovery method that second embodiment of the invention proposes;
Fig. 4 is the flow chart for the document recovery method neutron file download packing that second embodiment of the invention proposes;
Fig. 5 is the structural representation for the Document retrieval system that third embodiment of the invention proposes;
Fig. 6 is the structural representation for the Document retrieval device that fourth embodiment of the invention proposes.
Embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In accompanying drawing
Give the preferred embodiment of the present invention.But the present invention can realize in many different forms, however it is not limited to this paper institutes
The embodiment of description.On the contrary, the purpose for providing these embodiments is made to the disclosure more thorough and comprehensive.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term as used herein " and/or " include one or more phases
The arbitrary and all combination of the Listed Items of pass.
Referring to Fig. 1, for the document recovery method in first embodiment of the invention, wherein, methods described includes as follows
Step:
S11, the event changed in response to detecting a document, documentation release corresponding to the amended document is believed
The subfile that breath and the amended document include is sent to server, is used wherein the documentation release information includes one
In the document identifier of identification document.
It should be understood that user during edit-modify is carried out to a document, inevitably results from many
Intermediate document, namely many versions.The document of each version is respectively corresponding with a documentation release information, wherein the document version
This information includes a document identifier, and the document of each of which version only has unique document identifier.
In the present invention, all documents are stored in server.Wherein, server includes being used for store document version
The first storage area (business information storage area) of information and the second storage area for storing subfile (file deposits storage area).
When detecting that a document is changed, then correspond to and documentation release information corresponding to amended document is uploaded to the first storage area
In (business information storage area), the subfile that the amended document is included is uploaded into the second storage area, and (file storage is deposited
Area) in.
For document, the document in the present embodiment is that multiple files are included in compound document, namely a document.Taking
It is engaged in during the actual storage of device, document is also what is stored in the form of each file in file server.Also will text
Shelves have obtained multiple subfiles after being decompressed, and then multiple subfiles are stored in file server.When detecting document
When being changed (namely at least file in document is changed), then now client by the document version of amended document
This information and the subfile included are sent into the server.
S12, the event of the Document retrieval signal in response to receiving a carrying destination document identifier, according to the target
Document identifier finds corresponding destination document, and the subfile that the destination document includes is downloaded to obtain required version
This document.
As noted previously, as in above-mentioned the first storage area (business information storage area) and the second storage area, (file is deposited
Storage area) in store the business information and subfile of different editions respectively, in actual applications, sent when receiving user
Document retrieval signal (wherein the document recover signal include destination document identifier) when, then according to the destination document identifier
The destination document of corresponding version is searched in the server (being specially the first memory block).Corresponding version is confirmed searching
After destination document, required version is obtained after all subfiles under the destination document are downloaded and packed one by one
Document completes Document retrieval operation.For example, the subfile that the destination document is included includes id1, id2 and id5, then exist
Subfile id1, id2 and id5 are downloaded respectively in second storage area (file deposits storage area).After the download is complete to these Ziwens
Part carry out packing compression obtain needed for the document of version complete resuming operation for document.
Document recovery method proposed by the present invention, when a document is changed, then by the documentation release of amended document
Information and currently contained subfile are sent to server, when receiving a Document retrieval signal, then according to document
Recover the destination document identifier in signal, after the subfile included under destination document is downloaded one by one in the server
The document of version needed for obtaining is packed again, to be finally completed resuming work for document.Document recovery method proposed by the present invention exists
Repeat backup without be carried out to the documents of multiple versions in practical application, and preservation need to be only carried out to the file changed can be
Easily the document of required version is recovered in practical application, greatlys save memory space, meets practical application
Demand.
Refer to Fig. 2 to Fig. 4, for the document recovery method in second embodiment, herein we using a wherein document as
Example carries out concrete example explanation.
First, decompressed to obtain multiple subfiles (referring to Fig. 2) to a document, wherein the subfile can be the page,
Picture, audio or video.After decompression has obtained multiple subfiles, the plurality of subfile is transmitted successively respectively
Into the second storage area (file deposits storage area) in the server, and by the document version of current version corresponding to the document
This information is sent into the first storage area (business information storage area) in the server.
Herein it should be noted that (file storage is deposited with the second storage area for first storage area (business information storage area)
Area) between the mutual transmission of signal be present.Corresponding step is:Receiving the destination document identifier of client transmission first
Afterwards, the target corresponding to then being searched in the first storage area (business information storage area) according to the destination document identifier
Document, one is then sent into second storage area (file deposits storage area) and downloads request instruction, (file is deposited for the second storage area
Storage area) receive download request instruction after, the destination document included according to download request instruction all
The subfile be downloaded packing after be back to client.Herein it should be noted that, in the present invention, the quantity of server
One is not only limited to, two can also be arranged to according to the actual requirements.Equally it is respectively used to record traffic information and storage
File.
After determining file and uploading successfully, then respectively each subfile matching record pair is answered index information, its
In the index information include file identifier, filename, file cryptographic Hash and store path.
For example, the index information of the file of server storage is as shown in the table:
File identifier | Filename | File cryptographic Hash | Store path |
id1 | name1 | hash1 | path1 |
id2 | name2 | hash2 | path2 |
…… | …… | …… | …… |
idn | namen | hashn | pathn |
At the same time, for document, when user is during edit-modify is carried out, inevitably to wherein one
Individual or multiple subfiles are modified.It is understood that when wherein a subfile changes, then its corresponding file is breathed out
Uncommon value can also change, and then the document cryptographic Hash of the document can also change, therefore in the edit-modify process of document
In can produce multiple intermediate documents, each version information of caused intermediate document is stored in business information storage area, and
The file that user specifically modified then is uploaded to file and deposited in storage area so that the later stage is resumed operation.
Specifically, when the file cryptographic Hash for determining at least one subfile in the document changes, then
Amended document is preserved to obtain the document of document name identical first.Such as the document entitled " year that the document is original
Whole final report ", the then document name of the first document after modifying also are " year-end summary report ", the setting primarily to
The problem of avoiding producing the document of a variety of different names and causing the lookup inconvenience in later stage.
In addition, after preservation has obtained the document of document name identical first, the text corresponding to first document is recorded
Shelves identifier, the documentation release number, the document creation time and the document memory space value simultaneously store.Need herein
, it is noted that in addition to document identifier, documentation release number, document creation time and document storage corresponding to the first document
Spatial value (namely document size) differs with the document before modification.It should be understood that document should also include included son
The name information of file.Specifically, the attribute information of document is as shown in the table:
Document identifier | Documentation release number | Include file | Document creation time | Document memory space value |
did1 | 1 | id1;id2;id5 | 2017/6/28 9:40 | 10M |
did1 | 2 | id1;id2;id6 | 2017/6/28 9:45 | 12M |
did2 | 1 | id11;id12;id13 | 2017/6/29 9:45 | 5M |
Further, to it is above-mentioned multiple subfiles are sent into file the step deposited in storage area for (refer to Fig. 3), have
Body, it is necessary first to judge whether still to have that subfile is to be uploaded, when determining in the presence of the subfile uploaded is still needed to,
File cryptographic Hash corresponding to subfile (on the contrary then directly terminate process) is then calculated;Then breathed out according to the file being calculated
Uncommon value searches the subfile for judging whether same file cryptographic Hash in the second storage area, when determining in the second storage area
During in the absence of file cryptographic Hash identical file corresponding with the subfile, then subfile is uploaded in second storage area.
In addition, when finding the file that same file cryptographic Hash in server be present, then directly skip this document and after
Continuous to judge whether that also file is to be uploaded, this is provided with beneficial to being avoided the repetition upload of file from causing the waste of memory space, is saved
About storage resource.
The document recovery method proposed for the present embodiment, it is also necessary to supplement, when determining a wherein subfile pair
When the file cryptographic Hash answered changes, then generation one and the subfile of filename identical first of the subfile, institute are corresponded to
State the first subfile and be corresponding with the first file identifier and the first store path.For example, subfile slide1 is in editing process
In be modified, the atom file slide1 entitled slide1.xml of file, corresponding file identifier be 1, then repaiied
The first subfile is obtained after changing, wherein the filename of first subfile is still slide1.xml, and now corresponding file
Identifier is 4.It should be understood that corresponding store path is necessarily also changed.
The solution of the present invention will be illustrated in more detail by a complete example below.
Specifically, assuming there is a compound document, comprising two pages and a picture, obtained after being decompressed with hereafter
Part:
slide1.xml |
slide2.xml |
image1.png |
Each subfile that decompression obtains is sent into server (the second storage area) after decompression is completed, now industry
The index information of the file of information storage of being engaged in area record is as follows:
File identifier | Filename | File cryptographic Hash | Store path |
1 | slide1.xml | 65DED5353C5EE48D0B7D48C591B8F430 | file://…….xml |
2 | slide2.xml | 912EC803B2CE49E4A541068D495AB570 | file://…….xml |
3 | image1.png | 6A204BD89F3C8348AFD5C77C717A097A | file://…….png |
In addition, the version information of corresponding document is as shown in the table:
Document identifier | Documentation release number | Include file | Document creation time | Document memory space value |
1 | 1 | 1;2;3 | 2017/6/28 9:40 | 10M |
File is being sent to server success, edlin is entered to the document.Such as modification page slide1.xml,
Increase a picture newly simultaneously, then now subfile corresponding to amended document is changed into:
Slide1.xml (file has modification) |
slide2.xml |
image1.png |
Image2.png (newly-increased) |
It is first wherein when the amended document (amended file) is sent into the second storage area in server
First calculated according to cryptographic Hash and judge now to need to upload amended pagefile slide1.xml and newly-increased picture file
image2.png.The index information of corresponding subfile represents as follows in server after upload:
The attribute information of document represents as follows:
Document identifier | Documentation release number | Include file | Document creation time | Document memory space value |
1 | 1 | 1;2;3 | 2017/6/28 9:40 | 10M |
1 | 2 | 2;3;4;5 | 2017/6/28 9:45 | 12M |
Further, it is assumed that user is needed to recover a wherein document, then all documents are read from server
Corresponding version information (referring to Fig. 4):
Version | Time | Size |
1 | 2017/6/28 9:40 | 10M |
2 | 2017/6/28 9:45 | 12M |
Assuming that user selects version 1, then server finds out the file 1 that the document of the version is included;2;3.
Document identifier | Documentation release number | Include file | Document creation time | Document memory space value |
1 | 1 | 1;2;3 | 2017/6/28 9:40 | 10M |
After it have selected the required document recovered, the text that the document is included is found from business information storage area
Part:
File identifier | Filename | File cryptographic Hash | Store path |
1 | slide1.xml | 65DED5353C5EE48D0B7D48C591B8F430 | file://…….xml |
2 | slide2.xml | 912EC803B2CE49E4A541068D495AB570 | file://…….xml |
3 | image1.png | 6A204BD89F3C8348AFD5C77C717A097A | file://…….png |
Then deposited from file and download these files in storage area one by one, after the subfile that download obtains is carried out into packing compression
The document that client obtains version 1 is back to, so as to complete resuming operation for the document of required version.
Referring to Fig. 5, for the Document retrieval system in 3rd embodiment, the system includes the data hair being connected with each other
Send module 10 and Document retrieval module 20;
The data transmission blocks 10 are specifically used for:
For the event changed in response to detecting a document, documentation release corresponding to the amended document is believed
The subfile that breath and the amended document include is sent to server, is used wherein the documentation release information includes one
In the document identifier of identification document;
The Document retrieval module 20 is specifically used for:
For the event of the Document retrieval signal in response to receiving a carrying destination document identifier, according to the target
Document identifier finds corresponding destination document, and the subfile that the destination document includes is downloaded to obtain required version
This document.
The system also includes a document decompression module 30, and the document decompression module 30 is specifically used for:
The document is decompressed to obtain multiple subfiles.Wherein, it is described to detect what a document was changed
Step includes:Detect that at least one subfile in the document is changed.
The system also includes a Hash judge module 40, and the Hash judge module 40 connects with data transmission blocks 10
Connect, the Hash judge module 40 is specifically used for:
When determining in the presence of the subfile uploaded is still needed to, file corresponding to the subfile is calculated and breathes out
Uncommon value;
When determining in the server in the absence of the file cryptographic Hash identical file with the subfile, then
The subfile is sent to the server.
The system also includes an information logging modle 50, and described information logging modle 50 connects with data transmission blocks 10
Connect, be specifically used for:
It is file index information corresponding to each subfile record after the completion of determining the subfile and uploading,
Wherein described file index information includes at least one of:The file identifier of uniqueness, filename, file store path,
The file cryptographic Hash.
The Hash judge module 40 also particularly useful for:
When determining that the file cryptographic Hash changes corresponding to wherein one subfile, then generate one with it is described
The subfile of filename identical first of subfile, first subfile are corresponding with the first file identifier and the first file
Store path.
The Hash judge module 40 also particularly useful for:
When the file cryptographic Hash for determining at least one subfile in the document changes, then will repair
The document after changing is preserved to obtain the document of document name identical first;
Record the document identifier, the documentation release number, the document creation time corresponding to first document
And the document memory space value and stored.
Referring to Fig. 6, for the Document retrieval device in fourth embodiment of the invention, including processor 100 and service
Device 200, is client corresponding to the processor 100 in a particular application, namely user enters the processing end of edlin to document.
The server 200 is used for the business information of store document and the subfile that storage is all, including the first storage area 201 stores
Area (business information storage area) and the second storage area 202 (file storage area).The processor 100 and the server 200
In the storage area of the first storage area 201 (business information storage area) and the second storage area 202 (file storage area) between exist
The transmission of information.
The present invention also proposes a kind of readable storage medium storing program for executing, is stored thereon with computer program, wherein, the program is by processor
Document recovery method as described above is realized during execution.
The present invention also proposes a kind of terminal, including memory, processor and storage are on a memory and can be in processor
The computer program of upper operation, wherein, document recovery method as described above is realized during the computing device described program.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is
The hardware of correlation is instructed to complete by program.Described program can be stored in a computer read/write memory medium.
The program upon execution, including the step described in the above method.Described storage medium, including:ROM/RAM, magnetic disc, CD
Deng.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of document recovery method, it is characterised in that methods described comprises the following steps:
The event changed in response to detecting a document, by documentation release information corresponding to the amended document and repair
The subfile that the document after changing includes is sent to server, is used to identify text wherein the documentation release information includes one
The document identifier of shelves;
In response to the event for the Document retrieval signal for receiving a carrying destination document identifier, identified according to the destination document
Symbol finds corresponding destination document, the subfile that the destination document includes is downloaded to obtain described in required version
Document.
2. document recovery method according to claim 1, it is characterised in that described in response to detecting that a document is changed
Event, the subfile that documentation release information corresponding to the amended document and the amended document are included is equal
Before the step of being sent to server, methods described also includes:
The document is decompressed to obtain multiple subfiles;
It is described to detect that a step of document is changed includes:
Detect that at least one subfile in the document is changed.
3. document recovery method according to claim 2, it is characterised in that each subfile corresponds to a file respectively
Cryptographic Hash, the step of subfile that the amended document is included is sent to server, include:
When determining in the presence of the subfile uploaded is still needed to, file Hash corresponding to the subfile is calculated
Value;
When determining in the server in the absence of the file cryptographic Hash identical file with the subfile, then by institute
Subfile is stated to send to the server.
4. document recovery method according to claim 3, it is characterised in that it is described by the subfile to the service
After the step of device is sent, methods described also includes:
It is file index information corresponding to each subfile record after the completion of determining the subfile and uploading, wherein
The file index information includes at least one of:It is the file identifier of uniqueness, filename, file store path, described
File cryptographic Hash.
5. document recovery method according to claim 4, it is characterised in that methods described also includes:
When determining that the file cryptographic Hash changes corresponding to wherein one subfile, then one and the Ziwen are generated
The subfile of filename identical first of part, first subfile are corresponding with the first file identifier and the storage of the first file
Path.
6. document recovery method according to claim 4, it is characterised in that the document also includes corresponding documentation release
Number, document creation time and document memory space value, methods described also include:
When the file cryptographic Hash for determining at least one subfile in the document changes, then after changing
The document preserved to obtain the document of document name identical first;
Record the document identifier corresponding to first document, the documentation release number, the document creation time and
The document memory space value is simultaneously stored.
7. a kind of Document retrieval system, it is characterised in that the system includes:
Data transmission blocks, for the event changed in response to detecting a document, by corresponding to the amended document
The subfile that documentation release information and the amended document include is sent to server, wherein the documentation release is believed
Breath includes a document identifier for being used to identify document;
Document retrieval module, for the event of the Document retrieval signal in response to receiving a carrying destination document identifier, root
Find corresponding destination document according to the destination document identifier, the subfile that the destination document is included download with
The document of version needed for obtaining.
8. Document retrieval system according to claim 7, it is characterised in that the system also includes a document solution pressing mold
Block;
The document decompression units, for the document to be decompressed to obtain multiple subfiles.
9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, wherein, realized when the program is executed by processor as weighed
Profit requires the document recovery method described in 1 to 6 any one.
10. a kind of terminal, including memory, processor and storage are on a memory and the computer that can run on a processor
Program, wherein, the Document retrieval side as described in claim 1 to 6 any one is realized during the computing device described program
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710778678.6A CN107741889A (en) | 2017-09-01 | 2017-09-01 | Document recovery method, system, readable storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710778678.6A CN107741889A (en) | 2017-09-01 | 2017-09-01 | Document recovery method, system, readable storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107741889A true CN107741889A (en) | 2018-02-27 |
Family
ID=61235069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710778678.6A Withdrawn CN107741889A (en) | 2017-09-01 | 2017-09-01 | Document recovery method, system, readable storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107741889A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108959662A (en) * | 2018-08-31 | 2018-12-07 | 百度在线网络技术(北京)有限公司 | content updating method and device |
CN110069760A (en) * | 2019-03-15 | 2019-07-30 | 天津字节跳动科技有限公司 | A kind of document problem feedback method, device, medium and electronic equipment |
CN110807000A (en) * | 2019-10-25 | 2020-02-18 | 北京达佳互联信息技术有限公司 | File repair method and device, electronic equipment and storage medium |
CN111143316A (en) * | 2019-12-27 | 2020-05-12 | 重庆建筑工程职业学院 | Version management system and method for BIM forward design |
CN111488556A (en) * | 2020-04-09 | 2020-08-04 | 深信服科技股份有限公司 | Nested document extraction method and device, electronic equipment and storage medium |
CN112016284A (en) * | 2020-08-27 | 2020-12-01 | 北京字节跳动网络技术有限公司 | Processing method and equipment of electronic form |
CN113326511A (en) * | 2021-06-25 | 2021-08-31 | 深信服科技股份有限公司 | File repair method, system, device and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103714123A (en) * | 2013-12-06 | 2014-04-09 | 西安工程大学 | Methods for deleting duplicated data and controlling reassembly versions of cloud storage segmented objects of enterprise |
CN104281504A (en) * | 2014-10-30 | 2015-01-14 | 广东欧珀移动通信有限公司 | MD5-code-based method and system applied to backup and reduction of application program data |
CN105718569A (en) * | 2016-01-20 | 2016-06-29 | 广州视睿电子科技有限公司 | Method, device and system for uploading compound document |
CN106341485A (en) * | 2016-09-27 | 2017-01-18 | 珠海市魅族科技有限公司 | Cloud storage method and device |
CN106897260A (en) * | 2017-03-21 | 2017-06-27 | 广州视源电子科技股份有限公司 | System and method for restoring historical version of compound document, storage medium and processor |
-
2017
- 2017-09-01 CN CN201710778678.6A patent/CN107741889A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103714123A (en) * | 2013-12-06 | 2014-04-09 | 西安工程大学 | Methods for deleting duplicated data and controlling reassembly versions of cloud storage segmented objects of enterprise |
CN104281504A (en) * | 2014-10-30 | 2015-01-14 | 广东欧珀移动通信有限公司 | MD5-code-based method and system applied to backup and reduction of application program data |
CN105718569A (en) * | 2016-01-20 | 2016-06-29 | 广州视睿电子科技有限公司 | Method, device and system for uploading compound document |
CN106341485A (en) * | 2016-09-27 | 2017-01-18 | 珠海市魅族科技有限公司 | Cloud storage method and device |
CN106897260A (en) * | 2017-03-21 | 2017-06-27 | 广州视源电子科技股份有限公司 | System and method for restoring historical version of compound document, storage medium and processor |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108959662A (en) * | 2018-08-31 | 2018-12-07 | 百度在线网络技术(北京)有限公司 | content updating method and device |
CN108959662B (en) * | 2018-08-31 | 2022-09-27 | 百度在线网络技术(北京)有限公司 | Content updating method and device |
CN110069760A (en) * | 2019-03-15 | 2019-07-30 | 天津字节跳动科技有限公司 | A kind of document problem feedback method, device, medium and electronic equipment |
CN110807000A (en) * | 2019-10-25 | 2020-02-18 | 北京达佳互联信息技术有限公司 | File repair method and device, electronic equipment and storage medium |
CN110807000B (en) * | 2019-10-25 | 2022-06-10 | 北京达佳互联信息技术有限公司 | File repair method and device, electronic equipment and storage medium |
CN111143316A (en) * | 2019-12-27 | 2020-05-12 | 重庆建筑工程职业学院 | Version management system and method for BIM forward design |
CN111488556A (en) * | 2020-04-09 | 2020-08-04 | 深信服科技股份有限公司 | Nested document extraction method and device, electronic equipment and storage medium |
CN112016284A (en) * | 2020-08-27 | 2020-12-01 | 北京字节跳动网络技术有限公司 | Processing method and equipment of electronic form |
WO2022042322A1 (en) * | 2020-08-27 | 2022-03-03 | 北京字节跳动网络技术有限公司 | Spreadsheet processing method and device |
CN112016284B (en) * | 2020-08-27 | 2023-08-01 | 北京字节跳动网络技术有限公司 | Electronic form processing method and device |
CN113326511A (en) * | 2021-06-25 | 2021-08-31 | 深信服科技股份有限公司 | File repair method, system, device and medium |
CN113326511B (en) * | 2021-06-25 | 2024-04-09 | 深信服科技股份有限公司 | File repair method, system, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107741889A (en) | Document recovery method, system, readable storage medium and terminal | |
KR100466143B1 (en) | File management method, contents recording apparatus, contents reproducing apparatus and contents recording medium | |
US9645787B1 (en) | Tag-based electronic media playlist processing | |
US9280544B2 (en) | Methods, systems, and computer program products for automatically associating data with a resource as metadata based on a characteristic of the resource | |
KR101279763B1 (en) | Method for synchronizing data and data synchronizing system | |
CN100520773C (en) | System and method for encapsulation of representative sample of media object | |
KR101143673B1 (en) | Method and device for handling metadata | |
CN106559427B (en) | Data storage and data transmission system | |
US9922041B2 (en) | Storing data files in a file system | |
CN101128880A (en) | Retrieving content items for a playlist based on universal content ID | |
CN101589372A (en) | Encoding and decoding apparatus, method, and program, and recording medium | |
CN106095871A (en) | A kind of method and device setting up data base directory structure | |
CN110109866A (en) | A kind of management method and equipment of file system directories | |
US20080222519A1 (en) | Remote intelligent content authoring and conversion system | |
JP4233564B2 (en) | Data processing apparatus, data processing program and recording medium | |
EP3042316B1 (en) | Music identification | |
CN103329110B (en) | Document processing device, document processing and file service management householder method | |
CN101652775A (en) | System and method for mapping logical and physical assets in a user interface | |
CN100357943C (en) | A method for inspecting garbage files in cluster file system | |
JP2016514393A (en) | Serialization for differential encoding | |
CN104573132A (en) | Method and device for finding songs | |
CN104572730A (en) | Method and device for importing and exporting digital resources | |
CN101071428B (en) | Methods, apparatuses, systems, and computer program products for generating a file structure to access multimedia files | |
CN111211966A (en) | Method and system for storing transmission files in chat tool | |
JP3729776B2 (en) | File management method and content recording / playback apparatus |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180227 |
|
WW01 | Invention patent application withdrawn after publication |