CN114416639A - File migration method and system for achieving heterogeneous file management platform - Google Patents

File migration method and system for achieving heterogeneous file management platform Download PDF

Info

Publication number
CN114416639A
CN114416639A CN202111527924.3A CN202111527924A CN114416639A CN 114416639 A CN114416639 A CN 114416639A CN 202111527924 A CN202111527924 A CN 202111527924A CN 114416639 A CN114416639 A CN 114416639A
Authority
CN
China
Prior art keywords
file
migration
management platform
folder
target
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
Application number
CN202111527924.3A
Other languages
Chinese (zh)
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 Aerospace Software Branch Of Aerospace Information Co ltd
Original Assignee
Guangzhou Aerospace Software Branch Of Aerospace Information 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 Aerospace Software Branch Of Aerospace Information Co ltd filed Critical Guangzhou Aerospace Software Branch Of Aerospace Information Co ltd
Priority to CN202111527924.3A priority Critical patent/CN114416639A/en
Publication of CN114416639A publication Critical patent/CN114416639A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The invention discloses a file migration method and a file migration system for realizing a heterogeneous file management platform, and belongs to the technical field of document management. The method comprises the following steps: combing the target files and the folder types on the first file management platform, establishing folder classifications and attributes corresponding to the target files and the folders on the second file management platform, and describing the folder classifications and the attributes in a migration list; establishing a file extraction migration program and a file import migration program according to the migration list; and extracting the target file and the folder in the first file management platform through the file extraction and migration program, and importing the extracted target file and the extracted folder into the second file management platform by using a file import and migration program. The invention has the advantages that: the classification of the original documents can be kept as required, and the documents can be accurately and quickly migrated to other platforms.

Description

File migration method and system for achieving heterogeneous file management platform
Technical Field
The present invention relates to the field of document management technologies, and in particular, to a file migration method and system for implementing a heterogeneous file management platform.
Background
With the development of information technology, the business of enterprises and units of public services is greatly increased, the requirement for storing electronic data applied by the business is higher and higher, the business system needs to be updated, and the electronic document relates to cross-platform migration. Whether the file of the heterogeneous file management platform can be accurately and quickly migrated is the dependence and guarantee on whether the business system can be normally switched on line. But the migration aiming at the document in the prior art cannot be completed accurately and quickly.
Disclosure of Invention
In order to solve the above problem, the present invention provides a file migration method for implementing a heterogeneous file management platform, including:
combing the target files and the folder types on the first file management platform, establishing folder classifications and attributes corresponding to the target files and the folders on the second file management platform, and describing the folder classifications and the attributes in a migration list;
establishing a file extraction migration program and a file import migration program according to the migration list;
and extracting the target file and the folder in the first file management platform through the file extraction and migration program, and importing the extracted target file and the extracted folder into the second file management platform by using a file import and migration program.
Optionally, the method further includes obtaining Checksum values of the files and folders on the first management platform, obtaining check Checksum values of the target files and the folders after extracting the target files and the folders in the first file management platform, comparing the Checksum values with the check Checksum values, and if the Checksum values and the check Checksum values are compared, keeping the migrated target files and folders consistent.
Optionally, the file extraction migration program and the file import migration program are established by using java language.
The invention also provides a file migration system for realizing the heterogeneous file management platform, which comprises the following steps:
the carding unit is used for carding the target file and the folder type on the first file management platform, establishing folder classification and attributes corresponding to the target file and the folder on the second file management platform, and describing the folder classification and the attributes in a migration list;
the program establishing unit is used for establishing a file extraction migration program and a file import migration program according to the migration list;
and the migration unit extracts the target file and the folder in the first file management platform through the file extraction and migration program and imports the extracted target file and the extracted folder into the second file management platform by using a file import and migration program.
Optionally, the system further includes a comparison unit, configured to obtain a Checksum value of the file and the folder on the first management platform, obtain a check Checksum value of the target file and the folder after extracting the target file and the folder in the first file management platform, compare the Checksum value with the check Checksum value, and if the Checksum value and the check Checksum value are compared, keep the migrated target file and the folder consistent.
Optionally, the file extraction migration program and the file import migration program are established by using java language.
The invention has the advantages that: the classification of the original documents can be maintained as required, other platforms can be accurately and quickly migrated by the documents, the document type standardized migration and the Checksum scheme provide accuracy verification for the document migration, and an efficient method is provided for the migration of the document data of the heterogeneous document management platform.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a block diagram of the system of the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
The invention provides a file migration method for realizing a heterogeneous file management platform, as shown in fig. 1, comprising the following steps:
combing the target files and the folder types on the first file management platform, establishing folder classifications and attributes corresponding to the target files and the folders on the second file management platform, and describing the folder classifications and the attributes in a migration list;
establishing a file extraction migration program and a file import migration program according to the migration list;
and extracting the target file and the folder in the first file management platform through the file extraction and migration program, and importing the extracted target file and the extracted folder into the second file management platform by using a file import and migration program.
The method comprises the steps of obtaining a Checksum value of a file and a folder on a first management platform, obtaining a check Checksum value of the object file and the folder after extracting the object file and the folder in the first file management platform, comparing the Checksum value with the check Checksum value, and keeping the migrated object file and the folder consistent if the Checksum value and the check Checksum value are compared.
The file extraction migration program and the file import migration program are established by using java language.
The invention is further illustrated by the following examples:
the embodiment of the invention takes the document of the Documentum file management platform to be migrated to the FileNet file management platform as an example for explanation;
the example illustrates the division into four stages, as follows:
1. document type combing and creation
Document file management platform Document, Folder type combing, creating corresponding Document, Folder CLASS and attribute on FileNet, creating Folder and Document migration list in the migration database, and recording the relevant description attribute of each Document in the migration list.
Document management of the document management platform is divided into three layers: folder layer, Document layer, Content layer. Folder and Document class are created at FileNet, while the Content layer is managed by the platform's file system at the FileNet Document management platform.
2. Document extraction migration program development
Respectively creating a Document migration list according to the type of the original Document of Document, using JAVA development language, extracting the Document from the Document multithreading to the local by a development migration program according to the Document migration list, compressing and packaging, and performing Checksum on the Document during extraction. The thread and the compression packaging quantity are flexibly configured in the migration program parameter file.
3. Document import migration program development
And developing a migration import program by using a JAVA development language, decompressing the data compression packet of the Document, and writing the Document and the Document attribute into FileNet by the import program according to the Document migration list. The import program is designed to be capable of running in parallel by multiple threads and multiple clients, and the document migration speed is greatly improved.
4. Document verification
And developing a document on the FileNet platform by using a JAVA development language, comparing the acquired Checksum value with the Checksum value extracted by Documentum, and ensuring the accuracy of the migrated document by the consistency of the front and back Checksum.
The present invention further provides a file migration system 200 for implementing a heterogeneous file management platform, as shown in fig. 2, including:
the combing unit 201 is used for combing the target files and the folder types on the first file management platform, establishing folder classifications and attributes corresponding to the target files and the folders on the second file management platform, and describing the folder classifications and the attributes in a migration list;
a program creating unit 202 that creates a file extraction migration program and a file import migration program according to the migration list;
the migration unit 203 extracts the target file and the folder in the first file management platform through the file extraction migration program, and imports the extracted target file and folder into the second file management platform by using a file import migration program.
The comparison unit 204 is configured to obtain Checksum values of the files and folders on the first management platform, obtain check Checksum values of the target files and the folders obtained after extracting the target files and the folders in the first file management platform, compare the Checksum values with the check Checksum values, and if the Checksum values and the check Checksum values are compared, keep the migrated target files and folders consistent.
The file extraction migration program and the file import migration program are established by using java language.
The invention has the advantages that: the method can keep the original document classification accurately and quickly migrate to other platforms as required, provides accuracy verification for document migration by using a document type standardized migration and Checksum scheme, and provides an efficient method for document data migration of a heterogeneous document management platform.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The scheme in the embodiment of the application can be implemented by adopting various computer languages, such as object-oriented programming language Java and transliterated scripting language JavaScript.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (6)

1. A file migration method for implementing a heterogeneous file management platform, the method comprising:
combing the target files and the folder types on the first file management platform, establishing folder classifications and attributes corresponding to the target files and the folders on the second file management platform, and describing the folder classifications and the attributes in a migration list;
establishing a file extraction migration program and a file import migration program according to the migration list;
and extracting the target file and the folder in the first file management platform through the file extraction and migration program, and importing the extracted target file and the extracted folder into the second file management platform by using a file import and migration program.
2. The method according to claim 1, further comprising obtaining Checksum values of files and folders on the first management platform, obtaining check Checksum values of the object files and the folders after extracting the object files and the folders in the first file management platform, comparing the Checksum values with the check Checksum values, and if the Checksum values and the check Checksum values are compared, the migrated object files and the folders are kept consistent.
3. The method of claim 1, wherein the file extraction migration program and the file import migration program are created using java language.
4. A file migration system for implementing a heterogeneous file management platform, the system comprising:
the carding unit is used for carding the target file and the folder type on the first file management platform, establishing folder classification and attributes corresponding to the target file and the folder on the second file management platform, and describing the folder classification and the attributes in a migration list;
the program establishing unit is used for establishing a file extraction migration program and a file import migration program according to the migration list;
and the migration unit extracts the target file and the folder in the first file management platform through the file extraction and migration program and imports the extracted target file and the extracted folder into the second file management platform by using a file import and migration program.
5. The system according to claim 4, further comprising a comparison unit that obtains Checksum values of the files and folders on the first management platform, obtains check Checksum values of the target files and folders after extracting the target files and folders in the first file management platform, compares the Checksum values with the check Checksum values, and if the Checksum values and the check Checksum values are compared, the migrated target files and folders are kept consistent.
6. The system of claim 4, wherein the file extraction migration program and the file import migration program are created using java language.
CN202111527924.3A 2021-12-14 2021-12-14 File migration method and system for achieving heterogeneous file management platform Pending CN114416639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111527924.3A CN114416639A (en) 2021-12-14 2021-12-14 File migration method and system for achieving heterogeneous file management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111527924.3A CN114416639A (en) 2021-12-14 2021-12-14 File migration method and system for achieving heterogeneous file management platform

Publications (1)

Publication Number Publication Date
CN114416639A true CN114416639A (en) 2022-04-29

Family

ID=81267297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111527924.3A Pending CN114416639A (en) 2021-12-14 2021-12-14 File migration method and system for achieving heterogeneous file management platform

Country Status (1)

Country Link
CN (1) CN114416639A (en)

Similar Documents

Publication Publication Date Title
US9430224B2 (en) Hot-update method and apparatus
US20160077863A1 (en) Reliable and scalable image transfer for data centers with low connectivity using redundancy detection
US11347933B1 (en) Distributed collaborative storage with operational transformation
US20200142865A1 (en) Incremental virtual machine metadata extraction
CN111291023A (en) Data migration method, system, device and medium
US20170228356A1 (en) System Generator Module for Electronic Document and Electronic File
CN106557307B (en) Service data processing method and system
CN109739828B (en) Data processing method and device and computer readable storage medium
CN106649676A (en) Duplication eliminating method and device based on HDFS storage file
CN111694750A (en) Method and device for constructing software testing environment
CN106021566A (en) Method, device and system for improving concurrent processing capacity of single database
CN105488471B (en) A kind of font recognition methods and device
CN112308727A (en) Insurance claim settlement service processing method and device
CN111984666B (en) Database access method, apparatus, computer readable storage medium and computer device
CN113923268B (en) Resolution method, device and storage medium for multi-version communication protocol
CN111143463B (en) Construction method and device of bank data warehouse based on topic model
US20210124752A1 (en) System for Data Collection, Aggregation, Storage, Verification and Analytics with User Interface
CN114416639A (en) File migration method and system for achieving heterogeneous file management platform
US20230222101A1 (en) Data compaction systems and method
CN104991963B (en) Document handling method and device
CN110222105B (en) Data summarization processing method and device
CN110554915A (en) Information processing method and device, computer storage medium and terminal
CN111625505A (en) File splitting method and device
CN112163024A (en) Configuration information exporting and importing method based on hierarchical association structure
US20230409521A1 (en) Automatic preservation

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