A train operation simulation method, device, and medium

By generating the train operation simulation method, using train speed and position information to generate track and bogie models, the system lag caused by three-dimensional animation simulation is solved and the user experience is improved.

CN118133508BActive Publication Date: 2025-07-18CRRC QINGDAO SIFANG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410133308.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2025-07-18
Estimated Expiration
2044-01-31

AI Technical Summary

Technical Problem

In the prior art, the model loaded by using three-dimensional animations to simulate train operation is too large, causing the system to stutter, affecting the user's viewing experience.

Method used

By obtaining train speed and position information, generate the current and next cycle track line model and bogie model, and move horizontally in the display interface to simulate the real-time operation of the train and reduce computing resource occupation.

Benefits of technology

Reduce the use of computing resources, prevent page lag, and improve user viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118133508B_ABST
    Figure CN118133508B_ABST
Patent Text Reader

Abstract

This application relates to the field of computer simulation, and discloses a train operation simulation method, device, and medium, including: obtaining train speed information and train position information; determining operation scenario information according to the train position information and train speed information; generating a current track line model and a next-cycle track line model according to the track model and the operation scenario information, and determining a bogie model corresponding to the train speed information; calling the current track line model, the next-cycle track line model, and the bogie model to be displayed on a display interface to simulate the real-time operation of the train. It can be seen that the technical solution provided by this application generates a current track line model and a next-cycle track line model according to the train speed information and train position information, and determines a bogie model corresponding to the train speed information to simulate the train operation situation. Compared with three-dimensional animations, it occupies less computing resources, prevents page lags, and improves the viewing experience of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer simulation, and particularly to a train operation simulation method, device, and medium. Background Art

[0002] As an important means of transportation for modern urban travel, it is of great significance to evaluate the performance of high-speed trains, monitor their real-time operation status, and ensure their safe operation. With the rise of information technologies such as the Internet of Things, big data, and artificial intelligence, in order to better and quickly and effectively evaluate the train operation status, it is usually necessary to simulate and display the train in combination with the actual operation status of the train.

[0003] Currently, the operation of trains is mainly simulated in the form of 3D animations. However, since the actual running speed of the train, the distance between stations, and the surrounding environment of the line are all different during the train operation, when using 3D animations for simulation, it is necessary to establish 3D animation effects for all the above states, resulting in an excessive amount of model data to be loaded, causing the browser to freeze and affecting the viewing experience of users.

[0004] It can be seen that how to provide a new train operation simulation method to prevent system freezing due to the excessive size of the loaded model during simulation is an urgent problem to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this application is to solve the problem that the model loaded during the simulation of train operation using 3D animations in the prior art is too large, resulting in system freezing. Therefore, this application provides a train operation simulation method, device, and medium, thereby reducing the occupied computing resources, preventing page freezing, and improving the viewing experience of users.

[0006] To solve the above technical problems, this application provides a train operation simulation method, including:

[0007] Obtain train speed information and train position information;

[0008] Determine operation scenario information according to the train position information and the train speed information; the operation scenario information includes the current operation scenario and the next cycle operation scenario, and the operation scenario information is the scenario corresponding to the train position information;

[0009] Generate a current track line model and a next cycle track line model according to the track model and the operation scenario information, and determine a bogie model corresponding to the train speed information;

[0010] Call the current track line model, the next cycle track line model, and the bogie model to be displayed on the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next cycle track line model move horizontally on the display interface and the moving speed corresponds to the train speed information.

[0011] Preferably, the calling the current track line model, the next cycle track line model, and the bogie model to be displayed on the display interface includes:

[0012] Determine the component moving speed and the bogie model switching speed corresponding to the train speed information according to the pre-established mapping relationship between the train speed and the track movement and the wheel set relationship;

[0013] Control the display of the bogie model according to the bogie model switching speed, and control the display and movement of the track line model and the next cycle track line model on the display interface according to the component moving speed.

[0014] Preferably, it further includes:

[0015] Obtain the original 3D model; the original 3D model includes: the original bogie model and the original rail model;

[0016] Perform a model face deletion operation on each of the original 3D models to obtain an initial lightweight model;

[0017] Delete the internal invisible parts of the initial lightweight model to obtain the bogie model and the rail model.

[0018] Preferably, the controlling the track line model and the next cycle track line model to be displayed on the display interface includes:

[0019] Control the track line model and the next cycle track line model to be sequentially displayed below the bogie model in chronological order, and render the track line model whose Euclidean distance from the center of the bogie model is less than the first distance threshold;

[0020] Correspondingly, it further includes:

[0021] Delete the track line model on the display interface whose distance from the center of the bogie model is greater than the second distance threshold.

[0022] Preferably, the rendering of the track line model includes:

[0023] Determine the resource allocation scheme for each node according to the position and importance of each node of the model to be rendered in the environment;

[0024] Render the track line model according to the resource allocation scheme.

[0025] Preferably, the displaying the current track line model, the next-cycle track line model, and the bogie model on the display interface includes:

[0026] Load the content to be displayed on the display interface in a dynamic loading manner to preferentially load the current track line model, the next-cycle track line model, and the bogie model.

[0027] Preferably, the generating the current track line model and the next-cycle track line model according to the rail model and the operation scenario information includes:

[0028] Generate the current track line model according to the rail model and the current operation scenario information;

[0029] Determine whether the current operation scenario information is consistent with the next-cycle operation scenario information;

[0030] If they are not consistent, generate the next-cycle track model according to the rail model and the next-cycle operation scenario information;

[0031] If they are consistent, link the call function for the next-cycle track model to the current track line model.

[0032] To solve the above technical problems, the present application also provides a train operation simulation device, including:

[0033] An acquisition module for acquiring train speed information and train position information;

[0034] A determination module for determining operation scenario information according to the train position information and the train speed information; the operation scenario information includes a current operation scenario and a next-cycle operation scenario, and the operation scenario information is a scenario corresponding to the train position information;

[0035] A generation module for generating a current track line model and a next-cycle track line model according to the rail model and the operation scenario information, and determining a bogie model corresponding to the train speed information;

[0036] A display module for calling the current track line model, the next-cycle track line model, and the bogie model to be displayed on the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next-cycle track line model move horizontally on the display interface and the moving speed corresponds to the train speed information.

[0037] To solve the above technical problems, the present application also provides a train operation simulation device, including a memory for storing a computer program;

[0038] a processor for implementing the steps of the train operation simulation method when executing the computer program.

[0039] To solve the above technical problems, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the train operation simulation method are implemented.

[0040] The present application provides a train operation simulation method, including: obtaining train speed information and train position information; determining operation scenario information according to the train position information and the train speed information; the operation scenario information includes the current operation scenario and the next cycle operation scenario, and the operation scenario information is the scenario corresponding to the train position information; generating a current track line model and a next cycle track line model according to the track model and the operation scenario information, and determining a bogie model corresponding to the train speed information; calling the current track line model, the next cycle track line model and the bogie model to be displayed on the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next cycle track line model move horizontally on the display interface and the moving speed corresponds to the train speed information. It can be seen that in the technical solution provided by the present application, by generating a current track line model and a next cycle track line model according to the train speed information and the train position information, and determining a bogie model corresponding to the train speed information, the train operation condition is simulated, so as to facilitate the management personnel to view. Compared with the prior art, the models used are all temporarily generated, and there is no need to use and store a large number of three-dimensional animations in the system, thereby reducing the occupied computing resources, preventing page freezing, and improving the viewing experience of the users.

[0041] In addition, the present application also provides a train operation simulation device and medium, corresponding to the above method, with the same effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] To more clearly illustrate the embodiments of the present application, the following will briefly introduce the drawings required for the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.

[0043] Figure 1 It is a flowchart of a train operation simulation method provided by an embodiment of the present application;

[0044] Figure 2 It is a schematic diagram of a wheel set and axle box provided by an embodiment of the present application;

[0045] Figure 3 A schematic diagram of a rebuilt model of a gearbox provided by an embodiment of the present application;

[0046] Figure 4 A schematic diagram of a track line model provided by an embodiment of the present application;

[0047] Figure 5 A schematic diagram of a bogie model provided by an embodiment of the present application;

[0048] Figure 6 A structural diagram of a train operation simulation device provided by an embodiment of the present application;

[0049] Figure 7 A structural diagram of a train operation simulation device provided by another embodiment of the present application;

[0050] The reference numerals are as follows: 1 is a wheel set axle box, 2 is a rebuilt model of a gearbox, 3 is a track line model, and 4 is a bogie model. Detailed implementation manners

[0051] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0052] The core of the present application is to provide a train operation simulation method, device, and medium to reduce the occupied computing resources, prevent page freezing, and improve the viewing experience of users.

[0053] During the train operation, in order to enable managers and others to view the train operation status in a timely manner, it is necessary to simulate the real-time operation status of the train. Currently, the train operation is mainly simulated in the form of 3D animation. However, since the actual running speed of the train, the distance between stations, and the surrounding environment of the line are all different during the train operation, when using 3D animation for simulation, it is necessary to establish 3D animation effects for all the above states, resulting in an excessive amount of data of the models to be loaded, causing the browser to freeze and affecting the user's viewing experience. To solve this technical problem, this application provides a train operation simulation method, which generates the current track line model and the next-cycle track line model according to the train speed information and the train position information, and determines the bogie model corresponding to the train speed information to simulate the train operation, so as to facilitate the managers to view. Compared with the prior art, the models used are all temporarily generated, without the need to use and store a large number of 3D animations in the system, thereby reducing the occupied computing resources, preventing page freezing, and improving the viewing experience of the users.

[0054] In order to enable those skilled in the art to better understand the solution of this application, the following further detailed description of this application will be given in conjunction with the accompanying drawings and specific embodiments.

[0055] Figure 1 A train operation simulation method provided by an embodiment of this application is as Figure 1 shown, and this method includes:

[0056] S10: Obtain the train speed information and the train position information;

[0057] S11: Determine the operation scenario information according to the train position information and the train speed information; the operation scenario information includes the current operation scenario and the next-cycle operation scenario, and the operation scenario information is the scenario corresponding to the train position information;

[0058] S12: Generate the current track line model and the next-cycle track line model according to the track model and the operation scenario information, and determine the bogie model corresponding to the train speed information;

[0059] S13: Call the current track line model, the next-cycle track line model, and the bogie model to be displayed on the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next-cycle track line model move horizontally on the display interface and the moving speed corresponds to the train speed information.

[0060] In the solution of this application, in order to simulate the real-time operation state of a train, the states such as the steering and operation of the train are simulated through a bogie model, and the current running track of the train is simulated through a track line model. By controlling the bogie model and the track line model to move in opposite directions, the actual operation effect of the train is simulated. Among them, the track line model is a model generated according to the rail model and the operation scenario information, and the operation scenario information is the scenario where the current train is located (for example: plain, mountain and urban scenarios, etc.). In the solution of this application, the track line model is generated in real time through the scenario information and the rail model pre-stored in the system for simulating the train operation; in addition, the track line model can also be generated according to the scenario information and the rail model and stored in the system, and called when in use. Compared with the latter solution, although the former solution has a slower loading speed, it occupies less system resources and can further prevent the system from freezing.

[0061] It can be understood that simulating the operation state of the train is actually simulating the scenario of the train running on the track. Therefore, the display interface only needs to include the train model (the bogie model in the solution of this application) and the track model, and the train model is displayed above the track. By controlling the movement of the train model and / or the track model on the screen to represent the movement state of the train. In the solution of this application, the train operation is represented by controlling the movement of the track. The movement speed of the track on the display screen is associated with the actual movement speed of the train. For example: when the actual movement speed of the train is 100 km / h, the movement speed of the track on the display screen is 1 unit distance / s; when the actual movement speed of the train is 200 km / h, the movement speed of the track on the display screen is 2 unit distances / s.

[0062] In the specific implementation, in order to further reduce the computing resources and storage resources occupied by the track line model, multiple smaller models can also be used to piece together the overall track line. When the track line model moves on the display screen, only the current operation scenario and the next cycle operation scenario need to be determined according to the train position information and the train speed information, and the current track line model and the next cycle track line model are generated according to the rail model and the operation scenario information. By continuously displaying the next cycle track line model in front of the track, the operation state of the train is simulated. Among them, the number of track line models is at least 2.

[0063] To realize the movement state of the bogie in the three-dimensional scenario, generally the method of keeping the track position stationary and the bogie moving is adopted. However, this method requires building a track model applicable to the whole line. Since the line is generally long, the completed model is large, resulting in visualization lag.

[0064] Therefore, the present invention proposes a method in which the bogie remains stationary and the track moves. The bogie is in the middle of the scene, and the position of the track is adjusted to achieve the movement effect of the bogie. Since the track model cannot be too long, the present invention uses multiple sections of tracks spliced into a track group, and realizes the forward movement of the bogie by moving the track backward. And when the track moves backward to a certain position, the next section of the track is re-spliced to the front end of the track group, so that the bogie can always move forward in the whole scene.

[0065] In addition, in order to better simulate the running state of the train, the actual running speed of the train can also be associated with the rotation speed of the wheel sets on the bogie model.

[0066] The present application provides a train operation simulation method, including: obtaining train speed information and train position information; determining operation scene information according to the train position information and the train speed information; the operation scene information includes the current operation scene and the next cycle operation scene, and the operation scene information is the scene corresponding to the train position information; generating a current track line model and a next cycle track line model according to the rail model and the operation scene information, and determining a bogie model corresponding to the train speed information; calling the current track line model, the next cycle track line model and the bogie model to be displayed on the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next cycle track line model move horizontally on the display interface and the moving speed corresponds to the train speed information. It can be seen that the technical solution provided by the present application generates a current track line model and a next cycle track line model according to the train speed information and the train position information, and determines a bogie model corresponding to the train speed information to simulate the train operation situation for the convenience of the management personnel to view. Compared with the prior art, the models used are all temporarily generated, and there is no need to use and store a large number of three-dimensional animations in the system, thereby reducing the occupied computing resources, preventing page freezing, and improving the viewing experience of the users.

[0067] It can be understood that, in order to further reduce the computing resources occupied by the bogie model and the track line model, it is also necessary to perform a lightweight operation on the models.

[0068] On the basis of the above embodiments, the train operation simulation method further includes: obtaining an original three-dimensional model; the original three-dimensional model includes: an original bogie model and an original rail model; performing a model face deletion operation on each original three-dimensional model to obtain an initial lightweight model; deleting the internal invisible parts of the initial lightweight model to obtain a bogie model and a rail model.

[0069] In specific implementation, the three-dimensional data of the bogie involved in the present invention all originate from industrial design software such as Catia, Cad, Pro-e, and Solidworks. The above software are all professional industrial design software, which can generate fine prototype files. Use the Solidworks software to save the bogie model used in this case as a.stl format file and save it to the project directory folder for backup. Import the exported.stl format file into Deep Exploration, and use the built-in optimization tool of Deep Exploration to perform preliminary lightweight processing within a reasonable range, which can achieve one-key lightweighting. This tool will automatically reduce the number of faces of the model in proportion, and generally it is appropriate to control it within 30%. The model after preliminary lightweighting can be saved as.fbx using Deep Exploration.

[0070] In addition, the.fbx file can be further lightweighted. Specifically, import the exported.fbx file into the 3Dmax software. Delete all the models of the invisible parts in the model. Figure 2 The schematic diagram of a wheel set axle box provided by an embodiment of the present application is as Figure 2 shown, in the composition of the wheel set axle box, there are some models that cannot be seen inside. Figure 3 The schematic diagram of a remanufactured model of a gear box provided by an embodiment of the present application is as Figure 3 shown. Cut down the overlapping faces and completely covered small faces in the gear box. In addition, the regular models of different models can be remanufactured and the model can be optimized to reduce the number of faces. For example, in the composition of the wheel set axle box, the bolt cylindrical end face is controlled within 6 segments or less to achieve model reset. And use the optimization command to reduce the number of faces of the air spring, and a part of the faces can be cut down to achieve model optimization and reduction of faces.

[0071] Figure 4 The schematic diagram of a track line model provided by an embodiment of the present application Figure 5 The schematic diagram of a bogie model provided by an embodiment of the present application is as Figure 4 and Figure 5 shown. As a preferred embodiment, calling the current track line model, the next cycle track line model and the bogie model to be displayed on the display interface includes: determining the component movement speed and the bogie model switching speed corresponding to the train speed information according to the pre-established mapping relationship between the train speed and the track movement and the wheel set relationship; controlling the display of the bogie model according to the bogie model switching speed, and controlling the display and movement of the track line model and the next cycle track line model on the display interface according to the component movement speed.

[0072] Correspondingly, the display of the control track line model and the next-cycle track line model on the display interface includes: rendering the control track line model and the next-cycle track line model that are sequentially displayed below the bogie model in chronological order and whose Euclidean distance from the center of the bogie model is less than the first distance threshold; in addition, after the model rendering is completed, the track line model whose distance from the center of the bogie model in the display interface is greater than the second distance threshold can also be deleted.

[0073] In specific implementation, the track is modeled by referring to the track real-scene photos and according to the model optimization principle, the UV is split, and the texture is drawn. At the same time, in order to avoid the model being too large, two track models are established, key frames are set for the track to add animation, so that when the bogie runs on one track, the other track is automatically connected, realizing reciprocating alternation, and avoiding the problem that the track is stationary and the bogie moves, resulting in a slow model loading due to a long track.

[0074] Furthermore, according to the model lightweight principle, the wheel set is modeled with reduced surface area, the UV of the wheel set is split, and Substance Painter is used to draw the illumination texture of the wheel set. In order to facilitate the observation of the wheel set rotation effect, when drawing the texture, filter effects are used, and when exporting the UV texture, the illumination information can be exported together. When viewing the model in the browser, the model has a built-in illumination effect to achieve the purpose of authenticity and lightweight.

[0075] Referring to the train operation situation, a uniform animation effect is achieved for the wheel set and the track; a one-to-one mapping relationship between the actual vehicle speed and the track movement and the wheel set movement is established. Key frames are set for the bogie at frames 0 - 24 to simulate the uniform rotation of the bogie, and key frames are added to the track to make the track move in the opposite straight line, that is, the bogie rotates in place and the track moves in the opposite straight line direction, so as to achieve the effect that the bogie rotates while moving forward.

[0076] Since the speed of the bogie will show a certain degree of randomness during the actual operation process, therefore, to achieve this using three-dimensional animation effect production, a detailed design and production based on the actual operation situation is required. For example, if the line is 1000 km long, then a model movement length of 1000 km needs to be produced. Although the accuracy of the model implementation is relatively high, the generated callable visual model will be very large, and there will be a phenomenon of browser display lag.

[0077] To achieve the process of speed change of the three-dimensional bogie in the browser, it is necessary to make the movement of the wheelset consistent with the actual speed frequency. As the actual speed changes, the movement of the wheelset will also change in the same proportion. Therefore, the present invention first loads the model and realizes the movement effect of the loaded wheelset model. The movement effect of the present invention selects the first 24 frames of the animation. That is, it is only necessary to make the time frequency required for each call of the animation correspond one-to-one with the speed. The faster the speed, the shorter the time required for the animation to finish running.

[0078] Furthermore, in order to reduce the problem of large resource consumption during the model display process, the present invention utilizes the frustum culling principle to only render and process the objects within the camera's field of view, and culls the objects outside the camera's field of view without processing them, achieving the purpose of rendering optimization and reducing resource consumption. At the same time, the LOD (Level of Detail) technology is used to determine the resource allocation for object rendering according to the position and importance of the nodes of the object model in the display environment, reducing the number of faces and detail level of unimportant objects, thereby obtaining high-efficiency rendering operations.

[0079] Based on the above embodiments, rendering the track line model includes: determining the resource allocation scheme for each node according to the position and importance of each node of the model to be rendered in the environment; rendering the track line model according to the resource allocation scheme.

[0080] In this embodiment, the model is rendered by using the LOD technology to further reduce the computing resources occupied during the train operation simulation process.

[0081] During the process of loading the resources of the large scene, if all the scene resources are loaded at the same time, due to the excessive amount of resources, it may cause the user's waiting time to be too long, affecting the user experience. To reduce the user's waiting time, the scene resources near the user should be loaded first, and the remaining resources should be loaded in the background without affecting the operation until all are loaded. For this reason, the present invention utilizes the dynamic resource loading technology to achieve rapid resource loading and reduce lag. Based on the above embodiments, calling the current track line model, the next-cycle track line model, and the bogie model to be displayed in the display interface includes: loading the content to be displayed in the display interface in a dynamic loading manner to preferentially load the current track line model, the next-cycle track line model, and the bogie model.

[0082] In a specific implementation, in order to further reduce the occupied computing resources, two track line models are selected to form a track line. Only the operating scenario information may be different between the track line models, and the others are exactly the same. When the operating scenario information of the track line model in the next period is the same as that of the track line model in the current period, in order to further reduce the occupied computing resources, a new track line model may not be generated additionally, but the track line model in the current period may be reused. When the operating scenario information changes, a new track line model is regenerated.

[0083] Based on the above embodiments, generating the current track line model and the next-period track line model according to the rail model and the operating scenario information includes: generating the current track line model according to the rail model and the current operating scenario information; determining whether the current operating scenario information is consistent with the next-period operating scenario information; if not, generating the next-period track model according to the track model and the next-period operating scenario information; if so, linking the call function for the next-period track model to the current track line model.

[0084] In the above embodiments, the train operation simulation method is described in detail. The present application also provides corresponding embodiments of the train operation simulation device. It should be noted that the present application describes the embodiments of the device part from two perspectives, one is from the perspective of functional modules, and the other is from the perspective of hardware.

[0085] Figure 6 The structure diagram of a train operation simulation device provided by an embodiment of the present application is as Figure 6 shown. The train operation simulation device includes:

[0086] An acquisition module 10, configured to acquire train speed information and train position information;

[0087] A determination module 11, configured to determine operating scenario information according to the train position information and the train speed information; the operating scenario information includes the current operating scenario and the next-period operating scenario, and the operating scenario information is the scenario corresponding to the train position information;

[0088] A generation module 12, configured to generate the current track line model and the next-period track line model according to the rail model and the operating scenario information, and determine a bogie model corresponding to the train speed information;

[0089] A display module 13, configured to call the current track line model, the next-period track line model, and the bogie model to be displayed on a display interface to simulate the real-time operation of the train; wherein, the current track line model and the next-period track line model move horizontally on the display interface and the moving speed corresponds to the train speed information.

[0090] Since the embodiments of the apparatus part correspond to the embodiments of the method part, for the embodiments of the apparatus part, please refer to the description of the embodiments of the method part, which will not be elaborated here.

[0091] The present application provides a train operation simulation device, including: obtaining train speed information and train position information; determining operation scenario information according to the train position information and the train speed information; the operation scenario information includes the current operation scenario and the next cycle operation scenario, and the operation scenario information is the scenario corresponding to the train position information; generating a current track line model and a next cycle track line model according to the track model and the operation scenario information, and determining a bogie model corresponding to the train speed information; calling the current track line model, the next cycle track line model and the bogie model to be displayed on the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next cycle track line model move horizontally on the display interface and the moving speed corresponds to the train speed information. It can be seen that the technical solution provided by the present application generates a current track line model and a next cycle track line model according to the train speed information and the train position information, and determines a bogie model corresponding to the train speed information to simulate the train operation situation for the management personnel to view. Compared with the prior art, the models used are all temporarily generated, without the need to use and store a large number of three-dimensional animations in the system, thereby reducing the occupied computing resources, preventing page freezing, and improving the viewing experience of the users.

[0092] Figure 7 For the structure diagram of the train operation simulation device provided by another embodiment of the present application, as Figure 7 shown, the train operation simulation includes: a memory 20 for storing a computer program;

[0093] a processor 21 for implementing the steps of the train operation simulation method in the above embodiment when executing the computer program.

[0094] The train operation simulation device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a notebook computer or a desktop computer, etc.

[0095] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may further include an artificial intelligence (AI) processor, and the AI processor is used to process computational operations related to machine learning.

[0096] The memory 20 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 20 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201. After the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the train operation simulation method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, train speed information and train position information, etc.

[0097] In some embodiments, the train operation simulation device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0098] Those skilled in the art can understand that Figure 7 the structure shown in

[0099] The train operation simulation device provided by the embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, the following method can be implemented: obtaining train speed information and train position information; determining operation scenario information according to the train position information and the train speed information; the operation scenario information includes the current operation scenario and the next cycle operation scenario, and the operation scenario information is the scenario corresponding to the train position information; generating a current track line model and a next cycle track line model according to the track model and the operation scenario information, and determining a bogie model corresponding to the train speed information; calling the current track line model, the next cycle track line model and the bogie model to be displayed on the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next cycle track line model move horizontally on the display interface and the moving speed corresponds to the train speed information.

[0100] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps recorded in the above method embodiment are implemented.

[0101] It can be understood that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

[0102] The train operation simulation method, device, and medium provided by the present application have been introduced in detail above. The embodiments in the specification are described in a progressive manner, and the key points of each embodiment are the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

[0103] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.

Claims

1. A train operation simulation method, characterized in that, Including: Obtaining train speed information and train position information; Determining operation scenario information according to the train position information and the train speed information; The operation scenario information includes the current operation scenario and the next cycle operation scenario, and the operation scenario information is the scenario corresponding to the train position information; wherein, the operation scenario information is the scenario where the current train is located; Generating a current track line model according to the track model and the current operation scenario; Judging whether the current operation scenario is consistent with the next cycle operation scenario; If they are not consistent, generating a next cycle track line model according to the track model and the next cycle operation scenario; If they are consistent, linking the call function for the next cycle track line model to the current track line model; Determining a bogie model corresponding to the train speed information; Calling the current track line model, the next cycle track line model and the bogie model to be displayed on the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next cycle track line model move horizontally on the display interface and the moving speed corresponds to the train speed information.

2. The train operation simulation method according to claim 1, wherein The calling the current track line model, the next cycle track line model and the bogie model to be displayed on the display interface includes: Determining the component moving speed and the bogie model switching speed corresponding to the train speed information according to the pre-established mapping relationship between train speed and track movement and wheel set relationship; Controlling the display of the bogie model according to the bogie model switching speed, and controlling the display and movement of the track line model and the next cycle track line model on the display interface according to the component moving speed.

3. The train operation simulation method according to claim 1, wherein It also includes: Obtaining the original 3D model; The original 3D model includes: the original bogie model and the original track model; Performing a model surface deletion operation on each of the original 3D models to obtain an initial lightweight model; Deleting the invisible internal part of the initial lightweight model to obtain the bogie model and the track model.

4. The train operation simulation method according to claim 2, characterized in that The controlling the track line model and the next cycle track line model to be displayed on the display interface includes: Controlling the track line model and the next cycle track line model to be sequentially displayed below the bogie model in chronological order, and rendering the track line models whose Euclidean distance from the center of the bogie model is less than the first distance threshold; Correspondingly, it also includes: Deleting the track line models on the display interface whose distance from the center of the bogie model is greater than the second distance threshold.

5. The train operation simulation method according to claim 4, wherein Rendering the track line model includes: Determining the resource allocation scheme for each node according to the position and importance of each node of the model to be rendered in the environment; Rendering the track line model according to the resource allocation scheme.

6. The train operation simulation method according to claim 1, wherein, The calling the current track line model, the next cycle track line model and the bogie model to be displayed on the display interface includes: Load the content to be displayed in the display interface in a dynamic loading manner to preferentially load the current track line model, the next-cycle track line model, and the bogie model.

7. A train operation simulation device, characterized in that, It includes: An acquisition module for acquiring train speed information and train position information; A determination module for determining operation scenario information according to the train position information and the train speed information; The operation scenario information includes the current operation scenario and the next-cycle operation scenario, and the operation scenario information is the scenario corresponding to the train position information; wherein, the operation scenario information is the scenario where the current train is located; A generation module for generating a current track line model according to the track model and the current operation scenario; determining whether the current operation scenario is consistent with the next-cycle operation scenario; if not, generating a next-cycle track line model according to the track model and the next-cycle operation scenario; if consistent, linking the call function for the next-cycle track line model to the current track line model; determining the bogie model corresponding to the train speed information; A display module for calling the current track line model, the next-cycle track line model, and the bogie model to be displayed in the display interface to simulate the real-time operation of the train; wherein, the current track line model and the next-cycle track line model move horizontally in the display interface and the moving speed corresponds to the train speed information.

8. A train operation simulation device, characterized in that, It includes a memory for storing computer programs; A processor for implementing the steps of the train operation simulation method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the train operation simulation method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Rail vehicle driving simulation system and device

    CN110033667A

  • Rail transit train three-dimensional animation simulation method, storage medium and equipment

    CN117078812A