CN107451104A - A kind of file version information storage method and its special purpose device - Google Patents
A kind of file version information storage method and its special purpose device Download PDFInfo
- Publication number
- CN107451104A CN107451104A CN201710488366.1A CN201710488366A CN107451104A CN 107451104 A CN107451104 A CN 107451104A CN 201710488366 A CN201710488366 A CN 201710488366A CN 107451104 A CN107451104 A CN 107451104A
- Authority
- CN
- China
- Prior art keywords
- file
- version information
- file version
- storage method
- special purpose
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/197—Version control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1873—Versioning file systems, temporal file systems, e.g. file system supporting different historic versions of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of file version information storage method and its special purpose device, this method includes 1)The version information of All Files in file version information enquiry module automatic detection user filesselected folder;2)User supplements relevant information in form during other are arranged;3)After checking each fileinfo, the relevant information of All Files in the form is committed in database and preserved by file version information uploading module automatically;4)Complete after submitting, user checks the relevant release note of the All Files preserved in current database in file version information query interface.The file version information storage method and its special purpose device of the present invention, file version information is stored using database, the cost of artificial integration and maintenance is saved, and the historical record of file version information is preserved in database, facilitate user to inquire about file version information, be advantageous to the difference between comparison document different editions.
Description
Technical field
The invention belongs to file version information technical field of memory, and in particular to a kind of file version information storage method and
Its special purpose device.
Background technology
In face of substantial amounts of file, it is necessary to effectively be managed the version information of file, it is therefore desirable to file
Version information is effectively stored, and facilitates user to inquire about.
At present, traditional file edition management preserves file version information, it is necessary to which special messenger integrates and safeguarded, both using manual
Add human cost and consume time cost again.Moreover, the version information for inquiring about a certain file needs to take a long time, such as
Difference between what difference different editions is also a big problem.
The content of the invention
The purpose of the present invention be in view of the deficienciess of the prior art, provide a kind of file version information storage method, can
The version of automatic detection file, the file locally lacked is downloaded automatically, it is automatic to replace the inconsistent file of version.The present invention's is another
One purpose is to provide a kind of special purpose device of above-mentioned file version information storage method.
Technical scheme:It is of the present invention solve the problems, such as used by technical scheme be:
A kind of file version information storage method, comprises the following steps:
1)The version information of All Files in file version information enquiry module automatic detection user filesselected folder, including
File name, file path, FileVersion and file verification code relevant information, and believe more than the respective column display of form
Breath;
2)User is in form other row, according to row name, supplement the file description of each file, document source, engineering source code,
Project director and whether the relevant information such as management and control;
3)After checking each fileinfo, file version information uploading module is automatic by the relevant information of All Files in the form
It is committed in database and preserves;
4)Complete after submitting, user checks the All Files that is preserved in current database in file version information query interface
Relevant release note.
The special purpose device of described file version information storage method, including computer and version information database;Calculate
Machine is connected by network with version information database;File version information management module is provided with described computer, can be incited somebody to action
The version information of file is uploaded in version information database or the file version information to being preserved in version information database enters
Row inquiry.
It is preferred that while set file version information management module in multiple stage computers.
Described file version information management module includes file version information uploading module and file version information is looked into
Ask module;Wherein, file version information uploading module:The version information of file is uploaded to version information database;File version
This information inquiry module:The file version information preserved in version information database is inquired about.
Described version information database, it is SQL Server or MySQL for storage file version information.
The field of described version information database includes:Issue date, file name, file path, FileVersion, text
Part check code, file description, document source, engineering source code, project director and whether management and control.
Described issue date refers to the specific time for uploading file version information.
Described file path refers to file in the specific path that local computer is placed.
Described file verification code refers to MD5 the or SHA1 check codes of file.
Described file description refers to the modification made in the version to file;Engineering source code refers to obtain this document
Engineering source code storing path, as without if for sky.
Beneficial effect:Compared with prior art, file version information storage method of the invention and its special purpose device, utilize
Database is stored to file version information, has saved the cost of artificial integration and maintenance, and file is preserved in database
The historical record of version information, facilitate user to inquire about file version information, be advantageous to the difference between comparison document different editions.
Brief description of the drawings
Fig. 1 is the structural representation of special purpose device.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment, the present invention is furture elucidated, and the present embodiment is with technical solution of the present invention
Premised under implemented, it should be understood that these embodiments are only illustrative of the invention and is not intended to limit the scope of the invention.
As shown in figure 1, the special purpose device of the file version information storage method of the present invention, mainly includes computer and version
Information database;Computer is connected by network with version information database.
File version information management module is provided with computers, the version information of file can be uploaded to version information number
According in storehouse or the file version information to being preserved in version information database is inquired about.Text can be set in multiple stage computers simultaneously
Part version information management module.
This document version information management module mainly includes file version information uploading module and file version information is looked into
Ask module.Wherein, file version information uploading module:The version information of file can be uploaded to version information database;File
Version information enquiry module:The file version information preserved in version information database can be inquired about.
Version information database, can be SQL Server or MySQL or other numbers for storage file version information
According to storehouse.Its field is as shown in table 1, mainly includes:Issue date, file name, file path, FileVersion, file verification code,
File description, document source, engineering source code, project director and whether the specifying information such as management and control.Wherein:Issue date is
Refer to the specific time for uploading file version information.File path refers to file in the specific path that local computer is placed.File
Check code refers to MD5 the or SHA1 check codes of file, and the present embodiment uses the SHA1 check codes of file.File description refers to
The modification made in the version to file.Engineering source code refers to the engineering source code storing path for obtaining this document, such as nothing
It can be then sky.
The field description for the version information database that table 1 uses.
Field name | Field description | Data type | Major key | It could be sky |
ReleaseDate | Issue date | datetime | PK | N |
FileName | File name | varchar(max) | PK | N |
FilePath | File path | varchar(max) | PK | N |
FileVersion | FileVersion | varchar(max) | Y | |
CheckSum | File verification code | varchar(max) | Y | |
FileDescription | File describes | varchar(max) | Y | |
FileSource | Document source | varchar(max) | Y | |
ProjectSVNTag | Engineering source code | varchar(max) | Y | |
ProjectOwner | Project director | varchar(max) | Y | |
UnderControl | Whether management and control | varchar(max) | Y |
Using the file version information storage method of above-mentioned special purpose device, following steps are specifically included:
1)The version information of All Files in file version information enquiry module automatic detection user filesselected folder, including
File name, file path, FileVersion and file verification code relevant information, and believe more than the respective column display of form
Breath;
2)User is in form other row, according to row name, supplement the file description of each file, document source, engineering source code,
Project director and whether the relevant information such as management and control;
3)After checking each fileinfo, file version information uploading module is automatic by the relevant information of All Files in the form
It is committed in database and preserves;
4)Complete after submitting, user checks the All Files that is preserved in current database in file version information query interface
Relevant release note.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of file version information storage method, it is characterised in that comprise the following steps:
1)The version information of All Files in file version information enquiry module automatic detection user filesselected folder, including
File name, file path, FileVersion and file verification code relevant information, and believe more than the respective column display of form
Breath;
2)User is in form other row, according to row name, supplement the file description of each file, document source, engineering source code,
Project director and whether the relevant information such as management and control;
3)After checking each fileinfo, file version information uploading module is automatic by the relevant information of All Files in the form
It is committed in database and preserves;
4)Complete after submitting, user checks the All Files that is preserved in current database in file version information query interface
Relevant release note.
2. the special purpose device of the file version information storage method described in claim 1, it is characterised in that:Including computer and version
This information database;Computer is connected by network with version information database;FileVersion is provided with described computer
Information management module, the version information of file can be uploaded in version information database or to being preserved in version information database
File version information inquired about.
3. the special purpose device of file version information storage method according to claim 2, it is characterised in that:Simultaneously in Duo Tai
File version information management module is set on computer.
4. the special purpose device of file version information storage method according to claim 2, it is characterised in that:Described file
Version information management module includes file version information uploading module and file version information enquiry module;Wherein, file version
This information uploading module:The version information of file is uploaded to version information database;File version information enquiry module:To version
The file version information preserved in this information database is inquired about.
5. the special purpose device of file version information storage method according to claim 2, it is characterised in that:Described version
This information database, it is SQL Server or MySQL for storage file version information.
6. the special purpose device of file version information storage method according to claim 2, it is characterised in that:Described version
The field of information database includes:Issue date, file name, file path, FileVersion, file verification code, file description,
Document source, engineering source code, project director and whether management and control.
7. the special purpose device of file version information storage method according to claim 6, it is characterised in that:Described issue
Date refers to the specific time for uploading file version information.
8. the special purpose device of file version information storage method according to claim 6, it is characterised in that:Described file
Path refers to file in the specific path that local computer is placed.
9. the special purpose device of file version information storage method according to claim 6, it is characterised in that:Described file
Check code refers to MD5 the or SHA1 check codes of file.
10. the special purpose device of file version information storage method according to claim 6, it is characterised in that:Described text
Part description refers to the modification made in the version to file;The engineering source code that engineering source code refers to obtain this document preserves
Path, as being sky without if.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710488366.1A CN107451104A (en) | 2017-06-23 | 2017-06-23 | A kind of file version information storage method and its special purpose device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710488366.1A CN107451104A (en) | 2017-06-23 | 2017-06-23 | A kind of file version information storage method and its special purpose device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107451104A true CN107451104A (en) | 2017-12-08 |
Family
ID=60486673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710488366.1A Pending CN107451104A (en) | 2017-06-23 | 2017-06-23 | A kind of file version information storage method and its special purpose device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107451104A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107862057A (en) * | 2017-11-10 | 2018-03-30 | 上海建工五建集团有限公司 | Information amending method and system |
CN109902130A (en) * | 2019-01-31 | 2019-06-18 | 北京明略软件***有限公司 | A kind of date storage method, data query method and apparatus, storage medium |
CN112463182A (en) * | 2019-09-06 | 2021-03-09 | 英业达科技有限公司 | Published file generation method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100134828A1 (en) * | 2007-07-13 | 2010-06-03 | Canon Kabushiki Kaisha | File transmission apparatus, method and file version management system |
CN101842772A (en) * | 2007-09-07 | 2010-09-22 | 朴琇民 | File management system and computer readable record medium for the same |
CN102111691A (en) * | 2009-12-29 | 2011-06-29 | 中兴通讯股份有限公司 | Version file management method and optical line terminal |
CN102546675A (en) * | 2010-12-08 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | Software upgrading system and method |
CN104572145A (en) * | 2013-10-16 | 2015-04-29 | 北大方正集团有限公司 | File version management method and system |
CN104699681A (en) * | 2013-12-04 | 2015-06-10 | 航天信息股份有限公司 | Data processing method based on metadata base |
CN106845743A (en) * | 2015-12-04 | 2017-06-13 | 河南蓝信科技股份有限公司 | A kind of EMUs driver manipulation information moves back diligent analysis method and its system |
-
2017
- 2017-06-23 CN CN201710488366.1A patent/CN107451104A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100134828A1 (en) * | 2007-07-13 | 2010-06-03 | Canon Kabushiki Kaisha | File transmission apparatus, method and file version management system |
CN101842772A (en) * | 2007-09-07 | 2010-09-22 | 朴琇民 | File management system and computer readable record medium for the same |
CN102111691A (en) * | 2009-12-29 | 2011-06-29 | 中兴通讯股份有限公司 | Version file management method and optical line terminal |
CN102546675A (en) * | 2010-12-08 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | Software upgrading system and method |
CN104572145A (en) * | 2013-10-16 | 2015-04-29 | 北大方正集团有限公司 | File version management method and system |
CN104699681A (en) * | 2013-12-04 | 2015-06-10 | 航天信息股份有限公司 | Data processing method based on metadata base |
CN106845743A (en) * | 2015-12-04 | 2017-06-13 | 河南蓝信科技股份有限公司 | A kind of EMUs driver manipulation information moves back diligent analysis method and its system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107862057A (en) * | 2017-11-10 | 2018-03-30 | 上海建工五建集团有限公司 | Information amending method and system |
CN109902130A (en) * | 2019-01-31 | 2019-06-18 | 北京明略软件***有限公司 | A kind of date storage method, data query method and apparatus, storage medium |
CN112463182A (en) * | 2019-09-06 | 2021-03-09 | 英业达科技有限公司 | Published file generation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103324552B (en) | Two benches list example duplicate removal data back up method | |
CN107451104A (en) | A kind of file version information storage method and its special purpose device | |
WO2006001924A3 (en) | Method and apparatus for implementing a file system | |
US8078570B2 (en) | Versioning data warehouses | |
PH12018502269A1 (en) | A method and system for controlling the performance of a contract using a distributed hash table and a peer-to-peer distributed ledger | |
TWI256556B (en) | Distributed concurrent version management system and method | |
WO1998040804A3 (en) | Distributed relational database | |
WO2010085579A3 (en) | Method and system for interfacing to cloud storage | |
US20020065831A1 (en) | Method and apparatus for providing automated form preparation and processing | |
WO2003075633A3 (en) | Method and system for managing software licenses | |
WO2005119523A3 (en) | Electronic item management and archival system and method of operating the same | |
ATE467970T1 (en) | INPUT AND OUTPUT VALIDATION TO PROTECT DATABASE SERVERS | |
WO2002099584A3 (en) | Systems and methods for managing business metrics | |
EP1783595A3 (en) | Information processing system, control method for information processing system, and storage system | |
TW200606673A (en) | Media asset management system for managing video segments from an aerial sensor platform and associated methods | |
WO2005086810A3 (en) | Apparatus and method for biometric database management system | |
WO2006028689A3 (en) | System and method for providing increased database fault tolerance | |
NZ595134A (en) | Management system and method | |
CN102467421B (en) | Tenant-data-based processing method and computer | |
US20140075028A1 (en) | Centralized Data Provisioning | |
CN101944089A (en) | Date view version management method and device for database | |
US9218404B2 (en) | Replication support for heterogeneous data types | |
GB2430290A (en) | Recovery system for portable data processing apparatus | |
US20180357230A1 (en) | Implementation method of interlinked document | |
CN107783870A (en) | A kind of server-compatible test result management method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |