CN104461765B - The interlock system data accuracy detection method verified based on version - Google Patents

The interlock system data accuracy detection method verified based on version Download PDF

Info

Publication number
CN104461765B
CN104461765B CN201410856305.2A CN201410856305A CN104461765B CN 104461765 B CN104461765 B CN 104461765B CN 201410856305 A CN201410856305 A CN 201410856305A CN 104461765 B CN104461765 B CN 104461765B
Authority
CN
China
Prior art keywords
sdm
ips
mmi
data
configuration file
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.)
Active
Application number
CN201410856305.2A
Other languages
Chinese (zh)
Other versions
CN104461765A (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.)
Casco Signal Ltd
Original Assignee
Casco Signal 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 Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN201410856305.2A priority Critical patent/CN104461765B/en
Publication of CN104461765A publication Critical patent/CN104461765A/en
Priority to HK15107605.5A priority patent/HK1207178A1/en
Application granted granted Critical
Publication of CN104461765B publication Critical patent/CN104461765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of interlock system data accuracy detection method verified based on version, comprise the following steps:1) SDM described in sends version request message to IPS/MMI;2) IPS/MMI described in is received after the request message, is calculated this node and is used interlocking data and the CRC check value of configuration file, and the version number of CRC check value and itself software is sent jointly into SDM;3) SDM described in is received reply message after, calculate the IPS/MMI interlocking data backed up on local disk and the CRC check value of configuration file, and be compared with the CRC check value that receives;4) if both CRC checks value is equal, show " data file/configuration file that destination node is used is consistent with data file/configuration file that SDM is backed up ", and show on SDM the software version number of Correspondent Node.Compared with prior art, the present invention effectively increases the maintenance efficiency of field personnel, makes the advantages of field personnel does not more allow error-prone in the project implementation.

Description

The interlock system data accuracy detection method verified based on version
Technical field
The present invention relates to a kind of interlock system data detection method, more particularly, to a kind of interlocking system verified based on version System data accuracy detection method.
Background technology
The interlock system of complete set, interlocking slave computer IPS, interlocked operation machine MMI, interlocking maintenance console SDM.Each connection Lock node device and all use the interlock system software and data file and configuration file of oneself.Interlocking attendant needs at any time Check all devices interlock system software version number and data file and configuration file.Wherein, interlocking slave computer IPS data And configuration file and program will be unable to check after burned VLE chips, interlocked operation machine MMI data and configuration text Although part and program can be checked, switch machine operation, unavoidable error repeatedly.
The content of the invention
It is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide one kind is based on version verification Interlock system data accuracy detection method, judged by its CRC check value, its configuration file used and data file Content it is whether consistent with desired, and determine whether to have used desired software version by checking its version number, The method for confirming to interlock data correctness by the present invention, having broken away from can not check under interlocked operation machine MMI and interlocking online The defect of position machine IPS data and configuration file, realizes the work(of real-time online verification MMI and IPS data and configuration file Can, and MMI and IPS software version number can be verified;And online configuration management is furthermore achieved that, so as to ensure soft The uniformity of part, data and configuration file, so that interlock system more possesses safety guarantee.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of interlock system data accuracy detection method verified based on version, described interlock system is included under interlocking Position machine IPS, interlocked operation machine MMI and interlocking maintenance console SDM, it is characterised in that described detection method comprises the following steps:
1) SDM described in sends version request message to IPS/MMI;
2) IPS/MMI described in received after the request message, is calculated this node and is used interlocking data and configuration file CRC check value, and the version number of CRC check value and itself software is sent jointly into SDM;
3) SDM described in is received reply message after, calculate local disk on back up IPS/MMI interlocking data and configuration text The CRC check value of part, and be compared with the CRC check value that receives;
4) if both 3, CRC check values are equal, " data file/configuration file and SDM that destination node is used are shown Data file/the configuration file backed up is consistent ", and show on SDM the software version number of Correspondent Node.
MMI/IPS software version number, and data used in MMI/IPS softwares can be directly viewable on described SDM Whether file/configuration file is identical with the backup that SDM is achieved, if identical, directly can be checked from the industrial computer where SDM The content of data file/configuration file used in MMI/IPS.
Described interlocking slave computer IPS and interlocked operation machine MMI, is Dual-Computer Hot-Standby System.
Described CRC check value is calculated by CRC32 algorithms and obtained.
The configuration file of itself and interlocking data are arranged in a big word by described IPS/MMI by the order of setting Throttling, and as the input of CRC32 algorithms, so as to drive the check word that CRC32 algorithms export one 32.
The IPS/MMI interlocking data and configuration file backed up on described SDM local disks, are arranged in same order One big byte stream, and as the input of CRC32 algorithms, driving calculates another CRC32 check word.
If the CRC32 check words that the CRC32 sent from IPS/MMI checks word and SDM itself calculating are completely the same, Prove the yard interlocking backed up on the yard run inside IPS/MMI interlocking data and the configuration file and SDM that use Data and configuration file are completely the same, so as to reach the function of the complete version verification of real-time online.
Compared with prior art, the present invention does not increase the cost on any hardware based on existing interlock system; In terms of data correctness checking, break away from and existing only carefully just can guarantee that data are correct by engineering staff is operational Property present situation, during interlock system works, a kind of method verified with version can be passed through and confirm to interlock data correctness The data that software systems feedback has been loaded, configuration and software version number, and only need in interlocking maintenance console SDM mono- Side is operated, and is effectively increased the maintenance efficiency of field personnel, field personnel is more not easy in the project implementation Error.
Brief description of the drawings
Fig. 1 is interlock system structural representation;
Fig. 2 is flow chart of the invention;
Fig. 3 is IPS/MMI outbound data flow graphs;
Fig. 4 is SDM outbound data flow graphs;
Fig. 5 is the flow chart that SDM/IPS/MMI calculates CRC check value.
Embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.
As shown in figure 1, the present embodiment includes a set of station interlocking system:Interlock slave computer IPS, interlocked operation machine MMI, connection Lock maintenance console SDM.
As shown in Fig. 2 SDM sends version request message frame by Transmission Control Protocol to IPS/MMI.IPS/MMI receives version please After seeking message frame, the CRC check value and software version of data file and configuration file as obtained by Transmission Control Protocol by calculating Number it is sent to SDM.SDM is received reply message after, the CRC check value received and local history file are calculated obtained by CRC schools Test value to be compared, and show comparative result with IPS/MMI software version numbers on SDM interfaces.
As shown in figure 3, on the one hand IPS/MMI receives the version verification request message from SDM, on the other hand, version is checked After this verification request message is correct, by the version number of itself software and according to configuration file and the CRC32 of Generating Data File Value is sent to SDM.
As shown in figure 4, on the one hand SDM sends version request message to IPS/MMI, on the other hand receive and come from MMI/IPS CRC check value and software systems version number.And show check results with software systems version number on SDM interfaces.
As shown in figure 5, SDM/IPS/MMI, which takes byte-by-byte reading file content and calculated at any time, updates CRC check value Algorithm, it is to avoid the problem of program moment takes too big internal memory, also calculated simultaneously according to the uniqueness of file and obtained unique CRC check value.
CRC32 is a kind of check code algorithm for ensureing data safety, the classic algorithm for judging file uniqueness.IPS/ The configuration file of itself and interlocking data are arranged in a big byte stream, and conduct by MMI ends by fixed order The input of CRC32 algorithms, so as to drive the check word that CRC32 algorithms export one 32.On the other hand, in SDM the machine There are a IPS/MMI configuration file and the backup of station yard data.A big byte stream is arranged in same order, and And as the input of CRC32 algorithms, driving calculates another CRC32 check word.Because CRC32 algorithms are for judging text The classic algorithm of part uniqueness, if the check word that the CRC32 sent from IPS/MMI checks word and SDM itself calculating is complete Unanimously, then it can prove to be held on the yard run inside IPS/MMI interlocking data and the configuration file and SDM that use Yard interlocking data and configuration file it is completely the same, so as to reach the function of real-time online complete version verification, so as to , further can be with the configuration of online management interlocking software and the purpose of data, it is ensured that the uniformity of interlocking software and data Ensure the security of interlock system.
The method verified with version confirms interlocking data correctness, the data except that can verify IPS/MMI with real-time online , can be with on-line testing software version number beyond configuration file.The whole subsystem softwares of interlocking, including MMI/IPS/SDM, There is its version number fixed., it is necessary to be implemented by fixed configuration requirement during field conduct.The MMI/IPS/ of each version SDM solidifies its respective software version number among itself software.When the MMI/IPS software versions for receiving SDM verify request When, respective software version number is sent to SDM.SDM is received after MMI/IPS software version number, and its version number is included On SDM itself interfaces.Realize the online function of checking interlock system software version number.Realization checks interlocking software version online Number function, for the maintenance of interlock system, strengthen its configuration management, ensure the uniformity of interlocking software and data, with weight Want meaning.
The method verified with version confirms the software systems of interlocking data correctness, by for verification data uniqueness CRC32 algorithms are transplanted in interlocking IPS/MMI/SDM, the uniqueness for verification data file and configuration file.This is one Plant the mode of thinking of innovation.In Principles of Operating System, all are all files.The data flow of CRC32 inputs is a kind of file, IPS/MMI configuration file and station yard data is also a kind of file.Different files is arranged in one big word in certain sequence Throttling, remains a file.Therefore, big word IPS/MMI configuration file and station yard data being arranged in certain sequence Throttling, completely can as CRC32 input, so as to calculate unique CRC32 check word.MMI/IPS configuration If file and station yard data calculate obtained CRC32 check values and the configuration file and station that are backed up on SDM in certain sequence Field data puts in order by identical calculates obtained CRC32 check values unanimously, then can be determined that that is held on MMI/IPS matches somebody with somebody It is consistent with the configuration file and station yard data backed up on SDM to put file and station yard data.So as to realize on-line testing MMI/ The function of IPS configuration files and station yard data, frees the information of configuration and data from the interlock system of closing.
The method verified with version confirms the software systems of interlocking data correctness, and different files is arranged in certain sequence One big byte stream is arranged into, including All Files is lined up a byte stream and calculates a total crc value for verifying file Collection is overall.
The method verified with version confirms the software systems of interlocking data correctness, and different files is arranged in certain sequence One big byte stream is arranged into, including file set is divided into different subsets, and calculates crc value respectively, for disaggregatedly The different subset of the file of verification.
The method verified with version confirms the software systems of interlocking data correctness, and different files is arranged in certain sequence One big byte stream is arranged into, including file set is divided into different subsets, the subset divided most I to single file, meter Obtained crc value, the correctness for individually examining single file.
The method verified with version confirms the software systems of interlocking data correctness, using byte-by-byte reading file and with Shi Gengxin calculates the method for crc value, it is to avoid when file is excessive excessive, the problem of program committed memory is excessive.Using byte-by-byte Reading in the method for file, same time-program(me) only can take the memory headroom of a byte.
The method verified with version confirms the software systems of interlocking data correctness, and software version number is compiled into one Interaction message between IPS/MMI and SDM, collects display in SDM programs, so as to reach the mesh of online management software version 's.

Claims (6)

1. a kind of interlock system data accuracy detection method verified based on version, it is the next that described interlock system includes interlocking Machine IPS, interlocked operation machine MMI and interlocking maintenance console SDM, it is characterised in that described detection method comprises the following steps:
1) SDM described in sends version request message to IPS/MMI;
2) IPS/MMI described in is received after the request message, calculates the CRC schools that this node uses interlocking data and configuration file Value is tested, and the version number of CRC check value and itself software is sent jointly into SDM;
3) SDM described in receives reply message after, calculate the IPS/MMI interlocking data backed up on local disk and configuration file CRC check value, and be compared with the CRC check value that receives;
4) if both CRC check values are equal, " data file/configuration file that destination node is used is backed up with SDM for display Data file/configuration file it is consistent ", and show on SDM the software version number of Correspondent Node;
It can be directly viewable MMI/IPS software version number on described SDM, and data file used in MMI/IPS softwares/ Whether configuration file is identical with the backup that SDM is achieved, if identical, directly can check MMI/ from the industrial computer where SDM The content of data file/configuration file used in IPS.
2. a kind of interlock system data accuracy detection method verified based on version according to claim 1, its feature It is, described interlocking slave computer IPS and interlocked operation machine MMI, are Dual-Computer Hot-Standby System.
3. a kind of interlock system data accuracy detection method verified based on version according to claim 1, its feature It is, described CRC check value is calculated by CRC32 algorithms to be obtained.
4. a kind of interlock system data accuracy detection method verified based on version according to claim 3, its feature It is, the configuration file of itself and interlocking data are arranged in a big byte by described IPS/MMI by the order of setting Stream, and as the input of CRC32 algorithms, so as to drive the check word that CRC32 algorithms export one 32.
5. a kind of interlock system data accuracy detection method verified based on version according to claim 4, its feature It is that the IPS/MMI interlocking data and configuration file backed up on described SDM local disks are arranged in one with same order Individual big byte stream, and as the input of CRC32 algorithms, driving calculates another CRC32 check word.
6. a kind of interlock system data accuracy detection method verified based on version according to claim 5, its feature It is, if the CRC32 check words that the CRC32 sent from IPS/MMI checks word and SDM itself calculating are completely the same, demonstrate,proves The yard interlocking data run inside bright IPS/MMI and the yard interlocking number backed up on the configuration file and SDM that use According to completely the same with configuration file, so as to reach the function of the complete version verification of real-time online.
CN201410856305.2A 2014-12-29 2014-12-29 The interlock system data accuracy detection method verified based on version Active CN104461765B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410856305.2A CN104461765B (en) 2014-12-29 2014-12-29 The interlock system data accuracy detection method verified based on version
HK15107605.5A HK1207178A1 (en) 2014-12-29 2015-08-06 A method for measuring the accuracy of interlocking system data based on version check

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410856305.2A CN104461765B (en) 2014-12-29 2014-12-29 The interlock system data accuracy detection method verified based on version

Publications (2)

Publication Number Publication Date
CN104461765A CN104461765A (en) 2015-03-25
CN104461765B true CN104461765B (en) 2017-10-27

Family

ID=52907862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410856305.2A Active CN104461765B (en) 2014-12-29 2014-12-29 The interlock system data accuracy detection method verified based on version

Country Status (2)

Country Link
CN (1) CN104461765B (en)
HK (1) HK1207178A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844384A (en) * 2016-09-20 2018-03-27 卡斯柯信号有限公司 A kind of generation method of interlock safety data

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678022B (en) * 2016-02-24 2019-01-08 卡斯柯信号有限公司 The interlock system demand for security Formal Modeling and verification method of aspect-oriented
CN106445485A (en) * 2016-03-28 2017-02-22 中国电力科学研究院 Software version consistency detection system and detection method thereof
CN108462970B (en) * 2017-02-21 2021-05-04 中国移动通信有限公司研究院 Packet loss judgment method and device
CN108664352B (en) * 2018-05-11 2022-07-12 卡斯柯信号有限公司 Hot standby system education data verification method based on off-line simulation
CN109683980B (en) * 2018-11-28 2021-11-19 卡斯柯信号有限公司 Method for realizing reliable loading of U disk configuration file of trackside safety platform
CN111010258B (en) * 2019-12-23 2022-01-28 卡斯柯信号有限公司 Computer interlocking system communication method based on coding
CN113535461B (en) * 2021-06-09 2023-10-24 卡斯柯信号(成都)有限公司 Visual verification method for interlocking lower computer data based on configuration file

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200506625A (en) * 2002-12-19 2005-02-16 Emulex Corp Direct memory access controller system
CN102063438A (en) * 2009-11-17 2011-05-18 阿里巴巴集团控股有限公司 Recovery method and device for damaged files
CN102616254A (en) * 2011-01-27 2012-08-01 铁道部运输局 Control method, equipment and system for railway passenger special line station interlocking machine
CN104217167A (en) * 2014-09-11 2014-12-17 株洲南车时代电气股份有限公司 Software version checking method for multi-software system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200506625A (en) * 2002-12-19 2005-02-16 Emulex Corp Direct memory access controller system
CN102063438A (en) * 2009-11-17 2011-05-18 阿里巴巴集团控股有限公司 Recovery method and device for damaged files
CN102616254A (en) * 2011-01-27 2012-08-01 铁道部运输局 Control method, equipment and system for railway passenger special line station interlocking machine
CN104217167A (en) * 2014-09-11 2014-12-17 株洲南车时代电气股份有限公司 Software version checking method for multi-software system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844384A (en) * 2016-09-20 2018-03-27 卡斯柯信号有限公司 A kind of generation method of interlock safety data

Also Published As

Publication number Publication date
HK1207178A1 (en) 2016-01-22
CN104461765A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN104461765B (en) The interlock system data accuracy detection method verified based on version
CN108427632B (en) Automatic test method and device
US20210055718A1 (en) Computer-implemented method for providing data, in particular for conformity tracking
CN107196899B (en) Equipment weak password management method and device
CN103460196A (en) System and method for verification and validation of redundancy software in PLC systems
Jin et al. Efficient board-level functional fault diagnosis with missing syndromes
CN105555638B (en) The software upgrading of non-critical component in the crucial distributed system of dual safety
CN109725906A (en) A kind of code compiling method and corresponding continuous integration system
JP6440563B2 (en) Test apparatus and test method
US8739091B1 (en) Techniques for segmenting of hardware trace and verification of individual trace segments
CN107786667A (en) A kind of data processing method based on cloud platform, system and equipment
Awedikian et al. A practical model‐based statistical approach for generating functional test cases: application in the automotive industry
CN107562808A (en) A kind of verification method of isomery double-strand automation data
WO2023173779A1 (en) Validity determination method for target signal, processing method, device, and decision-making system
CN110717305A (en) Method, system, device and medium suitable for verifying and confirming FPGA
CN104678955A (en) Risk-based optimization method for safety instrument system of heating furnace
Infante et al. RAMI analysis of the ITER LFS CTS system
US20090204952A1 (en) Method of securing a computer program. and corresponding device, method of updating and update server
CN107562433A (en) A kind of multiprocessor program renewal system and program update method of automation
Shin et al. A novel approach for quantitative importance analysis of safety DI&C systems in the nuclear field
CN108028530B (en) ESD detection device, integrated circuit and method applied to digital integrated electronic circuit
US20230153231A1 (en) Method and computing environment for creating and applying a test algorithm for computational processes
CN104392319A (en) Safety inspection method of gas equipment and system thereof
Alho et al. Breaking down the requirements: Reliability in remote handling software
CN104699593A (en) Computer software diagnosis method based on UNIX operating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1207178

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1207178

Country of ref document: HK