Water traffic accident scene deduction method and system
By using sandbox games and virtual reality technology in the scenario deduction of water traffic accidents, 3D models and scene elements are constructed, and combined with film and television editing technology, the problem of lack of authenticity and scientificity of water traffic accident restoration videos in the existing technology is solved, and rapid and real accident scenario simulation and database construction are achieved.
Patent Information
- Application Number
- CN202510294845.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-04-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult for the existing technology to produce real and scientific water traffic accident restoration videos in a short period of time, resulting in the lack of authenticity and scientificity of the accident restoration animations in the news media, which leads to misleading.
Using the design concept and virtual reality technology of sandbox games, by constructing 3D models and scene elements, combining film and television editing technology, the original video files restored from the accident scene are edited and synthesized, and the accident information is matched and processed to generate an accident database.
It realizes rapid, realistic and scientific scenario simulation of water traffic accidents, generates realistic simulation videos, supports accident analysis, prevention and emergency training, and provides technical support for relevant departments.
Smart Images

Figure CN119832128A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of scenario simulation, and in particular to a method and system for deducing a water traffic accident scenario. Background Art
[0003] At present, after some traffic accidents occur, although some accident data are available, there is a lack of effective means to produce accident reconstruction videos in a short period of time. The accident reconstruction animations broadcast by some news media lack authenticity and scientificity, resulting in a certain degree of misleading.
[0004] Therefore, how to provide a method and system for water traffic accident scenario simulation is a problem that needs to be solved urgently. Summary of the invention
[0005] The embodiment of the present invention provides a method and system for deducing a water traffic accident scenario to solve the problems in the prior art.
[0006] In order to have a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not a general review, nor is it intended to identify key / important components or to describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a prelude to the detailed description that follows.
[0007] According to a first aspect of an embodiment of the present invention, a method for simulating a water traffic accident scenario is provided.
[0008] In one embodiment, the method for simulating a water traffic accident scenario includes: Construct an accident scene based on the accident information obtained in advance, and build scene elements of the accident scene in combination with the sandbox game concept to obtain the original video file of the accident scene restoration; Using film and television editing technology, the original video file of the accident scene restoration is edited and synthesized with the video of the traffic accident scene to obtain an edited accident video file; The edited accident video files are matched with the accident information, and the processing results are stored to obtain an accident database.
[0009] In one embodiment, the accident scene is constructed based on the pre-acquired accident information, and the scene elements of the accident scene are constructed in combination with the sandbox game concept to obtain the original video file of the accident scene restoration, including: Selecting the accident type and the ship model according to the accident information, and determining whether to obtain the ship track data in the accident information and determining whether to encrypt the track data points, to obtain a first determination result and a second determination result; According to the spatiotemporal state of the ship's movement, an accident scene is created, and a 3D model is constructed using virtual reality technology. Combined with the concept of sandbox games, scene elements are freely constructed in the visualization window to obtain the original video file of the accident scene restoration.
[0010] In one embodiment, the first judgment result includes: If the ship track data is obtained from the accident information, the ship track data is imported; If the ship track data is not obtained in the accident information, the approximate track position shall be marked on the electronic nautical chart based on the basic information in the accident information.
[0011] In one embodiment, the second judgment result includes: If it is necessary to encrypt the track data points, the pre-configured ship motion mathematical model is called, and the track data is encrypted after calculation by the ship motion mathematical model; If there is no need to encrypt the track data points, the ship's motion process is generated directly.
[0012] In one embodiment, the accident scene is produced according to the spatiotemporal state of the ship's motion, a 3D model is constructed using virtual reality technology, and scene elements are freely constructed in a visualization window in combination with the concept of a sandbox game to obtain an original video file of the accident scene restoration, including: Extracting the spatiotemporal state data of the ship's motion from the pre-acquired accident information, and determining the specific position, motion state and environmental conditions of the ship at the time of the accident based on the spatiotemporal state data; According to the specific position, motion state and environmental conditions of the ship at the time of the accident, the ship motion model and environmental model are constructed using virtual reality technology; Use the visualization window of the virtual reality engine to build scene elements, construct a complete accident scene, and combine the concept of sandbox games for interactive design; The camera path and viewing angle are set in the virtual reality engine, and the scene is rendered using the rendering function of the virtual reality engine to generate a continuous sequence of video frames to obtain a complete accident scene restoration video.
[0013] In one embodiment, the accident information includes the accident time, location, longitude and latitude, accident type, accident cause and accident loss.
[0014] In one embodiment, the scene elements are environmental elements of the waters where the accident occurs, and the environmental elements include water elements, meteorological elements, navigation elements, disaster elements, and event elements.
[0015] In one embodiment, the video editing technology is used to edit and synthesize the original video file of the accident scene restoration and the video of the traffic accident scene, and the edited accident video file includes: Import the original video file of the accident scene restoration and the video of the traffic accident scene into the video editing software respectively; Use video editing software to edit and synthesize videos, and add special effects, dubbing and subtitles to the video files after preliminary editing; Use the video editing software to set the export parameters and generate the edited accident video file.
[0016] In one embodiment, the information matching process of the edited accident video file and the accident information and storing the processing results to obtain the accident database includes: Construct new accident information files and record accident information; Match the edited accident video file with the accident information file to obtain a complete accident file; The complete accident files are saved in a pre-configured database to obtain an accident database.
[0017] According to a second aspect of an embodiment of the present invention, a water traffic accident scenario simulation system is provided.
[0018] In one embodiment, the water traffic accident scenario simulation system includes: The accident scene restoration module is used to construct the accident scene based on the pre-acquired accident information, and to build the scene elements of the accident scene in combination with the sandbox game concept to obtain the original video file of the accident scene restoration; The accident video editing module is used to edit and synthesize the original video file of the accident scene restoration with the video of the traffic accident scene by using film and television editing technology to obtain an edited accident video file; The accident database construction module is used to match the edited accident video files with the accident information, and store the processing results to obtain the accident database.
[0019] According to a third aspect of an embodiment of the present invention, a computer device is provided.
[0020] In some embodiments, the computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0021] According to a fourth aspect of embodiments of the present invention, a computer-readable storage medium is provided.
[0022] In one embodiment, the computer-readable storage medium stores a computer program, and the computer program implements the steps of the above method when executed by a processor.
[0023] The technical solution provided by the embodiment of the present invention may have the following beneficial effects: The present invention is based on the design concept of sandbox games, utilizes virtual reality technology, and accurately simulates the water movement characteristics of ships by studying the ship dynamics model. It proposes a design and implementation method for ship traffic accident and search and rescue scenario simulation, which can realize the scenario simulation of ship traffic accidents, water search and rescue and other events. After the accident, a realistic and exquisite simulation film is generated as quickly as possible to restore the accident scene in an all-round and multi-angle manner. Through human-computer interaction, the entire accident process is quickly and semi-automatically restored, and an accident video is produced, thereby providing important technical support for relevant department personnel to carry out public publicity, accident analysis and prevention, and emergency training.
[0024] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0026] Figure 1 is a flow chart of a method for deducing a water traffic accident scenario according to an exemplary embodiment; Figure 2 is a principle block diagram of a water traffic accident scenario simulation system according to an exemplary embodiment; Figure 3 is a schematic diagram of a ship traffic accident and search and rescue scenario simulation system in a method for deducing a water traffic accident scenario according to an exemplary embodiment; Figure 4 It is a general architecture diagram of a ship traffic accident and search and rescue scenario simulation system in a method for deducing a water traffic accident scenario according to an exemplary embodiment; Figure 5 It is a flow chart of a ship traffic accident scenario simulation system in a method for deducing a water traffic accident scenario according to an exemplary embodiment; Figure 6 The figure is a schematic diagram showing the structure of a computer device according to an exemplary embodiment. DETAILED DESCRIPTION
[0027] The following description and accompanying drawings fully illustrate the specific embodiments of this article so that those skilled in the art can practice them. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The scope of the embodiments of this article includes the entire scope of the claims, as well as all available equivalents of the claims. Herein, the terms "first", "second", etc. are only used to distinguish one element from another, without requiring or implying any actual relationship or order between these elements. In fact, the first element can also be called the second element, and vice versa. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the structure, device or equipment including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also include elements inherent to such structure, device or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the structure, device or equipment including the elements. Each embodiment is described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other.
[0028] The terms "longitudinal", "lateral", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. in this document indicate the orientation or position relationship based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing this document and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In the description of this document, unless otherwise specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a mechanical connection or an electrical connection, it can also be the internal communication of two elements, it can be a direct connection, or it can be an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0029] As used herein, the term "plurality" means two or more than two, unless otherwise specified.
[0030] In this document, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B means: A or B.
[0031] In this article, the term "and / or" is a description of the association relationship between objects, indicating that three relationships may exist. For example, A and / or B means: A or B, or, A and B.
[0032] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0033] Each module in the device or system of the present application can be implemented in whole or in part by software, hardware, or a combination thereof. The above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to the above modules.
[0034] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0035] Figure 1 An embodiment of the method for deducing a water traffic accident scenario of the present invention is shown.
[0036] In this optional embodiment, the method for deducing a water traffic accident scenario includes: Step S101, constructing an accident scene based on the accident information obtained in advance, and building scene elements of the accident scene in combination with the sandbox game concept to obtain an original video file of the accident scene restoration; Step S102, using film and television editing technology, the original video file of the accident scene restoration and the video of the traffic accident scene are edited and synthesized to obtain an edited accident video file; Step S103, performing information matching processing on the edited accident video file and the accident information, and storing the processing result to obtain an accident database.
[0037] In this optional embodiment, the accident scene is constructed based on the pre-acquired accident information, and the scene elements of the accident scene are constructed in combination with the sandbox game concept to obtain the original video file of the accident scene restoration, including: Selecting the accident type and the ship model according to the accident information, and determining whether to obtain the ship track data in the accident information and determining whether to encrypt the track data points, to obtain a first determination result and a second determination result; According to the spatiotemporal state of the ship's movement, an accident scene is created, and a 3D model is constructed using virtual reality technology. Combined with the concept of sandbox games, scene elements are freely constructed in the visualization window to obtain the original video file of the accident scene restoration.
[0038] In this optional embodiment, the first judgment result includes: If the ship track data is obtained from the accident information, the ship track data is imported; If the ship track data is not obtained in the accident information, the approximate track position shall be marked on the electronic nautical chart based on the basic information in the accident information.
[0039] In this optional embodiment, the second judgment result includes: If it is necessary to encrypt the track data points, the pre-configured ship motion mathematical model is called, and the track data is encrypted after calculation by the ship motion mathematical model; If there is no need to encrypt the track data points, the ship's motion process is generated directly.
[0040] In this optional embodiment, the accident scene is produced according to the spatiotemporal state of the ship's motion, a 3D model is constructed using virtual reality technology, and scene elements are freely constructed in a visualization window in combination with the concept of a sandbox game, and the original video file of the accident scene restoration is obtained, including: Extracting the spatiotemporal state data of the ship's motion from the pre-acquired accident information, and determining the specific position, motion state and environmental conditions of the ship at the time of the accident based on the spatiotemporal state data; According to the specific position, motion state and environmental conditions of the ship at the time of the accident, the ship motion model and environmental model are constructed using virtual reality technology; Use the visualization window of the virtual reality engine to build scene elements, construct a complete accident scene, and combine the concept of sandbox games for interactive design; The camera path and viewing angle are set in the virtual reality engine, and the scene is rendered using the rendering function of the virtual reality engine to generate a continuous sequence of video frames to obtain a complete accident scene restoration video.
[0041] In this optional embodiment, the accident information includes the accident time, location, longitude and latitude, accident type, accident cause and accident loss.
[0042] In this optional embodiment, the scene elements are environmental elements of the waters where the accident occurs, and the environmental elements include water elements, meteorological elements, navigation elements, disaster elements and event elements.
[0043] In this optional embodiment, the video editing technology is used to edit and synthesize the original video file of the accident scene restoration and the video of the traffic accident scene, and the edited accident video file includes: Import the original video file of the accident scene restoration and the video of the traffic accident scene into the video editing software respectively; Use video editing software to edit and synthesize videos, and add special effects, dubbing and subtitles to the video files after preliminary editing; Use the video editing software to set the export parameters and generate the edited accident video file.
[0044] In this optional embodiment, the information matching process is performed on the edited accident video file and the accident information, and the processing result is stored to obtain the accident database, which includes: Construct new accident information files and record accident information; Match the edited accident video file with the accident information file to obtain a complete accident file; The complete accident files are saved in a pre-configured database to obtain an accident database.
[0045] In order to facilitate understanding of the above technical solutions of the present invention, the above technical solutions of the present invention are further described below from the perspective of architecture and principle, as follows: The present invention is based on technical methods such as virtual reality (VR) and ship motion mathematical models, and innovatively adopts the sandbox game mode to design and implement a ship traffic accident and search and rescue scenario simulation system, which can simulate and restore ship traffic accident scenarios, specifically including: 1. Demand analysis; According to the software engineering waterfall model, it is necessary to conduct a demand analysis for the ship traffic accident and search and rescue scenario simulation system. First, the functional structure of the system and the definition of user roles are clarified through use case analysis. The system is divided into four subsystems: ship accident and search and rescue scenario re-enactment subsystem, film and television post-editing subsystem, accident information management subsystem and ship accident simulation analysis subsystem; five types of users are designed: scenario builders, film and television editors, accident analysts, ordinary users and system administrators, such as Figure 3 shown.
[0046] Scenario builders only use the functions of the scenario reconstruction subsystem, including accident scenario construction, ship motion simulation and accident scenario generation. Accident scenario construction includes sub-function modules such as ship model selection, adding navigation elements and setting weather and sea conditions. Ship motion simulation includes importing track points and optimizing track data. The reconstructed scenario can be saved and exported as a video file by recording.
[0047] Film and television editors only use the functions of the film and television editing subsystem, including adding various animation effects, audio commentary, multi-language subtitles, on-site videos, recordings and photos, as well as various logos and annotations, so that the video files can incorporate more information related to the incident and edit them into accident films with narrative and strong sense of immersion.
[0048] Accident analysts only use the accident analysis subsystem to complete ship navigation and maneuvering simulation experiments through professional navigation simulators. Based on the imported accident scenarios, they analyze and judge some mistakes and illegal ship operation behaviors in the accidents, so as to further study measures to avoid accidents.
[0049] Ordinary users can only adapt to the information management subsystem to query and browse accident-related information.
[0050] System administrators can manage and maintain four subsystems, among which the model management, accident management, user management and system setting functions of the accident information management subsystem are only open to administrators.
[0051] (ii) system architecture; The ship traffic accident and search and rescue scenario simulation system adopts a hybrid architecture of browser, client and server, including presentation layer, application layer, service layer, data layer and basic layer. Figure 4 shown.
[0052] At the presentation layer, the interactive interface is designed according to the user roles and use case requirements. For accident scenario builders and film and television editing users, the scene re-enactment workstation and film and television editing workstation are designed, using the Windows operating system + GUI (Graphical User Interface) to provide interaction, and the corresponding hardware equipment and technical parameters are configured according to production needs; for system administrators and general users, the browser + mobile terminal mode is designed to manage and browse accident information; for accident analysis users, a professional navigation simulator is used to support accurate simulation of ship maneuvering behavior and movement process.
[0053] The application layer implements various system application function modules for the presentation layer and is divided into four subsystems. As the core of the system, the scene reconstruction subsystem provides the original video production function for the three-dimensional scene restoration of accidents, including three functional modules: accident scene construction, ship motion simulation, and accident scene generation; the video editing subsystem provides the functions of adding sound and picture effects to the original video, dubbing and subtitle production, and film clip generation to make the accident restoration video more storytelling; the accident information management subsystem can manage various models, accident data, system interfaces, parameters, and users of the system; the accident analysis subsystem mainly realizes the functions of accident simulation analysis and ship simulation based on the navigation simulator.
[0054] At the service layer, the system uses a variety of supporting software such as 3D physics engine, application middleware, data management system, ship motion mathematical model, and electronic chart engine to provide the application layer with services including 3D physics engine service, electronic chart service, track data interface service, data storage service, model interface service, and data analysis service, etc., thereby providing a software environment for the realization of application functions and building a bridge between the data layer and the application layer.
[0055] The data layer is designed to consist of six types of databases according to the functions of the application system, namely, 3D model file library, multimedia database, accident database, chart database, basic database and metadata database. The system database provides management for 3D model files, multimedia files, accident statistics, accident investigation reports, accident archives, electronic charts, basic data and metadata.
[0056] At the support layer, a hardware support environment is provided for the stable and smooth operation of the system. Servers, storage, network and security equipment are designed, as well as modules for collecting ship data.
[0057] (3) System process design; The main business process of the ship traffic accident scenario simulation system includes three stages: accident scenario construction, accident film production and accident information management. Figure 5 As shown: Phase 1. Accident scenario construction: (1) Start the accident scenario reconstruction subsystem and start building the accident scenario based on the collected accident information (such as the accident investigation report).
[0058] (2) Select the accident type based on known accident information; (3) Select a ship model based on known accident information; (4) Determine whether the ship track data has been obtained: (4.1) If yes, import the existing track points; (4.2) If not, then mark the approximate track position on the electronic nautical chart based on the information available; (5) Determine whether to encrypt track points: (5.1) If yes, then call the mathematical model of ship motion. After calculation, the model will encrypt the track points to improve the authenticity of the ship motion simulation; (5.2) If not, directly generate the ship motion process; (6) Create accident scenarios based on the spatiotemporal state of the ship's motion. Use the "sandbox game" mode to freely build scenarios in the visualization window, including the following two scenario elements: (6.1) Add navigation environment elements; (6.2) Set natural environment parameters; (7) After the construction is completed, the original video file of the accident scene restoration is generated.
[0059] (8) Determine whether it is necessary to produce an accident video: (8.1) If yes, proceed to stage 2; (8.2) If not, skip stage 2 and proceed to stage 3; Stage 2. Accident film production; (9) Start the film and television editing subsystem; (10) Add CG (Computer Graphics) special effects and sound effects, and add dubbing and subtitles.
[0060] (11) Edit the accident video by combining the existing on-site video and other audio and video clips with the original accident restoration video.
[0061] (12) After repeated revisions and improvements, the edited accident video file (accident film) is generated and enters Phase 3.
[0062] Phase 3. Accident information management; (13) Start the accident information management subsystem and create a new accident information file; (14) Input basic information of the accident, such as time, location, longitude and latitude, accident type, main cause of the accident, accident loss, etc.; (15) Import the accident video file that has been produced and match it with the accident information that has been created; (16) Create a map story that can display important information at each stage of the accident in a timeline using a combination of electronic charts, text and images; (17) Finally, the complete accident file will be saved in the accident database.
[0063] (iv) virtual reality technology; Virtual Reality (VR) is a technology that uses computer graphics, multimedia, human-computer interaction and other technologies to build an immersive scene experience for users. As an important part of simulation technology, virtual reality is the most cutting-edge and challenging cross-disciplinary subject in today's science. At present, virtual reality technology has achieved a lot of research results in various fields such as commercial development, education and scientific research, and is one of the important computer simulation technologies in the future. VR has three characteristics: immersion, interactivity and imagination: immersion refers to the virtual environment "deceiving" the human body's vision, hearing, smell, taste, touch and other organs to bring users a sense of presence; interactivity refers to providing users with a humanized human-computer operation interface and natural feedback in a virtual environment; imagination refers to the user's imagination of the future through changes in immersion and interactive behavior.
[0064] Currently, the commonly used virtual reality engines include Unity3D, Unreal Engine, CryEngine, etc. Among them, Unity3D has become an important virtual reality engine on the market due to its cross-platform, portability, convenient operation, and powerful performance. Unity3D is a hierarchical integrated development environment. A complete Unity3D program is composed of several scenes (Scene), and each scene includes many models (GameObject). The actions of the models are controlled by scripts, and finally the scene is presented and controlled by the camera (Camera).
[0065] Scene: The basic unit of Unity3D program. Each program is composed of several scenes, and the animation is switched between scenes through scripts.
[0066] Model (GameObject) and script: Unity3D program is based on object-oriented technology. All objects inherit from Object object, and the behavior of objects is implemented through scripts.
[0067] Camera: Controls the content presented to the user by controlling the order of the depth of the scene.
[0068] Unity3D also has a powerful physics engine that can simulate various physical phenomena in the real world and has unique advantages in building virtual reality scenes.
[0069] Among them, the basic data for constructing three-dimensional data models include: image data (DOM), DEM data, vector data, DLG data (CAD), place name data, waterway vector data, boundaries, rivers, waters, mountain data, landmark building data, etc.
[0070] Create a basic model by importing CAD files into 3dmax. Before importing, it is required to simplify the data, reduce vertices, simplify the number of CAD layers, and remove irrelevant data layers to avoid the data volume being too large after importing into 3dmax and being unable to operate normally and quickly. When making a model, import the sorted dwg file as a modeling reference line. The imported CAD lines can be frozen first to ensure that the position of the lines will not be offset. Create a building model based on the frozen lines, and the position of the created model must be consistent with the CAD file.
[0071] The imported CAD model should be appropriately streamlined, and the local structure can be deleted or merged; the joints should be seamlessly spliced without gaps; data redundancy should be minimized, and there should be no emphasis or overlap, no inclusion or intersection, and no obstructed invisible faces. Then the model construction is completed through steps such as structure production, mapping, and fine adjustment.
[0072] In addition, sandbox virtual scenario construction; Sandbox games evolved from sandbox games. The game scenes are composed of multiple map areas, including role-playing, action, shooting, driving and other game elements. The biggest feature of sandbox games is that they can change, influence or create the world. The present invention adopts the game design concept of sandbox games, can build accident scenarios in any space and time, and superimpose scene elements, ship models, character models, environmental information, event scripts and other elements in the UI interface, which has strong application innovation. At the same time, the virtual reality technology used is used to build a 3D model. Based on the physics engine of Unity, various model objects such as ports, docks, bridges, ships, personnel, and animation effects such as weather, sea conditions, fire, and explosions are designed and developed. All kinds of text, sound, pictures and other data obtained from the accident investigation are highly dynamically restored using 3D technology, so that the viewer has a strong sense of immersion. At the same time, adding a mathematical model algorithm with 6 degrees of freedom to the trajectory of ship movement can more realistically predict and fit the ship's motion behavior. The system uses a high-precision physics engine AGX, which is designed according to the principles of the sandbox physics engine. It focuses on the correct physical properties of each object and component and adds them to the simulator's training environment in real time. Its design focuses on controlling real-time performance. Key functions include: supporting multi-object physical collision effects, supporting friction based on materials and loads, and detailed calculations of ship interactions, groundings, etc. These functions are extremely useful for our analysis of ship accidents.
[0073] (V) Scenario development; 1. Construct the environmental elements of the water area where the accident occurred, mainly including five categories: water area elements, meteorological elements, navigation elements, disaster elements and event elements. The water environment is used to store various hydrological environments, such as water depth, water flow, waves, ice, tides, whirlpools, shoals, reefs, etc.; the meteorological environment stores meteorological elements such as sunlight, clouds, fog, wind, rain, snow, lightning, etc.; the navigation environment is divided into port environment elements, river environment elements, offshore water environment elements, etc.; disaster elements mainly include natural disasters and scene elements such as fire and public safety accidents; event elements include hull damage elements, visible equipment damage or failure elements, etc. The specific types of scene elements constructed are shown in Table 1.
[0074] Table 1 Scene element types
[0075] 2. Construct virtual three-dimensional scenes of several key coastal and inland ports.
[0076] 3. Ship model construction: ship models are mainly customized based on the current domestic main ships. Including inland ships and seagoing ships. Among them, the seagoing ship hull model is customized according to the provisions of the "Overall Design Specifications for Seaports" on ship design scales. There are certain differences between inland ship models and seagoing ships, and they are mainly customized based on the actual appearance and structure of inland ships.
[0077] Ship motion simulation can calculate the ship motion process in real time. It can calculate and simulate the dynamic effects of the interaction between the ship and the surrounding environment during navigation, such as the effect of docking, sinking, entering the confluence waters, some environmental effects such as ice, wind and waves, the effect of loading and unloading cargo, and the effect of energy and power.
[0078] 4. Search and rescue equipment model construction. Search and rescue equipment model management mainly manages search and rescue equipment models such as search and rescue ships and search and rescue aircraft.
[0079] 5. Construction of water facility models. Water facilities are offshore oil and gas development facility model libraries, which mainly store models of offshore oil field drilling platforms and docks. Offshore drilling platforms are offshore structures mainly used for drilling wells; docks are hydraulic structures used for repairing and building ships. Water facility models are static models that basically do not move.
[0080] 6. Character object model construction. In order to realistically restore the scene when a water traffic accident occurs, this system adds some character object models to be rescued on the ship. Including crew members, captains, engineers, the elderly, middle-aged people, young people, children, etc. (including men and women). Their behaviors when an accident occurs can be simulated, such as calling for help, swimming, running, climbing, jumping, panicking, crying, and thanking. At the same time, in the search and rescue scenario simulation, models of rescuers such as divers and engineers are indispensable. Therefore, a series of actions and behaviors of rescuers at work are also simulated.
[0081] 7. Re-enactment simulation: In the re-enactment simulation scene, you can call existing templates for use, modification and saving. You can also create new accidents by setting route information, navigation parameters, lighting environment, water environment, ship type, and weather conditions. You can also quickly place preset models through model search, and type in video materials, pictures and text materials related to the accident. The ships in the scene can be linked to the electronic sea and river map in real time. The timeline can control the running, pausing and restarting of the scene, and display the preview of parameters and maximize and minimize the page.
[0082] Figure 2 An embodiment of the water traffic accident scenario simulation system of the present invention is shown.
[0083] In this optional embodiment, the water traffic accident scenario simulation system includes: The accident scene restoration module 201 is used to construct an accident scene based on the accident information obtained in advance, and to build scene elements of the accident scene in combination with the sandbox game concept to obtain an original video file of the accident scene restoration; The accident video editing module 202 is used to edit and synthesize the original video file of the accident scene restoration and the video of the traffic accident scene by using film and television editing technology to obtain an edited accident video file; The accident database construction module 203 is used to perform information matching processing on the edited accident video file and the accident information, and store the processing results to obtain the accident database.
[0084] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store static information and dynamic information data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the steps in the above method embodiment are implemented.
[0085] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0086] In addition, the present invention also provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiment when executing the computer program.
[0087] In addition, the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiment are implemented.
[0088] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0089] The present invention is not limited to the structures which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A method for simulating a water traffic accident scenario, characterized in that: include: Construct an accident scene based on the accident information obtained in advance, and build scene elements of the accident scene in combination with the sandbox game concept to obtain the original video file of the accident scene restoration; Using film and television editing technology, the original video file of the accident scene restoration is edited and synthesized with the video of the traffic accident scene to obtain an edited accident video file; The edited accident video files are matched with the accident information, and the processing results are stored to obtain an accident database.
2. The method for simulating a water traffic accident scenario according to claim 1, characterized in that: The accident scene is constructed based on the accident information obtained in advance, and the scene elements of the accident scene are constructed in combination with the sandbox game concept, and the original video file of the accident scene restoration is obtained, including: Select the accident type and the ship model according to the accident information, and determine whether to obtain the ship track data in the accident information and whether to encrypt the track data points, to obtain a first determination result and a second determination result; According to the spatiotemporal state of the ship's movement, an accident scene is created, and a 3D model is constructed using virtual reality technology. Combined with the concept of sandbox games, scene elements are freely constructed in the visualization window to obtain the original video file of the accident scene restoration.
3. The method for simulating a water traffic accident scenario according to claim 2, characterized in that: The first judgment result includes: If the ship track data is obtained from the accident information, the ship track data is imported; If the ship track data is not obtained in the accident information, the approximate track position shall be marked on the electronic nautical chart based on the basic information in the accident information.
4. The method for simulating a water traffic accident scenario according to claim 2, characterized in that: The second judgment result includes: If it is necessary to encrypt the track data points, the pre-configured ship motion mathematical model is called, and the track data is encrypted after calculation by the ship motion mathematical model; If there is no need to encrypt the track data points, the ship's motion process is generated directly.
5. The method for simulating a water traffic accident scenario according to claim 2, characterized in that: The accident scene is made according to the spatiotemporal state of the ship's movement, a 3D model is constructed using virtual reality technology, and scene elements are freely constructed in the visualization window in combination with the concept of sandbox games. The original video file of the accident scene restoration is obtained, including: Extracting the spatiotemporal state data of the ship's motion from the pre-acquired accident information, and determining the specific position, motion state and environmental conditions of the ship at the time of the accident based on the spatiotemporal state data; According to the specific position, motion state and environmental conditions of the ship at the time of the accident, the ship motion model and environmental model are constructed using virtual reality technology; Use the visualization window of the virtual reality engine to build scene elements, construct a complete accident scene, and combine the concept of sandbox games for interactive design; The camera path and viewing angle are set in the virtual reality engine, and the scene is rendered using the rendering function of the virtual reality engine to generate a continuous sequence of video frames to obtain a complete accident scene restoration video.
6. The method for simulating a water traffic accident scenario according to claim 5, characterized in that: The accident information includes the accident time, location, longitude and latitude, accident type, accident cause and accident loss.
7. The method for simulating a water traffic accident scenario according to claim 1, characterized in that: The scene elements are environmental elements of the waters where the accident occurs, and the environmental elements include water elements, meteorological elements, navigation elements, disaster elements and event elements.
8. The method for simulating a water traffic accident scenario according to claim 1, characterized in that: The video editing technology is used to edit and synthesize the original video file of the accident scene restoration and the video of the traffic accident scene, and the edited accident video file includes: Import the original video file of the accident scene restoration and the video of the traffic accident scene into the video editing software respectively; Use video editing software to edit and synthesize videos, and add special effects, dubbing and subtitles to the video files after preliminary editing; Use the video editing software to set the export parameters and generate the edited accident video file.
9. The method for simulating a water traffic accident scenario according to claim 1, characterized in that: The accident video file after editing is matched with the accident information, and the processing result is stored to obtain the accident database including: Construct new accident information files and record accident information; Match the edited accident video file with the accident information file to obtain a complete accident file; The complete accident files are saved in a pre-configured database to obtain an accident database.
10. A water traffic accident scenario simulation system, characterized in that: include: The accident scene restoration module is used to construct the accident scene based on the pre-acquired accident information, and to build the scene elements of the accident scene in combination with the sandbox game concept to obtain the original video file of the accident scene restoration; The accident video editing module is used to edit and synthesize the original video file of the accident scene restoration with the video of the traffic accident scene by using film and television editing technology to obtain an edited accident video file; The accident database construction module is used to match the edited accident video files with the accident information, and store the processing results to obtain the accident database.
Citation Information
Patent Citations
Traffic accident handling method and traffic accident handling device
CN105761500A
Intelligent fire-fighting auxiliary combat command system and method
CN111814336A
Water traffic accident track simulation method based on spatial data fusion
CN112150616A
Maritime collision accident reproduction method based on sea-land integrated three-dimensional space information system
CN115330961A
Interactive live-action three-dimensional dynamic digital scenario accident investigation and restoration implementation method and application system
CN117152392A