Driving training scene event editing method and related equipment
Through the use of component libraries and preset templates, users can quickly build diverse traffic accident scenarios, solve the problems of low development efficiency and complexity caused by manual code writing in the existing technology, and improve the flexibility and efficiency of scenario construction. Improves the realism and interactivity of the simulated scene.
Patent Information
- Application Number
- CN202411095870.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-15
AI Technical Summary
Existing traffic accident simulations need to be implemented by manually writing complex code, which leads to developers having high programming skills, understanding diversity and complexity, resulting in cumbersome and time-consuming development process, and pre-written code cannot flexibly cope with various types. Emergencies and different types of accident scenarios have reduced development efficiency.
By establishing a component library and generating preset traffic accident scenario templates, users can build traffic accident scenarios by dragging and dropping components and selecting templates, providing ready-made scenario components and templates. Users do not need to write complex code to quickly build diversified traffic Accident scenarios, flexibly respond to different types of accident simulation needs.
It significantly reduces the technical threshold and complexity of development, improves the flexibility and adaptability of scene construction, shortens the time of scene construction, improves the development efficiency and response speed, and improves the realism and interactivity of traffic accident simulation scenarios, so as to make More non-technical personnel can participate in scene production, reducing maintenance costs.
Smart Images

Figure CN118963744A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control technology, and in particular to a method for editing driving training scenario events and related equipment. Background Art
[0002] The background of driving test teaching and training involves the learning and assessment of driving skills, with the aim of ensuring that students have the ability to drive safely and the knowledge to operate in compliance. Traditional driving test teaching methods include theoretical learning, real-car practice and simulator training. With the advancement of technology, driving test training has gradually adopted more advanced methods to improve training effectiveness and efficiency. The introduction of 3D simulators has brought a new approach to driving test training. Through virtual reality technology, students can conduct driving training in a highly simulated environment. 3D simulators can simulate various driving scenarios and weather conditions, including urban roads, highways, night driving, etc., enabling students to cope with complex driving situations in a safe environment. The simulator can monitor students' driving behavior in real time and provide detailed feedback and evaluation reports to help students correct mistakes in time and improve their driving skills.
[0003] However, existing traffic accident simulations usually need to be implemented by manually writing complex codes. This not only requires developers to have high programming skills, but also requires a deep understanding of various scenarios and details of traffic accidents, resulting in a cumbersome and time-consuming development process. Due to the diversity and complexity of traffic accident scenarios, pre-written codes are often unable to flexibly cope with various emergencies and different types of accident scenarios. Developers need to constantly adjust and modify the code to adapt to new requirements, which reduces development efficiency. Summary of the invention
[0004] The embodiments of the present application provide a method for editing driving training scenario events and related equipment, which can solve the problem that existing traffic accident simulations usually need to be implemented by manually writing complex codes. This not only requires developers to have high programming skills, but also requires a deep understanding of various scenarios and details of traffic accidents, resulting in a cumbersome and time-consuming development process. Due to the diversity and complexity of traffic accident scenarios, pre-written codes are often unable to flexibly respond to various emergencies and different types of accident scenarios. Developers need to constantly adjust and modify the code to adapt to new requirements, which reduces the problem of development efficiency.
[0005] A first aspect of an embodiment of the present application provides a method for editing a driving training scenario event, comprising:
[0006] Establishing a component library, wherein the component library includes various traffic elements;
[0007] Generate multiple preset traffic accident scene templates;
[0008] Receive user operation instructions to build traffic accident scenarios by dragging and dropping components and selecting templates.
[0009] Optionally, it also includes:
[0010] Receiving a user-defined template, wherein the user-defined template is a template in which a user saves a custom-created accident scene;
[0011] A user parameter configuration is received, where the user parameter configuration is a parameter configuration that a user can perform on each component in the scene.
[0012] Optionally, it also includes:
[0013] Recommend appropriate components and configurations based on user selections and historical data.
[0014] Optionally, it also includes:
[0015] Get the user's descriptive text;
[0016] Parsing the descriptive text to generate a parsed document;
[0017] An accident scenario is created based on the parsed document.
[0018] Optionally, it also includes:
[0019] Set up interactions and dependencies between components;
[0020] When the user selects a component, obtaining the associated components of the component;
[0021] The associated component and the component selected by the user are added to the scene at the same time.
[0022] Optionally, also include:
[0023] Receive collaborative editing instructions of scene events from multiple users;
[0024] Based on the collaborative editing instructions of the scene events, the editing instructions of multiple users are displayed in the same scene.
[0025] A second aspect of an embodiment of the present application provides a driving training scenario event editing device, comprising:
[0026] A building unit, used for building a component library, wherein the component library includes various traffic elements;
[0027] A generating unit, used to generate a plurality of preset traffic accident scene templates;
[0028] The construction unit is used to receive user operation instructions to construct a traffic accident scene by dragging and dropping components and selecting templates.
[0029] A third aspect of an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the processor is configured to implement the steps of the above-mentioned driving training scenario event editing method when executing a computer program stored in the memory.
[0030] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above-mentioned method for editing driving training scenario events when executed by a processor.
[0031] In summary, the driving training scene event editing method provided in the embodiment of the present application establishes a component library, which includes various traffic elements; generates multiple preset traffic accident scene templates; receives user operation instructions, and constructs traffic accident scenes by dragging and dropping components and selecting templates. By providing ready-made scene components and templates, users can quickly build a variety of traffic accident scenes without writing complex codes, which significantly reduces the technical threshold and complexity of development. Users can freely combine and adjust scene components and templates according to actual needs, flexibly respond to different types of accident simulation needs, and improve the flexibility and adaptability of scene construction. The use of scene components and templates greatly shortens the time of scene construction, and users can complete the production of multiple accident scenes in a short time, effectively improving development efficiency and response speed. Through highly simulated scene components and real-time simulation engines, the realism and interactivity of traffic accident simulation scenes are significantly improved, allowing trainees to feel and handle accident scenarios more realistically and enhance training effects. Due to the standardized and modular design of scene components and templates, later maintenance and expansion become simpler and more efficient, and users can easily add new components or update existing templates, reducing maintenance costs. Easy-to-use scene editing tools and intuitive user interfaces enable more non-technical personnel to participate in the production and use of traffic accident simulation scenarios, promoting the popularization and widespread application of technology.
[0032] Correspondingly, the driving training scenario event editing device, electronic device and computer-readable storage medium provided in the embodiments of the present invention also have the above-mentioned technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A flowchart of a possible method for editing driving training scenario events provided in an embodiment of the present application;
[0034] Figure 2 A schematic structural block diagram of a possible driving training scenario event editing device provided in an embodiment of the present application;
[0035] Figure 3 A schematic diagram of the hardware structure of a possible driving training scenario event editing device provided in an embodiment of the present application;
[0036] Figure 4 A schematic structural block diagram of a possible electronic device provided in an embodiment of the present application;
[0037] Figure 5 A schematic structural block diagram of a possible computer-readable storage medium provided for an embodiment of the present application. DETAILED DESCRIPTION
[0038] The embodiments of the present application provide a method for editing driving training scenario events and related equipment, which can solve the problem that existing traffic accident simulations usually need to be implemented by manually writing complex codes. This not only requires developers to have high programming skills, but also requires a deep understanding of various scenarios and details of traffic accidents, resulting in a cumbersome and time-consuming development process. Due to the diversity and complexity of traffic accident scenarios, pre-written codes are often unable to flexibly respond to various emergencies and different types of accident scenarios. Developers need to constantly adjust and modify the code to adapt to new requirements, which reduces the problem of development efficiency.
[0039] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0040] See also Figure 1 , which is a flowchart of a driving training scenario event editing method provided in an embodiment of the present application, and may specifically include: S110-S130.
[0041] S110, establishing a component library, wherein the component library includes various traffic elements.
[0042] For example, the component library includes a variety of traffic elements, such as vehicles, pedestrians, traffic lights, road signs, roadblocks, etc. These elements are the basic building blocks in traffic scenes, and each element has been carefully modeled to ensure realism in the simulation. Components can adjust their parameters as needed, such as the speed of vehicles, driving paths, and behavior patterns of pedestrians. This parametric design enables components to adapt to different scene requirements and provide greater flexibility.
[0043] S120, generating a plurality of preset traffic accident scene templates.
[0044] The preset traffic accident scenario templates cover common types of traffic accidents, such as rear-end collisions, side collisions, and red light running accidents. Each template is designed based on actual traffic accident data and expert experience to ensure the authenticity and representativeness of the scenario. Users can modify the preset templates and adjust the specific conditions of the accident, such as time, location, weather, etc., to generate scenarios that meet specific training needs.
[0045] S130, receiving user operation instructions to construct a traffic accident scene by dragging and dropping components and selecting templates.
[0046] For example, through a graphical interface, users can directly drag and drop components into the virtual scene and adjust their positions and behaviors. Users can also select appropriate templates and customize them as needed. The system generates a 3D preview of the scene in real time and provides interactive feedback, so that users can immediately see the effect of the adjusted scene. This instant feedback mechanism greatly improves the efficiency and accuracy of scene construction.
[0047] It is understandable that by establishing a component library and template library, developers no longer need to write complex code from scratch, saving a lot of time and effort. The modular design allows complex traffic accident scenarios to be assembled quickly and can flexibly respond to new requirements. Without in-depth programming skills, users with non-technical backgrounds can also build complex traffic accident scenarios through an intuitive operation interface. This not only expands the user base, but also speeds up the development and iteration of scenarios. Through refined components and templates, trainees can train in a highly simulated virtual environment and experience various complex traffic accident scenarios. This highly simulated training can help trainees improve their ability to deal with emergencies and avoid dangerous situations in reality. Users can customize traffic accident scenarios according to the specific circumstances of the trainees, conduct targeted training, and strengthen the trainees' reaction ability in specific scenarios. This personalized training helps to improve the overall driving skills of the trainees. Reusability of components and templates: The established component library and template library can be reused in different scenarios, reducing the duplication of development and improving the scalability of the system. New types of traffic accidents can be realized by simply extending the existing library without developing from scratch. With the addition of more components and templates, the system can be continuously expanded to meet the more complex traffic accident simulation needs in the future.
[0048] In summary, the driving training scene event editing method provided in the above embodiment establishes a component library, which includes various traffic elements; generates multiple preset traffic accident scene templates; receives user operation instructions, and constructs traffic accident scenes by dragging and dropping components and selecting templates. By providing ready-made scene components and templates, users can quickly build a variety of traffic accident scenes without writing complex codes, which significantly reduces the technical threshold and complexity of development. Users can freely combine and adjust scene components and templates according to actual needs, flexibly respond to different types of accident simulation needs, and improve the flexibility and adaptability of scene construction. The use of scene components and templates greatly shortens the time of scene construction, and users can complete the production of multiple accident scenes in a short time, effectively improving development efficiency and response speed. Through highly simulated scene components and real-time simulation engines, the realism and interactivity of traffic accident simulation scenes are significantly improved, so that trainees can feel and handle accident scenarios more realistically and enhance training effects. Due to the standardized and modular design of scene components and templates, later maintenance and expansion become simpler and more efficient, and users can easily add new components or update existing templates, reducing maintenance costs. Easy-to-use scene editing tools and intuitive user interfaces enable more non-technical personnel to participate in the production and use of traffic accident simulation scenarios, promoting the popularization and widespread application of technology.
[0049] According to some embodiments, further comprising:
[0050] Receiving a user-defined template, wherein the user-defined template is a template in which a user saves a custom-created accident scene;
[0051] A user parameter configuration is received, where the user parameter configuration is a parameter configuration that a user can perform on each component in the scene.
[0052] According to some embodiments, further comprising:
[0053] Recommend appropriate components and configurations based on user selections and historical data.
[0054] For example, AI intelligent recommendation function is added to recommend appropriate components and configurations based on user selection and historical data. For example, when a user selects an intersection component, the system will automatically recommend related traffic lights, pedestrian walkways, etc. Dynamic components are introduced to automatically generate randomly changing scenes based on set parameters. For example, if the traffic flow on a certain road is set, the system can automatically generate traffic that meets the conditions.
[0055] Also includes:
[0056] Get the user's driving record information;
[0057] When it is detected that there is a potential accident ahead of the vehicle driven by the user, analyzing the user's current ideal operation information and collecting the user's current actual operation information;
[0058] In the case where the current actual operation information of the user does not match the ideal operation information, the content of the current accident potential is recorded as the target accident scenario;
[0059] The target accident scenario is recommended to the user.
[0060] Also includes:
[0061] A traffic accident scene is automatically constructed according to the target accident scene.
[0062] Exemplarily, the system obtains the user's driving data in real time by connecting to the vehicle's driving recorder or other sensors, including information such as speed, braking, steering wheel rotation, and vehicle distance. These data provide a basis for subsequent analysis and scenario construction. Based on traffic regulations and best driving practices, the system calculates the ideal operation information in specific situations, such as the current speed, braking force, steering angle, etc. that should be maintained. The system also collects the user's actual operation data at the same time and compares it with the ideal operation information to determine whether the user's operation meets the requirements of safe driving. When the system detects that there is a potential accident hazard in front of the user (such as a sudden deceleration of the vehicle in front or an obstacle), it immediately analyzes whether the user's operation meets the ideal response. If not, it is determined that the user has a driving error or potential accident risk. When the actual operation does not match the ideal operation, the system records the current accident hazard as a target accident scene, including relevant environmental conditions, driving behavior, traffic conditions and other detailed information. Based on the recorded target accident scene, the system generates relevant training suggestions and recommends the scene to the user as the focus of subsequent training. The system automatically uses the data in the target accident scene to build a realistic traffic accident simulation scene for users to conduct targeted exercises in virtual training. Therefore, by acquiring the user's driving record data in real time and analyzing the difference between actual operation and ideal operation, the system can accurately identify the user's weak links in driving. This makes the training not only have general driving training content, but also can be personalized and strengthened for the user's specific driving behavior. The system can reproduce the accident potential situations that the user has faced and build them into training scenarios, allowing users to practice repeatedly in a relatively safe virtual environment until they master the correct response methods. This accurate simulation greatly improves the user's ability to deal with similar situations in reality. By analyzing the user's driving data and potential accident hazards, the system can warn the user before he actually faces danger and strengthen the corresponding response skills during training. This can not only reduce the accident rate in actual driving, but also help users better understand and improve their driving behavior through post-simulation training. Data-driven scenario generation: The system automatically generates accident scenarios based on the user's actual driving data. This data-driven scenario generation method ensures the authenticity and relevance of the scenarios, making the training more practical. By recording and analyzing the user's driving behavior, the system can automatically build accident scenarios related to the user's actual operation, reduce manual participation, and improve the automation level of the system. Based on the user's historical driving behavior, the system can intelligently recommend the accident scenarios that most require intensive training, making the training process more efficient and avoiding non-targeted repetitive training.
[0063] According to some embodiments, further comprising:
[0064] Automatically generate randomly changing scenes according to the set parameters.
[0065] According to some embodiments, further comprising:
[0066] Get the user's descriptive text;
[0067] Parsing the descriptive text to generate a parsed document;
[0068] An accident scenario is created based on the parsed document.
[0069] According to some embodiments, further comprising:
[0070] Set up interactions and dependencies between components;
[0071] When the user selects a component, obtaining the associated components of the component;
[0072] The associated component and the component selected by the user are added to the scene at the same time.
[0073] For example, set up interactions and dependencies between components. For example, the state of a traffic light can affect the behavior of vehicles and pedestrians, and a vehicle collision can trigger a traffic jam and emergency response. Provide a scene preview function so that users can view and adjust the scene effect in real time during the construction process to ensure that the final scene meets expectations.
[0074] According to some embodiments, further comprising:
[0075] Receive collaborative editing instructions of scene events from multiple users;
[0076] Based on the collaborative editing instructions of the scene events, the editing instructions of multiple users are displayed in the same scene.
[0077] Also includes:
[0078] Receive collaborative editing instructions of scene events from multiple users;
[0079] Based on the collaborative editing instructions of the scene events, the editing instructions of multiple users are displayed in the same scene.
[0080] The above describes the method for editing driving training scenario events in the embodiment of the present application. The following describes the device for editing driving training scenario events in the embodiment of the present application.
[0081] See also Figure 2 , an embodiment of the driving training scenario event editing device in the embodiment of the present application may include:
[0082] A building unit 201 is used to build a component library, wherein the component library includes various traffic elements;
[0083] A generating unit 202, used to generate a plurality of preset traffic accident scene templates;
[0084] The construction unit 203 is used to receive user operation instructions to construct a traffic accident scene by dragging and dropping components and selecting templates.
[0085] In summary, the driving training scene event editing device provided in the above embodiment establishes a component library, which includes various traffic elements; generates multiple preset traffic accident scene templates; receives user operation instructions, and constructs traffic accident scenes by dragging and dropping components and selecting templates. By providing ready-made scene components and templates, users can quickly build a variety of traffic accident scenes without writing complex codes, which significantly reduces the technical threshold and complexity of development. Users can freely combine and adjust scene components and templates according to actual needs, flexibly respond to different types of accident simulation needs, and improve the flexibility and adaptability of scene construction. The use of scene components and templates greatly shortens the time of scene construction, and users can complete the production of multiple accident scenes in a short time, effectively improving development efficiency and response speed. Through highly simulated scene components and real-time simulation engines, the realism and interactivity of traffic accident simulation scenes are significantly improved, so that trainees can feel and handle accident scenarios more realistically and enhance training effects. Due to the standardized and modular design of scene components and templates, later maintenance and expansion become simpler and more efficient, and users can easily add new components or update existing templates, reducing maintenance costs. Easy-to-use scene editing tools and intuitive user interfaces enable more non-technical personnel to participate in the production and use of traffic accident simulation scenarios, promoting the popularization and widespread application of technology.
[0086] above Figure 2 The driving training scenario event editing device in the embodiment of the present application is described from the perspective of modular functional entities. The driving training scenario event editing device in the embodiment of the present application is described in detail from the perspective of hardware processing. Please refer to Figure 3 , an embodiment of the driving training scenario event editing device 300 in the embodiment of the present application includes:
[0087] An input device 301, an output device 302, a processor 303 and a memory 304, wherein the number of the processor 303 can be one or more. Figure 3 In some embodiments of the present application, the input device 301, the output device 302, the processor 303 and the memory 304 may be connected via a bus or other means, wherein: Figure 3 The example of connecting through bus is taken in the following.
[0088] Wherein, by calling the operation instruction stored in the memory 304, the processor 303 is used to perform the following steps:
[0089] Establishing a component library, wherein the component library includes various traffic elements;
[0090] Generate multiple preset traffic accident scene templates;
[0091] Receive user operation instructions to build traffic accident scenarios by dragging and dropping components and selecting templates.
[0092] Optionally, it also includes:
[0093] Receiving a user-defined template, wherein the user-defined template is a template in which a user saves a custom-created accident scene;
[0094] A user parameter configuration is received, where the user parameter configuration is a parameter configuration that a user can perform on each component in the scene.
[0095] Optionally, it also includes:
[0096] Recommend appropriate components and configurations based on user selections and historical data.
[0097] Optionally, it also includes:
[0098] Get the user's descriptive text;
[0099] Parsing the descriptive text to generate a parsed document;
[0100] An accident scenario is created based on the parsed document.
[0101] Optionally, it also includes:
[0102] Set up interactions and dependencies between components;
[0103] When the user selects a component, obtaining the associated components of the component;
[0104] The associated component and the component selected by the user are added to the scene at the same time.
[0105] Optionally, also include:
[0106] Receive collaborative editing instructions of scene events from multiple users;
[0107] Based on the collaborative editing instructions of the scene events, the editing instructions of multiple users are displayed in the same scene.
[0108] By calling the operation instructions stored in the memory 304, the processor 303 is also used to execute Figure 1 Any method in the corresponding embodiment.
[0109] See also Figure 4 , Figure 4 A schematic diagram of an embodiment of an electronic device provided in an embodiment of the present application.
[0110] like Figure 4 As shown, an embodiment of the present application provides an electronic device, including a memory 410, a processor 420, and a computer program 411 stored in the memory 420 and executable on the processor 420. When the processor 420 executes the computer program 411, the following steps are implemented:
[0111] Establishing a component library, wherein the component library includes various traffic elements;
[0112] Generate multiple preset traffic accident scene templates;
[0113] Receive user operation instructions to build traffic accident scenarios by dragging and dropping components and selecting templates.
[0114] Optionally, it also includes:
[0115] Receiving a user-defined template, wherein the user-defined template is a template in which a user saves a custom-created accident scene;
[0116] A user parameter configuration is received, where the user parameter configuration is a parameter configuration that a user can perform on each component in the scene.
[0117] Optionally, it also includes:
[0118] Recommend appropriate components and configurations based on user selections and historical data.
[0119] Optionally, it also includes:
[0120] Get the user's descriptive text;
[0121] Parsing the descriptive text to generate a parsed document;
[0122] An accident scenario is created based on the parsed document.
[0123] Optionally, it also includes:
[0124] Set up interactions and dependencies between components;
[0125] When the user selects a component, obtaining the associated components of the component;
[0126] The associated component and the component selected by the user are added to the scene at the same time.
[0127] Optionally, also include:
[0128] Receive collaborative editing instructions of scene events from multiple users;
[0129] Based on the collaborative editing instructions of the scene events, the editing instructions of multiple users are displayed in the same scene.
[0130] In the specific implementation process, when the processor 420 executes the computer program 411, it can achieve Figure 1 Any implementation manner in the corresponding embodiments.
[0131] Since the electronic device introduced in this embodiment is a device used to implement a driving training scenario event editing device in the embodiment of the present application, based on the method introduced in the embodiment of the present application, technical personnel in this field can understand the specific implementation method of the electronic device of this embodiment and its various variations. Therefore, how the electronic device implements the method in the embodiment of the present application is not introduced in detail here. As long as the equipment used by technical personnel in this field to implement the method in the embodiment of the present application is within the scope of protection of this application.
[0132] See also Figure 5 , Figure 5 A schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present application.
[0133] like Figure 5 As shown, this embodiment provides a computer-readable storage medium 500, on which a computer program 511 is stored. When the computer program 511 is executed by a processor, the following steps are implemented:
[0134] Establishing a component library, wherein the component library includes various traffic elements;
[0135] Generate multiple preset traffic accident scene templates;
[0136] Receive user operation instructions to build traffic accident scenarios by dragging and dropping components and selecting templates.
[0137] Optionally, it also includes:
[0138] Receiving a user-defined template, wherein the user-defined template is a template in which a user saves a custom-created accident scene;
[0139] A user parameter configuration is received, where the user parameter configuration is a parameter configuration that a user can perform on each component in the scene.
[0140] Optionally, it also includes:
[0141] Recommend appropriate components and configurations based on user selections and historical data.
[0142] Optionally, it also includes:
[0143] Get the user's descriptive text;
[0144] Parsing the descriptive text to generate a parsed document;
[0145] An accident scenario is created based on the parsed document.
[0146] Optionally, it also includes:
[0147] Set up interactions and dependencies between components;
[0148] When the user selects a component, obtaining the associated components of the component;
[0149] The associated component and the component selected by the user are added to the scene at the same time.
[0150] Optionally, also include:
[0151] Receive collaborative editing instructions of scene events from multiple users;
[0152] Based on the collaborative editing instructions of the scene events, the editing instructions of multiple users are displayed in the same scene.
[0153] In the specific implementation process, when the computer program 511 is executed by the processor, it can achieve Figure 1 Any implementation manner in the corresponding embodiments.
[0154] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0155] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0156] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0157] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0158] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0159] The present application also provides a computer program product, which includes computer software instructions. When the computer software instructions are executed on a processing device, the processing device is caused to execute the following Figure 1 The process in the driving training scenario event editing method in the corresponding embodiment.
[0160] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0161] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0162] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0163] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0164] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0165] If the integrated unit 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 this understanding, the technical solution of the present application is essentially 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0166] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for editing driving training scene events, characterized in that: The method comprises: Establishing a component library, wherein the component library includes various traffic elements; Generate multiple preset traffic accident scene templates; Receive user operation instructions to build traffic accident scenarios by dragging and dropping components and selecting templates.
2. The method according to claim 1, characterized in that Also includes: Receiving a user-defined template, wherein the user-defined template is a template in which a user saves a custom-created accident scene; A user parameter configuration is received, where the user parameter configuration is a parameter configuration that a user can perform on each component in the scene.
3. The method according to claim 2, characterized in that Also includes: Get the user's driving record information; When it is detected that there is a potential accident ahead of the vehicle driven by the user, analyzing the user's current ideal operation information and collecting the user's current actual operation information; In the case where the current actual operation information of the user does not match the ideal operation information, the content of the current accident potential is recorded as the target accident scenario; The target accident scenario is recommended to the user.
4. The method according to claim 3, characterized in that: Also includes: A traffic accident scene is automatically constructed according to the target accident scene.
5. The method according to claim 1, characterized in that Also includes: Get the user's descriptive text; Parsing the descriptive text to generate a parsed document; An accident scenario is created based on the parsed document.
6. The method according to claim 1, characterized in that Also includes: Set up interactions and dependencies between components; When the user selects a component, obtaining the associated components of the component; The associated component and the component selected by the user are added to the scene at the same time.
7. The method according to claim 1, characterized in that Also includes: Receive collaborative editing instructions of scene events from multiple users; Based on the collaborative editing instructions of the scene events, the editing instructions of multiple users are displayed in the same scene.
8. A driving training scene event editing device, characterized in that: include: A building unit, used for building a component library, wherein the component library includes various traffic elements; A generating unit, used to generate a plurality of preset traffic accident scene templates; The construction unit is used to receive user operation instructions to construct a traffic accident scene by dragging and dropping components and selecting templates.
9. An electronic device, comprising a memory and a processor, characterized in that: The processor is used to implement the steps of the driving training scenario event editing method according to any one of claims 1 to 7 when executing the computer program stored in the memory.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the driving training scenario event editing method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
VR-based building management method and device, and medium
CN119250482A
Enhanced closed scene capability evaluation method and system applied to intelligent driving training
CN120125077A
