A method and system for processing engineering project archives

By dividing paragraphs and mapping the reversible hash function of engineering project archives, the refined problem of archive permission management is solved, and fine-grained access control and security improvement is achieved.

CN120198082BActive Publication Date: 2025-08-22ETS VISION (BEIJING) TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510671632.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2025-08-22
Estimated Expiration
2045-05-23

AI Technical Summary

Technical Problem

In the prior art, it is difficult to refine the authority management of engineering project archives into paragraphs, resulting in repeated desensitization and restructuring burdens when circulating between multiple departments, and the authority control is not refined enough.

Method used

By dividing the archives in paragraphs, the unique identifier of each segment is determined, and a reversible hash function is used to establish a mapping, build a lookup table, and fine-grained permission management and security control are realized.

Benefits of technology

It improves the security and collaboration of archive usage, prevents unnecessary data exposure, ensures that the access scope of each user object is not leaked, and improves the security and collaboration efficiency during archive usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120198082B_ABST
    Figure CN120198082B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of archive processing technology, and in particular relates to a method and system for processing engineering project archives, the method comprising: obtaining archives of the engineering project, configuring attribute data of each archive, wherein the attribute data at least includes: archive number and generation time, setting an arrangement order, integrating the attribute data, generating an original string, editing a segmentation rule, and segmenting the original string into a plurality of arrays; dividing the archive into paragraphs to obtain a plurality of segments, and in each segment, finding the characters corresponding to the array, integrating to obtain a unique identifier for each segment, determining the user of the archive, and clustering the user into a plurality of categories. By determining the root value, the present invention effectively ensures that the access scope of each user will not be leaked, can prevent the archive from being tampered with while achieving fine-grained access control, and greatly improves the security of the archive processing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of file processing, and in particular to a method and system for processing engineering project files. Background Art

[0002] Engineering project archives refer to the sum of important information generated during the implementation of an engineering project, which records and reflects project approval, survey and design, construction, completion acceptance and operation management in various media such as text, drawings, tables and photos; these archives include both technical documents, such as design drawings, construction plans, quality inspection reports and completion drawings, as well as management documents, such as contract agreements, meeting minutes, progress reports, financial information and various approval documents.

[0003] However, some files may contain both confidential information and public data. For example, a contract may contain confidentiality clauses and general clauses. Sections such as "project cost" and "liability for breach of contract" in the confidentiality clauses must be hidden from subcontractors or the public, but "construction scope" and "construction period requirements" must be open to the public. In the existing technology, such files are generally disclosed by masking confidential information or splitting it into two documents. However, when such files need to be circulated within multiple departments, different departments have different permissions. The above method has great limitations, and permission control is difficult to refine. There is a burden of repeated desensitization and reorganization during the circulation process.

[0004] Therefore, “how to refine authority management to paragraphs” is the technical problem that the present invention needs to solve. Summary of the Invention

[0005] The purpose of the present invention is to provide a method and system for processing engineering project archives to solve the problem of "how to refine authority management to paragraphs" raised in the above background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A method for processing engineering project archives, the method comprising:

[0008] Obtaining the archives of the engineering project, configuring the attribute data of each archive, wherein the attribute data includes at least: the archive number and the generation time, setting the arrangement order, integrating the attribute data, generating the original string, editing the segmentation rules, and segmenting the original string into a plurality of arrays;

[0009] The file is divided into paragraphs to obtain a plurality of segments, and in each segment, the characters corresponding to the array are searched and integrated to obtain a unique identifier for each segment, and the user of the file is determined. The user objects are clustered into a plurality of categories, and according to a preset permission management rule, the unique identifiers corresponding to the segments that can be called by each category are traversed and defined as available identifiers, wherein each segment corresponds to an available identifier, and a segment 1 identifier, a segment 2 identifier, ..., a segment N identifier are determined;

[0010] A reversible hash function is selected to hash the segment one identifier to obtain a first hash value, the first hash value and the segment two identifier are integrated, and hashing is continued to obtain a second hash value, and so on, to obtain the Nth hash value, recorded as the root value, and a mapping is established between the original string, the category and the root value. Using the mapping, a query table is constructed, and the label generated by the category is inserted.

[0011] Furthermore, the segmentation rule is: in the original string, in order from left to right, divide out a shortest number, and gradually divide it to the right, wherein the newly divided number is larger than the previous number.

[0012] Furthermore, the steps of setting the arrangement order, integrating the attribute data, and generating the original string include:

[0013] Counting the number of arrays, adjusting the arrangement order, updating the number, and defining the arrangement order with the largest number as the target order;

[0014] The risk level of the file is set, and the arrangement order and the original string are dynamically adjusted.

[0015] Furthermore, the step of dividing the file into sections to obtain a plurality of segments, and finding the characters corresponding to the array in each segment includes:

[0016] Selecting private data from the archive and defining it as a new segment;

[0017] The archives are centrally managed and an identity authentication mechanism is established.

[0018] Furthermore, the steps of determining the users of the archive and clustering the users into several categories according to preset rights management rules include:

[0019] Based on the categories and permission management rules, clustering the segments into callable segments and unauthorized segments, and masking the unauthorized segments;

[0020] Integrate all callable segments, generate an authorization data pool, and issue call permissions to the corresponding users.

[0021] Furthermore, the step of traversing and obtaining the unique identifiers corresponding to the segments that can be called by each category and defining them as available identifiers includes:

[0022] Determine whether the same unique identifier exists in the query table, and if so, insert an additional item into the attribute data and update the original string;

[0023] Determine the call records of each file and generate access logs.

[0024] Furthermore, the steps of establishing a mapping between the original string, the category, and the root value, using the mapping to construct a lookup table, and inserting the label generated by the category include:

[0025] Building a distributed storage architecture consisting of cloud and local nodes, uploading the archive to the cloud, and migrating the query table to the local node;

[0026] A replacement mechanism for the reversible hash function is created, and the lookup table is updated.

[0027] Furthermore, the system includes:

[0028] A segmentation module is used to obtain the archives of the engineering project, configure the attribute data of each archive, wherein the attribute data includes at least: the archive number and the generation time, set the arrangement order, integrate the attribute data, generate the original string, edit the segmentation rules, and segment the original string into a number of arrays;

[0029] a determination module for dividing the archive into paragraphs to obtain a plurality of segments, and in each segment, searching for characters corresponding to an array, integrating them to obtain a unique identifier for each segment, determining users of the archive, and clustering the users into a plurality of categories. Based on preset rights management rules, the module traverses the unique identifiers corresponding to the segments that can be called by each category, defining them as available identifiers, wherein each segment corresponds to an available identifier, and determining a segment 1 identifier, a segment 2 identifier, ..., a segment N identifier;

[0030] An insertion module is used to select a reversible hash function, hash the segment 1 identifier to obtain a first hash value, integrate the first hash value and the segment 2 identifier, and continue hashing to obtain a second hash value, and so on, to obtain the Nth hash value, recorded as the root value, establish a mapping between the original string, the category and the root value, use the mapping to construct a query table, and insert the label generated by the category.

[0031] Furthermore, the segmentation module includes:

[0032] a counting unit, configured to count the number of arrays, adjust the arrangement order, update the number, and define the arrangement order with the largest number as a target order;

[0033] The setting unit is used to set the risk level of the file and dynamically adjust the arrangement order and the original string.

[0034] Furthermore, the determining module includes:

[0035] A definition unit, configured to select private data from the archive and define the data as a new segment;

[0036] A management unit for centrally managing the archives and establishing an identity authentication mechanism;

[0037] a masking unit, configured to cluster the segments into callable segments and unauthorized segments according to the categories and permission management rules, and mask the unauthorized segments;

[0038] The issuing unit is used to integrate all callable segments, generate an authorization data pool, and issue calling permissions to the corresponding users;

[0039] An updating unit, configured to determine whether the same unique identifier exists in the query table, and if so, insert an additional item into the attribute data and update the original string;

[0040] The generating unit is used to determine the call record of each archive and generate an access log.

[0041] Compared with the prior art, the present invention has the following beneficial effects:

[0042] By determining the unique identifier of each segment, it is convenient to index the segments and improve the search efficiency. At the same time, the permission management can be refined to specific paragraphs to prevent unnecessary data exposure and improve the security of archive use. By determining the available identifier, the parts that can be called by different users can be determined in the same archive, which facilitates multiple users to collaborate without interfering with each other's responsibilities, thereby improving the collaboration and sharing efficiency of archive use. By determining the root value, it is effectively guaranteed that the access scope of each user will not be leaked. While achieving fine-grained access control, it can prevent the archive from being tampered with, greatly improving the security of the archive use process. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A flowchart of a method for processing engineering project files provided by an embodiment of the present invention;

[0044] Figure 2 A first sub-flow diagram of a method for processing engineering project files provided in an embodiment of the present invention;

[0045] Figure 3 A second sub-flow diagram of the method for processing engineering project files provided in an embodiment of the present invention;

[0046] Figure 4 A third sub-flow diagram of the method for processing engineering project files provided in an embodiment of the present invention;

[0047] Figure 5 A block diagram of a system for processing project files according to an embodiment of the present invention;

[0048] Figure 6 A block diagram of the composition of a segmentation module in a system for processing engineering project archives provided by an embodiment of the present invention;

[0049] Figure 7 A block diagram of the composition of a determination module in a system for processing engineering project archives provided by an embodiment of the present invention;

[0050] Figure 8 This is a block diagram of the components of the insertion module in the engineering project archive processing system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0052] In Example 1, Figure 1 The following is a flow chart of a method for processing project files according to an embodiment of the present invention, which is described in detail as follows:

[0053] S100: Obtain the archives of the project, configure the attribute data of each archive, wherein the attribute data at least includes: archive number and generation time, set the arrangement order, integrate the attribute data, generate the original string, edit the segmentation rules, and segment the original string into several arrays.

[0054] Identify the files that need paragraph permission management, and determine the attribute data of each file. The attribute data includes but is not limited to the file number and generation time. The "file number" is the unique identification code of the file for fast retrieval and indexing, and the "generation time" is used to record the specific time point of file generation. The attribute data may also include: the last use time and the number of file pages, etc. The attribute data must contain numbers; according to the arrangement order, integrate the attribute data and generate the original string. The arrangement order needs to be determined after multiple tests. The specific testing process is as follows As mentioned above, the original string is the original character string, which is composed of several numbers. For example, the file number of a certain file is: ENG-PJ2024-001-A01, and the generation time is: 2024-09-15, 14:11:00. Extract the numbers and get 2024, 001, 01, 2024, 09, 15, 14, 11 and 00. If the arrangement order is file number first and generation time last, then combine these numbers to get the original string, that is, 20240010120240915141100.

[0055] According to the segmentation rule, that is, in order from left to right, divide out a shortest number and gradually divide to the right, where the newly divided number is larger than the previous number; divide the original string into several arrays. For example, the above original string is segmented to obtain 2, 24, 101, 202, 409, 1514 and 1100; if the last array is smaller than the previous array, delete the last array, and finally obtain 6 arrays of 2, 24, 101, 202, 409 and 1514.

[0056] According to the above arrangement order, that is, the arrangement order of file number first and generation time last, 6 arrays are obtained. If the order of the two is reversed, that is, the generation time is first and the file number is last, 8 arrays can be obtained. The final arrangement order is determined to be the latter, that is, the generation time is first and the file number is last; in other words, the arrangement order with the most arrays is determined as the final arrangement order.

[0057] S200: Divide the file into paragraphs to obtain several segments, and in each segment, find the characters corresponding to the array, integrate them to obtain a unique identifier for each segment, determine the user of the file, and cluster the user objects into several categories. According to preset permission management rules, traverse the unique identifiers corresponding to the segments that can be called by each category, and define them as available identifiers, wherein each segment corresponds to an available identifier, and determine the segment 1 identifier, segment 2 identifier, ..., segment N identifier.

[0058] Divide the file into paragraphs according to the order of natural paragraphs to obtain several segments. Specifically, pictures and tables can be regarded as a segment. In each segment, find the characters corresponding to each array, splice them according to the original order of the array, and integrate them to obtain a continuous string, which is defined as a unique identifier.

[0059] For example, continuing to describe the example in S100 above in detail, in each segment, the 2nd, 24th, 101st, 202nd, 409th and 1514th characters are found, and the found characters are combined to obtain a unique identifier; in this process, if the characters in a segment are less than 1514, a loop counting is performed until the corresponding characters are determined.

[0060] Determine the users of each segment, determine which personnel, positions or departments have the right to use the corresponding segments, and divide the users into several categories, such as "management level", "executive level" and "financial level". Through the preset permission management rules, determine the permissions of each category for different segments. For example, the permission management rules are: management level can call all segments, executive level can only call segments related to its work content, and financial level can only call finance-related segments. Furthermore, how to determine the type of data contained in each segment can be determined through a natural language processing model.

[0061] In each archive, the segments that can be called by each category are determined, and the unique identifier corresponding to the segment is defined as an available identifier; in other words, in an archive, each category corresponds to multiple available identifiers; according to the order of the natural segments, these available identifiers are named segment one identifier, segment two identifier, and so on.

[0062] For example, in file A, financial personnel can only call up paragraphs 1, 22, 45, and 46. The unique identifier corresponding to paragraph 1 is the segment 1 identifier, the unique identifier corresponding to paragraph 22 is the segment 2 identifier, the unique identifier corresponding to paragraph 45 is the segment 3 identifier, and so on.

[0063] S300: Select a reversible hash function, hash the segment 1 identifier to obtain a first hash value, integrate the first hash value and the segment 2 identifier, and continue hashing to obtain a second hash value, and so on, to obtain the Nth hash value, recorded as the root value, establish a mapping between the original string, category and root value, use the mapping to build a query table, and insert the label generated by the category.

[0064] A reversible hash function is selected to hash the segment 1 identifier to obtain a first hash value, the segment 2 identifier is appended to the end of the first hash value, and hashing is continued to obtain a second hash value. Using this sequential hashing method, hashing is performed in sequence to integrate the segment N identifier with the N-1th hash value, and hashing is continued to obtain the Nth hash value, and the Nth hash value is defined as the root; a query table is constructed, where the query table should include: category items, root items, and original string items.

[0065] It should be noted that a reversible hash function is a special hash function, similar to a mapping function, which can establish a correspondence between character strings; for example, a string X consists of 30 digits, which are input into a reversible hash function to calculate Y, thereby establishing a correspondence between X and Y; specifically in this application, using the Nth hash value in combination with the reversible hash function, the N-1th hash value and the segment N identifier can be calculated, and continuing to use the N-1th hash value and the reversible hash function, the N-2th hash value can be calculated, and so on, all available identifiers can be restored; the advantage of this is that the user only needs to use the Nth hash value to determine which segments it can call.

[0066] For example, taking the example in S200 as a premise, the financial personnel wants to call the content of the 31st paragraph of file A. First, determine the category of the financial personnel, traverse the query table, find the corresponding root, use the root and reversible hash function, according to the above-mentioned backtracking method, restore all the available identifiers of the financial personnel, use the original string and available identifiers to locate all the segments that the financial personnel can call, and issue the calling permissions of the corresponding segments to them, thereby completing the fine-grained permission management of the file.

[0067] In Example 2, different from Example 1, in the embodiment of the present invention, the segmentation rule is: in the original string, in order from left to right, divide out a shortest number, and gradually divide it to the right, wherein the newly divided number is larger than the previous number.

[0068] According to the segmentation rules, the original string is segmented to obtain several arrays. If the remaining numbers after segmentation are smaller than the last array, the remaining numbers are deleted.

[0069] In Example 3, Figure 2 The following illustrates the implementation process of the method for processing project files provided by an embodiment of the present invention. The steps of setting the arrangement order, integrating the attribute data, and generating the original string are described in detail as follows:

[0070] S101: Count the number of arrays, adjust the arrangement order, update the number, and define the arrangement order with the largest number as the target order.

[0071] Calculate the number of arrays corresponding to each arrangement sequence, determine the arrangement sequence with the largest number as the target sequence, and use the target sequence to split the original string.

[0072] S102: Setting the risk level of the file and dynamically adjusting the arrangement order and the original string.

[0073] Determine the risk level of each file, where the risk level can be high, medium, and low. If the risk level is high, adjust the arrangement order regularly to obtain a new original string and array to prevent array leakage, further reduce the risk of file leakage, and improve file security.

[0074] In Example 4, Figure 3 The implementation process of the method for processing a project file provided by an embodiment of the present invention is shown. The following details the steps of dividing the file into sections to obtain a plurality of segments, and finding the characters corresponding to the array in each segment, as follows:

[0075] S201: Select private data from the archive and define it as a new segment.

[0076] In the archive, find out the privacy data and treat it as a new segment. For example, if there is privacy data in the 33rd segment of a certain archive B, and the privacy data can be personnel configuration, name, and ID number, etc., then the privacy data will be treated as a new segment. In other words, the privacy data in the 33rd segment is defined as the 34th segment.

[0077] S202: Centrally manage the files and build an identity authentication mechanism.

[0078] Upload files to the cloud or a certain node for centralized management; build an authentication mechanism using methods such as passwords, biometrics, and encryption tokens; only after the user passes the verification can a request to call a certain file be initiated. The benefit of this is that it can further reduce the risk of data leakage of the file.

[0079] In Example 5, Figure 3 The implementation process of the method for processing project archives provided by an embodiment of the present invention is shown. The following details the steps of determining the user objects of the archives, clustering the user objects into several categories, and applying preset rights management rules, as follows:

[0080] S203: Based on the categories and the permission management rules, cluster the segments into callable segments and unauthorized segments, and mask the unauthorized segments.

[0081] After determining the segments that the user can call, the calling permission is issued to the user. During the calling process, the unauthorized segments are masked.

[0082] S204: Integrate all callable segments, generate an authorization data pool, and issue call permissions to corresponding users.

[0083] The set of callable segments of the user object is defined as the authorized data pool, and the calling permission of the authorized data pool is issued to the user object.

[0084] In Example 6, Figure 3 The implementation process of the method for processing engineering project archives provided by an embodiment of the present invention is shown. The steps of traversing the unique identifiers corresponding to the segments that can be called by each category and defining them as available identifiers are described in detail as follows:

[0085] S205: Determine whether the same unique identifier exists in the query table. If so, insert an additional item into the attribute data and update the original string.

[0086] If the same unique identifier exists in the query table, an additional item is inserted into the attribute data, where the additional item can be the last use time and the number of archive pages, so that the same unique identifier does not exist in the query table; after determining the additional item, the original string is updated.

[0087] S206: Determine the call record of each file and generate an access log.

[0088] After using the object call segmentation, the corresponding unique identifier is recorded to obtain the call record, the generation time of each call record is determined, and the access log is generated.

[0089] In Example 7, Figure 4 The following illustrates an implementation flow of a method for processing project archives provided by an embodiment of the present invention. The following details the steps of establishing a mapping between the original string, category, and root value, using the mapping to construct a query table, and inserting a label generated by the category.

[0090] S301: Build a distributed storage architecture consisting of cloud and local nodes, upload the archive to the cloud, and migrate the query table to the local node.

[0091] Archives can be stored in the cloud, and query tables and permission management rules can be stored in local nodes. In addition, backup strategies can be configured in the cloud, and edge computing modules can be added to local nodes to achieve secure access and local processing of archives through identity authentication, permission control, and access log recording. A distributed storage architecture refers to a storage architecture that stores archives and related data in different locations.

[0092] S302: Create a replacement mechanism for the reversible hash function and update the query table.

[0093] The replacement mechanism is: replace the reversible hash function at a preset frequency; when a reversible hash function has been used for a period of time, replace it with a new reversible hash function and update the query table; the advantage of this is that it can prevent the query table from being leaked; if the query table is not leaked, when the archive flows between different users, a user object can find the segments that can be called by using the root of its category, but any user object does not know the segments that can be called by other users, thereby reducing the risk of internal leakage of archives and preventing the expansion of calling permissions.

[0094] Figure 5 The following is a structural block diagram of a system for processing engineering project archives according to an embodiment of the present invention. The system 1 for processing engineering project archives includes:

[0095] The segmentation module 11 is used to obtain the archives of the engineering project, configure the attribute data of each archive, wherein the attribute data includes at least the archive number and the generation time, set the arrangement order, integrate the attribute data, generate the original string, edit the segmentation rules, and segment the original string into a plurality of arrays;

[0096] The determination module 12 is configured to divide the archive into paragraphs to obtain a plurality of segments, and in each segment, find the characters corresponding to the array, integrate them to obtain a unique identifier for each segment, determine the user of the archive, and cluster the user into a plurality of categories. Based on preset rights management rules, the module traverses the unique identifiers corresponding to the segments that can be called by each category, defining them as available identifiers, wherein each segment corresponds to an available identifier, and determines a segment 1 identifier, a segment 2 identifier, ..., a segment N identifier;

[0097] The insertion module 13 is used to select a reversible hash function, hash the segment 1 identifier to obtain a first hash value, integrate the first hash value and the segment 2 identifier, and continue hashing to obtain a second hash value, and so on, to obtain the Nth hash value, recorded as the root value, establish a mapping between the original string, the category and the root value, use the mapping to construct a query table, and insert the label generated by the category.

[0098] Figure 6 The following is a structural block diagram of a system for processing project archives according to an embodiment of the present invention. The segmentation module 11 includes:

[0099] A counting unit 111 is configured to count the number of arrays, adjust the arrangement order, update the number, and define the arrangement order with the largest number as a target order;

[0100] The setting unit 112 is used to set the risk level of the file and dynamically adjust the arrangement order and the original string.

[0101] Figure 7 The following is a structural block diagram of a system for processing engineering project archives according to an embodiment of the present invention. The determining module 12 includes:

[0102] A definition unit 121, configured to select private data from the archive and define it as a new segment;

[0103] A management unit 122, configured to centrally manage the archives and establish an identity authentication mechanism;

[0104] a masking unit 123, configured to cluster the segments into callable segments and unauthorized segments according to the categories and permission management rules, and mask the unauthorized segments;

[0105] The issuing unit 124 is used to integrate all callable segments, generate an authorization data pool, and issue calling permissions to corresponding users;

[0106] An updating unit 125 is configured to determine whether the same unique identifier exists in the query table, and if so, insert an additional item into the attribute data to update the original string;

[0107] The generating unit 126 is configured to determine the call record of each archive and generate an access log.

[0108] Figure 8 The following is a structural block diagram of a system for processing engineering project archives according to an embodiment of the present invention. The insertion module 13 includes:

[0109] A migration unit 131 is used to build a distributed storage architecture consisting of cloud and local nodes, upload the archive to the cloud, and migrate the query table to the local node;

[0110] The replacement unit 132 is configured to create a replacement mechanism for the reversible hash function and update the query table.

[0111] The segmentation module 11 is mainly used to complete step S100, the determination module 12 is mainly used to complete step S200, and the insertion module 13 is mainly used to complete step S300;

[0112] The statistics unit 111 is mainly used to complete step S101, and the setting unit 112 is mainly used to complete step S102;

[0113] The definition unit 121 is mainly used to complete step S201, the management unit 122 is mainly used to complete step S202, the mask unit 123 is mainly used to complete step S203, the issuing unit 124 is mainly used to complete step S204, the updating unit 125 is mainly used to complete step S205, and the generating unit 126 is mainly used to complete step S206;

[0114] The migration unit 131 is mainly used to complete step S301, and the replacement unit 132 is mainly used to complete step S302.

[0115] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0116] The above-described embodiments merely illustrate several implementations of the present invention, and while their descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make numerous variations and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

[0117] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for processing engineering project archives, characterized in that: The method comprises: Obtaining the archives of the engineering project, configuring the attribute data of each archive, wherein the attribute data includes at least: the archive number and the generation time, setting the arrangement order, integrating the attribute data, generating the original string, editing the segmentation rules, and segmenting the original string into a plurality of arrays; The file is divided into paragraphs to obtain a plurality of segments, and in each segment, the characters corresponding to the array are searched and integrated to obtain a unique identifier for each segment, and the user of the file is determined. The user objects are clustered into a plurality of categories, and according to a preset permission management rule, the unique identifiers corresponding to the segments that can be called by each category are traversed and defined as available identifiers, wherein each segment corresponds to an available identifier, and a segment 1 identifier, a segment 2 identifier, ..., a segment N identifier are determined; Select a reversible hash function, hash the segment 1 identifier to obtain a first hash value, combine the first hash value and the segment 2 identifier, and continue hashing to obtain a second hash value, and so on, to obtain the Nth hash value, recorded as the root value, establish a mapping between the original string, the category and the root value, use the mapping to construct a lookup table, and insert the label generated by the category; The segmentation rule is: in the original string, in order from left to right, divide out a shortest number, and gradually divide it to the right, wherein the newly divided number is larger than the previous number; The steps of establishing a mapping between the original string, the category, and the root value, using the mapping to construct a lookup table, and inserting the label generated by the category include: Building a distributed storage architecture consisting of cloud and local nodes, uploading the archive to the cloud, and migrating the query table to the local node; A replacement mechanism for the reversible hash function is created, and the lookup table is updated.

2. The method for processing engineering project files according to claim 1, characterized in that: The steps of setting the arrangement order, integrating the attribute data, and generating the original string include: Counting the number of arrays, adjusting the arrangement order, updating the number, and defining the arrangement order with the largest number as the target order; The risk level of the file is set, and the arrangement order and the original string are dynamically adjusted.

3. The method for processing engineering project files according to claim 2, characterized in that: The step of dividing the file into sections to obtain a plurality of segments and finding the characters corresponding to the array in each segment includes: Selecting private data from the archive and defining it as a new segment; The archives are centrally managed and an identity authentication mechanism is established.

4. The method for processing engineering project files according to claim 1, characterized in that: The steps of determining the user objects of the archive and clustering the user objects into several categories according to preset rights management rules include: Based on the categories and permission management rules, clustering the segments into callable segments and unauthorized segments, and masking the unauthorized segments; Integrate all callable segments, generate an authorization data pool, and issue call permissions to the corresponding users.

5. The method for processing engineering project files according to claim 1, characterized in that: The step of traversing and obtaining the unique identifiers corresponding to the segments that can be called by each category and defining them as available identifiers includes: Determine whether the same unique identifier exists in the query table, and if so, insert an additional item into the attribute data and update the original string; Determine the call records of each file and generate access logs.

Citation Information

Patent Citations

  • Archive electronization intelligent management system and method

    CN110852699A

  • Archive information data management system based on limited access

    CN117150553A

  • System and method for transforming documents for publishing electronically

    US20110296291A1