An ai-based enterprise internal project integration management system and method
By combining hash chain verification and multi-level Bloom filters, a globally unique project data version sequence is generated, which solves the problems of unreliable versions and low conflict handling efficiency when importing multi-source data, and realizes efficient and secure enterprise project data integration and management.
Patent Information
- Application Number
- CN202611385014.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-20
AI Technical Summary
Existing enterprise project data integration solutions struggle to achieve strong verification and binding of version records and data content when importing data from multiple sources. This results in unreliable version sequences, low efficiency in handling duplicate entries and conflicting content, inability to efficiently trace data change history, and severe performance degradation under high throughput scenarios.
A hash chain verification algorithm is used to generate a globally unique sequence of project data versions. A multi-level Bloom filter is used to identify duplicates and mark conflicts. Combined with the project-wide association graph, a differentiated data view is constructed to achieve real-time data aggregation, hierarchical processing, and secure distribution.
It achieves immutable traceability of data versions, improves the efficiency and accuracy of identifying duplicates and conflicts, ensures the accuracy and security of data integration, and adapts to the needs of enterprise project management in high-throughput scenarios.
Smart Images

Figure CN123140876A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of enterprise data management and artificial intelligence technology, specifically to an AI-based enterprise internal project integration management system and method. Background Technology
[0002] Enterprises typically manage multiple projects simultaneously, with various project management systems, document repositories, email servers, and other data sources continuously generating structured and unstructured documents. To achieve global control, it's necessary to integrate this scattered project data into a unified view. Existing integration solutions often employ timed batch extraction or single adapter synchronization, identifying versions after data aggregation using timestamps or incrementing sequence numbers. This approach lacks strong validation between version records and data content. When abnormal writes or mid-process modifications occur, inconsistencies are difficult to detect from the version sequence itself. Tracing data change history relies solely on log records, which themselves may be modified. Furthermore, the influx of multi-source data inevitably introduces duplicate entries and conflicting content. Traditional methods rely on single hash comparisons or full-field matching for deduplication. Hash collisions and missing fields easily lead to missed detections, and full-field matching suffers severe performance degradation with massive amounts of project data, failing to perform layered processing of suspected conflicting data, resulting in unreliable deduplication results. Conflicting data is directly overwritten or discarded, losing the opportunity for correction. Therefore, how to construct a verifiable version chain that is tightly bound to the data content, and how to efficiently and hierarchically process duplicate and conflicting data in high-throughput data integration scenarios, have become urgent problems to be solved. Summary of the Invention
[0003] This invention provides an AI-based enterprise internal project integration management system and method, aiming to achieve tamper-proof traceability of version sequences during the import of multi-source project data, and to improve the efficiency and accuracy of duplicate item identification and conflict item marking by using a multi-level filtering mechanism, thereby outputting differentiated integrated views for different management roles.
[0004] To achieve the above objectives, the present invention provides the following technical solution: The present invention provides an AI-based enterprise internal project integration management method, comprising: In response to data update events triggered by multiple project data sources, the event hub service integrates structured project fields and unstructured project documents pushed by each data source into the raw data pool, achieving real-time aggregation and fusion of multi-source heterogeneous project data. Based on the source identifier and timestamp of each data object in the original data pool, a globally unique project data version sequence is generated using a hash chain verification algorithm. This project data version sequence is used as the data index base for all subsequent processing steps, and the traceability and tamper-proof nature of the data version are ensured by relying on chain hash association. Using the data index base as input, a multi-level Bloom filter is used to identify duplicate items and mark conflict items in the project data in the original data pool, resulting in a standard data set of projects that has been deduplicated and marked for conflict. This reduces redundant storage while automatically discovering and marking data conflicts. The project standard data set is divided into a core management data layer and an auxiliary reference data layer according to the preset project dimensions. A project global association graph is constructed based on the core management data layer. Nodes in the project global association graph represent project entities, and edges represent the dependency or reference relationship between entities, thereby establishing a visual expression basis for the relationship between projects. When a project integration instruction is received, a differentiated data view for different project management roles is generated based on the project global association map and the auxiliary reference data layer. The differentiated data view is then encapsulated into a data response package with a unified output interface to achieve accurate data presentation and secure distribution based on role permissions.
[0005] As a preferred embodiment of the present invention, the step of unifying the structured project fields and unstructured project documents pushed by various data sources into the original data pool through the event hub service includes: configuring an independent listening port and protocol parsing template for each project data source in the event hub service; when any project data source generates a data update event, the listening port captures the updated data and extracts the data payload according to the corresponding protocol parsing template; the event hub service determines whether the data payload is a structured project field or an unstructured project document based on the data type identifier carried by the data payload; if it is a structured project field, its field name and field value are directly written into the key-value storage area of the original data pool; if it is an unstructured project document, the document preprocessing unit is called to normalize the format and mark the page numbers of the unstructured project document, and then the normalized document content is stored in the document storage area of the original data pool in the form of a binary large object; after completing the write operation, the event hub service pushes an index notification containing the data object storage location and write timestamp to the management queue of the original data pool, and updates the global data change log according to the index notification. This solution unifies and standardizes data from different sources and formats, improving the compatibility and completeness of data import.
[0006] As a further improvement of the present invention, the step of generating a globally unique project data version sequence using a hash chain verification algorithm includes: extracting all index notifications in chronological order from the management queue of the original data pool; concatenating the storage location of the data object corresponding to each index notification and the write timestamp into an original string; performing a one-way hash calculation on the original string using a hash function to obtain a first hash value; concatenating the first hash value with the tail hash value of the current project data version sequence; performing a one-way hash calculation on the concatenated result to obtain a second hash value; and appending the second hash value as a new tail hash value to the end of the project data version sequence; after each append operation, persistently storing the current complete linked list head address and tail hash value of the project data version sequence in a version registration table, and binding the update timestamp of the version registration table with the tail hash value. Through chain hash verification, an immutable version evidence chain is formed, making any data change traceable and verifiable.
[0007] As another preferred embodiment of the present invention, the step of using multi-level Bloom filters to identify duplicate items and mark conflict items in the project data of the original data pool includes: reading the current complete linked list head address from the version registration table, traversing the project data in the original data pool according to the linked list head address, and sequentially inputting the unique identifier field of each traversed project data into the first-level Bloom filter and the second-level Bloom filter; when the query results of both Bloom filters indicate that the unique identifier field does not exist, it is added to the bit array of the two Bloom filters respectively and marked as a new record; when the query result of the first-level Bloom filter indicates that it exists but the query result of the second-level Bloom filter indicates that it does not exist, the unique identifier field is added to the bit array of the second-level Bloom filter and marked as a duplicate candidate record, which is then submitted to the conflict arbitration queue for manual or rule-based adjudication; when the query results of both Bloom filters indicate that it exists, the stored historical records are extracted according to the unique identifier field, and compared with the current project data field by field. If they are completely consistent, they are discarded; if they are inconsistent, they are marked as conflict records and written to the conflict record table. Using multi-level Bloom filters for rapid screening greatly reduces the computational overhead of full comparison, while also enabling tiered handling of potential conflicts.
[0008] Based on the above scheme, the conflict arbitration queue is equipped with a conflict record priority scoring mechanism. The arbitration priority is calculated according to the weight of the project data source and the importance of the fields involved in the conflict record, and the conflict records are pushed to the manual adjudication interface in descending order of priority to ensure that high-value and high-weight data conflicts are processed first.
[0009] As a specific embodiment of the present invention, the step of dividing the project standard data set into a core management data layer and an auxiliary reference data layer according to preset project dimensions includes: obtaining a preset project dimension configuration table, which defines several core dimension identifiers belonging to the core management data layer and several auxiliary dimension identifiers belonging to the auxiliary reference data layer; traversing each piece of project data in the project standard data set, extracting the dimension tags carried by each piece of project data, classifying project data whose dimension tags match any core dimension identifier into the core management data layer, and classifying project data whose dimension tags match any auxiliary dimension identifier into the auxiliary reference data layer; for project data whose dimension tags do not match any identifier in the project dimension configuration table, temporarily storing them in a classification buffer, and automatically completing the dimension tags by reading the source identifier and project name of the project data in the original data pool before re-performing the classification operation. This dimension division mechanism ensures the orderly organization of project data and provides a clear data layering foundation for subsequent map construction and view generation.
[0010] As a further improvement of the present invention, the construction of a project-wide association graph based on the core management data layer includes: extracting all project entity records from the core management data layer, using the unique project number in each project entity record as the graph node identifier, and storing the project name, department, and responsible person fields as node attributes; extracting the dependency or reference relationship between any two project entity records according to the task allocation table and document reference relationship table in the core management data layer, recording the relationship as an edge in the graph edge table, and constructing an initial graph topology structure accordingly; traversing the auxiliary reference data layer, extracting email records and meeting minutes records that have the same project number as the project entity records in the core management data layer, and attaching the email records and meeting minutes records as additional attributes to the extended attribute fields of the corresponding graph nodes, thus completing the construction of the project-wide association graph. This step links core project information and auxiliary communication information scattered across different data layers, forming a complete project knowledge network.
[0011] As another preferred embodiment of the present invention, when a project integration instruction is received, generating differentiated data views for different project management roles based on the project global association graph and the auxiliary reference data layer includes: parsing the role identifier field carried in the project integration instruction; searching for the set of visible project dimensions and the set of invisible project dimensions associated with it from a pre-stored role permission configuration table; determining the node attribute fields in the core management data layer that are allowed to be read based on the set of visible project dimensions; performing a node pruning operation in the graph engine with the set of invisible project dimensions as the filtering condition to obtain a pruned view graph; extracting the corresponding auxiliary data records from the auxiliary reference data layer based on the node identifiers in the pruned view graph; merging the auxiliary data records with the pruned view graph to generate a differentiated data view corresponding to the role identifier. Through role-driven graph pruning and data merging, both the isolation of sensitive information and the acquisition of accurate and context-complete data views for different roles are ensured.
[0012] As a further improvement of the present invention, the step of encapsulating the differentiated data view into a data response package of a unified output interface includes: acquiring the graph node information and auxiliary data records in the differentiated data view; mapping the node attribute fields to standard item fields in the output interface according to a preset field mapping table of the unified output interface, and mapping the unstructured content in the auxiliary data records to memo fields in the output interface; assembling the mapped standard item fields and memo fields into a key-value pair set according to the data encapsulation format of the output interface; performing a serialization operation on the key-value pair set to generate a binary response package body, and writing a version number and a verification field into the header of the binary response package body; pushing the binary response package body to the sending queue of the output interface, and sending it to the requester in a first-in-first-out order. The unified interface encapsulation ensures the standardization and integrity of the data output, while the version number and verification mechanism provide assurance for the accuracy and security of data transmission.
[0013] This invention also provides an AI-based enterprise internal project integration management system, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps of the aforementioned AI-based enterprise internal project integration management method. This system is flexibly scalable to adapt to the integration management needs of multiple projects and multiple data sources within an enterprise, and produces corresponding technical effects through the aforementioned methods and steps.
[0014] The technical effects and advantages provided by the present invention in the above technical solution are as follows: A hash chain verification algorithm is used to generate a globally unique project data version sequence. Each time an index notification is retrieved from the management queue of the original data pool, the data object's storage location and write timestamp are concatenated into a raw string. A one-way hash calculation is then performed using a hash function to obtain the first hash value. This first hash value is concatenated with the tail hash value of the current project data version sequence, and another one-way hash calculation is performed to obtain the second hash value, which is then appended to the end of the sequence as the new tail hash value. The update timestamp of the version registry is bound to the tail hash value. This chain structure ensures that any write or change to a data object will alter the tail hash value, and each hash value depends on the content and time order of all previous data, making it impossible to maintain sequence consistency through partial data modifications. Once an non-compliant change occurs in the data pool, the hash value of the version sequence will not match, directly exposing the abnormal state and achieving reliable verification and precise location of data change history, no longer relying on the integrity of external logs. Using the data index basis as input, a multi-level Bloom filter is used to identify duplicates and mark conflicts in the project data of the original data pool. The unique identifier field of each project data entry is sequentially input into the first-level Bloom filter and the second-level Bloom filter. When both filters indicate that the identifier field does not exist, it is added to the two-level bit arrays respectively, and the project data is marked as a new record. When the identifier field exists in the first level but not in the second level, it is added to the second-level filter and marked as a duplicate candidate record, then transferred to the conflict arbitration queue for adjudication. Only when both levels indicate that the identifier field exists is the historical record retrieved from the original data pool and compared field by field with the current data. If they are completely identical, the record is discarded; otherwise, it is marked as a conflict record and written to the conflict record table. By using two-level filtering to intercept and classify the vast majority of data in advance, only a very small number of highly similar data enter the expensive field-by-field comparison process, significantly reducing computational overhead. At the same time, the conflict arbitration queue performs manual or rule-based adjudication on suspected conflict data, avoiding the direct discarding of valuable information and ensuring the accuracy and completeness of the project's standard data set. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.
[0016] Figure 1 This is a flowchart of an AI-based enterprise internal project integration and management methodology. Figure 2 This is a flowchart illustrating the method for constructing the project's global relational graph. Figure 3 It is based on the cumulative probability curve of structured and unstructured project data update events in the event hub service; Figure 4 This is a distribution chart of conflict arbitration priority scores; Figure 5 This is a probability density distribution diagram of text similarity between the core management data layer and the auxiliary reference data layer of the project. Figure 6 It is a probability distribution diagram of the project entity dependency strength based on task allocation and document references; Figure 7 It is a probability density distribution chart of the number of visible attribute fields for different project management roles. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] See Figure 1 This invention provides an AI-based enterprise internal project integration management method. The method includes: responding to data update events triggered by multiple project data sources, and using an event hub service to uniformly import structured project fields and unstructured project documents pushed by each data source into a raw data pool. Based on the source identifier and timestamp of each data object in the raw data pool, a hash chain verification algorithm is used to generate a globally unique project data version sequence, which is then used as the data index base for all subsequent processing stages. Using the data index base as input, a multi-level Bloom filter is used to identify duplicates and mark conflicts in the project data in the raw data pool, resulting in a deduplicated and conflict-marked standard project data set. The standard project data set is divided into a core management data layer and an auxiliary reference data layer according to preset project dimensions. A project-wide association graph is constructed based on the core management data layer, where nodes represent project entities and edges represent dependencies or references between entities. When a project integration instruction is received, differentiated data views for different project management roles are generated based on the project-wide association graph and the auxiliary reference data layer, and these differentiated data views are encapsulated into a data response package with a unified output interface.
[0019] This embodiment provides a specific implementation method for an AI-based enterprise internal project integration management approach, specifically addressing how an event hub service aggregates data and generates project data version sequences using a hash chain verification algorithm. In this implementation, the event hub service configures an independent listening port and protocol parsing template for each project data source. The listening port uses a Transmission Control Protocol (TCP) port number, with each project data source corresponding to a unique port number, achieving physical isolation of the data channel. The protocol parsing template is stored in the form of an Extensible Markup Language (EXPLAIN) configuration file. The configuration file defines the data payload format specifications for the corresponding project data source, including field separators, encoding methods, message boundary identifiers, and the positions of type identifier bits for structured fields and unstructured documents. When any project data source generates a data update event, the data source pushes the updated data to the listening port pre-configured by the event hub service, where the listening port receives the full raw byte stream. The event hub service calls the protocol parsing template bound to the listening port, deserializes the raw byte stream according to the syntax rules specified in the template, and extracts the data payload, which includes a data type identifier field and a payload portion.
[0020] The event hub service reads the value of the data type identifier field from a fixed offset in the data payload. The value of the data type identifier field is defined by an enumeration constant; one enumeration value represents a structured item field, and the other represents an unstructured item document. When the data type identifier is determined to be a structured item field, the event hub service parses the payload into a set of key-value pairs of field names and values, and directly writes all field names and values as key-value pairs to the key-value store in the original data pool. The key-value store is implemented using a distributed key-value database, and the write operation is completed in an atomic batch write manner. When the data type identifier is determined to be an unstructured item document, the event hub service treats the payload as a document binary stream and calls the document preprocessing unit for processing. The document preprocessing unit first identifies the original document format, including portable document format, office document format, or plain text format. It then converts the identified original format into a derivative version of the portable document format, preserving the original fonts, embedded images, and table structures during the conversion. After format normalization, the document preprocessing unit overlays page numbers at the bottom center of each page in the normalized portable document. The page numbers are in numeric format, with the starting page number based on the original page number information or calculated from 1 by default. The document content, after format normalization and page numbering, is stored as a binary large object in the document storage area of the original data pool. The document storage area is provided by object storage services, and a Uniform Resource Identifier (URI) is returned as the data object storage location upon successful write. When the key-value store write or document storage write operation is completed, the event hub service constructs an index notification message. The index notification message contains a data object storage location field and a write timestamp field, using Coordinated Universal Time (UTC) millisecond-level timestamp format. The event hub service pushes the index notification message to the management queue of the original data pool, which is implemented using a publish-subscribe persistent message queue. Meanwhile, the event hub service pulls index notification messages from the management queue, extracts the data object storage location and write timestamp, and appends them to the global data change log file. Each record in the global data change log file contains the write timestamp, data object storage location, and operation type identifier, with the operation type identifier uniformly set to "new".
[0021] Furthermore, all index notifications are extracted from the management queue of the original data pool in chronological order. A batch consumption model is used to pull a set of index notification messages within a certain time window from the management queue, and these messages are sorted in ascending order by their write timestamps. For each sorted index notification message, the data object storage location field and the write timestamp field are extracted. The string representation of the data object storage location field is concatenated with the numeric string representation of the write timestamp field, with a fixed separator character inserted between them to form the original string. A 256-bit secure hash algorithm is selected as the hash function to perform a one-way hash calculation on the original string, obtaining a fixed-length first hash value. The tail hash value of the current project data version sequence is read from the version registration table. The version registration table is a persistent table stored in a relational database, and its structure includes a version sequence identifier field, a linked list head address field, a tail hash value field, and an update timestamp field. If there is no record in the version registration table, indicating that the project data version sequence is empty, the tail hash value is set to a constant value of 256 bits all zeros. The first hash value and the tail hash value are concatenated in binary order. The concatenated result is used as the input to the hash function, and the 256-bit one-way hash calculation of the secure hash algorithm is performed again to obtain the second hash value. The calculation process of the second hash value can be expressed by the following formula: in, This string represents the storage location of the data object extracted from the index notification message. This represents the numeric string containing the write timestamp extracted from the index notification message, with symbols... This represents a string concatenation operation. This represents a secure hash algorithm using a 256-bit hash function. This represents the tail hash value of the current project data version sequence read from the version registry table. This represents the calculated second hash value.
[0022] The second hash value is used as the new tail hash value. A new node is created at the end of the project data version sequence linked list in memory. The node's data field stores the second hash value, and its pointer field is set to null. The pointer field of the original tail node points to the newly created node, completing the append operation. The head address of the project data version sequence linked list is the memory pointer or persistent identifier of the first node in the list. If the list was originally empty during the append process, the head address points to the newly created node. After each append operation, the current complete head address and the new tail hash value are persistently stored in the version registry table. If the version registry table already contains a record, the tail hash value field and the update timestamp field are updated. If the version registry table does not contain a record, a new record is inserted, and the update timestamp field of the version registry table is set to the Coordinated Universal Time (UTC) millisecond timestamp at the time the operation was completed. Simultaneously, the update timestamp field is bound to the tail hash value field and stored in a record of the version registry table. Through the above process, all index notifications are processed sequentially to form a chain-verified sequence of project data versions. The version registration table always records the latest tail hash value and the head address of the chain, thus achieving integrity verification of all data changes and a globally unique index.
[0023] See Figure 3 The graph uses the event time interval (in milliseconds) as the horizontal axis and the cumulative probability as the vertical axis to display the cumulative probability distribution curves of the structured project field data source, the unstructured project document data source, and the event hub service integrated data source. The structured project field data source curve is represented by a continuous broken line with solid dots, the unstructured project document data source curve is represented by a solid dashed line with squares, and the event hub service integrated data source curve is represented by a solid dashed line with triangles.
[0024] The curve trends show that the cumulative probability of structured project field data sources increases the fastest, reaching over 0.9 at approximately 150 milliseconds and finally approaching 1.0 at approximately 200 milliseconds, indicating that the time intervals of most structured project field data update events are concentrated within 200 milliseconds. The cumulative probability curve of the event hub service's integrated data source follows closely behind, reaching over 0.9 at approximately 250 milliseconds and approaching 1.0 at approximately 300 milliseconds, demonstrating the excellent and relatively balanced overall response performance of the event hub service when aggregating multiple project data sources. The cumulative probability of unstructured project document data sources increases more slowly, reaching 0.9 at approximately 500 milliseconds and gradually approaching 1.0 at approximately 1000 milliseconds, showing that the data update event time intervals of unstructured document data sources are more dispersed and longer, reflecting that the processing latency of document preprocessing and format normalization operations is more significant than that of structured field data.
[0025] In practice, the current complete linked list head address is read from the version registration table. The version registration table is a table structure persistently stored in a relational database, containing a version sequence identifier field, a linked list head address field, a tail hash value field, and an update timestamp field. The read operation selects the record with the largest update timestamp field value in the version registration table and obtains the value of the linked list head address field in that record as the current complete linked list head address. Based on the current complete linked list head address, the head node of the project data version sequence linked list is found, and the linked list is traversed sequentially along the linked list pointer fields to the tail node. The hash value stored in each node corresponds to an index notification of a data write operation. The actual project data in the original data pool is located through the data object storage location recorded in the index notification. Project data is extracted one by one from the original data pool. The extraction operation accesses the key-value store or document store based on the Uniform Resource Identifier of the data object storage location to obtain the complete project data record. During the traversal, a unique identifier field is extracted from each project data record. The unique identifier field is a predefined globally unique identifier in the project data, composed of a data source identifier and a data source internal number, and is stored as a string.
[0026] The extracted unique identifier field is sequentially input into the first-level Bloom filter and the second-level Bloom filter for existence checks. Both the first-level and second-level Bloom filters use independent bit arrays and independent sets of hash functions. The bit array length is configured according to the expected data volume. The bit array length of the first-level Bloom filter is set to a first preset value, and the bit array length of the second-level Bloom filter is set to a second preset value. The second preset value is greater than the first preset value, making the false positive rate of the second-level Bloom filter lower than that of the first-level Bloom filter. During the query process, the unique identifier field is mapped to multiple bits of the bit array through all the hash functions of the corresponding Bloom filter. It is checked whether all these bits are "1". If all are "1", the query result is "existent"; otherwise, the query result is "not found".
[0027] When both the first-level Bloom filter and the second-level Bloom filter indicate that the unique identifier field does not exist, the unique identifier field is added to the bit arrays of both the first-level and second-level Bloom filters, respectively. The addition operation calculates multiple position indices for the first-level bit array using all hash functions of the first-level Bloom filter, and sets the bits of these position indices to "1". Simultaneously, it calculates multiple position indices for the second-level bit array using all hash functions of the second-level Bloom filter, and sets the bits of these position indices to "1". The corresponding item data is then marked as a new record, and this new record marker is written to the metadata tag field of the item data, with the marker value set to a preset new record constant identifier.
[0028] When the query result of the first-level Bloom filter indicates existence but the query result of the second-level Bloom filter does not, the unique identifier field is added to the bit array of the second-level Bloom filter. The addition method is the same as described above, that is, the bit array position index is calculated using all hash functions of the second-level Bloom filter and then set. At the same time, the corresponding item data is marked as a duplicate candidate record. The mark value of the duplicate candidate record is set to a preset duplicate candidate constant identifier. The unique identifier field, data object storage location, and mark value of this item data are encapsulated into a duplicate candidate message and pushed to the conflict arbitration queue for manual or rule-based adjudication.
[0029] When both the first-level and second-level Bloom filters indicate the existence of a record, the stored historical records are retrieved from the original data pool based on the unique identifier field. During historical record retrieval, an exact key lookup is performed in the key-value store of the original data pool using the unique identifier field to obtain all previously written project data versions corresponding to the unique identifier field. These versions are then sorted in descending order by write timestamp, and the record with the latest write timestamp is selected as the historical record. The current project data is compared field by field, following the order of field definitions. If all field names and values are identical, the current project data is discarded and not written to the original data pool. Temporary indexes generated during the traversal are also deleted. If at least one field name or value is inconsistent, the current project data is marked as a conflict record. The conflict record's marker value is set to a preset conflict constant, and the unique identifier field of that project data, the current project data content, the historical record content, and a list of inconsistent field names are all written to the conflict record table. The conflict record table is an independent relational data table, containing a conflict identifier primary key, a unique identifier field, a current data field, a historical data field, and a list of difference fields.
[0030] The conflict arbitration queue includes a conflict record priority scoring mechanism. All conflict records in the pending arbitration state are read in batches from the conflict record table, and an arbitration priority score is calculated for each record. The formula for calculating the arbitration priority score is defined as follows: in, Indicates the arbitration priority score; This indicates the weight of the data source involved in the conflict record. The weight of the data source is pre-configured according to the importance of the data source, and the value is an integer in the range of [0,10]. The larger the value, the more important the data source. This indicates the importance score of the fields involved in the conflict record. The field importance score is determined according to a pre-defined field importance scoring table. The field importance scoring table sets an importance score for each field that may conflict, with the value being an integer in the range of [0, 10]. The larger the value, the more important the field. This represents the data source weight coefficient, with a value of 0.6. This represents the importance coefficient of the field, with a value of 0.4. and The value of is determined by quantifying and comparing the relative importance of data source weights and field importance in conflict arbitration using the analytic hierarchy process (AHP). The sum of the two is 1 to ensure standardized weighted scoring. This is done after obtaining the project's data source weights. When retrieving a conflict record, the data source identifier is extracted, and the corresponding weight value is looked up in the preset data source weight configuration table based on the data source identifier. This is done when obtaining the field importance score. When encountering conflicting records, extract the field names of all inconsistent fields from the list of discrepancies in the conflict records. Obtain the importance score for each inconsistent field from a pre-defined field importance scoring table, and take the maximum value among these importance scores as the final score. When the difference field list field is empty, The value is 0. After calculation, the arbitration priority score is written to the arbitration priority field corresponding to the conflict record. The conflict arbitration queue sorts all arbitration records in descending order of arbitration priority score. Starting from the highest score, the relevant information of the conflict record is pushed to the manual adjudication interface in sequence. The manual adjudication interface displays the unique identifier field, the current project data summary, the historical data summary, the list of difference fields, and the corresponding data source weights and field importance scores, allowing the adjudicator to make a ruling to retain the current data, retain the historical data, or merge and modify it.
[0031] See Figure 4 The horizontal axis in the graph represents the conflict arbitration priority score. The value ranges from 0 to 10, and the vertical axis represents the probability density of the corresponding priority score. The graph contains two curves, corresponding to the high-weight data source (…). ) and low-weight data sources ( The priority distribution of conflict records.
[0032] The high-weight data source curve is represented by a solid line marked with dots, exhibiting a single-peaked distribution, with the probability density peak located at... With a score of approximately 6.5, the peak probability density is about 0.48, indicating that in high-weight data sources, the arbitration priority scores of conflicting records are mainly concentrated in the higher score range, reflecting the importance and high priority of conflicting records in arbitration when the data source weight is large. When the score is less than 5, the probability density of high-weight data sources is close to zero, indicating that there are fewer low-priority conflicting records.
[0033] The low-weight data source curve is represented by a dashed line and marked with squares, exhibiting a right-leaning peak distribution, with the probability density peak appearing at... In the range of approximately 2.5 to 3.5, the peak probability density is about 0.32, reflecting that the arbitration priority scores of conflict records from low-weight data sources are mostly concentrated in the lower range. The curve in... The value drops rapidly from around 4.5 to near zero, indicating that high-priority conflicting records are less common in low-weight data sources.
[0034] In implementation, a pre-defined project dimension configuration table is retrieved and persistently stored in the system configuration repository as a structured data file. The configuration repository is implemented using a relational database. The project dimension configuration table includes a dimension identifier field, a dimension name field, and a dimension hierarchy field. The dimension hierarchy field takes two pre-defined constant values: the first constant represents the core management data layer, and the second constant represents the auxiliary reference data layer. During system initialization or configuration changes, the configuration management module loads the project dimension configuration table from the configuration repository into a memory cache. The cache structure is a hash mapping table, where the key is a string representation of the core dimension identifier or auxiliary dimension identifier, and the value is the corresponding hierarchy constant value. The core dimension identifier corresponds to several dimensions, including project number, project name, project status, project budget, project start and end dates, project manager, department, and project milestones. These dimension identifiers are pre-defined and written into the project dimension configuration table, with the dimension hierarchy field set to the first constant value. The auxiliary dimension identifiers correspond to several dimensions, including project email archive path, project meeting minutes number, project reference document index, and project temporary notes. These dimension identifiers are predefined and written into the project dimension configuration table, and the dimension level attribution field is set to the second constant value.
[0035] The process iterates through each piece of project data in the project standard dataset. This dataset, processed for deduplication and conflict labeling, is stored in the key-value store of the original data pool. Each piece of project data is organized as a set of key-value pairs, containing a dimension label field and several data content fields. The dimension label field stores the project's dimension classification identifier. The value of the dimension label field is filled in by the project data source according to its own data classification rules when pushing data, or automatically filled by the data access adapter according to the data source type and field mapping rules when the data enters the original data pool. The traversal process uses an iterator pattern to read project data one by one from the project standard dataset. Each read operation retrieves all key-value pairs for one piece of project data, extracting the value of the key named "dimensional label field" as the dimension label.
[0036] The dimension labels are matched against the project dimension configuration table in the memory cache using an exact string matching method. Both the core dimension identifier list and the auxiliary dimension identifier list in the cache are stored in hash maps. Finding the corresponding level of a dimension label in the hash map has constant time complexity. When a dimension label matches in the core dimension identifier hash map, the project data is classified into the core management data layer. This classification operation appends a level marker field from the core management data layer to the project data's metadata label, assigning it the first constant value. Simultaneously, the entire key-value pair of the project data is written to the corresponding storage partition of the core management data layer. When a dimension label matches in the auxiliary dimension identifier hash map, the project data is classified into the auxiliary reference data layer. This classification operation appends a level marker field from the auxiliary reference data layer to the project data's metadata label, assigning it the second constant value. Simultaneously, the entire key-value pair of the project data is written to the corresponding storage partition of the auxiliary reference data layer.
[0037] For project data whose dimension labels do not match any identifier in any project dimension configuration table (i.e., dimension labels that cannot be found in either the core dimension identifier hash map table or the auxiliary dimension identifier hash map table), the corresponding project data is temporarily stored in the classification buffer. The classification buffer is implemented using a first-in, first-out (FIFO) memory queue, where each queue element is a complete set of key-value pairs for the project data and its corresponding data object storage location in the original data pool. After the temporary storage operation is completed, the dimension label auto-completion process is triggered. This process reads the source identifier field and project name field from the original data pool of the project data in the classification buffer. The source identifier field records the identifier of the project data source from which the data was initially accessed, and the project name field records the project name text.
[0038] Optionally, the dimension label auto-completion process is implemented using a rule-based classifier. The rule-based classifier maintains a rule set in memory. Each rule in the rule set consists of a precondition and a conclusion action. The precondition is a combination pattern of the source identifier and the item name, and the conclusion action is the corresponding dimension label and its hierarchical affiliation. The rule set is loaded from the rule configuration file during system initialization. Each line in the rule configuration file defines one rule, including a regular expression for the source identifier, a keyword matching pattern for the item name, and the corresponding dimension identifier and hierarchical affiliation. During auto-completion, the rule-based classifier reads the values of the source identifier and item name fields, iterates through each rule in the rule set, matches the value of the source identifier field with the source identifier regular expression in the rule's precondition, and matches the value of the item name field with the item name keyword in the rule's precondition. When both the source identifier regular expression and the item name keyword match successfully, the dimension identifier in the conclusion action of that rule is used as the completed dimension label, and the hierarchical affiliation in the conclusion action of that rule is used as the completed hierarchical affiliation. Write the completed dimension labels to the dimension label field of the project data, and re-perform the classification operation according to the completed hierarchical affiliation. Remove the project data from the unclassified buffer and write it to the corresponding storage partition of the core management data layer or auxiliary reference data layer.
[0039] In some embodiments, when the rule-based classifier fails to match any rule, the project name field value is read from the project data, and the text similarity between the project name field value and the dimension names corresponding to all dimension identifiers in the project dimension configuration table is calculated. The formula for calculating text similarity is: in, The project name indicating the project data to be completed. Dimension names in the project dimension configuration table Text similarity between them Indicates the project name The lexical set obtained after word segmentation and stop word removal is used for the project name. The word segmentation process employs a dictionary-based maximum matching algorithm, with a stop word list that is a predefined list containing common function words and meaningless words. Indicates the dimension name The set of lexical units obtained after performing the same word segmentation and stop word removal processes. This indicates the number of elements in the intersection of two word sets. This represents the number of elements in the union of two lexical sets. The value range is [0,1], with values closer to 1 indicating higher similarity. Calculate the similarity between the project name and each dimension name in the project dimension configuration table. Value, take The dimension identifier corresponding to the dimension name with the largest value is used as the dimension label for auto-completion, and the hierarchical affiliation of that dimension identifier in the project dimension configuration table is taken as the hierarchical affiliation for auto-completion. If there are multiple dimension names... If all values are the maximum, the first dimension identifier is selected based on its storage order in the project dimension configuration table. After completing dimension label completion and determining hierarchical affiliation, the project data is removed from the unclassified buffer, and the classification operation is performed to write it to the corresponding storage partition. If the project name is an empty string or only contains stop words, resulting in all... If all values are 0 and it is impossible to determine the complete dimension label, the project data will be transferred from the classification buffer to the manual annotation queue. The manual annotation interface will provide the function of assigning dimension labels and selecting the level. After the manual annotation is completed, the project data will be classified according to the manual annotation results.
[0040] See Figure 5 The horizontal axis in the graph represents text similarity. The value ranges from 0 to 1, and the vertical axis represents the probability density value within the corresponding similarity interval. The legend shows two curves, representing the similarity distribution of items in the core management data layer and the similarity distribution of items in the auxiliary reference data layer, respectively. The similarity curve for items in the core management data layer is marked with a solid line and dots, while the similarity curve for items in the auxiliary reference data layer is marked with a dashed line and squares.
[0041] As can be seen from the figure, the similarity curve of the auxiliary reference data layer items shows a peak in the low similarity range (approximately between 0 and 0.3), with a peak probability density of about 2.6. It also shows a single peak distribution skewed to the left. As the similarity increases, the probability density gradually decreases, approaching zero after the similarity reaches 0.5. This indicates that the text similarity of the dimension labels of the auxiliary reference data layer items is mostly concentrated in the low value range, reflecting that the text matching degree between the auxiliary reference data layer item names and the preset item dimension names is low, and there is a large uncertainty in the classification of dimension labels.
[0042] The similarity curve for items in the core management data layer rises significantly and reaches a peak in the high similarity range (approximately 0.5 to 0.9), with a peak probability density of approximately 2.5. It then declines rapidly as the similarity approaches 1, exhibiting a right-skewed peak distribution. This indicates a significantly high text similarity between the core management data layer item names and the preset item dimension names, demonstrating strong accuracy and consistency in dimension label matching. The two curves intersect at a similarity range of approximately 0.45 to 0.5. The similarity of items in the core management data layer increases when it is lower than that in the auxiliary reference data layer, while the similarity of items in the auxiliary reference data layer decreases. This reflects the different distribution characteristics of text similarity between the two data layers during the automatic dimension label completion process.
[0043] In specific implementation, please refer to Figure 2 The process involves extracting all project entity records from the core management data layer, which is stored in key-value storage partitions divided by dimensions. Each project entity record is organized as a set of key-value pairs. The extraction operation uses a full scan to traverse the storage partitions corresponding to the core management data layer, reading each key-value pair set and extracting the values of the unique project ID, project name, department, and responsible person fields. The unique project ID is an immutable identifier for the project entity globally, composed of the project data source code and an internal sequence number, and stored as a string. The extracted unique project ID is used as the graph node identifier, ensuring uniqueness across the entire project-wide association graph. The values of the project name, department, and responsible person fields are stored as node attributes in a node attribute table, with attribute names and values paired. The node attribute table is implemented using the built-in attribute storage mechanism of the graph database. The node attribute table and the graph node identifier are linked through the node identifier primary key. Each row of the node attribute table corresponds to a graph node, and the row contains a node identifier column, a project name attribute column, a department attribute column, and a responsible person attribute column.
[0044] The dependency or reference relationships between project entity records are extracted based on the task assignment table and document reference relationship table in the core management data layer. Both the task assignment table and document reference relationship table are predefined data tables in the core management data layer. The task assignment table records the decomposition and dispatch information of project tasks, including parent task project number columns and child task project number columns. Both parent and child task project number columns reference the unique project number in the project entity record. When a record contains both a parent task project number and a child task project number, it indicates that the project entity with the unique project number of the child task project number depends on the project entity with the unique project number of the parent task project number. The document reference relationship table records the reference information between project documents, including a source project number column and a referenced project number column. The source project number column represents the unique project number corresponding to the project entity initiating the reference, and the referenced project number column represents the unique project number corresponding to the referenced project entity. When extracting dependencies, iterate through each record in the task allocation table, using the values of the parent task item number column and the child task item number column as the identifiers of two graph nodes with a dependency relationship, using the value of the parent task item number column as the starting node of the dependency relationship, using the value of the child task item number column as the ending node of the dependency relationship, marking the relationship type as "dependency", and calculating the strength value of the dependency relationship.
[0045] The strength of a dependency is calculated using the following formula: in, Indicates the project entity Starting with the project entity The dependency strength value for the endpoint, project entity Corresponding to the parent task project number, project entity Corresponding subtask project number; Represents project entity With project entity The number of records directly associated in the task assignment table, calculated from the task assignment table by parent task item number. And the subtask project number is The count query is performed based on the conditions. Represents project entity With project entity The number of shared key fields between project entities, including the project department field and the project manager field. and project entities The count is 1 when the values of the "Department" field are the same, and when the project entity... and project entities If the values in the "responsible person" field are the same, count as 1. The value range is 0, 1, or 2; This represents the weighting coefficient for direct association counting, with a value of 0.7. This represents the weighting factor of the shared key field, with a value of 0.3. This is a pre-set threshold constant, with a value of 1; This is the base of the natural logarithm. Two weighting coefficients. and The frequency of direct associations in the task allocation table and the information content of shared key fields in dependency determination are determined by calculating them using the entropy weight method. and The sum is 1. The basis for taking the value 1 is: when This indicates that two project entities share at least one key field. In this case, the logical function output is greater than 0.5, and the weighted sum of this value and the direct association count reflects the positive impact of the shared field. When the logic function output is less than 0.5, the strength value can be reduced in scenarios where there is only one direct association but no shared fields.
[0046] When extracting reference relationships, each record in the document reference relationship table is traversed. The values of the source item number column and the referenced item number column are used as the two graph nodes that have a reference relationship. The value of the source item number column is used as the starting node of the reference relationship, and the value of the referenced item number column is used as the ending node of the reference relationship. The relationship type is marked as "reference". The strength value of the reference relationship is directly taken from the reference frequency field carried by each record in the document reference relationship table. The reference frequency field records the number of times the referenced document is referenced in the source item, and is read from the reference frequency column of the document reference relationship table.
[0047] The extracted dependencies or references are entered into the graph edge table as edges. The graph edge table is implemented using the edge storage structure of a graph database. Each record in the edge table corresponds to a directed edge in the graph database, and the record includes an edge identifier column, a start node identifier column, an end node identifier column, a relation type column, and a relation strength column. Before entering the graph edge table, the dependencies extracted from the task allocation table are filtered, and the dependency strength values are used to filter them. Relationship strength threshold Comparison, Relationship Strength Threshold The value is 0.5. The value of 0.5 is based on the analysis of the output range of the strength formula, when... and hour, ,when and hour, A threshold of 0.5 can filter out low-strength pseudo-dependencies and retain dependencies with clear connections. For Greater than or equal to Based on the dependencies, the corresponding edges are entered into the graph edge table; for Less than Dependencies are not entered into the graph edge table. For references extracted from the document reference table, all references are entered into the graph edge table without intensity filtering.
[0048] An initial graph topology is constructed using graph node identifiers and a graph edge table. The graph database engine automatically generates the initial graph topology based on the node attribute table and the graph edge table. Graph node identifiers serve as node objects in the graph topology, and each edge object in the graph edge table connects two node objects and is appended with relation type and relation strength attributes. During the generation process, the graph database engine establishes an adjacency list index to quickly locate all edges and endpoint nodes associated with each starting node identifier, and simultaneously establishes a reverse index to support bidirectional traversal.
[0049] The auxiliary reference data layer is traversed. This layer is stored in the corresponding storage partitions after dimensional partitioning and contains email records and meeting minutes. Email records use email ID as the primary key. Each email record includes fields for email ID, project ID, email subject, email sending time, and email body. The project ID field records the unique project ID associated with the project entity associated with that email. Meeting minutes records use meeting minute ID as the primary key. Each meeting minute record includes fields for meeting minute ID, project ID, meeting date, meeting agenda, and meeting minutes content. The project ID field records the unique project ID associated with the project entity associated with that meeting minute. During the traversal of the auxiliary reference data layer, a full scan is performed on both the email record and meeting minute record storage areas. Each email record and each meeting minute record is read, and the project ID field value is extracted. The project ID field value is then matched against the graph node identifiers in the constructed initial graph topology. The matching operation uses the project ID field value to query the node attribute table to see if a graph node identifier corresponding to that unique project ID exists. If a match is successful, the email record or meeting minutes record is attached as an additional attribute to the extended attribute field of the corresponding graph node. The extended attribute field is a nested attribute structure in the graph database node object that supports dynamic appending. Under the extended attribute field, email list subfields and meeting minutes list subfields are created. For email records, the email number, email subject, email sending time, and email body content are appended as an email entry to the email list subfield; for meeting minutes records, the meeting minutes number, meeting date, meeting agenda, and meeting minutes content are appended as a meeting minutes entry to the meeting minutes list subfield. After the attachment is completed, the project-wide association graph is constructed. Each node in the graph, in addition to containing the project name, department, and responsible person attributes from the node attribute table, also contains the associated email list and meeting minutes list from the extended attribute field. The edges in the graph represent dependencies or references between entities.
[0050] See Figure 6 In the graph, the horizontal axis represents the strength of the relationship, and the vertical axis represents the probability density. The curves show the strength of the dependency relationships based on task allocation in the project's global association graph. The probability distribution characteristics of the strength of reference relationships based on document citation frequency. The blue solid line curve corresponds to the strength of the dependency relationship. Its probability density fluctuates significantly within the relationship strength range [0,3], with a peak around 1.5 and a maximum probability density of approximately 0.8. This indicates that most dependency strengths are concentrated in the low to medium range, with obvious peak and trough variations, reflecting the direct association counts between parent and child tasks in the task allocation table. Number of shared key fields The complex relationship structure resulting from combined effects. As the relationship strength exceeds 3, the probability density of dependency strength rapidly approaches zero, indicating that high-strength dependencies are rare. The orange dashed curve represents the strength of citation relationships (document citation frequency), with a peak value of approximately 0.23. The relationship strength gradually decreases as the horizontal axis increases until it approaches zero, and the overall distribution is relatively smooth, reflecting the natural decay characteristic of document citation frequency as a measure of citation relationship strength. This indicates the widespread distribution of citation relationships between project documents and the low probability of high-frequency citations.
[0051] In practice, when a project integration instruction is received, it is a request message sent by the external caller through an application programming interface (API). The request message body is encoded in a structured data format and includes a role identifier field, a request timestamp field, and an instruction opcode field. When parsing the project integration instruction, the value of the role identifier field is read from a fixed position in the request message body. The value of the role identifier field is a role code pre-registered in the identity authentication system, represented as a string. Each role code corresponds to a specific project management role, including project manager, department head, project member, and auditor roles, and each role is assigned a globally unique role code.
[0052] The system retrieves the sets of visible and invisible project dimensions associated with the role identifier field from the pre-stored role and permission configuration table. The role and permission configuration table is persistently stored in the permission management database of a relational database. Its structure includes a role code primary key column, a list of visible dimensions, and a list of invisible dimensions. The visible dimension list stores the set of names of node attribute fields in the core management data layer that the current role is allowed to view. These fields include project name, department, responsible person, project budget, and project status. Values in the visible dimension list are stored as strings concatenated by delimiters; during queries, these values are split into string arrays by the delimiter and loaded into memory. The invisible dimension list stores the set of names of node attribute fields in the core management data layer that the current role is prohibited from viewing. Similarly, values in the invisible dimension list are stored as strings concatenated by delimiters; during queries, these values are split into string arrays by the delimiter and loaded into memory. The lookup operation uses the value of the role identifier field as the query condition, performs a primary key equality match query in the role permission configuration table, and returns a complete record with a matching role code. The visible dimension list column values in this record are parsed into a set of visible item dimensions, and the invisible dimension list column values are parsed into a set of invisible item dimensions.
[0053] The graph engine performs a node pruning operation, filtering by the set of invisible project dimensions, to obtain the pruned view graph. The graph engine uses an in-memory graph computing framework, maintaining an active in-memory copy of all nodes and edges in the constructed project-wide association graph. The node pruning operation traverses each graph node in the project-wide association graph, reading the set of node attribute fields from the node attribute table for each node. Each read node attribute field name is compared with the set of invisible project dimensions. If a node attribute field name has a match in the set of invisible project dimensions, the corresponding attribute value is removed from the current node's in-memory copy. The removal operation sets the attribute value to null or a placeholder, but does not delete the node attribute field itself or the graph node. After pruning the invisible node attribute fields, the node attribute fields in the core management data layer that are allowed to be read are determined based on the set of visible project dimensions. Further filtering of these node attribute fields is performed, removing attribute values whose names are not in the set of visible project dimensions from the current node's memory copy, retaining only the attribute values whose names are in the set of visible project dimensions. After the pruning operation, the graph nodes still retain a unique project number node identifier and the set of attribute fields after pruning and filtering. The graph edge tables remain unchanged; only the node attribute content is filtered, forming a pruned view graph. In the pruned view graph, each node only contains the values of the node attribute fields that the current role is authorized to view.
[0054] Based on the node identifiers in the cropped view graph, auxiliary data records corresponding to the node identifiers are extracted from the auxiliary reference data layer. Each node identifier in the cropped view graph is a unique project number. The auxiliary reference data layer is stored in a corresponding storage partition and contains email records and meeting minutes records. Each email record and each meeting minutes record in the auxiliary reference data layer contains a project number field. When extracting auxiliary data records, all node identifiers in the cropped view graph are collected into a project number set. Using the project number set as a batch query condition, multi-value matching queries are performed in the email record storage area and the meeting minutes record storage area of the auxiliary reference data layer, respectively. For the email record storage area, the condition is filtered based on the project number field value belonging to the project number set, returning all matching email records; for the meeting minutes record storage area, the condition is filtered based on the project number field value belonging to the project number set, returning all matching meeting minutes records. The returned email records and meeting minutes records are grouped according to the project number field value, forming an auxiliary data mapping table with the project number as the key and the email record list and meeting minute record list as the value. The email record list and meeting minutes record list corresponding to each project number in the auxiliary data mapping table are merged into the extended attribute field of the corresponding node identifier in the cropped view graph. During the merging, it is checked whether a record with the same email number or meeting minutes number already exists in the extended attribute field. If it already exists, it is skipped; if it does not exist, it is appended. A differentiated data view corresponding to the role identifier is generated. The differentiated data view includes the cropped graph topology, the node attribute values that can be viewed, and the associated complete auxiliary reference data.
[0055] The system retrieves graph node information and auxiliary data records from the differentiated data view. Following a pre-defined field mapping table for the unified output interface, it maps node attribute fields in the graph node information to standard project fields in the output interface, and maps unstructured content in the auxiliary data records to memo fields in the output interface. The unified output interface's field mapping table is a predefined interface specification configuration file stored as a structured data file in the system configuration library. The table contains multiple mapping records, each consisting of a source field name and a target field name. The source field name corresponds to a node attribute field name in the project's global association graph or a field name in the auxiliary data record. The target field name corresponds to a standard field name in the output interface response body. Standard project fields include project identifier, project title, project manager's name, project department, and project current status, mapped from the graph node's unique project number, project name attribute, responsible person attribute, department attribute, and project status attribute, respectively. The remarks field is used to carry unstructured content. It combines the email body content field and the meeting minutes content field from the auxiliary data record into a long text, which is then written using the target remarks field name.
[0056] After mapping, the standard project fields and memo fields are assembled into a key-value pair set according to the data encapsulation format of the output interface. This key-value pair set is implemented using an ordered dictionary data structure, where the key is either the standard project field name or the memo field name, and the value is the mapped field content. The key-value pairs are sorted according to the definition order of the target field names in the field mapping table. The key-value pair set is then serialized to generate a binary response body. The serialization operation uses a compact binary serialization protocol. After sorting the key-value pair set according to the target field names, each key-value pair is sequentially binary encoded with a type marker, field number, and value content. The type marker occupies one byte, the field number uses variable-length integer encoding, and the value content uses the corresponding encoding method based on the field data type. String values are represented by a variable-length prefix followed by a UTF-8 encoded byte sequence. A version number and checksum field are written to the header of the binary response body. The version number occupies two bytes and is fixed to a preset interface version constant value. The checksum field occupies four bytes and uses a 32-bit cyclic redundancy check algorithm to calculate all content after the header of the binary response body. The calculation result is written to the checksum field.
[0057] The binary response body is pushed to the output interface's send queue. This send queue is a thread-safe, first-in-first-out (FIFO) queue in memory, implemented using a lock-free circular buffer. The push operation atomically writes the memory pointer of the binary response body to the next available slot in the circular buffer and increments the write pointer. The output interface's send thread runs independently, continuously monitoring the circular buffer for available data slots. When a discrepancy is detected between the write and read pointers, a memory pointer for the binary response body is retrieved from the read pointer position in FIFO order, and the read pointer is advanced one slot. The send thread then transmits the complete binary response body to the requester via the established network socket connection. The transmission control protocol is used, splitting the binary response body into multiple data packets according to the network's maximum transmission unit (MTBF), sending them sequentially, and reassembling them on the requester's side. After transmission, the memory space occupied by the binary response body is released, completing the response processing for one project integration command.
[0058] See Figure 7 In the graph, the horizontal axis represents the number of visible attribute fields corresponding to each project management role in the differentiated data view, and the vertical axis represents the probability density of the corresponding number of visible attribute fields. The four curves represent the distribution of visible attribute fields for the roles of project manager, department head, project member, and auditor, respectively.
[0059] The curve for project member roles shows a clear single-peak shape, with the peak located at about 5 visible attribute fields. This indicates that the project data attributes that the role can access are relatively limited, mainly concentrated in a few core fields. The probability density reaches its highest peak at around 0.7, reflecting that the project member permission configuration is strict and the data view is simple and unified.
[0060] The peak of the curve for the department head role is around 7 fields, indicating that their data access permissions are broader than those of project members, covering more key attributes. The probability density peak is about 0.55, and the curve distribution is relatively concentrated, indicating that the number of fields visible to the department head is relatively stable, reflecting medium-granularity data view pruning.
[0061] The peak of the curve corresponding to the auditor role is located in about 8 visible attribute fields, with a probability density peak of about 0.6 and a moderate curve width, indicating that the auditor has relatively comprehensive data access rights, focuses on the key attributes required for auditing, and takes into account both depth and breadth.
[0062] The curve for the project manager role is right-skewed, with a peak at about 9 fields and a relatively high probability density at 10 fields. The peak probability is about 0.52. Overall, it covers the most fields, indicating that the project manager has the most comprehensive access rights and can view the node attributes of most core management data layers, meeting their comprehensive management needs.
[0063] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. An AI-based enterprise internal project integration management method, characterized in that, include: In response to data update events triggered by multiple project data sources, the event hub service integrates structured project fields and unstructured project documents pushed by each data source into the raw data pool. Based on the source identifier and timestamp of each data object in the original data pool, a hash chain verification algorithm is used to generate a globally unique project data version sequence, and the project data version sequence is used as the data index base for all subsequent processing steps. Using the data index base as input, a multi-level Bloom filter is used to identify duplicate items and mark conflict items in the project data in the original data pool, resulting in a standard data set of projects that has been deduplicated and marked for conflict. The project standard data set is divided into a core management data layer and an auxiliary reference data layer according to a preset project dimension. A project global association graph is constructed based on the core management data layer. Nodes in the project global association graph represent project entities, and edges represent dependency or reference relationships between entities. When a project integration instruction is received, a differentiated data view for different project management roles is generated based on the project global association map and the auxiliary reference data layer, and the differentiated data view is encapsulated into a data response package with a unified output interface.
2. The AI-based enterprise internal project integration management method according to claim 1, characterized in that, The process of unifying structured project fields and unstructured project documents pushed from various data sources into the raw data pool through the event hub service is as follows: In the event hub service, an independent listening port and protocol parsing template are configured for each project data source. When any project data source generates a data update event, the listening port captures the updated data and extracts the data payload according to the corresponding protocol parsing template. The event hub service determines whether the data payload is a structured project field or an unstructured project document based on the data type identifier carried by the data payload. If it is a structured project field, the field name and field value are directly written into the key-value storage area of the original data pool. If it is an unstructured project document, the document preprocessing unit is called to normalize the format and mark the page number of the unstructured project document, and then the normalized document content is stored in the document storage area of the original data pool in the form of a binary large object. After the write operation is completed, the event hub service pushes an index notification containing the storage location of the data object and the write timestamp to the management queue of the original data pool, and updates the global data change log according to the index notification.
3. The AI-based enterprise internal project integration management method according to claim 2, characterized in that, The method of generating a globally unique project data version sequence using a hash chain verification algorithm is as follows: Extract all index notifications from the management queue of the original data pool in chronological order, concatenate the storage location of the data object corresponding to each index notification and the write timestamp into an original string, and use a hash function to perform one-way hash calculation on the original string to obtain the first hash value; The first hash value is concatenated with the tail hash value of the current project data version sequence, and then a one-way hash calculation is performed on the concatenation result to obtain the second hash value. The second hash value is then used as the new tail hash value and appended to the end of the project data version sequence. After each append operation, the current complete linked list head address and tail hash value of the project data version sequence are persistently stored in the version registration table, and the update timestamp of the version registration table is bound to the tail hash value.
4. The AI-based enterprise internal project integration management method according to claim 3, characterized in that, The process of using the data index base as input and employing a multi-level Bloom filter to identify duplicates and mark conflicts in the original data pool specifically involves: Read the current complete linked list head address from the version registration table, traverse the project data in the original data pool according to the linked list head address, and input the unique identifier field of each traversed project data into the first-level Bloom filter and the second-level Bloom filter in sequence. When the query results of both the first-level Bloom filter and the second-level Bloom filter indicate that the unique identifier field does not exist, the unique identifier field is added to the bit array of the two-level Bloom filters respectively, and the corresponding item data is marked as a new record. When the query result of the first-level Bloom filter indicates that the record exists but the query result of the second-level Bloom filter does not, the unique identifier field is added to the bit array of the second-level Bloom filter, and the corresponding item data is marked as a duplicate candidate record and submitted to the conflict arbitration queue for manual or rule-based adjudication. When the query results of both the first-level Bloom filter and the second-level Bloom filter indicate existence, the stored historical records are extracted from the original data pool based on the unique identifier field. The current project data is then compared field by field with the historical records. If the field-by-field comparison results are completely consistent, the current project data is discarded. If the field-by-field comparison results are inconsistent, the current project data is marked as a conflict record and written to the conflict record table.
5. The AI-based enterprise internal project integration management method according to claim 4, characterized in that, The process of dividing the project standard data set into a core management data layer and an auxiliary reference data layer according to a preset project dimension is as follows: Obtain a preset project dimension configuration table, which defines several core dimension identifiers belonging to the core management data layer and several auxiliary dimension identifiers belonging to the auxiliary reference data layer. Iterate through each piece of project data in the standard project data set, extract the dimension labels carried by each piece of project data, classify the project data whose dimension labels match any core dimension identifier to the core management data layer, and classify the project data whose dimension labels match any auxiliary dimension identifier to the auxiliary reference data layer; For project data whose dimension labels do not match any identifier in the project dimension configuration table, the data is temporarily stored in the classification buffer. The dimension labels are then automatically completed by reading the source identifier and project name of the project data in the original data pool, and the classification operation is re-executed.
6. The AI-based enterprise internal project integration management method according to claim 5, characterized in that, The construction of the project-wide relational graph based on the core management data layer specifically involves: Extract all project entity records from the core management data layer, use the unique project number in each project entity record as the graph node identifier, and store the project name, department, and responsible person fields in the project entity record as node attributes in the node attribute table; Based on the task allocation table and document reference relationship table in the core management data layer, extract the dependency or reference relationship between any two project entity records, record the dependency or reference relationship as an edge into the graph edge table, and construct the initial graph topology structure with the graph node identifier and the graph edge table. Traverse the auxiliary reference data layer and extract email records and meeting minutes records that have the same project number as the project entity records in the core management data layer. Then, attach the email records and meeting minutes records as additional attributes to the extended attribute fields of the corresponding graph nodes to complete the construction of the project global association graph.
7. The AI-based enterprise internal project integration management method according to claim 6, characterized in that, When a project integration instruction is received, a differentiated data view is generated for different project management roles based on the project global association map and the auxiliary reference data layer, specifically: Parse the role identifier field carried in the project integration instruction, and search the pre-stored role permission configuration table for the set of visible project dimensions and the set of invisible project dimensions associated with the role identifier field; Based on the set of visible project dimensions, determine the node attribute fields in the core management data layer that are allowed to be read, and perform a node pruning operation in the graph engine with the set of invisible project dimensions as the filtering condition to obtain the pruned view graph. Based on the node identifiers in the cropped view graph, auxiliary data records corresponding to the node identifiers are extracted from the auxiliary reference data layer. The auxiliary data records are then merged with the cropped view graph to generate a differentiated data view corresponding to the role identifier.
8. The AI-based enterprise internal project integration management method according to claim 7, characterized in that, The process of encapsulating the differentiated data view into a data response package with a unified output interface specifically involves: Obtain the graph node information and auxiliary data records from the differentiated data view. According to the pre-defined field mapping table of the unified output interface, map the node attribute fields in the graph node information to the standard project fields in the output interface, and map the unstructured content in the auxiliary data records to the remarks fields in the output interface. After mapping, the standard project fields and remarks fields are assembled into a key-value pair set according to the data encapsulation format of the output interface. The key-value pair set is serialized to generate a binary response body, and a version number and a verification field are written in the header of the binary response body. The binary response body is pushed to the sending queue of the output interface, and the sending thread of the output interface sends the binary response body to the requester in a first-in-first-out order.
9. The AI-based enterprise internal project integration management method according to claim 4, characterized in that, The conflict arbitration queue is equipped with a conflict record priority scoring mechanism. The arbitration priority is calculated based on the weight of the project data source and the importance of the fields involved in the conflict record, and the conflict records are pushed to the manual adjudication interface in descending order of priority.
10. An AI-based enterprise internal project integration management system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the AI-based enterprise internal project integration management method described in any one of claims 1 to 9.
