Interaction method, device and equipment suitable for aircraft non-structural grid software and medium

By constructing directed bounding boxes and bidirectional kinetic relationships, and combining CPU and GPU acceleration lists and converters, the interaction process of unstructured mesh software for aircraft is optimized, solving the problems of inconvenient user operation and low interaction efficiency in existing technologies, and achieving efficient object selection and operation.

CN121835033BActive Publication Date: 2026-05-12CALCULATION AERODYNAMICS INST CHINA AERODYNAMICS RES & DEV CENT
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CALCULATION AERODYNAMICS INST CHINA AERODYNAMICS RES & DEV CENT
Filing Date
2026-03-13
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing technologies in the interaction process of unstructured mesh software for aircraft are inconvenient for users and have low interaction efficiency, especially when it is limited in efficiently capturing multiple selected objects. In particular, when the data volume reaches tens of millions in the field of CFD, existing technologies cannot efficiently capture and pick up objects.

Method used

By constructing a directed bounding box and dividing it into six hexahedrons based on the preset number of branch tree nodes, a two-way link is established between triangular facet objects and mesh facet objects. An acceleration list is established between the CPU and GPU, and a preset converter is used to transform objects when the target function is activated, and collision detection is performed to optimize the interaction.

Benefits of technology

It improves the interactive efficiency of unstructured mesh software for aircraft, enhances the user experience, and enables efficient object selection and manipulation within the functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121835033B_ABST
    Figure CN121835033B_ABST
Patent Text Reader

Abstract

The application discloses an interactive method and device suitable for aircraft non-structure grid software, equipment and medium, relates to the field of aircraft technology, and comprises the following steps: constructing a directed bounding box based on model size and position, dividing the directed bounding box into a plurality of hexahedrons including triangular facets, constructing a to-be-processed fork tree, and establishing a two-way link relationship between each triangular facet object and the corresponding grid surface object in the aircraft non-structure grid; establishing an acceleration list between a CPU and a GPU; when a target function is not activated, a function mode tag selects a to-be-converted object; the to-be-converted object comprises a triangular facet object and a grid surface object; when the target function is activated, the to-be-converted object is converted into an operable object in the function by using a preset converter. The to-be-detected object is determined by the link relationship, the to-be-detected object is added to a detection container for collision detection, a to-be-operated interactive object is obtained to execute a function operation, and the efficiency of optimizing the interaction between the non-structure grid software of the aircraft is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of aircraft technology, and in particular to an interactive method, apparatus, device, and medium suitable for unstructured mesh software for aircraft. Background Technology

[0002] Currently, for unstructured meshes, the interaction mode of benchmark software involves selecting the object to be operated on outside the function and then entering the function to adjust that object. The disadvantage of this method is that users cannot change objects within the same function. If they want to switch to other objects, they must exit the function, select other objects, and re-enter the corresponding function, which is inconvenient for users.

[0003] To address current user needs, the new mode offers both detailed manipulation of interactive objects within functions and one-click operation for certain functions. The new interaction mode initiates the selection of all objects outside of functions, and based on the function being operated on, a converter transforms objects from outside the function to objects within the function. Within the function, only the selection of objects related to that function is initiated.

[0004] However, users' computer graphics card configurations vary greatly, limiting the interactive technology. Furthermore, for human-computer interaction software with data volumes reaching tens of millions, especially in the field of CFD (Computational Fluid Dynamics), where multiple objects are selected simultaneously, existing technologies cannot achieve efficient capture and picking.

[0005] As can be seen from the above, how to improve the efficiency of optimizing the interaction mode between unstructured grid software for aircraft during the interaction process is an urgent problem to be solved. Summary of the Invention

[0006] In view of this, the purpose of this invention is to provide an interaction method, apparatus, device, and medium suitable for unstructured mesh software of aircraft, which can improve the efficiency of optimizing the interaction between unstructured mesh software of aircraft during the interaction process. The specific solution is as follows:

[0007] In a first aspect, this application provides an interactive method suitable for unstructured mesh software for aircraft, comprising:

[0008] Based on the model size and position corresponding to the unstructured mesh of the aircraft, a directed bounding box is constructed. The directed bounding box is divided into several hexahedrons including triangular facets based on the preset number of branch tree nodes. A branch tree to be processed is constructed based on each hexahedron.

[0009] Establish a two-way link between each triangular facet object and its corresponding mesh face object in the unstructured mesh of the aircraft;

[0010] An acceleration list is established between the CPU and GPU corresponding to the unstructured mesh software of the aircraft, and a function mode label corresponding to the target function is determined. When the target function is not activated, the object to be converted corresponding to the target function is selected based on the bidirectional link relationship, the function mode label and the acceleration list. The object to be converted includes the triangular facet object and the mesh face object.

[0011] When the target function is activated, a preset converter is used to convert each of the objects to be converted into operable objects within the function corresponding to the target function.

[0012] Based on the operable objects within the function, determine each node to be processed corresponding to the branch tree to be processed, and based on the bidirectional link relationship, determine the corresponding object to be detected from each node to be processed;

[0013] Each of the objects to be detected is added to a detection container for collision detection to obtain an interactive object to be operated on, and then the interactive object to be operated on is used for functional operation.

[0014] Optionally, the step of constructing a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft, dividing the directed bounding box into several hexahedrons including triangular facets based on a preset number of branch tree nodes, and constructing a branch tree to be processed based on each hexahedron includes:

[0015] Determine the model file corresponding to the aircraft, and construct the current directed bounding box based on the model file and the model size and position corresponding to the unstructured mesh of the aircraft. Set the current directed bounding box as the current root node, and then determine the level threshold based on the preset number of branch tree nodes.

[0016] Using a top-down recursive partitioning method, starting from the current root node, the current directed bounding box is divided into a preset number of current hexahedrons, each containing a triangular facet, at the current level, and each of the current hexahedrons is bound to a child node of the current root node.

[0017] Determine whether the current level is less than the level threshold. If the current level is less than the level threshold, update the current level and set each of the current hexahedrons as the new current directed bounding box. Then, jump back to the step of setting the current directed bounding box as the current root node until the current level is not less than the level threshold, and obtain the branch tree to be processed. The size of each node in each branch tree to be processed is consistent with the size of the corresponding triangular facet.

[0018] Optionally, establishing the bidirectional link between each triangular facet object in the unstructured mesh of the aircraft and the corresponding mesh face object includes:

[0019] In the visualization interface corresponding to the unstructured mesh of the aircraft, each triangular facet object and each mesh face object in the unstructured mesh of the aircraft are identified to obtain the corresponding triangular facet object and mesh face object;

[0020] The triangular facet object is set as the first link starting point, and a first link relationship is constructed between it and the corresponding mesh facet object based on the first link starting point. Then, the mesh facet object is set as the second link starting point, and a second link relationship is constructed between it and the corresponding triangular facet object based on the second link starting point, so as to construct a bidirectional link relationship based on the first link relationship and the second link relationship.

[0021] Optionally, the step of establishing an acceleration list between the CPU and GPU corresponding to the unstructured mesh software of the aircraft and determining the function mode label corresponding to the target function, so as to select the object to be converted corresponding to the target function based on the bidirectional link relationship, the function mode label and the acceleration list when the target function is not activated, includes:

[0022] The CPU and GPU corresponding to the unstructured mesh software are determined, and an acceleration list for accelerating data interaction is built between the CPU and GPU running the unstructured mesh software. Then, without activating any function in the unstructured mesh software, an initial object selection instruction for all objects of the unstructured mesh of the aircraft is received in the visualization interface of the unstructured mesh software.

[0023] The function mode label corresponding to the target function is determined, and the object to be converted corresponding to the target function is determined based on the bidirectional link relationship, the initial object selection instruction and the function mode label, so as to use the acceleration list and the bidirectional link relationship to group and schedule each object to be converted; the object to be converted includes grid point object, grid line object, grid surface object, grid block object, digital model line object, digital model surface object and triangular facet object.

[0024] Optionally, the step of determining each node to be processed corresponding to the branch tree to be processed based on the operable objects within the function, and determining the corresponding object to be detected from each node to be processed based on the bidirectional link relationship, includes:

[0025] Determine if the branch tree to be processed exists. If it does not exist, jump back to the step of constructing the branch tree to be processed based on each of the hexahedrons. If it exists, when a trigger command corresponding to the user behavior is received, generate a line of sight ray based on the screen coordinates corresponding to the trigger command, and use the line of sight ray to perform collision detection with the branch tree to be processed to obtain the node to be processed.

[0026] Identify the triangular facet objects corresponding to each node to be processed, construct an initial capture set based on each triangular facet object, and determine the mesh face objects to be added corresponding to each triangular facet object based on the bidirectional link relationship and the initial capture set;

[0027] Based on the bidirectional link relationship and each of the mesh face objects to be added, the corresponding mesh line objects to be added and mesh block objects to be added are determined, and the corresponding objects to be detected are determined based on each of the triangular face objects, each of the mesh face objects to be added, each of the mesh line objects to be added and each of the mesh block objects to be added.

[0028] Optionally, adding each of the objects to be detected to a detection container for collision detection to obtain an interactive object to be operated on, and then performing functional operations on the interactive object to be operated on, includes:

[0029] Each of the triangular face objects, each of the mesh face objects to be added, each of the mesh line objects to be added, and each of the mesh block objects to be added are added to the detection container, so as to use the detection container to determine the geometric structure corresponding to each of the objects to be detected;

[0030] By utilizing collision detection mechanisms and image rendering technology, and based on the geometric structure, collision detection is performed between the line of sight and each of the objects to be detected to obtain the interactive objects to be operated. Functional operations are then performed on the interactive objects to be operated based on the functional operations corresponding to the target function. The functional operations include visually highlighting the interactive objects to be operated, editing their attributes, and dynamically removing them from the 3D scene.

[0031] Secondly, this application provides an interactive device suitable for unstructured mesh software for aircraft, comprising:

[0032] The branch tree construction module is used to construct a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft, and to divide the directed bounding box into several hexahedrons including triangular facets based on the preset number of branch tree nodes, and to construct a branch tree to be processed based on each hexahedron.

[0033] The two-way link relationship generation module is used to establish two-way link relationships between each triangular facet object and the corresponding mesh face object in the unstructured mesh of the aircraft.

[0034] The function mode label determination module is used to establish an acceleration list between the CPU and GPU corresponding to the unstructured mesh software of the aircraft, and determine the function mode label corresponding to the target function, so as to select the object to be converted corresponding to the target function based on the bidirectional link relationship, the function mode label and the acceleration list when the target function is not activated; the object to be converted includes the triangular patch object and the mesh surface object;

[0035] An operable object determination module is used to convert each of the objects to be converted into operable objects within the function corresponding to the target function when the target function is activated, using a preset converter.

[0036] The object to be detected module is used to determine each node to be processed corresponding to the branch tree to be processed based on the operable objects within the function, and to determine the corresponding object to be detected from each node to be processed based on the bidirectional link relationship.

[0037] The interaction object determination module is used to add each of the objects to be detected to the detection container for collision detection to obtain the interaction objects to be operated on, so as to perform functional operations on the interaction objects to be operated on.

[0038] Thirdly, this application provides an electronic device, comprising:

[0039] Memory, used to store computer programs;

[0040] A processor is used to execute the computer program to implement the aforementioned interactive method for unstructured grid software for aircraft.

[0041] Fourthly, this application provides a computer-readable medium for storing a computer program, wherein the computer program, when executed by a processor, implements the aforementioned interactive method for unstructured mesh software for aircraft.

[0042] As can be seen from the above, before interacting with unstructured mesh software for aircraft, this application needs to construct a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft. This directed bounding box is then divided into several hexahedrons, each containing triangular facets, based on a preset number of branch tree nodes. A branch tree to be processed is then constructed based on each hexahedron. A bidirectional link is established between each triangular facet object in the unstructured mesh of the aircraft and its corresponding mesh facet object. An acceleration list is established between the CPU and GPU of the unstructured mesh software, and a functional mode label corresponding to the target function is determined so that when the target function is not activated... Based on the bidirectional link relationship, functional mode labels, and acceleration list, select the object to be converted corresponding to the target function; the object to be converted includes triangular facet objects and mesh facet objects; when the target function is activated, use the preset converter to convert each object to be converted into an operable object within the function corresponding to the target function; based on the operable object within the function, determine each node to be processed corresponding to the branch tree to be processed, and determine the corresponding object to be detected from each node to be processed based on the bidirectional link relationship; add each object to be detected to the detection container for collision detection to obtain the interactive object to be operated, so as to perform functional operations on the interactive object to be operated.

[0043] Therefore, this application first needs to construct a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft. The directed bounding box is then divided into several hexahedrons, each containing triangular facets, based on a preset number of branch tree nodes. A branch tree to be processed is then constructed based on each hexahedron. Secondly, a bidirectional link is established between each triangular facet object in the unstructured mesh of the aircraft and its corresponding mesh facet object. An acceleration list is established between the CPU and GPU of the unstructured mesh software, and a functional mode label corresponding to the target function is determined. When the target function is not activated, the object to be converted is selected based on the bidirectional link, functional mode label, and acceleration list. Thirdly, when the target function is activated, a preset converter is used to convert each object to be converted into an operable object within the function corresponding to the target function. Then, based on the operable object within the function, each node to be processed corresponding to the branch tree is determined, and the corresponding object to be detected is determined from each node based on the bidirectional link. Finally, each object to be detected is added to a detection container for collision detection to obtain an interactive object to be operated on, allowing for functional operations on the interactive object. This improves the efficiency of optimizing interactions between unstructured mesh software applications for aircraft, thereby enhancing the user experience. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0045] Figure 1 This application discloses an interactive method flowchart for unstructured mesh software applicable to aircraft.

[0046] Figure 2 This is a schematic diagram of a specific first-layer packaging box disclosed in this application;

[0047] Figure 3 This is a schematic diagram illustrating a specific method of binding a bounding box to the root node of a tree, as disclosed in this application.

[0048] Figure 4 This is a schematic diagram of a specific second-layer bounding box disclosed in this application;

[0049] Figure 5 This is a schematic diagram illustrating the effect of interacting with unstructured mesh software applicable to aircraft, as disclosed in this application.

[0050] Figure 6 This is a schematic diagram illustrating the possible options for each specific object disclosed in this application;

[0051] Figure 7 This is a schematic diagram of a specific grid line object disclosed in this application;

[0052] Figure 8 This is a schematic diagram of a specific mesh surface object disclosed in this application;

[0053] Figure 9 This is a schematic diagram of a specific mesh block object disclosed in this application;

[0054] Figure 10 This is a schematic diagram of a specific digital model surface object disclosed in this application;

[0055] Figure 11 This is a schematic diagram of a specific digital model line object disclosed in this application;

[0056] Figure 12 This is a schematic diagram of a specific triangular facet object disclosed in this application;

[0057] Figure 13 This is a schematic diagram illustrating a specific interaction speed-up optimization disclosed in this application;

[0058] Figure 14This is a schematic diagram of a specific model file disclosed in this application;

[0059] Figure 15 This is a schematic diagram of specific triangular facet data disclosed in this application;

[0060] Figure 16 This is a schematic diagram of a specific minimum bounding box disclosed in this application;

[0061] Figure 17 This is a specific object association diagram disclosed in this application;

[0062] Figure 18 This is a specific capture illustration disclosed in this application;

[0063] Figure 19 This is a schematic diagram illustrating a specific interaction efficiency test effect comparison disclosed in this application;

[0064] Figure 20 This application discloses a specific example of optimizing the interaction mode of unstructured mesh software, illustrating the before and after interfaces. Figure 20 (a) is a cross-sectional schematic diagram before optimizing the interaction mode of the unstructured mesh software. Figure 20 (b) is a cross-sectional schematic diagram after optimizing the interaction mode of the unstructured mesh software;

[0065] Figure 21 This is a schematic diagram of a specific external selection mesh surface object disclosed in this application;

[0066] Figure 22 This is a real-time preview diagram generated after a specific entry function disclosed in this application;

[0067] Figure 23 This is a schematic diagram illustrating a specific functional addition option disclosed in this application;

[0068] Figure 24 This is a schematic diagram of an interactive device structure for unstructured mesh software for aircraft disclosed in this application;

[0069] Figure 25 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation

[0070] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0071] Currently, for unstructured meshes, the interaction mode of benchmark software involves selecting the object to be manipulated outside the function and then adjusting that object within the function. The drawbacks of this method are that users cannot change objects within the same function, and the varying graphics card configurations of users' computers limit the interaction technology, especially for human-computer interaction software with data volumes reaching tens of millions. Therefore, this application provides an interaction method suitable for unstructured mesh software for aircraft, which can improve the efficiency of optimizing interactions between unstructured mesh software programs for aircraft.

[0072] See Figure 1 As shown, this embodiment of the invention discloses an interaction method suitable for unstructured mesh software for aircraft, including:

[0073] Step S11: Construct a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft, and divide the directed bounding box into several hexahedrons including triangular facets based on the preset number of branch tree nodes, and construct a branch tree to be processed based on each hexahedron.

[0074] In this embodiment, the present application embodiment needs to construct a branch tree and bounding box corresponding to the unstructured mesh of the aircraft. That is, the present application embodiment can create an N-branch tree with a depth of L according to the bounding box size. In one specific implementation, let L=4 and N=27. Then, the N-branch tree partitioning method is used to divide the three-dimensional space into 27 regular hexahedral data structures. The hexahedron is the node of the 27-branch tree, and the next layer of nodes is recursively subdivided.

[0075] It is worth mentioning that the process of constructing the bounding box is as follows: First, construct a directed bounding box according to the size and position of the unstructured mesh model; second, recursively draw the above directed bounding boxes in a top-down manner; then, traverse all nodes in the current layer R and divide them into 27 child nodes in layer R+1; finally, repeat the above steps until the predefined layer number L is reached.

[0076] In one specific implementation, taking the f6 model as an example, this embodiment of the application can create a bounding box larger than the model size, and the schematic diagram of the packaging box is as follows. Figure 2 As shown, the bounding box is then bound to the root node of the tree, as follows. Figure 3 As shown; then, create a second layer of bounding boxes based on the dimensions of the first layer, where there are 27 second-layer bounding boxes, and the corresponding diagram is shown below. Figure 4 As shown, the bounding box is bound to the child nodes of the tree; and so on, to achieve the binding of the four layers of bounding boxes to the tree nodes one by one.

[0077] Specifically, a directed bounding box is constructed based on the model size and position corresponding to the unstructured mesh of the aircraft. This directed bounding box is then divided into several hexahedrons, each containing triangular facets, based on a preset number of branch tree nodes. A branch tree to be processed is then constructed based on each hexahedron. This process may include: determining the model file corresponding to the aircraft; constructing the current directed bounding box based on the model file and the model size and position corresponding to the unstructured mesh of the aircraft; setting the current directed bounding box as the current root node; determining the level threshold based on the preset number of branch tree nodes; and using a top-down recursive partitioning method starting from the current root node. The process begins by dividing the current directed bounding box into a preset number of current hexahedrons, each containing a triangular facet, at the current level. Each current hexahedron is then bound to a child node of the current root node. The process continues by determining if the current level is less than a level threshold. If so, the current level is updated, and each current hexahedron is set as a new current directed bounding box. The process then jumps back to the step of setting the current directed bounding box as the current root node, continuing until the current level is not less than the level threshold, resulting in a branch tree to be processed. The dimensions of each node in each branch tree are consistent with the dimensions of its corresponding triangular facet.

[0078] Step S12: Establish a two-way link between each triangular facet object in the unstructured mesh of the aircraft and the corresponding mesh face object.

[0079] In this embodiment, the effect diagram of interaction with unstructured mesh software suitable for aircraft is as follows: Figure 5 As shown. The interaction mode in this embodiment employs a method where all object selections are initiated outside the function, and then, based on the user's operation, an external object is converted to an internal object via a converter. Furthermore, within the function, only the selection of objects related to that function is initiated. Figure 6 To simultaneously activate the candidate schematic diagrams for each object, it is worth mentioning that all candidate objects include the selection of mesh point objects, mesh line objects, mesh surface objects, mesh block objects, digitized line objects, digitized surface objects, hyperface objects, and hyperedge objects. Furthermore, in addition to the above-mentioned objects, this embodiment of the application also requires the selection of triangular facet elements within the mesh surface. Figure 7 This is a schematic diagram of a grid line object. Figure 8 This is a schematic diagram of a mesh surface object. Figure 9 This is a schematic diagram of a grid block object. Figure 10 This is a schematic diagram of a digital model surface object. Figure 11 This is a schematic diagram of a digital module object. Figure 12 This is a schematic diagram of a triangular facet object.

[0080] Specifically, establishing a bidirectional link between each triangular facet object in the unstructured mesh of the aircraft and its corresponding mesh facet object can include: identifying each triangular facet object and each mesh facet object in the unstructured mesh of the aircraft in the visualization interface corresponding to the unstructured mesh of the aircraft, obtaining the corresponding triangular facet object and mesh facet object; setting the triangular facet object as the first link starting point, and constructing a first link relationship between it and the corresponding mesh facet object based on the first link starting point; then setting the mesh facet object as the second link starting point, and constructing a second link relationship between it and the corresponding triangular facet object based on the second link starting point, so as to construct a bidirectional link relationship based on the first link relationship and the second link relationship.

[0081] Step S13: Establish an acceleration list between the CPU and GPU corresponding to the unstructured mesh software of the aircraft, and determine the function mode label corresponding to the target function, so as to select the object to be converted corresponding to the target function based on the bidirectional link relationship, the function mode label and the acceleration list when the target function is not activated; the object to be converted includes the triangular facet object and the mesh face object.

[0082] In this embodiment, for the interaction mode that initiates the selection of all objects outside the unstructured mesh, this embodiment of the application needs to solve the real-time interaction problem of a large number of interactive objects. The corresponding speed-up optimization diagram is shown below. Figure 13 As shown: For unstructured meshes, this embodiment constructs a static directed bounding box based on model size and position. This bounding box serves as a capture bounding box for visualization data. Subsequently, triangle objects within the mesh face are added to the leaf nodes of the branch tree to accelerate the processing of triangle faces. Furthermore, mesh face relationships are added to the triangle face objects, thereby accelerating the processing of mesh face objects through the acceleration of triangle faces.

[0083] Furthermore, for the triangular facet meshes inside the unstructured mesh surfaces corresponding to 3D spatial models in the CFD field, Gem Knight constructs a static directed bounding box based on the model size and position. When the user optimizes other models, the bounding box is dynamically updated according to the new model size. The specific implementation process is as follows: Under the same selection framework, compatibility is achieved between conventional selection objects such as mesh surfaces and mesh lines and interactive objects of the acceleration tree contained in the triangular facets: the selection object mode is divided into the selection of triangular facets and the selection of conventional objects such as mesh surfaces. A selection label is added to each selection object. When the user starts the selection, the current selection method is determined according to the selection label, thereby realizing the distinction between triangular facets and mesh surfaces. In this way, the embodiment of this application determines the current selection mode (the selection mode includes the selection of triangular facets and the selection of conventional objects such as mesh surfaces) through the selection mode label.

[0084] Specifically, an acceleration list is established between the CPU (Central Processing Unit) and GPU (Graphics Processing Unit) corresponding to the unstructured mesh software of the aircraft, and a function mode label corresponding to the target function is determined. This allows for the selection of objects to be converted corresponding to the target function based on a bidirectional link, function mode labels, and the acceleration list when the target function is not activated. This can include: determining the CPU and GPU corresponding to the unstructured mesh software, building an acceleration list between the CPU and GPU running the unstructured mesh software to accelerate data interaction, and then receiving an initial object selection command for all objects in the unstructured mesh software's visual interface when no function in the unstructured mesh software is activated; determining the function mode label corresponding to the target function, and determining the objects to be converted corresponding to the target function based on the bidirectional link, the initial object selection command, and the function mode label, so as to group and schedule each object to be converted using the acceleration list and based on the bidirectional link; the objects to be converted include mesh point objects, mesh line objects, mesh surface objects, mesh block objects, digital model line objects, digital model surface objects, and triangular patch objects.

[0085] Step S14: When the target function is activated, the preset converter is used to convert each object to be converted into an operable object within the function corresponding to the target function.

[0086] In this embodiment, when the target function is activated, a pre-configured converter is used to convert each object to be converted into an operable object within the function corresponding to the target function, thereby reducing the amount of data to be processed.

[0087] Step S15: Based on the operable objects within the function, determine each node to be processed corresponding to the branch tree to be processed, and based on the bidirectional link relationship, determine the corresponding object to be detected from each node to be processed.

[0088] In this embodiment, the process of constructing unstructured triangular mesh data and binding the triangular meshes to the leaf nodes of the branch tree is as follows: First, import the model file, and the corresponding model file diagram is shown below. Figure 14 As shown, unstructured triangular facet data is then generated based on the model file, and the corresponding triangular facet data diagram is shown below. Figure 15 As shown; secondly, determine if the branch tree exists. If it does not exist, perform the steps to construct the branch tree and bounding box. If it exists, construct the minimum bounding box corresponding to the triangle based on the triangle size, and the schematic diagram of the minimum bounding box is shown below. Figure 16The interaction object 1 is shown in the diagram. Then, all bounding boxes in the current layer R are traversed, and the bounding boxes of the triangular facets are intersected with the bounding boxes of the current layer of the branch tree based on the size of the triangular facet bounding boxes. This finds the intersecting bounding boxes, and the data of the R+1 layer sub-bounding boxes contained in the bounding box are obtained and intersected. Finally, the above steps are repeated until the leaf nodes of the branch tree are found, and the current triangular facet is added to the leaf nodes of the branch tree. Then, the triangular facets on the boundary are added to each intersecting leaf node to increase the capture accuracy.

[0089] Specifically, the process involves determining each node to be processed corresponding to the branch tree to be processed based on the operable objects within the function, and determining the corresponding object to be detected from each node to be processed based on the bidirectional link relationship. This can include: determining whether the branch tree to be processed exists; if not, re-jumping to the step of constructing the branch tree based on each hexahedron; if it exists, generating a line-of-sight ray based on the screen coordinates corresponding to the trigger command when a trigger command corresponding to the user behavior is received, and using the line-of-sight ray to perform collision detection with the branch tree to be processed to obtain the node to be processed; determining the triangular face objects corresponding to each node to be processed, constructing an initial capture set based on each triangular face object, and determining the mesh face objects to be added corresponding to each triangular face object based on the bidirectional link relationship and the initial capture set; determining the corresponding mesh line objects to be added and mesh block objects to be added based on the bidirectional link relationship and each mesh face object to be added, and determining the corresponding object to be detected based on each triangular face object, each mesh face object to be added, each mesh line object to be added, and each mesh block object to be added.

[0090] Step S16: Add each of the objects to be detected to the detection container for collision detection to obtain the interactive objects to be operated on, so as to perform functional operations on the interactive objects to be operated on.

[0091] In this embodiment, during the coarse capture process, only triangular facet objects are captured. Then, the face objects associated with the captured triangular facets are added to a container to utilize the capture mechanism in OpenGL for detailed processing of the objects in the container. A schematic diagram of the corresponding object associations is shown below. Figure 17 As shown.

[0092] In this embodiment, since the unstructured mesh surface is composed of triangles, it possesses a geometric structure. For the unstructured mesh surface, this embodiment constructs a static directed bounding box based on the model size and position. This bounding box serves as the capture bounding box for visualization data. Subsequently, based on the number of nodes at each level of the branch tree, the bounding box is divided into N hexahedrons, and each hexahedron is bound to a branch tree, thereby achieving rapid data distribution. The triangles in the mesh surface are then added to the leaf nodes of the branch tree. Notably, during object capture, this embodiment can quickly capture triangular faces through the branch tree. Using triangles as a link, associated mesh surfaces are found, and the associated selected objects are added to a container. Further refined capture is then performed using the capture mechanism in OpenGL (Open Graphics Library, an application programming interface), accelerating data capture. The corresponding capture diagram is shown below. Figure 18 As shown.

[0093] Specifically, each object to be detected is added to a detection container for collision detection to obtain an interactive object to be operated on. This can include: adding each triangular facet object, each mesh face object to be added, each mesh line object to be added, and each mesh block object to be added to the detection container to determine the geometric structure corresponding to each object to be detected; using a collision checking mechanism and image rendering technology, and based on the geometric structure, performing collision detection between the line of sight and each object to be detected to obtain an interactive object to be operated on, and performing functional operations on the interactive object to be operated on based on the target function; the functional operations include visually highlighting the interactive object to be operated on, editing its attributes, and dynamically removing it from the 3D scene.

[0094] It is worth mentioning that the collision detection in this embodiment is performed in two parts: First, a coarse screening is performed, that is, collision detection is performed between the bounding box at the screen coordinate position and the bounding box with the capture flag. The triangular facets in the bounding box where the collision occurs are taken out and placed into a container. Based on the currently taken triangular facets, the associated mesh faces are found according to the relationship between the triangles, and the related objects are stored in the container. Then, a fine capture is performed, that is, an image-based method is used to detect collisions using image rendering technology. OpenGL has a corresponding collision detection mechanism called Picking. The principle is to generate a ray by connecting the camera and the screen coordinates, determine the intersection of the ray with the objects in the scene, return the intersecting objects, and then display the objects to be displayed to the user according to the user's needs.

[0095] In this embodiment, the comparison diagram of the interaction efficiency test results in this application embodiment is as follows: Figure 19As shown, the blue squares represent the interaction efficiency test results for the new interaction mode, and the orange squares represent the interaction efficiency test results for the new interaction mode. The before and after interfaces for optimizing the interaction mode of the unstructured grid software are shown below. Figure 20 As shown, where, Figure 20 (a) is a cross-sectional schematic diagram before optimizing the interaction mode of the unstructured mesh software. Figure 20 (b) is a cross-sectional schematic diagram after optimizing the interaction mode of the unstructured mesh software.

[0096] In one specific implementation, taking mesh surface translation as an example, a schematic diagram of selecting a mesh surface object outside the function is shown below. Figure 21 As shown, a closed-loop logic of "selection-operation-hold" is then adopted: after entering the function, the external selection state is automatically inherited and a real-time preview is generated, and the real-time preview diagram generated after entering the function is shown in the figure. Figure 22 As shown, it also supports dynamically adding objects during operation. A diagram illustrating the addition selection within the function is shown below. Figure 23 As shown, it meets the needs of complex scenarios; when exiting the function, the original selected set is retained, providing state continuity for continuous operation.

[0097] As can be seen from the above, the embodiments of this application first need to construct a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft. The directed bounding box is then divided into several hexahedrons including triangular facets based on the preset number of branch tree nodes, and a branch tree to be processed is constructed based on each hexahedron. Second, a bidirectional link relationship is established between each triangular facet object in the unstructured mesh of the aircraft and the corresponding mesh face object. An acceleration list is established between the CPU and GPU corresponding to the unstructured mesh software of the aircraft, and the function mode label corresponding to the target function is determined so that when the target function is not activated, the object to be converted corresponding to the target function is selected based on the bidirectional link relationship, the function mode label, and the acceleration list. Third, when the target function is activated, a preset converter is used to convert each object to be converted into an operable object within the function corresponding to the target function. Then, based on the operable object within the function, each node to be processed corresponding to the branch tree to be processed is determined, and the corresponding object to be detected is determined from each node to be processed based on the bidirectional link relationship. Finally, each object to be detected is added to the detection container for collision detection to obtain the interactive object to be operated, so as to perform functional operations on the interactive object to be operated. This improves the efficiency of optimizing interactions between unstructured mesh software applications for aircraft, thereby enhancing the user experience.

[0098] Accordingly, see Figure 24 As shown, this application also provides an interactive device suitable for unstructured mesh software for aircraft, comprising:

[0099] The two-way link relationship generation module 11 is used to establish the two-way link relationship between each triangular facet object and the corresponding mesh face object in the unstructured mesh of the aircraft.

[0100] The function mode label determination module 12 is used to establish an acceleration list between the CPU and GPU corresponding to the unstructured mesh software of the aircraft, and determine the function mode label corresponding to the target function, so as to select the object to be converted corresponding to the target function based on the bidirectional link relationship, the function mode label and the acceleration list when the target function is not activated; the object to be converted includes the triangular facet object and the mesh face object;

[0101] The operable object determination module 13 is used to convert each of the objects to be converted into operable objects within the function corresponding to the target function when the target function is activated by using a preset converter.

[0102] The branch tree construction module 14 is used to construct a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft, and to divide the directed bounding box into several hexahedrons including triangular facets based on the preset number of branch tree nodes, and to construct a branch tree to be processed based on each hexahedron.

[0103] The object to be detected module 15 is used to determine each node to be processed corresponding to the branch tree to be processed based on the operable objects within the function, and to determine the corresponding object to be detected from each node to be processed based on the bidirectional link relationship.

[0104] The interaction object determination module 16 is used to add each of the objects to be detected to the detection container for collision detection to obtain the interaction objects to be operated, so as to perform functional operations on the interaction objects to be operated.

[0105] In some specific embodiments, the bidirectional bond relationship generation module 11 may specifically include:

[0106] The object recognition unit is used to identify each triangular facet object and each mesh face object in the unstructured mesh of the aircraft in the visualization interface corresponding to the unstructured mesh of the aircraft, and obtain the corresponding triangular facet object and mesh face object.

[0107] A bidirectional link relationship generation subunit is used to set the triangular facet object as the first link starting point, and construct a first link relationship between the triangular facet object and the corresponding mesh facet object based on the first link starting point. Then, the mesh facet object is set as the second link starting point, and a second link relationship between the triangular facet object and the corresponding mesh facet object is constructed based on the second link starting point, so as to construct a bidirectional link relationship based on the first link relationship and the second link relationship.

[0108] In some specific embodiments, the function mode label determination module 12 may specifically include:

[0109] An acceleration list construction unit is used to determine the CPU and GPU corresponding to the unstructured mesh software, and to construct an acceleration list between the CPU and GPU running the unstructured mesh software to accelerate data interaction. Then, in a state where no function in the unstructured mesh software is activated, it receives an initial object selection instruction for all objects of the unstructured mesh of the aircraft in the visualization interface of the unstructured mesh software.

[0110] The object to be converted determination unit is used to determine the function mode label corresponding to the target function, and determine the object to be converted corresponding to the target function based on the bidirectional link relationship, the initial object selection instruction and the function mode label, so as to use the acceleration list and group and schedule each object to be converted based on the bidirectional link relationship; the object to be converted includes grid point object, grid line object, grid surface object, grid block object, digital model line object, digital model surface object and triangular patch object.

[0111] In some specific embodiments, the fork tree construction module 14 may specifically include:

[0112] A directed bounding box construction unit is used to determine the model file corresponding to the aircraft, and construct the current directed bounding box based on the model file and the model size and position corresponding to the unstructured mesh of the aircraft, and set the current directed bounding box as the current root node, and then determine the level threshold based on the preset number of branch tree nodes;

[0113] The child node binding unit is used to divide the current directed bounding box into a preset number of current hexahedrons, including triangular facets, at the current level using a top-down recursive partitioning method starting from the current root node, and bind each of the current hexahedrons to the child node of the current root node.

[0114] The level determination unit is used to determine whether the current level is less than the level threshold. If the current level is less than the level threshold, the current level is updated, and each of the current hexahedrons is set as the new current directed bounding box. Then, the process jumps back to the step of setting the current directed bounding box as the current root node until the current level is not less than the level threshold, thus obtaining the branch tree to be processed. The size of each node in each branch tree to be processed is consistent with the size of the corresponding triangular facet.

[0115] In some specific embodiments, the object determination module 15 may specifically include:

[0116] The branch tree existence determination unit is used to determine whether the branch tree to be processed exists. If it does not exist, the process jumps back to the step of constructing the branch tree to be processed based on each of the hexahedrons. If it exists, when a trigger command corresponding to the user behavior is received, a line of sight ray is generated based on the screen coordinates corresponding to the trigger command. The line of sight ray is used to perform collision detection with the branch tree to be processed to obtain the node to be processed.

[0117] A capture set construction unit is used to determine the triangular facet objects corresponding to each of the nodes to be processed, construct an initial capture set based on each of the triangular facet objects, and determine the mesh face objects to be added corresponding to each of the triangular facet objects based on the bidirectional link relationship and the initial capture set.

[0118] The object to be detected subunit is used to determine the corresponding grid line object and grid block object to be added based on the bidirectional link relationship and each of the grid face objects to be added, so as to determine the corresponding object to be detected based on each of the triangular face objects, each of the grid face objects to be added, each of the grid line objects to be added and each of the grid block objects to be added.

[0119] In some specific embodiments, the interaction object determination module 16 may specifically include:

[0120] The geometric structure determination unit is used to add each of the triangular face objects, each of the mesh face objects to be added, each of the mesh line objects to be added, and each of the mesh block objects to be added to the detection container, so as to use the detection container to determine the geometric structure corresponding to each of the objects to be detected;

[0121] The interaction object determination subunit is used to utilize collision detection mechanism and image rendering technology, and to perform collision detection between the line of sight ray and each of the objects to be detected based on the geometric structure, to obtain the interaction object to be operated, and to perform functional operations on the interaction object to be operated based on the functional operation corresponding to the target function; the functional operation includes visually highlighting the interaction object to be operated, editing its attributes, and dynamically removing it from the three-dimensional scene.

[0122] Furthermore, embodiments of this application also disclose an electronic device, Figure 25This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application. Specifically, the electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the interactive method for unstructured mesh software for aircraft disclosed in any of the foregoing embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0123] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0124] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0125] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including computer programs capable of performing the interactive method for unstructured grid software for aircraft executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs capable of performing other specific tasks.

[0126] Furthermore, this application also discloses a computer-readable medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned interactive method for unstructured mesh software applicable to aircraft. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.

[0127] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0128] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0129] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of media known in the art.

[0130] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0131] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An interactive method for unstructured mesh software for aircraft, characterized in that, include: Based on the model size and position corresponding to the unstructured mesh of the aircraft, a directed bounding box is constructed. The directed bounding box is divided into several hexahedrons including triangular facets based on the preset number of branch tree nodes. A branch tree to be processed is constructed based on each hexahedron. Establish a two-way link between each triangular facet object and its corresponding mesh face object in the unstructured mesh of the aircraft; An acceleration list is established between the CPU and GPU corresponding to the unstructured mesh software of the aircraft, and a function mode label corresponding to the target function is determined. When the target function is not activated, the object to be converted corresponding to the target function is selected based on the bidirectional link relationship, the function mode label and the acceleration list. The object to be converted includes the triangular facet object and the mesh face object. When the target function is activated, a preset converter is used to convert each of the objects to be converted into operable objects within the function corresponding to the target function. Based on the operable objects within the function, determine each node to be processed corresponding to the branch tree to be processed, and based on the bidirectional link relationship, determine the corresponding object to be detected from each node to be processed; Each of the objects to be detected is added to a detection container for collision detection to obtain an interactive object to be operated on, and then the interactive object to be operated on is used for functional operation.

2. The interactive method for unstructured mesh software for aircraft according to claim 1, characterized in that, The process involves constructing a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft, dividing the directed bounding box into several hexahedrons including triangular facets based on a preset number of branch tree nodes, and constructing a branch tree to be processed based on each of the hexahedrons, including: Determine the model file corresponding to the aircraft, and construct the current directed bounding box based on the model file and the model size and position corresponding to the unstructured mesh of the aircraft. Set the current directed bounding box as the current root node, and then determine the level threshold based on the preset number of branch tree nodes. Using a top-down recursive partitioning method, starting from the current root node, the current directed bounding box is divided into a preset number of current hexahedrons, each containing a triangular facet, at the current level, and each of the current hexahedrons is bound to a child node of the current root node. Determine whether the current level is less than the level threshold. If the current level is less than the level threshold, update the current level and set each of the current hexahedrons as the new current directed bounding box. Then, jump back to the step of setting the current directed bounding box as the current root node until the current level is not less than the level threshold, and obtain the branch tree to be processed. The size of each node in each branch tree to be processed is consistent with the size of the corresponding triangular facet.

3. The interactive method for unstructured mesh software for aircraft according to claim 1, characterized in that, The establishment of bidirectional link relationships between each triangular facet object and its corresponding mesh face object in the unstructured mesh of the aircraft includes: In the visualization interface corresponding to the unstructured mesh of the aircraft, each triangular facet object and each mesh face object in the unstructured mesh of the aircraft are identified to obtain the corresponding triangular facet object and mesh face object; The triangular facet object is set as the first link starting point, and a first link relationship is constructed between it and the corresponding mesh facet object based on the first link starting point. Then, the mesh facet object is set as the second link starting point, and a second link relationship is constructed between it and the corresponding triangular facet object based on the second link starting point, so as to construct a bidirectional link relationship based on the first link relationship and the second link relationship.

4. The interactive method for unstructured mesh software for aircraft according to claim 1, characterized in that, The step of establishing an acceleration list between the CPU and GPU corresponding to the unstructured mesh software of the aircraft and determining the function mode label corresponding to the target function, so as to select the object to be converted corresponding to the target function based on the bidirectional link relationship, the function mode label and the acceleration list when the target function is not activated, includes: The CPU and GPU corresponding to the unstructured mesh software are determined, and an acceleration list for accelerating data interaction is built between the CPU and GPU running the unstructured mesh software. Then, without activating any function in the unstructured mesh software, an initial object selection instruction for all objects of the unstructured mesh of the aircraft is received in the visualization interface of the unstructured mesh software. The function mode label corresponding to the target function is determined, and the object to be converted corresponding to the target function is determined based on the bidirectional link relationship, the initial object selection instruction and the function mode label, so as to use the acceleration list and the bidirectional link relationship to group and schedule each object to be converted; the object to be converted includes grid point object, grid line object, grid surface object, grid block object, digital model line object, digital model surface object and triangular facet object.

5. The interactive method for unstructured mesh software for aircraft according to claim 1, characterized in that, The step of determining each node to be processed corresponding to the branch tree to be processed based on the operable objects within the function, and determining the corresponding object to be detected from each node to be processed based on the bidirectional link relationship, includes: Determine if the branch tree to be processed exists. If it does not exist, jump back to the step of constructing the branch tree to be processed based on each of the hexahedrons. If it exists, when a trigger command corresponding to the user behavior is received, generate a line of sight ray based on the screen coordinates corresponding to the trigger command, and use the line of sight ray to perform collision detection with the branch tree to be processed to obtain the node to be processed. Identify the triangular facet objects corresponding to each node to be processed, construct an initial capture set based on each triangular facet object, and determine the mesh face objects to be added corresponding to each triangular facet object based on the bidirectional link relationship and the initial capture set; Based on the bidirectional link relationship and each of the mesh face objects to be added, the corresponding mesh line objects to be added and mesh block objects to be added are determined, and the corresponding objects to be detected are determined based on each of the triangular face objects, each of the mesh face objects to be added, each of the mesh line objects to be added and each of the mesh block objects to be added.

6. The interactive method for unstructured mesh software for aircraft according to claim 5, characterized in that, The step of adding each of the objects to be detected to a detection container for collision detection to obtain an interactive object to be operated on, and then performing functional operations on the interactive object to be operated on, includes: Each of the triangular face objects, each of the mesh face objects to be added, each of the mesh line objects to be added, and each of the mesh block objects to be added are added to the detection container, so as to use the detection container to determine the geometric structure corresponding to each of the objects to be detected; By utilizing collision detection mechanisms and image rendering technology, and based on the geometric structure, collision detection is performed between the line of sight and each of the objects to be detected to obtain the interactive objects to be operated. Functional operations are then performed on the interactive objects to be operated based on the functional operations corresponding to the target function. The functional operations include visually highlighting the interactive objects to be operated, editing their attributes, and dynamically removing them from the 3D scene.

7. An interactive device suitable for unstructured mesh software for aircraft, characterized in that, include: The branch tree construction module is used to construct a directed bounding box based on the model size and position corresponding to the unstructured mesh of the aircraft, and to divide the directed bounding box into several hexahedrons including triangular facets based on the preset number of branch tree nodes, and to construct a branch tree to be processed based on each hexahedron. The two-way link relationship generation module is used to establish two-way link relationships between each triangular facet object and the corresponding mesh face object in the unstructured mesh of the aircraft. The function mode label determination module is used to establish an acceleration list between the CPU and GPU corresponding to the unstructured mesh software of the aircraft, and determine the function mode label corresponding to the target function, so as to select the object to be converted corresponding to the target function based on the bidirectional link relationship, the function mode label and the acceleration list when the target function is not activated; the object to be converted includes the triangular patch object and the mesh surface object; An operable object determination module is used to convert each of the objects to be converted into operable objects within the function corresponding to the target function when the target function is activated, using a preset converter. The object to be detected module is used to determine each node to be processed corresponding to the branch tree to be processed based on the operable objects within the function, and to determine the corresponding object to be detected from each node to be processed based on the bidirectional link relationship. The interaction object determination module is used to add each of the objects to be detected to the detection container for collision detection to obtain the interaction objects to be operated on, so as to perform functional operations on the interaction objects to be operated on.

8. The interactive device for unstructured mesh software for aircraft according to claim 7, characterized in that, The functional mode label determination module includes: An acceleration list construction unit is used to determine the CPU and GPU corresponding to the unstructured mesh software, and to construct an acceleration list between the CPU and GPU running the unstructured mesh software to accelerate data interaction. Then, in a state where no function in the unstructured mesh software is activated, it receives an initial object selection instruction for all objects of the unstructured mesh of the aircraft in the visualization interface of the unstructured mesh software. The object to be converted determination unit is used to determine the function mode label corresponding to the target function, and determine the object to be converted corresponding to the target function based on the bidirectional link relationship, the initial object selection instruction and the function mode label, so as to use the acceleration list and group and schedule each object to be converted based on the bidirectional link relationship; the object to be converted includes grid point object, grid line object, grid surface object, grid block object, digital model line object, digital model surface object and triangular patch object.

9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the interactive method for unstructured mesh software for aircraft as described in any one of claims 1 to 6.

10. A computer-readable medium, characterized in that, Used to store a computer program, wherein the computer program, when executed by a processor, implements the interactive method for unstructured grid software for aircraft as described in any one of claims 1 to 6.