A trinity method for automatic verification of LKJ data
Through the trinity automatic verification method of LKJ data, the automatic identification and automatic data verification of LKJ data transfer is solved, and the problem of lack of automation and professionalism in the LKJ data replacement operation in the existing technology is achieved, achieving efficient and safe data verification.
Patent Information
- Application Number
- CN202210742420.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2042-06-28
AI Technical Summary
The existing technology lacks systematicity and professionalism in LKJ data replacement operations, resulting in insufficient automation of data verification, and the risk of wrong picking and changing, affecting production safety.
The trinity-integrated LKJ data automatic verification method is adopted, and the data automatic verification is automatically recognized through the LKJ data transfer register, and the equipment type and access interface are automatically identified by industrial equipment, and the data information is written to the tag through the QR code algorithm to achieve automatic comparison and verification.
It improves the degree of automation, ensures the accuracy and security of data verification, avoids the problem of wrong picking and changing, and enhances the safety and efficiency of LKJ data replacement operations.
Smart Images

Figure CN115015671B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of train data automation, and in particular relates to a three-in-one LKJ data automatic verification method. Background Art
[0002] At present, there is no professional, integrated tooling equipment for LKJ data verification in China. The LKJ data filling and verification process is as follows: the Railway Bureau's Electrical Inspection Institute compiles and revises LKJ data, and the data management personnel in the on-board equipment workshop perform filling and verification. After the data management personnel write the downloaded data into the LKJ replacement equipment, they check the basis for data modification, reason for modification, number of file bytes, version number, verification password, and description and scope of the data involved in the change, and then paste the label and use a special storage tool for packaging. The data replacement workers in the work area fill out the LKJ data replacement equipment handover form and receive the LKJ data replacement equipment.
[0003] Therefore, LKJ data production and verification still need to be verified through manual checking and verification of the LKJ data production software installed in the computer during the issuance, operation, verification and issuance of the LKJ data production plan. There is no systematic and professional technical control method, and there is no professional equipment to verify and query the data in the replacement equipment. Summary of the invention
[0004] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a three-in-one LKJ data automatic verification method to solve the problem that the prior art causes frequent changes in line facility data due to line construction, which brings huge risks and pressure to the safe production of LKJ data replacement operations.
[0005] The technical solution is a three-in-one LKJ data automatic verification method, including: LKJ data transfer device automatic identification and LKJ data automatic verification, and also includes industrial equipment for running the LKJ data automatic verification method.
[0006] Preferably, the LKJ data transfer device automatic identification includes:
[0007] S1. Insert the LKJ data transfer device or IC card into the external interface of the corresponding industrial equipment;
[0008] After the S2 and LKJ data transfer devices are connected to industrial equipment, the system automatically installs the device driver and assigns a drive letter. Combined with the Windows system, using the Windows message mechanism and WMI object information, the device access time and access interface can be accurately obtained;
[0009] S3, LKJ data transfer device is inserted into the interface, the system obtains Windows message, the message content is attached with industrial equipment drive letter, query and retrieve WMI object, obtain the characteristic value and port information of all hubs connected to the transfer device, match them with the configuration parameters, and obtain the interface access industrial equipment status and drive letter.
[0010] Preferably, the automatic verification of LKJ data includes:
[0011] S1. Write LKJ data into the refitting device, write the refitting information into the device, and paste the task label;
[0012] S2. Use a public QR code algorithm to write the device information and the replacement data information into the QR code of the device label. The data information generates an MD5 checksum that is easy to write into the QR code.
[0013] S3. Data verification of vehicle-mounted equipment in the workshop. The equipment is inserted into the system. The system automatically identifies the equipment type and the equipment access interface, sends a command to the label scanner through the serial port, and obtains the QR code information on the label; reads the information saved in the device: equipment information, task version, data information (generates MD5 verification code), and compares it with the current task information and the data information in the device (generates MD5 verification code). If the three are completely consistent, the verification passes; otherwise, the verification fails.
[0014] S5. When verifying the work area data, the device is inserted into the system, and the system automatically identifies the device type and the device access interface, and sends a command to the label scanner through the serial port to obtain the QR code information on the label; the QR code label information contains device information, task version information, and data information (MD5 verification code); read the information saved in the device: device information, task version, data information (generate MD5 verification code), and compare it with the data information in the device (generate MD5 verification code), and compare the following contents: the MD5 code of the three-party data information, the device information in the label and the device, and the task version, if they are consistent, the verification passes, otherwise, the verification fails.
[0015] Preferably, the industrial equipment includes an industrial all-in-one machine, a high-definition camera, a read-write interface, a QR code scanner, a label printer and a USB interface.
[0016] The beneficial effect of the present invention is that the degree of automation is high. The access system of the refitting equipment automatically identifies the equipment and reads the label information. When the staff verifies the data, the refitting information, label information, and data information in the equipment are automatically compared, and the verification result is displayed;
[0017] It is highly safe and provides automatic verification function, which ensures the consistency of labels, reloading information and data in the equipment, and avoids the problem of wrong taking and wrong replacement in the original reloading operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flow chart of automatic identification of the LKJ data transfer device of the present invention;
[0019] Figure 2 It is a flow chart of the automatic verification of LKJ data of the present invention;
[0020] Figure 3 It is a structural diagram of the device of the present invention. DETAILED DESCRIPTION
[0021] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings.
[0022] Embodiment 1: According to the drawings of the specification, a three-in-one method for automatic verification of LKJ data includes: automatic identification of LKJ data transfer device and automatic verification of LKJ data, and also includes industrial equipment for running the automatic verification method of LKJ data. Automatic identification of LKJ data transfer device includes: S1, inserting LKJ data transfer device or IC card into the external interface of the corresponding industrial equipment; S2, after LKJ data transfer device is connected to industrial equipment, the system automatically installs the device driver and allocates the drive letter. In order to ensure that the device interface can correctly correspond to the device during data filling and verification, it is necessary to identify the device and the access interface. In combination with Windows system, using Windows message mechanism and WMI object information, the device access time and access interface can be accurately obtained; S3, LKJ data transfer device is inserted into the interface, the system obtains Windows message, the message content is accompanied by the device drive letter, query and retrieve WMI object, obtain the characteristic value and port information of the hub connected to all transfer devices, match with the configuration parameters, and obtain the interface access to industrial equipment and drive letter. LKJ data verification adopts a three-in-one verification method to ensure the accuracy of data replacement. The data verification is considered to have passed only when the label information, the refitting information, and the information in the equipment are exactly the same, which effectively avoids the problem of wrong replacement by operators. Automatic verification of LKJ data includes: S1. Write LKJ data into the refitting equipment, and write the refitting information into the equipment to ensure the accuracy of data verification of workers in the work area. And paste the task label; after the equipment completes data filling, the task label needs to be pasted, which helps workers to effectively identify the equipment information used. The original equipment label is printed in text form, which can correctly feedback the equipment information. When verifying whether the label information is consistent with the equipment content, it is necessary to manually read the equipment information through the equipment reading and writing software and compare it with the label content. It cannot be automated and is prone to manual verification errors. S2. Use the public QR code algorithm to write the equipment information and refitting data information into the QR code of the equipment label. The data information generates an MD5 checksum that is easy to write into the QR code; but due to the size limit of the equipment label paper tape, the data information cannot be written into the QR code. Therefore, the data information is generated as an MD5 checksum and written into the QR code. S3. Car-mounted equipment workshop data verification. The equipment is inserted into the system. The system automatically identifies the equipment type and equipment access interface, sends commands to the label scanner through the serial port, obtains the QR code information on the label; reads the information stored in the equipment: equipment information, task version, data information (generates MD5 verification code), and compares it with the current task information and the data information in the equipment (generates MD5 verification code). If the three are completely consistent, the verification passes. Otherwise, the verification fails. S4. The data verification machine and the work area verification machine are not interoperable, and the work area verification machine has no replacement information.When verifying the work area data, the device is inserted into the system, the system automatically identifies the device type and the device access interface, and sends a command to the label scanner through the serial port to obtain the QR code information on the label; the QR code label information contains device information, task version information, and data information (MD5 verification code); read the information saved in the device: device information, task version, data information (generate MD5 verification code), and compare it with the data information in the device (generate MD5 verification code), compare the following: the MD5 code of the three-party data information, the device information in the label and the device, the task version, if they are consistent, the verification passes, otherwise, the verification fails.
[0023] Industrial equipment includes industrial all-in-one machines that belong to the existing technology; high-definition cameras: provide clear facial images for the face recognition system, and ensure system security through the face recognition system; read-write interfaces: read and write LKJ data transfer devices and IC card interfaces. There are 6 dedicated interfaces for transfer devices and 6 dedicated interfaces for IC cards, which are convenient for users to operate multiple devices at one time; QR code scanners: each device read-write interface is equipped with a scanner (a total of four), which automatically reads the label information of the transfer device / IC card after being inserted into the interface. Ensure that the device label and device data content can be accurately checked during device calibration; label printer: a label printer that prints special QR codes. The labels should have the characteristics of high temperature resistance, moisture resistance, and friction resistance to ensure that the label writing is clear and will not fall off during the use of the equipment; USB: convenient for users to transfer data to the all-in-one machine.
[0024] The present invention has a high degree of automation. The access system of the changing equipment automatically identifies the equipment and reads the label information. When the staff verifies the data, the changing information, label information and data information in the equipment are automatically compared, and the verification result is displayed. The invention has high security and provides an automatic verification function to ensure the consistency of the label, changing information and data in the equipment, thus avoiding the problem of wrong taking and wrong replacement in the original changing operation.
[0025] The present invention has been described in detail above through specific implementation modes and embodiments, but these do not constitute limitations of the present invention. Without departing from the principles of the present invention, those skilled in the art may also make many variations and improvements, which should also be regarded as the protection scope of the present invention.
Claims
1. A trinity LKJ data automatic verification method, characterized in that: include: LKJ data transfer device automatic identification and LKJ data automatic verification, also includes industrial equipment running LKJ data automatic verification method, the LKJ data automatic verification includes: S1. Write LKJ data into the refitting device, write the refitting information into the device, and paste the task label; S2. Use a public QR code algorithm to write the device information and the replacement data information into the QR code of the device label. The data information generates an MD5 checksum that is easy to write into the QR code. S3, data verification of vehicle-mounted equipment workshop. The equipment is inserted into the system, and the system automatically identifies the equipment type and equipment access interface, sends a command to the label scanner through the serial port, and obtains the QR code information on the label; reads the information stored in the equipment: equipment information, task version, data information MD5 verification code, and compares it with the current task information and the data information MD5 verification code in the equipment. If the three are completely consistent, the verification passes, otherwise, the verification fails; S5. When verifying the work area data, the device is inserted into the system, and the system automatically identifies the device type and the device access interface, and sends a command to the label scanner through the serial port to obtain the QR code information on the label; the QR code label information contains device information, task version information, and data information MD5 verification code; read the information saved in the device: device information, task version, data information MD5 verification code, and compare it with the data information MD5 verification code in the device, and compare the content: the three-party data information MD5 verification code, the label and the device information, the task version, if they are consistent, the verification passes, otherwise, the verification fails.
2. The method for automatic verification of trinity LKJ data according to claim 1, characterized in that: The LKJ data transfer device automatic identification includes: S1. Insert the LKJ data transfer device or IC card into the external interface of the corresponding industrial equipment; After the S2 and LKJ data transfer devices are connected to industrial equipment, the system automatically installs the device driver and assigns a drive letter. Combined with the Windows system, using the Windows message mechanism and WMI object information, the device access time and access interface can be accurately obtained; S3, LKJ data transfer device is inserted into the interface, the system obtains Windows message, the message content is attached with industrial equipment drive letter, query and retrieve WMI object, obtain the characteristic value and port information of all hubs connected to the transfer device, match them with the configuration parameters, and obtain the interface access industrial equipment status and drive letter.
3. The method for automatic verification of trinity LKJ data according to claim 1, characterized in that: Industrial equipment includes industrial all-in-one computers, high-definition cameras, read-write interfaces, QR code scanners, label printers and USB interfaces.
Citation Information
Patent Citations
Method and system for updating ground base data storage of train running monitor
CN101739314A
Three-in-one LKJ data automatic verification device
CN218180984U