Railway safety protocol configuration method, device, equipment, medium and product

By pre-burning the unified protocol stack parameter file in the train operation section, the problem of burning errors in the configuration of protocol stack parameters separately in different trains is solved, and the effect of reducing the error rate and ensuring normal communication is achieved.

CN119996057AActive Publication Date: 2025-05-13CHINA SHENHUA ENERGY CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510321091.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-05-13
Estimated Expiration
2045-03-18

AI Technical Summary

Technical Problem

Different trains can easily cause burn errors when the parameters of the railway signal safety protocol stack are configured separately, which affects the normal communication of the train.

Method used

The unified protocol stack parameter file is pre-burned in the train operation section. All associated trains use the same file, including the protocol stack parameters of the full number of communication equipment, and are used to configure the railway signal safety protocol array.

Benefits of technology

The error rate of protocol stack parameters is reduced and the normal communication connection between the train and other communication devices is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996057A_ABST
    Figure CN119996057A_ABST
Patent Text Reader

Abstract

The invention discloses a railway safety protocol configuration method, device and equipment, a medium and a product. The railway safety protocol configuration method comprises the following steps: reading a protocol stack parameter of each communication device in a train operation section from a protocol stack parameter file; protocol stack parameter files used by at least one train associated with the same train operation section are the same and all comprise protocol stack parameters of full communication equipment in the train operation section; configuring a railway signal security protocol array based on the protocol stack parameters; the railway signal safety protocol array is used for establishing communication connection with communication equipment in the train operation section. According to the technical scheme of the embodiment of the invention, the error rate of protocol stack parameter programming can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transit technology, and in particular to a railway safety protocol configuration method, device, equipment and storage medium. Background Art

[0002] Railway Signal Safety Protocol (RSSP) is a safety communication protocol applied to the interface of railway signal safety equipment. RSSP is mainly used to ensure the safety and reliability of railway signal systems during communication and is applicable to communication between various railway signal equipment.

[0003] The protocol stack parameters are the parameters needed to configure RSSP. The protocol stack parameters need to be burned into the train master control system in advance. Each train needs to establish communication with different communication devices, which makes the protocol stack parameters of each train unique. Therefore, the protocol stack parameters need to be written and configured separately for each train. This method is prone to protocol stack parameter burning errors, affecting the normal communication of the train. Summary of the invention

[0004] The present invention provides a railway safety protocol configuration method, device, equipment, medium and product to solve the problem that burning errors are prone to occur when different trains configure protocol stack parameters separately.

[0005] According to one aspect of the present invention, a railway safety protocol configuration method is provided, which is applied to an on-board automatic train protection system ATP, comprising:

[0006] Read the protocol stack parameters of each communication device in the train operation section in the protocol stack parameter file;

[0007] The protocol stack parameter files used by at least one train associated with the same train running section are the same, and both contain the protocol stack parameters of all communication devices in the train running section;

[0008] Based on the protocol stack parameters, configuring a railway signal safety protocol array;

[0009] The railway signal safety protocol array is used to establish a communication connection with the communication equipment in the train operation section.

[0010] According to another aspect of the present invention, there is provided a railway safety protocol configuration device, which is configured in an onboard automatic train protection system ATP, comprising:

[0011] A protocol stack parameter reading module is used to read the protocol stack parameters of each communication device in the train operation section from the protocol stack parameter file;

[0012] The protocol stack parameter files used by at least one train associated with the same train running section are the same, and both contain the protocol stack parameters of all communication devices in the train running section;

[0013] A railway safety protocol configuration module, used to configure a railway signal safety protocol array based on the protocol stack parameters;

[0014] The railway signal safety protocol array is used to establish a communication connection with the communication equipment in the train operation section.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the railway safety protocol configuration method described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the railway safety protocol configuration method described in any embodiment of the present invention when executed.

[0020] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the railway safety protocol configuration method of any embodiment of the present disclosure is implemented.

[0021] According to the technical solution of the embodiment of the present invention, the on-board ATP obtains the protocol stack parameters of all communication devices in the train operation section by reading the pre-burned protocol parameter file, and then configures the railway signal safety protocol array based on the protocol stack parameters, which is used to establish a communication connection with other communication devices in the train operation section. By pre-burning a unified protocol stack parameter file in each train associated with the train operation section, the on-board ATP of each train can configure the railway signal safety protocol data based on the protocol stack parameter file, so as to provide a parameter basis for the train to establish communication with other communication devices. Compared with the method in which each train needs to burn different protocol stack parameter files, this solution can reduce the error rate of protocol stack parameter burning.

[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 is a flow chart of a railway safety protocol configuration method provided according to Embodiment 1 of the present invention;

[0025] Figure 2a is a flow chart of a railway safety protocol configuration method provided according to Embodiment 2 of the present invention;

[0026] Figure 2b is a schematic diagram of communication device types provided according to Embodiment 2 of the present invention;

[0027] Figure 2c The content of the protocol stack parameter file before compression provided by the second embodiment of the present invention;

[0028] Figure 2d is the compressed protocol stack parameter file content provided by the second embodiment of the present invention;

[0029] Figure 3 This is a schematic diagram of the structure of a railway safety protocol configuration device provided according to Embodiment 3 of the present invention;

[0030] Figure 4 It is a structural schematic diagram of an electronic device for implementing the railway safety protocol configuration method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0033] Embodiment 1

[0034] Figure 1 A flowchart of a railway safety protocol configuration method is provided for the first embodiment of the present invention. This embodiment is applicable to the case where a unified protocol stack parameter file is pre-burned in all trains associated with the train running section. The method can be executed by a railway safety protocol configuration device, which can be implemented in the form of hardware and / or software. The railway safety protocol configuration device can be configured in various general computing devices, for example, in an on-board train automatic protection system (Automatic Train Protection, referred to as ATP). Figure 1 As shown, the method includes:

[0035] S110. Read the protocol stack parameters of each communication device in the train operation section from the protocol stack parameter file; the protocol stack parameter files used by at least one train associated with the same train operation section are the same, and both contain the protocol stack parameters of all communication devices in the train operation section.

[0036] The train running section is a specific area section that the train passes through from the starting point to the end point in the railway transportation network. The train running section contains multiple communication devices, such as multiple ground control centers (GCCs) deployed at intervals in the train section, on-board communication equipment contained in at least one train passing through the train running section, and other communication equipment in the train running section. Among them, each train contains at least two communication devices such as on-board ATP and on-board train tail.

[0037] The protocol stack parameter file is a parameter file that the train ATP needs to use when establishing communication with other communication devices in the train operation section. The protocol stack parameter file needs to be pre-burned into the non-volatile memory associated with the train ATP for use by the train ATP when establishing communication connections with other communication devices.

[0038] In the prior art, the protocol stack parameter file required by each train is written according to other communication devices that the train needs to establish communication with, and contains the protocol stack parameters of other communication devices that the train needs to establish communication connections with. The communication devices that each train needs to establish communication connections with are different, so the protocol stack parameter file of each train is unique and needs to be written and burned separately.

[0039] For example, if the onboard ATP1 of train 1 needs to establish communication with the onboard ATP2, onboard train tail, ground GCC1 and ground GCC2 of train 2 in the train operation section, it is necessary to write a protocol stack parameter file containing the protocol stack parameters of the above communication equipment and burn it into the flash memory of the onboard ATP1. If the onboard ATP2 of train 2 needs to establish communication with the onboard ATP1, onboard train tail, ground GCC1 and ground GCC3 of train 1 in the train operation section, it is necessary to write a protocol stack parameter file containing the protocol stack parameters of the above communication equipment and burn it into the flash memory of the onboard ATP1. Obviously, the protocol stack parameter files that need to be burned for the onboard ATP of trains 1 and 2 are different.

[0040] When there are a large number of trains, the above method is complex and error-prone in terms of programming and burning, and the errors can only be discovered when the trains establish communication connections, seriously affecting the normal communication of the trains.

[0041] In order to reduce writing and burning errors, in the embodiment of the present invention, the protocol stack parameter files burned into at least one train associated with the same train running section are the same, and both contain the protocol stack parameters of all communication devices in the train running section. The train can selectively use the protocol stack parameters contained in the protocol stack parameter file when establishing a communication connection.

[0042] During the on-board ATP initialization process, the protocol stack parameters of each communication device in the train operation section are first read from the protocol stack parameter file. Specifically, the protocol stack parameters of each communication device can be read from the protocol stack parameter file according to the identity code of each communication device. The protocol stack parameters of each communication device include the device layer parameters of the communication device and the session layer parameters between the communication device and the current on-board ATP.

[0043] S120. Based on the protocol stack parameters, configure the railway signal safety protocol array; the railway signal safety protocol array is used to establish a communication connection with the communication equipment in the train operation section.

[0044] In the embodiment of the present invention, according to the Railway Signal Safety Protocol I (RSSP-1) parameter composition principle, the railway signal safety protocol array associated with the current on-board ATP is further configured according to the read protocol stack parameters, so as to provide the on-board ATP with a parameter basis for establishing a communication connection. When the on-board ATP needs to establish a communication connection with the target communication device, it needs to read the protocol stack parameters associated with the target communication device from the railway signal safety protocol array.

[0045] The railway signal safety protocol array includes the Safety Function Management Layer (SFM layer) data and the Communication Function Management Layer (CFM layer) data. The SFM layer data corresponding to each communication device constitutes the SFM array, and the CFM layer data corresponding to each communication device constitutes the CFM array.

[0046] According to the technical solution of the embodiment of the present invention, the on-board ATP obtains the protocol stack parameters of all communication devices in the train operation section by reading the pre-burned protocol parameter file, and then configures the railway signal safety protocol array based on the protocol stack parameters, which is used to establish a communication connection with other communication devices in the train operation section. By pre-burning a unified protocol stack parameter file in each train associated with the train operation section, the on-board ATP of each train can configure the railway signal safety protocol data based on the protocol stack parameter file, so as to provide a parameter basis for the train to establish communication with other communication devices. Compared with the method in which each train needs to burn different protocol stack parameter files, this solution can reduce the error rate of protocol stack parameter burning.

[0047] Embodiment 2

[0048] Figure 2a This is a flow chart of a railway safety protocol configuration method provided in the second embodiment of the present invention. This embodiment further refines the above embodiment and provides specific steps for configuring a railway signal safety protocol array based on protocol stack parameters, as well as specific steps after configuring a railway signal safety protocol array based on protocol stack parameters. Figure 2a As shown, the method includes:

[0049] S210. Read the protocol stack parameters of each communication device in the train operation section from the protocol stack parameter file; the protocol stack parameter files used by at least one train associated with the same train operation section are the same, and both contain the protocol stack parameters of all communication devices in the train operation section.

[0050] Optionally, the protocol stack parameter file includes a protocol stack data packet consisting of session layer parameters associated with the current on-board ATP and each type of communication equipment in the train operation section, and device layer parameters of each communication equipment in the current operation section.

[0051] When a train operation section contains a large number of communication devices, each communication device has corresponding device layer parameters and session layer parameters between the communication device and the current onboard ATP. This makes the protocol stack parameters of all communication devices occupy a large amount of storage space.

[0052] In order to reduce the space occupied by the protocol stack parameter file, the protocol stack parameters need to be compressed and stored. In this optional embodiment, the compression principle is to classify according to the common attributes and unique attributes in the protocol stack parameters. Specifically, the communication devices belonging to the same device type have the same session layer parameters in the protocol stack parameters, and the device layer parameters of each communication device are different. Therefore, the parameters of the same part can be compressed, that is, the corresponding session layer parameters of multiple communication devices belonging to the same device type are only stored once, and finally the protocol stack data packet is composed of the session layer parameters associated with the current on-board ATP and each type of communication device in the train operation section, and the device layer parameters of each communication device in the current operation section. Among them, the protocol stack data packet is part of the protocol stack parameter file.

[0053] Optionally, the protocol stack parameter file is a binary file consisting of a file header, a file length, a file version, a protocol stack data packet, and a file checksum.

[0054] In a specific example, the types of communication equipment in the train running section are as follows: Figure 2b As shown, it includes the on-board ATP, on-board train tail and other on-board equipment at the train end. In addition, it also includes the ground GCC and other ground equipment.

[0055] In order to enable all trains associated with the same train operation section to burn a unified protocol stack parameter file, the protocol stack parameters of all communication devices in the train operation section are centrally written into the protocol stack parameter file. Figure 2c As shown, the train operation section includes on-board ATP1, on-board train tail 1, ground GCC1, on-board ATP2, on-board train tail 2 and ground GCC2, and the protocol stack parameter file includes the session layer parameters and device layer parameters associated with the above communication devices.

[0056] In order to reduce the space occupied by the protocol stack parameter file, the protocol stack parameters need to be compressed and stored. Figure 2dAs shown, the session layer parameters associated with communication devices belonging to the same device type are stored only once, that is, the session layer parameters stored in units of communication devices are modified to be stored in units of device types, and the device layer parameters of each communication device are saved separately to form a protocol stack data packet, saving a lot of storage space.

[0057] Furthermore, a binary file (bin file) consisting of a file header, a file length, a file version, a protocol stack data packet, and a file checksum is burned into the on-board ATP of each train in the train operation section.

[0058] Optionally, the protocol stack parameters of each communication device in the train operation section are read from the protocol stack parameter file, including:

[0059] Extract one communication device in the train running section as the current communication device in turn, extract the device layer parameters of the current communication device in the protocol stack parameter file according to the identity code of the current communication device, and read the device type of the current communication device in the device layer parameters;

[0060] Determine the session layer parameters between the current vehicle-mounted ATP and the current communication device according to the device type of the current communication device;

[0061] The device layer parameters of the current communication device and the session layer parameters between the current on-board ATP and the current communication device are taken as the protocol stack parameters of the current communication device, and are stored in the running memory of the current train. The operation of sequentially extracting one communication device in the train running section as the current communication device is returned to be executed until the protocol stack parameters of each communication device in the train running section are obtained.

[0062] In this optional embodiment, a specific scheme for reading the protocol stack parameters of each communication device in the train operation section in the protocol stack parameter file is provided: since the protocol stack parameters in the protocol stack parameter file are compressed, during the on-board ATP initialization process, the compressed parameters need to be decompressed and the protocol stack parameters of all communication devices need to be re-read. First, a communication device in the train operation section is extracted in turn as the current communication device, and the device layer parameters of the current communication device are extracted in the protocol stack parameter file according to the identity code of the current communication device. Then, the device layer parameters are parsed to obtain the device type of the current communication device. According to the device type of the current communication device, the session layer parameters between the current on-board ATP and the current communication device are determined. Finally, the device layer parameters of the current communication device and the session layer parameters between the current on-board ATP and the current communication device are stored in the running memory of the current train as the protocol stack parameters of the current communication device, and the operation of extracting a communication device in the train operation section as the current communication device in turn is returned to be executed until the protocol stack parameters of each communication device in the train operation section are obtained.

[0063] S220 . Construct a security function management layer array and a communication function management layer array according to the session layer parameters and device layer parameters of each communication device in the protocol stack parameters.

[0064] In the embodiment of the present invention, according to the RSSP-1 parameter composition principle and further according to the read protocol stack parameters, the railway signal safety protocol array associated with the current on-board ATP is configured to provide a parameter basis for establishing a communication connection for the on-board ATP.

[0065] First, according to the session layer parameters and device layer parameters of each communication device in the protocol stack parameters, a security function management layer array and a communication function management layer array are constructed, wherein session layer parameter items and device layer parameter items associated with the security function management layer array, and session layer parameter items and device layer parameter items associated with the communication function management layer are pre-configured.

[0066] Specifically, the session layer parameter items and device layer parameter items associated with the security function management layer array are extracted from the protocol stack parameters to form the security function management layer array. Then, the session layer parameter items and device layer parameter items associated with the communication function management layer array are extracted from the protocol stack parameters to form the communication function management layer array.

[0067] S230. Use the safety function management layer array and the communication function management layer array together as a railway signal safety protocol array.

[0068] In an embodiment of the present invention, after extracting the safety function management layer array and the communication function management layer array, the safety function management layer array and the communication function management layer array are used together as the railway signal safety protocol array to provide parameter basis for the subsequent on-board ATP to establish communication with other communication equipment.

[0069] S240: In response to receiving the communication connection task, read the identity of the terminal to be communicated in the communication connection task.

[0070] In the embodiment of the present invention, after receiving the communication connection task, the vehicle-mounted ATP first parses the communication connection task, reads the identity identifier of the terminal to be communicated contained therein, and obtains the protocol stack parameters associated with the terminal to be communicated according to the identity identifier.

[0071] S250. Reading protocol stack parameters associated with the terminal to be communicated from the railway signal safety protocol array according to the identity identifier.

[0072] In the embodiment of the present invention, according to the identity identification of the terminal to be communicated, the protocol stack parameters associated with the terminal to be communicated are read in the railway signal safety protocol array. Specifically, according to the identity identification, a part of the session layer parameters and device layer parameters associated with the terminal to be communicated are read in the security function management layer data of the railway signal safety protocol array. At the same time, another part of the session layer parameters and device layer parameters associated with the terminal to be communicated are read in the communication function management layer data of the railway signal safety protocol array. Finally, the parameter set is obtained as the protocol stack parameters associated with the terminal to be communicated.

[0073] S260: Establish a communication connection with the terminal to be communicated based on the protocol stack parameters associated with the terminal to be communicated.

[0074] In the embodiment of the present invention, after obtaining the protocol stack parameters associated with the communication terminal, the data to be sent is sent based on the railway signal safety protocol according to the obtained protocol stack parameters. Specifically, based on the protocol stack parameters, a railway signal safety communication protocol stack is added between the application layer and the network layer to ensure communication stability and security.

[0075] The technical solution of the embodiment of the present invention stores the protocol stack parameters of all communication devices in the train operation section in units of device type, compresses the volume of the protocol stack parameter file, can save the flash memory space of the on-board ATP, and based on the protocol stack parameters, adds a railway signal safety communication protocol stack between the application layer and the network layer to ensure communication stability and security.

[0076] Embodiment 3

[0077] Figure 3 This is a schematic diagram of the structure of a railway safety protocol configuration device provided by Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0078] The protocol stack parameter reading module 310 is used to read the protocol stack parameters of each communication device in the train operation section from the protocol stack parameter file;

[0079] The protocol stack parameter files used by at least one train associated with the same train running section are the same, and both contain the protocol stack parameters of all communication devices in the train running section;

[0080] A railway safety protocol configuration module 320, configured to configure a railway signal safety protocol array based on the protocol stack parameters;

[0081] The railway signal safety protocol array is used to establish a communication connection with the communication equipment in the train operation section.

[0082] According to the technical solution of the embodiment of the present invention, the on-board ATP obtains the protocol stack parameters of all communication devices in the train operation section by reading the pre-burned protocol parameter file, and then configures the railway signal safety protocol array based on the protocol stack parameters, which is used to establish a communication connection with other communication devices in the train operation section. By pre-burning a unified protocol stack parameter file in each train associated with the train operation section, the on-board ATP of each train can configure the railway signal safety protocol data based on the protocol stack parameter file, so as to provide a parameter basis for the train to establish communication with other communication devices. Compared with the method in which each train needs to burn different protocol stack parameter files, this solution can reduce the error rate of protocol stack parameter burning.

[0083] Optionally, the protocol stack parameter file includes a protocol stack data packet consisting of session layer parameters associated with the current on-board ATP and each type of communication equipment in the train operation section, and device layer parameters of each communication equipment in the current operation section.

[0084] Optionally, the protocol stack parameter reading module 310 is specifically used for:

[0085] Extracting one communication device in the train running section as the current communication device in sequence, extracting the device layer parameters of the current communication device in the protocol stack parameter file according to the identity code of the current communication device, and reading the device type of the current communication device in the device layer parameters;

[0086] Determine the session layer parameters between the current vehicle-mounted ATP and the current communication device according to the device type of the current communication device;

[0087] The device layer parameters of the current communication device and the session layer parameters between the current on-board ATP and the current communication device are taken as the protocol stack parameters of the current communication device, and are stored in the running memory of the current train. The operation of sequentially extracting one communication device in the train running section as the current communication device is returned to be executed until the protocol stack parameters of each communication device in the train running section are obtained.

[0088] Optionally, the railway safety protocol configuration module 320 is specifically used to:

[0089] Constructing a security function management layer array and a communication function management layer array according to the session layer parameters and device layer parameters of each communication device in the protocol stack parameters;

[0090] The safety function management layer array and the communication function management layer array are used together as a railway signal safety protocol array.

[0091] Optionally, the railway safety protocol configuration device further includes:

[0092] An identity reading module, configured to read the identity of a communication terminal in the communication connection task in response to receiving a communication connection task after configuring the railway signal safety protocol array based on the protocol stack parameters;

[0093] A protocol stack parameter acquisition module, used to read the protocol stack parameters associated with the terminal to be communicated in the railway signal safety protocol array according to the identity identifier;

[0094] The communication establishing module is used to establish a communication connection with the terminal to be communicated based on the protocol stack parameters associated with the terminal to be communicated.

[0095] Optionally, the protocol stack parameter file is a binary file consisting of a file header, a file length, a file version, a protocol stack data packet, and a file checksum.

[0096] The railway safety protocol configuration device provided in the embodiment of the present invention can execute the railway safety protocol configuration method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0097] In the technical solution of the present invention, the collected information is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0098] Embodiment 4

[0099] According to an embodiment of the present invention, the present invention also provides an electronic device, a readable storage medium and a computer program product.

[0100] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, applicators, blade applicators, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0101] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0102] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0103] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the railway safety protocol configuration method.

[0104] In some embodiments, the railway safety protocol configuration method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the railway safety protocol configuration method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the railway safety protocol configuration method in any other appropriate manner (e.g., by means of firmware).

[0105] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0106] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or application.

[0107] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0108] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0109] The systems and techniques described herein may be implemented in a computing system that includes a backend component (e.g., as a data applier), or a computing system that includes a middleware component (e.g., an application applier), or a computing system that includes a frontend component (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0110] A computing system may include a client and an application server. The client and the application server are generally remote from each other and usually interact through a communication network. The relationship between the client and the application server is generated by computer programs running on corresponding computers and having a client-application server relationship with each other. The application server may be a cloud application server, also known as a cloud computing application server or a cloud host, which is a host product in a cloud computing application system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS applications.

[0111] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0112] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A railway safety protocol configuration method, characterized in that: Applied to the on-board automatic train protection system ATP, including: Read the protocol stack parameters of each communication device in the train operation section in the protocol stack parameter file; The protocol stack parameter files used by at least one train associated with the same train running section are the same, and both contain the protocol stack parameters of all communication devices in the train running section; Based on the protocol stack parameters, configuring a railway signal safety protocol array; The railway signal safety protocol array is used to establish a communication connection with the communication equipment in the train operation section.

2. The method according to claim 1, characterized in that: The protocol stack parameter file includes a protocol stack data packet consisting of session layer parameters associated with the current on-board ATP and each type of communication equipment in the train operation section, and device layer parameters of each communication equipment in the current operation section.

3. The method according to claim 2, characterized in that Read the protocol stack parameters of each communication device in the train operation section in the protocol stack parameter file, including: Extracting one communication device in the train running section as the current communication device in sequence, extracting the device layer parameters of the current communication device in the protocol stack parameter file according to the identity code of the current communication device, and reading the device type of the current communication device in the device layer parameters; Determine the session layer parameters between the current vehicle-mounted ATP and the current communication device according to the device type of the current communication device; The device layer parameters of the current communication device and the session layer parameters between the current on-board ATP and the current communication device are taken as the protocol stack parameters of the current communication device, and are stored in the running memory of the current train. The operation of sequentially extracting one communication device in the train running section as the current communication device is returned to be executed until the protocol stack parameters of each communication device in the train running section are obtained.

4. The method according to claim 2, characterized in that: Based on the protocol stack parameters, a railway signal safety protocol array is configured, including: Constructing a security function management layer array and a communication function management layer array according to the session layer parameters and device layer parameters of each communication device in the protocol stack parameters; The safety function management layer array and the communication function management layer array are used together as a railway signal safety protocol array.

5. The method according to claim 1, characterized in that After configuring the railway signal safety protocol array based on the protocol stack parameters, the method further includes: In response to receiving the communication connection task, reading the identity of the terminal to be communicated in the communication connection task; According to the identity identifier, reading a protocol stack parameter associated with the terminal to be communicated in the railway signal safety protocol array; A communication connection with the terminal to be communicated is established based on the protocol stack parameters associated with the terminal to be communicated.

6. The method according to claim 2, characterized in that The protocol stack parameter file is a binary file consisting of a file header, a file length, a file version, a protocol stack data packet and a file checksum.

7. A railway safety protocol configuration device, characterized in that: Configured in the on-board automatic train protection system ATP, including: A protocol stack parameter reading module is used to read the protocol stack parameters of each communication device in the train operation section from the protocol stack parameter file; The protocol stack parameter files used by at least one train associated with the same train running section are the same, and both contain the protocol stack parameters of all communication devices in the train running section; A railway safety protocol configuration module, used to configure a railway signal safety protocol array based on the protocol stack parameters; The railway signal safety protocol array is used to establish a communication connection with the communication equipment in the train operation section.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the railway safety protocol configuration method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the railway safety protocol configuration method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the railway safety protocol configuration method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Automatic-driving line data generation method and device for train operation monitoring system

    CN109213762A

  • Communication method and device and readable storage medium

    CN112235272A

  • Communication method and device of train and train

    CN115675569A

  • Battery storage device for electric vehicle

    KR1020210104188A

  • Method, wireless device, and computer readable medium for conducting a multiple station beam refinement protocol in a wireless network

    US20170085306A1