Search

CN-122020730-A - Configuration data consistency assessment device and method based on multidimensional verification

CN122020730ACN 122020730 ACN122020730 ACN 122020730ACN-122020730-A

Abstract

The invention relates to the technical field of configuration data verification, in particular to a device and a method for evaluating the consistency of configuration data based on multi-dimensional verification, wherein the device comprises a data acquisition layer, a core verification layer and a result output layer which are sequentially connected; the data acquisition layer is used for acquiring configuration data, the core verification layer comprises a structure verification module, a content verification module and a relation verification module which are connected in parallel, the structure verification module is used for carrying out structure verification on the structure compliance, field integrity, data type and format of the configuration data, the content verification module is used for carrying out content verification on key fields, enumeration values and business logic compliance of the configuration data, the relation verification module is used for carrying out relation verification on the dependency relationship, referential integrity and time sequence compliance of the configuration data, the result output layer is used for receiving a verification result of the core verification layer, and a comprehensive consistency score is generated through a weighted aggregation algorithm. The integrity and the accuracy of configuration data verification are improved, and potential safety hazards are reduced.

Inventors

  • WANG WEISHI
  • WU BANG
  • ZHAO YUMENG
  • HUA LINGLING
  • ZHENG MUHUO

Assignees

  • 浙江众合科技股份有限公司

Dates

Publication Date
20260512
Application Date
20251226

Claims (10)

  1. 1. The configuration data consistency assessment device based on multi-dimensional verification is characterized by comprising a data acquisition layer, a core verification layer and a result output layer which are connected in sequence, wherein the data acquisition layer is used for acquiring configuration data; the core verification layer comprises a structure verification module, a content verification module and a relation verification module which are connected in parallel, wherein the structure verification module is used for carrying out structure verification on the structure compliance, the field integrity, the data type and the format of configuration data to obtain a structure verification result; The result output layer is used for receiving the structure verification result, the content verification result and the relation verification result from the core verification layer and carrying out weighted aggregation on the structure verification result, the content verification result and the relation verification result to generate a comprehensive consistency score.
  2. 2. The configuration data consistency assessment device based on multi-dimensional verification according to claim 1 is characterized in that the structure verification result comprises a structure normalization result, a field integrity result and a data type and format result, wherein the structure verification module is used for verifying the structure compliance of the configuration data, specifically, whether the structure of the configuration data accords with a specification or not through loading a predefined Schema template to obtain the structure normalization result, verifying the field integrity of the configuration data, specifically, checking whether a specified necessary field in the configuration data exists or not to obtain the field integrity result, and verifying the data type and format of the configuration data, specifically, verifying whether the value of each field accords with the defined data type and format requirement to obtain the data type and format result.
  3. 3. The multi-dimensional verification-based configuration data consistency assessment device according to claim 2, wherein the configuration data format comprises JSON format and XML format, the data type comprises integer and character string, and the format requirements comprise IP address and date and time format.
  4. 4. The configuration data consistency assessment device based on multi-dimensional verification according to claim 1 is characterized in that the content verification result comprises a key field result, an enumeration value result and a service logic consistency result, wherein the content verification module is used for verifying the content of key fields of configuration data, specifically verifying whether key configuration items in source end data and destination end data are matched to obtain key field results, wherein the key configuration items comprise equipment addresses and threshold parameters, verifying the content of enumeration values of the configuration data, specifically verifying whether values of enumeration fields are in a predefined legal set and whether numerical fields are in a set reasonable interval to obtain enumeration value results, and verifying the service logic consistency of the configuration data, specifically verifying whether the configuration of equipment types and communication protocols is consistent to obtain service logic consistency results.
  5. 5. The configuration data consistency assessment device based on multi-dimensional verification according to claim 1 is characterized in that the relation verification result comprises a dependency relation result, a referential integrity result and a time sequence consistency result, the relation verification module is used for verifying the dependency relation of configuration data, specifically verifying whether the dependency relation of a configuration statement is met based on a configuration item dependency graph to obtain a dependency relation result, verifying the referential integrity of the configuration data, specifically verifying whether a valid corresponding item exists in a target system of a referential mark in the configuration to obtain a referential integrity result, and verifying the time sequence consistency of the configuration data, specifically verifying whether the effective time sequence of configuration change with a time sequence requirement accords with business logic to obtain a time sequence consistency result.
  6. 6. The multi-dimensional verification-based configuration data consistency assessment device according to claim 1, wherein the configuration data comprises first configuration data from a source terminal and second configuration data from a destination terminal, and the data acquisition layer is configured to acquire the first configuration data of the source terminal through the CMP data probe and the second configuration data of the destination terminal through the lightweight data probe.
  7. 7. The multi-dimensional verification-based configuration data consistency assessment device of claim 1, wherein the result output layer is further configured to output a verification report and alarm information of the integrated consistency score.
  8. 8. The configuration data consistency assessment method based on multi-dimensional verification is applied to the configuration data consistency assessment device based on multi-dimensional verification, and is characterized by comprising the steps of collecting first configuration data of a source end and second configuration data of a destination end, wherein the configuration data comprises the first configuration data and the second configuration data; Carrying out structure verification on the structure compliance, field integrity, data type and format of the configuration data to obtain a structure verification result; Performing content verification on the key fields, enumeration values and service logic compliance of the configuration data to obtain a content verification result; performing relationship verification on the dependency relationship, the referential integrity and the time sequence consistency of the configuration data to obtain a relationship verification result; and aggregating the structure verification result, the content verification result and the relation verification result through a weighted aggregation algorithm to generate the comprehensive consistency score of the configuration data.
  9. 9. The method for evaluating the consistency of configuration data based on multi-dimensional verification according to claim 8, wherein the first configuration data of the source terminal is collected by the CMP data probe, and the second configuration data of the destination terminal is collected by the lightweight data probe.
  10. 10. The method for evaluating the consistency of configuration data based on multi-dimensional verification of claim 8, further comprising outputting a verification report of the integrated consistency score and alarm information after generating the integrated consistency score of the configuration data.

Description

Configuration data consistency assessment device and method based on multidimensional verification Technical Field The invention relates to the technical field of configuration data verification, in particular to a device and a method for evaluating the consistency of configuration data based on multi-dimensional verification. Background In the field of security control of rail transit, chemical production and the like, an industrial Internet of things (IIoT) data Configuration Management Platform (CMP) is a core hub for connecting physical equipment and upper-layer applications, and functions of the platform are connected through full links such as equipment access, data acquisition, configuration management, data processing, storage, analysis, application interaction and the like, and the accuracy of platform configuration data is directly related to stable operation and production security of an industrial production system. At present, configuration data input and verification of CMP are finished in a large amount by relying on manual mode in the industrial production process, configuration errors (such as parameter misfilling, field omission, logic conflict and the like) caused by manual operation are extremely easy to cause the problems of equipment operation abnormality, instruction execution deviation and the like, and serious consequences such as production stagnation and safety accidents are caused, so that secondary verification on the correctness of the configuration data is carried out, and the method is a key link for reducing potential safety hazards in safety production. However, the verification means of the configuration data of the prior scheme has obvious limitation, mainly relies on a manual post-comparison mode, and has the inherent defects of single verification dimension, namely, the verification dimension can only be checked for individual explicit indexes of the configuration data, and systematic verification cannot be developed from multiple dimensions. The coverage is incomplete, manual comparison is difficult to cover the whole content of massive configuration data, and particularly verification omission is very easy to occur for cross-device or cross-system configuration data, so that potential configuration errors cannot be found in time. The consistency and reliability of the verification result are difficult to guarantee, hysteresis exists in post verification, and potential safety hazard is high. Disclosure of Invention The invention aims to provide a configuration data consistency assessment device and method based on multi-dimensional verification, which improve the integrity and accuracy of configuration data verification, reduce potential safety hazards and ensure the stable operation of an industrial Internet of things system by means of a layered architecture, three-dimensional parallel automatic verification and quantitative scoring. In order to solve the technical problems, the invention adopts the following technical scheme: The invention provides a configuration data consistency assessment device based on multi-dimensional verification, which comprises a data acquisition layer, a core verification layer and a result output layer which are sequentially connected, wherein the data acquisition layer is used for acquiring configuration data, the core verification layer comprises a structure verification module, a content verification module and a relation verification module which are connected in parallel, the structure verification module is used for carrying out structure verification on structure compliance, field integrity, data types and formats of the configuration data to obtain a structure verification result, the content verification module is used for carrying out content verification on key fields, enumeration values and business logic consistency of the configuration data to obtain a content verification result, the relation verification module is used for carrying out relation verification on dependency relation, referential integrity and time sequence consistency of the configuration data to obtain a relation verification result, and the result output layer is used for receiving the structure verification result, the content verification result and the relation verification result from the core verification layer and carrying out weighted aggregation on the structure verification result, the content verification result and the relation verification result to generate a comprehensive consistency score. Optionally, the structure verification result comprises a structure normalization result, a field integrity result and a data type and format result, wherein the structure verification module is used for verifying the structure compliance of the configuration data, specifically, whether the structure of the configuration data accords with the specification or not through loading a predefined Schema template to obtain the structure normalization result, ver