Rail transit equipment safety communication method and system of high-low speed parallel bus

By adopting a secure communication method of high and low-speed parallel buses in rail transit equipment, the problem of low communication efficiency of existing low-speed buses is solved, efficient and secure communication of rail transit equipment is achieved, and the increasing communication needs are adapted to.

CN119872660AActive Publication Date: 2025-04-25ZHONGHE ZHIXING RAIL TRANSIT TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411714336.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-04-25
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

The low-speed bus communication mechanism of existing rail transit equipment is inefficient, unable to meet the growing communication needs, and lacks an effective secure communication mechanism.

Method used

The rail transit equipment security communication method is adopted for high and low speed parallel buses. The train equipment control instructions are translated and encrypted through the high-speed parallel bus interface, and converted into low-speed parallel bus information to adapt to the communication capabilities of external devices. The information serial number, encryption and decryption mechanism and time flag are added during the conversion process to improve communication security.

Benefits of technology

It significantly improves the communication efficiency and security of rail transit equipment, can adapt to external devices with different communication capabilities, enhances the flexibility and scalability of the system, and ensures data integrity and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119872660A_ABST
    Figure CN119872660A_ABST
Patent Text Reader

Abstract

The invention discloses a rail transit equipment safety communication method and system based on a high-low speed parallel bus, and relates to the technical field of rail transit equipment communication, and the method comprises the steps: responding to a train equipment control instruction, translating the train equipment control instruction based on a high-speed parallel bus interface, obtaining high-speed parallel bus information, and carrying out the encryption transmission; analyzing and converting the high-speed parallel bus information to obtain low-speed parallel bus information and a communication state; transmitting the low-speed parallel bus information to corresponding external equipment based on a low-speed parallel bus interface so as to control corresponding controlled train equipment, and obtaining detection information of the state of the corresponding train equipment to carry out related equipment maintenance and management; the problem of low communication efficiency of a single low-speed bus is solved through an interconversion mechanism of the high-speed bus and the low-speed bus, the limitation of a low-speed bus communication mechanism on a rail transit equipment communication system is overcome, the communication efficiency of the rail transit equipment is remarkably improved, and the safety of rail transit communication is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of rail transit equipment communication, and in particular to a rail transit equipment safety communication method and system of a high-speed and low-speed parallel bus. Background Art

[0002] In the communication mechanism of rail transit, for external devices with low-speed parallel interfaces, the existing communication interface mainly selects CPU chips with low-speed parallel buses, and then converts them into low-speed safety parallel buses after adding security-related protocol designs to the bus through FPGA chips to ensure the security of communication, but the transmission rate of this method is relatively low. With the gradual popularization of Internet of Things technology, the amount of communication data has shown a sharp upward trend, resulting in the inability of the existing low-speed bus communication mechanism to efficiently transmit information. Therefore, it is urgent to conduct in-depth research and optimization of the rail transit data communication system to meet the growing communication needs.

[0003] Chinese patent, publication number: CN115465339B, publication date: May 10, 2024, discloses a communication system and train control method for ground rail transit, which transmits and receives train data through a wireless communication unit, analyzes, judges, warns and forwards the train's own data and the data forwarded by other trains through a signal processing unit, and can realize comparative analysis of multiple sets of train data under the action of the host, thereby greatly improving the accuracy of communication data when the train is running. The invention mainly performs post-analysis and judgment on the communication data to ensure the accuracy of data transmission when the train is running; however, the scheme only uses a wireless communication network for data transmission. Although each information processing unit improves the processing of data, it does not make improvements from the communication interface to improve the operating efficiency of the communication interface. The scheme is inefficient in step-by-step analysis and judgment of a large amount of data and it is difficult to ensure analysis errors, and the adaptability is poor. Summary of the invention

[0004] The purpose of the present invention is to solve the problem of low efficiency of low-speed bus communication mechanism of rail transit equipment; a high-speed parallel bus rail transit equipment safety communication method and system are proposed, by translating train equipment control instructions into high-speed parallel bus information, using a high-speed parallel bus interface to transmit it to a data logic unit for parsing, and converting it into low-speed parallel bus information, which is transmitted to the corresponding external device by the low-speed parallel bus interface to control the corresponding controlled train equipment, and obtain the detection information of the corresponding train equipment status to perform related equipment maintenance and management; the problem of low efficiency of single low-speed bus communication is solved through the mutual conversion mechanism of high-speed bus and low-speed bus, overcomes the limitations of low-speed bus communication mechanism on rail transit equipment communication system, and significantly improves the communication efficiency of rail transit equipment; at the same time, information sequence number, encryption and decryption mechanism and time mark are added in the high-speed and low-speed parallel bus conversion, which effectively improves the security of bus communication and further ensures the security of rail transit communication.

[0005] To solve the above technical problems, according to a first aspect of an embodiment of the present invention, a rail transit equipment safety communication method for a high-speed and low-speed parallel bus is provided, comprising the following steps: In response to the train equipment control command, the control command is translated based on the high-speed parallel bus interface, and the high-speed parallel bus information is obtained and encrypted for transmission; Parsing and converting the high-speed parallel bus information to obtain low-speed parallel bus information and communication status; The low-speed parallel bus information is transmitted to the corresponding external device based on the low-speed parallel bus interface, and the detection information of the corresponding train equipment status is obtained to perform relevant equipment maintenance and management to control the corresponding controlled train equipment.

[0006] In this scheme, the train equipment control instructions are transmitted through the high-speed parallel bus interface and the low-speed parallel bus interface, which improves the processor performance without replacing the external train equipment. The rich interface types can adapt to various complex data and other communication requirements, and improve the adaptability and efficiency of the rail transit equipment communication performance; the train equipment control instructions are translated into high-speed parallel bus information that can be carried by the high-speed parallel bus, in order to improve the information transmission rate while ensuring the communication reliability between the high-speed parallel bus and the low-speed parallel bus, and avoid data anomalies or data security problems during data transmission. By adopting this data encryption and decryption mechanism, it can effectively identify and resist the interference of abnormal data and forged data, thereby ensuring the integrity and security of the data; the high-speed bus information is converted into low-speed bus information, so that the system can be compatible with external devices with different communication capabilities, and the flexibility and scalability of the system are improved; the limitations of the low-speed bus communication mechanism on the rail transit equipment communication system are overcome, and the rail transit equipment communication efficiency is significantly improved; at the same time, the information sequence number, encryption and decryption mechanism and time mark are added in the high-speed and low-speed parallel bus conversion, which effectively improves the security of bus communication and further ensures the security of rail transit communication.

[0007] Preferably, translating the high-speed parallel bus interface to obtain the high-speed parallel bus information and encrypting and transmitting the information includes: The train equipment control instructions are translated based on the high-speed parallel bus interface protocol to obtain high-speed parallel bus information; the high-speed parallel bus information is encrypted based on an encryption algorithm and sent to a data logic unit through the high-speed parallel bus interface.

[0008] Preferably, the high-speed parallel bus information at least includes: information sequence number, rail transit equipment code, communication address and communication data.

[0009] Preferably, parsing and converting the high-speed parallel bus information to obtain the low-speed parallel bus information and communication status includes: Determining whether the communication has timed out based on the reception time of the train equipment control command, and marking the communication status of the current command accordingly based on the determination result; Extracting the information sequence number of the high-speed parallel bus information based on the normal communication state, and judging whether the corresponding high-speed parallel bus information has the low-speed conversion authority based on the information sequence number; Decrypting the high-speed parallel bus information based on the low-speed conversion authority to obtain target data; The target data is converted into low-speed parallel bus information through a low-speed parallel bus interface.

[0010] In this scheme, by introducing relative timestamps, i.e., time comparison, in the data communication process, the timeout problem in information transmission can be detected and identified in time, the validity of the instruction can be ensured, and the erroneous operation caused by outdated data can be avoided, which will cause the unsafe operation of the rail transit system. At the same time, it can determine whether the rail transit equipment is faulty according to the timeout time. For example, if the timeout time has reached the fault time, the high-speed parallel bus information will no longer be parsed to execute the instruction, but an alarm will be issued to check and locate the fault, so as to ensure that the train can normally receive the control instruction and operate safely and stably. Determining whether there is low-speed conversion authority is to determine whether the information needs to be decrypted. If the information does not meet the decryption conditions, it may be an error message or interference information, and the parsing is stopped to avoid occupying system resources and doing invalid work. Among them, comparing the information sequence number with the instruction sequence number received last time can prevent the repeated operation of the instruction and cause the safety problem of the train equipment. Determining whether the information address is within the address range is to verify the identity of the instruction sender and ensure that the information is sent to the correct device to avoid misoperation. By converting high-speed parallel bus information into low-speed parallel bus information to adapt to the communication capabilities of external devices, it ensures that devices that do not support high-speed communication can receive instructions normally and correctly, thereby improving the compatibility and adaptability of the system communication mode.

[0011] Preferably, judging whether the communication has timed out based on the reception time of the train equipment control instruction, and marking the communication status of the current instruction accordingly based on the judgment result, includes: Comparing the time information of the train equipment control instruction with the local time when the system receives the instruction; If the time difference exceeds the limit threshold, the communication times out, and the communication state of the high-speed parallel bus information is marked as timed out; If the time difference meets the limit threshold, the communication status of the high-speed parallel bus information is marked as normal.

[0012] Preferably, judging whether the corresponding high-speed parallel bus information has low-speed conversion authority based on the information sequence number includes: Determining whether a decryption condition of the communication address of the train equipment control instruction is met according to the information sequence number; After the communication address is decrypted, it is further determined whether it meets the address range. If so, the high-speed parallel bus information has the low-speed conversion permission.

[0013] Preferably, judging whether the decryption condition of the communication address of the train equipment control instruction is met according to the information sequence number includes: Matching the information serial number with the serial number of the external device, and simultaneously comparing the information serial number with the control instruction number last received by the system; If the match is successful and the information sequence number is not repeated with the control instruction number received by the system last time, the decryption condition of the communication address is met; If the match fails or / and the information sequence number is repeated with the control instruction number received by the system last time, the decryption condition of the communication address is not met, and the communication status of the high-speed parallel bus information is marked as device match failure or information duplication.

[0014] Preferably, after the communication address is decrypted, further determining whether it meets the address range includes: Based on the decrypted communication address matching system signal instruction standard address range, if the match is successful, the decrypted communication address meets the address range; if the match fails, the decrypted communication address does not meet the address range, marking the communication status of the high-speed parallel bus information as an address error.

[0015] Preferably, the method further comprises: if the time difference exceeds a limit threshold and reaches a marked alarm time range, issuing an alarm prompting to enter fault location.

[0016] According to another aspect of an embodiment of the present invention, there is provided a rail transit equipment safety communication system with a high-speed and low-speed parallel bus, comprising: a processor unit, a data logic unit, a high-speed parallel control unit, and a low-speed parallel control unit; The processor unit is used to respond to the train equipment control instruction, translate it to obtain high-speed parallel bus information, and encrypt and transmit the high-speed parallel bus information to the data logic unit through the high-speed parallel control unit; The data logic unit is used to parse and convert the high-speed parallel bus information, obtain the low-speed parallel bus information and communication status, transmit the communication status and the low-speed parallel bus information to the processor unit for storage and management through the high-speed parallel control unit, and transmit the low-speed parallel bus information to the corresponding external device through the low-speed parallel control unit.

[0017] In this scheme, the train equipment control instructions are transmitted through the high-speed parallel bus interface and the low-speed parallel bus interface, which improves the processor performance without replacing the external train equipment. The rich interface types can adapt to various complex data and other communication requirements, and improve the adaptability and efficiency of the rail transit equipment communication performance; the train equipment control instructions are translated into high-speed parallel bus information that can be carried by the high-speed parallel bus, in order to improve the information transmission rate while ensuring the communication reliability between the high-speed parallel bus and the low-speed parallel bus, and avoid data anomalies or data security problems during data transmission. By adopting this data encryption and decryption mechanism, it can effectively identify and resist the interference of abnormal data and forged data, thereby ensuring the integrity and security of the data; the high-speed bus information is converted into low-speed bus information, so that the system can be compatible with external devices with different communication capabilities, and the flexibility and scalability of the system are improved; the limitations of the low-speed bus communication mechanism on the rail transit equipment communication system are overcome, and the rail transit equipment communication efficiency is significantly improved; at the same time, the information sequence number, encryption and decryption mechanism and time mark are added in the high-speed and low-speed parallel bus conversion, which effectively improves the security of bus communication and further ensures the security of rail transit communication.

[0018] Beneficial effects of the present invention: 1. The train equipment control instructions are transmitted through the high-speed parallel bus interface and the low-speed parallel bus interface, which improves the processor performance without replacing the external train equipment. The rich interface types can adapt to various complex data and other communication requirements, and improve the adaptability and efficiency of the communication performance of rail transit equipment; 2. By implementing a data encryption and decryption mechanism during the high-speed parallel bus interface and the low-speed parallel bus interface, it can effectively identify and resist the interference of abnormal data and forged data, thereby ensuring the integrity and security of the data; 3. Introduce relative timestamps in the data communication process so that timeout problems in information transmission can be detected and identified in a timely manner; 4. The data logic unit analyzes and converts information to ensure the communication reliability between the high-speed parallel bus and the low-speed parallel bus; 5. Add information serial numbers during data communication to ensure that instructions are transmitted to train equipment with the correct ID. This effectively prevents the problem of repeated operation of communication instructions and improves the security and timeliness of system communications. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are only for the purpose of illustrating preferred embodiments and are not to be considered as limiting the present invention. Also, the same reference symbols are used throughout the drawings to represent the same parts.

[0020] Figure 1 The present invention is a flowchart of a method for safe communication of rail transit equipment using a high-speed and low-speed parallel bus according to an embodiment of the present invention.

[0021] Figure 2 The present invention is a block diagram of a high-speed and low-speed parallel bus safety communication system for rail transit equipment according to an embodiment of the present invention.

[0022] Figure 3 The figure is a schematic diagram of the overall structure of a high-speed and low-speed parallel bus communication according to a specific embodiment of the present invention.

[0023] Figure 4 The present invention is a communication flow diagram for controlling the switch of a train door device according to a specific embodiment of the present invention.

[0024] Figure 5 The present invention is a communication flow diagram for detecting the status of a train door device according to a specific embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation method described herein is only an optimal embodiment of the present invention, which is only used to explain the present invention and does not limit the scope of protection of the present invention. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0026] Example 1: Figure 1 As shown, a rail transit equipment safety communication method of a high-speed and low-speed parallel bus includes the following steps: In response to the train equipment control instructions, the instructions are translated based on the high-speed parallel bus interface, and the high-speed parallel bus information is obtained and encrypted for transmission.

[0027] Specifically, translating the high-speed parallel bus interface to obtain high-speed parallel bus information and encrypting and transmitting the information includes: The train equipment control instructions are translated based on the high-speed parallel bus interface protocol to obtain high-speed parallel bus information; the high-speed parallel bus information is encrypted based on an encryption algorithm and sent to a data logic unit through the high-speed parallel bus interface.

[0028] In this embodiment, the high-speed parallel bus interface can process a large amount of data and support high-speed data transmission. By translating instructions, it is converted into information that can be recognized by the high-speed bus and encrypted for transmission to ensure the security and integrity of the data.

[0029] Specifically, the high-speed parallel bus information includes at least: information sequence number, rail transit equipment code, communication address and communication data.

[0030] In this embodiment, the serial identification number is used as an identifier for information transmission to a specific device, which effectively avoids risks that may occur during the communication process, such as data duplication, data loss, erroneous data insertion, and disordered data flow sequence.

[0031] The high-speed parallel bus information is parsed and converted to obtain low-speed parallel bus information and communication status.

[0032] Specifically, parsing and converting the high-speed parallel bus information to obtain the low-speed parallel bus information and communication status includes: Determining whether the communication has timed out based on the reception time of the train equipment control command, and marking the communication status of the current command accordingly based on the determination result; Extracting the information sequence number of the high-speed parallel bus information based on the normal communication state, and judging whether the corresponding high-speed parallel bus information has the low-speed conversion authority based on the information sequence number; Decrypting the high-speed parallel bus information based on the low-speed conversion authority to obtain target data; The target data is converted into low-speed parallel bus information through a low-speed parallel bus interface.

[0033] In this embodiment, by introducing a relative timestamp, i.e., time comparison, in the data communication process, the timeout problem in information transmission can be detected and identified in time, the validity of the instruction can be ensured, and the erroneous operation caused by outdated data can be avoided, which causes the unsafe operation of the rail transit system; at the same time, it can be determined whether the rail transit equipment is faulty according to the timeout time. For example, if the timeout time has reached the fault time, the high-speed parallel bus information will no longer be parsed to execute the instruction, but an alarm will be issued to check and locate the fault, so as to ensure that the train can normally receive the control instruction and operate safely and stably. To determine whether there is a low-speed conversion authority is to determine whether the information needs to be decrypted. If the information does not meet the decryption conditions, it may be an error message or interference information, and the parsing thereof is stopped to avoid occupying system resources and doing invalid work. Among them, comparing the information sequence number with the instruction sequence number received last time can prevent the repeated operation of the instruction and cause the safety problem of the train equipment. To determine whether the information address is within the address range, the purpose is to verify the identity of the instruction issuer and ensure that the information is sent to the correct device to avoid misoperation. By converting high-speed parallel bus information into low-speed parallel bus information to adapt to the communication capabilities of external devices, it ensures that devices that do not support high-speed communication can receive instructions normally and correctly, thereby improving the compatibility and adaptability of the system communication mode.

[0034] Furthermore, the low-speed parallel bus contains real address and data information, wherein the address information contains read-write control enable information.

[0035] Specifically, judging whether the communication has timed out based on the reception time of the train equipment control instruction, and marking the communication status of the current instruction accordingly based on the judgment result, includes: Comparing the time information of the train equipment control instruction with the local time when the system receives the instruction; If the time difference exceeds the limit threshold, the communication times out, and the communication state of the high-speed parallel bus information is marked as timed out; If the time difference meets the limit threshold, the communication status of the high-speed parallel bus information is marked as normal.

[0036] In this embodiment, by comparing the receiving time with the local time, it is possible to quickly determine whether the control instruction is received within a reasonable time range. This helps to ensure the timeliness and accuracy of the data and avoid erroneous operations caused by outdated data; it provides the system with real-time monitoring capabilities for communication status, which helps to promptly discover and resolve communication problems. At the same time, by determining whether the communication has timed out, the system can promptly discover potential faults in the communication link, such as network delays, equipment failures, etc. This helps to improve the reliability and stability of the system and ensure the normal operation of the rail transit signal system.

[0037] Specifically, judging whether the corresponding high-speed parallel bus information has low-speed conversion authority based on the information sequence number includes: Determining whether a decryption condition of the communication address of the train equipment control instruction is met according to the information sequence number; After the communication address is decrypted, it is further determined whether it meets the address range. If so, the high-speed parallel bus information has the low-speed conversion permission.

[0038] In this embodiment, judging whether the decryption conditions are met usually involves checking the validity, legality and matching degree of the serial number with other relevant information. Only when the serial number meets certain conditions will the system perform the decryption operation to ensure the security of the data and avoid parsing and executing invalid or illegal instructions. By judging whether there is a low-speed conversion permission, it is determined whether the information needs to be decrypted. If the information does not meet the decryption conditions, it may be an error message or interference information, and the parsing is stopped to avoid occupying system resources and doing invalid work.

[0039] Specifically, judging whether the decryption condition of the communication address of the train equipment control instruction is met according to the information sequence number includes: Matching the information serial number with the serial number of the external device, and simultaneously comparing the information serial number with the control instruction number last received by the system; If the match is successful and the information sequence number is not repeated with the control instruction number received by the system last time, the decryption condition of the communication address is met; If the match fails or / and the information sequence number is repeated with the control instruction number received by the system last time, the decryption condition of the communication address is not met, and the communication status of the high-speed parallel bus information is marked as device match failure or information duplication.

[0040] In this embodiment, the next parsing operation can only be performed if the information serial number successfully matches the serial number of the external device and the information serial number is not repeated with the previous information number (here is the serial number of the control instruction last received by the system before the current instruction), otherwise the parsing of the information is stopped to ensure that the external device can correctly receive and process the data.

[0041] Specifically, after the communication address is decrypted, further determining whether it satisfies the address range includes: Based on the decrypted communication address matching system signal instruction standard address range, if the match is successful, the decrypted communication address meets the address range; if the match fails, the decrypted communication address does not meet the address range, marking the communication status of the high-speed parallel bus information as an address error.

[0042] In this embodiment, the decrypted communication address needs to be further verified to see if it meets a specific address range. Only when the communication address is within the legal address range will the encrypted content of the information be parsed to ensure that the data is sent to the correct device to avoid the risk of misoperation and data leakage; further ensure the integrity, accuracy and reliability of the data during the communication process, thereby achieving precise control of train equipment.

[0043] The low-speed parallel bus information is transmitted to the corresponding external device based on the low-speed parallel bus interface to control the corresponding controlled train equipment, and the detection information of the status of the corresponding train equipment is obtained to perform related equipment maintenance and management.

[0044] Specifically, the method further includes: if the time difference exceeds a limit threshold and reaches a marked alarm time range, issuing an alarm prompt to enter fault location.

[0045] In this embodiment, the timeout period can provide auxiliary basis for fault judgment. A single timeout event may be caused by a variety of reasons, such as network fluctuations, temporary equipment failures, etc. These reasons may not be sufficient to prove that the entire rail transit signal system has failed. If the reception time of multiple control instructions exceeds the limit threshold, or timeout events occur frequently, this may indicate that there are persistent problems with the communication link. In this case, the system can further analyze the type and frequency of timeout events, as well as the association with other system parameters (such as equipment status, network load, etc.), so as to determine whether there is a more serious fault, such as an overall failure of the rail transit signal system, which provides an important basis for fault judgment.

[0046] As an implementation method, the control instructions for the train doors should usually be received and processed within 5 seconds. However, by comparing the instruction reception time with the local time, it was found that the reception time of multiple consecutive control instructions exceeded the limit threshold of 10 seconds. At the same time, these timeout events are associated with communication failure reports from other devices in the site. Based on this information, the system can infer that there may be broader communication problems, such as network failures or problems in the signal system control center, providing important real-time monitoring and fault warning capabilities. In this case, the system can trigger a fault alarm mechanism to notify maintenance personnel to inspect and repair.

[0047] Embodiment 2, as Figure 2 As shown, a rail transit equipment safety communication system with a high-speed and low-speed parallel bus includes: A processor unit, a data logic unit, a high-speed parallel control unit, and a low-speed parallel control unit; The processor unit is used to respond to the train equipment control instruction, translate it to obtain high-speed parallel bus information, and encrypt and transmit the high-speed parallel bus information to the data logic unit through the high-speed parallel control unit; The data logic unit is used to parse and convert the high-speed parallel bus information, obtain the low-speed parallel bus information and communication status, transmit the communication status and the low-speed parallel bus information to the processor unit for storage and management through the high-speed parallel control unit, and transmit the low-speed parallel bus information to the corresponding external device through the low-speed parallel control unit.

[0048] Furthermore, after the high-speed parallel control unit encrypts and transmits the high-speed parallel bus information to the data logic unit, the processor unit receives the bus information from the data logic unit and decrypts it within the processor unit before use.

[0049] Furthermore, the low-speed parallel control unit transmits the low-speed parallel bus information to a corresponding external device, controls the external device to perform a corresponding action or detects an action status of the external device.

[0050] In this embodiment, the train equipment control instructions are transmitted through the high-speed parallel bus interface and the low-speed parallel bus interface, and the processor performance is improved without replacing the external train equipment. The rich interface types can adapt to various complex data and other communication requirements, and improve the adaptability and efficiency of the rail transit equipment communication performance; the train equipment control instructions are translated into high-speed parallel bus information that can be carried by the high-speed parallel bus, the purpose is to improve the information transmission rate while ensuring the communication reliability between the high-speed parallel bus and the low-speed parallel bus, and avoid data anomalies or data security problems during data transmission. By adopting this data encryption and decryption mechanism, it is possible to effectively identify and resist the interference of abnormal data and forged data, thereby ensuring the integrity and security of the data; the high-speed bus information is converted into low-speed bus information, so that the system can be compatible with external devices with different communication capabilities, and the flexibility and scalability of the system are improved; the limitations of the low-speed bus communication mechanism on the rail transit equipment communication system are overcome, and the rail transit equipment communication efficiency is significantly improved; at the same time, the information sequence number, encryption and decryption mechanism and time mark are added in the high-speed and low-speed parallel bus conversion, which effectively improves the security of the bus communication and ensures the security of rail transit communication.

[0051] As an implementation method, Figure 3 and Figure 4 As shown in the figure, the safe communication steps for controlling the opening and closing of subway train doors are as follows: First, since the train door opening and closing function is a safety function, the communication interface for controlling the train door equipment must be safe and reliable. Therefore, safety measures are added to the logic part of the SOC chip to ensure that the data on the communication line from the central processing unit to the train door equipment is accurate and reliable. Among them, the high-speed parallel bus is based on the AXI bus and contains 5 channels: write address channel, write data channel, write response channel, read data channel and read address channel. Two of the address channels transmit serial number information and encrypted address information. Two data channels transmit timestamp information and encrypted data information. The write response channel returns the information processing status from the logic unit to the processing unit during the write operation.

[0052] Specifically, when receiving the train door control command, the processor unit first sends the information to the logic unit through the high-speed parallel bus interface, and the logic unit will fully analyze the information and finally transmit the information processing status to the processor unit through the high-speed parallel bus. The address and data in the high-speed parallel bus are encrypted values ​​after using the AES encryption algorithm.

[0053] Furthermore, the logic unit will fully analyze the information as follows: A1. The logic unit first compares the marking time (i.e., the sending time of the train equipment control command) with the local time when the command is received. When the time interval exceeds the set threshold, it is determined as a communication timeout, indicating that this information command will not reach the train door device, and the information state (communication state) is marked as timeout. If the information time is not timed out, execute A2. A2, parsing sequence number (information sequence number), the information sequence number contains the train door device ID and the information number. Only when the external device ID matches correctly and the information number is not repeated with the previous number, can A3 be entered. If any of the conditions is not met, the parsing of this information will be terminated, and the communication status will be marked as device matching failure or information duplication according to the actual comparison result; A3. Decrypt the encrypted address of the high-speed parallel bus information based on the key, and then determine the address range of the actual address. If the actual address exceeds the legal address of the device, terminate the information parsing, do not operate the train door device externally, and mark the communication status as an address error; if the actual address is within the legal address range of the device, proceed to the next step of data decryption operation; A4, decrypting the encrypted data of the high-speed parallel bus information based on the key; A5, transmit the actual address and data to the external device with the corresponding ID according to the low-speed parallel bus timing, control the specified train door device, and mark the communication status as completed; A6. The logic unit transmits the information status back to the processor unit through the write response channel of the high-speed parallel bus, and the processor unit stores the completed train equipment control instructions to facilitate ID duplication comparison of new control instructions received subsequently.

[0054] Specifically, the processor and the logic unit are configured with encryption and decryption rule files. Each device corresponds to an independent key. The information serial number contains the device ID number. Therefore, when the information serial number is detected, the key is automatically parsed based on the information serial number.

[0055] Embodiment 3, as Figure 5 As shown, based on the data logic unit, the status information of the train door device is obtained through the low-speed parallel bus at regular intervals, so that the processor unit can be informed of the status of the external device at any time. The steps are as follows: B1. The processor unit receives the instruction to detect the status of the train door device and informs the logic unit of the ID and other detection information of the device to be detected this time through the high-speed parallel bus; B2. After receiving the information, the logic unit performs information security operations and then returns the encrypted detection data, time stamp and information status through the read data channel of the high-speed parallel bus; B3. The processor unit also needs to perform time detection after receiving the information. After determining that the information has not timed out, it can decrypt the data for use. Otherwise, an alarm prompts to enter the fault location.

[0056] Further, B2 includes the following steps: When the decrypted real address meets the device address range, the train door device status data obtained by the low-speed bus will be encrypted and the information status will be marked as the read operation completed; then, the logic unit returns the encrypted detection data, time stamp and information status to the processor unit through the read data channel of the high-speed parallel bus.

[0057] In this embodiment, the communication efficiency between the processor and the external device is improved by converting the high-speed parallel bus and the low-speed parallel bus, thereby ensuring the compatibility between the processor and the peripheral device interface.

[0058] The above specific embodiments are preferred embodiments of the present invention, and are not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to the present specific embodiments. All equivalent changes made in accordance with the shape, structure, and method of the present invention are within the protection scope of the present invention.

Claims

1. A rail transit equipment safety communication method for high-speed and low-speed parallel buses, characterized in that: The steps include: In response to the train equipment control command, the control command is translated based on the high-speed parallel bus interface, and the high-speed parallel bus information is obtained and encrypted for transmission; Parsing and converting the high-speed parallel bus information to obtain low-speed parallel bus information and communication status; The low-speed parallel bus information is transmitted to the corresponding external device based on the low-speed parallel bus interface to control the corresponding controlled train equipment, and the detection information of the status of the corresponding train equipment is obtained to perform related equipment maintenance and management.

2. A rail transit equipment safety communication method for high-speed and low-speed parallel buses according to claim 1, characterized in that: Based on the high-speed parallel bus interface, it is translated to obtain the high-speed parallel bus information and perform encrypted transmission, including: Translating the train equipment control instructions based on the high-speed parallel bus interface protocol to obtain high-speed parallel bus information; The high-speed parallel bus information is encrypted based on an encryption algorithm and then sent to a data logic unit through the high-speed parallel bus interface.

3. The method for safe communication of rail transit equipment with high-speed and low-speed parallel buses according to claim 1, characterized in that: The high-speed parallel bus information at least includes: information sequence number, rail transit equipment code, communication address and communication data.

4. A rail transit equipment safety communication method for high-speed and low-speed parallel buses according to claim 3, characterized in that: Parsing and converting the high-speed parallel bus information to obtain low-speed parallel bus information and communication status includes: Determining whether the communication has timed out based on the reception time of the train equipment control command, and marking the communication status of the current command accordingly based on the determination result; Extracting the information sequence number of the high-speed parallel bus information based on the normal communication state, and judging whether the corresponding high-speed parallel bus information has the low-speed conversion authority based on the information sequence number; Decrypting the high-speed parallel bus information based on the low-speed conversion authority to obtain target data; The target data is converted into low-speed parallel bus information through a low-speed parallel bus interface.

5. A rail transit equipment safety communication method for high-speed and low-speed parallel buses according to claim 4, characterized in that: The determining whether the communication has timed out based on the receiving time of the train equipment control instruction, and marking the communication status of the current instruction accordingly based on the determination result, includes: Comparing the time information of the train equipment control instruction with the local time when the system receives the instruction; If the time difference exceeds the limit threshold, the communication times out, and the communication state of the high-speed parallel bus information is marked as timed out; If the time difference meets the limit threshold, the communication status of the high-speed parallel bus information is marked as normal.

6. A rail transit equipment safety communication method for high-speed and low-speed parallel buses according to claim 4, characterized in that: The step of judging whether the corresponding high-speed parallel bus information has low-speed conversion authority based on the information sequence number includes: Determining whether a decryption condition of the communication address of the train equipment control instruction is met according to the information sequence number; After the communication address is decrypted, it is further determined whether it meets the address range. If so, the high-speed parallel bus information has the low-speed conversion permission.

7. A rail transit equipment safety communication method for high-speed and low-speed parallel buses according to claim 6, characterized in that: The determining whether the decryption condition of the communication address of the train equipment control instruction is satisfied according to the information sequence number comprises: matching the information sequence number with the sequence number of the external device, and synchronously comparing the information sequence number with the control instruction number last received by the system; If the match is successful and the information sequence number is not repeated with the control instruction number received by the system last time, the decryption condition of the communication address is met; If the match fails or / and the information sequence number is repeated with the control instruction number received by the system last time, the decryption condition of the communication address is not met, and the communication status of the high-speed parallel bus information is marked as device match failure or information duplication.

8. The method for safe communication of rail transit equipment with high-speed and low-speed parallel buses according to claim 6 is characterized in that: After the communication address is decrypted, further determining whether it meets the address range includes: Based on the decrypted communication address matching system signal instruction standard address range, if the match is successful, the decrypted communication address meets the address range; if the match fails, the decrypted communication address does not meet the address range, marking the communication status of the high-speed parallel bus information as an address error.

9. The method for safe communication of rail transit equipment with high-speed and low-speed parallel buses according to claim 5, characterized in that: The method further comprises: If the time difference exceeds the limit threshold and reaches the marked alarm time range, an alarm is issued to prompt the fault location.

10. A rail transit equipment safety communication system with a high-speed and low-speed parallel bus, applicable to a rail transit equipment safety communication method with a high-speed and low-speed parallel bus as claimed in any one of claims 1 to 9, characterized in that: include: A processor unit, a data logic unit, a high-speed parallel control unit, and a low-speed parallel control unit; The processor unit is used to respond to the train equipment control instruction, translate it to obtain high-speed parallel bus information, and encrypt and transmit the high-speed parallel bus information to the data logic unit through the high-speed parallel control unit; The data logic unit is used to parse and convert the high-speed parallel bus information, obtain the low-speed parallel bus information and communication status, transmit the communication status and the low-speed parallel bus information to the processor unit for storage and management through the high-speed parallel control unit, and transmit the low-speed parallel bus information to the corresponding external device through the low-speed parallel control unit.

Citation Information

Patent Citations

  • A communication system and train control method for ground rail transportation

    CN115465339B

  • Method and apparatus for writing-in and reading data to low speed bus from high speed bus

    CN101510185A

  • High-low speed bus systems and connection device thereof

    CN101917318A

  • Bus system and method and device for reading and writing low-speed bus device

    CN101944075A

  • IEC61850 communication protocol conversion SOC chip with encryption and decryption functions and implementing method

    CN105871894A