Data control method, device and equipment for simulation system of eVTOL aircraft

By building a dynamic database in the eVTOL aircraft simulation system, receiving and distributing parameters of the simulation components, the problem of data consistency and integrity is solved, and the operating efficiency and data security of the simulation system are improved.

CN115268295BActive Publication Date: 2024-09-24ACCEL (TIANJIN) FLIGHT SIMULATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210713918.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2024-09-24
Estimated Expiration
2042-06-22

AI Technical Summary

Technical Problem

The existing technology is difficult to ensure the consistency and integrity of data between different simulation components in the eVTOL aircraft simulation system, resulting in low operating efficiency of the simulation system.

Method used

By building a dynamic database, receiving the input and output parameters of the simulation components, and controlling and distributing data according to the correlation between the simulation components, the consistency and integrity of the data are ensured.

Benefits of technology

It realizes the sharing of data between different simulation components in the simulation system, improves the operating efficiency of the simulation system, and ensures the correctness and security of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115268295B
    Figure CN115268295B
Patent Text Reader

Abstract

The embodiment of the present application provides a data control method, apparatus, device and storage medium for a simulation system of an eVTOL aircraft. The method receives a simulation result sent by a first simulation component, updates a variable buffer in a database according to interface control parameters and simulation results, receives a parameter acquisition request sent by a second simulation component, and sends data in the variable buffer to the second simulation component according to an association relationship between the second simulation component and the first simulation component. Under the premise of ensuring data consistency and integrity, data sharing between different simulation components in the simulation system is achieved, thereby improving the operating efficiency of the simulation system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electric vertical take-off and landing (eVTOL) aircraft, and in particular to a data control method, device, equipment and storage medium for a simulation system of an eVTOL aircraft. Background Art

[0002] As a safe, sustainable, affordable and accessible form of aviation for missions within local areas, eVTOL aircraft will be a practical and cost-effective way for the public to travel in the near future, as significant advances in electric propulsion (motors, batteries, fuel cells, electronic controllers) and the growing demand for new vehicles in urban air traffic (air taxis). eVTOL aircraft have the potential to revolutionize urban transportation networks and play an indispensable role in future smart cities. The development of eVTOL aircraft is progressing steadily.

[0003] From the design stage of eVTOL aircraft to its final application, many key roles will be involved, such as original equipment manufacturers, operators, infrastructure providers, air navigation service providers, regulators, equipment maintainers, training centers, etc. These key roles constrain and influence each other, forming the ecosystem of eVTOL aircraft. With the development of science and technology, different key roles in the ecosystem may need to introduce different new concepts or technologies, such as aircraft appearance with unconventional aerodynamic layout, cockpit design concepts that reduce professional knowledge and training requirements, and urban operation scenarios related to weather and wind. The application of simulation technology based on mathematical modeling provides an efficient verification environment for the introduction of new concepts or technologies, ensuring the healthy operation of the eVTOL aircraft ecosystem.

[0004] However, since the simulation technology R&D teams of different key roles are independent of each other, and each team involves different industrial companies and software suppliers, and each team has gradually developed and tested a set of business objects and upstream and downstream data for capturing modeling and simulation during the long-term R&D process, it is imperative to build a simulation system that can be used by all key roles. How to ensure the consistency and integrity of data in the simulation system is a technical problem that needs to be solved urgently in the existing technology. Summary of the invention

[0005] The embodiments of the present application provide a data control method, device, equipment and storage medium for a simulation system of an eVTOL aircraft, which ensure the consistency and integrity of data between different simulation components in the simulation system.

[0006] In a first aspect, an embodiment of the present application provides a data control method for a simulation system of an eVTOL aircraft, comprising:

[0007] Receiving a simulation result sent by the first simulation component;

[0008] updating the variable buffer in the database according to the simulation results and the interface control parameters in the database;

[0009] Receiving a parameter acquisition request sent by the second simulation component;

[0010] According to the association relationship between the second simulation component and the first simulation component, the data in the variable buffer is sent to the second simulation component.

[0011] In a second aspect, an embodiment of the present application provides a data control device for a simulation system of an eVTOL aircraft, comprising:

[0012] A data writing module, used for receiving the simulation result sent by the first simulation component; updating the variable buffer in the database according to the simulation result and the interface control parameter in the database;

[0013] The data distribution module is used to receive a parameter acquisition request sent by the second simulation component; according to the association relationship between the second simulation component and the first simulation component, send the data in the variable buffer to the second simulation component.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the data control method for the simulation system of the eVTOL aircraft as described in the first aspect above is implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the data control method for the simulation system of the eVTOL aircraft as described in the first aspect above.

[0016] The data control method, apparatus, device and storage medium of the simulation system of the eVTOL aircraft provided in the embodiment of the present application receive the simulation results sent by the first simulation component, update the variable buffer in the database according to the interface control parameters and the simulation results, receive the parameter acquisition request sent by the second simulation component, and send the data in the variable buffer to the second simulation component according to the association relationship between the second simulation component and the first simulation component. Under the premise of ensuring data consistency and integrity, data sharing between different simulation components in the simulation system is realized, thereby improving the operation efficiency of the simulation system. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of the structure of a simulation system for an eVTOL aircraft ecosystem provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of the structure of another simulation system of an eVTOL aircraft ecosystem provided in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of the structure of a database provided in an embodiment of the present application;

[0020] Figure 4 A schematic flow chart of a data control method for a simulation system of an eVTOL aircraft provided in Embodiment 1 of the present application;

[0021] Figure 5 A flowchart of a data control method for a simulation system of another eVTOL aircraft provided in Embodiment 1 of the present application;

[0022] Figure 6 A schematic diagram of the structure of a data control device for a simulation system of an eVTOL aircraft provided in Embodiment 2 of the present application;

[0023] Figure 7 A schematic diagram of the structure of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION

[0024] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.

[0025] The main idea of ​​the technical solution of the present application: Based on the technical problems existing in the prior art, the embodiment of the present application provides a data control solution for the simulation system of the eVTOL aircraft, by pre-building a dynamic database, storing and managing the input parameters and output parameters of different simulation components through the dynamic database, and controlling and distributing data according to the association relationship between different simulation components, thereby ensuring the consistency and integrity of data between different simulation components.

[0026] Among them, data consistency can ensure that different simulation components can use correct input data; data integrity can prevent the situation where multiple simulation components write to the same variable at the same time, resulting in the inability to correctly assign values ​​to this variable.

[0027] For example, Figure 1A schematic diagram of the structure of a simulation system of an eVTOL aircraft ecosystem provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the simulation system 100 of this embodiment includes: a data control module 110 and a simulation component module 120. The simulation component module 120 includes multiple simulation components, and the data control module 110 is connected to the multiple simulation components respectively. The data control module 110 is used to control the input variables and output variables of different simulation components according to the preset data control logic, so as to ensure the consistency and integrity of the data between different simulation components.

[0028] In a possible implementation, the data control module 110 includes an interface control unit and multiple thread control units, and each simulation component is connected to the interface control unit via a thread control unit.

[0029] The simulation component is composed of aircraft and / or system models that simulate the eVTOL aircraft. These models can be code files written under this software architecture, packaged software programs and / or real airborne devices. Different simulation components may be developed by different teams or companies.

[0030] The interface control unit is used to distribute data between different simulation components through multiple thread control units to ensure the consistency and integrity of data between different simulation components. In addition, the interface control unit can protect data from being accessed by illegal users to ensure the security of data in the ecological simulation system.

[0031] The thread control unit, as a bridge for communication between the simulation component and the interface control unit, communicates and exchanges data with specific simulation components. It can support automatic scheduling, freezing and other operations of specific simulation components, and communicate with the corresponding simulation components in a specific way. The communication methods between different thread control units and different simulation components may be different, but the communication methods between all thread control units and the interface control unit are the same.

[0032] In addition, in this embodiment, since the formats of data in different simulation components may be the same or different, in this embodiment, the thread control unit is provided with a data conversion function. Specifically, the data sent by different simulation components to the interface control unit is converted into the data format required by the interface control unit, and the data sent by the interface control unit to the simulation component is converted into the data format required by the corresponding simulation component.

[0033] In this embodiment, the data control module can run at a fixed base frequency and also supports event-driven.

[0034] Alternatively, if Figure 1As shown, the simulation software system in this embodiment also includes: an aviation bus 130.

[0035] The aviation bus 130 mainly involves the simulation of the communication bus between different onboard devices of the eVTOL aircraft. When simulating these buses in the simulation system, accurate timing will be guaranteed through software simulation.

[0036] Alternatively, if Figure 1 As shown, the simulation software system in this embodiment also includes: peripheral devices 140. Peripheral devices 140 are devices on the flight simulator other than the eVTOL aircraft onboard system simulation, such as an instructor station, a visual system, a sound system, etc. For example, Figure 1 As shown, the peripheral device 140 may also be connected to the interface control unit through a corresponding thread control unit to perform data exchange with the interface control unit.

[0037] Alternatively, if Figure 1 As shown, the simulation software system in this embodiment also includes: a fault monitoring tool 150. For example, Figure 1 As shown, the fault monitoring tool is connected to the interface control unit to monitor the operating status of the data control module and the simulation component in real time and to give an alarm in time when an abnormality occurs.

[0038] In this embodiment, the simulation components in the simulation system do not communicate directly with each other, and their data must be sent to the interface control unit, which passes the data to the correct simulation component. Figure 2 A schematic diagram of the structure of another simulation system of an eVTOL aircraft ecosystem provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, in order to ensure the correct positioning and transmission of data, the simulation system of this embodiment also includes: a database.

[0039] The database is used to dynamically store information of all simulation components. The database is constructed by the data control module when the ecological simulation system is started, and the database is connected to the interface control unit and can only be accessed by the interface control unit. Figure 2Three simulation components are taken as an example. For example, the simulation results of each simulation component are sent to the interface control unit via the corresponding thread control unit, and the interface control unit stores them in the database. When one of the simulation components needs data, for example, when the simulation component f1 needs data, the simulation component f1 sends a data request to the interface control unit through the thread control unit x1 (for example, requesting data D of the simulation component f2), and the interface control unit extracts the data D from the database and sends the data D to the thread control unit x2. The thread control unit x1 converts the format of the data D (converts it into a data format that the simulation component f1 can recognize), obtains the data D', and sends the data D' to the simulation component f1.

[0040] For example, Figure 3 A schematic diagram of the structure of a database provided in an embodiment of the present application, such as Figure 3 As shown, in this embodiment, the database 300 may include some data storage areas, such as an attribute parameter area 310, a state parameter area 320 and a variable buffer area 330, etc., and may also include some data tables of data required for data processing (i.e., interface control parameters), such as an input variable name table 340, an output variable name table 350 and a variable position index table 360.

[0041] Among them, the attribute parameter area 310 is used to store the attribute parameters of different simulation components. Exemplarily, a separate attribute parameter storage area can be divided for each simulation component in the attribute parameter area 310, that is, each attribute parameter storage area corresponds to a storage position in the attribute parameter area 310 to store the attribute parameters of the simulation component. For example, the attribute parameter storage area S1 is used to store the attribute parameters of the simulation component f1, the attribute parameter storage area S2 is used to store the attribute parameters of the simulation component f2, and so on.

[0042] The state parameter area 320 is used to store the initial state parameters of different simulation components. The initial state parameters of each simulation component include the initial values ​​of all input variables and output variables of the simulation component, that is, the initial values ​​of the input variables and the initial values ​​of the output variables. Exemplarily, a state parameter storage area can also be divided separately for each simulation component in the state parameter area 320, that is, each state parameter storage area corresponds to a storage position in the state parameter area 320 to store the initial values ​​of the input variables and the initial values ​​of the output variables of the simulation component. For example, the state parameter storage area Z1 is used to store the initial values ​​of the input variables and the initial values ​​of the output variables of the simulation component f1, and the state parameter storage area Z2 is used to store the initial values ​​of the input variables and the initial values ​​of the output variables of the simulation component f2, and so on.

[0043] The variable buffer 330 is used to store the simulation results of different simulation components during the simulation process, that is, the output variable values. Exemplarily, the variable buffer 330 can also allocate a separate buffer data storage area for each simulation component, that is, each buffer data storage area corresponds to a storage position in the variable buffer 330 to store the simulation results of the simulation component. For example, the buffer data storage area H1 is used to store the simulation results of the simulation component f1, the buffer data storage area H2 is used to store the simulation results of the simulation component f2, and so on.

[0044] Optionally, each buffer data storage area includes two sub-buffers, recorded as a first sub-buffer and a second sub-buffer, wherein the first sub-buffer is used to store the simulation results of the target simulation component of the current cycle (i.e., the latest simulation results), and the second sub-buffer is used to store the simulation results of the target simulation component of the previous cycle (i.e., historical simulation results).

[0045] The input variable name table 340 is used to store the names of the input variables of different simulation components. Exemplarily, each column in the input variable name table 340 is used to store the name of the input variable of a simulation component. For example, the first column of the input variable name table 340 is used to store the names of the input variables of the simulation component f1, the second column of the input variable name table 340 is used to store the names of the input variables of the simulation component f2, and so on.

[0046] The output variable name table 350 is used to store the names of the output variables of different simulation components. Exemplarily, each column in the output variable name table 350 is used to store the name of the output variable of a simulation component. For example, the first column of the output variable name table 350 is used to store the names of the output variables of the simulation component f1, the second column of the output variable name table 350 is used to store the names of the output variables of the simulation component f2, and so on.

[0047] The variable position index table 360 ​​is used to store the correspondence between the output variable names of all simulation components and the storage locations of the output variable values ​​in the variable buffer 330. The variable position index table 360 ​​may not distinguish between simulation components. Exemplarily, the format of the variable position index table may be as shown in Table 1.

[0048] Optionally, the database may also include an internal sequence table for storing the names of intermediate variables of different simulation components. Exemplarily, each column in the internal sequence table is used to store the name of an intermediate variable of a simulation component. For example, the first column of the internal sequence table is used to store the names of the intermediate variables of simulation component f1, the second column of the internal sequence table is used to store the names of the intermediate variables of simulation component f2, and so on.

[0049] Table 1

[0050] Output variable name Output variable value storage location name_v1 location_name_v1 name_v2 location_name_v2 …… ……

[0051] It can be understood that the types and quantities of input variables and output variables of each simulation component in the simulation system are fixed, the order of output values ​​of different output variables obtained by simulation in the simulation results is also fixed, and the association relationships between the simulation components, such as operating frequency, upstream and downstream relationships, data dependencies, etc., are also fixed. The association relationships can also be stored in the database through corresponding data tables, such as simulation component relationship tables.

[0052] Embodiment 1

[0053] Based on the above simulation system and database, illustratively, Figure 4 This is a flow chart of a data control method for a simulation system of an eVTOL aircraft provided in the first embodiment of the present application. The method of this embodiment can be implemented by a data control device for a simulation system of an eVTOL aircraft provided in the embodiment of the present application (corresponding to Figure 1 The device can be implemented by software and / or hardware and can be integrated into electronic devices such as servers or computers. Figure 4 As shown, the data control method of the simulation system of the eVTOL aircraft of this embodiment includes:

[0054] S401. Receive a simulation result sent by a first simulation component.

[0055] The simulation result is the value of at least one output variable obtained by running the first simulation component. When there are multiple output variables of the first simulation component, the simulation result is a sequence of output variable values, such as {y value_1 ,y value_2 , ..., y value_n}, where n is the number of output variables of the first simulation component, y value_n is the value of the nth output variable.

[0056] In a possible implementation, the simulation result is sent by the first simulation component through the first thread control unit. Specifically, the first simulation component first sends the simulation result to the first thread control unit, and the first thread control unit converts the simulation result into a format required by the interface control unit and then sends it to the interface control unit, wherein the first thread control unit refers to the thread control unit connected to the first simulation component.

[0057] S402: Update the variable buffer in the database according to the simulation results and the interface control parameters in the database.

[0058] In this step, the storage location of the simulation result in the variable buffer of the database is determined according to the interface control parameters pre-stored in the database, and then the data at the location in the variable buffer is updated using the simulation result.

[0059] In a feasible implementation, the data update of the variable buffer (that is, the storage of the simulation results) can be completed by the following steps:

[0060] (1) Determine the target variable name corresponding to the simulation result according to the identifier of the first simulation component and the output variable name table.

[0061] The identifier of the first simulation component may be the name or number of the first simulation component, etc., which is used to determine the position of the output variable name of the first simulation component in the output variable name table.

[0062] In a possible implementation, the column number of the output variable name table is determined according to the identifier of the first simulation component, and then all the name data in the output variable name table are extracted according to the column number to obtain the target variable name. When there are multiple output variables of the first simulation component, the target variable name is the output variable name sequence, such as {y name_1 ,y name_2 , ..., y name_n}, where n is the number of output variables of the first simulation component, y name_n is the name of the nth output variable.

[0063] (2) Determine the target storage location of the simulation results in the variable buffer based on the variable location index table and the target variable name.

[0064] Due to the correspondence between the output variable name stored in the variable position index table and the storage position of the output variable value in the variable buffer, after obtaining the target variable name, the target storage position of the target variable in the variable buffer can be determined by querying the variable position index table. It can be understood that the storage position here refers to the storage address of the data.

[0065] When the target variable name is a sequence of output variable names, in this step, the storage location of each output variable in the variable buffer can be determined according to the above method. Correspondingly, the target storage location is a storage location sequence, such as {L1, L2, ..., L n}, where n is the number of output variables of the first simulation component, L n The storage location of the nth output variable in the variable buffer.

[0066] (3) Using the simulation results, update the data at the target storage location in the variable buffer.

[0067] In this step, the target storage location in the variable buffer is located, and the data in the target storage location is refreshed for use by the simulation components with associated relationships.

[0068] In a possible implementation, the simulation result is stored in the first sub-buffer, and after the storage is completed, the data in the first sub-buffer is exchanged with the data in the second sub-buffer, so as to ensure that the data stored in the second sub-buffer is the latest simulation result of the first simulation component, and the data stored in the first sub-buffer is the historical simulation result of the first simulation component. It should be noted that storing the simulation result in the first sub-buffer here means overwriting the original data in the first sub-buffer with the data of the simulation result.

[0069] In this implementation, the latest simulation results and historical simulation results of the first simulation component are stored simultaneously, thereby meeting the usage requirements of different scenarios or different simulation components with associated relationships.

[0070] It should be noted that, in this embodiment, since the operating frequencies of different simulation components may be the same or different, in this embodiment, the data at the corresponding position in the variable buffer is updated according to the operating frequencies of different simulation components. Figure 2 In the embodiment, the operating frequencies of the simulation components f1, f2, and f3 are p1, p2, and p3 respectively, and the simulation results of the simulation components f1, f2, and f3 are stored in the variable buffer at locations L1, L2, and L3 respectively (taking the simulation result of each simulation component including an output variable as an example). In this embodiment, the data stored in L1 is updated with a frequency of p1, the data stored in L2 is updated with a frequency of p2, and the data stored in L3 is updated with a frequency of p3.

[0071] In this embodiment, by setting an interface control unit and a variable buffer, the interface control unit updates the data at the corresponding position in the variable buffer according to the operating frequency of the corresponding simulation component, thereby preventing the situation where multiple simulation components simultaneously write into the same variable and fail to correctly assign a value to the variable, thereby ensuring the integrity of the data. At the same time, this setting can also prevent the data in the variable buffer from being illegally tampered with, thereby ensuring the security of the data.

[0072] S403: Receive a parameter acquisition request sent by the second simulation component.

[0073] The second simulation component refers to an upstream / downstream simulation component associated with the first simulation component. The parameter acquisition request is used to request input parameters of the second simulation component, that is, input variable values.

[0074] In a possible implementation, the parameter acquisition request is sent by the second simulation component through the second thread control unit. Specifically, the second simulation component first sends the simulation result to the second thread control unit, and the second thread control unit converts the parameter acquisition request into a format required by the interface control unit and then sends it to the interface control unit, wherein the second thread control unit refers to a thread control unit connected to the second simulation component.

[0075] S404: Send the data in the variable buffer to the second simulation component according to the association relationship between the second simulation component and the first simulation component.

[0076] In this step, the association relationship between the second simulation component and the first simulation component can be determined first, then the association relationship can be determined, the target data required to be sent to the second simulation component can be determined, and finally, the target data can be sent to the second simulation component.

[0077] In a possible implementation, the target data in the variable buffer is sent to the second simulation component through the second thread control unit. Specifically, the interface control unit first sends the target data to the second thread control unit, and the second thread control unit converts the format of the target data into the format required by the second simulation component before sending it to the second simulation component.

[0078] In this embodiment, according to the different association relationships such as upstream and downstream relationships and operating frequencies between the second simulation component and the first simulation component, the data sent to the second simulation component may be different, and can be mainly divided into the following four situations:

[0079] (1) If the second simulation component and the first simulation component have the same operating frequency and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component, the data in the second sub-buffer is sent to the second simulation component.

[0080] The data closed-loop dependency relationship means that the output and input between the second simulation component and the first simulation component form a closed loop, that is, the output of the first simulation component serves as the input of the second simulation component, and the output of the second simulation component serves as the input of the first simulation component.

[0081] The data closed-loop dependency within a cycle refers to the situation where the second simulation component needs to use the latest simulation results of the first simulation component. Therefore, the data in the second sub-buffer needs to be sent to the second simulation component to ensure that the second simulation component can use the latest simulation results of the first simulation component for calculation and ensure the effectiveness of the simulation of the second simulation component.

[0082] For the case where the operating frequency is the same and the current cycle data needs to be shared under the data closed-loop dependency, the above settings ensure that all downstream simulation components that meet this situation can read the latest data, that is, obtain the correct input data, thereby ensuring data consistency.

[0083] (2) If the second simulation component and the first simulation component have the same operating frequency and there is a periodic data closed-loop dependency relationship between the second simulation component and the first simulation component, the data in the first sub-buffer is sent to the second simulation component.

[0084] The data closed-loop dependency between cycles refers to the situation where the second simulation component needs to use the historical simulation results of the first simulation component. Therefore, the data in the first sub-buffer needs to be sent to the second simulation component to ensure that the second simulation component can use the simulation results of the previous cycle of the first simulation component for calculation, thereby ensuring the effectiveness of the simulation of the second simulation component.

[0085] For the case where the running frequency is the same but the data of the previous cycle needs to be shared under the data closed-loop dependency, the above settings ensure that all downstream simulation components that meet this situation can read the data of the previous cycle, that is, obtain the correct input data, thereby ensuring data consistency.

[0086] (3) If the operating frequencies of the second simulation component and the first simulation component are different, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component, the data in the second sub-buffer is sent to the second simulation component.

[0087] For the case of a data closed-loop dependency but different operating frequencies, in this case, the second simulation component only needs the latest simulation result of the first simulation component, and does not pay attention to the historical simulation results of the first simulation component. Therefore, the data in the second sub-buffer needs to be sent to the second simulation component. Therefore, through the above settings, it can be ensured that all downstream simulation components that meet this situation can only read the latest written data, that is, obtain the correct input data, thereby ensuring data consistency.

[0088] (4) If there is an open-loop data dependency relationship between the second simulation component and the first simulation component, the data in the second sub-buffer is sent to the second simulation component.

[0089] Among them, the data open-loop dependency refers to the intended data dependency between the second simulation component and the first simulation component, that is, the second simulation component needs to use the output of the first simulation component as input, but the input of the first simulation component is irrelevant to the output of the second simulation component. In this case, the second simulation component only needs the latest simulation results of the first simulation component, and does not pay attention to the historical simulation results of the first simulation component. Therefore, through the above settings, it can be ensured that all downstream simulation components that meet this situation can only read the latest written data, that is, obtain the correct input data, thereby ensuring data consistency.

[0090] It should be noted that, in this embodiment, the interface control unit can perform data writing and reading in parallel, that is, there is a parallel relationship between S401-S402 and S403-S404. In addition, the interface control unit can also perform data writing operations or data reading operations of multiple simulation components at the same time, that is, when there are multiple first simulation components, the interface control unit can update the data at the corresponding position in the variable buffer with the simulation results of multiple first simulation components at the same time according to S401-S402; when there are multiple second simulation components, the interface control unit can obtain the data required by multiple second simulation components from the variable buffer at the same time according to S403-S404, and send it to the corresponding second simulation component.

[0091] In this embodiment, by receiving the simulation results sent by the first simulation component, the variable buffer in the database is updated according to the interface control parameters and the simulation results, and the parameter acquisition request sent by the second simulation component is received. According to the association relationship between the second simulation component and the first simulation component, the data in the variable buffer is sent to the second simulation component. Under the premise of ensuring data consistency and integrity, data sharing between different simulation components in the simulation system is realized, thereby improving the operating efficiency of the simulation system.

[0092] Optionally, before S401, the method of this embodiment may further include an initialization process for a target simulation component in the simulation system that participates in the current simulation, so that the target simulation component enters an activated state, thereby ensuring that a subsequent simulation process can be launched and implemented.

[0093] For example, Figure 5 A flow chart of a data control method for a simulation system of another eVTOL aircraft provided in Embodiment 1 of the present application is shown in FIG. Figure 5 As shown, the data control method of the simulation system of the eVTOL aircraft of this embodiment includes:

[0094] S501, determine the target simulation component participating in this simulation.

[0095] The target simulation component includes multiple simulation components, including the first simulation component and the second simulation component mentioned above, and also includes other simulation components except the first simulation component and the second simulation component.

[0096] S502: Construct a target database of a database target simulation component.

[0097] To improve the data processing speed, in this embodiment, after determining the target simulation component, a target database may be constructed separately for the target simulation component, and the database includes data of all simulation components participating in the current simulation.

[0098] In a possible implementation, according to the identification of the target simulation component, Figure 3 The target database is obtained by extracting the data of the target simulation component from the database shown in the figure. Figure 3 The database shown is similar, the difference is that the attribute parameter area, state parameter area and variable buffer, input variable name table, output variable name table and variable position index table of the target database are all used to store the data of the target simulation component.

[0099] S503: Initialize the target simulation component.

[0100] Initialization of the target simulation component includes the following steps:

[0101] (1) Send the attribute parameters and initial values ​​of the input variables of the target simulation component to the target simulation component.

[0102] That is, the attribute parameters and initial values ​​of the input variables of each simulation component of this simulation are extracted respectively, and sent to the corresponding simulation components respectively. For example, the attribute parameters and initial values ​​of the input variables of the first simulation component are sent to the first simulation component, and the attribute parameters and initial values ​​of the input variables of the second simulation component are sent to the second simulation component.

[0103] After receiving the attribute parameters and the initial values ​​of the input variables, the target simulation component first loads the attribute parameters, then starts running with the initial values ​​of the input variables as input, completes an operation, obtains the result, and feeds the result back to the interface control unit.

[0104] (2) Receive the feedback results sent by the target simulation component and verify the target feedback results.

[0105] After receiving the feedback result sent by the target simulation component, the feedback result is compared with the initial value of the output variable in the database to determine whether the target simulation component has completed initialization. When comparing, the feedback result of the same simulation component is compared with the initial value of the output variable to determine whether the simulation component has completed initialization. If the feedback result is consistent with the initial value of the output variable, it means that the simulation component has completed initialization. Otherwise, it means that there is a problem with the simulation component and the developer needs to troubleshoot.

[0106] Exemplarily, the feedback result of the first simulation component is compared with the initial value of the output variable of the first simulation component. If the feedback result is consistent with the initial value of the output variable, it is determined that the first simulation component has completed initialization; the feedback result of the second simulation component is compared with the initial value of the output variable of the second simulation component. If the feedback result is consistent with the initial value of the output variable, it is determined that the second simulation component has completed initialization.

[0107] In this step, when the target simulation component completes initialization, that is, when it is determined that the initialization of all simulation components participating in the simulation has been completed, the process proceeds to S504.

[0108] Optionally, if a certain simulation component is missing, a fault monitoring tool will be used to prompt the developer, and the developer can perform troubleshooting.

[0109] S504: When it is determined that the target simulation component has completed initialization, enter a data update mode.

[0110] After all simulation components participating in this simulation have completed initialization, the interface control unit performs data update mode, that is, executes S401-S404 according to the operating frequency of each simulation component and the association relationship between different simulation components to achieve data update of each simulation component.

[0111] In this embodiment, before entering the update mode, a target database is constructed based on the data of the target simulation component and the target simulation component is initialized, which is conducive to the smooth implementation of the update mode, and is conducive to improving the data processing speed in the update mode, which is conducive to further accelerating the data processing efficiency of the entire simulation system.

[0112] Embodiment 2

[0113] Figure 6 This is a schematic diagram of the structure of a data control device for a simulation system of an eVTOL aircraft provided in Example 2 of the present application, as shown in FIG. Figure 6 As shown, the data control device 600 of the simulation system of the eVTOL aircraft in this embodiment includes:

[0114] A data writing module 610 and a data distribution module 620 .

[0115] The data writing module 610 is used to receive the simulation result sent by the first simulation component; update the variable buffer in the database according to the simulation result and the interface control parameter in the database;

[0116] The data distribution module 620 is used to receive a parameter acquisition request sent by the second simulation component; and send the data in the variable buffer to the second simulation component according to the association relationship between the second simulation component and the first simulation component.

[0117] Optionally, the interface control parameters include an output variable name table and a variable position index table, and the data writing module 610 is specifically used for:

[0118] Determine the target variable name corresponding to the simulation result according to the identifier of the first simulation component and the output variable name table;

[0119] Determine the target storage location of the simulation result in the variable buffer according to the variable location index table and the target variable name;

[0120] Using the simulation results, the data at the target storage location in the variable buffer is updated.

[0121] Optionally, a first sub-buffer and a second sub-buffer of a target variable are set at the target storage location; the data writing module 610 is specifically used for:

[0122] Storing the simulation result in the first sub-buffer;

[0123] The data in the first sub-buffer and the data in the second sub-buffer are exchanged.

[0124] Optionally, the data distribution module 620 is specifically used for:

[0125] Determine an association relationship between the second simulation component and the first simulation component;

[0126] According to the association relationship, the data in the first sub-buffer or the second sub-buffer is sent to the second simulation component.

[0127] Optionally, the data distribution module 620 is specifically used for:

[0128] If the second simulation component and the first simulation component have the same operating frequency, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component within a period, the data in the second sub-buffer is sent to the second simulation component;

[0129] If the second simulation component and the first simulation component have the same operating frequency, and there is a periodic data closed-loop dependency relationship between the second simulation component and the first simulation component, the data in the first sub-buffer is sent to the second simulation component;

[0130] If the operating frequencies of the second simulation component and the first simulation component are different, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component, the data in the second sub-buffer is sent to the second simulation component;

[0131] If there is an open-loop data dependency relationship between the second simulation component and the first simulation component, the data in the second sub-buffer is sent to the second simulation component.

[0132] Optionally, the database also includes attribute parameters and state parameters of different simulation components; the data control device of the simulation system of the eVTOL aircraft provided in this embodiment also includes: a data initialization module, used to determine the target simulation component participating in this simulation, the target simulation component including a first simulation component and a second simulation component; initialize the target simulation component according to the attribute parameters and state parameters of the target simulation component.

[0133] Optionally, the state parameters include initial values ​​of input variables and initial values ​​of output variables of different simulation components, and the data initialization module is specifically used for:

[0134] Sending the property parameters and initial values ​​of input variables of the target simulation component to the target simulation component; receiving the feedback result sent by the target simulation component; and determining whether the target simulation component has completed initialization based on the feedback result and the initial values ​​of the output variables of the target simulation component.

[0135] The data control device of the simulation system of the eVTOL aircraft provided in this embodiment can execute the data control method of the simulation system of the eVTOL aircraft provided in the above method embodiment, and has the corresponding functional modules and beneficial effects of the execution method. The implementation principle and technical effects of this embodiment are similar to those of the above method embodiment, and will not be repeated here.

[0136] Embodiment 3

[0137] Figure 7 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present application is shown in FIG. Figure 7 As shown, the electronic device 700 includes a memory 710, a processor 720, and a computer program stored in the memory and executable on the processor; the number of the processor 720 in the electronic device 700 may be one or more. Figure 7 A processor 720 is taken as an example; the processor 720 and the memory 710 in the electronic device 700 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0138] The memory 710, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the data writing module 610 and the data distribution module 620 in the embodiment of the present application. The processor 720 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 710, that is, realizes the data control method of the simulation system of the eVTOL aircraft mentioned above.

[0139] The memory 710 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 710 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 710 may further include a memory remotely arranged relative to the processor 720, and these remote memories may be connected to the electronic device via a grid. Examples of the above-mentioned grid include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0140] Embodiment 4

[0141] Embodiment 4 of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a computer processor, it is used to execute a data control method for a simulation system of an eVTOL aircraft. The method includes:

[0142] Receiving a simulation result sent by the first simulation component;

[0143] Update the variable buffer in the database according to the simulation results and the interface control parameters in the database;

[0144] Receiving a parameter acquisition request sent by the second simulation component;

[0145] According to the association relationship between the second simulation component and the first simulation component, the data in the variable buffer is sent to the second simulation component.

[0146] Of course, the computer-readable storage medium provided in the embodiment of the present application, whose computer program is not limited to the method operations described above, can also execute the relevant operations in the data control method of the simulation system of the eVTOL aircraft provided in any embodiment of the present application.

[0147] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present application can be implemented with the help of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or grid device, etc.) to execute the methods described in each embodiment of the present application.

[0148] It is worth noting that in the embodiment of the data control device of the simulation system of the above-mentioned eVTOL aircraft, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0149] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A data control method for a simulation system of an eVTOL aircraft, It is characterized in that include: Receiving a simulation result sent by the first simulation component; updating the variable buffer in the database according to the simulation results and the interface control parameters in the database; The interface control parameters include an output variable name table and a variable position index table; Receiving a parameter acquisition request sent by the second simulation component; sending the data in the variable buffer to the second simulation component according to the association relationship between the second simulation component and the first simulation component; the association relationship includes an operating frequency, an upstream-downstream relationship or a data dependency relationship; Wherein, updating the variable buffer in the database according to the simulation result and the interface control parameter in the database includes: determining the target variable name corresponding to the simulation result according to the identifier of the first simulation component and the output variable name table; determining the target storage position of the simulation result in the variable buffer according to the variable position index table and the target variable name; setting a first sub-buffer and a second sub-buffer of the target variable at the target storage position; storing the simulation result in the first sub-buffer; exchanging data in the first sub-buffer and the second sub-buffer; Wherein, sending the data in the variable buffer to the second simulation component according to the association relationship between the second simulation component and the first simulation component includes: determining the association relationship between the second simulation component and the first simulation component; if the second simulation component and the first simulation component have the same operating frequency, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component within a cycle, sending the data in the second sub-buffer to the second simulation component; if the second simulation component and the first simulation component have the same operating frequency, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component between cycles, sending the data in the first sub-buffer to the second simulation component; if the second simulation component and the first simulation component have different operating frequencies, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component, sending the data in the second sub-buffer to the second simulation component; if there is a data open-loop dependency relationship between the second simulation component and the first simulation component, sending the data in the second sub-buffer to the second simulation component.

2. The method according to claim 1, It is characterized in that The database also includes attribute parameters and state parameters of different simulation components; before receiving the simulation result sent by the first simulation component, the method also includes: Determine a target simulation component participating in this simulation, wherein the target simulation component includes the first simulation component and the second simulation component; The target simulation component is initialized according to the attribute parameters and state parameters of the target simulation component.

3. The method according to claim 2, It is characterized in that The state parameters include initial values ​​of input variables and initial values ​​of output variables of different simulation components. Initializing the target simulation component according to the attribute parameters and state parameters of the target simulation component includes: Sending the attribute parameters and input variable initial values ​​of the target simulation component to the target simulation component; Receiving feedback results sent by the target simulation component; Whether the target simulation component has completed initialization is determined according to the feedback result and the initial value of the output variable of the target simulation component.

4. A data control device for a simulation system of an eVTOL aircraft, It is characterized in that include: A data writing module, used for receiving the simulation result sent by the first simulation component; updating the variable buffer in the database according to the simulation results and the interface control parameters in the database; The interface control parameters include an output variable name table and a variable position index table; A data distribution module, configured to receive a parameter acquisition request sent by a second simulation component; and send the data in the variable buffer to the second simulation component according to an association relationship between the second simulation component and the first simulation component; the association relationship includes an operating frequency, an upstream and downstream relationship, or a data dependency relationship; Wherein, updating the variable buffer in the database according to the simulation result and the interface control parameter in the database includes: determining the target variable name corresponding to the simulation result according to the identifier of the first simulation component and the output variable name table; determining the target storage position of the simulation result in the variable buffer according to the variable position index table and the target variable name; setting a first sub-buffer and a second sub-buffer of the target variable at the target storage position; storing the simulation result in the first sub-buffer; exchanging data in the first sub-buffer and the second sub-buffer; Wherein, sending the data in the variable buffer to the second simulation component according to the association relationship between the second simulation component and the first simulation component includes: determining the association relationship between the second simulation component and the first simulation component; if the second simulation component and the first simulation component have the same operating frequency, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component within a cycle, sending the data in the second sub-buffer to the second simulation component; if the second simulation component and the first simulation component have the same operating frequency, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component between cycles, sending the data in the first sub-buffer to the second simulation component; if the second simulation component and the first simulation component have different operating frequencies, and there is a data closed-loop dependency relationship between the second simulation component and the first simulation component, sending the data in the second sub-buffer to the second simulation component; if there is a data open-loop dependency relationship between the second simulation component and the first simulation component, sending the data in the second sub-buffer to the second simulation component.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the data control method of the simulation system of the eVTOL aircraft as claimed in any one of claims 1 to 3 is implemented.

6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the data control method of the simulation system of the eVTOL aircraft as claimed in any one of claims 1 to 3 is implemented.