Search

EP-4742607-A1 - AUTOMATIC VERIFICATION METHOD AND SYSTEM FOR COMMUNICATION DATA ACCESS OF MULTI-DISCIPLINARY LINE NETWORK INTELLIGENT OPERATION AND MAINTENANCE PLATFORM

EP4742607A1EP 4742607 A1EP4742607 A1EP 4742607A1EP-4742607-A1

Abstract

The present invention relates to an automatic verification method and system for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform. The method includes: acquiring a JSON structure body describing device attributes, a device attribute constraint condition, a communication system device information table and a communication system log file; parsing the JSON structure body describing the device attributes and the device attribute constraint condition, and constructing a structure body to record parsed JSON structure body information and the parsed constraint condition; extracting a device name and device ID fields from the communication system device information table, and constructing a monitored device information table; parsing the communication system log file based on data of the constructed structure body; and comparing a parsing result of the communication system log file with the monitored device information table, and outputting a verification result. Compared with the prior art, the present invention can automatically and quickly verify an accessed communication system data packet, has high efficiency, and can comprehensively check all accessed communication device information.

Inventors

  • WEI, LI
  • WANG, YIDUO
  • LIU, WEN
  • LIU, HONGSHENG
  • WANG, YU
  • MA, Yongheng
  • GUO, Yuanlong

Assignees

  • Casco Signal Ltd.

Dates

Publication Date
20260513
Application Date
20240809

Claims (15)

  1. An automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform, comprising: acquiring a JSON structure body describing device attributes, a device attribute constraint condition, a communication system device information table, and a communication system log file; parsing the JSON structure body describing device attributes and the device attribute constraint condition, and constructing a structure body to record parsed JSON structure body information and a parsed constraint condition; extracting a device name and a device ID field from the communication system device information table to construct a monitored device information table; parsing the communication system log file based on data of the constructed structure body; and comparing a parsing result of the communication system log file with the monitored device information table, and outputting a verification result.
  2. The automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 1, wherein a process of parsing the JSON structure body describing device attributes specifically comprises: extracting device attribute fields from the JSON structure body, decomposing a key and a value of each device attribute field, and identifying a data type of the value; if the data type of the value is an array field, continuing parsing until the JSON structure body describing device attributes is parsed completely.
  3. The automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 2, wherein if the data type of the value is an array field, continuing parsing until the JSON structure body describing device attributes is completely parsed, specifically comprises: if the data type of the value is the array field, parsing the array field, recording an array name, decomposing a key and a value that constitute array data, identifying the data type of the value; if there is still an array field, continuing parsing the array field until the JSON structure body describing device attributes is parsed completely.
  4. The automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 2 or 3, wherein the data type of the value comprises a number, a character string, an array, and Boolean.
  5. The automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 1, wherein the parsed JSON structure body information and the parsed constraint condition comprise a device name field and a device ID field.
  6. The automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 1, wherein the communication system device information table is an input file of various devices accessing a multi-disciplinary line network platform of a subway provided by a communication manufacturer.
  7. The automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 1, wherein the parsing the communication system log file based on data of the constructed structure body, specifically comprises: 1) extracting data information from the communication system log file, searching for a keyword in the data information to match the JSON structure body; if not matched successfully, giving a prompt and continuing searching until there is a successful match; 2) checking whether the data information meets requirements of the JSON structure body information and the constraint condition according to a matched JSON structure body, and recording the device name, the device ID, and a corresponding unqualified issue in the data information; and 3) continuing to repeat steps 1) to 2) until the communication system log file is extracted and parsed completely.
  8. The automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 7, wherein the checking whether the data information meets requirements of the JSON structure body information and the constraint condition in step 2) specifically comprises: if there is no unknown or missing device attribute field, and the data type of the value in each field is correct, the constraint condition is satisfied.
  9. The automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 1, wherein the verification result comprises device information being received, device information being unreceived, and device information being unknown.
  10. An automatic verification system for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform, comprising: an input module, configured to acquire a JSON structure body describing device attributes, a device attribute constraint condition, a communication system device information table, and a communication system log file; a parsing module for the JSON structure body describing device attributes and the device attribute constraint condition, configured to parse the JSON structure describing device attributes and the device attribute constraint condition, and to construct a structure body to record parsed JSON structure body information and the parsed constraint condition; a monitored device information table construction module, configured to extract a device name and a device ID field from the communication system device information table to construct a monitored device information table; a log file parsing module, configured to parse the communication system log file based on data of the constructed structure body; and a verification module, configured to compare a parsing result of the communication system log file with the monitored device information table, and to output a verification result.
  11. The automatic verification system for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 10, wherein the parsing module for the JSON structure body describing device attributes and the device attribute constraint condition is provided with a parsing submodule for the JSON structure body describing device attributes, configured to extract device attribute fields in the JSON structure body, decompose a key and a value of each device attribute field, and to identify a data type of the value; if the data type of the value is an array field, parsing is continued until the JSON structure body describing device attributes is parsed completely.
  12. The automatic verification system for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 10, wherein the log file parsing module specifically comprises: a search and match submodule, configured to extract data information from the communication system log file, search for a keyword in the data information to match the JSON structure body; if not matched successfully, giving a prompt and continuing searching until there is a successful match; a checking submodule, configured to check whether the data information meets requirements of the JSON structure body information and the constraint condition according to a matched JSON structure body, and to record the device name, the device ID, and a corresponding unqualified issue in the data information; and a loop submodule, configured to repeatedly operate the search and match submodule and the checking submodule until the communication system log file is extracted and parsed completely.
  13. The automatic verification system for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform according to claim 10, wherein the verification result output by the verification module comprises device information being received, device information being unreceived, and device information being unknown.
  14. An electronic device, comprising a memory on which a computer program is stored, and a processor, wherein when the processor executes the program, the method according to any one of claims 1 to 9 is implemented.
  15. A computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Description

TECHNICAL FIELD The present invention relates to the field of communication technology, and in particular to an automatic verification method and system for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform. BACKGROUND With the maturity and application of new-generation technologies such as the Internet of Things, big data, and artificial intelligence, the technical conditions for promoting the transformation of operation and maintenance modes based on intelligent technologies have been established. Some domestic manufacturers have carried out researches on intelligent operation and maintenance systems for line signals and communications, and have achieved critical progress, enabling the construction of multi-disciplinary line network intelligent operation and maintenance systems for subways. The functional positioning of the multi-disciplinary line network intelligent operation and maintenance platform for subways is to establish interfaces between the platform and various lines/core businesses. By technological innovation and business integration, real-time visualization monitoring of key facilities and equipment, rapid fault diagnosis and localization, and the like are achieved. By searching, Chinese invention patent application No. CN114282503A discloses a scheme for generating a technical logbook for railway communication equipment. The scheme is to create technical logbook classification, and create a technical logbook table under the created technical logbook classification, then configure table headers under the created table, and to establish a correlation between the technical logbook and equipment, thereby generating the technical logbook. That is, this technology manages railway communication equipment only through table classification and partitioning, and does not involve automatic verification of communication data. Currently, at the early stage of access, technical personnel need to manually verify whether the communication system data information accessed by the multi-disciplinary line network intelligent operation and maintenance platform for subways meets the requirements. Meanwhile, technical personnel need to manually verify whether all communication devices have been received by the multi-disciplinary line network intelligent operation and maintenance platform for subways. The above-mentioned manual verification of the accessed communication system data information is time-consuming, labor-intensive, and inefficient. Moreover, due to the large number of communication devices accessed, it fails to achieve comprehensive verification. Therefore, it is urgently necessary to design an automatic verification method and system for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform. SUMMARY To overcome the defects existing in the prior art, the present invention aims at providing an automatic verification method and system for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform, enabling efficient, accurate, and comprehensive verification of the data information accessed. The objective of the present invention can be achieved by the following technical solution: According to a first aspect of the present invention, provided is an automatic verification method for communication data access of a multi-disciplinary line network intelligent operation and maintenance platform. The method includes: acquiring a JSON structure body describing device attributes, a device attribute constraint condition, a communication system device information table, and a communication system log file;parsing the JSON structure body describing device attributes and the device attribute constraint condition, and constructing a structure body to record parsed JSON structure body information and a parsed constraint condition;extracting a device name and a device ID field from the communication system device information table to construct a monitored device information table;parsing the communication system log file based on data of the constructed structure body; andcomparing a parsing result of the communication system log file with the monitored device information table, and outputting a verification result. Preferably, the process of parsing the JSON structure body describing device attributes specifically includes: extracting device attribute fields from the JSON structure body, decomposing a key and a value of each device attribute field, and identifying a data type of the value; if the data type of the value is an array field, continuing parsing until the JSON structure body describing device attributes is parsed completely. Preferably, if the data type of the value is an array field, parsing is continued until the JSON structure body describing device attributes is completely parsed, specifically as follows: If the data type of the value is