Cloud-native train control system based on domain-driven design, and implementation method therefor
By using a cloud-native train control system based on domain-driven design, the traditional train control system is decoupled, enabling decoupling between modules and cloud deployment. This solves the problems of severe internal coupling and lack of virtualization support in the train control system, thereby improving the availability and reliability of the system.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2026-03-12
AI Technical Summary
The existing train control system suffers from severe internal coupling between different jurisdictions of the same train control equipment, which hinders system iteration and upgrades, and the existing train control system does not support virtualization solutions.
The cloud-native train control system adopts domain-driven design and includes a communication interface service layer, application domain, domain domain and infrastructure layer. Each module is set in a virtualized container, decoupling the application logic from the underlying hardware, and supporting decoupling between modules and cloud deployment.
It reduces the coupling between modules, facilitates system upgrades and iterations, supports the effective reuse of cloud resources, improves system availability and reliability, and ensures that the impact of failures is controllable.
Smart Images

Figure CN2024131284_12032026_PF_FP_ABST
Abstract
Description
A cloud native train control system based on domain driven design and an implementation method thereof TECHNICAL FIELD
[0001] The present application relates to the technical field of rail transit, in particular to a cloud native train control system based on domain driven design and an implementation method thereof. BACKGROUND
[0002] With the rapid development of rail transit industry, the train operation control system as its core system plays the role of train command brain. At present, the train control system is an embedded architecture, and the application logic is tightly coupled with the underlying hardware, which is difficult to migrate between different underlying hardware platforms. Different functions are tightly coupled, and the system is difficult to expand. Each new line or station is built, and new physical hardware devices need to be added, which causes repeated construction of computing resources and makes it difficult to expand. The same train control device is tightly coupled within different jurisdictions, and construction in a certain area will lead to the update and upgrade of the entire device.
[0003] Cloud computing and virtualization technology are developing rapidly, which can decouple application logic and underlying hardware, facilitate train control system deployment and upgrade, and effectively reuse computing resources to reduce device investment costs. There have been many studies on train control virtualization and cloud train control. However, the current research on train control systems focuses on upgrading existing train control hardware to the cloud, and the upper application logic is not changed. There is a lack of cloud native train control system design scheme, and it does not combine domain driven design technology and does not play the real role of cloud computing. Its application mode is still a simple upgrade of the current single machine version of the train control system, and the computing resources cannot be fully reused. The coupling between modules is still tight, and it is not deeply combined with the latest virtualization technology and cloud technology. TECHNICAL PROBLEM
[0004] The purpose of the present application is to provide a cloud native train control system based on domain driven design and an implementation method thereof. It aims to solve the problems of the existing train control system, such as the tight coupling between the same train control device in different jurisdictions, the inconvenience of system iteration and upgrade, and the lack of support for virtualization scheme. TECHNICAL SOLUTION
[0005] In one aspect, the application provides a cloud native train control system based on domain driven design, comprising: a communication interface service layer; an application domain connected with the communication interface service layer, the application domain comprising: a plurality of functional modules corresponding to specific entities in the train control system, the application domain being used for preliminary logical processing in the train control system and information interaction with the communication interface service layer; a domain domain connected with the application domain, the domain domain receiving information of the application domain, according to different requests in the information of the application domain, the domain domain calculating and / or checking state information of corresponding trains, and sending the calculated and / or checked train state information to the application domain; an infrastructure layer used for intra-domain communication in the train control system and providing a virtualization container, the application domain, the domain domain and the communication interface service layer being arranged in the virtualization container.
[0006] Preferably, the application domain comprises: a train application domain comprising a plurality of application entities, each train corresponding to an application entity in the application domain, the train application domain being used for recording specific entity data of a specific train; a wayside signal application domain used for sending current line turnout, section and signal state to the domain domain, the domain domain calculating section and turnout locking state, and updating the line turnout, section and signal state according to the result returned by the domain domain. A temporary speed limit command entity application service module taking speed limit command as an entity, used for being responsible for interface function of speed limit command; an external communication interface service module connected with the communication interface service layer, sending data information of the application domain to the communication interface service layer.
[0007] Preferably, the train application domain comprises: a train registration state application service module used for being responsible for current train registration progress state of a specific train; a train running permit state entity service module used for recording authorized state of a train, and used for preliminary running permit service, and unpacking and packing of train-ground wireless message packet; a train position report entity application service module connected with the train registration state application service module and the train running permit state entity service module respectively, used for receiving train position report information and track circuit collection information, and performing information interaction with the train registration state application service module and the train running permit state entity service module respectively, and used for preliminary legality judgment of on-board position report, and unpacking and packing of train-ground wireless message packet.
[0008] Preferably, the train registration progress state comprises: judging whether the train has completed registration, and data interaction state of intermediate steps in the train registration process.
[0009] Preferably, the preliminary legality judgment on the vehicle-mounted location report comprises a relationship between the location report and a registration state and a basic legality check on fields in the location report.
[0010] Preferably, the trackside signal application domain comprises a turnout entity service module for receiving a turnout operation command and sending the turnout operation command to the communication interface service layer, a track section entity service module for collecting trackside secondary detection device states and receiving commands related to the trackside secondary detection device states in a section, a signal machine entity service module for recording signal machine positions and topological connection relationships, and a route entity service module for receiving externally transmitted route commands and route state information and sending the route commands and route state information to the domain domain and updating route command states according to a result returned by the domain domain.
[0011] Preferably, the domain domain comprises a train running permission calculation domain service module for calculating train authorization conditions according to train positions and trackside line state information obtained from entities of the application domain, obtaining authorization information of each train, and sending the authorization information of each train to the application domain, a line resource range calculation domain service module for calculating a range of line resources required by a train, a train registration domain service module for receiving train registration and deregistration message packets, checking legality of the train registration and deregistration message packets, and updating the train registration and deregistration message packets, a train position calculation domain service module for receiving information of the application domain and judging train positions according to train autonomous positioning and trackside secondary detection device states in the information of the application domain, a line resource management domain service module for judging current station yard state data transmitted by the application domain, obtaining updated station yard state data, and sending the updated station yard state data to the application domain, a temporary speed limit management domain service for circulating speed limit command states according to speed limit command information transmitted by the application domain and sending updated speed limit information to the application domain, and a maintenance diagnosis service module for receiving maintenance log data sent by other modules in the domain domain, the maintenance diagnosis service module being configured to provide general message analysis, man-machine display, and log saving.
[0012] Preferably, the domain domain further comprises a kilometer marker calculation service module for calculating a distance of a relative point in a kilometer marker distance line and an electronic map domain service module for providing electronic map data in a current region.
[0013] Preferably, any module or a combination of a plurality of modules in the application domain, the domain domain, and the communication interface service layer corresponds to a virtualization container, and the virtualization container is arranged in a cloud or a local server.
[0014] Preferably, each of the virtualization containers is implemented by two different architecture sub-containers, the two sub-containers simultaneously run the requirements of the same domain, the domain codes in the two sub-containers are designed differently, and when the results of domain calculation with the same purpose in the two sub-containers are inconsistent, a guided security side processing is performed.
[0015] Preferably, the domain communication of the train control system includes communication with an external Ethernet, CAN communication, and serial bus communication.
[0016] In another aspect, the application also provides an implementation method of a cloud native train control system based on a domain driven design, which adopts the cloud native train control system based on the domain driven design described above, and the method comprises: according to traditional train control functions, dividing and combing each module in the application domain and the domain domain to decouple the train control system.
[0017] Preferably, the method further comprises: according to business domains and / or data ranges, aggregating and organizing each module in the application domain and each module in the domain domain, and the aggregation and organization comprises: dividing each module in the application domain and each module in the domain domain according to functions to realize aggregation of a train control system temporary speed limiting server, a radio block center, and an interlocking and train control integrated device. Advantages
[0018] The cloud native train control system based on the domain driven design provided by the application decouples a traditional monolithic train control system, splits the train control system into multiple modules, reduces the coupling degree between the modules, and facilitates upgrading and iteration.
[0019] The cloud native train control system based on the domain driven design provided by the application supports the design of a subsequent cloud train control system, decouples the processing of persistent state saving from state-independent logic processing, can deploy different modules in different parts according to different characteristics, and makes the cloud edge end boundary clearer, thereby laying a foundation for further virtualization and cloud implementation of the train control system.
[0020] The cloud native train control system based on the domain driven design provided by the application is convenient for field deployment, can realize replacement and deployment of each sub-domain, can realize replacement of a certain application function without affecting the implementation of other functions, and can replace a certain regional entity without affecting the operation of other regions, so that the influence range of a fault is more controllable after the fault occurs.
[0021] The cloud native train control system based on the domain driven design provided by the application improves the overall availability and reliability of the train control system, and a single entity fault or a single service fault in the train control system does not cause the overall failure of the train control system. BRIEF DESCRIPTION OF DRAWINGS
[0022] Fig. 1 is a system architecture diagram of a cloud native train control system based on a domain driven design according to an embodiment of the present application;
[0023] Fig. 2 is a train registration flowchart of a cloud native train control system based on a domain driven design according to an embodiment of the present application;
[0024] Fig. 3 is a driving permission processing schematic diagram of a cloud native train control system based on a domain driven design according to an embodiment of the present application. Embodiments of the present application
[0025] The cloud native train control system based on a domain driven design and the implementation method thereof according to the present application will be further described in detail below in combination with Figs. 1-3 and the specific embodiments. The advantages and features of the present application will be more apparent according to the following description. It should be noted that the drawings are very simplified and all use non-precise proportions, only for the purpose of facilitating and clarifying the purpose of assisting the description of the embodiments of the present application. In order to make the purpose, features and advantages of the present application more apparent and easy to understand, please refer to the drawings. It should be noted that the structure, proportion, size, etc. shown in the drawings attached to the present specification are only used to cooperate with the content disclosed in the specification, for those skilled in the art to understand and read, and not to limit the implementation conditions of the present application, so it does not have the technical essence, any modification of the structure, change of the proportion relationship or adjustment of the size, without affecting the effect and purpose that can be achieved by the present application, should still fall within the scope of the technical content disclosed by the present application.
[0026] In view of the problems in the prior art that the same train control device in the train control system is seriously coupled within different jurisdictions, it is not convenient for the iteration and upgrading of the system, and the existing train control system does not support the virtualization scheme.
[0027] In one aspect, referring to FIG. 1, the embodiment provides a cloud native train control system based on domain-driven design, comprising: a communication interface service layer; an application domain connected with the communication interface service layer, the application domain comprising: a plurality of function modules corresponding to specific entities in the train control system, the application domain being used for preliminary logical processing in the train control system and information interaction with the communication interface service layer; a domain domain connected with the application domain, the domain domain receiving information of the application domain, according to different requests in the information of the application domain, the domain domain calculating and / or checking state information of a corresponding train, and sending the calculated and / or checked train state information to the application domain; an infrastructure layer used for intra-domain communication in the train control system and providing a virtual container, the application domain, the domain domain and the communication interface service layer being arranged in the virtual container. The intra-domain communication of the train control system comprises: communication with an external Ethernet, CAN (Controller Area Network) communication, serial bus communication.
[0028] The application domain comprises: a train application domain comprising a plurality of application entities, each train corresponding to an application entity in the application domain, the train application domain being used for recording specific entity data of a specific train, the specific entity data of the specific train comprising: train registration state, train position state (including on-board position report occupation and section occupation situation) and train authorization state corresponding to a specific train. The unique identifier of the specific entity data of the specific train is the unique ID number of the train.
[0029] The train application domain comprises: a train registration state application service module, a train position report entity application service module and a train MA (Movement Authority) state entity service module.
[0030] The train registration state application service module is used for being responsible for current train registration progress state of a specific train, the train registration progress state comprising: judging whether the train has completed registration, and data interaction state of intermediate steps in the train registration process. In order to prevent anemia problem in DDD (Domain-Driven Design), the train registration state application service module has simple registration message packet inspection and reply functions.
[0031] The train MA state entity service module is used for recording authorization state of the train, and is used for preliminary train authorization service, and unpacking and packing of train-ground wireless message packets.
[0032] Train position reporting entity application service module, which is connected with the train registration state application service module and the train running permission state entity service module respectively, is used for receiving train position reporting information, receiving track circuit collection information, and interacting with the train registration state application service module and the train running permission state entity service module respectively, and is also used for performing preliminary legality judgment on the on-board position report and unpacking and packing of the train-ground wireless message packet, wherein the preliminary legality judgment on the on-board position report includes the relationship between the position report and the registration state and basic legality check on the fields in the position report.
[0033] Trackside signal application domain, which is used for sending current line route turnout, section and signal state to the field domain, calculating the locking state of the section and the turnout by the field domain, and updating the line route turnout, section and signal state according to the returned result of the field domain, comprises a turnout entity service module, a track section entity service module, a signal entity service module and a route entity service module. The trackside signal application domain comprises inherent attributes and current state of a specific trackside signal device.
[0034] The turnout entity service module comprises inherent attributes such as turnout speed limit and topological connection relationship; fixed and reverse position state, locking state and locking state; protection and related turnout state. The turnout entity service module is used for receiving a turnout operation command, receiving the turnout operation command from the communication interface service layer, and sending the turnout operation command to the communication interface service layer (which can support a hard electrical interface and an OC-based communication interface). The state of the turnout can be changed according to a single command of the turnout. At the same time, the turnout entity service module has a preliminary logical judgment capability: when the local state is in the resource allocation state, it will not be allocated to other devices again; it will not accept contradictory operations such as simultaneous directional manipulation and reverse manipulation.
[0035] The track section entity service module comprises inherent attribute information such as section slope, speed limit and station topography; occupancy and clearing state; locking state, locking state and direction information. The track section entity service module is used for collecting the state of the trackside secondary detection device (track circuit, axle counter) and receiving the command related to the state of the trackside secondary detection device in the section. The track section entity service module has a section allocation conflict processing capability and a section single entity operation command processing capability.
[0036] The signal entity service module is used for recording the position of the signal and the topological connection relationship. The signal state comprises information such as closed, off-lamp and signal state. The signal entity service module has an edge processing capability of guiding to the safe side according to the conflict of the filament collection information. The signal entity service module has a signal collection driving code bit and signal display color corresponding capability.
[0037] The route entity service module includes: the relationship between the route and the signal, the section, and the turnout; the current state of the route; and the route-related command. The route entity service module is configured to receive externally transmitted route commands and route state information, and transmit the route commands and route state information to the domain, update the route command state according to the result returned by the domain, and specifically: receive route commands and state information from the outside, transmit the route commands and state information to the line resource management domain service, and update the route command state according to the result of the domain.
[0038] The temporary speed limit command entity application service module takes the speed limit command as an entity, and includes: information of the temporary speed limit command itself (including position, time, command number, and the like); current state information of the temporary speed limit command; and temporary speed limit initialization command information. The temporary speed limit command entity application service module is configured to be responsible for the interface function of the speed limit command, the communication interface service layer receives dispatching commands from a dispatching device and command execution results from the application domain, transmits the latest speed limit information to the speed limit command service in the domain, and obtains the latest state from the domain.
[0039] The external communication interface service module is connected with the communication interface service layer, transmits data information of the application domain to the communication interface service layer, interacts data with a network communication module, a serial port communication module, and the like, and provides a hardware access interface. The external communication interface service module provides subset037, RSSP1, RSSP2, and the like, railway signal safety communication protocol services, and establishes corresponding link entities. According to the link state, the external communication interface service module triggers related events such as connection establishment and connection interruption. According to input information, the external communication interface service module finds an application entity in the application domain, and forwards a message to the corresponding entity. The external communication interface service module receives corresponding messages from the entity of the application domain, and forwards the messages to the corresponding communication module. When forwarding, the external communication interface service module can forward the messages to the subscribed entities through a subscription mechanism. The external communication interface service module receives data transmitted to an external system from the related entities. For safety communication protocols, RSSP-II, RSSP-I, subset037, and the like can be designed into the application domain, one link channel corresponds to one entity, and when a general domain is needed, such as a general national encryption service, the related encryption service can be deployed in the domain.
[0040] The work to be performed by the application domain includes: (a) sending data required by the entity to the domain domain, requesting services of the domain domain, receiving service feedback from the "domain domain", and updating local entity data; (b) maintaining the local entity state, performing time validity maintenance of the entity state, and triggering relevant safety side operations when the entity data does not meet the requirements, the safety side operations including interrupting the connection with the vehicle-mounted device, triggering UEM (unconditional emergency stop message), closing the signal, etc. Periodically check the entity data, and perform safety side processing when the legality and validity are found to be problematic. (c) event management, including updating the position of the train, updating the running state of the train, external commands (dispatching commands (UEM commands, disaster area commands, section confirmation commands, etc.), train-issued shielding door applications, etc.), changes in trackside signal entity state, etc. According to the event and the latest message, processing is performed when the domain needs to participate, the corresponding domain service is found, and the corresponding service is requested from the "domain domain", and the new entity information and event are published to the outside according to the feedback result. (d) external interface processing. Interact with the corresponding communication interface service layer. Subscribe to relevant messages to the communication interface service layer to obtain external messages, and send application layer data to the communication interface service layer. The communication interface service layer is responsible for the processing of RSSP1, RSSP2, FSFB2, etc. safety communication protocol, including safety check and underlying TCP / IP, serial port processing.
[0041] The domain domain includes: a train operation permission calculation domain service module, which calculates the train authorization according to the train position and trackside line state information obtained from the entity of the application domain, obtains the authorization information of each train, and sends the authorization information of each train to the application domain. A line resource range calculation domain service module for calculating the range of line resources required by a train, and the train entity in the train application domain can provide line attribute information to the train according to the range. The calculation service in the line resource range calculation domain service module can be divided into continuous calculation service and point range calculation service based on transponder.
[0042] A train registration domain service module for receiving train registration and deregistration message packets, verifying the legality of the train registration and deregistration message packets, and updating the train registration and deregistration message packets. In other embodiments, considering that the train registration process is relatively simple and the demand changes little, this service module can also be deployed in the application domain, and each train entity can complete it by itself. When the registration function is simple in the scene, the registration service can be implemented by the train registration state application service module. The registration process is relatively simple, so according to the actual line configuration needs, when the line is relatively simple, the train registration domain service module can be flexibly combined with the train registration state application service module in the application domain.
[0043] Train position calculation field service module, which is used to receive information of the application domain, and determine the train position according to the train autonomous positioning and the status of trackside secondary detection equipment in the information of the application domain. The train comprehensive position is determined according to the train autonomous position report, the area where the train may exist is determined, and the result is returned to the application entity. The train screening function can be realized to determine whether there is other train at the head or tail of the train. The occupation check is performed to check the occupation of the section by the CEM (Centralized Electronic Module), 3-point or 2-point check, etc., to determine whether the train position has been in a certain track section.
[0044] Line resource management field service module, which is used to determine the current station yard state data transmitted by the application domain, obtain updated station yard state data, and send the updated station yard state data to the application domain, wherein the station yard state data includes: switch, section locking information, signal state information, and switch and signal driving information.
[0045] Temporary speed limit management field service, according to the speed limit command information transmitted by the application domain, the speed limit command state is transferred, and the updated speed limit information is sent to the application domain, the speed limit command state includes: illegal state identification, further promotion of legal state, state summary, etc.
[0046] Maintenance diagnosis service module, which is used to receive maintenance log data (input / output interface data, internal running log data, etc.) sent by other modules in the field domain, the maintenance diagnosis service module is used to provide general message analysis, man-machine display and log saving.
[0047] Kilometer marker calculation service module, which is used to calculate the distance of a relative point in a kilometer marker distance line, the input is the kilometer marker value, and the output is the distance. The kilometer marker calculation service module can be provided to each domain including the field domain.
[0048] Electronic map field service module, which is used to provide electronic map data in the current area, the electronic map field service module can split the overall running line and station yard into several sub-areas, and each sub-area provides a field service to the outside.
[0049] Any module or combination of several modules in the application domain, the domain domain and the communication interface service layer corresponds to a virtualization container, which is set in the cloud or local server. Each virtualization container is implemented by two different architecture sub-containers, which simultaneously run the requirements of the same domain, and the domain code in the two sub-containers is designed differently. When the results of domain computing with the same purpose in the two sub-containers are inconsistent, the safe side processing is performed.
[0050] In another aspect, the embodiment also provides an implementation method of a cloud native train control system based on domain driven design, which adopts the cloud native train control system based on domain driven design described above. The method comprises: according to the traditional train control function, dividing and combing each module in the application domain and the domain domain to decouple the train control system. According to the business domain and / or data range, each module in the application domain and each module in the domain domain are aggregated and organized, which includes: dividing each module in the application domain and each module in the domain domain according to the function, and realizing the aggregation of the train control system temporary speed limiting server, the wireless block center and the integrated device of interlocking and train control.
[0051] The above technical solutions are further introduced below with specific application examples:
[0052] Referring to FIG. 2, the train equipment initiates the communication connection of subset037, the local communication interface service layer processes the subset037 connection, and generates a corresponding entity to maintain the link. After the link is established, the link establishment event is triggered. The train registration entity in the train application domain receives the event that a certain train link has been connected, and then further prepares the registration process. The registration process is initiated by the on-board equipment, and the local RBC completes the registration process according to the protocol, updates the registration state of the on-board registration entity, and publishes the registration state. In FIG. 3, the state change event can be used by other services.
[0053] Referring to FIG. 3, the train regularly reports the on-board location report, and the location report is forwarded to the train location entity (train location report entity application service module) subscribed to the message via the communication interface service layer. The secondary detection device collects track occupancy state information, acquires the information via the collection driving service of the communication interface service layer, and sends the message to the track section entity subscribed to the message. The track section entity publishes the section state after preprocessing the collection information (forgiving light vehicle bounce, etc.). In this example, the route entity and the train location entity both subscribe to the section state information and both receive the information from the infrastructure layer. The route entity performs route calculation according to the latest state of the section and turnout, and updates and publishes the route state. The train location entity and the MA entity (train MA state entity service module) both subscribe to the route state and can obtain the state. After obtaining the route, section state, train location report, etc., the train location entity forwards the information to the train location calculation field service module, integrates various information, calculates the actual position of the train, maps it to the coordinate system in the system, and returns the result to the train location entity. After detecting the registered state of a certain train, the MA entity starts to act, listens to the relevant service state of the train location entity, route entity (route entity service module), etc. (Note that this embodiment takes the calculation of the MA core content as an example, and other non-core content, such as temporary speed limit retransmission timeout, can be derived from this specific implementation and will not be described again). The MA entity sends the position and route state to the MA field service, obtains the latest MA information from the field service, forms an MA message package that meets the train-ground protocol according to the information, sends it to the external communication interface service module via the internal message queue, and the external communication interface service module packages the information into the subset037 network protocol format and further forwards it to the on-board device. The train drives according to the MA information. Considering that any operation will use line electronic map data, this function is the most basic service and is therefore ignored in FIG. 3.
[0054] In summary, the cloud native train control system based on field driven design and the implementation method thereof are proposed, the traditional monolithic train control system is decoupled and split into a multi-module train control system, so that the coupling degree between modules is reduced, and upgrading and iteration are facilitated; the design of the subsequent cloud train control system is supported, the processing of the persistent state saving is decoupled from the state-independent logic processing, different modules can be deployed in different parts according to different characteristics, the cloud edge end boundary is clearer, and the foundation is laid for further virtualization and cloud implementation of the train control system; field deployment is facilitated, individual sub-domain replacement deployment can be implemented, a certain application function can be replaced individually without affecting the implementation of other functions, and a certain regional entity can be replaced individually without affecting the operation of other regions; the overall availability and reliability of the train control system are provided. A single entity failure or a single service failure will not cause the overall failure of the train control system.
[0055] It is to be noted that the terms such as first and second, etc. are used herein merely to differentiate one entity or action from another, and do not necessarily require or imply any such actual relationship or order between such entities or actions. Also, the terms "including", "containing" or any other similar words are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements does not necessarily include only those elements in the list, but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element specified by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0056] It should be noted that the apparatus and method disclosed in the embodiments herein can also be implemented in other ways. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the accompanying drawings show possible implementation architectures, functions and operations of the apparatus, method and computer program product according to the embodiments herein. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a portion of code that comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that shown in the figures. For example, two consecutive blocks can actually be executed substantially in parallel, and they can also be executed in reverse order, depending on the involved functions. It should also be noted that each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0057] In addition, each functional module in the embodiments herein can be integrated together to form a separate part, or each module can exist independently, or two or more modules can be integrated to form a separate part.
[0058] Although the present application has been described in detail by the above preferred embodiments, it should be recognized that the above description is not to be considered as limiting the application. Various modifications and alterations will occur to those skilled in the art upon reading the above description. Therefore, it is intended that the application be construed as including all such modifications and alterations as fall within the scope of the appended claims.
Claims
1. A cloud native train control system based on domain driven design, characterized in that, Comprise: a communication interface service layer; an application domain connected with the communication interface service layer, the application domain comprising: functional modules corresponding to specific entities in a train control system, the application domain being used for preliminary logical processing in the train control system and information interaction with the communication interface service layer; a domain domain connected with the application domain, the domain domain receiving information of the application domain, according to different requests in the information of the application domain, the domain domain calculating and / or checking state information of corresponding trains or station yard state data, and sending the calculated and / or checked train state information or station yard state data to the application domain; an infrastructure layer used for intra-domain communication in the train control system and providing a virtualization container, the application domain, the domain domain and the communication interface service layer being arranged in the virtualization container.
2. The domain-driven design based cloud native train control system according to claim 1, wherein, The application domain comprises: a train application domain comprising a plurality of application entities, each train corresponding to an application entity in the application domain, the train application domain being used for recording specific entity data of a specific train; a trackside signal application domain used for sending current line switch, section and signal state to the domain domain, the domain domain calculating section and switch locking state, and updating the line switch, section and signal state according to the returned result of the domain domain, a temporary speed limit command entity application service module taking speed limit command as an entity, used for being responsible for the interface function of speed limit command; an external communication interface service module connected with the communication interface service layer, used for sending data information of the application domain to the communication interface service layer.
3. The domain-driven design based cloud native train control system of claim 2, wherein, The train application domain comprises: a train registration state application service module used for being responsible for the current train registration progress state of a specific train; a train running permit state entity service module used for recording the authorized state of a train, and used for preliminary running permit service, and unpacking and packing of train-ground wireless message packets; a train position report entity application service module connected with the train registration state application service module and the train running permit state entity service module respectively, used for receiving train position report information and track circuit collection information, and performing information interaction with the train registration state application service module and the train running permit state entity service module respectively, and used for performing preliminary legality judgment on the on-board position report, and unpacking and packing of train-ground wireless message packets.
4. The domain-driven design based cloud native train control system of claim 3, wherein, The train registration progress state comprises: judging whether the train has completed registration, and data interaction state of intermediate steps in the train registration process.
5. The domain-driven design based cloud native train control system of claim 3, wherein, The preliminary legality judgment on the on-board position report comprises: relationship between the position report and the registration state, and basic legality check of fields in the position report.
6. The domain-driven design based cloud native train control system of claim 2, wherein, The trackside signal application domain comprises: a switch entity service module used for receiving switch operation commands, and sending the switch operation commands to the communication interface service layer; a track section entity service module used for collecting trackside secondary detection device state, and receiving commands related to the trackside secondary detection device state in a section; a signal entity service module used for recording signal position and topological connection relationship; An access entity service module is configured to receive an externally transmitted access command and access state information, and transmit the access command and access state information to the domain domain, update the access command state according to the result returned by the domain domain.
7. The domain-driven design based cloud native train control system of claim 1, wherein, The domain domain includes: A train movement authorization calculation domain service module is configured to calculate train authorization according to train position and trackside line state information obtained from entities of the application domain, obtain authorization information of each train, and transmit the authorization information of each train to the application domain; A line resource range calculation domain service module is configured to calculate the range of line resources required by a train; A train registration domain service module is configured to receive train registration and deregistration message packets, verify the legitimacy of the train registration and deregistration message packets, and update the train registration and deregistration message packets; A train position calculation domain service module is configured to receive information of the application domain, and determine train position according to train autonomous positioning and trackside secondary detection device state in the information of the application domain; A line resource management domain service module is configured to judge current station yard state data transmitted by the application domain, obtain updated station yard state data, and transmit the updated station yard state data to the application domain; A temporary speed limit management domain service is configured to flow the speed limit command state according to speed limit command information transmitted by the application domain, and transmit updated speed limit information to the application domain; A maintenance diagnosis service module is configured to receive maintenance log data transmitted by other modules in the domain domain, and provide general message analysis, man-machine display, and log saving.
8. The domain-driven design based cloud native train control system of claim 7, wherein, The domain domain further includes: A kilometer marker calculation service module is configured to calculate the distance of a relative point in a kilometer marker distance line; An electronic map domain service module is configured to provide electronic map data in a current area.
9. The domain-driven design based cloud native train control system of claim 1, wherein, Any module or combination of several modules in the application domain, the domain domain, and the communication interface service layer corresponds to a virtualization container, and the virtualization container is arranged in a cloud or a local server.
10. The domain-driven design based cloud native train control system of claim 9, wherein, Each virtualization container is implemented by two different architecture sub-containers, the two sub-containers simultaneously run the requirements of the same domain, the domain codes in the two sub-containers are designed differently, and when the results of domain calculation with the same purpose in the two sub-containers are inconsistent, a safety side processing is performed.
11. The domain-driven design based cloud native train control system of claim 1, wherein, The domain communication of the train control system includes communication with an external Ethernet, CAN communication, and serial bus communication.
12. An implementation method of a cloud native train control system based on a domain driven design, characterized in that, The method is implemented by using the cloud-native train control system based on the domain-driven design in any one of claims 1-11, and the method includes: according to a traditional train control function, dividing and sorting each module in the application domain and the domain domain to decouple the train control system.
13. The implementation method of a domain-driven design based cloud native train control system according to claim 12, characterized in that, Further including: According to a business domain and / or data range, each module in the application domain and each module in the domain domain are aggregated and organized, the aggregated organization includes: dividing each module in the application domain and each module in the domain domain according to functions, and realizing aggregation of a train control system temporary speed limit server, a radio block center, and an interlocking and train control integrated device.
Citation Information
Patent Citations
Rail transit train control system
CN110920696A
Train control communication control method, device and system
CN112738195A
Tramcar management method and system
CN113371038A
Full-automatic running train intelligent operation and maintenance management platform and method
CN113554193A
Train control system and train control method
CN114889673A