Railway patrol system update rapid distribution method based on distributed network

The distributed network method optimizes update distribution in railway patrol systems by managing bandwidth and transmission rates, ensuring efficient and reliable model updates without disrupting normal operations.

CN120321119APending Publication Date: 2025-07-15HENAN SPLENDOR SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510500663.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-21
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

The existing railway patrol system is difficult to quickly update the intelligent model when bandwidth is limited, affecting the reliable operation of the system.

Method used

The railway patrol system update rapid distribution method is adopted based on distributed networks. By configuring IP addresses, preset update bandwidth and authentication information, an m+1 layer distributed distribution network is generated, an m-wheel transmission strategy is implemented, and a multi-node concurrent transmission update/configuration file is used to control the actual transmission rate to reduce the impact on the normal operation of the system.

Benefits of technology

It realizes rapid and efficient update of intelligent models under bandwidth limitation, improves system reliability and transmission efficiency, and reduces interference to normal patrol work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321119A_ABST
    Figure CN120321119A_ABST
Patent Text Reader

Abstract

The invention provides a railway patrol system update rapid distribution method based on a distributed network, which comprises the following steps of: configuring an IP address of each node of a railway patrol system, presetting an update bandwidth and authentication information, and configuring a system update bandwidth limit of the railway patrol system; acquiring a transmission task, wherein the transmission task comprises the number of nodes to be updated, the IP of the nodes to be updated and an update / configuration file; configuring a distribution mode, and selecting a node to be updated as a root node; generating an (m + 1)-layer distributed distribution network according to the system update bandwidth limit, the number of the nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address and the authentication information, wherein the (m + 1)-layer distributed distribution network executes m rounds of transmission strategies; and sending m rounds of transmission strategies and update / configuration files to the root node, and executing the m rounds of transmission strategies until the update / configuration files are distributed to all the nodes to be updated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of railway patrol, and specifically, to a method for quickly distributing updates of a railway patrol system based on a distributed network. Background Art

[0002] The railway patrol system is an important device to ensure the safe operation of railway trains. It monitors important train operation areas in real time through cameras. When there are intrusions such as people, animals, falling rocks, branches, mudslides, etc., the system can detect and immediately give an alarm, protect the train operation, and resume normal train operation after the railway maintenance workers eliminate the danger.

[0003] The railway line patrol system mainly includes devices such as cameras and intelligent algorithm boxes (algorithm servers), which can perform video stream pulling, decoding, and analysis to alarm intrusion events. Among them, the intelligent model adopted by the algorithm service of the intelligent algorithm box needs to be trained and updated in a timely manner to ensure the accuracy rate of system alarms and reliable operation. However, there are many devices and systems operating in the railway system, and users have restricted the bandwidth of each system according to certain principles. Moreover, since each intelligent algorithm box also needs to perform tasks such as video stream pulling, the update data transmission of the intelligent model adopted by the intelligent algorithm box can only use the remaining bandwidth. Therefore, how to quickly update the program and algorithm model under the specified bandwidth plays a key role in the reliable operation of the entire system.

[0004] In order to solve the above existing problems, people have been seeking an ideal technical solution. Summary of the Invention

[0005] The purpose of the present invention is to provide a method for quickly distributing updates of a railway patrol system based on a distributed network in view of the deficiencies of the prior art.

[0006] In order to achieve the above purpose, the technical solution adopted by the present invention is as follows: In the first aspect, a method for quickly distributing updates of a railway patrol system based on a distributed network is provided, including the following steps: Configure the IP address, preset update bandwidth, and authentication information of each node of the railway patrol system, and configure the system update bandwidth limit of the railway patrol system; Obtain a transmission task, where the transmission task includes the number of nodes to be updated, the IP of the nodes to be updated, and the update / configuration file; Configure the distribution mode, and select a node to be updated as the root node; Generate an m + 1 - layer distributed distribution network based on the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address, and the authentication information. The m + 1 - layer distributed distribution network executes m rounds of transmission strategies, and each round of transmission strategy includes the master node of the upper layer and the target nodes of the lower layer. Send the m - round transmission strategy and the update / configuration file to the root node. The root node sets the first - round target nodes according to the m - round transmission strategy, and distributes the update / configuration file to the first - round target nodes. After completing this round of transmission, generate the next - round transmission task according to the m - round transmission strategy and distribute it to the nodes executing the next - round transmission task. The next - round transmission task includes the m - round transmission strategy and the target nodes of the next round. The node that receives the next - round transmission task acts as the master node, distributes the update / configuration file to the corresponding target nodes. After completing this round of transmission, generate the next - round transmission task according to the m - round transmission strategy and distribute it to the nodes executing the next - round transmission task; repeat the current step until the update / configuration file is distributed to all nodes to be updated.

[0007] In a second aspect, a fast distribution device for updating a railway patrol system based on a distributed network is provided, including: A system configuration module, used to configure the IP address, preset update bandwidth, and authentication information of each node of the railway patrol system, and configure the system update bandwidth limit of the railway patrol system. A transmission task acquisition module, where the transmission task includes the number of nodes to be updated, the IP addresses of the nodes to be updated, and the update / configuration file. A transmission parameter configuration module, used to configure the distribution mode and select a node to be updated as the root node. A distributed distribution network acquisition module, used to generate an m + 1 - layer distributed distribution network based on the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address, and the authentication information. The m + 1 - layer distributed distribution network executes m rounds of transmission strategies, and each round of transmission strategy includes the master node of the upper layer and the target nodes of the lower layer. A distributed distribution network, after the root node receives the m - round transmission strategy and the update / configuration file, sets the first - round target nodes according to the m - round transmission strategy, and distributes the update / configuration file to the first - round target nodes. After completing this round of transmission, generate the next - round transmission task according to the m - round transmission strategy and distribute it to the nodes executing the next - round transmission task. The next - round transmission task includes the m - round transmission strategy and the target nodes of the next round; the node that receives the next - round transmission task acts as the master node, distributes the update / configuration file to the corresponding target nodes. After completing this round of transmission, generate the next - round transmission task according to the m - round transmission strategy and distribute it to the nodes executing the next - round transmission task; repeat the current step until the update / configuration file is distributed to all nodes to be updated.

[0008] A third aspect provides an electronic device, which includes: One or more processors; A memory for storing one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the steps of the method for fast distribution of railway patrol system updates based on a distributed network as described in the first aspect.

[0009] A fourth aspect provides a computer-readable storage medium storing a program, which when executed by a processor is used to implement the steps of the method for fast distribution of railway patrol system updates based on a distributed network as described in the first aspect.

[0010] The present invention has prominent substantive features and remarkable progress compared with the prior art. Specifically, the present invention generates an optimal distributed distribution network according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address, and the authentication information, and performs multi-node concurrency of updates / configuration files through distributed nodes, thereby realizing fast and efficient distribution of updates / configuration files; at the same time, in the communication between any two nodes, the actual transmission rate is controlled according to the preset transmission rate, reducing the impact on the normal operation of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A flowchart of the method for fast distribution of railway patrol system updates is given.

[0012] Figure 2 A schematic diagram of the extreme distribution mode is given.

[0013] Figure 3 A schematic diagram of the feedback control distribution mode is given.

[0014] Figure 4 A schematic diagram of the structure of the device for fast distribution of railway patrol system updates is given. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0015] The following further describes in detail the technical solutions of the present invention through specific embodiments.

[0016] Example 1 This example provides a method for fast distribution of railway patrol system updates based on a distributed network, as Figure 1 shown, including the following steps: Configure the IP address, preset update bandwidth, and authentication information of each node of the railway patrol system, and configure the system update bandwidth limit of the railway patrol system.

[0017] Specifically, for example, if each algorithm box is allocated 10M of usage bandwidth and 6M is used for pull stream alarm, then the update transmission is set to 4M bandwidth.

[0018] Obtain a transmission task, where the transmission task includes the number of nodes to be updated, the IP addresses of the nodes to be updated, and the update / configuration files.

[0019] Specifically, the following is an example of the transmission task: Number of nodes to be updated: hostnum = 20 IP addresses of the nodes to be updated: 1=192.168.1.110,22,linaro,rIchman 2=192.168.1.111,22,linaro,rIchman 3=192.168.1.112,22,linaro,rIchman 4=192.168.1.113,22,linaro,rIchman 5=192.168.1.114,22,linaro,rIchman 6=192.168.1.115,22,linaro,rIchman 7=192.168.1.116,22,linaro,rIchman 8=192.168.1.117,22,linaro,rIchman ... Update / configuration file information: Number of update / configuration files filenum=2 Update / configuration files: 1= xlxfftm.tar.gz 2= paramiko.zip.

[0020] Configure the distribution mode and select a node to be updated as the root node.

[0021] In specific implementation, the distribution mode includes the extreme distribution mode and the feedback control distribution mode. Among them, as Figure 2 shown, in the extreme distribution mode, after the current round of transmission task is completed, both the master node and the target node of the current round of transmission task serve as the master nodes of the next round of transmission task, and each master node can only transmit files to one target node at a time; As Figure 3As shown, in the feedback control mode, after the current round of transmission task is completed, the target node of the current round of transmission task serves as the master node of the next round of transmission task. Similarly, each master node can only transmit files to one target node at a time.

[0022] Generate an m+1 layer distributed distribution network according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address, and the authentication information. The m+1 layer distributed distribution network executes m rounds of transmission strategies, and each round of transmission strategy includes the master node of the upper layer and the target node of the lower layer.

[0023] Specifically, generate an m+1 layer distributed distribution network according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address, and the authentication information. The m+1 layer distributed distribution network executes m rounds of transmission strategies, including: Determine the number of transmission rounds m according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, and the preset update bandwidth of each node to be updated.

[0024] Specifically, in the extreme distribution mode, determine the value of m according to the following formula: 2 m-1 * Preset update bandwidth ≤ system update bandwidth limit, and 2 m ≥ number of nodes to be updated; Wherein, 2 m Is the total number of nodes in the m-round transmission task, and 2 m-1 Is the number of master nodes participating in the transmission task simultaneously in each round; In the extreme distribution mode, the total time to complete m rounds of transmission is m*d, where d is the transmission time between any two nodes.

[0025] For example, for the extreme distribution mode, assuming n is 1, after one transmission (m = 1), a total of two nodes can perform the next transmission. After two transmissions (m = 2), a total of 4 nodes can perform the next transmission;... After m rounds of transmission, there are a total of 2 m Nodes, wherein, 2 m-1 Master nodes are included in each round of transmission.

[0026] In the feedback control distribution mode, determine the value of m according to the following formula: n m-1 * Preset update bandwidth ≤ system update bandwidth limit, and (n m+1 -1) / (n - 1) ≥ number of nodes to be updated; Wherein, (n m+1 -1) / (n - 1) is the total number of nodes in the m-round transmission task, and n m-1The number of master nodes participating in the transmission task simultaneously in each round; In the feedback control distribution mode, the total time for completing m rounds of transmission is m * n * d, where d is the transmission time between any two nodes, n is the number of nodes after the first transmission is completed as preset, and each round of transmission takes n * d time.

[0027] For example, for the feedback control distribution mode, after one transmission (m = 1), there are n nodes that can perform the next transmission. After two transmissions (m = 2), there are n 2 nodes that can perform the next transmission... After m rounds of transmission, there are (n m+1 - 1) / (n - 1) nodes.

[0028] It can be understood that each node in the upper layer can decide to select 1 to n nodes in the lower layer to allocate the transmission task to complete the transmission task in the next stage; multiple nodes perform concurrent transmission to improve the transmission efficiency.

[0029] After determining the value of the number of transmission rounds m, generate the transmission strategy for each round layer by layer according to the distribution mode and the number of transmission rounds m. For each generated round of transmission strategy, establish an SSH communication channel between each master node involved in this round of transmission strategy and its target node according to the IP address and authentication information. If the SSH communication channel cannot be established, record the target node, and arbitrarily select one from the remaining nodes to be updated that are not included in the transmission strategy to replace the target node, and establish an SSH communication channel between the replaced target node and the corresponding master node according to the IP address and authentication information; Repeat the above steps until all nodes to be updated are included in the transmission strategy. At this time, an m + 1 - layer distributed distribution network is generated.

[0030] Then, send the m - round transmission strategy and the update / configuration file to the root node. The root node sets the first - round target node according to the m - round transmission strategy, and distributes the update / configuration file to the first - round target node. After completing this round of transmission, generate the next - round transmission task according to the m - round transmission strategy and distribute it to the nodes performing the next - round transmission task. The next - round transmission task includes the m - round transmission strategy and the target node for the next round; The node receiving the next - round transmission task serves as the master node, distributes the update / configuration file to the corresponding target node, and generates the next - round transmission task according to the m - round transmission strategy after completing this round of transmission and distributes it to the nodes performing the next - round transmission task; repeat the current step until the update / configuration file is distributed to all nodes to be updated.

[0031] It can be understood that when configuring the IP address and preset update bandwidth of each node of the railway patrol system, the preset transmission rate of the node can also be configured; the real-time transmission rate and real-time transmission bandwidth of the SSH communication channels between any two nodes need to be less than or equal to the preset transmission rate and preset update bandwidth to avoid affecting the normal patrol work process.

[0032] Specifically, during the actual file transmission, files are sent between any two nodes through sftp in the SSH communication channel, and the file transmission rate is controlled through the callback of sftp. sftp can set a callback function callback when transmitting files, and its parameters are the number of bytes already transmitted and the actual size of the file. Calculate the current transmission rate in the callback function, and when it is higher than the configured rate, appropriate delay can be used to make it match the configured rate.

[0033] And it should be noted that when each round of transmission is completed, after the master node of this round generates the next round of transmission tasks according to the m-round transmission strategy and distributes them to the master node of the next round of transmission tasks, it receives the transmission log records returned by the master node of the next round of transmission tasks and uploads them to its upper-layer master node until finally summarized to the root node to complete the summary of the transmission logs and display the results.

[0034] Embodiment 2 This embodiment provides a fast distribution device for updating a railway patrol system based on a distributed network, as Figure 4 shown, including: A system configuration module, used to configure the IP address, preset update bandwidth and authentication information of each node of the railway patrol system, and configure the system update bandwidth limit of the railway patrol system; A transmission task acquisition module, where the transmission task includes the number of nodes to be updated, the IP of the nodes to be updated, and the update / configuration file; A transmission parameter configuration module, used to configure the distribution mode and select a node to be updated as the root node; A distributed distribution network acquisition module, used to generate an m + 1-layer distributed distribution network according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth, IP address and authentication information of each node to be updated. The m + 1-layer distributed distribution network executes an m-round transmission strategy, and each round of transmission strategy includes the master node of the upper layer and the target nodes of the lower layer; A distributed distribution network is used to, after receiving the m-round transmission strategy and the update / configuration file at the root node, set the first-round target nodes according to the m-round transmission strategy, and distribute the update / configuration file to the first-round target nodes. After completing the current round of transmission, generate the next-round transmission task according to the m-round transmission strategy and distribute it to the nodes performing the next-round transmission task. The next-round transmission task includes the m-round transmission strategy and the target nodes for the next round; the nodes receiving the next-round transmission task act as master nodes, distribute the update / configuration file to the corresponding target nodes, and after completing this round of transmission, generate the next-round transmission task according to the m-round transmission strategy and distribute it to the nodes performing the next-round transmission task; repeat the current step until the update / configuration file is distributed to all nodes to be updated.

[0035] Embodiment 3 This embodiment provides an electronic device, which includes: One or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the steps of the method for fast distribution of railway patrol system updates based on a distributed network as described in Embodiment 1.

[0036] Embodiment 4 This embodiment provides a computer-readable storage medium, in which a program is stored, and the program, when executed by a processor, is used to implement the steps of the method for fast distribution of railway patrol system updates based on a distributed network as described in Embodiment 1.

[0037] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that it is still possible to modify the specific implementation manners of the present invention or perform equivalent replacements for some technical features; without departing from the spirit of the technical solutions of the present invention, they should all be covered within the scope of the technical solutions claimed by the present invention.

Claims

1. A method for quickly distributing updates of a railway patrol system based on a distributed network, characterized in that, Including the following steps: Configure the IP address, preset update bandwidth, and authentication information of each node of the railway patrol system, and configure the system update bandwidth limit of the railway patrol system; Obtain a transmission task, where the transmission task includes the number of nodes to be updated, the IP of the nodes to be updated, and the update / configuration file; Configure the distribution mode and select a node to be updated as the root node; Generate an m+1-layer distributed distribution network according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address, and the authentication information. The m+1-layer distributed distribution network executes m rounds of transmission strategies, and each round of transmission strategy includes the master node of the upper layer and the target nodes of the lower layer; Send m rounds of transmission strategies and the update / configuration file to the root node. The root node sets the first-round target nodes according to the m rounds of transmission strategies, and distributes the update / configuration file to the first-round target nodes. After completing this round of transmission, generate the next-round transmission task according to the m rounds of transmission strategies and distribute it to the nodes executing the next-round transmission task. The next-round transmission task includes the m rounds of transmission strategies and the target nodes of the next round; The nodes that receive the next-round transmission task act as master nodes, distribute the update / configuration file to the corresponding target nodes. After completing this round of transmission, generate the next-round transmission task according to the m rounds of transmission strategies and distribute it to the nodes executing the next-round transmission task; repeat the current step until the update / configuration file is distributed to all nodes to be updated.

2. The method for rapid distribution of updates of the railway patrol system based on a distributed network according to claim 1, characterized in that: The distribution mode includes the extreme distribution mode and the feedback control distribution mode. Among them, in the extreme distribution mode, after the current round of transmission task is completed, both the master node and the target nodes of the current round of transmission task act as the master nodes of the next-round transmission task, and each master node can only transmit the file to one target node at a time; In the feedback control mode, after the current round of transmission task is completed, the target nodes of the current round of transmission task act as the master nodes of the next-round transmission task.

3. The method for rapid distribution of updates of the railway patrol system based on a distributed network according to claim 1 or 2, characterized in that: Generate an m+1-layer distributed distribution network according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address, and the authentication information. The m+1-layer distributed distribution network executes m rounds of transmission strategies, including: Determine the number of transmission rounds m according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, and the preset update bandwidth of each node to be updated; Generate each round of transmission strategy layer by layer according to the distribution mode and the number of transmission rounds m. For each round of transmission strategy generated, establish an SSH communication channel between each master node involved in this round of transmission strategy and its target nodes according to the IP address and authentication information. If the SSH communication channel cannot be established, record the target node, and arbitrarily select one of the remaining nodes to be updated not included in the transmission strategy to replace the target node, and establish an SSH communication channel between the replaced target node and the corresponding master node according to the IP address and authentication information; Repeat the above steps until all nodes to be updated are included in the transmission strategy. At this time, an m+1-layer distributed distribution network is generated.

4. The method for rapid distribution of updates of the railway patrol system based on a distributed network according to claim 3, characterized in that: When determining the number of transmission rounds m according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, and the preset update bandwidth of each node to be updated in the extreme distribution mode, the following formula is used: 2 m-1 *The preset update bandwidth ≤ the system update bandwidth limit, and 2 m ≥ the number of nodes to be updated; Among them, 2 m is the total number of nodes for the m-round transmission task, 2 m-1 is the number of master nodes participating in the transmission task simultaneously in each round; In the extreme distribution mode, the total time for completing m rounds of transmission is m*d, where d is the transmission time between any two nodes.

5. The method for rapid distribution of updates of the railway patrol system based on a distributed network according to claim 3, wherein: When determining the number of transmission rounds m according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, and the preset update bandwidth of each node to be updated in the feedback control distribution mode, the following formula is used: n m-1 *The preset update bandwidth ≤ the system update bandwidth limit, and (n m+1 - 1) / (n - 1) ≥ the number of nodes to be updated; Among them, (n m+1 -1) / (n - 1) is the total number of nodes for the m-round transmission task, and n m-1 is the number of master nodes participating in the transmission task simultaneously in each round; In the feedback control distribution mode, the total time for completing m rounds of transmission is m*n*d, where d is the transmission time between any two nodes and n is the number of nodes after the first transmission is preset to be completed.

6. The method for rapid distribution of updates for a railway patrol system based on a distributed network according to claim 1 or 2 or 4 or 5, characterized in that: When configuring the IP address and preset update bandwidth of each node of the railway patrol system, the preset transmission rate of the node can also be configured; the real-time transmission rate and real-time transmission bandwidth of the SSH communication channel between any two nodes need to be less than or equal to the preset transmission rate and preset update bandwidth.

7. The method for rapid distribution of updates of the railway patrol system based on a distributed network according to claim 1 or 2 or 3, characterized in that: When each round of transmission is completed, after the master node of this round generates the next round of transmission tasks according to the m-round transmission strategy and distributes them to the master node of the next round of transmission tasks, it receives the transmission log records returned by the master node of the next round of transmission tasks and uploads them to its upper-layer master node until they are finally summarized to the root node.

8. A rapid distribution device for updating a railway patrol system based on a distributed network, characterized in that, Including: The system configuration module is used to configure the IP address, preset update bandwidth, and authentication information of each node of the railway patrol system, and configure the system update bandwidth limit of the railway patrol system; The transmission task acquisition module is used for the transmission tasks including the number of nodes to be updated, the IP addresses of the nodes to be updated, and the update / configuration files; The transmission parameter configuration module is used to configure the distribution mode and select a node to be updated as the root node; The distributed distribution network acquisition module is used to generate an m+1-layer distributed distribution network according to the system update bandwidth limit, the number of nodes to be updated, the distribution mode, the preset update bandwidth of each node to be updated, the IP address, and the authentication information. The m+1-layer distributed distribution network executes the m-round transmission strategy, and each round of transmission strategy includes the master node of the upper layer and the target node of the lower layer; The distributed distribution network is used to, after the root node receives the m-round transmission strategy and the update / configuration file, set the first-round target node according to the m-round transmission strategy, and distribute the update / configuration file to the first-round target node. After completing this round of transmission, generate the next round of transmission tasks according to the m-round transmission strategy and distribute them to the nodes executing the next round of transmission tasks. The next round of transmission tasks includes the m-round transmission strategy and the target nodes of the next round; the node receiving the next round of transmission tasks serves as the master node, distributes the update / configuration file to the corresponding target nodes, and after completing this round of transmission, generates the next round of transmission tasks according to the m-round transmission strategy and distributes them to the nodes executing the next round of transmission tasks; repeat the current step until the update / configuration file is distributed to all nodes to be updated.

9. An electronic device, characterized in that, The electronic device includes: One or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the steps of the method for rapid distribution of updates of the railway patrol system based on a distributed network according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, A program is stored in the storage medium, and when the program is executed by a processor, it is used to implement the steps of the method for rapid distribution of updates of the railway patrol system based on a distributed network according to any one of claims 1 to 7.