Software deployment method and device for rail transit remote input and output module

By adopting CANFD communication and redundant network in the rail transit RIOM system, dividing the belonging domain and performing CRC verification, the problem of low software upgrade efficiency in the RIOM system is solved, efficient software deployment is achieved, and the system upgrade speed and Network utilization.

CN113407200BActive Publication Date: 2024-10-25TRAFFIC CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110705862.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-24
Filing Date
2021-06-24
Publication Date
2024-10-25
Estimated Expiration
2041-06-24

AI Technical Summary

Technical Problem

The software upgrade efficiency in the existing rail transit RIOM system is low and is limited by the bandwidth and transmission rate of the CAN bus. This results in a long software upgrade time, especially when multiple boards need to be upgraded, which affects the rapid deployment of the system.

Method used

Using CANFD communication method and redundant network, boards to be deployed with the same function are divided into the same home domain, and software integrity is ensured through CRC verification, so that software deployment in the same home domain is implemented and the efficiency of software deployment is improved.

Benefits of technology

Through the combination of CANFD communication method and redundant network, the efficiency of software deployment is significantly improved, the upgrade time is shortened, the network utilization is improved, and the correctness and security of software deployment are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113407200B_ABST
    Figure CN113407200B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for software deployment of a rail transit remote input and output module, the method comprising: dividing the boards to be deployed with the same function in the rail transit remote input and output module RIOM into the same attribution domain to determine the attribution domain to which all the boards to be deployed in the RIOM belong; deploying the target software of the same attribution domain to the corresponding attribution domain based on the CANFD communication mode and redundant network to perform software deployment on all the boards to be deployed. The method and device for software deployment of the rail transit remote input and output module provided by the present invention can replace the traditional CAN communication or serial communication based on the attribution domain to which the divided boards to be deployed belong, using the CANFD communication mode and redundant network, and at the same time realizing the software deployment of the boards to be deployed in the same attribution domain, thereby improving the efficiency of software deployment.
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 software deployment method and device for a rail transit remote input and output module. Background Art

[0002] An important component of the rail transit control system is the Remote Input and Output Module (RIOM), which includes a RIOM overall controller and multiple input and output (IO) monitoring independent controllers. The traditional RIOM host and IO board are connected by CAN bus, and the data monitored by the IO board is transmitted through the CAN bus. Since the general transmission rate supported by the CAN bus is only 500Kbps, and the available bytes are less than 50%, it is only suitable for transmitting IO status or limited analog data and PWM data. However, IO boards often need to support remote burning functions. For programs of 800KB-1MB, a single board takes more than 20s to complete the program transmission process. There are multiple IO boards in the RIOM system. It takes a longer time to complete a systematic upgrade, which greatly affects the upgrade efficiency.

[0003] With the improvement of embedded processor processing power, many application scenarios that previously required high-performance processors have been replaced with embedded processors. When using high-performance processors, you often do not need to worry about software upgrades. The platform resources are sufficient to use the operating system and file system, and a mature OTA strategy can be used to upgrade using the network. After replacing with an embedded processor, although the processing performance can meet the needs, due to the limitations of RAM and Flash resources, the file system and operating system are often not used. The upgrade of IO board software can only use field buses, such as 485 or CAN buses. Due to the bus bandwidth, there are often not too many nodes mounted on the bus.

[0004] At present, the software upgrade efficiency in the RIOM system has not attracted widespread attention. The existing methods only use serial ports or CAN buses as transmission channels, and adopt a one-by-one upgrade strategy, that is, the program burning of multiple boards is executed sequentially. In this way, the software upgrade time will increase in stages as the number of network nodes gradually increases, which is extremely unfavorable for the rapid deployment of software. Summary of the invention

[0005] The software deployment method of the rail transit remote input and output module provided by the present invention is used to overcome the above-mentioned problems existing in the prior art. It can use the CANFD communication method to replace the traditional CAN communication or serial communication based on the divided belonging domains to which the boards to be deployed belong, and at the same time realize the software deployment of the boards to be deployed in the same belonging domain, thereby improving the efficiency of software deployment.

[0006] The present invention provides a software deployment method for a rail transit remote input and output module, comprising:

[0007] Classify the to-be-deployed boards with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the to-be-deployed boards in the RIOM belong;

[0008] Based on the CANFD communication mode and the redundant network, the target software of the same attribution domain is deployed to the corresponding attribution domain, so as to perform software deployment on all the boards to be deployed.

[0009] According to a software deployment method for a rail transit remote input and output module provided by the present invention, the target software of the same attribution domain is deployed to the corresponding attribution domain based on the CANFD communication mode and the redundant network, including:

[0010] Performing CRC check on the target software received by each to-be-deployed board in the same home domain respectively, so as to determine the first to-be-deployed board and the second to-be-deployed board in the same home domain;

[0011] Deploy the target software of the same domain to the first board to be deployed based on the CANFD communication method;

[0012] Deploy the target software of the same domain to the second board to be deployed based on the redundant network;

[0013] Wherein, the first to-be-deployed board is a to-be-deployed board corresponding to the target software that passes the CRC check in the same domain;

[0014] The second to-be-deployed board is a to-be-deployed board corresponding to the target software that fails to pass the CRC check in the same domain.

[0015] According to a software deployment method for a rail transit remote input and output module provided by the present invention, the target software of the same domain is deployed to the second board to be deployed based on the redundant network, comprising:

[0016] Disconnect the second board to be deployed from the RIOM, and resend the target software of the same domain to the second board to be deployed through the redundant network until the target software received by the second board to be deployed passes the CRC check, and then deploy the target software of the same domain to the second board to be deployed based on the redundant network.

[0017] According to a software deployment method for a rail transit remote input and output module provided by the present invention, all boards to be deployed include one or more of the following functional boards:

[0018] Data input DI acquisition board, data output DO acquisition board and analog input AI acquisition board.

[0019] According to a software deployment method for a rail transit remote input and output module provided by the present invention, if it is determined that all the boards to be deployed include the multiple functional boards, then multiple attribution domains to which all the boards to be deployed belong are determined, and target software for each attribution domain is determined respectively:

[0020] Determine that the target software of the domain to which the DI acquisition board belongs is a first software program;

[0021] Determine that the target software of the domain to which the DO acquisition board belongs is a second software program;

[0022] Determine that the target software of the domain to which the AI ​​acquisition board belongs is a third software program.

[0023] The present invention also provides a software deployment device for a rail transit remote input and output module, comprising: a domain determination module and a software deployment module;

[0024] The domain determination module is used to divide the boards to be deployed with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the boards to be deployed in the RIOM belong;

[0025] The software deployment module is used to deploy the target software of the same attribution domain to the corresponding attribution domain based on the CANFD communication mode and the redundant network, so as to perform software deployment on all the boards to be deployed.

[0026] According to a software deployment device for a rail transit remote input and output module provided by the present invention, the software deployment module comprises: a first deployment submodule and a second deployment submodule;

[0027] The first deployment submodule is used to perform CRC check on the target software received by each to-be-deployed board in the same home domain, so as to determine the first to-be-deployed board and the second to-be-deployed board in the same home domain;

[0028] The second deployment submodule is used to deploy the target software of the same home domain to the first board to be deployed based on the CANFD communication mode;

[0029] Deploy the target software of the same domain to the second board to be deployed based on the redundant network;

[0030] Wherein, the first to-be-deployed board is a to-be-deployed board corresponding to the target software that passes the CRC check in the same domain;

[0031] The second to-be-deployed board is a to-be-deployed board corresponding to the target software that fails to pass the CRC check in the same domain.

[0032] According to a software deployment device for a rail transit remote input and output module provided by the present invention, the second deployment submodule is further used for:

[0033] Disconnect the second board to be deployed from the RIOM, and resend the target software of the same domain to the second board to be deployed through the redundant network until the target software received by the second board to be deployed passes the CRC check, and then deploy the target software of the same domain to the second board to be deployed based on the redundant network.

[0034] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the software deployment method for the rail transit remote input and output module as described in any one of the above are implemented.

[0035] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the software deployment method for the rail transit remote input and output module as described in any one of the above.

[0036] The software deployment method and device of the rail transit remote input and output module provided by the present invention can use the CANFD communication method and redundant network to replace the traditional CAN communication or serial port communication based on the divided belonging domains to which the boards to be deployed belong, and simultaneously realize the software deployment of the boards to be deployed in the same belonging domain, thereby improving the efficiency of software deployment. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0038] Figure 1 It is a flowchart of the software deployment method of the rail transit remote input and output module provided by the present invention;

[0039] Figure 2 It is a structural schematic diagram of the rail transit remote input and output module provided by the present invention;

[0040] Figure 3 It is a structural schematic diagram of a software deployment device for a rail transit remote input and output module provided by the present invention;

[0041] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.

[0043] Figure 1 It is a flow chart of the software deployment method of the rail transit remote input and output module provided by the present invention, such as Figure 1 As shown, the method includes:

[0044] S1, dividing the boards to be deployed with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the boards to be deployed in the RIOM belong;

[0045] S2. Based on the CANFD communication mode and the redundant network, the target software of the same domain is deployed to the corresponding domain to perform software deployment on all boards to be deployed.

[0046] It should be noted that the execution subject of the above method may be a computer device.

[0047] Optionally, the software deployment method of the rail transit remote input and output module provided by the present invention can be used for Figure 2 The software deployment (software upgrade) of each board in the rail transit remote input and output module shown is performed.

[0048] like Figure 2 As shown, RIOM as a whole includes three roles: the cloud program manager, the remote IO manager (such as Figure 2 RIOM host in the Figure 2 All the boards to be deployed in the RIOM network). The program manager is a deployed cloud server used to save and distribute the software program version of the local IO controller. The remote IO manager has a heterogeneous network and can establish communication with the cloud server and the on-site CANFD bus at the same time. It is responsible for requesting the target software program from the cloud server, and sending it to the boards to be deployed in the same domain through the CANFD bus and the redundant network deployed in the RIOM network to complete the software deployment of the boards to be deployed in the same domain. The above architecture can merge the entire vehicle RIOM system into one, and all vehicle IO nodes are uniformly managed by the RIOM system, which can save space and economic expenses of multiple RIOM hosts. The specific implementation is as follows:

[0049] In actual scenarios, although there are many nodes in the entire RIOM network (each board to be deployed corresponds to a node in the RIOM network), the number of types of boards to be deployed is relatively limited. That is, the software running in all boards with the same function in the RIOM network is consistent. Based on this, the CANFD communication strategy based on domain division transforms the CANFD communication that is only applicable to broadcast mode into a selective communication mode with domain identification, and divides all boards to be deployed in RIOM into domains according to their corresponding functions, and divides the boards to be deployed with the same function into the same belonging domain. Based on this, all boards to be deployed in the entire RIOM are domain-divided to obtain the belonging domain to which each board to be deployed in the entire RIOM belongs.

[0050] For example, after all the boards to be deployed in the entire RIOM are powered on, the function domain field of the ID of each board to be deployed after power-on can be modified, for example, the function domain field of the ID of the boards to be deployed with the same function can be represented by a unified attribution domain number. Based on this, the attribution domain to which each board to be deployed belongs is obtained.

[0051] Based on the CANFD communication mode, domain identification is performed on all boards to be deployed (for example, the domain number of each board to be deployed can be used), and the target software of the same domain is deployed to the corresponding domain at the same time, so as to realize the coordinated deployment of the same domain, and finally complete the software deployment of all boards to be deployed. Among them, the CANFD communication mode is based on the CANFD bus for communication.

[0052] The CANFD network is based on the CAN network and inherits the main characteristics of the CAN bus. The CANFD bus makes up for the limitations of the CAN bus bandwidth and data field length, increasing the bus bandwidth to 5Mbps and the data field length to 64Byte. For remote programming functions, the CANFD bus is more suitable than the CAN bus and can improve the communication efficiency by about 10 times. Similarly, high bandwidth can better support the data transmission requirements of various applications. Replacing the original CAN bus with the CANFD bus architecture and utilizing the high bandwidth and increased data domain of CANFD can improve the efficiency of data transmission from a hardware basis.

[0053] The software deployment method of the rail transit remote input and output module provided by the present invention can replace the traditional CAN communication or serial communication with the CANFD communication mode and the redundant network based on the divided belonging domains to which the boards to be deployed belong, and simultaneously realize the software deployment of the boards to be deployed in the same belonging domain, thereby improving the efficiency of software deployment.

[0054] Further, in one embodiment, in step S2, deploying the target software of the same home domain to the corresponding home domain based on the CANFD communication mode and the redundant network may specifically include:

[0055] S21, performing CRC check on the target software received by each to-be-deployed board in the same home domain, to determine the first to-be-deployed board and the second to-be-deployed board in the same home domain;

[0056] S22, deploying the target software in the same domain to the first board to be deployed based on the CANFD communication method;

[0057] S23, deploying the target software in the same domain to the second board to be deployed based on the redundant network;

[0058] The first to-be-deployed board is a to-be-deployed board corresponding to the target software that passes the CRC check in the same domain;

[0059] The second to-be-deployed board is a to-be-deployed board corresponding to the target software that fails to pass the CRC check in the same domain.

[0060] Optionally, after receiving the target software transmitted based on the CANFD bus and redundant network, the board to be deployed in the same domain needs to verify the integrity of the received target software. The software deployment method of the rail transit remote input and output module provided by the present invention uses a cyclic redundancy check CRC to verify the integrity of the target software transmitted in byte form. Then, according to the CRC check result, the board to be deployed in the same domain is classified, specifically:

[0061] The target software that passes the CRC check is classified as the first board to be deployed, which indicates that the first board to be deployed receives the correct target software. At this time, the target software that fails the CRC check is classified as the second board to be deployed, which indicates that the second board to be deployed does not receive the correct target software. Then, the target software in the same domain is deployed to the first board to be deployed and the second board to be deployed based on the CANFD communication mode and redundant network.

[0062] The software deployment method of the rail transit remote input and output module provided by the present invention verifies the integrity of the target software to be deployed before software deployment on the board to be deployed to ensure the correctness and integrity of the software deployment. At the same time, the software deployment is performed on the board to be deployed in the same domain and in units of "domains", which can decouple the time of software deployment from the number of nodes in the "domain" and fully improve the network utilization rate.

[0063] Further, in one embodiment, step S23 may specifically include:

[0064] S231, disconnect the second board to be deployed from RIOM, and resend the target software of the same domain to the second board to be deployed through the redundant network, until the target software received by the second board to be deployed passes the CRC check, and then deploy the target software of the same domain to the second board to be deployed based on the redundant network.

[0065] Optionally, the above method is used to divide the boards to be deployed in the same domain into a first board to be deployed that has received the correct target software and a second board to be deployed that has not received the correct target software. For the first board to be deployed, the target software can be deployed simultaneously based on the CANFD communication method. For the second board to be deployed, since it has not received the correct target software, the second board to be deployed needs to resend the upgrade request. In order not to affect the software deployment of the first board to be deployed during the domain upgrade process, the node corresponding to the second board to be deployed needs to be disconnected from the entire RIOM network to avoid affecting the software deployment process of other nodes corresponding to the first board to be deployed, and at the same time, the following is used Figure 2 The redundant network shown receives the target software. When the target program is received, the integrity of the program installation package corresponding to the target software is checked again using the CRC check method to ensure the integrity of the program. Until the second board to be deployed passes the CRC check, that is, after the second board to be deployed receives the correct target software, the target software of the same domain is simultaneously deployed to the second board to be deployed that receives the correct target software based on the redundant network.

[0066] The software deployment method for the rail transit remote input and output module provided by the present invention adopts a redundancy mechanism to solve the problem of software packet loss caused by domain upgrade, while ensuring the consistency, correctness and security of software deployment in the same domain.

[0067] Furthermore, in one embodiment, all boards to be deployed may specifically include one or more of the following functional boards:

[0068] Data input DI acquisition board, data output DO acquisition board and analog input AI acquisition board.

[0069] Optionally, the entire board to be deployed may specifically include one or more functional boards among a data input DI acquisition board, a data output DO acquisition board, and an analog input AI acquisition board. When the boards to be deployed powered on in the RIOM network at a certain moment include any one of the three functional boards, all the boards to be deployed in the RIOM network are divided into the same belonging domain. When the boards to be deployed powered on in the RIOM network at a certain moment include multiple of the three functional boards, all the boards to be deployed in the RIOM network are divided into multiple belonging domains. The above method is used to complete the simultaneous deployment of the software of the boards to be deployed in the entire belonging domain.

[0070] The software deployment method of the rail transit remote input and output module provided by the present invention can realize the coordinated deployment of different functional board software in the RIOM network, thereby improving the efficiency of software upgrade. Further, in one embodiment, after determining that all boards to be deployed include multiple functional boards, multiple attribution domains to which all boards to be deployed belong are determined, and the target software of each attribution domain is determined respectively:

[0071] Determine that the target software of the domain to which the DI acquisition board belongs is the first software program;

[0072] Determine that the target software of the domain to which the DO acquisition board belongs is the second software program;

[0073] Determine that the target software of the domain to which the AI ​​acquisition board belongs is the third software program.

[0074] Optionally, if it is determined that all the functional boards to be deployed that are powered on in the entire RIOM network include multiple functional boards of the above three types, the boards to be deployed are divided into domains according to their functions, and DI acquisition boards with the same function are divided into the same domain, DO acquisition boards with the same function are divided into the same domain, and AI acquisition boards with the same function are divided into the same domain.

[0075] As described above, after determining that all boards to be deployed belong to different multiple attribution domains, the target software of each attribution domain is determined respectively, specifically: the target software of the attribution domain to which the DI acquisition board belongs is determined to be the first software program; the target software of the attribution domain to which the DO acquisition board belongs is determined to be the second software program; the target software of the attribution domain to which the AI ​​acquisition board belongs is determined to be the third software program. Then, the above-mentioned software deployment method can be used to simultaneously deploy the first software program to the attribution domain to which the DI acquisition board belongs, the second software program to the attribution domain to which the DO acquisition board belongs, and the third software program to the attribution domain to which the AI ​​acquisition board belongs.

[0076] The software deployment method of the rail transit remote input and output module provided by the present invention can realize the unified deployment of different functional boards through the same RIOM host, so as to quickly deploy different board nodes to be deployed in all vehicles, saving the space and economic expenditure of multiple RIOM hosts.

[0077] The software deployment device of the rail transit remote input and output module provided by the present invention is described below. The software deployment device of the rail transit remote input and output module described below and the software deployment method of the rail transit remote input and output module described above can correspond to each other.

[0078] Figure 3 Schematic diagram of the software deployment device of the rail transit remote input and output module provided by the present invention. Figure 3 As shown, it includes: a domain determination module 310 and a software deployment module 311;

[0079] A domain determination module is used to classify the boards to be deployed with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the boards to be deployed in the RIOM belong;

[0080] The software deployment module is used to deploy the target software of the same domain to the corresponding domain based on the CANFD communication mode and the redundant network, so as to perform software deployment on all boards to be deployed.

[0081] The software deployment device for the rail transit remote input and output module provided by the present invention can utilize the CANFD communication method and redundant network to replace the traditional CAN communication or serial communication based on the divided belonging domains to which the boards to be deployed belong, and simultaneously realize the software deployment of the boards to be deployed in the same belonging domain, thereby improving the efficiency of software deployment.

[0082] Further, in one embodiment, the software deployment module 311 may specifically include: a first deployment submodule and a second deployment submodule;

[0083] The first deployment submodule is used to perform CRC check on the target software received by each to-be-deployed board in the same home domain, so as to determine the first to-be-deployed board and the second to-be-deployed board in the same home domain;

[0084] The second deployment submodule is used to deploy the target software in the same domain to the first board to be deployed based on the CANFD communication method;

[0085] Deploy the target software of the same domain to the second board to be deployed based on the redundant network;

[0086] The first to-be-deployed board is a to-be-deployed board corresponding to the target software that passes the CRC check in the same domain;

[0087] The second to-be-deployed board is a to-be-deployed board corresponding to the target software that fails to pass the CRC check in the same domain.

[0088] The software deployment device for the rail transit remote input and output module provided by the present invention verifies the integrity of the target software to be deployed before deploying the software to the board to be deployed to ensure the correctness and integrity of the software deployment. At the same time, the software deployment is performed on the board to be deployed in the same domain in units of "domains", which can decouple the time of software deployment from the number of nodes in the "domain", thereby fully improving the network utilization rate.

[0089] Furthermore, in one embodiment, the second deployment submodule may also be used to:

[0090] Disconnect the second board to be deployed from RIOM, and resend the target software of the same domain to the second board to be deployed through the redundant network until the target software received by the second board to be deployed passes the CRC check, and then deploy the target software of the same domain to the second board to be deployed based on the redundant network.

[0091] The software deployment device for the rail transit remote input and output module provided by the present invention adopts a redundancy mechanism to solve the problem of software packet loss caused by domain upgrade, while ensuring the consistency, correctness and security of software deployment in the same domain.

[0092] Figure 4 is a schematic diagram of the physical structure of an electronic device provided by the present invention, such as Figure 4As shown, the electronic device may include: a processor 410, a communication interface 411, a memory 412 and a bus 413, wherein the processor 410, the communication interface 411 and the memory 412 communicate with each other through the bus 413. The processor 410 may call the logic instructions in the memory 412 to execute the following method:

[0093] Classify the boards to be deployed with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the boards to be deployed in RIOM belong;

[0094] Based on the CANFD communication method and redundant network, the target software of the same domain is deployed to the corresponding domain to perform software deployment on all boards to be deployed.

[0095] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.

[0096] Furthermore, the present invention discloses a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can execute the software deployment method of the rail transit remote input and output module provided by the above-mentioned method embodiments, for example, comprising:

[0097] Classify the boards to be deployed with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the boards to be deployed in RIOM belong;

[0098] Based on the CANFD communication method and redundant network, the target software of the same domain is deployed to the corresponding domain to perform software deployment on all boards to be deployed.

[0099] On the other hand, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the software deployment method of the rail transit remote input and output module provided in the above embodiments, for example, including:

[0100] Classify the boards to be deployed with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the boards to be deployed in RIOM belong;

[0101] Based on the CANFD communication method and redundant network, the target software of the same domain is deployed to the corresponding domain to perform software deployment on all boards to be deployed.

[0102] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to two network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A software deployment method for a rail transit remote input and output module, characterized in that: include: Classify the to-be-deployed boards with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the to-be-deployed boards in the RIOM belong; Deploy the target software of the same home domain to the corresponding home domain based on the CANFD communication mode and the redundant network, so as to perform software deployment on all the boards to be deployed; The method of deploying the target software of the same home domain to the corresponding home domain based on the CANFD communication mode and the redundant network includes: Performing CRC check on the target software received by each to-be-deployed board in the same home domain respectively, so as to determine the first to-be-deployed board and the second to-be-deployed board in the same home domain; Deploy the target software of the same domain to the first board to be deployed based on the CANFD communication method; Deploy the target software of the same domain to the second board to be deployed based on the redundant network; Wherein, the first to-be-deployed board is a to-be-deployed board corresponding to the target software that passes the CRC check in the same domain; The second to-be-deployed board is a to-be-deployed board corresponding to the target software that fails to pass the CRC check in the same domain; The step of deploying the target software in the same domain to the second board to be deployed based on the redundant network includes: Disconnect the second board to be deployed from the RIOM, and resend the target software of the same domain to the second board to be deployed through the redundant network until the target software received by the second board to be deployed passes the CRC check, and then deploy the target software of the same domain to the second board to be deployed based on the redundant network.

2. The software deployment method of the rail transit remote input and output module according to claim 1 is characterized in that: All the boards to be deployed include one or more of the following functional boards: Data input DI acquisition board, data output DO acquisition board and analog input AI acquisition board.

3. The software deployment method of the rail transit remote input and output module according to claim 2 is characterized in that: If it is determined that all the boards to be deployed include the multiple functional boards, multiple attribution domains to which all the boards to be deployed belong are determined, and target software for each attribution domain is determined respectively: Determine that the target software of the domain to which the DI acquisition board belongs is a first software program; Determine that the target software of the domain to which the DO acquisition board belongs is a second software program; Determine that the target software of the domain to which the AI ​​acquisition board belongs is a third software program.

4. A software deployment device for a rail transit remote input and output module, characterized in that: include: A domain determination module and a software deployment module; The domain determination module is used to divide the boards to be deployed with the same function in the rail transit remote input and output module RIOM into the same belonging domain, so as to determine the belonging domain to which all the boards to be deployed in the RIOM belong; The software deployment module is used to deploy the target software of the same home domain to the corresponding home domain based on the CANFD communication mode and the redundant network, so as to perform software deployment on all the boards to be deployed; The software deployment module includes: a first deployment submodule and a second deployment submodule; The first deployment submodule is used to respectively deploy each to-be-deployed The target software received by the deployment board is subjected to CRC check to determine the first board to be deployed and the second board to be deployed in the same home domain; The second deployment submodule is used to deploy the target software of the same home domain to the first board to be deployed based on the CANFD communication mode; Deploy the target software of the same domain to the second board to be deployed based on the redundant network; Wherein, the first to-be-deployed board is a to-be-deployed board corresponding to the target software that passes the CRC check in the same domain; The second to-be-deployed board is a to-be-deployed board corresponding to the target software that fails to pass the CRC check in the same domain; The second deployment submodule is further used for: Disconnect the second board to be deployed from the RIOM, and resend the target software of the same domain to the second board to be deployed through the redundant network until the target software received by the second board to be deployed passes the CRC check, and then deploy the target software of the same domain to the second board to be deployed based on the redundant network.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the software deployment method of the rail transit remote input and output module as described in any one of claims 1 to 3 are implemented.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the software deployment method of the rail transit remote input and output module as claimed in any one of claims 1 to 3 are implemented.