CN106897260A - Reduce system and method, storage medium and the processor of compound document old version - Google Patents

Reduce system and method, storage medium and the processor of compound document old version Download PDF

Info

Publication number
CN106897260A
CN106897260A CN201710170927.3A CN201710170927A CN106897260A CN 106897260 A CN106897260 A CN 106897260A CN 201710170927 A CN201710170927 A CN 201710170927A CN 106897260 A CN106897260 A CN 106897260A
Authority
CN
China
Prior art keywords
file
equipment
version
compound document
version number
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
CN201710170927.3A
Other languages
Chinese (zh)
Other versions
CN106897260B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710170927.3A priority Critical patent/CN106897260B/en
Publication of CN106897260A publication Critical patent/CN106897260A/en
Application granted granted Critical
Publication of CN106897260B publication Critical patent/CN106897260B/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/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/316Indexing structures
    • G06F16/325Hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/316Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A kind of system for reducing compound document old version, including the first equipment and the second equipment, the first equipment and the second equipment pass through network connection;Version number's generation residual quantity listed files of the current version number of the compound document that the second equipment sends according to the first equipment and the old version of needs reduction, first equipment is according to the residual quantity listed files for receiving, file is downloaded from the second equipment, and/or file is deleted from the first equipment, and the edition configuration file of the old version for reducing as needed merges All Files.The embodiment of the present invention also provides a kind of method for reducing compound document old version, storage medium and processor.The technical scheme of the old version of the reduction compound document that the embodiment of the present invention is proposed reduces the quantity for downloading file to greatest extent by calculating two index file list differences of composite file, effectively reduces bandwidth occupancy, improves preservation speed.

Description

Reduce system and method, storage medium and the processor of compound document old version
Technical field
The invention belongs to document processing technology field, and in particular to a kind of system of reduction compound document old version and side Method, storage medium and processor.
Background technology
Compound document not only include text, and including figure, spread-sheet data, sound, video image and other Non-textual information.Compound document is a compressed package being combined by multiple files, and comprising some files, these files can be divided into Content file and resource file.
The old version reduction technique of compound document, for example, download the whole compound document of old version, replaces current Version;The whole compound document of old version can also be cut into some blocks of files, piecemeal is downloaded, All Files after download Merged block is whole compound document, replaces current version.Because these reduction techniques are required for the whole compound of old version Profile download, therefore the burden of network transmission is larger.
The content of the invention
Larger technical problem is born in order to solve above-mentioned network transmission, it is compound that the embodiment of the present invention proposes a kind of reduction The system and method for revision history version, storage medium and processor.
A kind of system for reducing compound document old version, the system includes the first equipment and the second equipment, the first equipment Pass through network connection with the second equipment;
First equipment be used for it is newly-built or update compound document, and by it is newly-built or update compound document All Files and phase The file index list answered is sent to the second equipment, wherein includes edition configuration file in the All Files of compound document;
Second equipment is used to receive and preserve according to version the All Files and file of the compound document that the first equipment sends Index list, and the associatedly file index list of record compound document and version number;
First equipment is additionally operable to when needing the current version by compound document to revert to old version, by compound document The version number of current version number and the old version of needs reduction is sent to the second equipment;
Second equipment is additionally operable to the current version number of the compound document sent according to the first equipment and needs the history of reduction Version number's generation of version needs to download and delete the residual quantity listed files of file, and will need to download and delete the residual quantity of file Listed files returns to the first equipment;
First equipment is additionally operable to, according to the residual quantity listed files for receiving, the file for needing to download be downloaded from the second equipment To the first equipment, and/or the file for needing to delete is deleted from the first equipment;And after completing the download of file and/or deleting, The edition configuration file of the old version for reducing as needed merges All Files, and updates the compound document in the first equipment File index list.
Further, the current version number of the compound document that second equipment sends according to the first equipment is from database The file index list of the current version number of correspondence compound document is extracted, and the compound document needs sent according to the first equipment The version number of the old version of reduction extracts the file index of the version number of the old version of correspondence compound document from database List, the file index list of current version number is carried out with the file index list of the version number of the old version for needing reduction Contrast, generation needs to download and delete the residual quantity listed files of file.
Further, the version of the old version that the second equipment reduces the file index list of current version number with needs Number file index list contrast be according to the file index list of current version number and the old version for needing reduction The cryptographic Hash of the file index list of version number is contrasted.
Further, the second equipment receive the first equipment transmission the compound document included by All Files and text After part index list, All Files and edition configuration file included by the compound document is preserved in the version pair according to version In the file answered, and file index list and the version number of compound document are associatedly recorded in database, all texts Part also includes content file and/or resource file.
A kind of method for reducing compound document old version, the method includes generation step S41 and reduction step S42;
Wherein described generation step S41 includes:
Step S411:First equipment newly-built or when updating compound document version, by compound document that is newly-built or updating All Files and corresponding file index list are sent to the second equipment, and the wherein All Files of compound document is configured including version File;
Step S412:Second equipment according to version receive and preserve the first equipment send compound document All Files and File index list, and the associatedly file index list of record compound document and version number;
Wherein described reduction step S42 includes:
Step S421:When first equipment needs for the current version of compound document to revert to old version, by compound document Current version number and need the version number of old version of reduction to be sent to the second equipment;
Step S422:The current version number of the compound document that the second equipment sends according to the first equipment and going through for needs reduction Version number's generation of history version needs to download and delete the residual quantity listed files of file, and will need to download and delete the difference of file Amount listed files returns to the first equipment;
Step S423:According to the residual quantity listed files for receiving, downloaded from the second equipment needs what is downloaded to first equipment File is to the first equipment, and/or the file for needing to delete is deleted from the first equipment;
Step S424:First equipment complete file download and/or delete after, the old version for reducing as needed Edition configuration file merges the file index list of the compound document in All Files, and the first equipment of renewal.
Further, in the step S422, the compound document that second equipment sends according to the first equipment it is current Version number extracts the file index list of the current version number of correspondence compound document from database, and is sent out according to the first equipment The compound document for sending needs the version number of the old version of reduction that the old version of correspondence compound document is extracted from database The file index list of version number, by the file index list of current version number and the version number of the old version for needing reduction File index list is contrasted, and generation needs to download and delete the residual quantity listed files of file.
Further, in the step S422, the second equipment by the file index list of current version number with need reduction The file index list of version number of old version contrast be according to the file index list of current version number and needs The cryptographic Hash of the file index list of the version number of the old version of reduction is contrasted.
Further, in the step S412, the second equipment is wrapped in the compound document for receiving the transmission of the first equipment After the All Files for including and file index list, All Files and version included by the compound document are preserved according to version and is matched somebody with somebody File is put in the corresponding file of the version, and file index list and the version of compound document are associatedly recorded in database This number, the All Files also includes content file and/or resource file.
A kind of storage medium, is stored with the storage medium and performs the computer program of method as previously described.
A kind of processor, the processor operation performs the computer program of method as previously described.
The beneficial effect of the embodiment of the present invention:The technical side of the reduction compound document old version that the embodiment of the present invention is proposed Case reduces the quantity for downloading file, effectively to greatest extent by calculating two index file list differences of composite file Bandwidth occupancy is reduced, preservation speed is improved.
Brief description of the drawings
Fig. 1 is the structured flowchart of the system of the reduction compound document old version that the embodiment of the present invention is proposed;
Fig. 2 is a kind of structure composition of the corresponding file of compound document that the embodiment of the present invention is proposed;
Fig. 3 is another structure composition of the corresponding file of compound document that the embodiment of the present invention is proposed;
Fig. 4 is the flow chart of the method for the reduction compound document old version that the embodiment of the present invention is proposed.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with specific embodiment, and reference Accompanying drawing, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in accompanying drawing and following reality Apply example.
The system of the reduction compound document old version that the embodiment of the present invention is proposed, as shown in figure 1, the system includes client End 11 and server 12, wherein client 11 and server 12 pass through network connection.
All the elements file and resource file, file index list and version of the storage compound document current version of client 11 This configuration file, this document index list records all the elements file and resource file included by the compound document current version Filename (contain suffix) and to should compound document current version edition configuration file filename;To text should be combined The edition configuration file and included all the elements file and resource file of shelves current version are respectively positioned in identical file folder, its The document name of the entitled compound document of middle file, such as the file combine1 shown in Fig. 2;What compound document included Part or all of content file and resource file can also be placed in the different sub-folders of this document folder according to the difference of type, Described type is, for example, the types such as text, figure, spread-sheet data, sound, video image, or is simply divided into content text Part type and resource file type, such as the file combine2 shown in Fig. 3.Compound document version it is newly-built or update when, This document index list and edition configuration file can also be set up or be updated accordingly.Client 11 can be uploaded to server 12 All the elements file and resource file and file index list and version configuration text included by the compound document each version Part.
Server 12 is receiving all the elements file included by the compound document each version of the upload of client 11 After resource file and file index list and edition configuration file, preserve all included by the compound document each version Content file and resource file and edition configuration file in the corresponding file of each version, and in database associatedly Record file index list and the version number of compound document.
When client 11 needs to reduce the compound document of current version to old version, the current version of compound document is uploaded Number and need reduction old version version number;
It is compound that the current version number of the compound document that server 12 is uploaded according to client 11 extracts correspondence from database The file index list of the current version number of document, and the compound document uploaded according to client 11 needs the history version of reduction This version number extracts the file index list of the version number of the old version of correspondence compound document from database, by current version The file index list of this number is contrasted with the file index list of the version number of the old version for needing reduction, and generation needs The residual quantity listed files of file is downloaded and deleted, and the residual quantity listed files for needing to download and delete file is returned into client 11;
Generally, for the different editions of compound document, its edition configuration file also can be different, accordingly, it would be desirable to download File include needs reduction old version edition configuration file, it is necessary to delete file include the version of current version This configuration file.
Wherein server 12 is by the version number of the file index list of current version number and the old version for needing reduction It is version of the file index list according to current version number with the old version for needing reduction that file index list contrast Number the cryptographic Hash of file index list contrasted, generation needs to download and/or delete the residual quantity listed files of file.It is described The algorithm that cryptographic Hash is used can be MD5, sha-1, RIPEMD and Haval etc..
Client 11 according to the residual quantity listed files for receiving, from the history that reduction is needed with the compound document of server Being downloaded one by one in the corresponding file of version needs the file downloaded corresponding to the compound document current version in client 11 The file for needing to delete is deleted in file, and/or from client 11 in the corresponding file of compound document current version.
After client 11 completes the download of file and/or deletes, according to the version of the old version reduced the need for download Configuration file merges All Files, and updates the file index list of the compound document in client 11, so as to be needed The compound document of the old version of reduction.
The method of the reduction compound document old version that the embodiment of the present invention is proposed, as shown in figure 4, the method includes generation Step S41 and reduction step S42.
Wherein described generation step S41 includes:
Step S411:Client 11 compound document version it is newly-built or update when, by should version compound document institute Including all the elements file and resource file and file index list and edition configuration file upload onto the server 12;
Wherein all the elements file of the storage of client 11 compound document current version and resource file, file index list And edition configuration file, this document index list records all the elements file and resource included by the compound document current version The filename (contain suffix) of file and to should compound document current version edition configuration file filename;To that should answer The edition configuration file and included all the elements file and resource file for closing document current version are respectively positioned on identical file folder In, the wherein document name of the entitled compound document of file, such as the file combine1 shown in Fig. 2;Compound document Including part or all of content file and resource file can also according to the difference of type be placed on this document folder different Ziwens In part folder, described type is, for example, the types such as text, figure, spread-sheet data, sound, video image, or simple point It is content file type and resource file type, such as the file combine2 shown in Fig. 3.In the version updating of compound document When, this document index list and edition configuration file can also be updated accordingly;
Step S412:Server 12 receive the upload of client 11 to should be included by the compound document of version After all the elements file and resource file and file index list and edition configuration file, preserve included by the compound document All the elements file and resource file and edition configuration file are associated in the corresponding file of the version in database The file index list of ground record compound document and version number;
Wherein described reduction step S42 includes:
Step S421:When client 11 needs to reduce the compound document of current version to old version, compound document is uploaded Current version number and need reduction old version version number;
Step S422:The current version number of the compound document that server 12 is uploaded according to client 11 is extracted from database The file index list of the current version number of correspondence compound document, and reduction is needed according to the compound document that client 11 is uploaded Old version version number extracted from database correspondence compound document old version version number file index list, The file index list of current version number is contrasted with the file index list of the version number of the old version for needing reduction, Generation is needed to download and delete the residual quantity listed files of file, and the residual quantity listed files for downloading and deleting file will be needed to return To client 11;
Generally, for the different editions of compound document, its edition configuration file also can be different, accordingly, it would be desirable to download File include needs reduction old version edition configuration file, it is necessary to delete file include the version of current version This configuration file;
Step S423:Client 11 needs from server according to the residual quantity listed files for receiving with the compound document Being downloaded one by one in the corresponding file of old version of reduction needs the file downloaded current to the compound document in client 11 In the corresponding file of version, and/or needs are deleted in the corresponding file of compound document current version from client 11 The file of deletion;
Step S424:After client 11 completes the download of file and/or deletes, according to the history version reduced the need for download This edition configuration file merges All Files, updates the file index list of the compound document in client 11, so that To the compound document of the old version for needing reduction.
Wherein in step S422, the history version that server 12 reduces the file index list of current version number with needs It is according to the file index list of current version number and going through for needs reduction that the file index list of this version number contrast The cryptographic Hash of the file index list of the version number of history version is contrasted, and generation needs to download and/or delete the residual quantity of file Listed files.The algorithm that the cryptographic Hash is used can be MD5, sha-1, RIPEMD and Haval etc..
The embodiment of the present invention also proposed a kind of storage medium, is stored with the storage medium and performs the calculating of the above method Machine program.
The embodiment of the present invention also proposed a kind of processor, and the processor operation performs the computer journey of the above method Sequence.
It is illustrative to above-described embodiment below so that server 12 contains two versions of compound document as an example.
Assuming that compound document A preserves two versions in server 12, version number is respectively 1 and 2.Version 1 includes regarding Frequency file video1.mp4, image file image1.png and image2.png, and corresponding edition configuration file Config1.xml, wherein video file video1.mp4 and image file image1.png and image2.png are resource File;The version 1 of compound document A corresponds to the file combineA1 in server, i.e. stored in file combineA1 Have video file video1.mp4, image file image1.png and image2.png, edition configuration file config1.xml, Corresponding to the file index list of version 1.Version 2 include video file video1.mp4, image file image1.png and Image3.png, and corresponding edition configuration file config2.xml, wherein video file video1.mp4 and image text Part image1.png and image3.png are resource file;The version 2 of compound document A corresponds to the file in server Be stored with combineA2, i.e. file combineA2 video file video1.mp4, image file image1.png and Image3.png, edition configuration file config2.xml, the file index list corresponding to version 2.
The file index list of version 1 and version 2 is as follows respectively:
The file index list of version 1:
config1.xml
video1.mp4
image1.png
image2.png
The file index list of version 2:
config2.xml
video1.mp4
image1.png
image3.png
The current version of compound document A is version 2 in client 11, and the current version of compound document A corresponds to client File combineA in end 11, i.e. be stored with video file video1.mp4, image file in file combineA Image1.png and image3.png, edition configuration file config2.xml, the file index list corresponding to version 2.Client The file index list phase of file index list and the version 2 of compound document A in server 12 of compound document A in end 11 Together.
When the current version 2 of compound document A in client 11 needs to be reduced to version 1, server 12 is according to version 1 File index list corresponding with version 2, calculates residual quantity listed files:
Config1.xml (to be downloaded)
Image2.png (to be downloaded)
Image3.png (to be deleted)
Config2.xml (to be deleted)
Therefore client 11 needs the download version configuration file from the file combineA1 of server 12 Config1.xml and image file image2.png, and delete the image file in client 11 in file combineA Image3.png and edition configuration file config2.xml.After the completion of to be downloaded and deletion, according to the version of the version 1 downloaded Configuration file config1.xml merges the All Files in file combineA, updates the compound document A in client 11 File index list, you can be reduced to the compound document of version 1.
It will be understood by those skilled in the art that in flow charts represent or logic described otherwise above herein and/or Step, for example, being considered the order list of the executable instruction for realizing logic function, may be embodied in and appoint In what computer-readable medium, for instruction execution system, device or equipment (such as computer based system, including processor System or other can be from the system of instruction execution system, device or equipment instruction fetch and execute instruction) use, or combine this A little instruction execution system, device or equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can be with Comprising, storage, communication, propagate or transmission procedure performs system for instruction execution system, device or equipment or with reference to these instructions System, device or equipment and the device that uses.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more wirings Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can thereon print described program or other are suitable Medium, because optical scanner for example can be carried out by paper or other media, then enters edlin, interpretation or if necessary with it His suitable method is processed electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In implementation method, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art Any one of row technology or combinations thereof are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described Point is contained at least one embodiment of the invention or example.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
More than, embodiments of the present invention are illustrated.But, the present invention is not limited to above-mentioned implementation method.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements done etc., should be included in guarantor of the invention Within the scope of shield.

Claims (10)

1. it is a kind of reduce compound document old version system, it is characterised in that the system include the first equipment and the second equipment, First equipment and the second equipment pass through network connection;
First equipment be used for it is newly-built or update compound document, and by it is newly-built or update compound document All Files and file rope Draw list and be sent to the second equipment, wherein include edition configuration file in the All Files of compound document;
Second equipment is used to receive and preserve according to version the All Files and corresponding text of the compound document that the first equipment sends Part index list, and the associatedly file index list of record compound document and version number;
First equipment is additionally operable to when needing the current version by compound document to revert to old version, by the current of compound document The version number of the old version of version number and needs reduction is sent to the second equipment;
Second equipment is additionally operable to the current version number of the compound document sent according to the first equipment and needs the old version of reduction Version number generation need download and delete file residual quantity listed files, and will need download and delete file residual quantity file List returns to the first equipment;
First equipment is additionally operable to according to the residual quantity listed files that receives, and being downloaded from the second equipment needs the file downloaded to the One equipment, and/or the file for needing to delete is deleted from the first equipment;And after completing the download of file and/or deleting, according to The edition configuration file merging All Files of the old version of reduction is needed, and updates the text of the compound document in the first equipment Part index list.
2. system according to claim 1, it is characterised in that the compound text that second equipment sends according to the first equipment The current version number of shelves extracts the file index list of the correspondingly current version number of compound document from database, and according to the The compound document that one equipment sends needs the version number of the old version of reduction that going through for correspondence compound document is extracted from database The file index list of the version number of history version, by the file index list of current version number and the old version for needing reduction The file index list of version number is contrasted, and generation needs to download and delete the residual quantity listed files of file.
3. system according to claim 2, it is characterised in that the second equipment by the file index list of current version number with Need the file index list of the version number of the old version of reduction contrast is arranged according to the file index of current version number Table is contrasted with the cryptographic Hash of the file index list of the version number of the old version for needing reduction.
4. system according to any one of claim 1 to 3, it is characterised in that the second equipment is receiving the first equipment After All Files and file index list included by the compound document of transmission, preserved included by the compound document according to version All Files and edition configuration file in the corresponding file of the version, and compound text is associatedly recorded in database The file index list of shelves and version number, the All Files also include content file and/or resource file.
5. it is a kind of reduce compound document old version method, it is characterised in that the method include generation step S41 and recovery step Rapid S42;
Wherein described generation step S41 includes:
Step S411:First equipment newly-built or when updating compound document version, by all of compound document that is newly-built or updating File and corresponding file index list are sent to the second equipment, and the wherein All Files of compound document includes that version configures text Part;
Step S412:Second equipment receives and preserves the All Files and file of the compound document that the first equipment sends according to version Index list, and the associatedly file index list of record compound document and version number;
Wherein described reduction step S42 includes:
Step S421:When first equipment needs for the current version of compound document to revert to old version, by working as compound document The version number of the old version of preceding version number and needs reduction is sent to the second equipment;
Step S422:The current version number of the compound document that the second equipment sends according to the first equipment and the history version of needs reduction This version number's generation needs to download and delete the residual quantity listed files of file, and will need to download and delete the residual quantity text of file Part list returns to the first equipment;
Step S423:First equipment downloads the file for needing to download according to the residual quantity listed files for receiving from the second equipment To the first equipment, and/or the file for needing to delete is deleted from the first equipment;
Step S424:First equipment complete file download and/or delete after, the version of the old version for reducing as needed Configuration file merges the file index list of the compound document in All Files, and the first equipment of renewal.
6. method according to claim 5, it is characterised in that in the step S422, second equipment is according to first The current version number of the compound document that equipment sends extracts the file rope of the current version number of correspondence compound document from database Draw list, and the compound document sent according to the first equipment needs the version number of the old version of reduction to be extracted from database The file index list of the version number of the old version of correspondence compound document, by the file index list of current version number and needs The file index list of the version number of the old version of reduction is contrasted, and generation needs to download and delete the residual quantity file of file List.
7. method according to claim 6, it is characterised in that in the step S422, the second equipment is by current version number The file index list of file index list and the version number of the old version for needing reduction to carry out contrast be according to current version The file index list of this number is contrasted with the cryptographic Hash of the file index list of the version number of the old version for needing reduction.
8. the method according to any one of claim 5 to 7, it is characterised in that in the step S412, the second equipment exists After receiving All Files and the file index list included by the compound document of the first equipment transmission, being preserved according to version should All Files and edition configuration file included by compound document is closed in the corresponding file of the version in database The file index list of connection ground record compound document and version number, the All Files also include content file and/or resource text Part.
9. a kind of storage medium, it is characterised in that the execution that is stored with the storage medium is such as any one of claim 5 to 8 institute State the computer program of method.
10. a kind of processor, it is characterised in that the processor operation performs the method as any one of claim 5 to 8 Computer program.
CN201710170927.3A 2017-03-21 2017-03-21 System and method for restoring historical version of compound document, storage medium and processor Active CN106897260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710170927.3A CN106897260B (en) 2017-03-21 2017-03-21 System and method for restoring historical version of compound document, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710170927.3A CN106897260B (en) 2017-03-21 2017-03-21 System and method for restoring historical version of compound document, storage medium and processor

Publications (2)

Publication Number Publication Date
CN106897260A true CN106897260A (en) 2017-06-27
CN106897260B CN106897260B (en) 2020-04-07

Family

ID=59193054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710170927.3A Active CN106897260B (en) 2017-03-21 2017-03-21 System and method for restoring historical version of compound document, storage medium and processor

Country Status (1)

Country Link
CN (1) CN106897260B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741889A (en) * 2017-09-01 2018-02-27 广州视源电子科技股份有限公司 Document recovery method, system, readable storage medium storing program for executing and terminal
CN112256715A (en) * 2020-11-12 2021-01-22 微医云(杭州)控股有限公司 Index updating method and device, electronic equipment and storage medium
CN112528622A (en) * 2019-08-27 2021-03-19 珠海金山办公软件有限公司 Method and device for searching differences of versions of document and electronic equipment
CN112860632A (en) * 2021-01-22 2021-05-28 重庆六花网络科技有限公司 File processing method, terminal and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045631A (en) * 2015-07-30 2015-11-11 北京奇虎科技有限公司 Method and device for upgrading client-side applications
CN105718569A (en) * 2016-01-20 2016-06-29 广州视睿电子科技有限公司 Method, device and system for uploading compound document

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045631A (en) * 2015-07-30 2015-11-11 北京奇虎科技有限公司 Method and device for upgrading client-side applications
CN105718569A (en) * 2016-01-20 2016-06-29 广州视睿电子科技有限公司 Method, device and system for uploading compound document

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741889A (en) * 2017-09-01 2018-02-27 广州视源电子科技股份有限公司 Document recovery method, system, readable storage medium storing program for executing and terminal
CN112528622A (en) * 2019-08-27 2021-03-19 珠海金山办公软件有限公司 Method and device for searching differences of versions of document and electronic equipment
CN112256715A (en) * 2020-11-12 2021-01-22 微医云(杭州)控股有限公司 Index updating method and device, electronic equipment and storage medium
CN112256715B (en) * 2020-11-12 2024-04-19 微医云(杭州)控股有限公司 Index updating method and device, electronic equipment and storage medium
CN112860632A (en) * 2021-01-22 2021-05-28 重庆六花网络科技有限公司 File processing method, terminal and computer readable storage medium
CN112860632B (en) * 2021-01-22 2022-10-21 重庆六花网络科技有限公司 File processing method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN106897260B (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN106897260A (en) Reduce system and method, storage medium and the processor of compound document old version
US10089338B2 (en) Method and apparatus for object storage
CN103942058B (en) A kind of EMBEDDED AVIONICS method for upgrading software and system
CN106528086A (en) Method and system for upgrading Android software
US9619333B2 (en) Data synchronization of block-level backup
CN107682436A (en) A kind of method, apparatus and equipment of more new file
CN108647527B (en) File packing method, file packing device, file unpacking device and network equipment
CN105224361B (en) A kind of method and system upgraded to sqlite3 type embedded databases
KR100737043B1 (en) A file management method, a content playback method, a content recording/playback apparatus, a recording medium with a computer executable program and a recording medium with a computer executable content playback program
CN111008034B (en) Patch generation method and device
CN111522784B (en) Metadata synchronization method, device and equipment for unstructured data files
US11709810B1 (en) Delivery of digital information to a remote device
CN105516079A (en) Method for efficient download of data package, client device, and server
CN109309725A (en) Using downloading and update method, device, computer equipment and storage medium
CN114301602B (en) Video protection method and device based on block chain
US20150121548A1 (en) System and method for protected publication of sensitive documents
CN104182532B (en) Terminal file cleaning method and device and terminal
CN113742518A (en) Method, apparatus and computer program product for storing and providing video
US10176193B2 (en) Holding specific versions of a document
CN110532236A (en) Increment updating method, system and the medium of compressed file
US20090282388A1 (en) Optimizing the handling of source code requests between a software configuration management (scm) system and a software integrated development environment (ide) using projected ancillary data
CN102750287B (en) Include method and the download authentication server of index information
CN111309424A (en) Page restoration method and related equipment
CN102916993B (en) A kind of network hard disc data-updating method and device
US20150286808A1 (en) Marked image file security system and process

Legal Events

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