Data processing method and device for co-simulation
By acquiring and analyzing the parameter information of the simulation object, calculating and analyzing its position information, the challenges of efficiency and accuracy in existing simulation technologies when dealing with multi-simulation object confrontation are solved, and more efficient and accurate simulation data processing is achieved.
Patent Information
- Application Number
- CN202510188499.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-06-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing simulation technologies face efficiency and accuracy challenges when dealing with large-scale, high-complex multi-simulation object confrontation.
By obtaining the parameter information of the simulation object to be processed, performing calculation processing to obtain the simulation position information, and analyzing and processing this information to improve the efficiency and accuracy of simulation data processing.
The effect of improving the simulation data processing efficiency and simulation accuracy is achieved, and the adversarial strategies of multi-simulation objects can be more effectively evaluated and optimized.
Smart Images

Figure CN120124271A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of simulation technology, and in particular, to a data processing method and device for co-simulation. Background Art
[0002] With the rapid development of artificial intelligence technology, multiple simulation objects usually need to make decisions and interact in a complex environment, which requires simulation technology to test and optimize their behavior strategies. In the multi-simulation object confrontation simulation, multiple multi-simulation objects need to interact in a simulated environment to evaluate and optimize their confrontation strategies. This kind of simulation usually involves a large amount of data processing and complex calculation processes, including the simulation of environmental states, the prediction of agent behaviors, the evaluation of confrontation results, etc. However, the existing simulation technologies face great challenges in dealing with large-scale and high-complexity multi-simulation object confrontations. Therefore, a data processing method and device for co-simulation are provided to improve the data processing efficiency and simulation accuracy of the simulation. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a data processing method and device for co-simulation, which are beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0004] To solve the above technical problem, in the first aspect of an embodiment of the present invention, a data processing method for co-simulation is disclosed, and the method includes:
[0005] Obtain parameter information of a simulation object to be processed; the parameter information of the simulation object to be processed includes acceleration information of a first simulation object, acceleration information of a second simulation object, and simulation time;
[0006] Perform calculation processing on the parameter information of the simulation object to be processed to obtain target simulation calculation result information; the target simulation calculation result information includes first simulation position information and second simulation position information;
[0007] Perform analysis processing on the target simulation calculation result information and the simulation time to obtain target simulation analysis result information.
[0008] In the second aspect of an embodiment of the present invention, a data processing device for co-simulation is disclosed, and the device includes:
[0009] An acquisition module, configured to obtain parameter information of a simulation object to be processed; the parameter information of the simulation object to be processed includes acceleration information of a first simulation object, acceleration information of a second simulation object, and simulation time;
[0010] The first processing module is configured to perform calculation processing on the parameter information of the to-be-processed simulation object to obtain target simulation calculation result information; the target simulation calculation result information includes first simulation position information and second simulation position information;
[0011] The second processing module is configured to perform analysis processing on the target simulation calculation result information and the simulation time to obtain target simulation analysis result information.
[0012] A third aspect of the present invention discloses another data processing device for co-simulation, the device includes:
[0013] A memory storing executable program code;
[0014] A processor coupled to the memory;
[0015] The processor calls the executable program code stored in the memory and executes some or all of the steps in the data processing method for co-simulation disclosed in the first aspect of the embodiments of the present invention.
[0016] A fourth aspect of the present invention discloses a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute some or all of the steps in the data processing method for co-simulation disclosed in the first aspect of the embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0018] Figure 1 is a schematic diagram of the scenario of the data processing system for co-simulation provided by the embodiments of the present invention;
[0019] Figure 2 is a flowchart of a data processing method for co-simulation disclosed in the embodiments of the present invention;
[0020] Figure 3 is a schematic structural diagram of a data processing device for co-simulation disclosed in the embodiments of the present invention;
[0021] Figure 4 is a schematic structural diagram of another data processing device for co-simulation disclosed in the embodiments of the present invention. DETAILED DESCRIPTION
[0022] To enable those skilled in the art to better understand the solution of the present invention, the following will clearly and completely describe the technical solution in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts fall within the scope of protection of the present invention.
[0023] The terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0024] Reference to "embodiments" in this context means that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0025] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description". Any embodiment described as "exemplary" in this application is not necessarily to be construed as more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. In the following description, details are set forth for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that this application can be implemented without these specific details. In other instances, well-known structures and processes are not described in detail to avoid unnecessary details from obscuring the description of this application. Therefore, this application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed in this application.
[0026] It should be noted that since the method of the embodiments of this application is executed in a computer device, the processing objects of each computer device exist in the form of data or information. For example, time, which is actually time information. It can be understood that in subsequent embodiments, if dimensions, quantities, positions, etc. are mentioned, they are all corresponding data existences for the computer device to process, and specific details are not elaborated here.
[0027] It should be noted that a brief description of the artificial intelligence related technologies that may be involved in this application is provided. Artificial Intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a way similar to human intelligence. Artificial intelligence also studies the design principles and implementation methods of various intelligent machines, enabling the machines to have the functions of perception, reasoning, and decision-making.
[0028] Artificial intelligence technology is an interdisciplinary subject that involves a wide range of fields, including both hardware-level technologies and software-level technologies. The basic technologies of artificial intelligence generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. The software technologies of artificial intelligence mainly include several major directions such as computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0029] Computer Vision Technology (CV) Computer vision is a science that studies how to enable machines to "see". Further, it refers to using cameras and computers to replace human eyes for tasks such as object recognition and measurement in machine vision, and further performing graphics processing to make the images processed by the computer more suitable for human eyes to observe or be transmitted to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, attempting to build artificial intelligence systems that can obtain information from images or multi-dimensional data. Computer vision technology usually includes technologies such as image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping, and also includes common biometric recognition technologies such as face recognition and fingerprint recognition.
[0030] Single-modal information is data of only one type, such as one of the data information types like text, image, audio, video, electromagnetic signal, etc. Multi-modal information is data information that includes at least two types of single-modal information. Further, multi-modal information is applicable to complex tasks that require integrating multiple information sources, such as sentiment analysis, robot interaction, autonomous driving, etc. By integrating information of multiple modalities, higher performance and accuracy can usually be achieved in tasks.
[0031] A large model refers to an artificial neural network model with a very large number of parameters. In the field of artificial intelligence, a large model usually refers to a model with hundreds of millions to trillions of parameters. The model usually needs to be trained on a large-scale dataset and requires a large amount of computing resources for optimization and adjustment. Large models are usually used to solve complex natural language processing, computer vision, speech recognition and other tasks. Generative AI is a type of AI that can create new content and ideas, including conversations, stories, images, videos and music. In the embodiments of this application, the large model can be large-scale language models such as ChatGPT, BERT, XLNet, Zhipu Model, Claude, Moonshot AI Model, ChatGLM Model, Tongwen Qianyi Model, MiniMax Model, Spark Model, Llama Model, 360GPT Model, Qwen Model, Baichuan Model, Lark Model, vivoLM Model and Wenxin Yiyan, and the embodiments of this application do not make any limitations.
[0032] The embodiments of this application provide a data processing method, device, computer device and computer-readable storage medium for collaborative simulation, which will be described in detail below.
[0033] Please refer to Figure 1 , Figure 1 which is a schematic diagram of the scenario of the data processing system for collaborative simulation provided by the embodiments of this application. The data processing system for collaborative simulation may include a computer device 100, and a data processing device for collaborative simulation is integrated in the computer device 100, such as Figure 1 the computer device in
[0034] In the embodiments of this application, the computer device 100 is mainly used to obtain parameter information of the simulation object to be processed; the parameter information of the simulation object to be processed includes the acceleration information of the first simulation object, the acceleration information of the second simulation object, and the simulation time;
[0035] perform calculation processing on the parameter information of the simulation object to be processed to obtain target simulation calculation result information; the target simulation calculation result information includes the first simulation position information and the second simulation position information;
[0036] perform analysis processing on the target simulation calculation result information and the simulation time to obtain target simulation analysis result information.
[0037] It can improve the data processing efficiency and simulation accuracy of the simulation.
[0038] In the embodiments of the present application, the computer device 100 may be an independent server or a server network or server cluster composed of servers. For example, the computer device 100 described in the embodiments of the present application includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud server composed of multiple servers. Among them, the cloud server is composed of a large number of computers or network servers based on cloud computing.
[0039] It can be understood that the computer device 100 used in the embodiments of the present application may be a device that includes both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such devices may include: cellular or other communication devices, which have a single-line display or a multi-line display or cellular or other communication devices without a multi-line display. Specifically, the computer device 100 may specifically be a desktop terminal or a mobile terminal, and the computer device 100 may specifically also be one of a mobile phone, a tablet computer, a laptop computer, etc.
[0040] Those skilled in the art can understand that Figure 1 the application environment shown is only one application scenario of the solution of the present application, and does not constitute a limitation on the application scenario of the solution of the present application. Other application environments may also include more or fewer computer devices than Figure 1 shown. For example Figure 1 only 1 computer device is shown. It can be understood that the data processing system for co-simulation may also include one or more other services, which are not specifically limited here.
[0041] In addition, as Figure 1 shown, the data processing system for co-simulation may also include a memory 200 for storing data, such as image data, location information, etc.
[0042] It should be noted that Figure 1 the schematic diagram of the scenario of the data processing system for co-simulation shown is only an example. The data processing system and scenario described in the embodiments of the present application are for more clearly explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art know that with the evolution of the data processing system for co-simulation and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0043] The present invention discloses a data processing method and device for co-simulation, which are beneficial to improving the data processing efficiency and simulation accuracy of simulation. The following will be described in detail respectively.
[0044] Embodiment 1
[0045] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a data processing method for co-simulation disclosed in an embodiment of the present invention. Among them, Figure 2 the described data processing method for co-simulation is applied to a management system, such as a local server or a cloud server for management, etc., which is not limited in the embodiments of the present invention. As Figure 2 shown, the data processing method for co-simulation may include the following operations:
[0046] 101. Obtain parameter information of the simulation object to be processed.
[0047] In an embodiment of the present invention, the parameter information of the simulation object to be processed includes the acceleration information of the first simulation object, the acceleration information of the second simulation object, and the simulation time.
[0048] 102. Perform calculation processing on the parameter information of the simulation object to be processed to obtain target simulation calculation result information.
[0049] In an embodiment of the present invention, the target simulation calculation result information includes the first simulation position information and the second simulation position information.
[0050] 103. Perform analysis processing on the target simulation calculation result information and the simulation time to obtain target simulation analysis result information.
[0051] It should be noted that the coordinates in this application are a three-dimensional coordinate system, where the basic origin position information is the position corresponding to the earth's center, which can be expressed as (0, 0, 0), and is not limited in the embodiments of the present invention. Further, the plane formed by the abscissa and the ordinate is the equatorial plane, and the positive direction of the vertical axis is from the South Pole to the North Pole, which is not limited in the embodiments of the present invention.
[0052] It should be noted that the above-mentioned obtaining of the parameter information of the simulation object to be processed may be the parameters set in the simulation initialization or the random values of the system default values, which is not limited in the embodiments of the present invention.
[0053] It should be noted that the above-mentioned target simulation analysis result information is used for the analysis and evaluation of the simulation scenario tasks corresponding to the co-simulation, which is not limited in the embodiments of the present invention.
[0054] It can be seen that implementing the data processing method for co-simulation described in the embodiments of the present invention is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0055] In an alternative embodiment, the above-mentioned performing calculation processing on the parameter information of the simulation object to be processed to obtain target simulation calculation result information includes:
[0056] Compare and analyze the first simulation object acceleration information and the second simulation object acceleration information in the simulation object parameter information to be processed, and obtain the first target simulation object acceleration information and the second target simulation object acceleration information;
[0057] Use the collaborative position inference model to perform calculation processing on the first target simulation object acceleration information and the second target simulation object acceleration information to obtain the target simulation calculation result information;
[0058] Among them, the collaborative position inference model is:
[0059]
[0060] In the formula, (a x1 ,a y1 ,a z1 ) represents the first target simulation object acceleration information; (a x2 ,a y2 ,a z2 ) represents the second target simulation object acceleration information; (X1, Y1, Z1) represents the first simulation position information; (X2, Y2, Z2) represents the second simulation position information; X and Y respectively represent the abscissa value and the ordinate value of the reference object; ω represents the angular velocity of the reference object; xs represents the calculation coefficient; dd represents the distance value from the coordinate corresponding to the reference object to the basic origin position information.
[0061] It should be noted that the above (a x1 ,a y1 ,a z1 )-corresponding first target simulation object acceleration information is the acceleration in the abscissa direction, the acceleration in the ordinate direction, and the acceleration in the vertical axis direction corresponding to the first simulation object, which is not limited in the embodiments of the present invention.
[0062] It should be noted that the above (a x2 ,a y2 ,a x2 )-corresponding second target simulation object acceleration information is the acceleration in the abscissa direction, the acceleration in the ordinate direction, and the acceleration in the vertical axis direction corresponding to the first simulation object, which is not limited in the embodiments of the present invention.
[0063] It should be noted that the above reference object is an object orbiting the earth, and its motion is known and determined. At each simulation time point, the angular velocity, the distance value from the coordinate corresponding to the reference object to the basic origin position information, the abscissa value, and the ordinate value of the reference object can be directly calculated according to its running track, which is not limited in the embodiments of the present invention.
[0064] It should be noted that the above calculation coefficient is 400000, which is not limited in the embodiments of the present invention.
[0065] It should be noted that for the comparison and analysis processing of the first simulation object acceleration information and the second simulation object acceleration information in the above-mentioned simulation object parameter information to be processed, to obtain the first target simulation object acceleration information and the second target simulation object acceleration information, the values corresponding to the first simulation object acceleration information and the second simulation object acceleration information are respectively compared with the first acceleration threshold and the second acceleration threshold. If they do not exceed the first acceleration threshold and the second acceleration threshold, the first simulation object acceleration information and the second simulation object acceleration information are determined as the first target simulation object acceleration information and the second target simulation object acceleration information. Otherwise, the first acceleration threshold and the second acceleration threshold are determined as the first target simulation object acceleration information and the second target simulation object acceleration information, so as to ensure that the acceleration of the simulation object is controlled within the limit of the actual physical acceleration and prevent simulation situations that violate physical facts. The embodiments of the present invention do not make limitations in this regard.
[0066] It should be noted that the above-mentioned first acceleration threshold and second acceleration threshold can be set by the user or obtained by the large model through analysis of historical acceleration thresholds. The embodiments of the present invention do not make limitations in this regard. Further, the above-mentioned first acceleration threshold and second acceleration threshold are values between 0 and 1. The embodiments of the present invention do not make limitations in this regard.
[0067] It can be seen that implementing the data processing method for co-simulation described in the embodiments of the present invention is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0068] In another optional embodiment, the target simulation calculation result information and the simulation time are analyzed and processed to obtain the target simulation analysis result information, including:
[0069] The target simulation calculation result information and the simulation time are compared and analyzed to obtain the comparison and analysis result information; the comparison and analysis result information includes the first analysis result, or the second analysis result, or the third analysis result, or the fourth analysis result;
[0070] Based on the comparison and analysis result information, the target simulation analysis result information is determined.
[0071] It should be noted that the above-mentioned first analysis result indicates that the first simulation object successfully locks the second simulation object. The embodiments of the present invention do not make limitations in this regard.
[0072] It should be noted that the above-mentioned second analysis result indicates that the first simulation object fails to lock the second simulation object. The embodiments of the present invention do not make limitations in this regard.
[0073] It should be noted that the above third analysis result indicates that due to the simulation time reaching the simulation time threshold, and the first simulation object neither successfully locking the second simulation object nor allowing the second simulation object to escape (i.e., the second simulation object is still within the field of view of the first simulation object), the simulation needs to be terminated, which is not limited in the embodiments of the present invention.
[0074] It should be noted that the above fourth analysis result indicates that the simulation continues, which is not limited in the embodiments of the present invention.
[0075] It should be noted that the occurrence of any one of the above first analysis result, or second analysis result, or third analysis result indicates that the current collaborative simulation of multiple simulation objects can be ended to avoid waste of simulation resources and improve simulation efficiency, which is not limited in the embodiments of the present invention.
[0076] It can be seen that implementing the data processing method for collaborative simulation described in the embodiments of the present invention is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0077] In another optional embodiment, the target simulation calculation result information and the simulation time are compared and analyzed to obtain comparison and analysis result information, including:
[0078] Calculate the distances between the first simulation position information and the second simulation position information in the target simulation calculation result information and the basic origin position information to obtain the first simulation object distance value and the second simulation object distance value;
[0079] Based on the first simulation object distance value, the second simulation object distance value, the simulation time, and the threshold information, determine the comparison and analysis result information; the threshold information includes a first distance threshold, a second distance threshold, and a time threshold.
[0080] It should be noted that the above calculation of the distances between the first simulation position information and the second simulation position information in the target simulation calculation result information and the basic origin position information is calculated through coordinates, which is not limited in the embodiments of the present invention.
[0081] It should be noted that the above time threshold represents the maximum time for which the current collaborative simulation can be carried out, such as 10 min, 20 min, etc., which is not limited in the embodiments of the present invention.
[0082] It should be noted that the above first distance threshold and second distance threshold can be set by the user or be default values given by the system. For example, the first distance threshold is 20 and the second distance threshold is 5, etc., which is not limited in the embodiments of the present invention.
[0083] It can be seen that implementing the data processing method for collaborative simulation described in the embodiments of the present invention is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0084] In yet another alternative embodiment, based on the first simulation object distance value, the second simulation object distance value, the simulation time, and the threshold information, the comparative analysis result information is determined, including:
[0085] Determine whether the first simulation object distance value, the second simulation object distance value, and the threshold information satisfy the first comparison condition to obtain a first comparison judgment result;
[0086] The first comparison condition is:
[0087] |d 1 -d 2 |≤d min ;
[0088] Wherein, d 1 represents the first simulation object distance value; d 2 represents the second simulation object distance value; d min represents the first distance threshold;
[0089] When the first comparison judgment result is yes, determine the first analysis result as the comparative analysis result information;
[0090] When the first comparison judgment result is no, determine whether the first simulation object distance value, the second simulation object distance value, and the threshold information satisfy the second comparison condition to obtain a second comparison judgment result;
[0091] The second comparison condition is:
[0092] |d 1 -d 2 |≥d max ;
[0093] Wherein, d max represents the second distance threshold;
[0094] When the second comparison judgment result is yes, determine the second analysis result as the comparative analysis result information;
[0095] When the second comparison judgment result is no, determine whether the first simulation object distance value, the second simulation object distance value, the simulation time, and the threshold information satisfy the third comparison condition to obtain a third comparison judgment result;
[0096] The second comparison condition is:
[0097]
[0098] Wherein, t represents the simulation time; T represents the time threshold;
[0099] When the third comparison judgment result is yes, determine the third analysis result as the comparative analysis result information;
[0100] When the result of the third comparison judgment is negative, determine the fourth analysis result as the comparison analysis result information.
[0101] It should be noted that through the analysis and judgment of multiple comparison conditions above, it can be quickly analyzed whether the simulation result at the current simulation time point meets the termination situation, so as to improve the simulation efficiency and simulation accuracy. The embodiments of the present invention are not limited in this regard.
[0102] It can be seen that implementing the data processing method for co-simulation described in the embodiments of the present invention is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0103] In an optional embodiment, based on the comparison analysis result information, determine the target simulation analysis result information, including:
[0104] Judge whether the comparison analysis result information is the fourth analysis result to obtain an analysis and judgment result;
[0105] When the analysis and judgment result is positive, update the parameter information of the simulation object to be processed, and trigger the execution of calculating and processing the parameter information of the simulation object to be processed to obtain the target simulation calculation result information;
[0106] When the analysis and judgment result is negative, determine the comparison analysis result information as the target simulation analysis result information.
[0107] It can be seen that implementing the data processing method for co-simulation described in the embodiments of the present invention is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0108] In another optional embodiment, updating the parameter information of the simulation object to be processed includes:
[0109] Obtain the current time;
[0110] Based on the target simulation calculation result information, determine the simulation acceleration information;
[0111] Use the current time and the simulation acceleration information to update the parameter information of the simulation object to be processed.
[0112] It should be noted that the above current time represents the relative time of the simulation progress, which starts timing from the start of the simulation. The embodiments of the present invention are not limited in this regard.
[0113] It should be noted that the above simulation acceleration information includes the first acceleration information and the second acceleration information. The embodiments of the present invention are not limited in this regard.
[0114] It should be noted that the update of the simulation object parameter information to be processed using the current time and simulation acceleration information determines the first acceleration information, the second acceleration information, and the current time as the new first simulation object acceleration information, the second simulation object acceleration information, and the simulation time. The embodiments of the present invention do not make any limitations in this regard.
[0115] It should be noted that the determination of the simulation acceleration information based on the target simulation calculation result information is obtained by first calculating the reward values of the simulation (the first reward value corresponding to the first simulation object and the second reward value corresponding to the second simulation object), and then inputting the reward values and the target simulation calculation result information into the Actor-Critie network for reasoning. The embodiments of the present invention do not make any limitations in this regard. Further, the Actor network in the above Actor-Critie network is used to output the simulation acceleration information, and the Critie network is used to calculate the Q value (calculated by the default Q value function). The parameter settings of the network adopt the default parameters, and the embodiments of the present invention do not make any limitations in this regard. Further, the Actor-Critie network is a prior art, which combines the policy gradient method and the reinforcement learning algorithm of value function estimation. The Critic provides feedback to the Actor regarding its decisions to help the Actor better adjust its strategy. The Critic calculates the state value or the advantage function, and the latter measures the pros and cons of a certain action relative to the average action. The Actor updates its strategy according to the feedback of the Critic, increasing the probability of those actions that are considered to be more advantageous. The embodiments of the present invention do not make any limitations in this regard.
[0116] Further, the first reward value corresponding to the first simulation object and the second reward value corresponding to the second simulation object are calculated according to the reward value calculation formula:
[0117]
[0118] In the formula, JL1 and JL2 respectively represent the first reward value corresponding to the first simulation object and the second reward value corresponding to the second simulation object; a1 and a2 respectively represent the first reward value coefficient and the second reward value coefficient;
[0119] It should be noted that the first reward value coefficient and the second reward value coefficient are 10000 and 1000 respectively. The embodiments of the present invention do not make any limitations in this regard.
[0120] It can be seen that implementing the data processing method for collaborative simulation described in the embodiments of the present invention is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0121] Embodiment 2
[0122] Please refer to Figure 3 , Figure 3It is a schematic structural diagram of a data processing device for co-simulation disclosed in an embodiment of the present invention. Among them, Figure 3 The described device can be applied to a management system, such as a local server or a cloud server for management, etc., and the embodiments of the present invention do not make limitations. Such as Figure 3 As shown, the device may include:
[0123] An acquisition module 201, configured to acquire parameter information of a simulation object to be processed; the parameter information of the simulation object to be processed includes first simulation object acceleration information, second simulation object acceleration information, and simulation time;
[0124] A first processing module 202, configured to perform calculation processing on the parameter information of the simulation object to be processed to obtain target simulation calculation result information; the target simulation calculation result information includes first simulation position information and second simulation position information;
[0125] A second processing module 203, configured to perform analysis processing on the target simulation calculation result information and the simulation time to obtain target simulation analysis result information.
[0126] It can be seen that implementing Figure 3 The described data processing device for co-simulation is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0127] In another optional embodiment, as Figure 3 As shown, performing calculation processing on the parameter information of the simulation object to be processed to obtain target simulation calculation result information includes:
[0128] Performing comparative analysis processing on the first simulation object acceleration information and the second simulation object acceleration information in the parameter information of the simulation object to be processed to obtain first target simulation object acceleration information and second target simulation object acceleration information;
[0129] Performing calculation processing on the first target simulation object acceleration information and the second target simulation object acceleration information by using a collaborative position inference model to obtain target simulation calculation result information;
[0130] Among them, the collaborative position inference model is:
[0131]
[0132] In the formula, (a x1 , a y1 , a z1 ) represents the first target simulation object acceleration information; (a x2 , a y2 , a z2)Characterize the acceleration information of the second target simulation object; (X1, Y1, Z1) characterizes the first simulation position information; (X2, Y2, Z2) characterizes the second simulation position information; X and Y respectively represent the abscissa value and ordinate value of the reference object; ω represents the angular velocity of the reference object; xs represents the calculation coefficient; dd represents the distance value from the coordinates corresponding to the reference object to the position information of the base origin.
[0133] It can be seen that implementing Figure 3 the described data processing device for co-simulation is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0134] In another optional embodiment, as Figure 3 shown, analyze and process the target simulation calculation result information and the simulation time to obtain the target simulation analysis result information, including:
[0135] Compare and analyze the target simulation calculation result information and the simulation time to obtain the comparative analysis result information; the comparative analysis result information includes the first analysis result, or the second analysis result, or the third analysis result, or the fourth analysis result;
[0136] Based on the comparative analysis result information, determine the target simulation analysis result information.
[0137] It can be seen that implementing Figure 3 the described data processing device for co-simulation is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0138] In another optional embodiment, as Figure 3 shown, compare and analyze the target simulation calculation result information and the simulation time to obtain the comparative analysis result information, including:
[0139] Calculate the distances from the first simulation position information and the second simulation position information in the target simulation calculation result information to the position information of the base origin to obtain the first simulation object distance value and the second simulation object distance value;
[0140] Based on the first simulation object distance value, the second simulation object distance value, the simulation time, and the threshold information, determine the comparative analysis result information; the threshold information includes the first distance threshold, the second distance threshold, and the time threshold.
[0141] It can be seen that implementing Figure 3 the described data processing device for co-simulation is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0142] In another optional embodiment, as Figure 3As shown, based on the first simulation object distance value, the second simulation object distance value, the simulation time, and the threshold information, the comparative analysis result information is determined, including:
[0143] Judge whether the first simulation object distance value, the second simulation object distance value, and the threshold information satisfy the first comparison condition to obtain the first comparison judgment result;
[0144] The first comparison condition is:
[0145] |d 1 -d 2 |≤d min ;
[0146] In the formula, d 1 represents the first simulation object distance value; d 2 represents the second simulation object distance value; d min represents the first distance threshold;
[0147] When the first comparison judgment result is yes, determine the first analysis result as the comparative analysis result information;
[0148] When the first comparison judgment result is no, judge whether the first simulation object distance value, the second simulation object distance value, and the threshold information satisfy the second comparison condition to obtain the second comparison judgment result;
[0149] The second comparison condition is:
[0150] |d 1 -d 2 |≥d max ;
[0151] In the formula, d max represents the second distance threshold;
[0152] When the second comparison judgment result is yes, determine the second analysis result as the comparative analysis result information;
[0153] When the second comparison judgment result is no, judge whether the first simulation object distance value, the second simulation object distance value, the simulation time, and the threshold information satisfy the third comparison condition to obtain the third comparison judgment result;
[0154] The second comparison condition is:
[0155]
[0156] In the formula, t represents the simulation time; T represents the time threshold;
[0157] When the third comparison judgment result is yes, determine the third analysis result as the comparative analysis result information;
[0158] When the result of the third comparison and judgment is negative, determine the fourth analysis result as the comparison analysis result information.
[0159] It can be seen that implementing Figure 3 the described data processing device for co-simulation is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0160] In another alternative embodiment, as Figure 3 shown, based on the comparison analysis result information, determine the target simulation analysis result information, including:
[0161] Judge whether the comparison analysis result information is the fourth analysis result to obtain an analysis and judgment result;
[0162] When the analysis and judgment result is positive, update the parameter information of the simulation object to be processed, and trigger the execution of the calculation and processing of the parameter information of the simulation object to be processed to obtain the target simulation calculation result information;
[0163] When the analysis and judgment result is negative, determine the comparison analysis result information as the target simulation analysis result information.
[0164] It can be seen that implementing Figure 3 the described data processing device for co-simulation is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0165] In another alternative embodiment, as Figure 3 shown, updating the parameter information of the simulation object to be processed includes:
[0166] Obtain the current time;
[0167] Based on the target simulation calculation result information, determine the simulation acceleration information;
[0168] Use the current time and the simulation acceleration information to update the parameter information of the simulation object to be processed.
[0169] It can be seen that implementing Figure 3 the described data processing device for co-simulation is beneficial to improving the data processing efficiency and simulation accuracy of the simulation.
[0170] Embodiment III
[0171] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of another data processing device for co-simulation disclosed in the embodiments of the present invention. Among them, Figure 4 the described device can be applied to a management system, such as a local server or a cloud server for management, etc., which is not limited in the embodiments of the present invention. As Figure 4 shown, the device may include:
[0172] A memory 301 storing executable program code;
[0173] A processor 302 coupled to the memory 301;
[0174] The processor 302 invokes the executable program code stored in the memory 301 to execute the steps in the data processing method for co - simulation described in the first embodiment.
[0175] Embodiment Four
[0176] An embodiment of the present invention discloses a computer - readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the steps in the data processing method for co - simulation described in the first embodiment.
[0177] Embodiment Five
[0178] An embodiment of the present invention discloses a computer program product, which includes a non - transitory computer - readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the steps in the data processing method for co - simulation described in the first embodiment.
[0179] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative labor.
[0180] Through the specific descriptions of the above embodiments, those skilled in the art can clearly understand that each implementation can be achieved by means of software plus a necessary general hardware platform, and of course, it can also be achieved by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, and the storage medium includes read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc memories, magnetic disc memories, tape memories, or any other medium that can be used to carry or store data and is computer-readable.
[0181] Finally, it should be noted that: The data processing method and device for co-simulation disclosed in the embodiments of the present invention only disclose the preferred embodiments of the present invention, and are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data processing method for collaborative simulation, characterized in that: The method comprises: Acquire parameter information of a simulation object to be processed; the parameter information of the simulation object to be processed includes acceleration information of a first simulation object, acceleration information of a second simulation object, and simulation time; Calculating and processing the parameter information of the simulation object to be processed to obtain target simulation calculation result information; the target simulation calculation result information includes first simulation position information and second simulation position information; The target simulation calculation result information and the simulation time are analyzed and processed to obtain target simulation analysis result information.
2. The data processing method for collaborative simulation according to claim 1, characterized in that: The step of calculating and processing the parameter information of the simulation object to be processed to obtain target simulation calculation result information includes: Comparing and analyzing the first simulation object acceleration information and the second simulation object acceleration information in the to-be-processed simulation object parameter information to obtain first target simulation object acceleration information and second target simulation object acceleration information; Using the collaborative position reasoning model, the acceleration information of the first target simulation object and the acceleration information of the second target simulation object are calculated and processed to obtain target simulation calculation result information; Wherein, the collaborative position reasoning model is: In the formula, (a x1 ,a y1 ,a z1 ) characterizes acceleration information of the first target simulation object; (a x2 ,a y2 ,a z2 ) represents the acceleration information of the second target simulation object; (X1, Y1, Z1) represents the first simulation position information; (X2, Y2, Z2) represents the second simulation position information; X and Y represent the horizontal and vertical coordinate values of the reference object respectively; ω represents the angular velocity of the reference object; xs represents the calculation coefficient; dd represents the distance value from the coordinate corresponding to the reference object to the basic origin position information.
3. The data processing method for collaborative simulation according to claim 1, characterized in that: The analyzing and processing the target simulation calculation result information and the simulation time to obtain the target simulation analysis result information includes: Performing comparative analysis on the target simulation calculation result information and the simulation time to obtain comparative analysis result information; the comparative analysis result information includes a first analysis result, or a second analysis result, or a third analysis result, or a fourth analysis result; Based on the comparative analysis result information, target simulation analysis result information is determined.
4. The data processing method for collaborative simulation according to claim 3, characterized in that: The comparative analysis of the target simulation calculation result information and the simulation time to obtain the comparative analysis result information includes: Calculating the distances between the first simulation position information and the second simulation position information and the basic origin position information in the target simulation calculation result information to obtain a first simulation object distance value and a second simulation object distance value; Based on the first simulation object distance value, the second simulation object distance value, the simulation time and threshold information, comparative analysis result information is determined; the threshold information includes a first distance threshold, a second distance threshold and a time threshold.
5. The data processing method for collaborative simulation according to claim 4, characterized in that: The determining of the comparison analysis result information based on the first simulation object distance value, the second simulation object distance value, the simulation time and the threshold information includes: Determine whether the first simulation object distance value, the second simulation object distance value and threshold information meet a first comparison condition, and obtain a first comparison judgment result; The first comparison condition is: |d1-d2|≤d min , Wherein, d1 represents the distance value of the first simulation object; d2 represents the distance value of the second simulation object; d min Characterizing the first distance threshold; When the first comparison judgment result is yes, determining the first analysis result as comparison analysis result information; When the first comparison judgment result is no, determining whether the first simulation object distance value, the second simulation object distance value and the threshold information meet a second comparison condition, and obtaining a second comparison judgment result; The second comparison condition is: |d1-d2|≥d max , Where, d max Characterizing the second distance threshold; When the second comparison judgment result is yes, determining the second analysis result as the comparison analysis result information; When the second comparison judgment result is no, judging whether the first simulation object distance value, the second simulation object distance value, the simulation time and the threshold information meet a third comparison condition, and obtaining a third comparison judgment result; The second comparison condition is: Wherein, t represents the simulation time; T represents the time threshold; When the third comparison judgment result is yes, determining the third analysis result as the comparison analysis result information; When the third comparison judgment result is negative, the fourth analysis result is determined as the comparison analysis result information.
6. The data processing method for collaborative simulation according to claim 3, characterized in that: Determining target simulation analysis result information based on the comparison analysis result information includes: Determine whether the comparative analysis result information is a fourth analysis result, and obtain an analysis determination result; When the analysis and judgment result is yes, the parameter information of the simulation object to be processed is updated, and the calculation processing of the parameter information of the simulation object to be processed is triggered to obtain target simulation calculation result information; When the analysis judgment result is no, the comparative analysis result information is determined as the target simulation analysis result information.
7. The data processing method for collaborative simulation according to claim 6, characterized in that: The updating of the parameter information of the simulation object to be processed includes: Get the current time; Determining simulation acceleration information based on the target simulation calculation result information; The parameter information of the simulation object to be processed is updated using the current time and the simulation acceleration information.
8. A data processing device for collaborative simulation, characterized in that: The device comprises: An acquisition module, used for acquiring parameter information of a simulation object to be processed; the parameter information of the simulation object to be processed includes acceleration information of a first simulation object, acceleration information of a second simulation object, and simulation time; A first processing module is used to calculate and process the parameter information of the simulation object to be processed to obtain target simulation calculation result information; the target simulation calculation result information includes first simulation position information and second simulation position information; The second processing module is used to analyze and process the target simulation calculation result information and the simulation time to obtain target simulation analysis result information.
9. A data processing device for collaborative simulation, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the data processing method for collaborative simulation according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the data processing method for collaborative simulation according to any one of claims 1 to 7.