A wireless communication method and system for TSR data based on LKJ

Wireless communication is realized in the train operation monitoring and recording device through portable mobile devices and IC card readers, which solves the problem of insufficient timeliness and timeliness of temporary speed limit data transmission, ensures timely updates and safe transmission of data, and improves the System reliability and security.

CN117651259BActive Publication Date: 2024-11-19CHINA UNIV OF GEOSCIENCES (WUHAN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311614086.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-27
Publication Date
2024-11-19
Estimated Expiration
2043-11-27

AI Technical Summary

Technical Problem

The existing train operation monitoring and recording devices have timeliness and timely transmission problems in wireless communication of temporary speed limit data, which makes it difficult for drivers to obtain the latest TSR data in a timely manner, and poses safety risks.

Method used

Replace LKJ with portable mobile devices to receive the latest temporary speed limit data from the server of the dispatch center, and write the data to the IC card through the IC card reader. The flight attendant inserts the IC card into the LKJ main control chassis to update the data, using the ULIP communication protocol, Microservice design, WebSocket protocol dual-end monitoring communication mechanism and data security mechanism ensure the timeliness and security of data transmission.

Benefits of technology

The wireless communication link between the LKJ master control device and the dispatch center is realized, which improves the timeliness, timeliness and accuracy of TSR data, and enhances the maintainability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117651259B_ABST
    Figure CN117651259B_ABST
Patent Text Reader

Abstract

The present application provides a wireless communication method based on TSR data of LKJ, including: firstly, constructing a communication protocol between a mobile device and an IC card reader of LKJ, so that the mobile device receives the latest TSR data of the dispatch center on behalf of the LKJ host, and updates it to LKJ in time through the IC card after receiving, so that LKJ can obtain the latest TSR data of the dispatch center in time in the form of wireless communication under limited hardware conditions. Secondly, the systematized service end is designed in the paradigm of microservices to enhance the maintainability and scalability of the system, so as to enhance the reliability of TSR data. Finally, in a wireless network environment, a reliable communication mechanism between the dispatch center and the mobile client is established, so that wireless communication can play a real role.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a wireless communication method and system based on LKJ TSR data. Background Art

[0002] LKJ (Train Operation Monitoring and Recording Device) is the most widely used train control system in my country's rail transit industry, and TSR (Temporary Speed ​​Restrictions) is one of the key modules of the train control system. The timeliness, timely delivery and accuracy of TSR instructions are the key to ensuring the safe operation of trains. However, due to the hardware conditions of LKJ, LKJ cannot directly communicate with the dispatching center through wireless signals to obtain the latest TSR data in a timely manner. This makes the timeliness and timely delivery of LKJ's TSR data have problems. After the driver gets on the train, the update of TSR data can only be notified to the driver through the station phone to perform manual operation. The main reason for the major traffic accident on the Jiaoji Railway in 2008 was that the TSR command failed to be delivered to the train driver in time, resulting in a tragedy of large number of casualties.

[0003] LKJ's existing TSR solution is the "Operation Disclosure Dispatching Command Management System" developed by CASCO Signal Co., Ltd. This solution proposes IC cards to transmit LKJ's TSR data in batches, but fails to solve the problem of wireless communication. In order to complete timely wireless communication, a large number of line bypass devices are required, but the equipment cost is huge, so at present, LKJ's TSR data can only be transmitted from the dispatching center to the cab through IC cards, that is, the driver downloads the latest TSR data on the IC card before getting on the train, and then transmits it to the LKJ main control box after getting on the train. After getting on the train, the communication with the dispatching center is interrupted. The solution for various railway companies to make up for the lack of timeliness and timeliness of LKJ's TSR information is to contact the driver through the station phone.

[0004] Although the TSR train control technology of the existing train operation monitoring and recording device solves the problem of batch importing TSR data into LKJ, it fails to solve the problem of LKJ wireless communication. In addition, the existing solution has problems with system maintenance and stability, and there is a risk of operation crash or generating erroneous TSR information. The accuracy of TSR data is potentially at risk. The main reasons why conventional wireless communication methods need to be equipped with a large number of line bypass devices are: 1. Signal coverage; 2. Train location tracking; 3. Communication capacity and load balancing; 4. Safety and emergency communications; By equipping a large number of wireless communication devices on the railway line bypass, the communication coverage, capacity, safety and overall system performance can be improved. Most of the lines where trains with LKJ as the main control device run are CTCS-0 level lines without any signal equipment deployment. The wireless network signal of the station can only be received in the station, or there is a 4G / 5G communication signal on the way. If the CTCS-0 level line is upgraded to a CTCS-2 level or above line with a large number of bypass devices deployed, the cost is huge. Summary of the invention

[0005] The purpose of this application is to solve the technical problems of untimely communication and low transmission security in the temporary speed limit solution of the conventional train operation monitoring and recording device, and to provide a wireless communication method and system for TSR data based on LKJ.

[0006] The above-mentioned purpose of the present application is achieved through the following technical solutions:

[0007] S1: Using wireless communication and a portable mobile device instead of LKJ to receive the latest temporary speed limit data from the dispatch center's server; the mobile device is connected to an IC card reader to write the temporary speed limit data into the IC card;

[0008] S2: The crew inserts the IC card into the LKJ main control box, reads out the temporary speed limit data in the IC card, and completes the data update of the temporary speed limit module of the train operation monitoring and recording device.

[0009] Optionally, the mobile device is connected to an IC card reader via a switching cable to read and write an IC card.

[0010] Optionally, step S1 includes: the communication protocol for the mobile device to connect to the IC card reader adopts the ULIP communication protocol.

[0011] Optionally, the server of the train operation monitoring and recording device is developed through Node.JS, the client interface of the train operation monitoring and recording device is constructed through Web technology, and the mobile terminal of the train operation monitoring and recording device is developed through the Cordova framework.

[0012] Optionally, the server is constructed by a microservice design paradigm and split into four sub-services, including: LKJ basic data service, identity authentication service, TSR service, and system administrator service;

[0013] The server-side routing is built based on the Koa framework, the server-side system administrator service is quickly built based on the Strapi CMS tool, and the development environment of the four sub-services is isolated through the Docker technology;

[0014] The LKJ basic data service manages the basic data of all train operation monitoring and recording devices;

[0015] The identity authentication service manages all system users, including system user login, account management, user role management, and interface access permission identification;

[0016] The TSR service manages the relevant data of the temporary speed limit module;

[0017] The system administrator service intercepts the interface of the LKJ basic data service, the interface of the identity authentication service and the interface of the TSR service, manages the relevant data of all services, stores the system administrator's users, roles, permissions and system operation-related data, monitors the operation information of the entire system, and has the highest authority.

[0018] Optionally, establish a two-end listening communication mechanism based on the WebSocket protocol, including:

[0019] Establishing a WebSocket service on the server to provide an active request sending mechanism;

[0020] The server starts the WebSocket service program and establishes a monitoring mechanism for the temporary speed limit data;

[0021] The client of the train operation monitoring and recording device establishes a corresponding monitoring mechanism, connects to the WebSocket service of the server, monitors TSR events from the server, implements the two-end monitoring communication mechanism, and receives the latest temporary speed limit data from the server.

[0022] Optionally, a data security mechanism is established in a temporary speed limit module of a train operation monitoring and recording device, and a prototype system of the train operation monitoring and recording device is determined, including:

[0023] Establish a password encryption mechanism: Improve the BCrypt algorithm by randomly adding salt, and encrypt the user password of the temporary speed limit module based on the improved BCrypt algorithm;

[0024] Establish an access control mechanism: optimize the JWT token verification mechanism by setting the token validity period, and perform access control based on the optimized JWT token verification mechanism;

[0025] Establish a data security transmission mechanism: Combine the RSA algorithm and the AES algorithm to build a data transmission mechanism and establish a secure data transmission channel between the dispatching center on the server side and the train cab client;

[0026] Build a low-code tool chain to complete the development of the prototype system, and test the prototype system including: unit testing, functional testing, and acceptance testing.

[0027] A wireless communication system based on LKJ TSR data, comprising: a server module, a client module and a device docking module;

[0028] The server module includes multiple servers;

[0029] The client module includes a mobile device and an LKJ main control chassis;

[0030] The device docking module includes: an IC card reader and an IC card;

[0031] The mobile device is used to receive the latest temporary speed limit data wirelessly transmitted by each server, and write the latest temporary speed limit data into the IC card through the IC card reader and the IC card;

[0032] The LKJ main control chassis is used to read the latest temporary speed limit data from the IC card to complete the data update of the temporary speed limit module of the train operation monitoring and recording device.

[0033] The beneficial effects of the technical solution provided by this application are:

[0034] 1. The mobile device receives the temporary speed limit data sent by the server through wireless transmission, and writes the temporary speed limit data into the IC card by connecting the mobile device to the card reader device; the LKJ main control chassis reads the temporary speed limit data in the IC card, completes the data update of the temporary speed limit module of the train operation monitoring and recording device, and establishes a wireless communication link between the LKJ main control device and the dispatching center, solving the problems of timeliness, timely delivery and accuracy of LKJ's TSR data.

[0035] 2. The LKJ main control chassis solves the problem of adapting to different models of card reader devices through the HTTP interface exposed by the ULIP communication protocol on the server side.

[0036] 3. Establish a two-end listening communication mechanism based on the WebSocket protocol to receive the latest temporary speed limit data, which solves the problem of insufficient timeliness and timeliness of LKJ's TSR information transmission.

[0037] 4. Design a systematic server based on the microservice paradigm to enhance the maintainability and scalability of the system and the reliability of TSR data. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The present application will be further described below with reference to the accompanying drawings and embodiments, in which:

[0039] Figure 1 It is a flow chart of the driving operation execution of the wireless communication method based on the TSR data of LKJ in the embodiment of the present application;

[0040] Figure 2 It is a cross-platform device communication protocol flow chart of the wireless communication method based on TSR data of LKJ in the embodiment of the present application;

[0041] Figure 3 It is a microservice paradigm server-side framework diagram of the wireless communication method based on LKJ's TSR data in an embodiment of the present application;

[0042] Figure 4 It is a prototype main implementation function diagram of the wireless communication method based on LKJ's TSR data in the embodiment of the present application;

[0043] Figure 5 It is a software operation flow chart of the wireless communication method based on TSR data of LKJ in the embodiment of the present application;

[0044] Figure 6 This is a main interface diagram of a wireless communication method based on TSR data of LKJ in an embodiment of the present application;

[0045] Figure 7 It is a management operation disclosure scheduling command home page diagram of the wireless communication method based on LKJ's TSR data in the embodiment of the present application;

[0046] Figure 8 It is an edit operation revealing scheduling command diagram of a wireless communication method based on TSR data of LKJ in an embodiment of the present application;

[0047] Fig. 9 It is a review operation disclosure scheduling command diagram of the wireless communication method based on TSR data of LKJ in the embodiment of the present application;

[0048] Fig.10 It is a controllable disclosure query diagram of the wireless communication method based on TSR data of LKJ in the embodiment of the present application;

[0049] Fig.11 It is a crew attendance management diagram of the wireless communication method based on TSR data of LKJ in an embodiment of the present application;

[0050] Fig.12 It is a diagram of the encryption and decryption steps of the wireless communication method of TSR data based on LKJ in an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to have a clearer understanding of the technical features, purposes and effects of the present application, the specific implementation methods of the present application are now described in detail with reference to the accompanying drawings.

[0052] The embodiments of the present application provide a wireless communication method and system based on LKJ TSR data.

[0053] Please refer to Figure 1 , Figure 1 This is a flow chart of a driving operation execution method of a wireless communication method based on TSR data of LKJ in an embodiment of the present application, which specifically includes the following steps:

[0054] S1: Using wireless communication and a portable mobile device instead of LKJ to receive the latest temporary speed limit data from the dispatch center's server; the mobile device is connected to an IC card reader to write the temporary speed limit data into the IC card;

[0055] S2: The crew inserts the IC card into the LKJ main control box, reads out the temporary speed limit data in the IC card, and completes the data update of the temporary speed limit module of the train operation monitoring and recording device.

[0056] Specifically, the distance that the dispatch center server sends data depends on the specific railway network and system architecture. The system of the present application is a distributed system, in which servers are distributed in multiple geographical locations to ensure monitoring and control of the entire railway network.

[0057] Specifically, to solve the defect that LKJ itself does not have a wireless communication module, Wireless-LKJ-TSR uses a portable mobile device that can communicate wirelessly to replace LKJ to receive the latest temporary speed limit data from the dispatch center; the mobile device communicates with LKJ through the IC card reader and IC card, and the mobile device communicates with the remote dispatch center through the wireless network, which is the key to the communication link between the dispatch center and LKJ.

[0058] Specifically, the present application solution includes a communication protocol between a mobile device and an IC card reader of LKJ, so that the mobile device replaces LKJ, receives the latest temporary speed limit data through a wireless network, and transmits it to the main control device of LKJ through the card reader and IC card, so that LKJ has the ability to receive the latest temporary speed limit data from the dispatch center in a timely manner through the mobile device. Finally, in the wireless communication environment, the client and the server maintain communication and update the temporary speed limit data in a timely manner, ensuring close communication between the mobile device and the server.

[0059] The mobile device is connected to the IC card reader through an adapter cable to read and write IC cards.

[0060] Step S1 includes: the communication protocol for the mobile device to connect to the IC card reader adopts the ULIP communication protocol.

[0061] Specifically, since the operating system of the mobile device is different from the system of the workstation PC (Personal Computer) that connects to the card reader to complete the temporary speed limit data writing, in order to solve the problem of adapters for different models of card readers, this application uses a universal LKJ-IC card reader communication protocol (Universal LKJ IC-reader Protocol, ULIP) under different operating system platforms to solve the problem of adapting to different models of card readers. ULIP exposes a fixed function call interface to the outside. When an external program calls one of the interfaces, it adapts the read and write mechanisms of all models of card readers through a certain execution process internally, and automatically completes IC card model identification, device connection, card reading and writing and other functions. It also supports the functions of checking the connected card readers and connecting to the specified model of card readers. The flow chart of the cross-platform device communication protocol based on ULIP is as follows: Figure 2 As shown. The dark modules refer to the functional modules that need to be implemented with different solutions for different types of card readers. The beforeUse() function is used to perform the initialization operations of different types of devices, and the afterUse() function is responsible for performing some subsequent operations after the device call is completed, such as failure processing, releasing memory, etc. "General functions" refer to the general functions of the card reader for IC cards, including reading cards, writing cards, wiping cards, checking IC card types, etc. The architecture of the connection between the client and the MySQL database is changed to the client performing specific operations through the HTTP interface exposed by the server, and indirectly completing the data update of the temporary speed limit module of the train operation monitoring and recording device.

[0062] The server of the train operation monitoring and recording device is developed through Node.JS, the client interface of the train operation monitoring and recording device is constructed through Web technology, and the mobile terminal of the train operation monitoring and recording device is developed through the Cordova framework.

[0063] The server is built using the microservice design paradigm and split into four sub-services, including LKJ basic data service, identity authentication service, TSR service, and system administrator service.

[0064] The server-side routing is built based on the Koa framework, the server-side system administrator service is quickly built based on the Strapi CMS tool, and the development environment of the four sub-services is isolated through the Docker technology;

[0065] The LKJ basic data service manages the basic data of all train operation monitoring and recording devices;

[0066] The identity authentication service manages all system users, including system user login, account management, user role management, and interface access permission identification;

[0067] The TSR service manages the relevant data of the temporary speed limit module;

[0068] The system administrator service intercepts the interface of the LKJ basic data service, the interface of the identity authentication service and the interface of the TSR service, manages the relevant data of all services, stores the system administrator's users, roles, permissions and system operation-related data, monitors the operation information of the entire system, and has the highest authority.

[0069] Specifically, all functions of the system's scattered clients are integrated into the same client. All functions of the client include: LKJ basic data services, identity authentication, TSR services and system administrator services.

[0070] Specifically, the basic data of the train operation monitoring and recording device LKJ is used in each subsystem of the train operation monitoring and recording device, and has high independence. The management of the basic data of LKJ is relatively complex, and the addition, deletion and modification of data usually require a complex approval process, so the management of the basic data of the train operation monitoring and recording device is separated into a separate service module.

[0071] TSR service is the core service of LKJ's TSR module. It manages a series of important data related to LKJ's TSR, runs all functional programs involved in TSR management, and ensures the reliable delivery of TSR data. The management method based on the microservice paradigm is more maintainable and has stronger overall stability. Therefore, it can better ensure the accuracy of temporary speed limit data and ensure the reliable delivery of temporary speed limit data.

[0072] Specifically, there are two versions of the software: one for the computer and one for the mobile device (Android version of the pad mobile device). The dispatch center belongs to the server.

[0073] Specifically, in order to improve the development speed and efficiency of the server, the server uses node.js for efficient and rapid development. In order to conveniently and quickly manage the data, files, interfaces, users, etc. of the entire train operation monitoring and recording device, the Strapi CMS tool is used to quickly build the administrator backend, and the docker technology is used to isolate the development environment of the four sub-services, simulating the background development environment of multiple servers as much as possible.

[0074] Establish a two-end listening communication mechanism based on the WebSocket protocol, including:

[0075] Establishing a WebSocket service on the server to provide an active request sending mechanism;

[0076] The server starts the WebSocket service program and establishes a monitoring mechanism for the temporary speed limit data;

[0077] The client of the train operation monitoring and recording device establishes a corresponding monitoring mechanism, connects to the WebSocket service of the server, monitors TSR events from the server, implements the two-end monitoring communication mechanism, and receives the latest temporary speed limit data from the server.

[0078] Specifically, on the basis of realizing the communication between mobile devices and LKJ, a reliable communication mechanism is also needed between TSR service and client to ensure the timely and reliable delivery of TSR data. Wireless-LKJ-TSR adopts a two-end listening communication mechanism based on WebSocket (WS) protocol. The client polling communication mechanism is relatively simple to implement, but it requires requesting all TSR data each time, which has a large impact on the client's performance and network overhead, so this communication mechanism is proposed to solve the above problems.

[0079] A data security mechanism is established in a temporary speed limit module of a train operation monitoring and recording device, and a prototype system of the train operation monitoring and recording device is determined, including:

[0080] Establish a password encryption mechanism: Improve the BCrypt algorithm by randomly adding salt, and encrypt the user password of the temporary speed limit module based on the improved BCrypt algorithm;

[0081] Establish an access control mechanism: optimize the JWT token verification mechanism by setting the token validity period, and perform access control based on the optimized JWT token verification mechanism;

[0082] Establish a data security transmission mechanism: Combine the RSA algorithm and the AES algorithm to build a data transmission mechanism and establish a secure data transmission channel between the dispatching center on the server side and the train cab client;

[0083] Build a low-code tool chain to complete the development of the prototype system, and test the prototype system including: unit testing, functional testing, and acceptance testing.

[0084] Specifically, the BCrypt algorithm is a high-computational-resource-consuming algorithm based on the Blowfish encryption algorithm, and adds salt to delay rainbow table attacks or collision or dictionary attacks, making it take longer to crack each password; although the BCrytp algorithm is highly secure, it is still at risk of being cracked because it is a public algorithm. The improved BCrypt algorithm: First, the random salting step is integrated into the algorithm, and a second line of defense is built for the password by using a custom key. The improved BCrypt algorithm is as follows:

[0085] / / The input parameters are the password string and the calculation cost, the default cost is 10

[0086] function BCryptLKJ(password,cost=10){

[0087] / / Generate a 16-byte random string salt

[0088] salt = random(16)

[0089] / / Initialize the state of the BlowFish algorithm for the subsequent BlowFish encryption

[0090] pEighteenSubkeys,sFourSubBoxes=EksBlowfishSetup(cost,salt,password)

[0091] / / Get a 24-bit random string key. If it does not exist, use the default character

[0092] ctext=getSecretKey()

[0093] ctext=ctext? ctext:"OrpheanBeholderScryDoubt"

[0094] for(i=0;i<64;i++){

[0095] / / Encrypt the string 64 times using the ECB mode of the BlowFish algorithm

[0096] ctext=encryptECB(pEighteenSubkeys,sFourSubBoxes,ctext)

[0097] }

[0098] / / Encode the salt and ctext using base64 to generate the final encrypted string

[0099] return'${cost}${base64(salt)}${base64(ctext)}'

[0100] }.

[0101] Specifically, before the JWT mechanism was optimized, the JWT token was stored locally after being released to the client. The longer the token is kept locally, the greater the risk of being stolen. However, a token validity period that is too short requires users to log in frequently, which greatly reduces the user experience. The optimized JWT token verification mechanism sets the token validity period to 10 minutes. The 10-minute validity period makes the token data insufficiently timely and worthless to steal. The frequency of user interaction with the server is used to determine whether the user is still operating, so that the JWT solution can ensure the security of interface access without affecting the user's normal work and use, thus balancing the relationship between security and user experience.

[0102] Specifically, if you only use the asymmetric encryption method RSA, the efficiency is low, because although the asymmetric encryption and decryption method is very safe, the process is complicated and takes a long time. If you only use the symmetric encryption method AES, the flexibility is low. The key used in this method is a fixed key and cannot be changed. Once the client or server changes it, it must notify the other party to change it, and after the change, it is necessary to agree on the same key. It is very inflexible to use; combining the complementary advantages of RSA, use RSA to encrypt and transmit AES keys, and use AES to encrypt data. The encryption steps are as follows:

[0103] 1) The sender first generates an RSA public-private key pair. The public key can be published publicly, while the private key should be kept confidential.

[0104] 2) The sender encrypts the AES key using the RSA public key so that only the receiver who holds the AES key can decrypt the AES key.

[0105] 3) The sender uses the AES key to encrypt the original plaintext data, so that only the receiver who holds the AES key can decrypt the original data.

[0106] 4) The sender transmits the encrypted data to the receiver, which can be done through network transmission or other communication channels.

[0107] The decryption steps are as follows:

[0108] 1) The receiver uses the RSA algorithm to decrypt the received AES key and obtain the plaintext AES key.

[0109] 2) The receiver uses the decrypted AES key to decrypt the received key data and obtain the plaintext data.

[0110] In terms of data security design, the security issues of the temporary speed limit module are considered from three aspects: password encryption, access control, and data security transmission. First, the user password of the TSR module is encrypted based on the improved Bcrypt algorithm; secondly, based on the optimized JWT (JSON Web Token) token verification mechanism, access control is performed without affecting the user experience; finally, a data transmission mechanism combining the RSA (Rivest-Shamir-Adleman) algorithm and the AES (Advanced Encryption Standard) algorithm is used to establish a secure data transmission channel between the dispatching center and the train cab client. This solution fully guarantees the security of TSR data and can be used in other railway information systems, which is of great significance to the national railway data security.

[0111] While the above system solutions and security solutions are designed, in order to quickly verify the feasibility and usability of the solutions, the present invention constructs a low-code tool chain for rapid development of prototype projects, which can not only cope with a large number of development tasks, but also quickly complete the development of the core functions of the prototype to quickly verify the feasibility of the prototype solution; based on the tool chain, the development of the prototype system is completed, and a complete set of tests are carried out on the prototype system, including unit testing, functional testing, and acceptance testing.

[0112] First, all client functions of the system are integrated into one client, and the available functions are distinguished by the role of the logged-in user. In order to meet the development requirements of multi-terminal operation of the client and simplify the development work, the most portable Web technology is used to complete the construction of the client interface, and the Cordova framework is used to complete the development of the mobile terminal system. And to simplify the cross-platform porting of the software, the functions of the software are concentrated in the Web module as much as possible, so that the porting work is mainly concentrated in some functional modules and device driver modules that need to call the operating system interface.

[0113] Secondly, in order to meet the multi-terminal operation requirements of the card reader driver, the libusb framework is used to complete the writing of cross-platform USB drivers and call libraries.

[0114] Finally, to improve the development speed and efficiency of the server, the server uses node.js for efficient and fast development, and cooperates with the Koa framework to build server routing. In order to conveniently and quickly manage the data, files, interfaces, users, etc. of the entire system, Strapi's CMS tool is used here to quickly build the system's administrator background. In order to simulate the background development environment of multiple servers as much as possible, docker is used to isolate the development environment of different services.

[0115] The purpose of developing the prototype system is to verify the feasibility of the core content of the solution. In the Wireless-LKJ-TSR solution proposed in this invention, the mobile device communicates with LKJ through the IC card reader and IC card, and the mobile device communicates with the remote dispatch center through wireless signals, which is the key to opening the communication link between the dispatch center and LKJ.

[0116] Specifically, the present application adopts a portable mobile device capable of wireless communication to replace the train operation monitoring and recording device, receives the latest temporary speed limit module data from the dispatching center, and then connects the card reader to read and write IC cards through an adapter cable. The crew inserts the IC card with the latest command written into the main control box of the train operation monitoring and recording device to complete the update of the TSR data of the temporary speed limit module.

[0117] A wireless communication system based on LKJ TSR data, comprising: a server module, a client module and a device docking module;

[0118] The server module includes multiple servers;

[0119] The client module includes a mobile device and an LKJ main control chassis;

[0120] The device docking module includes: an IC card reader and an IC card;

[0121] The mobile device is used to receive the latest temporary speed limit data wirelessly transmitted by each server, and write the latest temporary speed limit data into the IC card through the IC card reader and the IC card;

[0122] The LKJ main control box is used to read the latest temporary speed limit data from the IC card to complete the data update of the temporary speed limit module of the train operation monitoring and recording device

[0123] Specifically, the wireless communication system based on LKJ is divided into three modules: server module, client module and device docking module. The functions implemented by the prototype are as follows: Figure 4 As shown, it includes: first log in to the system, that is, the duty officer logs in or the administrator logs in; after logging in, operate other modules, the duty officer has the right to manage and review the operation disclosure scheduling command, view the write card disclosure command, and perform read and write card operations after connecting the card reader device; the administrator has the authority to manage the basic data of the disclosure parameters.

[0124] Specifically, in order to solve the problems of timeliness, promptness and accuracy of temporary speed limit data transmission, this application has developed a Wireless-LKJ-TSR solution for the LKJ train control system, which has opened up the technical link for LKJ and the dispatching center to communicate through the wireless network, and improved the timeliness and delivery timeliness of TSR data. Finally, based on this solution, a low-code tool chain was built, and a dispatching management system prototype was developed. After passing all unit tests and functional tests, the feasibility and effectiveness of introducing wireless network communication in the temporary speed limit module of the train operation monitoring and recording device were proved, and the timeliness and delivery timeliness of the data transmission of the Wireless-LKJ-TSR solution were verified.

[0125] In this application, the main operation steps of the software are as follows Figure 5 As shown; the main interface is as Figure 6 As shown, click the "Login" button, and the login is successful after the identity authentication is passed; click "Run Reveal Scheduling Command Management" on the left to enter the management main interface, as shown Figure 7 As shown in the figure, all the running revealed scheduling commands that have been reviewed and failed are displayed. The scheduling commands with dark background are those that have failed the review. Click one of the scheduling commands to view its detailed information and perform "reveal edit" to add, delete and modify the scheduling command, such as Figure 8 shown.

[0126] Due to the importance of revealing commands, the duty officer cannot review the revealing commands he created. He needs to log out and log in again with a new duty officer account, click "Command and Reveal Review" on the homepage to enter the review page. Fig. 9 As shown; after confirming that the command content is correct, click the "√ Review Passed" button and a pop-up box will appear to preview the publishing sections after the command is automatically decomposed. After clicking the "Confirm Send" button, the command will be automatically decomposed and sent to the relevant sections. If the command content is incorrect, click "Review Failed" and fill in the reason for rejection in the pop-up box, and finally click "Reject Command".

[0127] Check the controllable disclosure data that has passed the review and has been decomposed and sent. The data is divided by application segment, such as Fig.10 As shown. Fig.11 As shown, the driver uses this function to write his identity information and attendance-related information into the IC card before getting on the bus. After the identity information and attendance information are written, the process of writing the controllable disclosure card will begin. After the controllable disclosure is written into the IC card, the controllable disclosure data written into the IC card can be queried through the card writing disclosure query function.

[0128] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0129] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0130] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A wireless communication method for TSR data based on LKJ, characterized in that: The method comprises the following steps: S1: A portable mobile device receives the latest temporary speed limit data from the dispatch center's server instead of LKJ through wireless communication; the mobile device is connected to an IC card reader to write the temporary speed limit data into the IC card; LKJ is a train operation monitoring and recording device; TSR is temporary speed limit data; S2: insert the IC card into the LKJ main control box, read the temporary speed limit data in the IC card, and complete the data update of the temporary speed limit module of the train operation monitoring and recording device; The server of the train operation monitoring and recording device is developed through Node.JS, the client interface of the train operation monitoring and recording device is constructed through Web technology, and the mobile terminal of the train operation monitoring and recording device is developed through the Cordova framework; A data security mechanism is established in the temporary speed limit module of the train operation monitoring and recording device, and a prototype system of the train operation monitoring and recording device is determined, including: Establish a password encryption mechanism: Improve the BCrypt algorithm by randomly adding salt, and encrypt the user password of the temporary speed limit module based on the improved BCrypt algorithm; Establish an access control mechanism: optimize the JWT token verification mechanism by setting the token validity period, and perform access control based on the optimized JWT token verification mechanism; Establish a data security transmission mechanism: Combine the RSA algorithm and the AES algorithm to build a data transmission mechanism and establish a secure data transmission channel between the dispatching center on the server side and the train cab client; Build a low-code tool chain to complete the development of the prototype system, and test the prototype system including: unit testing, functional testing, and acceptance testing.

2. A wireless communication method based on TSR data of LKJ as claimed in claim 1, characterized in that: The mobile device is connected to the IC card reader through a switching line to read and write the IC card.

3. A wireless communication method based on TSR data of LKJ as claimed in claim 1, characterized in that: Step S1 includes: the communication protocol for the mobile device to connect to the IC card reader adopts the ULIP communication protocol.

4. A wireless communication method based on TSR data of LKJ as claimed in claim 1, characterized in that: The server is built using the microservice design paradigm and split into four sub-services, including LKJ basic data service, identity authentication service, TSR service, and system administrator service. The server-side routing is built based on the Koa framework, the server-side system administrator service is quickly built based on the Strapi CMS tool, and the development environment of the four sub-services is isolated through the Docker technology; The LKJ basic data service manages the basic data of all train operation monitoring and recording devices; The identity authentication service manages all system users, including system user login, account management, user role management, and interface access permission identification; The TSR service manages the relevant data of the temporary speed limit module; The system administrator service intercepts the interface of the LKJ basic data service, the interface of the identity authentication service and the interface of the TSR service, manages the relevant data of all services, stores the system administrator's users, roles, permissions and system operation-related data, monitors the operation information of the entire system, and has the highest authority.

5. A wireless communication method based on TSR data of LKJ as claimed in claim 1, characterized in that: Establish a two-end listening communication mechanism based on the WebSocket protocol, including: Establishing a WebSocket service on the server to provide an active request sending mechanism; The server starts the WebSocket service program and establishes a monitoring mechanism for the temporary speed limit data; The client of the train operation monitoring and recording device establishes a corresponding monitoring mechanism, connects to the WebSocket service of the server, monitors TSR events from the server, implements the two-end monitoring communication mechanism, and receives the latest temporary speed limit data from the server.

6. A wireless communication system based on LKJ TSR data, used to implement a wireless communication method based on LKJ TSR data as claimed in any one of claims 1 to 5, comprising: Server module, client module and device docking module; The server module includes multiple servers; The client module includes a mobile device and an LKJ main control chassis; The device docking module includes: an IC card reader and an IC card; The mobile device is used to receive the latest temporary speed limit data wirelessly transmitted by each server, and write the latest temporary speed limit data into the IC card through the IC card reader and the IC card; The LKJ main control chassis is used to read the latest temporary speed limit data from the IC card to complete the data update of the temporary speed limit module of the train operation monitoring and recording device; The server module of the train operation monitoring and recording device is developed through Node.JS, the interface of the client module of the train operation monitoring and recording device is constructed through Web technology, and the device docking module of the train operation monitoring and recording device is developed through the Cordova framework; The client module is used to establish a data security mechanism in the temporary speed limit module of the train operation monitoring and recording device, and determine the prototype system of the train operation monitoring and recording device, including: Establish a password encryption mechanism: Improve the BCrypt algorithm by randomly adding salt, and encrypt the user password of the temporary speed limit module based on the improved BCrypt algorithm; Establish an access control mechanism: optimize the JWT token verification mechanism by setting the token validity period, and perform access control based on the optimized JWT token verification mechanism; Establish a data security transmission mechanism: Combine the RSA algorithm and the AES algorithm to build a data transmission mechanism and establish a secure data transmission channel between the dispatching center on the server side and the train cab client; The client module is also used to build a low-code tool chain, complete the development of the prototype system, and test the prototype system including: unit testing, functional testing, and acceptance testing.