CN103136323B - The file set membership of setting up based on saving as operation show method and system - Google Patents
The file set membership of setting up based on saving as operation show method and system Download PDFInfo
- Publication number
- CN103136323B CN103136323B CN201210462224.5A CN201210462224A CN103136323B CN 103136323 B CN103136323 B CN 103136323B CN 201210462224 A CN201210462224 A CN 201210462224A CN 103136323 B CN103136323 B CN 103136323B
- Authority
- CN
- China
- Prior art keywords
- file
- condition code
- father
- subfile
- father file
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a kind of method that shows of the file set membership of setting up based on saving as operation, comprise the following steps: (1) forms the condition code of father file in the forming process of father file, the condition code of father file deposited in the father file of formation and can be checked by user; (2), when opened father file being saved as after the operation of subfile, the condition code of father file deposited in the subfile of formation in the forming process of subfile and can be checked by user; (3) in the forming process of subfile, form the condition code of subfile, the condition code of subfile deposited in the subfile of formation and can be checked by user. The present invention can effectively and simply show the file set membership of setting up based on saving as, and has greatly reduced the operation of user on management document.
Description
[technical field]
The present invention relates to computer communication field, relate in particular to the file father and son who sets up based on saving as operationRelation show method and system.
[background technology]
In routine duties, the different editions of a file increases suffix often after file nameIdentify their relation, for example: " the high-new project application book _ first draft .doc of Guangdong Province ", " high-new of Guangdong ProvinceOrder return _ bis-original text .doc ".
The defect of this mode is: a, these suffix are easily because distorting the true relation of losing between them;B, under individual cases, appear at two different two parts of files of the same name preserving positions, also cannot be directly by literary compositionSequencing between part name identifies.
Or, need to adopt special file management system, in database to each independently file set upA branch, extract after FileVersion editor in this branch preserves at every turn, can only add this branch toEnd, safeguards the relation between multiple FileVersions with this.
This mode is a kind of more rigorous way, but in operation, limits a lot of. Need on the one hand portionThe system of a more complicated of administration; Need on the other hand the system requirements of following that operator is strict to operate,Form very large conflicting with personal habits. Thus, this mode is more difficult in relatively loose tissuePopularization is opened.
For example, come from the software systems of the file (, word file, EXCEL file etc.) of current MicrosoftSee, each file has the condition code (MD5 cryptographic Hash or SHA1 cryptographic Hash) of oneself, the condition code of fileCan check that attribute comes in to check by the thumbnail icon of right click file; But this file eigenvalue is with literary compositionThe content of part is the meter as characteristic of correspondence code calculation (MD5 cryptographic Hash algorithm or SHA1 cryptographic Hash algorithm)Calculating parameter calculates; But the duplicate of the document of setting up due to file and by this file copy has phaseSame content, the content of file can not go out file by unique identification, therefore, the spy who is drawn by said methodLevy code and can not go out file by unique identification equally.
In addition, in this application, unique feature that can identify file is called to the unique attribute of file.
In addition, " the file father and son pass of setting up based on saving as operation in present specification under this statementSystem ", suppose that file B saves as and obtains on the basis of file A, between file A and file BRelation be based on save as operation and set up file set membership, file A is father file, file B isSubfile.
[summary of the invention]
What the invention provides a kind of file set membership of setting up based on saving as operation shows method, its solutionHaving determined user can not be simply, the problem of management document effectively.
Above-mentioned technical problem solves by the following technical programs:
The file set membership of setting up based on saving as operation show a method, it is characterized in that bagDraw together following steps:
(1) in the forming process of father file, extract the unique attribute of father file, by condition code algorithm and withThe unique attribute of father file draws the condition code of father file as calculating parameter, described condition code algorithm is with differenceWhen calculating, calculating parameter can draw different results; The condition code of father file is deposited in to the father of formationIn file, also can be checked by user;
(2) when opened father file being saved as after the operation of subfile, in the formation of subfileIn journey, extract the condition code of described father file, the condition code of described father file is deposited in the subfile of formationAnd can be checked by user; Meanwhile, in the forming process of subfile, extract the determinant attribute of subfileUnique attribute, by described condition code algorithm and draw Ziwen using the unique attribute of subfile as calculating parameterThe condition code of part, deposits in the condition code of subfile in the subfile of formation and can be checked by user.
From such scheme, by this programme, user needs only and from father file, saves as simply subfile,Just can in subfile, just can check the condition code of father file and come really in conjunction with the condition code of checking father fileMake two files with set membership, show not identical text and do not need user oneself to formulate ruleSet membership between part, for example, by title and the strict storing documents of file are set by certain ruleTo show the set membership between different files, therefore, the present invention has greatly reduced user on management documentOperation. The condition code drawing due to the unique attribute based on file is also corresponding one by one for file, condition code can not repeat in different files, and therefore, the present invention shows effectively based on saving asThe file set membership of setting up.
Further scheme is that described unique attribute comprises the title of store path and the file of file. BecauseUnder the management system of present computer operations system, under same store path, do not have two titlesIdentical file of the same race, therefore, uses store path and the title of file, just can go out file by unique identification.
Further scheme is that described unique attribute also comprises the creation-time of file.
Further scheme is that described condition code algorithm is MD5 cryptographic Hash algorithm or SHA1 cryptographic Hash algorithm;
Further scheme is that, in described father file, the condition code of described father file is deposited in described father's literary compositionIn the properties dialog of part.
Further scheme is, in described subfile, the condition code of described father file and described subfileCondition code is deposited in the properties dialog of subfile.
In application, also provide the side of showing that realizes the file set membership of setting up based on saving as operationMethod show system, it comprises:
Father file condition code generation module, it is for extracting the unique of father file in the forming process of father fileAttribute, by condition code algorithm and draw the feature of father file as calculating parameter using the unique attribute of father fileCode, described condition code algorithm can draw different results while calculating with different calculating parameters; By father fileCondition code deposit in the father file of formation and can be checked by user;
Relating module, it is for when opened father file is saved as after the operation of subfile, at sonIn the forming process of file, extract the condition code of described father file, the condition code of described father file is deposited in to shapeIn the subfile becoming, also can be checked by user;
Subfile condition code generation module, it is for extracting the key of subfile in the forming process of subfileAttribute unique attribute, carries out as calculating parameter by described condition code algorithm and using the unique attribute of subfileCalculate the condition code of subfile, the condition code of subfile deposited in the subfile of formation and can be usedFamily is checked.
Further scheme is, described unique attribute comprises the title of store path and the file of file, or,Comprise store path, the title of file and the creation-time of file of file. Because in present computer operationsUnder the management system of system, under same store path, do not have two files of the same race that title is identical,Therefore, use store path and the title of file, just can go out file by unique identification.
Further scheme is that described unique attribute comprises the title of store path and the file of file; Or,Described unique attribute comprises store path, the title of file and the creation-time of file of file.
Further scheme is that described condition code algorithm is MD5 cryptographic Hash algorithm or SHA1 cryptographic Hash algorithm;
Further scheme is that, in described father file, the condition code of described father file is deposited in described father's literary compositionIn the properties dialog of part.
Further scheme is, in described subfile, the condition code of described father file and described subfileCondition code is deposited in the properties dialog of subfile.
[detailed description of the invention]
The file set membership of setting up based on saving as operation show a method, comprise the following steps:
Step 1, in the forming process of father file, extract the unique attribute of father file, by condition code algorithm alsoDraw the condition code of father file as calculating parameter using the unique attribute of father file, described condition code algorithm is not withWhile calculating with calculating parameter, can draw different results; The condition code of father file is deposited in to formationIn father file, also can be checked by user;
Step 2, when opened father file being saved as after the operation of subfile, in the formation of subfileIn process, extract the condition code of described father file, the condition code of described father file is deposited in to the subfile of formationIn and can be checked by user;
Step 3, in the forming process of subfile, extract the determinant attribute unique attribute of subfile, by describedCondition code algorithm also calculates the condition code of subfile as calculating parameter using the unique attribute of subfile,The condition code of subfile deposited in the subfile of formation and can be checked by user.
Wherein, described unique attribute is made up of the store path of file and the title of file; Or, described uniqueAttribute is made up of store path, the title of file and the creation-time of file of file.
Described condition code algorithm can be MD5 cryptographic Hash algorithm or SHA1 cryptographic Hash algorithm;
In described father file, the condition code of described father file is deposited in the properties dialog of described father file.
In described subfile, the condition code of described father file and the condition code of described subfile are deposited in ZiwenIn the properties dialog of part; In order to clearly illustrate that the pass of two condition codes in the properties dialog of subfileSystem, can adopt following method for expressing: two condition codes condition code with father file in properties dialog existsBefore, the posterior form of the condition code of subfile arranges; Certainly, also can be in properties dialog with wordMode indicates.
In addition, the present embodiment also provides and realizes above-mentioned show method a kind of and set up based on saving as operationFile set membership show system, comprising:
Father file condition code generation module, it is for extracting the unique of father file in the forming process of father fileAttribute, calculates father file by condition code algorithm and using the unique attribute of father file as calculating parameterCondition code, described condition code algorithm can draw different results while calculating with different calculating parameters; WillThe condition code of father file is deposited in the father file of formation and can be checked by user;
Relating module, it is for when opened father file is saved as after the operation of subfile, at sonIn the forming process of file, extract the condition code of described father file, the condition code of described father file is deposited in to shapeIn the subfile becoming, also can be checked by user;
Subfile condition code generation module, it is for extracting the key of subfile in the forming process of subfileAttribute unique attribute, by described condition code algorithm and draw as calculating parameter using the unique attribute of subfileThe condition code of subfile, deposits in the condition code of subfile in the subfile of formation and can be undertaken by userCheck.
Wherein, described unique attribute is made up of the store path of file and the title of file; Or, described uniqueAttribute is made up of store path, the title of file and the creation-time of file of file.
In described father file, the condition code of described father file is deposited in the properties dialog of described father file.
In described subfile, the condition code of described father file and the condition code of described subfile are deposited in ZiwenIn the properties dialog of part; In order to clearly illustrate that the pass of two condition codes in the properties dialog of subfileSystem, can adopt following method for expressing: two condition codes condition code with father file in properties dialog existsBefore, the posterior form of the condition code of subfile arranges; Certainly, also can be in properties dialog with wordMode indicates.
The present invention is not limited to above-described embodiment, based on letter above-described embodiment, that do not make creative workSingle replacement, should belong to the scope that the present invention discloses.
Claims (10)
1. the file set membership of setting up based on saving as operation show a method, it is characterized in that,Comprise the following steps:
Step 1, in the forming process of father file, extract the unique attribute of father file, by condition code algorithm alsoDraw the condition code of father file as calculating parameter using the unique attribute of father file, described condition code algorithm is not withWhile calculating with calculating parameter, can draw different results; The condition code of father file is deposited in to the father of formationIn file, also can be checked by user;
Step 2, when opened father file being saved as after the operation of subfile, in the formation of subfileIn process, extract the condition code of described father file, the condition code of described father file is deposited in to the subfile of formationIn and can be checked by user;
Step 3, in the forming process of subfile, extract the unique attribute of subfile, calculate by described condition codeMethod also draws the condition code of subfile as calculating parameter using the unique attribute of subfile, by the feature of subfileCode is deposited in the subfile of formation and can be checked by user.
2. the method that shows according to claim 1, is characterized in that, described unique attribute comprises fileStore path and the title of file.
3. the method that shows according to claim 2, is characterized in that, described unique attribute also comprises literary compositionThe creation-time of part.
4. according to the method that shows described in claim 1 or 2 or 3, it is characterized in that, described condition code is calculatedMethod is MD5 cryptographic Hash algorithm or SHA1 cryptographic Hash algorithm.
5. according to the method that shows described in claim 1 or 2 or 3, it is characterized in that, at described father fileIn, the condition code of described father file is deposited in the properties dialog of described father file.
6. according to the method that shows described in claim 1 or 2 or 3, it is characterized in that, in described subfileIn, the condition code of described father file and the condition code of described subfile are deposited in the properties dialog of subfile.
7. the file set membership of setting up based on saving as operation show a system, it is characterized in that,Comprise:
Father file condition code generation module, it is for extracting the unique of father file in the forming process of father fileAttribute, by condition code algorithm and draw the feature of father file as calculating parameter using the unique attribute of father fileCode, described condition code algorithm can draw different results while calculating with different calculating parameters; By father fileCondition code deposit in the father file of formation and can be checked by user;
Relating module, it is for when opened father file is saved as after the operation of subfile, at sonIn the forming process of file, extract the condition code of described father file, the condition code of described father file is deposited in to shapeIn the subfile becoming, also can be checked by user;
Subfile condition code generation module, it is for extracting the unique of subfile in the forming process of subfileAttribute, draws subfile by described condition code algorithm and using the unique attribute of subfile as calculating parameterCondition code, deposits in the condition code of subfile in the subfile of formation and can be checked by user.
8. the system that shows according to claim 7, is characterized in that, described unique attribute comprises fileStore path and the title of file.
9. the system that shows according to claim 8, is characterized in that, described unique attribute also comprises literary compositionThe creation-time of part.
10. according to the system that shows described in claim 7 or 8 or 9, it is characterized in that, at described father's literary compositionIn part, the condition code of described father file is deposited in the properties dialog of described father file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210462224.5A CN103136323B (en) | 2012-11-15 | 2012-11-15 | The file set membership of setting up based on saving as operation show method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210462224.5A CN103136323B (en) | 2012-11-15 | 2012-11-15 | The file set membership of setting up based on saving as operation show method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103136323A CN103136323A (en) | 2013-06-05 |
CN103136323B true CN103136323B (en) | 2016-05-11 |
Family
ID=48496152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210462224.5A Active CN103136323B (en) | 2012-11-15 | 2012-11-15 | The file set membership of setting up based on saving as operation show method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103136323B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495880A (en) * | 2011-12-05 | 2012-06-13 | 北京新媒传信科技有限公司 | Method and device for synchronizing file |
CN102708060A (en) * | 2012-05-14 | 2012-10-03 | 华为技术有限公司 | Method, device and system for accessing image files |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4829256B2 (en) * | 2006-01-24 | 2011-12-07 | 富士通株式会社 | Information processing program and information processing apparatus |
-
2012
- 2012-11-15 CN CN201210462224.5A patent/CN103136323B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495880A (en) * | 2011-12-05 | 2012-06-13 | 北京新媒传信科技有限公司 | Method and device for synchronizing file |
CN102708060A (en) * | 2012-05-14 | 2012-10-03 | 华为技术有限公司 | Method, device and system for accessing image files |
Non-Patent Citations (1)
Title |
---|
对综合档案馆电子文件命名的几点认识;陈燕军;《黑龙江档案》;20110401;第92页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103136323A (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5502745B2 (en) | Merging documents | |
US8615768B2 (en) | Dependency-ordered resource synchronization across multiple environments using change list created based on dependency-ordered graphs of the multiple environments | |
KR20200093569A (en) | Resolving violations in client synchronization | |
CN103235811B (en) | A kind of date storage method and device | |
CN102682098A (en) | Method and device for detecting web page content changes | |
CN102307189A (en) | Malicious code detection method and network equipment | |
US20150039623A1 (en) | System and method for integrating data | |
CN102200968A (en) | Method and device for removing duplications of EXCEL form data | |
JP2022553059A (en) | How to use blockchain | |
CN109522332A (en) | Customer profile data merging method, device, equipment and readable storage medium storing program for executing | |
CN102841784A (en) | Method for dynamically importing Excel data into database | |
CN101833579A (en) | Method and system for automatically detecting academic misconduct literature | |
CN102521713B (en) | Data processing equipment and data processing method | |
US9542335B1 (en) | Methods and systems for rule-based flexible cache invalidation | |
Wang et al. | Ess: An efficient storage scheme for improving the scalability of bitcoin network | |
CN104462462A (en) | Service change frequency based data warehouse modeling method and device | |
CN103136323B (en) | The file set membership of setting up based on saving as operation show method and system | |
CN105653567A (en) | Method for quickly looking for feature character strings in text sequential data | |
Reddy et al. | Evolution of Rules in Reddit Communities | |
CN102609664B (en) | Based on the identification of process fingerprint intelligent and fuzzy acquisition system and method thereof that can carry out body | |
CN103136166A (en) | Method and device for font determination | |
CN110069516B (en) | Service content intelligent management technology implementation method based on standard literature | |
US9135300B1 (en) | Efficient sampling with replacement | |
CN113656466A (en) | Policy data query method, device, equipment and storage medium | |
Montanari et al. | Near duplicate document detection for large information flows |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province Patentee after: Zhuhai Kingsoft Office Software Co., Ltd. Patentee after: Beijing Kingsoft office software Limited by Share Ltd Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province Patentee before: Zhuhai Kingsoft Office Software Co., Ltd. Patentee before: Beijing Kingsoft WPS Office Co., Ltd. |