Virtualized vehicle-mounted system construction method and device
By dividing the controller resources of the vehicle software platform through the virtualized operating system, establishing virtual security partitions and deploying the vehicle control subsystem, it solves the problem of large hardware occupation and low resource utilization of the vehicle control subsystem, and improves security and resource utilization.
Patent Information
- Application Number
- CN202410627422.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-10
AI Technical Summary
Existing vehicle control subsystems use independent hardware for each subsystem, resulting in problems such as large hardware footprint, functional redundancy, and low resource utilization.
The controller resources in the vehicle software platform are divided through the virtualized operating system, multiple virtual security partitions are established, and corresponding control subsystems are deployed in these partitions according to the security level of each subsystem to achieve time and space isolation. QNX and LINUX operating systems meet the needs of different security levels respectively.
It improves the operational safety of the vehicle control subsystem, reduces the space occupied by vehicle electronic equipment, reduces the whole life cycle cost, and improves resource utilization.
Smart Images

Figure CN118625635A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of rail transit technology, and in particular to a method and device for constructing a virtualized vehicle-mounted system. Background Art
[0002] The main onboard control subsystems of the train include ATP system, ATO system, TCMS system, traction system, braking system, fire alarm system, air conditioning system, etc. Each subsystem has a different safety level. For example, the safety level of the ATP system is SIL4, and the safety level of the ATO system is SIL2.
[0003] Existing vehicle control subsystems have different safety levels, and each subsystem uses a set of independent hardware, which has the defects of large hardware volume, functional redundancy and low resource utilization. Summary of the invention
[0004] The present invention provides a method and device for constructing a virtualized vehicle-mounted system, which are used to solve the technical problems in the prior art that the vehicle-mounted control subsystems have different security levels, each subsystem uses a set of independent hardware, and has the defects of large hardware volume, functional redundancy and low resource utilization.
[0005] The present invention provides a method for constructing a virtualized vehicle-mounted system, comprising:
[0006] Based on a virtualized operating system, resources of all controllers in the vehicle software platform are divided respectively to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure;
[0007] Based on the security level of each vehicle control subsystem in the vehicle software platform, the security level of multiple virtual security partitions in each controller is determined, and vehicle control subsystems of corresponding security levels are deployed in the multiple virtual security partitions of each controller.
[0008] According to a virtualized vehicle-mounted system construction method provided by the present invention, the safety level of each vehicle-mounted control subsystem includes safety level SIL4, safety level SIL2 and safety level SIL0.
[0009] According to a method for constructing a virtualized vehicle-mounted system provided by the present invention, a vehicle-mounted control subsystem with a corresponding security level is deployed in multiple virtual security partitions of each controller, including:
[0010] Determine a first vehicle-mounted control subsystem with a safety level of SIL4 from the vehicle-mounted control subsystems, and deploy the first vehicle-mounted control subsystem in multiple SIL4 virtual safety partitions of each controller;
[0011] Determine a second vehicle-mounted control subsystem with a safety level of SIL2 from the vehicle-mounted control subsystems, and deploy the second vehicle-mounted control subsystem in a SIL2 virtual safety partition of each controller;
[0012] A third vehicle-mounted control subsystem with a safety level of SIL0 is determined from the vehicle-mounted control subsystems, and the third vehicle-mounted control subsystem is deployed in a virtual safety partition of SIL0 of each controller.
[0013] According to a virtualized vehicle system construction method provided by the present invention, the safety isolation between multiple virtual safety partitions is SIL4 time isolation and SIL4 space isolation.
[0014] According to a method for constructing a virtualized vehicle system provided by the present invention, the operating system of the virtual safety partition of SIL4 is the real-time operating system QNX with a microkernel architecture, and the operating systems of the virtual safety partition of SIL2 and the virtual safety partition of SIL0 are the operating system LINUX.
[0015] According to a virtualized vehicle-mounted system construction method provided by the present invention, the vehicle-mounted control subsystem includes one or more of a train automatic protection system, a train operation protection system, a train control monitoring system, a traction system, a braking system, a fire alarm system, and an air-conditioning system.
[0016] The present invention also provides a virtualized vehicle-mounted system construction device, comprising:
[0017] a partition module, for partitioning resources of all controllers in the vehicle software platform based on a virtualized operating system to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure;
[0018] A deployment module is used to determine the security level of multiple virtual security partitions in each controller based on the security level of each vehicle control subsystem in the vehicle software platform, and deploy vehicle control subsystems of corresponding security levels in the multiple virtual security partitions of each controller.
[0019] 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 computer program, it implements any of the above-described methods for constructing a virtualized vehicle system.
[0020] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for constructing a virtualized vehicle system as described in any one of the above is implemented.
[0021] The present invention also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the method for constructing a virtualized vehicle system as described above is implemented.
[0022] The virtualized vehicle system construction method and device provided by the present invention divides the resources of all controllers separately through the virtualized operating system to obtain multiple virtual security partitions of each controller, realizes the time and space isolation between each partition, provides an independent operating environment for each vehicle control subsystem, and improves the operating safety of each vehicle control subsystem. At the same time, based on the deployment method of virtual security partitions, hardware boards are reused without security level application software, which can effectively reduce the space of vehicle electronic equipment, reduce the cost of the vehicle's entire life cycle, and improve resource utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly described below. 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.
[0024] Figure 1 It is a flowchart of the method for constructing a virtualized vehicle-mounted system provided by the present invention;
[0025] Figure 2 It is a schematic diagram of the architecture of the vehicle-mounted software platform provided by the present invention;
[0026] Figure 3 It is a schematic diagram of the virtual security partition deployment architecture provided by the present invention;
[0027] Figure 4It is a schematic diagram of the deployment architecture of different security levels provided by the present invention;
[0028] Figure 5 It is a structural schematic diagram of a virtualized vehicle-mounted system construction device provided by the present invention;
[0029] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0030] 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.
[0031] The present invention proposes a method for constructing a virtualized vehicle-mounted system. Figure 1 This is a flow chart of the method for constructing a virtualized vehicle-mounted system provided by the present invention. Figure 1 The method for constructing a virtualized vehicle-mounted system provided by the present invention may include:
[0032] Step 110: Based on the virtualized operating system, resources of all controllers in the vehicle software platform are divided respectively to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure;
[0033] Step 120, based on the security level of each vehicle control subsystem in the vehicle software platform, determine the security level of the multiple virtual security partitions, and deploy each vehicle control subsystem in a virtual security partition of the corresponding security level.
[0034] The execution subject of the virtualized vehicle system construction method provided by the present invention can be an electronic device, a component in an electronic device, an integrated circuit, or a chip. The electronic device can be a non-mobile electronic device. Exemplarily, the non-mobile electronic device can be a 3U board, an industrial computer, a server, a network attached storage (NAS) or a personal computer (PC), etc., which is not specifically limited by the present invention.
[0035] The following takes the method for constructing a virtualized vehicle-mounted system provided by the present invention executed by a computer as an example to describe the technical solution of the present invention in detail.
[0036] In step 110, based on the virtualized operating system, the resources of all controllers in the vehicle software platform are divided separately to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, and the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller constitute a two-out-of-two structure, and the third controller and the fourth controller constitute a two-out-of-two structure.
[0037] The on-board software platform is a platform for deploying the on-board controller subsystem of the train, which includes the ATP system, ATO system, TCMS system, traction system, braking system, fire alarm system, air conditioning system, etc.
[0038] The vehicle software platform includes four controllers, namely a first controller, a second controller, a third controller and a fourth controller. The four controllers may be constructed by a multi-core CPU. For example, for a quad-core CPU, each core serves as a controller.
[0039] Based on the virtualized operating system, the resources of each controller are divided to obtain multiple virtual security partitions of each controller. The virtual security partitions constructed by each of the four controllers are the same. The constructed virtual security partitions are used to deploy the on-board control subsystem of the train.
[0040] Specifically, partitioning the resources of the controller based on the virtualized operating system can be understood as partitioning a physical controller resource into multiple virtual partition resources.
[0041] The vehicle software platform includes a first system and a second system. The specific structure can be as follows Figure 2 As shown in the schematic diagram of the architecture of the vehicle software platform provided by the present invention, the first system includes a first controller and a second controller, and the second system includes a third controller and a fourth controller. The first controller and the second controller form a two-out-of-two structure. The third controller and the fourth controller form a two-out-of-two structure. The first system and the second system are mutually active and standby.
[0042] The two-by-two-take-two structure of the first system and the second system built by the vehicle software platform is a redundant structure. Each system contains two controllers, and the final output result is determined based on the output results of the two controllers. The first system and the second system form a hot standby
[0043] In a hot standby solution between two systems, the primary system and the backup system run simultaneously and maintain synchronization. The primary system is responsible for real-time data processing and control tasks, while the backup system is on standby and synchronizes data with the primary system to ensure data consistency.
[0044] When the primary system fails or fails, the backup system immediately takes over the primary system's functions and begins performing the same tasks. This switchover process is usually automatic, triggered by detecting a failure in the primary system or other detected error conditions.
[0045] In the hot standby solution, the system switching time is very short and can be completed in a few hundred milliseconds or less. This means that users can hardly feel the interruption of the system, thus ensuring the continuity and reliability of critical tasks.
[0046] In step 120, based on the security level of each vehicle control subsystem in the vehicle software platform, the security level of multiple virtual security partitions in each controller is determined, and vehicle control subsystems of corresponding security levels are deployed in the multiple virtual security partitions of each controller.
[0047] The vehicle software platform contains multiple vehicle control subsystems, including ATP system, ATO system, TCMS system, traction system, braking system, fire alarm system, air conditioning system, etc.
[0048] It is understandable that different vehicle control subsystems have different safety levels. For example, the safety level of the ATP system is SIL4, and the safety level of the ATO system is SIL2.
[0049] The safety levels of various vehicle control subsystems generally include SIL4, SIL2 and SIL0.
[0050] Among them, SIL (Safety Integrity Level) is a standard for evaluating the reliability of safety systems, and is commonly used in industrial control systems, railway signal systems and other fields. The SIL standard divides systems into different safety integrity levels based on the severity of the risk and the acceptable probability of occurrence. SIL4, SIL2 and SIL0 are the three levels in the SIL standard, and their specific meanings are as follows:
[0051] SIL4: Safety Integrity Level 4, is the highest level of safety integrity level. For SIL4 level systems, the design and implementation requirements are very strict, and multiple measures need to be taken to ensure the reliability and safety of the system.
[0052] SIL2: Safety Integrity Level 2, is a medium-level safety integrity level. SIL2 level systems need to meet higher reliability and safety requirements, but the requirements are relatively lower than those of SIL4 level.
[0053] SIL0: Safety Integrity Level 0, is the lowest level of safety integrity level. A SIL0 level system means that no safety integrity assessment and measures have been performed, and its reliability and safety have not been verified.
[0054] Determine the security levels of multiple virtual security partitions in the controller, that is, deploy vehicle control subsystems with different security levels in virtual security partitions with different security levels. The architecture diagram after deployment can be as follows: Figure 3 The virtual security partition deployment architecture provided by the present invention is shown in the schematic diagram.
[0055] Specifically, a vehicle control subsystem is deployed in each of the first controller, the second controller, the third controller and the fourth controller. For each controller, a vehicle control subsystem with a corresponding security level is deployed in multiple virtual security partitions of the controller.
[0056] The virtualized vehicle system construction method provided by the embodiment of the present invention divides the resources of all controllers separately through the virtualized operating system to obtain multiple virtual security partitions of each controller, realizes the time and space isolation between each partition, provides an independent operating environment for each vehicle control subsystem, and improves the operating safety of each vehicle control subsystem. At the same time, based on the deployment method of virtual security partitions, hardware boards are reused without security level application software, which can effectively reduce the space of vehicle electronic equipment and reduce the cost of the vehicle throughout its life cycle.
[0057] In one embodiment, the safety level of each vehicle control subsystem includes safety level SIL4, safety level SIL2 and safety level SIL0.
[0058] Different vehicle control subsystems have different safety levels. For example, the safety level of the ATP system is SIL4, and the safety level of the ATO system is SIL2.
[0059] The safety levels of various vehicle control subsystems generally include SIL4, SIL2 and SIL0.
[0060] Specifically, SIL is a standard for evaluating the reliability of safety systems, commonly used in industrial control systems, railway signal systems and other fields. The SIL standard divides systems into different safety integrity levels based on the severity of the risk and the acceptable probability of occurrence. SIL4, SIL2 and SIL0 are the three levels in the SIL standard, and their specific meanings are as follows:
[0061] SIL4: Safety Integrity Level 4, is the highest level of safety integrity level. For SIL4 level systems, the design and implementation requirements are very strict, and multiple measures need to be taken to ensure the reliability and safety of the system.
[0062] SIL2: Safety Integrity Level 2, is a medium-level safety integrity level. SIL2 level systems need to meet higher reliability and safety requirements, but the requirements are relatively lower than those of SIL4 level.
[0063] SIL0: Safety Integrity Level 0, is the lowest level of safety integrity level. A SIL0 level system means that no safety integrity assessment and measures have been performed, and its reliability and safety have not been verified.
[0064] In one embodiment, vehicle control subsystems of corresponding safety levels are respectively deployed in multiple virtual safety partitions of each controller, including: determining a first vehicle control subsystem with a safety level of SIL4 from each vehicle control subsystem, and deploying the first vehicle control subsystem in multiple SIL4 virtual safety partitions of each controller; determining a second vehicle control subsystem with a safety level of SIL2 from each vehicle control subsystem, and deploying the second vehicle control subsystem in a SIL2 virtual safety partition of each controller; determining a third vehicle control subsystem with a safety level of SIL0 from each vehicle control subsystem, and deploying the third vehicle control subsystem in a SIL0 virtual safety partition of each controller.
[0065] From the various vehicle control subsystems, determine the first vehicle control subsystem with a safety level of SIL4. The SIL4 level has the highest safety requirements and requires the use of an extremely reliable operating system and architecture.
[0066] The specific deployment architecture diagram can be as follows Figure 4 The deployment framework of different security levels provided by the present invention is shown in the schematic diagram.
[0067] Deploying the first vehicle control subsystem in multiple SIL4 virtual safety partitions of each controller can improve the reliability and fault tolerance of the system. By distributing the subsystems in multiple virtual safety partitions, even if one partition fails, the other partitions can still operate normally, thus ensuring the stability and safety of the entire system.
[0068] From each vehicle control subsystem, determine the second vehicle control subsystem with a safety level of SIL2. SIL2 level requirements are lower, and the reliability and real-time requirements for the operating system are slightly lower than SIL4. In this case, you can choose to use the Linux operating system. Deploying the second vehicle control subsystem in a SIL2 virtual safety partition of each controller can meet the safety requirements.
[0069] From each vehicle-mounted control subsystem, determine the third vehicle-mounted control subsystem with a safety level of SIL0. SIL0 level requirements are relatively low and have fewer safety requirements. Therefore, the third vehicle-mounted control subsystem can be deployed in a virtual safety partition of SIL0 of each controller.
[0070] The virtualized vehicle system construction method provided by the embodiment of the present invention can meet the safety performance requirements of the vehicle control subsystem by selecting appropriate operating systems and virtual security partition configurations at different security levels, thereby ensuring the stability and security of the entire system.
[0071] In one embodiment, the safety isolation between the multiple virtual safety partitions is SIL4 time isolation and SIL4 space isolation.
[0072] After constructing multiple virtual safety partitions in the controller, safety isolation is constructed between the partitions. The safety isolation between the safety partitions is constructed as SIL4 time isolation and SIL4 space isolation.
[0073] It can be understood that each partition achieves SIL4 level time and space isolation, providing an independent operating environment for each application software.
[0074] SIL4-level time and space isolation means that the operation and data of each partition are completely independent, and a fault or attack in one partition will not affect other partitions. This can effectively prevent the spread of faults or attacks and improve the security of the system.
[0075] Since each partition is independent, when a partition fails, other partitions can still operate normally. This improved fault tolerance can ensure the continuity of critical tasks and reduce the risk of system downtime and data loss.
[0076] By implementing an independent operating environment, each application can run in its own partition, and the failure of any application will not affect other applications. This makes it easier to locate and solve faults, reducing the time and cost of maintenance and repair.
[0077] Each partition can be configured and optimized according to its specific needs to provide the best performance. This means that different applications can be allocated resources independently, avoiding resource contention and performance degradation.
[0078] The virtualized vehicle system construction method provided by the embodiment of the present invention can provide advantages such as higher security, fault tolerance, fault isolation capability, performance optimization, and simplified management by achieving SIL4 level time and space isolation between each partition and providing an independent operating environment for each application software.
[0079] In one embodiment, the operating system of the virtual safety partition of SIL4 is a real-time operating system QNX of a microkernel architecture, and the operating systems of the virtual safety partition of SIL2 and the virtual safety partition of SIL0 are operating systems LINUX.
[0080] For the SIL4 virtual safety partition, the QNX operating system is used. The QNX operating system is well-known for its high stability, reliability and real-time performance, and is suitable for application scenarios with very high requirements for response time and predictability. The microkernel architecture enables the QNX operating system to decompose the operating system kernel into small functional modules, each of which runs in an independent protection mode process, thereby improving the stability and reliability of the system. This design concept is consistent with the safety requirements of the SIL4 level and can meet higher safety performance requirements.
[0081] For virtual safety partitions of SIL2 and SIL0, use the Linux operating system. The Linux operating system is open source, stable, secure, and flexible. It can run on different hardware platforms and has mature security mechanisms and permission management. The Linux operating system can provide a stable and reliable operating environment in scenarios with relatively low security performance requirements.
[0082] The virtualized vehicle-mounted system construction method provided by the embodiment of the present invention realizes flexible configuration of the vehicle-mounted control subsystem by deploying different operating systems in virtual security partitions at different security levels.
[0083] In one embodiment, the on-board control subsystem includes one or more of a train automatic protection system, a train operation protection system, a train control monitoring system, a traction system, a braking system, a fire alarm system, and an air conditioning system.
[0084] The on-board control subsystem usually includes the automatic train protection system (ATP), the train operation protection system (ATO), the train control monitoring system (TCMS), the traction system, the braking system, the fire alarm system and the air conditioning system.
[0085] These systems together constitute the important functions of modern trains and play a key role in ensuring train safety, improving operating efficiency and riding comfort. The design and integration of each subsystem needs to take into account the performance, safety and reliability of the train, as well as the comfort and convenience of passengers.
[0086] Figure 5 The structural diagram of the virtualized vehicle-mounted system construction device provided by the present invention is as follows: Figure 5 The device comprises:
[0087] A partition module 510 is used to partition the resources of all controllers in the vehicle software platform based on a virtualized operating system to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure;
[0088] The deployment module 520 is used to determine the security level of multiple virtual security partitions in each controller based on the security level of each vehicle control subsystem in the vehicle software platform, and deploy vehicle control subsystems of corresponding security levels in the multiple virtual security partitions of each controller.
[0089] The virtualized vehicle system construction device provided by the embodiment of the present invention divides the resources of all controllers separately through the virtualized operating system to obtain multiple virtual security partitions of each controller, realizes the time and space isolation between each partition, provides an independent operating environment for each vehicle control subsystem, and improves the operating safety of each vehicle control subsystem. At the same time, based on the deployment method of virtual security partitions, hardware boards are reused without security level application software, which can effectively reduce the space of vehicle electronic equipment, reduce the cost of the vehicle's entire life cycle, and improve resource utilization.
[0090] In one embodiment, the deployment module 520 is specifically configured to:
[0091] The safety level of each vehicle control subsystem is determined to include safety level SIL4, safety level SIL2 and safety level SIL0.
[0092] In one embodiment, the deployment module 520 is further specifically configured to:
[0093] Deploy vehicle control subsystems of corresponding security levels in multiple virtual security partitions of each controller, including:
[0094] Determine a first vehicle-mounted control subsystem with a safety level of SIL4 from the vehicle-mounted control subsystems, and deploy the first vehicle-mounted control subsystem in multiple SIL4 virtual safety partitions of each controller;
[0095] Determine a second vehicle-mounted control subsystem with a safety level of SIL2 from the vehicle-mounted control subsystems, and deploy the second vehicle-mounted control subsystem in a SIL2 virtual safety partition of each controller;
[0096] A third vehicle-mounted control subsystem with a safety level of SIL0 is determined from the vehicle-mounted control subsystems, and the third vehicle-mounted control subsystem is deployed in a virtual safety partition of SIL0 of each controller.
[0097] In one embodiment, the deployment module 520 is further specifically configured to:
[0098] The safety isolation between multiple virtual safety partitions is determined to be SIL4 time isolation and SIL4 space isolation.
[0099] In one embodiment, the deployment module 520 is further specifically configured to:
[0100] Determine that the operating system of the virtual safety partition of SIL4 is the real-time operating system QNX of the microkernel architecture, and the operating systems of the virtual safety partition of SIL2 and the virtual safety partition of SIL0 are the operating system LINUX
[0101] In one embodiment, the deployment module 520 is further specifically configured to:
[0102] Determine that the on-board control subsystem includes one or more of a train automatic protection system, a train operation protection system, a train control monitoring system, a traction system, a braking system, a fire alarm system, and an air conditioning system.
[0103] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the virtualized vehicle system construction method, which includes:
[0104] Based on a virtualized operating system, resources of all controllers in the vehicle software platform are divided respectively to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure;
[0105] Based on the security level of each vehicle control subsystem in the vehicle software platform, the security level of multiple virtual security partitions in each controller is determined, and vehicle control subsystems of corresponding security levels are deployed in the multiple virtual security partitions of each controller.
[0106] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is 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, and the computer software product is stored in a storage medium, including a number of 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 and other media that can store program codes.
[0107] On the other hand, the present invention further provides 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, and when the program instructions are executed by a computer, the computer can execute the virtualized vehicle system construction method provided by the above methods, the method comprising:
[0108] Based on a virtualized operating system, resources of all controllers in the vehicle software platform are divided respectively to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure;
[0109] Based on the security level of each vehicle control subsystem in the vehicle software platform, the security level of multiple virtual security partitions in each controller is determined, and vehicle control subsystems of corresponding security levels are deployed in the multiple virtual security partitions of each controller.
[0110] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for constructing a virtualized vehicle system provided above is implemented, and the method includes:
[0111] Based on a virtualized operating system, resources of all controllers in the vehicle software platform are divided respectively to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure;
[0112] Based on the security level of each vehicle control subsystem in the vehicle software platform, the security level of multiple virtual security partitions in each controller is determined, and vehicle control subsystems of corresponding security levels are deployed in the multiple virtual security partitions of each controller.
[0113] 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 on multiple 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 paying creative labor.
[0114] 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.
[0115] 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 method for constructing a virtualized vehicle system, characterized in that: The method comprises: Based on a virtualized operating system, resources of all controllers in the vehicle software platform are divided respectively to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure; Based on the security level of each vehicle control subsystem in the vehicle software platform, the security level of multiple virtual security partitions in each controller is determined, and vehicle control subsystems of corresponding security levels are deployed in the multiple virtual security partitions of each controller.
2. The method for constructing a virtualized vehicle system according to claim 1, characterized in that: The safety level of each vehicle-mounted control subsystem includes safety level SIL4, safety level SIL2 and safety level SIL0.
3. The method for constructing a virtualized vehicle system according to claim 2, characterized in that: The vehicle control subsystems of corresponding security levels are respectively deployed in the multiple virtual security partitions of each controller, including: Determine a first vehicle-mounted control subsystem with a safety level of SIL4 from the vehicle-mounted control subsystems, and deploy the first vehicle-mounted control subsystem in multiple SIL4 virtual safety partitions of each controller; Determine a second vehicle-mounted control subsystem with a safety level of SIL2 from the vehicle-mounted control subsystems, and deploy the second vehicle-mounted control subsystem in a SIL2 virtual safety partition of each controller; A third vehicle-mounted control subsystem with a safety level of SIL0 is determined from the vehicle-mounted control subsystems, and the third vehicle-mounted control subsystem is deployed in a virtual safety partition of SIL0 of each controller.
4. The method for constructing a virtualized vehicle system according to claim 2, characterized in that: The safety isolation between the multiple virtual safety partitions is SIL4 time isolation and SIL4 space isolation.
5. The method for constructing a virtualized vehicle system according to claim 3, characterized in that: The operating system of the virtual safety partition of SIL4 is the real-time operating system QNX of the microkernel architecture, and the operating systems of the virtual safety partition of SIL2 and the virtual safety partition of SIL0 are the operating system LINUX.
6. The method for constructing a virtualized vehicle-mounted system according to any one of claims 1 to 5, characterized in that: The on-board control subsystem includes one or more of a train automatic protection system, a train operation protection system, a train control monitoring system, a traction system, a braking system, a fire alarm system, and an air conditioning system.
7. A virtualized vehicle system construction device, characterized in that: include: a partition module, for partitioning resources of all controllers in the vehicle software platform based on a virtualized operating system to obtain multiple virtual security partitions of each controller, wherein all controllers include a first controller, a second controller, a third controller and a fourth controller, the vehicle software platform includes a first system and a second system, the first system includes a first controller and a second controller, the second system includes a third controller and a fourth controller, the first system and the second system are mutually active and standby, the first controller and the second controller form a two-out-of-two structure, and the third controller and the fourth controller form a two-out-of-two structure; A deployment module is used to determine the security level of multiple virtual security partitions in each controller based on the security level of each vehicle control subsystem in the vehicle software platform, and deploy vehicle control subsystems of corresponding security levels in the multiple virtual security partitions of each controller.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for constructing a virtualized vehicle system as described in any one of claims 1 to 6 is implemented.
9. 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 method for constructing a virtualized vehicle system as claimed in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for constructing a virtualized vehicle system as claimed in any one of claims 1 to 6 is implemented.
