CN115795322A - Railway configuration data comparison method and device, electronic equipment and storage medium - Google Patents

Railway configuration data comparison method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115795322A
CN115795322A CN202310046412.8A CN202310046412A CN115795322A CN 115795322 A CN115795322 A CN 115795322A CN 202310046412 A CN202310046412 A CN 202310046412A CN 115795322 A CN115795322 A CN 115795322A
Authority
CN
China
Prior art keywords
configuration data
railway
railway configuration
data comparison
compared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310046412.8A
Other languages
Chinese (zh)
Other versions
CN115795322B (en
Inventor
岳伊然
王英波
陈强
崔岩
徐昱
都云兵
焦燕菲
吴泳洁
刘瑞军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Research and Design Institute Group Co Ltd
Original Assignee
CRSC Research and Design Institute Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Research and Design Institute Group Co Ltd filed Critical CRSC Research and Design Institute Group Co Ltd
Priority to CN202310046412.8A priority Critical patent/CN115795322B/en
Publication of CN115795322A publication Critical patent/CN115795322A/en
Application granted granted Critical
Publication of CN115795322B publication Critical patent/CN115795322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The embodiment of the invention discloses a method and a device for comparing railway configuration data, electronic equipment and a storage medium. The method comprises the following steps: responding to a railway configuration data comparison request, and acquiring attribute information of railway configuration data to be compared; selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result; and carrying out difference analysis on the different railway configuration data according to the railway configuration data comparison result, and generating a railway configuration data comparison analysis report. By adopting the technical scheme of the embodiment of the invention, the adaptive railway configuration data comparison mode is selected according to the attribute information of the railway configuration data, so that the speed and the accuracy of the railway configuration data comparison are effectively improved.

Description

Railway configuration data comparison method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a railway configuration data comparison method and device, electronic equipment and a storage medium.
Background
The configuration data is the key for realizing interconnection and intercommunication of the ground equipment and the vehicle-mounted equipment. In order to improve the correctness of data compilation of railway signal equipment and improve the quality of software delivery source, key data compiled manually is required to be compiled in a double-channel and back-to-back mode. The consistency of double compiled data is the key for checking the correctness of the data, and is an important guarantee for the safety of railway transportation and production. However, the manual comparison of the two sets of data takes a long time, has low efficiency, cannot meet the requirement of engineering progress, is difficult to avoid comparison errors, and cannot ensure the accuracy of comparison results. Therefore, how to compare railway configuration data effectively is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The embodiment of the invention provides a railway configuration data comparison method, a railway configuration data comparison device, electronic equipment and a storage medium, which are used for rapidly completing the analysis and comparison of railway configuration data, shortening the time for comparing the railway configuration data and improving the working efficiency of personnel, thereby effectively improving the engineering efficiency of signal equipment.
In a first aspect, an embodiment of the present invention provides a method for comparing railway configuration data, including:
responding to a railway configuration data comparison request, and acquiring attribute information of railway configuration data to be compared;
selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result;
and carrying out difference analysis on the different railway configuration data according to the railway configuration data comparison result, and generating a railway configuration data comparison analysis report.
In a second aspect, an embodiment of the present invention further provides a device for comparing railway configuration data, including:
the railway configuration data attribute information determining module is used for responding to a railway configuration data comparison request and acquiring attribute information of railway configuration data to be compared;
the railway configuration data comparison result determining module is used for selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result;
and the railway configuration data difference analysis module is used for carrying out difference analysis on the railway configuration data with difference according to the railway configuration data comparison result and generating a railway configuration data comparison analysis report.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for matching railway configuration data according to any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for comparing railway configuration data according to any embodiment of the present invention.
The embodiment of the invention provides a method and a device for comparing railway configuration data, electronic equipment and a storage medium, wherein attribute information of the railway configuration data to be compared is acquired by responding to a railway configuration data comparison request; selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result; and carrying out difference analysis on the different railway configuration data according to the railway configuration data comparison result, and generating a railway configuration data comparison analysis report. By adopting the technical scheme of the embodiment of the invention, the adaptive railway configuration data comparison mode is selected according to the attribute information of the railway configuration data, so that the speed and the accuracy of the railway configuration data comparison are effectively improved.
Drawings
Other features, objects and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments thereof, which proceeds with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a method for comparing railway configuration data according to an embodiment of the present invention;
fig. 2 is a structural deployment diagram of a dual editing automatic comparison platform provided in the embodiment of the present invention;
fig. 3 is a functional structure diagram of a dual editing automatic comparison platform provided in the embodiment of the present invention;
fig. 4 is a general structural diagram of a dual editing automatic comparison platform provided in the embodiment of the present invention;
FIG. 5 is a flow chart of another method for comparing railway configuration data provided in an embodiment of the present invention;
FIG. 6 is a flowchart of a comparison method adapted to different railway configuration data according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart of a railway configuration data comparison system provided in an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a railway configuration data comparing device provided in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in greater detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations (or steps) can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations.
Fig. 1 is a flowchart of a method for comparing railway configuration data according to an embodiment of the present invention, where the embodiment is applicable to a situation of comparing railway configuration data, and the method of the embodiment may be executed by a railway configuration data comparing device, and the device may be implemented in a hardware and/or software manner. The device can be configured in a server for comparing railway configuration data. The method specifically comprises steps S110-S130:
and S110, responding to the railway configuration data comparison request, and acquiring attribute information of the railway configuration data to be compared.
The client responds to the railway configuration data comparison request and acquires the railway configuration data to be compared from the server according to the user requirement. The railway configuration data includes, but is not limited to, host configuration data, parameter configuration data, and system configuration data.
As an optional but non-limiting implementation manner, the obtaining of the attribute information of the railway configuration data to be compared includes:
taking user input information as an input data source, and acquiring attribute information of railway configuration data to be compared; the input information comprises a product type and data input paths of the first object and the second object; the attribute information of the railway configuration data to be compared comprises host configuration information, parameter configuration information, system driving information and configuration data format information;
the railway configuration data to be compared comprises first railway configuration data to be compared and second railway configuration data to be compared; the first railway configuration data to be compared comprise railway configuration data compiled by a first object, and the second railway configuration data to be compared comprise railway configuration data compiled by a second object.
The first object compiles first railway configuration data to be compared, the second object compiles second railway configuration data to be compared, and the first railway configuration data to be compared and the second railway configuration data to be compared are compared. In the prior art, comparison is carried out manually, the manual comparison requires familiarity with a configuration data structure and proficiency in comparison principles, and the working hours and the working pressure of integration personnel are increased. The existing comparison tool can only complete basic comparison and does not have the functions of automatically acquiring data, cleaning data, analyzing encrypted data, customizing a difference analysis process, automatically generating a standardized comparison report and the like. Therefore, the requirement for comparing double-person compilation configuration data in the rail transit industry cannot be met, the existing problem is urgently needed to be solved from the perspective of an enterprise, and the time and money cost is reduced.
The embodiment of the invention provides a railway configuration data comparison method, and in reference to fig. 2, by establishing a dual-edition automatic comparison platform based on B/S architecture design, railway configuration data is obtained from a server in response to a request of a client so as to compare the railway configuration data. A client (Browse) uses a Web browser to perform data interaction with a database through a Web Server, and a vue lightweight frame is adopted for development; the Server (Server) adopts a SpringCloud micro-service architecture and is responsible for the functions of message forwarding, data storage and the like; and constructing a set of visual, automatic and platform comparison system. The back end part of the double-edition automatic comparison platform comprises a double-edition data comparison server, a public server (LDAP verification), a data storage server (database) and a file Server (SVN).
The method comprises the steps that a public server verifies a user through a Directory Access Protocol (LDAP), only the user passing the verification can initiate a railway configuration data comparison request, and attribute information of railway configuration data to be compared is obtained according to input information of the user. For example, the product type input by the user is a Train Control Center (TCC), line information and station information related to the TCC are input, and an input path of railway configuration data compiled by the first object and the second object is input, so that attribute information of the configuration data to be compared is obtained.
S120, selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result.
The railway configuration data comparison mode can be a mode for comparing railway configuration data to be compared, and different railway configuration data comparison modes are different from one another. And selecting a target railway configuration data comparison mode to compare the railway configuration data to be compared according to the attribute information of the railway configuration data to be compared. For example, comparing the structure bodies of the host configuration data zpw _ cfg.h, cfg _ ba.h, cfg _ wcz.h and the like of the column control center in a structure body comparison manner to obtain a comparison result of the host configuration data of the column control center.
Referring to fig. 3, the dual editing automatic comparison platform in the embodiment of the present invention includes, but is not limited to, a user management module, a data management module, a task management module, a version control management module, and a log management module, so as to implement closed-loop operations of data acquisition, visualization, analysis, and uploading, and ensure data security. Wherein:
the user management module includes, but is not limited to, user information, roles, and rights management. The dual-editing automatic comparison platform is respectively provided with basic roles such as an administrator, an auditor, a common user and the like, the permission setting according to the user role is realized, and the dual-editing automatic comparison platform is the basis for realizing the automatic circulation of the task flow.
The task management module can refer to operations of new creation, query, editing, search, statistics and the like of tasks. For example, in response to a railway configuration data comparison request, the task management module establishes a railway configuration data comparison task according to input information of a user so as to compare the railway configuration data to be compared.
The data management module can schedule and implement operations of downloading, analyzing, processing, storing, uploading and the like of data. For example, the railway configuration data is compared according to a railway configuration data comparison task established by the task management module, and the compared railway configuration data result is stored.
The version control management module may refer to operations on the SVN including, but not limited to, uploading files and downloading files. The method supports the function of verifying the access authority of the user, supports the operation of exporting, updating and submitting the SVN, can ensure that the user obtains the data of the latest version, and uploads a comparison report in time.
The log management module can be used for storing operation records of users, and is convenient to query. And log recording is adopted to debug the system and optimize the software performance, so that the safety and the stability of the product are improved. In addition, data can be collected, user behaviors can be analyzed, and valuable information can be analyzed.
The data source, the comparison result storage and the like of the invention all depend on the internal network, and the safety and the reliability of double-editing comparison of each signal product are improved.
S130, carrying out difference analysis on the different railway configuration data according to the railway configuration data comparison result, and generating a railway configuration data comparison analysis report.
Referring to fig. 4, the differential analysis is performed on the railway configuration data with differences, a railway configuration data comparison analysis report is generated, the railway configuration data comparison analysis report is uploaded through a version control management module, and railway configuration data operation logs, comparison forms and appendix files are output. The version control management module can acquire multi-version railway configuration data comparison analysis reports. For example, the currently generated railway configuration data comparison analysis report is version V1, the differential analysis is performed on the different railway configuration data, the revised railway configuration data is compared again, a railway configuration data comparison analysis report version V2 is generated, the railway configuration data comparison analysis reports of version V1 and version V2 are stored, and the revised record is stored in the log management module for query.
The embodiment of the invention provides a railway configuration data comparison method, which is used for responding to a railway configuration data comparison request and acquiring attribute information of railway configuration data to be compared; selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result; and carrying out difference analysis on the different railway configuration data according to the railway configuration data comparison result, and generating a railway configuration data comparison analysis report. By adopting the technical scheme of the embodiment of the invention, the double-edition automatic comparison platform is established, and the adaptive railway configuration data comparison mode is selected according to the attribute information of the railway configuration data, so that the railway configuration data comparison speed and accuracy are effectively improved; and the railway configuration data comparison analysis reports of all times are stored, so that the inquiry is facilitated.
Fig. 5 is a flowchart of another railway configuration data comparison method provided in the embodiment of the present invention. Embodiments of the present invention are further optimized on the basis of the above-mentioned embodiments, and the embodiments of the present invention may be combined with various alternatives in one or more of the above-mentioned embodiments. As shown in fig. 5, the method for comparing railway configuration data provided in the embodiment of the present invention may include steps S510 to S540:
s510, responding to the railway configuration data comparison request, and acquiring attribute information of the first configuration data to be compared and the second configuration data to be compared.
And after the user LDAP is successfully verified by the double-compiling automatic comparison platform, a railway configuration data comparison task can be initiated. The double-edition automatic comparison platform takes user input information as an input data source to acquire attribute information of the first to-be-compared configuration data and the second to-be-compared configuration data.
S520, determining a preset railway configuration data comparison mode for judging the difference between the first configuration data to be compared and the second configuration data to be compared.
The server side forwards the first configuration data to be compared and the second configuration data to be compared, which are acquired by the client side, to the service logic side, and the service logic side reads, analyzes and compares the first configuration data to be compared and the second configuration data to be compared and caches the comparison result.
In an alternative of an embodiment of the present invention, the present invention supports the comparison of multiple device and multiple format railroad configuration data, for example, TCC, TSRS, RBC comparison content including, but not limited to, host configuration data (e.g., model structures of a.c. and a.h) and parameter configuration data (e.g., dat data, xml data, ini data, etc.); the content to be compared by the CBI devices includes, but is not limited to, host configuration data (e.g., model structures of a.c. and a.h), parameter configuration data (e.g., par, SAV, etc.), and system driver data (e.g., K5B system includes TXT, EXP, etc., and DS60 system includes LIB, etc.). The method supports automatic data reading and data preprocessing of various file formats, including but not limited to supporting processing of remark information and timestamps in data; supporting the analysis of the structure and the disordered structure; and the file combination of the T.C responder messages of the train control equipment is supported.
Different from the line-by-line comparison mode with a single comparison tool, the method is suitable for different configuration files to realize the customization of the comparison rule and the comparison mode. The correctness of the comparison result is guaranteed by combining a plurality of comparison modes of MD5 code comparison, row-by-row comparison, structural body comparison and macro definition comparison.
As an optional but non-limiting implementation manner, the selecting a target railway configuration data comparison manner from preset railway configuration data comparison manners according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result includes, but is not limited to, steps A1-A2:
step A1: and converting the first to-be-compared configuration data and the second to-be-compared configuration data into corresponding MD5 code values respectively.
Step A2: and comparing the MD5 code value of the first configuration data to be compared with the MD5 code value of the second configuration data to be compared to determine a comparison result of the railway configuration data.
Referring to fig. 6, the first configuration data to be compared and the second configuration data to be compared are respectively converted into a corresponding first MD5 code value and a corresponding second MD5 code value, the first MD5 code value and the second MD5 code value are compared, and if they are consistent, it indicates that the first configuration data to be compared and the second configuration data to be compared are consistent. And if the configuration data to be compared are not consistent, determining a preset railway configuration data comparison mode for judging that the first configuration data to be compared and the second configuration data to be compared are different. The preset railway configuration data comparison modes include, but are not limited to, row-by-row comparison, structural body comparison and macro definition comparison.
S530, according to the attribute information of the configuration data, selecting a target railway configuration data comparison mode from the preset railway configuration data comparison modes to compare the railway configuration data to be compared, and determining a railway configuration data comparison result.
And selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes for comparison according to the attribute information of the first configuration data to be compared and the second configuration data to be compared so as to improve the accuracy of the data comparison result and provide the data comparison efficiency. For example, for the CBI host configuration parameters, a structural body comparison mode is adopted to compare railway configuration data; and comparing files of T.C responder messages of the train control equipment in a row comparison mode. And comparing the railway configuration data to be compared by adopting a target railway configuration data comparison mode, and recording the difference items so as to facilitate the user to inquire.
And S540, carrying out difference analysis on the different railway configuration data according to the railway configuration data comparison result, and generating a railway configuration data comparison analysis report.
As an optional but non-limiting implementation manner, the performing difference analysis on the different railway configuration data according to the comparison result of the railway configuration data, and generating a railway configuration data comparison analysis report includes, but is not limited to, steps B1-B2:
step B1: and if the railway configuration data comparison result is not different, directly generating a railway configuration data comparison analysis report.
And step B2: and if the railway configuration data comparison results are different, performing difference analysis on the configuration data with the difference, and generating a railway configuration data comparison analysis report.
Judging whether the comparison result of the railway configuration data is different or not, and if not, directly generating a railway configuration data comparison analysis report; and if the railway configuration data comparison result is different, performing difference analysis, determining a difference item and generating a railway configuration data comparison analysis report.
As an optional but non-limiting implementation manner, the differential analysis is performed on the railway configuration data with differences, and a railway configuration data comparison analysis report is generated, including but not limited to the steps C1-C2:
step C1: and if the different railway configuration data does not need to be audited by an auditor, generating a railway configuration data comparison analysis report after the first object and the second object are analyzed and determined.
And step C2: and if the different railway configuration data need to be audited by an auditor, generating a railway configuration data comparison analysis report after the first object, the second object and the auditor are analyzed and determined.
Referring to fig. 7, for the different railway configuration data, whether the different railway configuration data needs to be checked or not is judged according to the type of the railway configuration data, and if the different railway configuration data does not need to be checked, a railway configuration data comparison analysis report can be directly generated after the first object and the second object are determined. If the verification is needed, the updated railway configuration data is compared again, and a railway configuration data comparison analysis report can be generated only after the verification personnel verify the different railway configuration data. For example, if a difference item of "different implementation methods" or a difference item of "requiring to be submitted to a department for review" occurs in the difference analysis, the difference item needs to be reviewed by a reviewer, and a railway configuration data comparison analysis report can be generated after the reviewer performs review. And the difference analysis and audit processes are customized according to the industry standard, and the conversion of the difference item-by-item analysis, audit and rollback processes is supported.
As an optional but non-limiting implementation manner, the performing difference analysis on the different railway configuration data according to the comparison result of the railway configuration data, and generating a railway configuration data comparison analysis report further includes steps D1-D3:
step D1: highlighting the railway configuration data with the difference, and comparing the railway configuration data with the analysis report for storage.
Step D2: revising the railway configuration data with differences, comparing the updated railway configuration data again, judging whether the updated railway configuration data have differences, and generating an updated railway configuration data comparison analysis report according to the updated railway configuration data.
And D3: and obtaining the comparison condition of the railway configuration data through checking the railway configuration data comparison analysis report and the updated railway configuration data comparison analysis report.
The railway configuration data with the difference are highlighted, so that a user can more visually acquire the difference items, and the readability of the difference data is improved. All process data are supported to be reserved, and the railway configuration data comparison analysis report can be superposed to output each comparison result, for example, the current railway configuration data comparison analysis report is stored; and the updated railway configuration data is changed, compared and checked to generate an updated railway configuration data comparison analysis report, and the historical railway configuration data comparison analysis report is stored, so that the user can conveniently check the updated railway configuration data.
In an alternative scheme of the embodiment of the invention, the double-compilation automatic comparison platform also provides a visual interface, so that information such as the railway configuration data comparison task details and the task state can be checked.
The embodiment of the invention provides a railway configuration data comparison method, which comprises the steps of firstly comparing railway configuration data through MD5 code values, and then selecting a target railway configuration data comparison mode from the set railway configuration data comparison modes according to attribute information of the railway configuration data for comparison, so that the labor hour consumed by manual comparison is reduced, and the comparison accuracy is improved. The dual-editing data difference comparison, audit and report export processes are integrated to the same platform, and the time for dual-editing data comparison is greatly shortened.
Fig. 8 is a schematic structural diagram of a railway configuration data comparing device provided in an embodiment of the present invention, where the device includes: a railway configuration data attribute information determining module 810, a railway configuration data comparison result determining module 820 and a railway configuration data difference analyzing module 830; wherein,
the attribute information determining module 810 of the railway configuration data is used for responding to the comparison request of the railway configuration data and acquiring the attribute information of the railway configuration data to be compared;
a railway configuration data comparison result determining module 820, configured to select a target railway configuration data comparison method from preset railway configuration data comparison methods according to the attribute information to compare the railway configuration data to be compared, and determine a railway configuration data comparison result;
and the railway configuration data difference analysis module 830 is configured to perform difference analysis on the different railway configuration data according to the comparison result of the railway configuration data, and generate a railway configuration data comparison analysis report.
On the basis of the foregoing embodiment, optionally, the module for determining attribute information of railway configuration data includes:
taking user input information as an input data source, and acquiring attribute information of railway configuration data to be compared; the input information comprises a product type and data input paths of the first object and the second object; the attribute information of the railway configuration data to be compared comprises host configuration information, parameter configuration information, system driving information and configuration data format information;
the railway configuration data to be compared comprises first railway configuration data to be compared and second railway configuration data to be compared; the first railway configuration data to be compared comprises railway configuration data compiled by a first object, and the second railway configuration data to be compared comprises railway configuration data compiled by a second object.
On the basis of the foregoing embodiment, optionally, the module for determining the comparison result of the railway configuration data includes:
respectively converting the first to-be-compared configuration data and the second to-be-compared configuration data into corresponding MD5 code values;
and comparing the MD5 code value of the first configuration data to be compared with the MD5 code value of the second configuration data to be compared to determine a comparison result of the railway configuration data.
On the basis of the foregoing embodiment, optionally, the module for determining the comparison result of the railway configuration data further includes:
determining a preset railway configuration data comparison mode for judging that the first configuration data to be compared and the second configuration data to be compared are different;
and according to the attribute information of the configuration data, selecting a target railway configuration data comparison mode from the preset railway configuration data comparison modes to compare the railway configuration data to be compared, and determining a railway configuration data comparison result.
On the basis of the foregoing embodiment, optionally, the railway configuration data difference analyzing module includes:
if the railway configuration data comparison result is not different, directly generating a railway configuration data comparison analysis report;
and if the railway configuration data comparison results are different, performing difference analysis on the different railway configuration data, and generating a railway configuration data comparison analysis report.
On the basis of the foregoing embodiment, optionally, the railway configuration data difference analyzing module further includes:
if the different railway configuration data does not need to be audited by an auditor, generating a railway configuration data comparison analysis report after the first object and the second object are analyzed and determined;
and if the different railway configuration data need to be audited by auditors, generating a railway configuration data comparison analysis report after the first object, the second object and the auditors are analyzed and determined.
On the basis of the foregoing embodiment, optionally, the railway configuration data difference analyzing module further includes:
highlighting the railway configuration data with difference, and comparing the railway configuration data with an analysis report to store;
revising the railway configuration data with differences, comparing the updated railway configuration data again, judging whether the updated railway configuration data have differences, and generating an updated railway configuration data comparison analysis report according to the updated railway configuration data;
and obtaining the comparison condition of the railway configuration data through checking the railway configuration data comparison analysis report and the updated railway configuration data comparison analysis report.
The railway configuration data comparison device provided by the embodiment of the invention can execute the railway configuration data comparison method provided by any embodiment of the invention, has the corresponding functions and beneficial effects of executing the railway configuration data comparison method, and the detailed process refers to the related operations of the railway configuration data comparison method in the embodiment.
Fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 9, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the railroad configuration data alignment method.
In some embodiments, the railroad configuration data comparison method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the railway configuration data alignment method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the railway configuration data alignment method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A railway configuration data comparison method is characterized by comprising the following steps:
responding to a railway configuration data comparison request, and acquiring attribute information of railway configuration data to be compared;
selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result;
and carrying out difference analysis on the different railway configuration data according to the railway configuration data comparison result, and generating a railway configuration data comparison analysis report.
2. The method according to claim 1, wherein the obtaining attribute information of the railway configuration data to be compared comprises:
taking user input information as an input data source, and acquiring attribute information of railway configuration data to be compared; the input information comprises a product type and data input paths of the first object and the second object; the attribute information of the railway configuration data to be compared comprises host configuration information, parameter configuration information, system driving information and configuration data format information;
the railway configuration data to be compared comprises first railway configuration data to be compared and second railway configuration data to be compared; the first railway configuration data to be compared comprises railway configuration data compiled by a first object, and the second railway configuration data to be compared comprises railway configuration data compiled by a second object.
3. The method according to claim 1, wherein the selecting a target railway configuration data comparison method from preset railway configuration data comparison methods according to the attribute information to compare the railway configuration data to be compared and determine a railway configuration data comparison result comprises:
respectively converting the first to-be-compared configuration data and the second to-be-compared configuration data into corresponding MD5 code values;
and comparing the MD5 code value of the first configuration data to be compared with the MD5 code value of the second configuration data to be compared to determine a comparison result of the railway configuration data.
4. The method according to claim 1, wherein the step of selecting a target railway configuration data comparison method from preset railway configuration data comparison methods according to the attribute information to compare the railway configuration data to be compared and determine a railway configuration data comparison result further comprises the steps of:
determining a preset railway configuration data comparison mode for judging that the first configuration data to be compared and the second configuration data to be compared are different;
and according to the attribute information of the configuration data, selecting a target railway configuration data comparison mode from the preset railway configuration data comparison modes to compare the railway configuration data to be compared, and determining a railway configuration data comparison result.
5. The method of claim 1, wherein the performing difference analysis on the different railway configuration data according to the railway configuration data comparison result and generating a railway configuration data comparison analysis report comprises:
if the railway configuration data comparison result is not different, directly generating a railway configuration data comparison analysis report;
and if the railway configuration data comparison results are different, performing difference analysis on the different railway configuration data, and generating a railway configuration data comparison analysis report.
6. The method of claim 5, wherein the performing difference analysis on the different railway configuration data and generating a railway configuration data comparison analysis report comprises:
if the different railway configuration data do not need to be audited by auditors, generating a railway configuration data comparison analysis report after the first object and the second object are analyzed and determined;
and if the different railway configuration data need to be audited by an auditor, generating a railway configuration data comparison analysis report after the first object, the second object and the auditor are analyzed and determined.
7. The method according to any one of claims 5 to 6, wherein the performing difference analysis on the different railway configuration data according to the railway configuration data comparison result and generating a railway configuration data comparison analysis report further comprises:
highlighting the railway configuration data with difference, and comparing the railway configuration data with an analysis report to store;
revising the railway configuration data with differences, comparing the updated railway configuration data again, judging whether the updated railway configuration data have differences, and generating an updated railway configuration data comparison analysis report according to the updated railway configuration data;
and obtaining the comparison condition of the railway configuration data through checking the railway configuration data comparison analysis report and the updated railway configuration data comparison analysis report.
8. A railway configuration data comparison apparatus, the apparatus comprising:
the railway configuration data attribute information determining module is used for responding to a railway configuration data comparison request and acquiring attribute information of railway configuration data to be compared;
the railway configuration data comparison result determining module is used for selecting a target railway configuration data comparison mode from preset railway configuration data comparison modes according to the attribute information to compare the railway configuration data to be compared, and determining a railway configuration data comparison result;
and the railway configuration data difference analysis module is used for carrying out difference analysis on the railway configuration data with difference according to the railway configuration data comparison result and generating a railway configuration data comparison analysis report.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the railway configuration data alignment method of any of claims 1-7.
10. A storage medium containing computer executable instructions for performing the railway configuration data alignment method of any one of claims 1 to 7 when executed by a computer processor.
CN202310046412.8A 2023-01-31 2023-01-31 Railway configuration data comparison method, device, electronic equipment and storage medium Active CN115795322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310046412.8A CN115795322B (en) 2023-01-31 2023-01-31 Railway configuration data comparison method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310046412.8A CN115795322B (en) 2023-01-31 2023-01-31 Railway configuration data comparison method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115795322A true CN115795322A (en) 2023-03-14
CN115795322B CN115795322B (en) 2023-09-26

Family

ID=85429263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310046412.8A Active CN115795322B (en) 2023-01-31 2023-01-31 Railway configuration data comparison method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115795322B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004325529A (en) * 2003-04-21 2004-11-18 Seiko Epson Corp Originality guarantee system, data format conversion device, data format conversion method, data format conversion program
CN101009608A (en) * 2007-01-10 2007-08-01 中国电信股份有限公司 Automatic comparison method and system for the consistency test of the network management interface information model
US20130097342A1 (en) * 2011-10-12 2013-04-18 Safeln Train GmbH Method for Data Transmission by Telelgram
CN106021119A (en) * 2016-08-03 2016-10-12 网易(杭州)网络有限公司 Configuration file calibration method and device
CN109325059A (en) * 2018-12-03 2019-02-12 枘熠集成电路(上海)有限公司 A kind of data comparing method and device
CN111290769A (en) * 2020-01-22 2020-06-16 卡斯柯信号有限公司 Method for updating configuration data on line
CN112612544A (en) * 2020-12-24 2021-04-06 卡斯柯信号有限公司 Data generation method of railway signal monitoring and maintenance system and operation terminal thereof
CN113284547A (en) * 2021-06-18 2021-08-20 公安部物证鉴定中心 SSD hard disk fault diagnosis and data recovery tool
CN114398475A (en) * 2022-01-04 2022-04-26 北京全路通信信号研究设计院集团有限公司 Data processing method, data processing device, electronic equipment and storage medium
CN114595086A (en) * 2022-02-08 2022-06-07 联想(北京)有限公司 Abnormity detection method, device, equipment and storage medium
CN114915643A (en) * 2022-05-09 2022-08-16 北京交大微联科技有限公司 Configuration method, device, equipment and medium of railway signal centralized monitoring system
CN115237426A (en) * 2022-08-10 2022-10-25 中国农业银行股份有限公司 Method, device and equipment for determining database difference and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004325529A (en) * 2003-04-21 2004-11-18 Seiko Epson Corp Originality guarantee system, data format conversion device, data format conversion method, data format conversion program
CN101009608A (en) * 2007-01-10 2007-08-01 中国电信股份有限公司 Automatic comparison method and system for the consistency test of the network management interface information model
US20130097342A1 (en) * 2011-10-12 2013-04-18 Safeln Train GmbH Method for Data Transmission by Telelgram
CN106021119A (en) * 2016-08-03 2016-10-12 网易(杭州)网络有限公司 Configuration file calibration method and device
CN109325059A (en) * 2018-12-03 2019-02-12 枘熠集成电路(上海)有限公司 A kind of data comparing method and device
CN111290769A (en) * 2020-01-22 2020-06-16 卡斯柯信号有限公司 Method for updating configuration data on line
CN112612544A (en) * 2020-12-24 2021-04-06 卡斯柯信号有限公司 Data generation method of railway signal monitoring and maintenance system and operation terminal thereof
CN113284547A (en) * 2021-06-18 2021-08-20 公安部物证鉴定中心 SSD hard disk fault diagnosis and data recovery tool
CN114398475A (en) * 2022-01-04 2022-04-26 北京全路通信信号研究设计院集团有限公司 Data processing method, data processing device, electronic equipment and storage medium
CN114595086A (en) * 2022-02-08 2022-06-07 联想(北京)有限公司 Abnormity detection method, device, equipment and storage medium
CN114915643A (en) * 2022-05-09 2022-08-16 北京交大微联科技有限公司 Configuration method, device, equipment and medium of railway signal centralized monitoring system
CN115237426A (en) * 2022-08-10 2022-10-25 中国农业银行股份有限公司 Method, device and equipment for determining database difference and storage medium

Also Published As

Publication number Publication date
CN115795322B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
US11681685B1 (en) System for uploading information into a metadata repository
CN111651431A (en) Database service oriented management flow standardization method
Fisher et al. Utilizing Atlassian JIRA for large-scale software development management
CN109063362B (en) Avionics software interface control file design management system
WO2022267310A1 (en) Auxiliary processing method and device for software development, storage medium and program product
CN113722370A (en) Data management method, device, equipment and medium based on index analysis
CN114116678A (en) Data migration method, device, equipment, medium and program product
CN114841678B (en) Post data exchange method, data exchange system, server and storage medium
CN115795322A (en) Railway configuration data comparison method and device, electronic equipment and storage medium
CN113706101B (en) Intelligent system architecture and method for power grid project management
CN115392805A (en) Transaction type contract compliance risk diagnosis method and system
US10877450B2 (en) Workflow-based change management and documentation system and method
CN114707961A (en) Pending task execution method, device, equipment, medium and program product based on approval flow configuration
CN114978944A (en) Pressure testing method, device and computer program product
CN113902531A (en) Automatic generation system, method, electronic device and storage medium for bid document
CN112381509A (en) Management system for major special topic of national science and technology for creating major new drug
WO2020155167A1 (en) Application of cross-organizational transactions to blockchain
US20140143349A1 (en) Distributed Architecture Data Transfer System
CN112766552B (en) Method and device for optimizing Internet architecture and electronic equipment
US20240004846A1 (en) Automation of master data processes with user-centric management of derivation rules
CN116911690A (en) Configuration data management system and method
CN117114600A (en) RPA virtual employee management method and system for power grid production command center
Olsbo Application for improving software project status visibility
CN114971580A (en) Power plant operator simulation training system and method based on virtual technology
CN118409885A (en) Data verification method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant