Method and device for constructing simulation scene based on intelligent agent and simulation physics engine

By introducing agents and simulation physics engines into simulation scenario construction technology, the shortcomings of the existing technology in flexibility, intelligence and real-time interaction are solved, and more efficient simulation scenario construction and user interaction are achieved, which is suitable for complex and dynamically changing application needs.

CN119272535BActive Publication Date: 2025-03-07JIANGHAN UNIVERSITY +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411785945.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-03-07
Estimated Expiration
2044-12-06

AI Technical Summary

Technical Problem

The existing simulation scenario construction technology has shortcomings in flexibility, intelligence and real-time interaction, which is difficult to meet the complex and dynamic application needs, and is highly developed and maintained.

Method used

Using a method based on agents and simulation physics engines, by obtaining user scenario requirements information, the agent determines the simulation physics engine type and calls the corresponding engine, sets scene parameters to generate simulated scene data, and performs scene analysis and rendering, and finally extracts key data and converts it into a format that users can interact with.

Benefits of technology

It improves the intelligence level and interactive experience of simulated scenarios, allowing users to create and modify simulated scenarios through natural language descriptions, achieve real-time interaction, lowers the threshold for user use, and is suitable for non-professional user groups in various industry fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119272535B_ABST
    Figure CN119272535B_ABST
Patent Text Reader

Abstract

The present application relates to the field of computer simulation technology, and in particular to a method and device for constructing a simulation scene based on an intelligent agent and a simulation physics engine, wherein the method comprises: a target intelligent agent determines the type of simulation physics engine according to scene demand information of a user, and calls its corresponding target simulation physics engine; sets target scene parameters through the target intelligent agent, generates simulation scene data based on the target simulation physics engine and the target scene parameters, and performs scene analysis and rendering operations according to the simulation scene data through the target intelligent agent to generate a target simulation scene in a simulation sandbox; extracts key data of the simulation scene data, and converts it into scene description data in a target format, so that the user can interact with the simulation scene in real time according to the scene description data in the target format, thereby improving the intelligence level and interactive experience of the simulation scene, greatly reducing the user usage threshold, and being well applicable to non-professional user groups in various industry fields.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer simulation technology, and in particular to a method and device for constructing a simulation scene based on an intelligent agent and a simulation physics engine. Background Art

[0002] Simulation scene construction technology is widely used in education, scientific research, industrial design, virtual reality and other fields. Traditional construction methods simulate physical phenomena through preset rules and models. However, these methods are insufficient in flexibility, intelligence and real-time interaction, and are difficult to meet the complex and dynamically changing application requirements.

[0003] Existing simulation scene construction technology is highly dependent on preset rules and models and lacks the ability to adapt to complex scenarios, which limits the accuracy and authenticity of simulation results. In addition, user interactions in traditional virtual scenes rely on preset animation scripts, which are not scientific enough, thus limiting the application of scientific scenes.

[0004] In highly dynamic and complex applications, existing technologies are also very limited in terms of interactivity and intelligence. Users usually need to have high professional knowledge and programming skills to set and control simulation parameters. In addition, existing technologies cannot create and modify simulation scenarios through simple natural language input, and the operation is complicated and unintuitive.

[0005] At the same time, existing technologies have deficiencies in maintenance and scalability. When updating or expanding simulation content, large-scale adjustments to the system are usually required, which increases the complexity and cost of development and maintenance. Frequent updates and adjustments are difficult to respond to and implement quickly through traditional technologies. Traditional precise simulations require high-performance computing and professional scientific software, which have very high technical barriers and are difficult to use, limiting the popularization and application of the technology.

[0006] In summary, the development and maintenance costs of existing simulation scene construction technologies are high, and they are deficient in flexibility, intelligence, and real-time interaction. They are unable to meet the complex and dynamically changing application requirements and need to be urgently addressed. Summary of the invention

[0007] The present application provides a method and device for constructing a simulation scene based on an intelligent agent and a simulation physics engine to solve the problems that the existing simulation scene construction technology has high development and maintenance costs, deficiencies in flexibility, intelligence and real-time interaction, and difficulty in meeting complex and dynamically changing application requirements.

[0008] The first aspect of the present application provides a method for constructing a simulation scene based on an agent and a simulation physics engine, comprising the following steps: obtaining scene requirement information of a target user, so that the target agent determines the type of simulation physics engine according to the scene requirement information, and calls a target simulation physics engine corresponding to the simulation physics engine type; setting target scene parameters through the target agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and performing scene analysis and rendering operations according to the simulation scene data through the target agent to generate a target simulation scene in a preset simulation sandbox; extracting at least one key data of the simulation scene data, and converting the at least one key data into target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data.

[0009] Optionally, in one embodiment of the present application, the acquiring of the target user's scenario requirement information so that the target agent determines the type of simulation physics engine according to the scenario requirement information and calls the target simulation physics engine corresponding to the simulation physics engine type includes: collecting the scenario requirement information input by the target user through a pre-built user requirement interface; performing text preprocessing operations on the scenario requirement information to generate standard requirement data corresponding to the scenario requirement information; performing text analysis on the standard requirement data by the target agent to obtain a text analysis result, and determining the type of simulation physics engine corresponding to the text analysis result in multiple preset physics engines, wherein the multiple preset physics engines include at least one of a quantum mechanics physics simulation engine, a molecular dynamics physics simulation engine, a fluid mechanics physics simulation engine, a rigid body mechanics physics simulation engine and a celestial mechanics physics simulation engine.

[0010] Optionally, in one embodiment of the present application, the target scene parameters are set by the target agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and the target agent performs scene analysis and rendering operations according to the simulation scene data to generate a target simulation scene in a preset simulation sandbox, including: determining the target scene parameters based on the target simulation physics engine and the scene requirement information, and generating an initial simulation scene according to the target scene parameters by the target agent, wherein the target scene parameters include initial conditions, boundary conditions, physical constants, physical entity space coordinates, and entity attributes. and world environment; judging whether the initial simulation scene meets the preset user needs through the target intelligent agent, and if the initial simulation scene does not meet the preset user needs, adjusting the target scene parameters to generate the initial simulation scene that meets the preset user needs according to the adjusted target scene parameters; if the initial simulation scene meets the preset user needs, generating the simulation scene data according to the target scene parameters and preset embedded physical rules, and calling the preset visual model through the target intelligent agent, and using the visual model and the target simulation physics engine to perform scene analysis and rendering operations to generate the target simulation scene in the simulation sandbox.

[0011] Optionally, in one embodiment of the present application, the extracting of at least one key data of the simulation scene data and converting the at least one key data into target format scene description data so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data, includes: extracting at least one key data of the simulation scene data through the target intelligent agent and converting the at least one key data into target format scene description data; based on the target format scene description data, enabling the target user to perform real-time physical interaction with the target simulation scene through a preset user interaction interface to obtain interaction data, wherein the real-time physical interaction includes at least one of object movement, parameter modification, object addition, object deletion, scene reset and parameter optimization; updating the target simulation scene in real time according to the interaction data, so that the target user continuously performs real-time physical interaction with the updated target simulation scene.

[0012] The second aspect of the present application provides a simulation scene construction device based on an intelligent agent and a simulation physics engine, including: a calling module, used to obtain scene requirement information of a target user, so that the target intelligent agent determines the type of simulation physics engine according to the scene requirement information, and calls the target simulation physics engine corresponding to the simulation physics engine type; a simulation scene generation module, used to set target scene parameters through the target intelligent agent, so as to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and to perform scene analysis and rendering operations according to the simulation scene data through the target intelligent agent, so as to generate a target simulation scene in a preset simulation sandbox; an interaction module, used to extract at least one key data of the simulation scene data, and convert the at least one key data into target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data.

[0013] Optionally, in one embodiment of the present application, the calling module includes: a collection unit, used to collect the scenario requirement information input by the target user through a pre-built user requirement interface; a preprocessing unit, used to perform text preprocessing operations on the scenario requirement information to generate standard requirement data corresponding to the scenario requirement information; a text analysis unit, used to perform text analysis on the standard requirement data through the target intelligent agent to obtain a text analysis result, and determine the simulation physics engine type corresponding to the text analysis result in multiple preset physics engines, wherein the multiple preset physics engines include at least one of a quantum mechanics physics simulation engine, a molecular dynamics physics simulation engine, a fluid mechanics physics simulation engine, a rigid body mechanics physics simulation engine, and a celestial mechanics physics simulation engine.

[0014] Optionally, in one embodiment of the present application, the simulation scene generation module includes: a determination unit, used to determine the target scene parameters based on the target simulation physics engine and the scene requirement information, and generate an initial simulation scene according to the target scene parameters through the target intelligent agent, wherein the target scene parameters include initial conditions, boundary conditions, physical constants, physical entity space coordinates, entity attributes and world environment; a judgment unit, used to judge whether the initial simulation scene meets the preset user requirements through the target intelligent agent, and if the initial simulation scene does not meet the preset user requirements, adjust the target scene parameters to generate an initial simulation scene that meets the preset user requirements according to the adjusted target scene parameters; a rendering unit, used to generate the simulation scene data according to the target scene parameters and preset embedded physical rules if the initial simulation scene meets the preset user requirements, and call the preset visual model through the target intelligent agent, and use the visual model and the target simulation physics engine to perform scene analysis and rendering operations to generate the target simulation scene in the simulation sandbox.

[0015] Optionally, in one embodiment of the present application, the interaction module includes: a conversion unit, used to extract at least one key data of the simulation scene data through the target intelligent agent, and convert the at least one key data into a target format scene description data; a real-time physical interaction unit, used to enable the target user to perform real-time physical interaction with the target simulation scene through a preset user interaction interface based on the target format scene description data to obtain interaction data, wherein the real-time physical interaction includes at least one of object movement, parameter modification, object addition, object deletion, scene reset and parameter optimization; an update unit, used to update the target simulation scene in real time according to the interaction data, so that the target user continuously performs real-time physical interaction with the updated target simulation scene.

[0016] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a simulation scene construction method based on an intelligent agent and a simulation physics engine as described in the above embodiment.

[0017] The fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, it implements the above-mentioned simulation scene construction method based on an intelligent agent and a simulation physics engine.

[0018] The fifth aspect of the present application provides a computer program product, including a computer program, which is executed to implement the above-mentioned simulation scene construction method based on an intelligent agent and a simulation physics engine.

[0019] Therefore, the embodiments of the present application have the following beneficial effects:

[0020] The embodiment of the present application can obtain the scene demand information of the target user so that the target intelligent agent determines the type of simulation physics engine according to the scene demand information, and calls the target simulation physics engine corresponding to the simulation physics engine type; set the target scene parameters through the target intelligent agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and perform scene analysis and rendering operations according to the simulation scene data through the target intelligent agent to generate a target simulation scene in a preset simulation sandbox; extract at least one key data of the simulation scene data, and convert at least one key data into a target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data. By combining advanced artificial intelligence technology and precise physical engines, the present application can improve the intelligence level and interactive experience of the simulation scene, allowing users to create and modify simulation scenes through natural language descriptions to achieve real-time interaction; in addition, the present application greatly reduces the user's use threshold and can be well applied to non-professional user groups in various industries. Thus, the existing simulation scene construction technology has high development and maintenance costs, deficiencies in flexibility, intelligence and real-time interaction, and difficulty in meeting complex and dynamically changing application requirements.

[0021] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0023] Figure 1 A flowchart of a simulation scene construction method based on an intelligent agent and a simulation physics engine provided according to an embodiment of the present application;

[0024] Figure 2 A schematic diagram of an execution flow of determining the type of engine to be called according to user needs provided in one embodiment of the present application;

[0025] FIG3 is a schematic diagram of a simulation physics engine provided by an embodiment of the present application;

[0026] Figure 4 A schematic diagram of an execution flow of generating a simulation scene based on a simulation physics engine is provided for one embodiment of the present application;

[0027] Figure 5A schematic diagram of execution logic of a simulation scene construction method based on an intelligent agent and a simulation physics engine provided for one embodiment of the present application;

[0028] Figure 6 An example diagram of a molecular dynamics simulation motion application in a two-dimensional plane provided for one embodiment of the present application;

[0029] Figure 7 A schematic diagram of the logical architecture of a simulation scene construction system based on an intelligent agent and a simulation physics engine provided for one embodiment of the present application;

[0030] Figure 8 A schematic diagram of a B / S architecture corresponding to a simulation scene construction system based on an intelligent agent and a simulation physics engine provided for one embodiment of the present application;

[0031] Fig. 9 This is an example diagram of a simulation scene construction device based on an intelligent agent and a simulation physics engine according to an embodiment of the present application;

[0032] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0033] Among them, 10-a simulation scene construction device based on an intelligent agent and a simulation physics engine; 100-a calling module, 200-a simulation scene generation module, 300-an interaction module; 1001-a memory, 1002-a processor, 1003-a communication interface. DETAILED DESCRIPTION

[0034] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0035] The following describes the simulation scene construction method and device based on the agent and simulation physics engine of the embodiment of the present application with reference to the accompanying drawings. In view of the problems mentioned in the above background technology, the present application provides a simulation scene construction method based on the agent and the simulation physics engine, in which the scene requirement information of the target user is obtained so that the target agent determines the simulation physics engine type according to the scene requirement information, and calls the target simulation physics engine corresponding to the simulation physics engine type; the target scene parameters are set by the target agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and the target agent performs scene analysis and rendering operations according to the simulation scene data to generate the target simulation scene in the preset simulation sandbox; extract at least one key data of the simulation scene data, and convert at least one key data into the target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data. By combining advanced artificial intelligence technology and precise physics engines, the present application can improve the intelligence level and interactive experience of the simulation scene, so that users can create and modify the simulation scene through natural language descriptions to achieve real-time interaction; in addition, the present application greatly reduces the user's use threshold and can be well applied to non-professional user groups in various industries. This solves the problems of existing simulation scene construction technologies, such as high development and maintenance costs, deficiencies in flexibility, intelligence and real-time interaction, and difficulty in meeting complex and dynamically changing application requirements.

[0036] Specifically, Figure 1 A flowchart of a simulation scene construction method based on an intelligent agent and a simulation physics engine provided in an embodiment of the present application.

[0037] like Figure 1 As shown, the simulation scene construction method based on the intelligent agent and the simulation physics engine includes the following steps:

[0038] In step S101, the scene requirement information of the target user is obtained, so that the target intelligent agent determines the type of simulation physics engine according to the scene requirement information, and calls the target simulation physics engine corresponding to the simulation physics engine type.

[0039] The embodiments of the present application can first obtain the demand description (i.e., scene demand information) input by the user (i.e., the target user); secondly, inject the scene demand information into the intelligent agent (i.e., the target intelligent agent); thereafter, the embodiments of the present application can pre-process the scene demand information through the intelligent agent and analyze the pre-processed text to determine which simulation physics engine to call to simulate the scene.

[0040] Optionally, in one embodiment of the present application, scenario requirement information of a target user is obtained so that a target intelligent agent determines a simulation physics engine type according to the scenario requirement information, and calls a target simulation physics engine corresponding to the simulation physics engine type, including: collecting scenario requirement information input by a target user through a pre-built user requirement interface; performing text preprocessing operations on the scenario requirement information to generate standard requirement data corresponding to the scenario requirement information; performing text analysis on the standard requirement data through the target intelligent agent to obtain a text analysis result, and determining a simulation physics engine type corresponding to the text analysis result from a plurality of preset physics engines, wherein the plurality of preset physics engines include at least one of a quantum mechanics physics simulation engine, a molecular dynamics physics simulation engine, a fluid mechanics physics simulation engine, a rigid body mechanics physics simulation engine, and a celestial mechanics physics simulation engine.

[0041] It should be noted that the process of obtaining user needs through the agent in the embodiment of the present application is as follows:

[0042] 1. User interface design: Design a user interface (i.e. user requirement interface) that can accept user input of requirement descriptions; users can directly describe the scenarios they want to simulate through this interface;

[0043] 2. Receiving the requirement description input by the user: The user inputs the requirement description through the user interface, and the intelligent agent receives and records this description information (i.e., scenario requirement information).

[0044] Furthermore, if Figure 2 As shown, the specific process of the intelligent agent in the embodiment of the present application determining the type of engine to be called according to user needs is as follows:

[0045] 1. Text preprocessing: After receiving the demand description (i.e., scenario demand information) input by the user, the agent performs text preprocessing operations such as word segmentation, stop word removal, and part-of-speech tagging to generate standard demand data corresponding to the scenario demand information for subsequent analysis and use;

[0046] 2. Physics engine selection: The agent analyzes the preprocessed text (i.e., standard requirement data) and obtains text analysis results to determine which simulation physics engine should be called to simulate the scenario described by the user, such as Figure 3 As shown, the embodiment of the present application includes the following physical simulation engines:

[0047] (1) Quantum mechanics physics simulation engine: used to simulate and calculate the quantum behavior and interactions of microscopic particles (such as electrons, photons, etc.);

[0048] (2) Molecular dynamics physics simulation engine: used to simulate and calculate molecular interactions, chemical reactions, molecular vibrations and rotations, etc.;

[0049] (3) Fluid mechanics physics simulation engine: used to simulate and calculate the flow behavior, dynamic characteristics and interactions of liquids and gases. It is widely used in aerodynamics, meteorology, oceanography and engineering fluid mechanics to optimize design and predict fluid behavior.

[0050] (4) Rigid body mechanics physics simulation engine: used to simulate and calculate the motion and interaction of rigid bodies under the action of forces, involving the dynamic response of mechanical parts, building structures, etc. It is mainly used in mechanical engineering, construction engineering, games and animation, and robotics to improve the accuracy of system design and control;

[0051] (5) Celestial mechanics physics simulation engine: used to simulate and calculate the orbital motion and gravitational interactions of celestial bodies, such as the motion of planets, stars, and galaxies.

[0052] 3. Engine call decision: Based on the analysis results of the user's demand description, the intelligent agent selects the most suitable physical engine; wherein, the embodiment of the present application selects the most suitable physical engine based on keyword matching, scenario requirements and key information in the preprocessed text; based on the above matching information and the intelligent agent analysis results, and using a decision algorithm, it is determined that the physical engine that should be called in the end (i.e., the target simulation physical engine) is determined.

[0053] Therefore, the embodiment of the present application obtains the demand description input by the user through the intelligent agent, and determines the type of calling engine according to the user demand, thereby effectively ensuring the generation quality of subsequent simulation scenarios.

[0054] In step S102, the target scene parameters are set by the target intelligent agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and the target intelligent agent performs scene analysis and rendering operations according to the simulation scene data to generate a target simulation scene in a preset simulation sandbox.

[0055] Furthermore, the embodiments of the present application also need to determine scene parameters (i.e., target scene parameters) through an intelligent agent, and use a simulation physics engine to generate and render a simulation scene (i.e., target simulation scene) in a simulation sandbox according to scene requirements and embedded physical rules.

[0056] Optionally, in one embodiment of the present application, target scene parameters are set by a target intelligent agent to generate simulation scene data based on a target simulation physics engine and target scene parameters, and scene analysis and rendering operations are performed by the target intelligent agent according to the simulation scene data to generate a target simulation scene in a preset simulation sandbox, including: determining target scene parameters based on the target simulation physics engine and scene requirement information, and generating an initial simulation scene by the target intelligent agent according to the target scene parameters, wherein the target scene parameters include initial conditions, boundary conditions, physical constants, physical entity space coordinates, entity attributes and world environment; judging by the target intelligent agent whether the initial simulation scene meets preset user requirements, and if the initial simulation scene does not meet the preset user requirements, adjusting the target scene parameters to generate an initial simulation scene that meets the preset user requirements according to the adjusted target scene parameters; if the initial simulation scene meets the preset user requirements, generating simulation scene data according to the target scene parameters and preset embedded physical rules, and calling a preset visual model by the target intelligent agent, and performing scene analysis and rendering operations using the visual model and the target simulation physics engine to generate a target simulation scene in the simulation sandbox.

[0057] like Figure 4 As shown, the specific process of generating a simulation scene based on a simulation physics engine in the embodiment of the present application is as follows:

[0058] 1. Scene parameter configuration: Initialize the simulation physics engine to ensure that the engine is ready for subsequent scene generation and rendering; configure various parameters of the simulation scene according to the user's description and selected physics engine, including initial conditions, boundary conditions, physical constants, etc.; the agent generates the initial simulation scene based on these parameters and determines whether the result meets the user's requirements; if not, the agent executes the correction procedure, adjusts the generation parameters, and re-simulates until the initial simulation scene that meets the user's requirements is generated;

[0059] The scene parameters specifically include the following elements:

[0060] Initial conditions: including the initial state of objects in the simulation scene, such as position, velocity, acceleration, etc.;

[0061] Boundary conditions: define the interaction constraints between objects in the simulation scene and their surroundings, such as contact, collision, friction, etc.

[0062] Physical constants: basic constants related to physical phenomena in the simulation scene, such as gravity constant, air density, elastic modulus, etc.;

[0063] Physical entity spatial coordinates: used to determine the spatial position of physical entities in the simulation scene, usually including the position and direction in a two-dimensional coordinate system;

[0064] Ontological attributes: describe the physical properties of objects in the simulation scene, such as mass, volume, shape, material, etc.;

[0065] World environment: includes environmental conditions in the simulated scene, such as temperature, pressure, pressure, volume, etc. These factors affect the behavior and interaction of objects.

[0066] 2. Accelerated calculation and simulation execution: After the initial simulation scene is generated, the intelligent agent will load the computing power of the physics engine and use a high-performance scientific computing engine that complies with real physical rules to perform simulation to generate a more accurate and complex simulation scene. The physics engine will calculate and simulate according to the configured parameters and embedded physical rules to generate simulation scene data. During this process, the intelligent agent will continuously adjust and optimize the simulation parameters to ensure that the final generated simulation scene data can highly meet the user's expectations and needs.

[0067] If the agent determines that the generated simulation scene parameters meet the user's needs, the agent loads the simulation scene data of the simulation physics engine, and the simulation physics engine starts to render the scene in the simulation sandbox; if the agent determines that the generated simulation scene parameters do not meet the user's needs, the agent gives an error feedback result, explaining the reason for the non-compliance; then, the agent executes the correction program, adjusts the generation parameters and regenerates the scene until the generated scene meets the user's needs;

[0068] 3. Scene rendering and display: When the simulation scene data is generated, the intelligent agent will load and process this data, call the visual model to analyze and judge the scene to ensure that it meets the user's needs; then, the scene is rendered through the physical engine, and the final generated simulation scene is displayed to the user in the simulation sandbox; if the scene still does not meet the user's needs, the intelligent agent can generate an error feedback result, indicate the reason for the non-compliance, and execute the correction procedure, re-entering the adjustment and simulation cycle until it is determined that the generated scene meets the user's needs; finally, the user can get a simulation scene that meets their needs and expectations (i.e., the target simulation scene).

[0069] Therefore, the embodiments of the present application generate simulation scenes based on the simulation physics engine and accurately set and adjust the corresponding scene parameters, so as to achieve efficient simulation of complex physical phenomena and provide users with a more reliable and detailed scene experience.

[0070] In step S103, at least one key data of the simulation scene data is extracted, and the at least one key data is converted into target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data.

[0071] Furthermore, in the embodiment of the present application, after the simulation scene is generated, the intelligent agent will process the generated data, extract key information, and convert the key data into a format that can be understood by the user (i.e., the target format scene description data), such as returning the scene description in the form of text description, visual presentation, or a combination of the two. The user can change the state of the scene at will, such as adding molecules in molecular dynamics.

[0072] Therefore, the embodiments of the present application combine intelligent agents and simulation physics engine technology to construct a required simulation scenario in an intelligent, efficient and highly scalable manner, which can be well applied in multiple application fields such as education, scientific research and entertainment.

[0073] Optionally, in one embodiment of the present application, at least one key data of the simulation scene data is extracted, and the at least one key data is converted into target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data, including: extracting at least one key data of the simulation scene data through a target intelligent agent, and converting at least one key data into target format scene description data; based on the target format scene description data, enabling the target user to perform real-time physical interaction with the target simulation scene through a preset user interaction interface to obtain interaction data, wherein the real-time physical interaction includes at least one of object movement, parameter modification, object addition, object deletion, scene reset and parameter optimization; updating the target simulation scene in real time according to the interaction data, so that the target user continuously performs real-time physical interaction with the updated target simulation scene.

[0074] It should be noted that the execution process of real-time physical interaction between the user and the simulation scene in the embodiment of the present application is as follows:

[0075] 1. Simulation result processing: The agent extracts key information from the generated simulation scene data and returns the scene description in a user-understandable format (i.e., target format scene description data), such as text description, visual presentation, or a combination of the two.

[0076] 2. User interaction: Users can interact with the simulation scene (i.e., the target simulation scene) in real time through the user interaction interface, such as adding or removing atoms in molecular dynamics simulation, adjusting simulation parameters, etc.

[0077] 3. Scene status update: Receive user interaction operations, obtain interaction data, and update the target simulation scene in real time based on the interaction data, so that the target user can continuously interact with the updated target simulation scene in real time, ensuring that the user's operations receive immediate feedback.

[0078] Among them, the types of real-time physical interactions between users and simulation scenarios mainly include:

[0079] Object movement: The user can select any object in the scene and change its position by dragging or entering coordinates; the embodiment of the present application will recalculate the object's motion trajectory and interaction with other objects based on the new position;

[0080] Parameter modification: Users can adjust the properties of objects in the scene, such as mass, velocity, acceleration, etc. The system will apply these changes instantly and recalculate the results of physical phenomena; for example, users can change the mass of an object to observe its effect on the collision results;

[0081] Adding objects: Users can add new physical entities to the scene, such as adding a new rigid body or particle group; the embodiment of the present application will recalculate the physical state of the entire scene based on the properties and position of the newly added objects;

[0082] Deleting an object: The user can choose to delete an object in the scene; embodiments of the present application will remove the object and update the scene, recalculating the motion and interaction of the remaining objects;

[0083] Scene reset: The user can reset the scene to the initial state or a specific state, and the system will regenerate the simulation scene in that state based on the stored parameters and settings;

[0084] Parameter optimization: The embodiments of the present application can automatically optimize scene parameters based on user feedback and interactive operations to provide more realistic and accurate simulation results; for example, when the user finds that the simulation results do not match the actual physical phenomena, the embodiments of the present application can automatically adjust the physical parameters based on error analysis to improve the simulation accuracy.

[0085] Therefore, through the above-mentioned interactive method, the embodiments of the present application can allow users to deeply explore and understand complex physical phenomena and enhance their understanding of physical laws. It can not only be used for education and scientific research, but also for entertainment and other fields, providing rich application scenarios and potential.

[0086] The following is a detailed description of the execution process of the simulation scene construction method based on an intelligent agent and a simulation physics engine of the present application through a specific embodiment and in combination with the accompanying drawings.

[0087] Figure 5 The following is a logic diagram for executing the simulation scene construction method based on the intelligent agent and the simulation physics engine of the present application. Figure 5 As shown, the execution process of the simulation scene construction method based on the intelligent agent and the simulation physics engine of the present application is as follows:

[0088] S501: The agent obtains the requirement description input by the user;

[0089] S502: The intelligent agent determines the type of simulation physics engine to be called according to user requirements;

[0090] S503: Generate a simulation scene in a simulation sandbox based on a simulation physics engine;

[0091] S504: Real-time physical interaction between the user and the simulation scene.

[0092] Figure 6 This is an example diagram of the application of molecular dynamics simulation motion in a two-dimensional plane. Figure 6 As shown, a specific embodiment of the present application can simulate the collision process of two molecules in a molecular dynamics simulation sandbox. The intelligent agent first receives a demand description input by the user, such as the desire to simulate the collision process of two molecules under specific initial conditions; the intelligent agent analyzes the demand description through natural language processing technology to determine the type of physics engine that needs to be called, and a molecular dynamics physics engine is selected here; the intelligent agent sets the initial conditions of the simulation scene according to user needs, including the initial position, speed and direction of the molecules, and the boundary conditions in the simulation sandbox.

[0093] Specifically, the initial position of molecule 1 is set to The initial speed is , the direction is (i.e., toward the right), its velocity component is ; The initial position of molecule 2 is set to , the initial velocity is , the direction is (i.e., to the left), its velocity component is The time step is set to Second.

[0094] In addition, the agent sets the boundary conditions for the simulation and selects periodic boundary conditions; when a molecule crosses one boundary of the sandbox, it re-enters the sandbox from the opposite boundary; for example, if the molecule If the coordinate is less than 0, it is adjusted to ;if Coordinates greater than , then adjust to Similarly, if If the coordinate is less than 0, it is adjusted to ;if Coordinates greater than , then adjust to .

[0095] In the collision model, the specific embodiment of the present application adopts an elastic collision model; in an elastic collision, the total kinetic energy and total momentum remain unchanged, and the velocity direction and magnitude of the molecules after the collision will change, but no energy will be lost; the intelligent agent updates the velocity of the molecules after the collision according to the elastic collision model, specifically: , , , .

[0096] At each time step In the example, the agent first updates the position of the molecules, and the position of molecule 1 is updated to , the position of molecule 2 is updated to ; Then, the agent detects the distance between molecules ,if (Molecular collision threshold), a collision is considered to have occurred; the speed after the collision is calculated according to the elastic collision model, and the speed at which the agent updates molecule 1 and molecule 2 is ; The agent then applies periodic boundary conditions to check and adjust the positions of the molecules to ensure they move within the sandbox.

[0097] The agent repeats the above process by calling the molecular dynamics physics engine until the preset simulation time is reached.

[0098] Therefore, by integrating a more advanced physical simulation engine and complex language processing capabilities, this application can not only create more realistic and detailed simulation scenarios, but also find practical applications in various industrial, educational and entertainment fields.

[0099] The following is a simulation scene construction system based on an intelligent agent and a simulated physical engine corresponding to the simulation scene construction method based on an intelligent agent and a simulated physical engine of the present application, and the simulation scene construction system based on an intelligent agent and a simulated physical engine of the present application is introduced in detail in conjunction with the accompanying drawings.

[0100] Figure 7 This is a schematic diagram of the logical architecture of the simulation scene construction system based on the intelligent agent and the simulation physics engine of this application. Figure 7 As shown, the simulation scene construction system based on intelligent agent and simulation physics engine of the present application mainly includes an intelligent agent module based on a multimodal large model, an intelligent agent selection module, a simulation physics engine-based generation module and a simulation physics engine-based interaction module.

[0101] Among them, the intelligent agent module based on the multimodal large model: in this module, the overall architecture of the intelligent agent includes three parts: the semantic understanding model, the data processing integration framework and the task execution module; among them, the semantic understanding model is composed of a multimodal large model, has the ability to parse and understand user input, and can process various data forms such as text, images, and voice; the data processing integration framework is used to communicate and exchange data with external data sources and tools to ensure that the system can obtain and process all the required information; the task execution module selects and calls appropriate external data sources and tools according to the input parsed by the semantic understanding model, executes user instructions and returns results.

[0102] Agent-based selection module: This module determines which simulation physics engine to call based on the user's scenario generation requirements; if a demand scenario cannot be generated, the agent gives a reason, such as the user's demand scenario does not exist in the simulation.

[0103] Generation module based on simulation physics engine: This module uses the computing power of the physics engine and a high-performance scientific computing engine that complies with real physical rules to perform simulations. Based on the input provided by the intelligent agent module and the judgment module, the physics engine is used to perform high-precision calculations and simulations to generate real physical scene data, which includes information such as the properties, behaviors, and interactions of objects in the scene.

[0104] Interaction module based on simulation physics engine: After the simulation scene is generated, the intelligent agent will process the generated data, extract key information, and return the scene description in a format that users can understand; users can conduct real-time physical interaction with the simulation scene, including but not limited to manual changes to the scene status, and get instant feedback.

[0105] It can be understood that the embodiments of the present application can be widely used in multiple application fields, such as education, scientific research, and entertainment, through the collaborative work of the above modules, greatly improving the efficiency of simulation scene construction and user experience.

[0106] Figure 8 Schematic diagram of the B / S architecture corresponding to the simulation scene construction system based on the intelligent agent and the simulation physics engine of this application. Figure 8 As shown, the B / S architecture of this application mainly includes the following components:

[0107] 1. The browser, as a user interface, is mainly responsible for the following functions:

[0108] (1) Receiving user input: The user enters the description of the simulation scenario through the browser, such as the physical phenomenon to be simulated and the scene setting;

[0109] (2) Display simulation scene output: The generated simulation scene data is visualized through the browser, and users can see detailed information about the simulation scene, including the properties, behaviors, and interactions of objects.

[0110] 2. Cloud servers provide computing resource support and handle complex physical computing tasks, including the following functions:

[0111] (1) Distributed computing capability: Using distributed computing architecture to handle large-scale physical simulation computing tasks, ensuring computing efficiency and speed;

[0112] (2) Elastic resource scheduling: Dynamically adjust computing resources according to task requirements to ensure efficient use of cloud server resources;

[0113] 3. HPC cluster module: provides high-performance computing capabilities to accelerate the simulation calculation of the physics engine. Its specific functions include:

[0114] (1) Parallel computing: Using the parallel computing capabilities of HPC to accelerate the simulation of complex physical phenomena and improve computing efficiency;

[0115] (2) Large-scale data processing: Processing large amounts of simulation data to ensure the real-time and accuracy of calculation results.

[0116] In summary, this application can effectively simulate the physical scenes of simulation, which not only improves the intelligence and efficiency of simulation, but also can simulate the motion behaviors in different physical scenes by adjusting the parameter settings. It can be widely used in scientific research, industrial design, education and entertainment, etc., greatly improving the convenience, efficiency and user experience of simulation scene construction. It provides important data support for teaching demonstration and scientific research.

[0117] According to the simulation scene construction method based on the intelligent agent and the simulation physics engine proposed in the embodiment of the present application, the scene requirement information of the target user is obtained so that the target intelligent agent determines the simulation physics engine type according to the scene requirement information, and calls the target simulation physics engine corresponding to the simulation physics engine type; the target scene parameters are set by the target intelligent agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and the target intelligent agent performs scene analysis and rendering operations according to the simulation scene data to generate a target simulation scene in a preset simulation sandbox; extract at least one key data of the simulation scene data, and convert at least one key data into a target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data. By combining advanced artificial intelligence technology and a precise physics engine, the present application can improve the intelligence level and interactive experience of the simulation scene, allowing users to create and modify simulation scenes through natural language descriptions and realize real-time interaction; in addition, the present application greatly reduces the user usage threshold and can be well applied to non-professional user groups in various industry fields.

[0118] Secondly, the simulation scene construction device based on the intelligent agent and the simulation physics engine proposed in the embodiment of the present application is described with reference to the accompanying drawings.

[0119] Fig. 9 It is a block diagram of a simulation scene construction device based on an intelligent agent and a simulation physics engine according to an embodiment of the present application.

[0120] like Fig. 9As shown, the simulation scene construction device 10 based on the intelligent agent and the simulation physics engine includes: a calling module 100, a simulation scene generation module 200 and an interaction module 300.

[0121] The calling module 100 is used to obtain the scene requirement information of the target user, so that the target intelligent agent determines the type of simulation physics engine according to the scene requirement information, and calls the target simulation physics engine corresponding to the simulation physics engine type.

[0122] The simulation scene generation module 200 is used to set the target scene parameters through the target intelligent agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and to perform scene analysis and rendering operations according to the simulation scene data through the target intelligent agent to generate a target simulation scene in a preset simulation sandbox.

[0123] The interaction module 300 is used to extract at least one key data of the simulation scene data and convert the at least one key data into target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data.

[0124] Optionally, in one embodiment of the present application, the calling module 100 includes: a collection unit, a preprocessing unit and a text analysis unit.

[0125] Among them, the collection unit is used to collect the scene demand information input by the target user through a pre-built user demand interface.

[0126] The preprocessing unit is used to perform text preprocessing operations on the scene demand information to generate standard demand data corresponding to the scene demand information.

[0127] A text analysis unit is used to perform text analysis on standard demand data through a target intelligent agent to obtain a text analysis result, and determine a simulation physics engine type corresponding to the text analysis result in a plurality of preset physics engines, wherein the plurality of preset physics engines include at least one of a quantum mechanics physics simulation engine, a molecular dynamics physics simulation engine, a fluid mechanics physics simulation engine, a rigid body mechanics physics simulation engine, and a celestial mechanics physics simulation engine.

[0128] Optionally, in one embodiment of the present application, the simulation scene generation module 200 includes: a determination unit, a judgment unit and a rendering unit.

[0129] Among them, the determination unit is used to determine the target scene parameters based on the target simulation physical engine and scene requirement information, and generate an initial simulation scene according to the target scene parameters through the target intelligent agent, wherein the target scene parameters include initial conditions, boundary conditions, physical constants, physical entity space coordinates, entity attributes and world environment.

[0130] The judgment unit is used to judge whether the initial simulation scene meets the preset user needs through the target intelligent agent. If the initial simulation scene does not meet the preset user needs, the target scene parameters are adjusted to generate an initial simulation scene that meets the preset user needs according to the adjusted target scene parameters.

[0131] The rendering unit is used to generate simulation scene data according to the target scene parameters and preset embedded physical rules if the initial simulation scene meets the preset user requirements, and call the preset visual model through the target intelligent agent, and use the visual model and the target simulation physics engine to perform scene analysis and rendering operations to generate the target simulation scene in the simulation sandbox.

[0132] Optionally, in one embodiment of the present application, the interaction module 300 includes: a conversion unit, a real-time physical interaction unit and an update unit.

[0133] Wherein, the conversion unit is used to extract at least one key data of the simulation scene data through the target intelligent agent, and convert the at least one key data into the target format scene description data.

[0134] A real-time physical interaction unit is used to enable a target user to perform real-time physical interaction with a target simulation scene through a preset user interaction interface based on target format scene description data to obtain interaction data, wherein the real-time physical interaction includes at least one of object movement, parameter modification, object addition, object deletion, scene reset and parameter optimization.

[0135] The updating unit is used to update the target simulation scene in real time according to the interaction data, so that the target user can continuously perform real-time physical interaction with the updated target simulation scene.

[0136] It should be noted that the aforementioned explanation of the embodiment of the simulation scene construction method based on an intelligent agent and a simulated physics engine is also applicable to the simulation scene construction device based on an intelligent agent and a simulated physics engine of this embodiment, and will not be repeated here.

[0137] According to the simulation scene construction device based on the intelligent agent and the simulation physics engine proposed in the embodiment of the present application, it includes a calling module 100, which is used to obtain the scene demand information of the target user, so that the target intelligent agent determines the simulation physics engine type according to the scene demand information, and calls the target simulation physics engine corresponding to the simulation physics engine type; a simulation scene generation module 200, which is used to set the target scene parameters through the target intelligent agent, so as to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and the target intelligent agent performs scene analysis and rendering operations according to the simulation scene data to generate a target simulation scene in a preset simulation sandbox; an interaction module 300, which is used to extract at least one key data of the simulation scene data, and convert at least one key data into a target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data. By combining advanced artificial intelligence technology and precise physical engines, the present application can improve the intelligence level and interactive experience of the simulation scene, allowing users to create and modify simulation scenes through natural language descriptions to achieve real-time interaction; in addition, the present application greatly reduces the user's use threshold and can be well applied to non-professional user groups in various industries.

[0138] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0139] A memory 1001 , a processor 1002 , and a computer program stored in the memory 1001 and executable on the processor 1002 .

[0140] When the processor 1002 executes the program, the simulation scene construction method based on the intelligent agent and the simulation physics engine provided in the above embodiment is implemented.

[0141] Furthermore, the electronic device further comprises:

[0142] The communication interface 1003 is used for communication between the memory 1001 and the processor 1002 .

[0143] The memory 1001 is used to store computer programs that can be executed on the processor 1002 .

[0144] The memory 1001 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0145] If the memory 1001, the processor 1002 and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001 and the processor 1002 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0146] Optionally, in a specific implementation, if the memory 1001, the processor 1002 and the communication interface 1003 are integrated on a chip, the memory 1001, the processor 1002 and the communication interface 1003 can communicate with each other through an internal interface.

[0147] The processor 1002 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0148] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the simulation scene construction method based on an intelligent agent and a simulation physics engine is implemented as described above.

[0149] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, is used to implement the above-mentioned simulation scene construction method based on an intelligent agent and a simulation physics engine.

[0150] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0151] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0152] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0153] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or N wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.

[0154] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0155] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0156] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0157] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for constructing a simulation scene based on an intelligent agent and a simulation physics engine, characterized in that: The following steps are involved: Acquire the scene requirement information of the target user, so that the target agent determines the type of the simulation physics engine according to the scene requirement information, and calls the target simulation physics engine corresponding to the simulation physics engine type; Setting target scene parameters through the target intelligent agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and performing scene analysis and rendering operations according to the simulation scene data through the target intelligent agent to generate a target simulation scene in a preset simulation sandbox; Extracting at least one key data of the simulation scene data, and converting the at least one key data into target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data; The target scene parameters are set by the target agent to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and the target agent performs scene analysis and rendering operations according to the simulation scene data to generate a target simulation scene in a preset simulation sandbox, including: Based on the target simulation physics engine and the scenario requirement information, the target scenario parameters are determined, and an initial simulation scenario is generated according to the target scenario parameters by the target agent, wherein the target scenario parameters include initial conditions, boundary conditions, physical constants, physical entity space coordinates, ontology attributes and world environment; Determining whether the initial simulation scene meets the preset user requirements through the target agent, and if the initial simulation scene does not meet the preset user requirements, adjusting the target scene parameters to generate an initial simulation scene that meets the preset user requirements according to the adjusted target scene parameters; If the initial simulation scene meets the preset user requirements, the simulation scene data is generated according to the target scene parameters and the preset embedded physical rules, and the preset visual model is called through the target intelligent agent, and the visual model and the target simulation physics engine are used to perform scene analysis and rendering operations to generate the target simulation scene in the simulation sandbox.

2. The method for constructing a simulation scene based on an intelligent agent and a simulation physics engine according to claim 1, characterized in that: The step of obtaining the scene requirement information of the target user so that the target agent determines the type of the simulation physics engine according to the scene requirement information and calls the target simulation physics engine corresponding to the simulation physics engine type includes: Collecting the scenario requirement information input by the target user through a pre-built user requirement interface; Performing a text preprocessing operation on the scenario requirement information to generate standard requirement data corresponding to the scenario requirement information; The target intelligent agent performs text analysis on the standard requirement data to obtain a text analysis result, and determines the type of simulation physics engine corresponding to the text analysis result in a plurality of preset physics engines, wherein the plurality of preset physics engines include at least one of a quantum mechanics physics simulation engine, a molecular dynamics physics simulation engine, a fluid mechanics physics simulation engine, a rigid body mechanics physics simulation engine, and a celestial mechanics physics simulation engine.

3. The method for constructing a simulation scene based on an intelligent agent and a simulation physics engine according to claim 1, characterized in that: The step of extracting at least one key data of the simulation scene data and converting the at least one key data into target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data, includes: Extracting at least one key data of the simulation scene data through the target agent, and converting the at least one key data into target format scene description data; Based on the target format scene description data, the target user performs real-time physical interaction with the target simulation scene through a preset user interaction interface to obtain interaction data, wherein the real-time physical interaction includes at least one of object movement, parameter modification, object addition, object deletion, scene reset and parameter optimization; The target simulation scene is updated in real time according to the interaction data, so that the target user continuously performs real-time physical interaction with the updated target simulation scene.

4. A simulation scene construction device based on an intelligent agent and a simulation physics engine, characterized in that: include: A calling module is used to obtain the scene requirement information of the target user, so that the target agent determines the type of simulation physics engine according to the scene requirement information, and calls the target simulation physics engine corresponding to the simulation physics engine type; A simulation scene generation module, used to set target scene parameters through the target intelligent agent, so as to generate simulation scene data based on the target simulation physics engine and the target scene parameters, and to perform scene analysis and rendering operations according to the simulation scene data through the target intelligent agent, so as to generate a target simulation scene in a preset simulation sandbox; An interaction module, configured to extract at least one key data of the simulation scene data, and convert the at least one key data into target format scene description data, so that the target user can perform real-time physical interaction with the target simulation scene according to the target format scene description data; Wherein, the simulation scene generation module includes: A determination unit, configured to determine the target scene parameters based on the target simulation physics engine and the scene requirement information, and generate an initial simulation scene according to the target scene parameters through the target agent, wherein the target scene parameters include initial conditions, boundary conditions, physical constants, physical entity space coordinates, ontology attributes and world environment; A judging unit, configured to judge whether the initial simulation scenario meets the preset user requirements through the target agent, and if the initial simulation scenario does not meet the preset user requirements, adjust the target scenario parameters to generate an initial simulation scenario that meets the preset user requirements according to the adjusted target scenario parameters; A rendering unit is used to generate the simulation scene data according to the target scene parameters and preset embedded physical rules if the initial simulation scene meets the preset user requirements, and to call the preset visual model through the target intelligent agent, and to perform scene analysis and rendering operations using the visual model and the target simulation physics engine to generate the target simulation scene in the simulation sandbox.

5. The simulation scene construction device based on intelligent agent and simulation physics engine according to claim 4, characterized in that: The calling module includes: A collection unit, used to collect the scenario demand information input by the target user through a pre-built user demand interface; A preprocessing unit, configured to perform a text preprocessing operation on the scenario requirement information to generate standard requirement data corresponding to the scenario requirement information; A text analysis unit is used to perform text analysis on the standard requirement data through the target intelligent agent to obtain a text analysis result, and determine the simulation physics engine type corresponding to the text analysis result in multiple preset physics engines, wherein the multiple preset physics engines include at least one of a quantum mechanics physics simulation engine, a molecular dynamics physics simulation engine, a fluid mechanics physics simulation engine, a rigid body mechanics physics simulation engine and a celestial mechanics physics simulation engine.

6. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the simulation scene construction method based on an intelligent agent and a simulation physics engine as described in any one of claims 1 to 3.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement a simulation scene construction method based on an intelligent agent and a simulation physics engine as described in any one of claims 1 to 3.

8. A computer program product, comprising a computer program, characterized in that The computer program is executed to implement the simulation scene construction method based on an intelligent agent and a simulation physics engine as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Intelligent agent modeling method and device, equipment and storage medium

    CN115645910A

  • Method, device and equipment for generating data set through virtual reality engine

    CN117333600A