Method and system for migrating encryption design data

Through the analysis, decryption, association, dynamic monitoring and synchronization of design data, the problems of low efficiency and insufficient security in existing data migration tools are solved, and efficient, secure and real-time migration of encrypted design data is achieved.

CN120407513APending Publication Date: 2025-08-01STATE GRID ECONOMIC TECH RES INST CO LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510503902.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

Existing data migration tools have problems such as inefficiency, insufficient security and untimely data synchronization in file migration, business association and file decryption, especially in the design industry, which lacks systematic processing of encrypted files.

Method used

The migration method of encrypted design data is adopted, including design data analysis, decryption, data association, file migration and dynamic monitoring and synchronization, the encryption and decryption engine composed of the cryptographic library is used for file decryption, and a customized QUIC transmission protocol is adopted, combined with hash dictionary management to achieve file change detection and real-time synchronization.

Benefits of technology

It realizes efficient migration of design data, reduces transmission delay and error rate, ensures data security, supports project and business data association management, dynamically monitors file changes, and ensures real-time and consistency of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120407513A_ABST
    Figure CN120407513A_ABST
Patent Text Reader

Abstract

The invention provides a migration method and system for encrypted design data. The migration method comprises the steps of design data analysis, encrypted file decryption, data association, file migration protocol, file dictionary management and dynamic monitoring and synchronization. The migration system comprises a data analysis module, a decryption module, a data association module, a file migration module, a monitoring and synchronization module, a file storage module, a file preview module and a folder online packaging module. According to the method, efficient migration of design data can be realized, and the delay and error rate of data transmission are reduced; a decryption function of an encrypted design file is provided, data security is ensured, and meanwhile, the requirement of the industry for confidentiality is met; the association between the project and the business data is realized, so that a user can conveniently manage and query the design data by taking the project as an operation unit; and the change of the design file is dynamically monitored, timely synchronization is realized, and the real-time performance and consistency of data are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of design data migration. Specifically, it relates to a method and system for migrating encrypted design data. Background Art

[0002] Data migration refers to the process of moving data from one storage system or database to another. Data migration is usually carried out when replacing a storage system or database, or transferring data from one environment to another. In the design industry, with the continuous development of business, better data analysis, higher data availability, or better data security are required, so data migration is needed to meet business requirements.

[0003] Among the commonly used data migration tools on the market currently, the functions provided in the file migration field are limited to file relocation, lacking the processing of the association between files and business data, and also lacking the data decryption function for encrypted files. It is difficult to systematically solve the three major links in the migration of encrypted design data: file migration, business association, and file decryption. In file migration, the existing graphic and text migration methods mainly rely on traditional file transfer protocols. When facing a large amount of complex design data, these methods have problems such as low efficiency, insufficient security, and untimely data synchronization; in business association, the existing migration methods rarely design the processing of the relationship between the business of a specific industry and files; in file decryption, the existing migration methods are relatively lacking in the dynamic configuration function of conventional encryption and decryption schemes. Summary of the Invention

[0004] The present invention aims to at least solve one of the technical problems existing in the prior art.

[0005] To this end, in the first aspect of the present invention, a method for migrating encrypted design data is provided.

[0006] In the second aspect of the present invention, a graphic and text migration system based on design data is provided.

[0007] The present invention provides a method for migrating encrypted design data, including: Reading the database of the system to be migrated, parsing the design data, and extracting design files and data relationships. The design files include graphic and text information and encrypted files, and the data relationships include project information and business information; Judging the decryption scheme for the design files, and using an encryption and decryption engine composed of a password library to select a corresponding decryption scheme to perform file decryption processing on the design files; Transmitting the decrypted design files to the target system using customized QUIC; According to the extracted data relationships, establish the association relationships between the design files and the data relationships in the target system, where the design files are associated with the corresponding project information and business information, so as to realize the classified management and query of the design files by the user with the project or business as the operation unit; Perform hash calculation on the file directories before and after migration to generate a hash dictionary, and use a timing calculator to execute in a loop to check whether the files have changed, been added or deleted; among them, with the support of the file dictionary management function, compare according to the file size at a set frequency to monitor the changes of the design data in real time. When the design data changes are detected, trigger the synchronization mechanism to update the design data stored in the target system in real time.

[0008] According to the method for migrating encrypted design data of the above technical solution of the present invention, it may further have the following additional technical features: In the above technical solution, the encryption schemes supported by the password library further include at least one of CipherKFS algorithm, FinalCrypt, VeraCrypt, TrueCrypt, ECryptfs and DocumentUM.

[0009] In the above technical solution, the CipherKFS algorithm adopts a Feistel structure. The block length of the Feistel structure is 128 bits, the key length is 128 bits, and a total of 8 rounds of iteration are performed. In each round of iteration, a new key is calculated using the key expansion method.

[0010] In the Feistel structure adopted by the CipherKFS algorithm in the above technical solution, its sub-encryption structure uses the same 32-bit key to encrypt 4 F functions, and the S substitution box is introduced into the F function; Among them, the input of the F function is 32-bit data, which is input into a 16×16 S substitution box byte by byte for replacement operation; among them, the high 4 bits of the byte are used as the row index, and the low 4 bits are used as the column index, and the result after replacement is XORed with the 32-bit key; then, the result is circularly shifted left by 1 bit, that is, the highest bit of byte 3 is moved to the lowest bit of byte 0; finally, the calculation result is used as the output of the F function.

[0011] In the above technical solution, the customized QUIC is a transport protocol based on the UDP protocol; When performing file transmission, adopt the custom processing of the UDP protocol header, set the first 3 bits of the header as the file type flag bit, the 4th to 7th bits of the header as the information length position, and the last 4 bits of the message as the end bit.

[0012] In the above technical solution, calculating the hash values of the file directories before and after migration to generate a hash dictionary, and using a timing calculator to execute in a loop to check whether files have been changed, added, or deleted, including: Traverse the first file directory, generate the hash value for each file, and save the file path and the corresponding hash value to a dictionary; Traverse the second file directory and generate the hash value for each file; Compare the hash values of each file in the second file directory with the hash values saved in the first file directory; if a file does not exist in the first file directory, it means this file is newly added in the second file directory, and record the file path as a difference; if the file exists in the first file directory but has a different hash value from that in the second file directory, it means this file has been changed in the second file directory, and record the file path as a difference.

[0013] In the above technical solution, the comparison method of comparing according to the file size at a set frequency includes: Traverse the remaining files in the first file directory. If the corresponding file path cannot be found in the second file directory, it means these files have been deleted in the second file directory, and record these file paths as differences. If the corresponding files are found in the second file directory but the hash values are different, record these file hashes as differences.

[0014] In the above technical solution, when monitoring the changes in design data, the smaller the file, the higher the comparison frequency; the set frequency includes at least 1s, 5s, 10s, 1min, 5min, 10min.

[0015] A migration system for encrypting design data provided by the present invention includes: A data parsing module, configured to read the database of the system to be migrated, parse the design data, extract design files and data relationships, where the design files include graphic information and encrypted files, and the data relationships include project information and business information; A decryption module, which judges the decryption scheme for the design files, and selects the corresponding decryption scheme to perform file decryption processing on the design files by using an encryption and decryption engine composed of a password library; A file migration module, configured to transmit the decrypted design files to the target system by using customized QUIC; An encryption module, which encrypts the design files transmitted to the target system; A data association module, which is used to establish an association relationship between a design file and a data relationship in a target system according to the data relationship extracted by the data parsing module; wherein, the design file is associated with corresponding project information and business information, so as to realize the classified management and query of design files by users with projects or businesses as operation units. A monitoring and synchronization module, which is used to calculate the hash values of file directories before and after migration to generate a hash dictionary, and use a timing calculator to execute in a loop to check whether files have changed, been added or deleted; and with the support of the file dictionary management function, compare them at a set frequency according to the file size to monitor the changes of design data in real time. When the changes of design data are detected, trigger the synchronization mechanism to update the design data stored in the target system in real time. A file storage module, which is used to store design files in an orderly manner and perform asynchronous reading and writing. A file preview module, which is used to browse a single design file online. A folder online packaging module, which is used to package multiple design files online into a folder.

[0016] In the above technical solution, the graphic and text migration system further includes: A database, which is used to store design data, encrypted files, and the association information of project and business data. A user interface, which provides an interface for users to interact with the system. Users can perform at least file migration, decryption, and data query operations through the user interface; the user interface includes a data association relationship management end and a design file management end; the data association relationship management end provides functions such as project data relationship sorting, project file searching, project number querying, project list querying, project attribution library querying, project file backup, project file deletion, file quantity statistics, file operation record, and file change detail record; the design file management end provides functions such as file decryption, file archiving, single file download, and online packaged file download.

[0017] In summary, due to the adoption of the above technical features, the beneficial effects of the present invention are: By adopting the present invention, the efficient migration of design data can be realized, the delay and error rate of data transmission can be reduced, and the time and resource consumption of the migration process can be shortened; the decryption function of encrypted design files is provided to ensure data security while meeting the industry's requirements for confidentiality; the association of project and business data is realized, which is convenient for users to manage and query design data with projects as operation units; the changes of design files are dynamically monitored to achieve timely synchronization, ensuring the real-time performance and consistency of data. The present invention can provide strong support for the management and processing of design data in the industry.

[0018] The additional aspects and advantages of the present invention will become obvious in the following description part, or be understood through the practice of the present invention. Brief Description of the Drawings

[0019] The above and / or additional aspects and advantages of the present invention will become apparent and be readily understood from the description of the embodiments in conjunction with the following drawings, wherein: Figure 1 is a flowchart of a method for migrating encrypted design data according to an embodiment of the present invention; Figure 2 is a schematic diagram of the implementation principle of the CipherKFS algorithm in an embodiment of the present invention; Figure 3 is a schematic diagram of the implementation principle of custom processing of the message header adopted in the file migration process in a method for migrating encrypted design data according to an embodiment of the present invention; Figure 4 is a flowchart of implementing file migration according to file dictionary management in a method for migrating encrypted design data according to an embodiment of the present invention; Figure 5 is a schematic diagram of the operation process of a system for migrating encrypted design data according to an embodiment of the present invention; Figure 6 is a schematic diagram of the data association relationship management terminal in a graphic and text migration system based on design data according to an embodiment of the present invention; Figure 7 is a schematic diagram of the design file management terminal in a graphic and text migration system based on design data according to an embodiment of the present invention. Detailed Embodiments

[0020] In order to more clearly understand the above objects, features and advantages of the present invention, the present invention will be further described in detail below in conjunction with the drawings and specific embodiments. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.

[0021] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention may be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.

[0022] The following refers to Figures 1 to 7 to describe a method and a system for migrating encrypted design data according to some embodiments of the present invention.

[0023] Some embodiments of the present application provide a method for migrating encrypted design data. Among them, the design data includes graphic and text information, business information and project information; in the present disclosure, the mainly targeted is the design data that has been encrypted in the system to be migrated.

[0024] Such as Figure 1As shown in the figure, the first embodiment of the present invention proposes a method for migrating encrypted design data. Taking the data migration between the old and new systems as an example for illustration, where the old system is the system to be migrated and the new system is the target system. The migration method mainly includes: design data parsing, encrypted file decryption, data association, file migration protocol, file dictionary management, and dynamic monitoring and synchronization.

[0025] Among them, in the design data parsing, the database of the system to be migrated is read, the design data is parsed, graphic and text information, encrypted files, and related project information and business information are extracted, and the logical data of the business relationship and the graphic and text information is transmitted to the target system. In the encrypted file decryption, a decryption scheme judgment is made on the design files in the system to be migrated, and the corresponding decryption scheme is selected by the encryption and decryption engine composed of the password library to perform file decryption processing on the design files.

[0026] In the data association, according to the extracted data relationship, an association relationship between the project information and the business information is established in the target system to realize the classification management and query of the design data.

[0027] In the file migration protocol, customized QUIC (Quick UDP Internet Connections) is used for file transmission; among them, QUIC is a fast and secure transport protocol based on the UDP protocol. It provides a faster transmission speed by using faster connection establishment and optimizing the data exchange process, and integrating encryption between the transport layer and the application layer, thus reducing the latency of data transmission.

[0028] In the file dictionary management, since the QUIC protocol does not have functions such as breakpoint resumption, file integrity verification, and file update, a hash traversal comparison scheme is combined with QUIC security verification transmission to provide file change and retransmission functions on the premise of secure and efficient transmission. Specifically, the hash traversal comparison scheme includes calculating the hash of the file directories before and after migration to generate a hash dictionary, and using a timing calculator to execute in a loop to check whether the file has changed, been added, or deleted.

[0029] In the dynamic monitoring and synchronization, with the support of the file dictionary management function, comparison is performed at a set frequency according to the file size to monitor the changes of the design data in real time. When the changes of the design data are detected, the synchronization mechanism is triggered to update the design data stored in the target system in real time.

[0030] In some embodiments, the method specifically includes the following steps S1 - S5.

[0031] S1. Read the database of the system to be migrated, parse the design data, extract the design files and data relationships. The design files include graphic information and encrypted files, and the data relationships include project information and business information.

[0032] S2. Judge the decryption scheme for the design files, and use the encryption and decryption engine composed of the password library to select the corresponding decryption scheme to perform file decryption processing on the extracted design files.

[0033] S3. Use customized QUIC to transfer the decrypted design files.

[0034] S4. According to the extracted data relationships, establish the association relationships between the design files and the data relationships in the target system. Among them, associate the design files with the corresponding project information and business information, so as to realize the classified management and query of the design files by users with projects or businesses as the operation units. Specifically, judge in the target system whether the transferred design data is associated with the project information and business information. If they correspond one by one, save the design files in the folders established according to the projects or businesses in the target system, and save the association records. For the data relationships and design files without corresponding relationships, establish independent folders for storage.

[0035] S5. Calculate the hash values of the file directories before and after migration to generate a hash dictionary, and use a timing calculator to execute in a loop to check whether the files have changed, been added or deleted. Among them, with the support of the file dictionary management function, compare according to the file sizes at a set frequency to monitor the changes of the design data in real time. When the changes of the design data are detected, trigger the synchronization mechanism to update the design data stored in the target system in real time.

[0036] It can be understood that the above steps S1 - S5 are not in a fixed order and can be flexibly adjusted according to the actual operation. Each step can also be carried out synchronously.

[0037] In a specific embodiment, the process of data migration is as Figure 1As shown, first read the database of the migrated system, determine whether the design data has been completely migrated, and perform version analysis on the migrated design data. If the design data has undergone version changes, it still needs to be migrated again. Perform operation judgment according to the data type of the design data to be migrated. If the design data is data relationships, such as business information and project information, etc., then perform design data parsing; if the design data is design files, such as graphic and text information, etc., then perform decryption scheme judgment, select a suitable encryption scheme in the password library to pair the key for the design file, so as to achieve file decryption. After completing file decryption, transmit the decrypted file to the target system through QUIC file transfer, and then all files can be uniformly encrypted in the target system according to the specified encryption method. Judge the file and business relationship between the parsing result of the design data of the data relationship and the result of the design file after the transfer is completed, that is, judge whether the design data after the transfer is associated with the project information and business information. If they correspond one by one, then save the data relationship and the design file in the database of the target system and save the association record; if they do not correspond one by one, then create an independent folder for saving.

[0038] In some embodiments, in the decryption of encrypted files, the encryption schemes supported by the password library include at least one of CipherKFS algorithm, FinalCrypt, VeraCrypt, TrueCrypt, ECryptfs, and DocumentUM (commercial encrypted file system). It can be understood that except for the CipherKFS algorithm, the above encryption schemes are all common encryption schemes. Those skilled in the art can also add other common encryption schemes to the password library to improve the applicability of the present invention, that is, it is applicable to different encryption methods of design data in multiple old systems.

[0039] In some embodiments, the self-developed CipherKFS (CipherKeyFeistelSecurity) algorithm is used to unify the encryption method of the design files in the target system, that is, no matter what encryption method the design file adopts, after the data migration through the method proposed in the present disclosure, it will finally be stored in the target system with a unified encryption method.

[0040] In a specific embodiment, the CipherKFS algorithm is a symmetric encryption algorithm that adopts a Feistel structure. The block length of the Feistel structure is 128 bits, the key length is 128 bits, and a Feistel-like encryption sub-structure is adopted, with a total of 8 rounds of iteration. In each round of iteration, a new key is calculated using the key expansion method. Since the adopted algorithm is based on the Feistel structure, the computational complexity of the algorithm is less, and different encryption effects are achieved on different segments of data each time a new key is generated. At the same time, the decryption algorithm is also based on Feistel and is as efficient as encryption.

[0041] As Figure 2 shown, in the Feistel structure adopted by the CipherKFS algorithm, its sub-encryption structure uses the same 32-bit key to encrypt 4 F functions, and introduces the S substitution box into the F function; among them, the input of the F function is 32-bit data, which is input into the 16×16 S substitution box byte by byte for replacement operation; among them, the high 4 bits of the byte are used as the row index, and the low 4 bits are used as the column index, which is the same as the processing method in the AES algorithm. The result after replacement is XORed with the 32-bit key; then, the result is circularly shifted left by 1 bit, that is, the highest bit of byte 3 is moved to the lowest bit of byte 0; finally, the calculation result is used as the output of the F function. By introducing S substitution box replacement and bit shifting, the diffusion of the encryption algorithm is increased and its security is improved.

[0042] In some embodiments, in the file migration protocol, to reduce the error rate, when performing file transmission, custom processing of the UDP protocol-based packet header is adopted, such as Figure 3 shown, the first 3 bits of the packet header are set as the file type flag bit, the 4th to 7th bits of the packet header are set as the information length position, and the last 4 bits of the packet are set as the end bit. In this way, the file type and integrity are effectively processed.

[0043] In some embodiments, in the file dictionary management, the file directories before and after migration are hash-calculated to generate a hash dictionary, which is loop-executed using a timing calculator to check whether the file has changed, been added or deleted, including: Traverse the first file directory, generate the hash value of each file, and save the file path and the corresponding hash value into a dictionary; Traverse the second file directory and generate the hash value of each file; Compare the hash value of each file in the second file directory with the hash value saved in the first file directory; if the file does not exist in the first file directory, it means that this file is newly added in the second file directory, and record the file path as a difference; if the file exists in the first file directory but is different from the hash value in the second file directory, it means that this file has changed in the second file directory, and record the file path as a difference.

[0044] By comparing the hash values of the files, the differences between the two file directories can be quickly identified. Through the optimized QUIC file transfer protocol, the process of migrating the parsed design data to the target location is as Figure 4 shown.

[0045] In some embodiments, in dynamic monitoring and synchronization, the comparison method for comparing at a set frequency according to the file size includes: Traverse the remaining files in the first file directory. If the corresponding file path cannot be found in the second file directory, it means these files have been deleted in the second file directory. Record these file paths as differences. If the corresponding files are found in the second file directory but the hash values are different, record these file hashes as differences.

[0046] Specifically, in dynamic monitoring and synchronization, the smaller the file, the higher the comparison frequency; the set frequency includes at least 1s, 5s, 10s, 1min, 5min, 10min.

[0047] Some other embodiments of the present invention provide a migration system for encrypting design data, including a data parsing module, a decryption module, a file migration module, a data association module, a monitoring and synchronization module, a file storage module, a file preview module, and a folder online packaging module.

[0048] The data parsing module is used to read the database of the migrated system, parse the design data, extract design files and data relationships. The design files include graphic and text information and encrypted files, and the data relationships include project information and business information; The decryption module judges the decryption scheme for the design files, and uses the encryption and decryption engine composed of a password library to select the corresponding decryption scheme to perform file decryption processing on the design files; The file migration module is used to transfer the decrypted design files to the target system using customized QUIC; The encryption module encrypts the design files transferred to the target system; The data association module is used to establish an association relationship between the design files and the data relationships in the target system according to the data relationships extracted by the data parsing module; among them, the design files are associated with the corresponding project information and business information, so as to realize the classified management and query of the design files by users in units of projects or businesses; The monitoring and synchronization module is used to calculate the hashes of the file directories before and after migration, generate a hash dictionary, and use a timing calculator to execute in a loop to check whether the files have changed, been added, or deleted; and with the support of the file dictionary management function, compare at a set frequency according to the file size, monitor the changes of the design data in real time, and trigger the synchronization mechanism when the design data changes are detected to update the design data stored in the target system in real time; The file storage module is used to store the design files in an orderly manner and perform asynchronous reading and writing; The file preview module is used to view a single design file online; The folder online packaging module is used to package multiple design files online into a folder.

[0049] The graphic and text migration system needs to provide a database that supports the system to be migrated. In a specific embodiment, the databases that can be supported include common databases such as MySQL, Oracle, SQLServer, DB2, and Sybase. And the encryption scheme of each file should be indicated in the database. The encryption methods it supports include common schemes such as FinalCrypt, VeraCrypt, TrueCrypt, eCryptfs, and EncFS. At the same time, it also supports commercial encryption and decryption schemes based on the DocumentUM encrypted file system. After successfully decrypting the graphic and text files, that is, the design files, QUIC file transfer is performed. Whether the decryption is successful or failed, the called files are archived to form an operation record. The schematic diagram of the operation process of the migration system is as Figure 5 shown.

[0050] In a specific embodiment, the graphic and text migration system further includes: A database for storing design data, encrypted files, and the association information between projects and business data; A user interface that provides an interface for users to interact with the system. Users can perform at least file migration, decryption, and data query operations through the user interface; the user interface includes a data association relationship management terminal and a design file management terminal; the data association relationship management terminal provides functions such as project data relationship sorting, project file search, project number query, project list query, project attribution library query, project file backup, project file deletion, file quantity statistics, file operation records, and file change details records. The page is as Figure 6 shown; the design file management terminal provides functions such as file decryption, file archiving, single file download, and online packaging and download of files. The page is as Figure 7 shown.

[0051] In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or instance. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.

[0052] Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for migrating encrypted design data, characterized in that, Including: Read the database of the migrated system, parse the design data, extract the design files and data relationships, where the design files include graphic information and encrypted files, and the data relationships include project information and business information; Use the encryption and decryption engine composed of a password library to select a corresponding decryption solution to perform file decryption processing on the design files; According to the extracted data relationships, establish an association relationship between the decrypted design files and the data relationships in the target system. Among them, associate the design files to the corresponding project information and business information, so as to realize the classified management and query of design files by users with projects or businesses as the operation units; Perform hash calculation on the file directories before and after migration to generate a hash dictionary, and use a timing calculator to execute in a loop to check whether files have changed, been added or deleted; among them, with the support of the file dictionary management function, compare according to the file size at a set frequency, monitor the changes of design data in real time, and trigger a synchronization mechanism when detecting changes in design data to update the design data stored in the target system in real time.

2. The method for migrating encrypted design data according to claim 1, wherein The encryption schemes supported by the password library include at least one of CipherKFS algorithm, FinalCrypt, VeraCrypt, TrueCrypt, ECryptfs and DocumentUM.

3. The method for migrating encrypted design data according to claim 2, wherein The CipherKFS algorithm adopts a Feistel structure. The block length of the Feistel structure is 128 bits, the key length is 128 bits, and a total of 8 rounds of iteration are performed. In each round of iteration, a new key is calculated using the key expansion method.

4. The method for migrating encrypted design data according to claim 3, wherein In the Feistel structure adopted by the CipherKFS algorithm, its sub-encryption structure encrypts 4 F functions using the same 32-bit key, and introduces an S substitution box into the F function; Among them, the input of the F function is 32-bit data, which is input into a 16×16 S substitution box byte by byte for replacement operation; among them, the high 4 bits of the byte are used as the row index, the low 4 bits are used as the column index, and the result after replacement is XORed with the 32-bit key; then, the result is circularly shifted left by 1 bit, that is, the highest bit of byte 3 is moved to the lowest bit of byte 0; finally, the calculation result is used as the output of the F function.

5. The method for migrating encrypted design data according to claim 1, wherein Also including: Transmit the decrypted design files to the target system using customized QUIC; The customized QUIC is a transport protocol based on the UDP protocol; When performing file transmission, adopt custom processing of the UDP protocol header, set the first 3 bits of the header as the file type flag bit, the 4th to 7th bits of the header as the information length position, and the last 4 bits of the message as the end bit.

6. The method for migrating encrypted design data according to claim 1, wherein, In file dictionary management, the hash calculation of the file directories before and after migration to generate a hash dictionary, and the use of a timing calculator to execute in a loop to check whether files have changed, been added or deleted, includes: Traverse the first file directory, generate the hash value of each file, and save the file path and the corresponding hash value into a dictionary; Traverse the second file directory and generate the hash value of each file; Compare the hash value of each file in the second file directory with the hash value saved in the first file directory; if the file does not exist in the first file directory, it means that this file is newly added in the second file directory, and record the file path as a difference; if the file exists in the first file directory but has a different hash value from that in the second file directory, it means that this file has changed in the second file directory, and record the file path as a difference.

7. The method for migrating encrypted design data according to claim 1, wherein The comparison method that compares according to the file size at a set frequency includes: Traverse the remaining files in the first file directory. If the corresponding file path cannot be found in the second file directory, it means that these files have been deleted in the second file directory, and record these file paths as differences. If the corresponding file is found in the second file directory but the hash values are different, record these file hashes as differences.

8. The method for migrating encrypted design data according to claim 7, wherein When monitoring the change of design data, the smaller the file, the higher the comparison frequency; the set frequency includes at least 1s, 5s, 10s, 1min, 5min, 10min.

9. A migration system for encrypting design data, characterized in that, It includes: A data parsing module for reading the database of the migrated system, parsing the design data, and extracting design files and data relationships. The design files include graphic information and encrypted files, and the data relationships include project information and business information; A decryption module for judging the decryption scheme of the design file and using the encryption and decryption engine composed of a password library to select the corresponding decryption scheme to perform file decryption processing on the design file; A file migration module for transmitting the decrypted design file to the target system using customized QUIC; An encryption module for encrypting the design file transmitted to the target system; A data association module for establishing an association relationship between the design file and the data relationship in the target system according to the data relationship extracted by the data parsing module; among them, the design file is associated with the corresponding project information and business information, so as to realize the classified management and query of the design file by the user with the project or business as the operation unit; A monitoring and synchronization module for calculating the hash of the file directories before and after migration to generate a hash dictionary, and using a timing calculator to execute in a loop to check whether the file has changed, been added or deleted; and with the support of the file dictionary management function, compare according to the file size at a set frequency, monitor the change of design data in real time, and trigger the synchronization mechanism when the change of design data is detected to update the design data stored in the target system in real time; A file storage module for storing the design files in an orderly manner and performing asynchronous reading and writing; A file preview module for online browsing of a single design file; A folder online packaging module for online packaging of multiple design files into a folder.

10. The migration system for encrypting design data according to claim 9, characterized in that, It also includes: A database for storing design data, encrypted files, and the association information of project and business data; User interface, which provides an interface for users to interact with the system. Users can perform at least file migration, decryption, and data query operations through the user interface. The user interface includes a data association relationship management terminal and a design file management terminal. The data association relationship management terminal provides functions such as project data relationship sorting, project file searching, project number querying, project list querying, project attribution library querying, project file backup, project file deletion, file quantity statistics, file operation records, and file change details records. The design file management terminal provides functions such as file decryption, file archiving, single file download, and online file package download.

Citation Information

Patent Citations

  • Hash chain construction and file data synchronization method, device and system

    CN113114749A

  • Road design data collaborative management method and management system based on BIM + GIS platform

    CN113177251A

  • Factory full-life-cycle data management method and electronic equipment

    CN114722055A

  • Survey cloud disk based on block chain asymmetric encryption algorithm

    CN116610333A