Simulation management and scene control triggering method, system and device and storage medium

By setting simulation cycle cycles and checking control commands in shared memory in urban rail transit signal systems, dynamically publishing simulation tasks and monitoring status, it solves the problem of low simulation efficiency, difficult data synchronization and control in the existing technology, and high real-time performance and The problem of difficulty in meeting the accuracy at the same time, the problem of poor flexibility and scalability is achieved, and efficient, real-time and flexible simulation management and scene control triggering is achieved.

CN119442631APending Publication Date: 2025-02-14CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411485771.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the simulation management and scene control trigger of urban rail transit signal systems, the prior art faces the problems of low simulation efficiency, difficult to achieve data synchronization and control, difficult to meet high real-time and accuracy at the same time, and poor flexibility and scalability.

Method used

By setting the simulation cycle, checking the control commands in the shared memory, determining whether the time information and train information meet the issuance conditions, and publishing the simulation task to the shared memory when the conditions are met, thereby realizing dynamic release and status monitoring of the simulation task.

Benefits of technology

It improves the real-time and accuracy of simulation, enhances the flexibility and scalability of the system, reduces data processing time, and improves the performance and efficiency of the simulation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119442631A_ABST
    Figure CN119442631A_ABST
Patent Text Reader

Abstract

The invention relates to the field of signal system simulation, and discloses a simulation management and scene control triggering method, system and device and a storage medium, and the method comprises the steps: setting simulation cycle periods and a starting node of each simulation cycle period; checking the control command in the shared memory at a starting node of each simulation cycle period, and judging whether the time information and the train information reach command issuing conditions or not; when it is detected that the control command is a simulation task starting command and the time information and the train information reach command issuing conditions, a simulation task is issued to a shared memory; the simulation task state is continuously read from the shared memory, and whether the simulation task state meets a completion condition or not is judged; and ending the current simulation task when the simulation task state meets a completion condition. According to the invention, the real-time performance and accuracy of data in the simulation process are ensured; the data processing time is reduced, and the performance and efficiency of the whole simulation system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of signal system simulation, and in particular to a simulation management and scene control triggering method, system, device and storage medium. Background Art

[0002] As the complexity of urban rail transit systems increases, traditional simulation management and scene control triggering methods face multiple challenges, including low simulation efficiency and difficulty in achieving efficient data synchronization and control between different systems. In addition, simulation management and scene control triggering require extremely high real-time and accuracy, but existing technologies often find it difficult to meet both conditions at the same time, especially when simulating extreme operating conditions. At the same time, as the system expands, traditional simulation system simulation technology mostly relies on a single software environment or a custom simulation framework, which makes its flexibility and scalability difficult to adapt to the integration of new technologies or new equipment.

[0003] Specifically, although the current simulation management technology provides basic simulation control and management capabilities when dealing with urban rail transit signal systems, it is more about simulating a single signal subsystem, making the existing technology inefficient in large-scale data processing and multi-system data synchronization. In addition, simulation management and scenario control triggering involve a large amount of data exchange, including status updates, fault simulations, etc. However, the existing simulation management system is often not designed to be efficient enough, resulting in slow data processing, backward synchronization mechanisms, and inability to maintain system consistency and accuracy. On the other hand, the existing simulation management system is often not flexible enough in design, and it is difficult to adapt to new requirements or integrate new simulation modules. With the continuous advancement of signal system technology and the increase in complexity, the existing management system often needs to be significantly modified or even rebuilt to support new functions and higher data processing requirements. Finally, the existing simulation methods often fail to achieve the expected accuracy when simulating complex user behaviors and system fault responses. This is because these systems often do not fully consider extreme situations or atypical events when designing, resulting in significant differences between the simulation accuracy and actual operations when facing these situations. Summary of the invention

[0004] The embodiments of the present disclosure provide a simulation management and scene control triggering method, system, device and storage medium to solve or alleviate one or more of the above technical problems in the prior art.

[0005] According to one aspect of the present disclosure, a simulation management and scene control triggering method is provided, comprising:

[0006] Set the simulation cycle and the start node of each simulation cycle;

[0007] At the start node of each simulation cycle, check the control command in the shared memory and determine whether the time information and train information meet the conditions for issuing the command;

[0008] When it is checked that the control command is a simulation task start command and the time information and train information meet the conditions for issuing the command, the simulation task is published to the shared memory;

[0009] Continuously read the simulation task status from the shared memory and determine whether the simulation task status meets the completion condition;

[0010] When the simulation task status meets the completion condition, the current simulation task is ended.

[0011] In a possible implementation, determining whether the time information and train information meet the command issuing condition includes:

[0012] Read simulation time information from shared memory;

[0013] Determine whether the simulation time condition satisfies the command issuing condition according to the simulation time information;

[0014] When the simulation time condition meets the command issuing condition, the train information is read from the shared memory;

[0015] Determine whether the train position condition meets the command issuing condition according to the train information;

[0016] When the train position conditions meet the conditions for issuing commands, the simulation task is published to the shared memory.

[0017] In a possible implementation, continuously reading the simulation task status from the shared memory and determining whether the simulation task status meets the completion condition includes:

[0018] When the simulation task status still does not meet the completion conditions within the set time or after reaching the set number of checks, the relevant error information is recorded.

[0019] In a possible implementation, the simulation management and scene control triggering method further includes:

[0020] Before the simulation starts, the task control base class is instantiated to set basic parameters, including the number of tasks and the periodic parameters corresponding to the tasks.

[0021] In a possible implementation, when it is detected that the control command is a simulation task start command and the time information and train information meet the command issuing conditions, publishing the simulation task to the shared memory includes:

[0022] Construct a control frame containing a cycle ID and a timestamp;

[0023] The control frame including the cycle ID and the timestamp is sent to the shared memory.

[0024] According to one aspect of the present disclosure, a simulation management and scene control triggering system is provided, comprising:

[0025] A setting unit, used for setting a simulation cycle and a start node of each simulation cycle;

[0026] A checking unit is used to check the control command in the shared memory at the start node of each simulation cycle, and determine whether the time information and train information meet the conditions for issuing the command;

[0027] A publishing unit, used for publishing the simulation task to the shared memory when it is detected that the control command is a simulation task start command and the time information and train information meet the command issuing conditions;

[0028] A judgment unit, which continuously reads the simulation task status from the shared memory and judges whether the simulation task status meets the completion condition;

[0029] The ending unit is used to end the current simulation task when the simulation task status meets the completion condition.

[0030] In a possible implementation, the checking unit includes:

[0031] A first reading module, used for reading simulation time information from a shared memory;

[0032] A first judgment module, used for judging whether the simulation time condition meets the command issuing condition according to the simulation time information;

[0033] The second reading module is used to read the train information from the shared memory when the simulation time condition meets the command issuing condition;

[0034] The second judgment module is used to judge whether the train position condition meets the command issuing condition according to the train information;

[0035] The publishing module is used to publish the simulation task to the shared memory when the train position conditions meet the conditions for issuing commands.

[0036] In a possible implementation, the simulation management and scene control triggering system includes:

[0037] The recording unit is used to record relevant error information when the simulation task status still does not meet the completion conditions within the set time or reaching the set number of checks.

[0038] In a possible implementation, the simulation management and scene control triggering system further includes:

[0039] The instantiation unit is used to instantiate the task control base class to set basic parameters before the simulation starts. The basic parameters include the number of tasks and the periodic parameters corresponding to the tasks.

[0040] In a possible implementation, the publishing unit includes:

[0041] A construction module for constructing a control frame including a cycle ID and a timestamp;

[0042] The sending module is used to send the control frame including the cycle ID and the timestamp to the shared memory.

[0043] According to one aspect of the present disclosure, there is provided a device, comprising:

[0044] Processor and memory;

[0045] The memory is used to store a computer program, and the processor calls the computer program stored in the memory to execute any one of the simulation management and scene control triggering methods described above.

[0046] According to one aspect of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the processor is enabled to execute any one of the simulation management and scene control triggering methods described above.

[0047] The present disclosure has the following beneficial effects:

[0048] Scalability and maintainability: The disclosed design takes into account the scalability and maintainability of the system, making it easier to add new simulation modules or upgrade existing modules, supporting continuous technological progress and changes in demand; through precise cycle control and real-time data updates, the real-time and accuracy of data during the simulation process are ensured, providing reliable data support for further simulation analysis and decision-making; using shared memory for data exchange reduces data processing time and improves the performance and efficiency of the entire simulation system.

[0049] The details of one or more embodiments of the present application are presented in the following drawings and descriptions. Other features and advantages of the present application will become apparent from the accompanying drawings. It should be understood that the above general description and the detailed descriptions below are only exemplary and explanatory and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0051] Figure 1 is one of the flow charts of a simulation management and scene control triggering method of this exemplary embodiment;

[0052] Figure 2 is a second flowchart of a simulation management and scene control triggering method of this exemplary embodiment;

[0053] Figure 3 is a block diagram of a simulation management and scenario control triggering system of the present exemplary embodiment;

[0054] Figure 4 It is a schematic structural diagram of a device of this exemplary embodiment. DETAILED DESCRIPTION

[0055] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0056] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware units or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0057] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.

[0058] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example.

[0059] In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or sub-modules is not necessarily limited to those steps or sub-modules explicitly listed, but may include other steps or sub-modules not explicitly listed or inherent to these processes, methods, products, or apparatuses.

[0060] Figure 1 is one of the flow charts of a simulation management and scene control triggering method of this exemplary embodiment, such as Figure 1 As shown, an exemplary embodiment of the present disclosure specifically provides a simulation management and scene control triggering method of a signal system, including:

[0061] Set the simulation cycle and the start node of each simulation cycle;

[0062] At the start node of each simulation cycle, check the control command in the shared memory and determine whether the time information and train information meet the conditions for issuing the command;

[0063] When it is checked that the control command is a simulation task start command and the time information and train information meet the conditions for issuing the command, the simulation task is published to the shared memory;

[0064] Continuously read the simulation task status from the shared memory and determine whether the simulation task status meets the completion condition;

[0065] When the simulation task status meets the completion condition, the current simulation task is ended.

[0066] It is worth noting that the runtime infrastructure (RTI) as a core component for implementing the high-level architecture (HLA) provides a standard method to facilitate interaction and data sharing between different simulation applications. RTI supports functions such as time management, data distribution management, and federation management, making it an ideal choice for supporting complex multi-system integration. This embodiment aims to improve the real-time performance, accuracy, and operational flexibility of the simulation by implementing a signal system simulation management and control method based on RTI, while reducing the complexity of interaction between systems and improving data processing efficiency.

[0067] Furthermore, the control command includes a simulation task start command, a simulation task pause command or a simulation task end command. This embodiment allows the simulation process to be controlled in real time from the outside. Specifically, after entering the main event (i.e., the simulation starts), this embodiment first checks the control command in the shared memory. When a "stop" command is received, the entire simulation system will pause, which is not only a response to a specific situation, but also provides flexibility in the debugging process. In addition, the control command is checked continuously to ensure that the external input can be correctly responded to at any time. Task start, pause, end and other commands.

[0068] It is worth noting that continuously reading the simulation task status from the shared memory and judging whether the simulation task status meets the completion condition includes the steps of: setting the simulation task completion status reading delay time; reading the completion status of the simulation task from the shared memory according to the set delay time. In this embodiment, the task status check is a cyclic process, which will continuously query whether the simulation task has been completed. This process involves frequent reading of the task status in the shared memory until all task statuses meet the completion condition. In order to prevent excessive occupation of system resources, an appropriate delay is introduced. However, if the task is still not completed after multiple attempts, the system will record the relevant error information and try to solve it. This is a handling strategy for abnormal situations to ensure the stable operation of the system.

[0069] Specifically, judging whether the time information and train information meet the conditions for issuing a command includes:

[0070] Read simulation time information from shared memory;

[0071] Determine whether the simulation time condition satisfies the command issuing condition according to the simulation time information;

[0072] When the simulation time condition meets the command issuing condition, the train information is read from the shared memory;

[0073] Determine whether the train position condition meets the command issuing condition according to the train information;

[0074] When the train position conditions meet the conditions for issuing commands, the simulation task is published to the shared memory.

[0075] This embodiment specifically relates to a simulation management and scene control triggering method. The scene triggering control is used to control the timing of issuing commands in the rail transit signal system, such as setting the addition of vehicles, route selection, track status, turnout status and alarm information. The program specifies the format of the scene trigger configuration file, including time, train number, train position and command. The program first checks whether the simulation time meets the command issuing conditions. If so, it continues to judge other information until all conditions are met and then issues the command to the shared memory.

[0076] Specifically, continuously reading the simulation task status from the shared memory and determining whether the simulation task status meets the completion condition includes:

[0077] When the simulation task status still does not meet the completion conditions within the set time or after reaching the set number of checks, the relevant error information is recorded.

[0078] It is worth mentioning that when the task is still not completed after multiple attempts, the system will record the relevant error information and try to solve it. This is a strategy for handling abnormal situations to ensure the stable operation of the system.

[0079] Specifically, it also includes:

[0080] Before the simulation starts, the task control base class is instantiated to set basic parameters, including the number of tasks and the periodic parameters corresponding to the tasks.

[0081] This embodiment has the functions of simulation task scheduling control, task release, status check, scene trigger control, etc. The task controller is the key to this method, ensuring the smoothness and accuracy of the entire simulation process. This function manages each cycle of the simulation through a series of carefully designed steps, from initialization to task completion inspection. Before the simulation starts, the function performs necessary settings by instantiating the task control base class, including the number of tasks, cycle parameters, etc. This class is responsible for managing the basic properties and status of the simulation task, and provides basic data structures and methods for subsequent operations.

[0082] Specifically, when it is detected that the control command is a simulation task start command and the time information and train information meet the command issuing conditions, publishing the simulation task to the shared memory includes:

[0083] Construct a control frame containing a cycle ID and a timestamp;

[0084] The control frame including the cycle ID and the timestamp is sent to the shared memory.

[0085] In this embodiment, the release of the task constructs a control frame containing all necessary information, such as cycle ID and timestamp, and releases it to the shared memory. This step is the key to the simulation control process, which directly affects the accuracy and timeliness of the simulation data.

[0086] In summary, the key points of this embodiment are: dynamic task release mechanism: tasks are released dynamically in each simulation cycle. This method constructs and sends control frames containing key information such as cycle ID and timestamp; efficient task status monitoring: task status check continuously checks the task completion status, and this mechanism ensures that all tasks have been completed before entering the next simulation cycle; optimized resource management and error handling: error recording and handling strategies are introduced to record in detail and handle necessary errors for tasks that are not completed on time; efficient use of shared memory: all simulation data and status information are efficiently exchanged through shared memory, and this design greatly improves the data processing speed and reduces the response time of the system.

[0087] Figure 2 This is a second flow chart of a simulation management and scene control triggering method of this exemplary embodiment; Figure 2 As shown, taking a zone control system (ZC) simulation unit running a cycle as an example, the process is described as follows:

[0088] Start the simulation control manager, initialize the simulation management class, set basic parameters and configurations, open and initialize shared memory;

[0089] Start the ZC simulation unit and scene control program;

[0090] Enter the simulation cycle loop and set a loop start node for each simulation cycle;

[0091] Check control commands and read control commands from shared memory;

[0092] Release the simulation task, build and send the control frame containing the cycle ID and timestamp to the shared memory;

[0093] The ZC simulation unit reads command information from the shared memory to execute tasks and returns the task execution status;

[0094] Assuming that the ZC simulation unit has not completed execution, the simulation control manager enters another built-in loop and continuously checks the task status until the ZC simulation unit returns the task completion status;

[0095] The scene control program reads the time information from the shared memory to check whether the simulation time conditions are met;

[0096] Assuming that the simulation time condition meets the scenario trigger, the train position condition will continue to be checked. If it is met, a command will be issued. If the train position condition does not exist, a command will be issued directly. If the simulation time condition is not met, wait for the next simulation cycle.

[0097] Figure 3 is a block diagram of a simulation management and scene control triggering system of the exemplary embodiment, such as Figure 3 As shown, an exemplary embodiment of the present disclosure specifically provides a simulation management and scene control triggering system for a signal system, including:

[0098] A setting unit 10, used for setting a simulation cycle and a starting node of each simulation cycle;

[0099] The checking unit 20 is used to check the control command in the shared memory at the start node of each simulation cycle, and determine whether the time information and train information meet the command issuing conditions;

[0100] The issuing unit 30 is used to issue the simulation task to the shared memory when it is detected that the control command is a simulation task start command and the time information and the train information meet the command issuing conditions;

[0101] The judging unit 40 continuously reads the simulation task status from the shared memory and judges whether the simulation task status meets the completion condition;

[0102] The ending unit 50 is used to end the current simulation task when the simulation task status meets the completion condition.

[0103] Specifically, the inspection unit includes:

[0104] A first reading module, used for reading simulation time information from a shared memory;

[0105] A first judgment module, used for judging whether the simulation time condition meets the command issuing condition according to the simulation time information;

[0106] The second reading module is used to read the train information from the shared memory when the simulation time condition meets the command issuing condition;

[0107] The second judgment module is used to judge whether the train position condition meets the command issuing condition according to the train information;

[0108] The publishing module is used to publish the simulation task to the shared memory when the train position conditions meet the conditions for issuing commands.

[0109] Specifically, the simulation management and scene control trigger system includes:

[0110] The recording unit is used to record relevant error information when the simulation task status still does not meet the completion conditions within the set time or reaching the set number of checks.

[0111] Specifically, the simulation management and scene control trigger system also includes:

[0112] The instantiation unit is used to instantiate the task control base class to set basic parameters before the simulation starts. The basic parameters include the number of tasks and the periodic parameters corresponding to the tasks.

[0113] Specifically, the publishing unit includes:

[0114] A construction module for constructing a control frame including a cycle ID and a timestamp;

[0115] The sending module is used to send the control frame including the cycle ID and the timestamp to the shared memory.

[0116] Figure 4 Schematic diagram of the structure of a device of this exemplary embodiment. Figure 4 As shown, corresponding to the simulation management and scene control triggering method provided above, the present disclosure also provides a device. Since the embodiment of the device is similar to the above method embodiment, the description is relatively simple. For relevant parts, please refer to the description of the above method embodiment part. The device described below is only schematic. The device may include: a processor (processor) 1, a memory (memory) 2 and a communication bus (i.e., the above device bus) and a search engine, wherein the processor 1 and the memory 2 complete mutual communication through the communication bus and communicate with the outside through the communication interface. The processor 1 can call the logic instructions in the memory 2 to execute the simulation management and scene control triggering method.

[0117] In addition, the logic instructions in the above-mentioned memory 2 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 disclosure is essentially 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 to enable 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 various embodiments of the present disclosure. The aforementioned storage medium includes: a storage chip, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.

[0118] On the other hand, an embodiment of the present disclosure further provides a processor-readable storage medium, on which a computer program 3 is stored. When the computer program 3 is executed by the processor 1, it is implemented to execute the simulation management and scene control triggering methods provided in the above embodiments.

[0119] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor 1, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0120] The above are only preferred implementations of the present disclosure, and the protection scope of the present disclosure is not limited to the above embodiments. All technical solutions under the concept of the present disclosure belong to the protection scope of the present disclosure. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present disclosure should be regarded as the protection scope of the present disclosure.

Claims

1. A simulation management and scene control triggering method, characterized in that: include: Set the simulation cycle and the start node of each simulation cycle; At the start node of each simulation cycle, check the control command in the shared memory and determine whether the time information and train information meet the conditions for issuing the command; When it is checked that the control command is a simulation task start command and the time information and train information meet the conditions for issuing the command, the simulation task is published to the shared memory; Continuously read the simulation task status from the shared memory and determine whether the simulation task status meets the completion condition; When the simulation task status meets the completion condition, the current simulation task is ended.

2. The simulation management and scene control triggering method according to claim 1, characterized in that: Judging whether the time information and train information meet the conditions for issuing commands includes: Read simulation time information from shared memory; Determine whether the simulation time condition satisfies the command issuing condition according to the simulation time information; When the simulation time condition meets the command issuing condition, the train information is read from the shared memory; Determine whether the train position condition meets the command issuing condition according to the train information; When the train position conditions meet the conditions for issuing commands, the simulation task is published to the shared memory.

3. The simulation management and scene control triggering method according to claim 1, characterized in that: Continuously reading the simulation task status from the shared memory and determining whether the simulation task status meets the completion condition includes: When the simulation task status still does not meet the completion conditions within the set time or after reaching the set number of checks, the relevant error information is recorded.

4. The simulation management and scene control triggering method according to claim 1, characterized in that: Also includes: Before the simulation starts, the task control base class is instantiated to set basic parameters, including the number of tasks and the periodic parameters corresponding to the tasks.

5. The simulation management and scene control triggering method according to claim 1, characterized in that: When it is detected that the control command is a simulation task start command and the time information and train information meet the conditions for issuing the command, publishing the simulation task to the shared memory includes: Construct a control frame containing a cycle ID and a timestamp; The control frame including the cycle ID and the timestamp is sent to the shared memory.

6. A simulation management and scene control triggering system, characterized in that: include: A setting unit, used for setting a simulation cycle and a start node of each simulation cycle; A checking unit is used to check the control command in the shared memory at the start node of each simulation cycle, and determine whether the time information and train information meet the conditions for issuing the command; A publishing unit, used for publishing the simulation task to the shared memory when it is detected that the control command is a simulation task start command and the time information and train information meet the command issuing conditions; A judgment unit, which continuously reads the simulation task status from the shared memory and judges whether the simulation task status meets the completion condition; The ending unit is used to end the current simulation task when the simulation task status meets the completion condition.

7. The simulation management and scene control triggering system according to claim 6, characterized in that: The inspection unit includes: A first reading module, used for reading simulation time information from a shared memory; A first judgment module, used for judging whether the simulation time condition meets the command issuing condition according to the simulation time information; The second reading module is used to read the train information from the shared memory when the simulation time condition meets the command issuing condition; The second judgment module is used to judge whether the train position condition meets the command issuing condition according to the train information; The publishing module is used to publish the simulation task to the shared memory when the train position conditions meet the conditions for issuing commands.

8. The simulation management and scene control triggering system according to claim 6, characterized in that: include: The recording unit is used to record relevant error information when the simulation task status still does not meet the completion conditions within the set time or reaching the set number of checks.

9. The simulation management and scene control triggering system according to claim 6, characterized in that: Also includes: The instantiation unit is used to instantiate the task control base class to set basic parameters before the simulation starts. The basic parameters include the number of tasks and the periodic parameters corresponding to the tasks.

10. The simulation management and scene control triggering system according to claim 6, characterized in that: Release units include: A construction module for constructing a control frame including a cycle ID and a timestamp; The sending module is used to send the control frame including the cycle ID and the timestamp to the shared memory.

11. A device, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor calls the computer program stored in the memory to execute the simulation management and scene control triggering method according to any one of claims 1 to 5.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is enabled to execute the simulation management and scene control triggering method according to any one of claims 1 to 5.

Citation Information

Cited By

  • Simulation synchronization control method and device, equipment, program product and storage medium

    CN120723491A