Information processing method and system for engineering quality detection

By constructing a directed acyclic business data dependency graph, capturing and processing engineering inspection business events, the problem of automatic adaptation of incremental traceability information to local reporting was solved, realizing automatic collection and reporting of traceability information and reducing field omissions.

CN123178680APending Publication Date: 2026-11-27福建荔建检验检测集团有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611646338.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-23
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, when engineering testing services are subject to changes in entrustment or sample retesting, incremental traceability information is difficult to automatically adapt to the reporting template of the local area, which can easily lead to the problem of missing traceability information.

Method used

By constructing a directed acyclic business data dependency graph, we can capture change-type business events, traverse the graph structure to extract incremental business records, perform topology sorting and version conflict verification, extract traceability fields according to the local reporting standards, and fill them into the regulatory data package to achieve automatic collection and reporting.

Benefits of technology

It enables the automatic collection and reporting of traceability information generated by business changes, reduces the omission of fields in the local supervision process, and adapts to the reporting requirements of different regions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178680A_ABST
    Figure CN123178680A_ABST
Patent Text Reader

Abstract

The application discloses an information processing method and system for engineering quality detection, and belongs to the technical field of engineering information processing. The method comprises the following steps: acquiring business and standard data, constructing a business data dependency graph, capturing business events and state identifiers, locating affected nodes and extracting incremental records, verifying and extracting traceable fields, assembling supervision reporting data packets, pushing data packets and archiving business data. The application constructs a directed acyclic business data dependency graph by combining engineering detection specific business forms, captures change type business events, traverses the graph structure to extract incremental business records, and assembles reporting data packets after verifying and screening to obtain traceable fields, so that the automatic collection and reporting of business change traceable information are achieved, and the omission of fields in the local supervision reporting process is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of engineering information processing technology, and in particular to an information processing method and system for engineering quality inspection. Background Technology

[0002] With the increasing number of construction, municipal, and other engineering projects, third-party testing agencies are increasingly undertaking engineering quality testing services across different jurisdictions. Local regulatory platforms have varying requirements for the traceability reporting fields of changes in testing services, making the compliance of reported data a key concern for regulatory authorities. In the course of engineering testing services, changes in commissions and sample retesting are common occurrences. The traceability information for these events needs to be fully reported to the local regulatory platform; missing information will result in non-compliance in the reported services. Therefore, how to handle the traceability data generated by business changes to ensure it meets the reporting requirements of local regulators has become a problem that the industry needs to address.

[0003] In related technologies, engineering testing supervision and reporting mostly adopts a static configuration template approach, pre-setting the fields of the reporting data package. When business operations change or samples are retested, the incremental records resulting from the changes do not automatically match the reporting template. Business personnel need to manually identify the business events and manually fill in the corresponding reporting fields. However, there are issues with the automatic adaptation of incremental traceability information generated by business changes to the reporting template of the locality, which can easily lead to the problem of missing traceability information and make it difficult to meet the reporting needs of cross-regional engineering testing operations. Summary of the Invention

[0004] This application provides an information processing method and system for engineering quality testing, which solves the problem in the prior art where incremental traceability information generated by changes in engineering testing commissions or sample retesting is difficult to automatically adapt to the reporting template of the local authorities, and is prone to omissions in the reporting of traceability information. It realizes the automatic collection and reporting of traceability information generated by business changes, and reduces the omission of fields in the reporting process of local supervision.

[0005] This application provides an information processing method for engineering quality inspection, including: The system acquires business process status data from the engineering quality testing business system and the structured data reporting standards for engineering testing business from the local engineering supervision platform. It parses these reporting standards and, combining field references and foreign key dependencies in engineering testing-specific business forms, constructs a directed acyclic business data dependency graph. The vertices of this graph are engineering testing-specific data tables, including at least a commission change table and a sample retest record table. It monitors business links for engineering testing-specific business events such as commission change events or sample retest events, capturing the corresponding target business records and status change identifiers. Based on the status change identifiers, it traverses the directed acyclic business data dependency graph to obtain affected data table nodes and extracts incremental business records within those nodes. It performs topological sorting and version conflict verification on the incremental business records and extracts event tracing fields according to the local reporting standards. It fills the tracing fields into the corresponding field positions in the local supervision data package and merges them with regular engineering testing business data to generate a complete reporting data package. This data package is then pushed to the local supervision platform, and the engineering testing business event identifier, event tracing fields, and complete reporting data package are associated and archived.

[0006] Furthermore, the process of constructing the directed acyclic business data dependency graph includes: Read the historical business form pattern definition of the business system to extract field attributes; read the local reporting standard to extract regulatory field constraint rules; use the business data table as the vertex and the form field reference relationship as the directed edge to generate an initial graph structure; perform loop detection on the initial graph and eliminate circular reference paths to obtain a usable directed acyclic business data dependency graph; complete the expression of the dependency relationship between data tables.

[0007] Furthermore, the process of capturing the corresponding target business record and status change identifier includes: Continuously monitor the database transaction logs of the engineering quality testing business system; identify the business event logs triggered by commission changes or sample retesting instructions; parse and process the business event logs to extract the operation object identifier as the target business record; extract the transaction commit timestamp and status modification code to form a status change identifier for subsequent traversal calls.

[0008] Furthermore, the process of traversing the directed acyclic business data dependency graph to obtain the affected data table nodes includes: A reverse breadth-first search is performed, starting from the vertex corresponding to the state change identifier. After the search is completed, the target affected subgraph is formed. A query operation is initiated to the database based on the set of vertices contained in the subgraph. Redundant field rows that have not changed in value within the query results are filtered out. Finally, valid incremental business records are filtered and output.

[0009] Furthermore, the step of performing topology sorting and version conflict verification on incremental service records includes: The data processing order is determined by sorting the topology according to the node dependencies in the data table; the version validity weight is calculated by reading the various time parameters carried by the incremental business records; expired historical version records retained in the system are removed based on the weight values; and the event tracing fields are obtained by filtering the fields according to the local reporting standards.

[0010] Furthermore, the calculation of version validity weights includes: Read the transaction commit timestamp; read the system initialization baseline time and the current system execution time of the detection project; combine the version validity indicator with the weight calculation; the calculated weight is used to characterize the time validity of a single incremental business record; the weight value provides a unified judgment basis for the screening of subsequent version records.

[0011] Furthermore, filling the traceability fields into the corresponding field positions of the local regulatory data packet includes: A field mapping index table is established based on the structured data reporting standards of the local regulatory platform; the extracted event tracing fields are written into the corresponding positions of the regulatory data packets using the mapping index table; and the prepared routine engineering inspection business data packets are read and merged to obtain a complete reporting data packet.

[0012] Furthermore, the push to the local regulatory platform includes: The complete data packet is serialized into a string stream; the data receiving application interface of the local regulatory platform is called to complete the data transmission; the response status code returned by the regulatory platform is received; and the reception result of this data packet is determined based on the response status code.

[0013] Furthermore, the process of archiving and saving the engineering inspection business event identifier, event tracing field, and complete reporting data packet together includes: When the response status code is successful, a combined storage table is created using the business event identifier as the primary key index; various types of business data are written into the combined storage table to complete the data entry; at the same time, the complete reporting data packet is stored as a file backup in the system's local designated storage directory.

[0014] This application provides an information processing system for engineering quality inspection, which implements an information processing method for engineering quality inspection, including: a data acquisition module, a graph structure construction module, an event capture module, an incremental data extraction module, a field validation and extraction module, a data packet assembly module, and a push archiving module; The data acquisition module is used to acquire business process status data of the engineering quality testing business system, as well as the structured data reporting standards of the engineering local supervision platform for engineering testing business. The graph structure construction module is used to parse the reporting standard and, in conjunction with the field references and foreign key dependencies of the engineering testing-specific business forms, construct a directed acyclic business data dependency graph. The vertices of the dependency graph are engineering testing-specific data tables, which at least include the commission change table and the sample retest record table. The event capture module is used to monitor engineering testing-specific business events such as commission change events or sample retesting events generated in the business chain, and capture the corresponding target business records and status change identifiers. The incremental data extraction module is used to traverse the directed acyclic business data dependency graph based on the state change identifier to obtain the affected data table nodes and extract the incremental business records within the nodes. The field validation and extraction module is used to perform topology sorting and version conflict validation on incremental business records and extract event tracing fields according to the local reporting standards. The data packet assembly module is used to fill the traceability fields into the corresponding field positions of the local regulatory data packet and merge them with the regular engineering inspection business data to generate a complete reporting data packet; The push archiving module is used to push to the local regulatory platform and archive and save the engineering testing business event identifier, event tracing field, and complete reporting data packet.

[0015] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: This application provides an information processing method and system for engineering quality testing. The method acquires business process status data from the engineering quality testing business system and structured data reporting standards for engineering testing business from the local engineering supervision platform. It parses the reporting standards and combines them with field references and foreign key dependencies in engineering testing-specific business forms to construct a directed acyclic business data dependency graph. It monitors and captures target business records and status change identifiers corresponding to commission change events or sample retesting events. Based on the status change identifiers, it traverses the directed acyclic business data dependency graph to obtain affected data table nodes and extracts incremental business records within the nodes. It performs topological sorting and version conflict verification on the incremental business records and extracts event tracing fields according to the local reporting standards. It fills the tracing fields into the corresponding field positions in the local supervision data package and merges them with regular engineering testing business data to generate a complete reporting data package. It pushes the data to the local supervision platform and archives and saves the engineering testing business event identifier, event tracing fields, and complete reporting data package in association.

[0016] In this process, based on the local reporting standards and the graph structure generated from the testing business forms, it is possible to locate the data tables affected after a business event occurs, extract the corresponding incremental business records, and obtain the relevant data brought about by the business changes.

[0017] Furthermore, performing topological sorting and version conflict verification on the extracted incremental business records can filter out expired historical version records, select event tracing fields that meet the local reporting requirements, and reduce the occurrence of invalid data participating in the reporting process.

[0018] Furthermore, the filtered traceability fields are assembled into the reporting data package to complete the push and archiving, so that traceability information generated by commission changes and sample retesting can be reported along with business data, reducing the manual operation of sorting and changing traceability fields and adapting to the reporting field requirements of different regions. Attached Figure Description

[0019] Figure 1 A flowchart of an information processing method for engineering quality inspection provided in this application embodiment; Figure 2 This is a schematic diagram of the structure of an information processing system for engineering quality inspection provided in an embodiment of this application. Detailed Implementation

[0020] This application provides an information processing method and system for engineering quality testing, which solves the problem in the prior art where incremental traceability information generated by changes in engineering testing commissions or sample retesting is difficult to automatically adapt to the reporting template of the local authorities, easily leading to missed reports of traceability information. By constructing a directed acyclic business data dependency graph in conjunction with engineering testing-specific business forms, capturing change-type business events, traversing the graph structure to extract incremental business records, and assembling the reporting data package after verification and filtering to obtain traceability fields, the method achieves automatic collection and reporting of traceability information generated by business changes, reducing the omission of fields in the local regulatory reporting process.

[0021] To better understand the above technical solutions, the following will provide a detailed explanation of the technical solutions in conjunction with the accompanying drawings and specific implementation methods.

[0022] like Figure 1 As shown in the figure, this application provides an information processing method for engineering quality inspection. This method is applied to an information processing system for engineering quality inspection and includes the following steps: S1, Business and Standard Data Acquisition: Acquire business process status data from the engineering quality testing business system, as well as structured data reporting standards for engineering testing business from the local engineering supervision platform.

[0023] Business process status data is obtained from the metadata view of the testing agency's business database. The structured data reporting standard for engineering testing business on the local engineering supervision platform can be obtained through two common methods: reading the configuration file issued by the regulator or calling the regulator's open metadata interface.

[0024] S2, Business Data Dependency Graph Construction: Parse the reporting standard, combine the field references and foreign key dependencies of the engineering testing-specific business forms, and construct a directed acyclic business data dependency graph. The vertices of the directed acyclic business data dependency graph are engineering testing-specific data tables, which at least include the commission change table and the sample retest record table.

[0025] S3, Business Event and Status Identifier Capture: Monitor business links to generate engineering testing-specific business events such as commission change events or sample retesting events, and capture the corresponding target business records and status change identifiers.

[0026] S4, Affected Node Location and Incremental Record Extraction: Based on the state change identifier, traverse the directed acyclic business data dependency graph to obtain the affected data table nodes, and extract the incremental business records within the nodes.

[0027] S5, Incremental record verification and source field extraction: Perform topology sorting and version conflict verification on incremental business records, and extract event source fields according to the local reporting standard.

[0028] S6, Assembling the regulatory reporting data packet: Fill the traceability field into the corresponding field position of the local regulatory data packet, and merge it with the regular engineering inspection business data to generate a complete reporting data packet.

[0029] S7, Data Packet Push and Business Data Archiving: Push to the local regulatory platform and archive and save the engineering testing business event identifier, event tracing field, and complete reported data packet.

[0030] In this embodiment, this step addresses the issue of missed reporting of traceability information caused by change events through data acquisition, graph structure construction, business event capture, incremental record extraction, verification processing, data packet assembly and push, and archiving. These steps are functionally coupled: the directed acyclic business data dependency graph provides the topological foundation for event-driven subgraph traversal; subgraph traversal locates the affected data table to obtain incremental business records; version conflict verification filters out valid traceability fields; and the final output is used for reporting and archiving. Each step inputs and outputs sequentially, collectively achieving automatic reporting of business change traceability data.

[0031] Furthermore, the process of constructing the directed acyclic business data dependency graph includes: The system reads historical business form pattern definitions from the business system to extract field attributes. These definitions are taken from the metadata table storing the form structures in the business system. It also reads local reporting standards to extract regulatory field constraint rules, which include mandatory and format-related constraints imposed by local regulators on each business data table. Finally, it generates an initial graph structure using the business data tables as vertices and the form field reference relationships as directed edges.

[0032] To perform loop detection on the initial graph, the Tarjan loop detection algorithm can be used to perform loop detection operations, eliminate circular reference paths, obtain a usable directed acyclic business data dependency graph, and complete the expression of the dependencies between data tables.

[0033] Loop detection and loop elimination are indispensable parts of the implementation of directed acyclic business data dependency graphs. If circular reference paths are not eliminated, subgraph traversal will result in an infinite loop, making it impossible to locate the affected data table nodes normally.

[0034] Furthermore, the process of capturing the corresponding target business record and status change identifier includes: Continuously monitor the database transaction logs of the engineering quality inspection business system. The database transaction logs use the business database's native binlog logs, eliminating the need for additional third-party log collection hardware. Identify business event logs triggered by commission changes or sample retesting instructions. Parse and process the business event logs to extract the operation object identifier as the target business record. Extract the transaction commit timestamp and status modification code to form a status change identifier for subsequent traversal and invocation.

[0035] The state change identifier contains two types of information: the transaction commit timestamp, which is used to define when the business event occurred, and the state modification code, which is used to distinguish the specific type of the business event. Both of them are used as input parameters for graph traversal and are indispensable.

[0036] Furthermore, the process of traversing the directed acyclic business data dependency graph to obtain the affected data table nodes includes: A reverse breadth-first search is performed, starting from the vertex corresponding to the state change identifier. This reverse breadth-first search can be implemented using open-source graph computing components, eliminating the need for developing the underlying algorithm. After the search, the affected subgraph is formed. A query operation is initiated into the database based on the set of vertices contained in the subgraph; the system automatically concatenates batch query statements to complete the database interaction. Redundant rows with unchanged values ​​within the query results are filtered. In this embodiment, redundancy filtering is achieved by comparing the hash values ​​of data rows before and after the change. Rows with unchanged hash values ​​are discarded, and finally, valid incremental business records are filtered and output.

[0037] Without filtering redundant field rows, a large amount of unmodified historical data will be included, increasing the data volume of the reported data packet and also increasing the computational overhead of version conflict verification.

[0038] Furthermore, the step of performing topology sorting and version conflict verification on incremental service records includes: The topological sorting is performed according to the node dependencies of the data tables. In this embodiment, the Kahn algorithm is used to perform the topological sorting to determine the order of data processing and avoid disorder in the order of cross-table data processing. Various time parameters carried by incremental business records are read to calculate the version validity weight. Expired historical version records retained in the system are removed based on the weight values. Then, the event source fields are obtained by filtering the fields according to the local reporting standards.

[0039] Topological sorting ensures that incremental records from multiple data tables are processed in an ordered manner according to their dependencies, and version validity weight is the basis for distinguishing between valid and expired records.

[0040] Furthermore, the calculation of version validity weights includes: The system reads the transaction commit timestamp, which is taken from the database transaction log. It also reads the system initialization baseline time and the current execution time of the detection project. The system initialization baseline time is the time when the detection project was first entered into the business system, and the current execution time is taken from the business server's system time. The version validity indicator is then used in the weight calculation, automatically assigned a value based on the time comparison result of the two records. The calculated weight is used to characterize the time validity of a single incremental business record, and the weight value provides a unified judgment basis for the selection of version records.

[0041] All the parameters used in the above calculations are read directly from existing fields in the business system, eliminating the need for manual input of custom parameters and reducing deployment and configuration difficulty.

[0042] Furthermore, filling the traceability fields into the corresponding field positions of the local regulatory data packet includes: A field mapping index table is established based on the structured data reporting standards of the local regulatory platform. This table is a configuration table set during the deployment phase, specifying a one-to-one correspondence between internal system business fields and regulatory reporting fields. The extracted event tracing fields are written to their corresponding positions in the regulatory data packet using the mapping index table. The prepared routine engineering inspection business data packet is then read and merged to obtain a complete reporting data packet.

[0043] The field mapping index table adapts to the field differences of different local regulatory platforms, achieving a single business system that can adapt to the reporting formats of multiple locations. The data packets for routine engineering testing business are ordinary test result data packets, excluding business change events.

[0044] Furthermore, the push to the local regulatory platform includes: The complete reported data packet is serialized into a string stream, with the serialization format selected according to the requirements of the local regulatory interface. The data is sent by calling the data receiving application interface of the local regulatory platform, reusing mature network request components in the calling process. The response status code returned by the regulatory platform is received, and the success of the data packet reception is determined based on the response status code.

[0045] The response status code is a prerequisite for executing subsequent archiving operations. Only after confirming that the monitoring platform has successfully received the data will the complete archiving and storage process be executed.

[0046] Furthermore, the process of archiving and saving the engineering inspection business event identifier, event tracing field, and complete reporting data packet together includes: When the response status code is successful, a unionized storage table is created using the business event identifier as the primary key index. Various types of business data are written to the unionized storage table to complete the data entry. The unionized storage table is stored in the archive database of the business system. Simultaneously, the complete reported data packet is stored as a file backup in a designated local storage directory, which is a configurable path during the deployment phase.

[0047] A dual backup approach, combining database entry and local file backup, is adopted to ensure the traceability and correlation of business events, traceability fields, and reported data packets, thereby meeting the business requirements for leaving traces of engineering quality inspection and supervision. Example 1

[0048] Scenario where a change of entrustment occurs in a construction project: A residential building project is conducting third-party quality testing. According to the structured reporting standards of the local regulatory authority, five mandatory traceability fields must be reported for any changes in the commissioning: the commissioning unit before the change, the commissioning unit after the change, the time of the change, the change approval serial number, and the associated sample number.

[0049] The system reads the reporting standards for this region and constructs a directed acyclic business data dependency graph based on foreign key relationships in the business forms. The vertices in the graph include the commission change table, the sample basic information table, and the testing task table. When a business operator executes a commission change operation, the transaction commit timestamp is assigned 1752086400, and the change approval serial number is assigned PB-20260709-001. Before the change, the commissioning unit was Construction Company A; after the change, the commissioning unit is Construction Company B, and the sample number is associated with S-JZ-037. The database binlog captures this commission change event and generates a status change identifier.

[0050] Starting from the vertex of the delegated change table, a reverse breadth-first search is performed. The target affected subgraph contains 3 data table vertices. The database query returns 12 original data rows. After hash comparison and filtering, 8 redundant rows without changes are obtained, resulting in 4 incremental business records. Topological sorting is performed on the incremental business records, and the version validity weight is calculated by reading the time parameter of each record. Among them, 3 historical old records with a weight of 0 are removed, and only 1 valid incremental business record with a weight greater than 0 is retained.

[0051] Extract the following information from valid incremental business records: the client before the change, the client after the change, the change occurrence time, the change approval serial number, and the associated sample number. Use these as event tracing fields, fill them into the regulatory data package, and merge them with the project's routine testing business data package to generate a complete reporting data package. The total size of the data package is 12.6KB. A push notification is sent to the local regulatory interface, and a 200 response status code indicating successful reception is received. After processing is complete, a business event record is written to the combined storage table, and a backup file named EVT-20260709-001.json is synchronously generated in the local directory.

[0052] In comparison, if the traditional static template configuration method were used, this entrusted change would require manual searching and entry of 5 traceability fields, with the possibility of missing 1 to 2 fields. After this scenario was implemented, all 5 traceability fields required by the regulatory authorities were automatically extracted and filled into the reporting data packet, with no missing fields. The reporting data packet passed the format verification of the local regulatory platform, and the verification returned a message indicating that all required fields were complete. Example 2

[0053] Scenario for sample retesting in municipal engineering projects: A municipal road testing project falls under the jurisdiction of another jurisdiction. This jurisdiction has set up four mandatory reporting traceability fields for sample retesting events, namely the retesting trigger reason, the original sample number, the retesting execution time, and the retesting task number.

[0054] The system reads the local structured reporting standards and constructs a directed acyclic business data dependency graph based on municipal testing business forms. The vertices in the graph include the sample retest record table, sample basic information table, original testing task table, and retest task table. Due to the high dispersion of the original sample, the business system triggers the sample retest process, assigning a transaction commit timestamp of 1752172800. The retest is triggered because the sample dispersion exceeds the standard. The original sample number is S-SZ-112, and the retest task number is T-SZ-079. The database transaction log captures this sample retest event and generates a corresponding status change identifier.

[0055] Starting from the vertex of the sample retest record table, a reverse breadth-first search is performed. The target affected subgraph contains 4 data table vertices. The database query returns 18 original data rows. After hash comparison, 11 redundant rows that have not been modified are filtered out, resulting in 7 incremental business records. Topological sorting is performed to determine the data table processing order, and the validity weight of each record version is calculated. Among them, 5 historical version records with a weight of 0 are removed, leaving 2 valid incremental business records.

[0056] Based on the local reporting field constraints, the retest trigger reason, original sample number, retest execution time, and retest task number are extracted from valid incremental business records as event tracing fields, which are then populated into the regulatory data package and merged with the municipal project's regular business data package. The complete reported data package size is 14.1KB. After being pushed to the local regulatory interface, a successful response status code 200 is received. A corresponding business event record is generated in the federated storage table, and a backup file EVT-20260710-042.json is generated in the local storage directory.

[0057] In the traditional static template mode, the local retesting business required business personnel to manually collect four traceability fields across four data tables, which was prone to field mismatches. After the implementation of this scenario, all four traceability fields required by the local authorities were automatically collected and assembled, and the reported data packet passed the format verification of the local regulatory platform, with no missing traceability fields or field mismatches.

[0058] like Figure 2 As shown in the embodiment of this application, an information processing system for engineering quality inspection includes: a data acquisition module, a graph structure construction module, an event capture module, an incremental data extraction module, a field verification and extraction module, a data packet assembly module, and a push archiving module; The data acquisition module is used to acquire business process status data of the engineering quality testing business system, as well as the structured data reporting standards of the engineering local supervision platform for engineering testing business. The graph structure construction module is used to parse the reporting standard and, in conjunction with the field references and foreign key dependencies of the engineering testing-specific business forms, construct a directed acyclic business data dependency graph. The vertices of the dependency graph are engineering testing-specific data tables, which at least include the commission change table and the sample retest record table. The event capture module is used to monitor engineering testing-specific business events such as commission change events or sample retesting events generated in the business chain, and capture the corresponding target business records and status change identifiers. The incremental data extraction module is used to traverse the directed acyclic business data dependency graph based on the state change identifier to obtain the affected data table nodes and extract the incremental business records within the nodes. The field validation and extraction module is used to perform topology sorting and version conflict validation on incremental business records and extract event tracing fields according to the local reporting standards. The data packet assembly module is used to fill the traceability fields into the corresponding field positions of the local regulatory data packet and merge them with the regular engineering inspection business data to generate a complete reporting data packet; The push archiving module is used to push to the local regulatory platform and archive and save the engineering testing business event identifier, event tracing field, and complete reporting data packet.

[0059] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, in the form of a computer program product.

[0060] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0061] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0062] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations 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. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An information processing method for engineering quality inspection, characterized in that, Includes the following steps: Obtain business process status data from the engineering quality testing business system, as well as the structured data reporting standards for engineering testing business from the local engineering supervision platform; The reporting standard is analyzed, and the field references and foreign key dependencies of the engineering testing-specific business forms are combined to construct a directed acyclic business data dependency graph. The vertices of the dependency graph are engineering testing-specific data tables, which at least include the commission change table and the sample retest record table. Monitor business events specific to engineering testing, such as commission change events or sample retesting events, generated in the business chain, and capture the corresponding target business records and status change identifiers. Based on the state change identifier, traverse the directed acyclic business data dependency graph to obtain the affected data table nodes, and extract the incremental business records within the nodes; Perform topology sorting and version conflict verification on incremental business records, and extract event tracing fields according to the local reporting standards; Fill the traceability fields into the corresponding fields of the local regulatory data packet, and merge them with the regular engineering testing business data to generate a complete reporting data packet; The data is pushed to the local regulatory platform, and the event identifier, event tracing field, and complete reporting data packet of the engineering testing business are associated and archived.

2. The information processing method for engineering quality inspection as described in claim 1, characterized in that, The process of constructing the directed acyclic business data dependency graph includes: Read the historical business form pattern definition from the business system and extract field attributes; Read the local reporting standards and extract the regulatory field constraint rules; The initial graph structure is generated using business data tables as vertices and form field reference relationships as directed edges. Perform loop detection on the initial graph and eliminate circular reference paths to obtain a usable directed acyclic business data dependency graph; Complete the expression of the dependencies between data tables.

3. The information processing method for engineering quality inspection as described in claim 1, characterized in that, The process of capturing the corresponding target business record and status change identifier includes: Continuously monitor the database transaction logs of the engineering quality inspection business system; Identify business event logs triggered by changes in entrustment or sample retesting instructions; The business event logs are parsed and processed to extract the operation object identifier as the target business record; Extract the transaction commit timestamp and the status modification code to form a status change identifier for subsequent traversal calls.

4. The information processing method for engineering quality inspection as described in claim 1, characterized in that, The affected data table nodes obtained by traversing the directed acyclic business data dependency graph include: Perform a reverse breadth-first search starting from the vertex corresponding to the state change flag; After the search is completed, a subgraph of the target is affected. Initiate a query operation to the database based on the set of vertices contained in the subgraph; Filter rows containing redundant fields whose values ​​have not changed within the query results; Finally, the valid incremental business records are filtered and output.

5. The information processing method for engineering quality inspection as described in claim 1, characterized in that, The process of performing topology sorting and version conflict verification on incremental business records includes: The data processing order is determined by performing topological sorting based on the node dependencies in the data table. Read the various time parameters carried in the incremental business records to calculate the version validity weight; Relying on weight values ​​to remove expired historical version records retained in the system; Then, based on the local reporting standards, the field filtering is completed to obtain the event source field.

6. The information processing method for engineering quality inspection as described in claim 5, characterized in that, The calculated version validity weights include: Read the transaction commit timestamp; Read the system initialization baseline time and the current system execution time for the detection items; Combine version validity indicators with weight calculation; The calculated weights are used to characterize the time validity of a single incremental business record. The weight values ​​provide a unified basis for filtering subsequent version records.

7. The information processing method for engineering quality inspection as described in claim 1, characterized in that, The step of filling the traceability fields into the corresponding field positions of the local regulatory data packet includes: Establish a field mapping index table based on the structured data reporting standards of the local regulatory platform; The extracted event sourcing fields are written to the corresponding positions in the regulatory data packet using the mapping index table; Read the prepared routine engineering inspection business data packets, perform data merging to obtain a complete reporting data packet.

8. The information processing method for engineering quality inspection as described in claim 1, characterized in that, The push to the local regulatory platform includes: Serialize the complete reported data packet into a string stream; The data is sent by calling the data receiving application interface of the local regulatory platform. Receive the response status code sent back by the regulatory platform; Determine whether the data packet reception result is successful based on the response status code.

9. The information processing method for engineering quality inspection as described in claim 8, characterized in that, The process of archiving and saving engineering testing business event identifiers, event tracing fields, and complete reporting data packets includes: When the response status code is successful, a composite storage table is created using the business event identifier as the primary key index; Write various types of business data into a combined storage table to complete the data entry; At the same time, the complete reported data packet will be stored as a file backup in the system's designated local storage directory.

10. An information processing system for engineering quality inspection, characterized in that, include: Data acquisition module, graph structure construction module, event capture module, incremental data extraction module, field validation and extraction module, data packet assembly module, and push archiving module; The data acquisition module is used to acquire business process status data of the engineering quality testing business system, as well as the structured data reporting standards of the engineering local supervision platform for engineering testing business. The graph structure construction module is used to parse the reporting standard and, in conjunction with the field references and foreign key dependencies of the engineering testing-specific business forms, construct a directed acyclic business data dependency graph. The vertices of the dependency graph are engineering testing-specific data tables, which at least include the commission change table and the sample retest record table. The event capture module is used to monitor engineering testing-specific business events such as commission change events or sample retesting events generated in the business chain, and capture the corresponding target business records and status change identifiers. The incremental data extraction module is used to traverse the directed acyclic business data dependency graph based on the state change identifier to obtain the affected data table nodes and extract the incremental business records within the nodes. The field validation and extraction module is used to perform topology sorting and version conflict validation on incremental business records and extract event tracing fields according to the local reporting standards. The data packet assembly module is used to fill the traceability fields into the corresponding field positions of the local regulatory data packet and merge them with the regular engineering inspection business data to generate a complete reporting data packet; The push archiving module is used to push to the local regulatory platform and archive and save the engineering testing business event identifier, event tracing field, and complete reporting data packet.