Interaction method, device and equipment suitable for aircraft structure grid software and medium

CN121859447BActive 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

Smart Images

  • Figure CN121859447B_ABST
    Figure CN121859447B_ABST
Patent Text Reader

Abstract

The application discloses an interactive method and device suitable for aircraft structure grid software, equipment and medium, relates to the technical field of aircraft, and comprises the following steps: determining a grid block object, a subordinate grid surface object and a grid line object in a visual interface to determine a to-be-processed object corresponding to a target function; the to-be-processed object is a grid surface object; determining each discrete point of the to-be-processed object, dividing and establishing a correlation of each discrete point according to a UV direction to obtain target subordinate information; determining a curvature parameter of each to-be-processed object, performing sparse sampling on each to-be-processed object to obtain a to-be-captured object; determining each to-be-added object having a subordinate relationship based on the target subordinate information, and adding the to-be-added object to a preset container to perform collision detection to obtain a target interactive object; and applying a function operation to the target interactive object, and sending an operation result to the visual interface for display. The application improves the interactive efficiency of the aircraft structure grid software.
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 aircraft structural mesh software. Background Technology

[0002] Currently, the interaction mode for unstructured mesh alignment software involves selecting the object to be manipulated outside the function, then entering the function to adjust that object. The drawback of this method is that users cannot change objects within the same function; to switch to another object, they must exit the function, select a different object, and re-enter the function, which is inconvenient for users. Furthermore, due to the varying configurations of users' computer graphics cards and limitations in interaction technology, existing interaction technologies cannot meet the needs of all users.

[0003] As can be seen from the above, improving the efficiency of optimizing the interaction with aircraft structural mesh software is an urgent problem to be solved. Summary of the Invention

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

[0005] Firstly, this application provides an interactive method suitable for aircraft structural mesh software, comprising:

[0006] In the visualization interface corresponding to the structural grid of the aircraft, determine the grid block object corresponding to each grid surface object in the structural grid, and determine the grid surface object corresponding to each grid line object, so as to establish subordinate information including the subordinate information of grid surface objects and the subordinate information of grid line objects;

[0007] An acceleration list is established between the CPU and GPU corresponding to the aircraft structure mesh software, and when the target function is not activated, the object to be processed corresponding to the target function is selected based on the subordinate information and the acceleration list.

[0008] When the target function is activated, a preset converter is used to transform each of the objects to be processed into operable objects within the function corresponding to the target function, and the corresponding object to be processed is determined from each of the operable objects within the function within the target function; the object to be processed is a mesh surface object.

[0009] The curvature parameters corresponding to each of the objects to be processed are determined, and the objects to be processed are sparsified based on the curvature parameters to obtain the objects to be captured. Then, each object to be added that has a subordinate relationship with the object to be captured is determined, and each object to be added and the object to be captured are added to a preset container. Then, the collision detection mechanism in the preset container is used to perform collision detection on each object in the preset container to obtain the target interactive object.

[0010] Based on the target function, a corresponding functional operation is applied to the target interactive object to obtain the functional operation result, the functional operation result is rendered, and the rendering result is sent to the visualization interface for display.

[0011] Optionally, the step of determining the grid block object corresponding to each grid surface object in the structural grid in the visualization interface corresponding to the aircraft's structural grid, and determining the grid surface object corresponding to each grid line object, to establish subordinate information including grid surface object subordinate information and grid line object subordinate information, includes:

[0012] In the visualization interface corresponding to the structural mesh of the aircraft, each mesh surface object in the structural mesh is identified based on the topological relationship of the structural mesh to obtain the mesh block object corresponding to each mesh surface object;

[0013] In the visualization interface, the grid line objects in the structural grid are identified based on the topological relationship of the structural grid, and the grid surface objects corresponding to each grid line object are determined.

[0014] The subordinate information of the mesh surface object is determined based on the correspondence between the mesh surface object and the mesh block object, and the subordinate information of the mesh line object is determined based on the correspondence between the mesh line object and the mesh surface object. Then, subordinate information is constructed based on the subordinate information of the mesh surface object and the subordinate information of the mesh line object.

[0015] Optionally, the step of establishing an acceleration list between the CPU and GPU corresponding to the aircraft structure mesh software, and selecting the object to be processed corresponding to the target function based on the subordinate information and the acceleration list when the target function is not activated, includes:

[0016] Based on the subordinate information, an acceleration list for accelerating data interaction is constructed between the CPU and GPU running the aircraft structure mesh software, and in the state where no function in the structure mesh software is activated, an object determination instruction for all objects of the structure mesh is received in the visualization interface.

[0017] Based on the subordinate information and the object determination instruction, the objects to be processed corresponding to the target function are determined. Then, the acceleration list is used and the objects to be processed are grouped and scheduled based on the subordinate information. The objects to be processed include grid point objects, grid line objects, grid surface objects, grid block objects, digital model line objects, and digital model surface objects.

[0018] Optionally, the step of using a preset converter to convert each of the objects to be processed into operable objects within the function corresponding to the target function when the target function is activated, and determining the corresponding object to be processed from each of the operable objects within the function within the target function, includes:

[0019] When the target function is activated, a preset converter is used to change the state of each object to be processed from the external selection state to the internal selection state, so as to obtain the operable object within the function corresponding to the target function.

[0020] In the execution context of the target function, the selectable state of the object to be processed is maintained, the visualization interface is updated based on the object to be processed, and the state of the remaining objects in the operable objects within the function is set to an unselectable state.

[0021] Optionally, the step of determining the curvature parameter corresponding to each of the objects to be processed, and performing sparse sampling on each of the objects to be processed based on the curvature parameter to obtain the objects to be captured, and then determining each object to be added that has a subordinate relationship with the objects to be captured, includes:

[0022] Determine the curvature parameters corresponding to each of the objects to be processed, and determine whether the curvature parameters meet the preset flat region determination conditions. If the curvature parameters meet the preset flat region determination conditions, then use the sampling density that meets the preset low sampling density conditions to perform sparse sampling on the objects to be processed to obtain the corresponding objects to be captured.

[0023] If the curvature parameter does not meet the preset flat region determination condition, then the object to be processed is sparsified by sampling density that meets the preset sampling density condition to obtain the corresponding object to be captured.

[0024] A preliminary capture area is determined based on each of the objects to be captured, and supplementary capture is performed in the preliminary capture area to obtain a corresponding set of objects to be captured. Then, based on the subordinate relationship, each object to be added that has a direct subordinate relationship with each object to be captured in the set of objects to be captured is determined.

[0025] Optionally, the step of adding each of the objects to be added and the objects to be captured to a preset container, and then using the collision checking mechanism in the preset container to perform collision detection on each object in the preset container to obtain the target interactive object, includes:

[0026] The object to be captured and the corresponding objects to be added are added to a preset container for object capture and processing. The preset container is used to generate a detection ray for object selection based on the current camera's observation position and the operation coordinates in the visualization scene provided by the graphical application interface.

[0027] The collision detection mechanism in the graphical application interface is used to perform geometric intersection judgment between the detection ray and each object in the preset container to obtain the intersection judgment result. Based on the intersection judgment result, a number of target interactive objects that intersect with the detection ray are selected from the preset container.

[0028] Optionally, after applying a corresponding functional operation to the target interactive object based on the target function, obtaining a functional operation result, rendering the functional operation result, and sending the rendering result to the visualization interface for display, the method further includes:

[0029] When an object append operation instruction is received, the selected state of the target interactive object is retained, and a corresponding real-time preview diagram is generated based on the selected state. Then, the object append operation is performed based on the object append operation instruction to obtain the current preview diagram. When a function exit instruction is received, the current preview diagram is retained.

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

[0031] The subordinate information establishment module is used to determine the grid block object corresponding to each grid surface object in the structure grid in the visualization interface corresponding to the structure grid of the aircraft, and to determine the grid surface object corresponding to each grid line object, so as to establish subordinate information including the subordinate information of grid surface objects and the subordinate information of grid line objects.

[0032] The acceleration list creation module is used to create an acceleration list between the CPU and GPU corresponding to the aircraft structure mesh software, and select the object to be processed corresponding to the target function based on the subordinate information and the acceleration list when the target function is not activated;

[0033] The pending object determination module is used to convert each pending object into an operable object within the function corresponding to the target function using a preset converter when the target function is activated, and to determine the corresponding pending object from each operable object within the target function; the pending object is a mesh surface object.

[0034] The target interactive object determination module is used to determine the curvature parameters corresponding to each of the objects to be processed, and to perform sparse sampling on each of the objects to be processed based on the curvature parameters to obtain the objects to be captured. Then, it determines each object to be added that has a subordinate relationship with the object to be captured, and adds each object to be added and the object to be captured to a preset container. Then, it uses the collision checking mechanism in the preset container to perform collision detection on each object in the preset container to obtain the target interactive object.

[0035] The rendering result display module is used to apply a corresponding functional operation to the target interactive object based on the target function, obtain the functional operation result, render the functional operation result, and send the rendering result to the visualization interface for display.

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

[0037] Memory, used to store computer programs;

[0038] A processor is used to execute the computer program to implement the aforementioned interactive method applicable to aircraft structural grid software.

[0039] 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 aircraft structural grid software.

[0040] As can be seen from the above, before interacting with the aircraft structural mesh software, this application needs to determine the mesh block objects corresponding to each mesh surface object in the visualization interface corresponding to the aircraft's structural mesh, and determine the mesh surface objects corresponding to each mesh line object; determine the initial dependency information including the dependency information of mesh surface objects and mesh line objects; determine the object to be processed corresponding to the target function based on the initial dependency information; the object to be processed is the mesh surface object; determine each discrete point corresponding to the object to be processed, and divide each discrete point into a first discrete point in the U direction and a second discrete point in the V direction; establish the association relationship between the first discrete point and the second discrete point. The process involves: constructing target subordinate information based on initial subordinate information and relationships; determining curvature parameters corresponding to each object to be processed, and performing sparse sampling on each object to be processed based on the curvature parameters to obtain objects to be captured; determining objects to be added that have subordinate relationships with the objects to be captured based on the target subordinate information, and adding each object to be added and the objects to be captured to a preset container; using the collision detection mechanism in the preset container to perform collision detection on each object in the preset container to obtain target interactive objects; applying corresponding functional operations to the target interactive objects based on the target functions to obtain functional operation results, rendering the functional operation results, and sending the rendering results to the visualization interface for display.

[0041] Therefore, the embodiments of this application first need to determine the grid block objects corresponding to each grid surface object in the structural grid in the visualization interface corresponding to the structural grid of the aircraft, and determine the grid surface objects corresponding to each grid line object; secondly, determine the initial subordinate information including the subordinate information of grid surface objects and the subordinate information of grid line objects; determine the object to be processed corresponding to the target function based on the initial subordinate information; the object to be processed is the grid surface object; then, determine each discrete point corresponding to the object to be processed, and divide each discrete point into a first discrete point in the U direction and a second discrete point in the V direction; establish the association relationship between the first discrete point and the second discrete point, based on the initial subordinate information. The process involves several steps: First, establishing target dependency information based on information and relationships. Second, determining curvature parameters corresponding to each object to be processed and performing sparse sampling on each object based on these curvature parameters to obtain objects to be captured. Third, identifying objects to be added that have a dependency relationship with the objects to be captured based on the target dependency information, and adding these objects and the objects to be captured to a preset container. Fourth, using the collision detection mechanism in the preset container to perform collision detection on each object, obtaining the target interactive object. Finally, applying corresponding functional operations to the target interactive object based on the target function, obtaining the functional operation results, rendering the results, and sending the rendering results to a visualization interface for display. This approach improves the efficiency of optimizing the interaction of aircraft structural mesh software during the interaction process. Attached Figure Description

[0042] 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.

[0043] Figure 1 This application discloses an interactive method flowchart for an aircraft structural mesh software.

[0044] Figure 2 This is a schematic diagram of a specific structural grid data interaction interface corresponding to an aircraft disclosed in this application;

[0045] Figure 3 This is a schematic diagram illustrating all possible objects in a specific way as disclosed in this application;

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

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

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

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

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

[0051] Figure 9 This is a schematic diagram illustrating the hierarchical relationship between a specific mesh surface object and a mesh block object disclosed in this application.

[0052] Figure 10 This is a schematic diagram illustrating the correspondence between a specific mesh surface object and mesh point objects, mesh line objects, and mesh block objects disclosed in this application.

[0053] Figure 11 This is a schematic diagram illustrating the result of displaying a specific object disclosed in this application;

[0054] Figure 12 This is a schematic diagram comparing the interaction efficiency test results of a specific interaction mode disclosed in this application;

[0055] Figure 13This application discloses a specific example of an optimized interactive mode for structured mesh software, illustrating the interface before and after optimization. Figure 13 (a) is a schematic diagram of the interface of the structured mesh software before the interaction mode was optimized. Figure 13 (b) is a schematic diagram of the optimized interactive mode of the structured mesh software;

[0056] Figure 14 This is a schematic diagram of an interactive device structure for aircraft structural mesh software disclosed in this application;

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

[0058] 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.

[0059] Currently, the interaction mode for unstructured mesh alignment software involves selecting the object to be manipulated outside the function and then entering the function to adjust that object. The drawback of this method is that users cannot change objects within the same function; to switch to another object, they must exit the function, select another object, and re-enter the corresponding function, which is inconvenient for users. Furthermore, due to the varying configurations of users' computer graphics cards, existing interaction technologies cannot meet the needs of all users. Therefore, this application provides an interaction method suitable for aircraft structured mesh software, which can improve the efficiency of optimizing the interaction of aircraft structured mesh software.

[0060] See Figure 1 As shown, this embodiment of the invention discloses an interactive method suitable for aircraft structural mesh software, including:

[0061] Step S11: In the visualization interface corresponding to the structural mesh of the aircraft, determine the mesh block object corresponding to each mesh surface object in the structural mesh, and determine the mesh surface object corresponding to each mesh line object.

[0062] In this embodiment, a schematic diagram of the structural grid data interaction interface corresponding to the aircraft is shown below. Figure 2 As shown, the method for selecting the relevant object in the interaction mode activation in this embodiment of the application is described. Figure 3This is a schematic diagram of all objects to be selected. The selected objects include mesh point objects, mesh line objects, mesh surface objects, mesh block objects, model line objects, model surface objects, hyperface objects, and hyperedge objects. The schematic diagram of mesh line objects is shown below. Figure 4 As shown, a schematic diagram of the mesh surface object is as follows. Figure 5 As shown, a schematic diagram of the mesh block object is as follows. Figure 6 As shown, the schematic diagram of the digital model surface object is as follows: Figure 7 As shown in the diagram, the schematic diagram of the digital module line object is as follows: Figure 8 As shown. Specifically, in the visualization interface corresponding to the structural mesh of the aircraft, determining the mesh block objects corresponding to each mesh surface object in the structural mesh, and determining the mesh surface objects corresponding to each mesh line object, can include: in the visualization interface corresponding to the structural mesh of the aircraft, identifying each mesh surface object and each mesh block object in the structural mesh based on the topological relationship of the structural mesh, and obtaining the mesh block objects corresponding to each mesh surface object respectively; in the visualization interface, identifying the mesh line objects and each mesh surface object in the structural mesh based on the topological relationship of the structural mesh, and determining the mesh surface objects corresponding to each mesh line object respectively.

[0063] Step S12: Determine the initial dependency information, including the dependency information of mesh face objects and the dependency information of mesh line objects.

[0064] It is worth mentioning that the diagram illustrating the hierarchical relationship between mesh face objects and mesh block objects is as follows: Figure 9 As shown, the correspondence between mesh face objects, mesh point objects, mesh line objects, and mesh block objects is as follows: Figure 10 As shown. Specifically, determining the initial dependency information, which includes the dependency information of mesh face objects and the dependency information of mesh line objects, can include: determining the dependency information of mesh face objects based on the correspondence between mesh face objects and their corresponding mesh block objects; determining the dependency information of mesh line objects based on the correspondence between mesh line objects and their corresponding mesh face objects; and then constructing the initial dependency information based on the dependency information of mesh face objects and the dependency information of mesh line objects.

[0065] Step S13: Determine the object to be processed corresponding to the target function based on the initial subordinate information; the object to be processed is a mesh surface object.

[0066] In this embodiment, after obtaining initial dependency information including mesh surface object dependency information and mesh line object dependency information, this application embodiment needs to determine the objects to be processed corresponding to the target function based on the initial dependency information. Specifically, determining the objects to be processed corresponding to the target function based on the initial dependency information may include: receiving an object determination instruction for all objects of the structural mesh in the visualization interface of the aircraft structural mesh software based on the initial dependency information; determining the objects to be processed corresponding to the target function based on the initial dependency information and the object determination instruction; and then grouping and scheduling each object to be processed based on the initial dependency information; the objects to be processed include mesh point objects, mesh line objects, mesh surface objects, mesh block objects, digital model line objects, and digital model surface objects.

[0067] Step S14: Determine each discrete point corresponding to the object to be processed, and divide each discrete point into a first discrete point in the U direction and a second discrete point in the V direction.

[0068] In this embodiment, after obtaining the object to be processed, this application embodiment needs to determine each discrete point in the object to be processed, and divide each discrete point according to the UV coordinate division rule to obtain the U-direction division result and the V-direction division result. Then, the first discrete point is determined based on the U-direction division result, and the second discrete point is determined based on the V-direction division result.

[0069] Step S15: Establish the association between the first discrete point and the second discrete point, so as to construct target subordinate information based on the initial subordinate information and the association.

[0070] Furthermore, after obtaining the first discrete point in the U direction and the second discrete point in the V direction, this embodiment of the application needs to determine the association relationship between each first discrete point and each second discrete point in the U direction and the V direction, so as to construct the target association information corresponding to each object in the structured mesh software based on the association relationship and the initial dependency information.

[0071] Step S16: Determine the curvature parameters corresponding to each object to be processed, and perform sparse sampling on each object to be processed based on the curvature parameters to obtain the objects to be captured.

[0072] In this embodiment, the application requires dynamic sparse capture of objects. Specifically, for structural mesh surfaces, curvature parameters are added to the visualized mesh surface object. Based on the curvature of the surface, dynamic sparse processing is performed on the captured objects to reduce the total amount of data rendered in coarse capture. After determining the captured objects, fine capture is then performed, thereby achieving accurate object processing. Specifically, determining the curvature parameters corresponding to each object to be processed and performing sparse sampling on each object based on the curvature parameters to obtain the captured object can include: determining the curvature parameters corresponding to each object to be processed, and determining whether the curvature parameters meet preset flat region judgment conditions. If the curvature parameters meet the preset flat region judgment conditions, then sparse sampling of the object to be processed is performed using a sampling density that meets preset low sampling density conditions to obtain the corresponding captured object; if the curvature parameters do not meet the preset flat region judgment conditions, then sparse sampling of the object to be processed is performed using a sampling density that meets preset low sampling density conditions to obtain the corresponding captured object.

[0073] Step S17: Based on the target dependency information, determine each object to be added that has a dependency relationship with the object to be captured, and add each object to be added and the object to be captured to a preset container.

[0074] In this embodiment, after determining each object to be added, the object is added to a container. Then, for all objects in the container, fine-grained capture is performed to achieve accurate object processing. This involves using image rendering techniques to detect collisions based on an image-based method. OpenGL has a corresponding collision detection mechanism called Picking. The principle of this mechanism is to generate rays by connecting the camera and screen coordinates, determine the intersection of the rays with objects in the scene, and return the intersecting objects. In other words, this embodiment adds the selected mesh lines, mesh faces, and mesh block containers to OpenGL to accurately filter intersecting objects. Based on user needs, the objects to be displayed are shown to the user, and the object display result is illustrated in the diagram below. Figure 11 As shown in the diagram, the interaction efficiency test results of the old and new interaction modes are compared as follows: Figure 12 As shown, the blue squares represent the interaction efficiency test results corresponding to the new interaction mode, and the red squares represent the interaction efficiency test results corresponding to the new interaction mode.

[0075] Specifically, based on the target dependency information, each object to be added that has a dependency relationship with the object to be captured is determined, and each object to be added and the object to be captured are added to a preset container. This may include: determining a preliminary capture area based on each object to be captured, and determining whether the preliminary capture area meets a preset integrity condition. If the preliminary capture area meets the preset integrity condition, then each object to be captured is supplemented in the preliminary capture area to obtain a corresponding set of objects to be captured; and determining each object to be added that has a direct dependency relationship with each object to be captured in the set of objects to be captured based on the target dependency relationship, and adding each object to be added and the object to be captured to a preset container for processing.

[0076] Step S18: Use the collision detection mechanism in the preset container to perform collision detection on each object in the preset container to obtain the target interactive object.

[0077] In this embodiment, the process of using the collision detection mechanism in the preset container to perform collision detection on each object in the preset container to obtain the target interactive object includes: in the visualization scene provided by the graphical application interface, using the preset container and based on the current camera's observation position and the function operation coordinates in the visualization interface to generate a detection ray for object selection; using the collision detection mechanism in the graphical application interface to perform geometric intersection judgment between the detection ray and each object in the preset container to obtain the intersection judgment result, and based on the intersection judgment result, selecting a number of target interactive objects that intersect with the detection ray from each object in the preset container.

[0078] Step S19: Apply the corresponding functional operation to the target interactive object based on the target function, obtain the functional operation result, render the functional operation result, and send the rendering result to the visualization interface for display.

[0079] In this embodiment, the interface diagrams before and after the optimization of the interaction mode of the structured mesh software are shown below. Figure 13 As shown, where, Figure 13 (a) is a schematic diagram of the interface of the structured mesh software before the interaction mode was optimized. Figure 13(b) is a schematic diagram of the optimized interaction mode of the structured mesh software. Specifically, the process of applying corresponding functional operations to the target interactive object based on the target function, obtaining the functional operation result, rendering the functional operation result, and sending the rendering result to the visualization interface for display can include: applying corresponding functional operations to the target interactive object based on the target function, obtaining the functional operation result including a preview diagram to be processed, and retaining the selected state of the target interactive object when receiving an object append operation instruction, and then generating a corresponding preview diagram to be processed based on the selected state and the preview diagram to be processed; performing object appending and processing operations on the preview diagram to be processed based on the object append operation instruction, obtaining the current preview diagram, then rendering the current preview diagram, and sending the obtained rendering result to the visualization interface for display; and retaining the current preview diagram when receiving a function exit instruction.

[0080] As can be seen from the above, the embodiments of this application first need to determine the grid block objects corresponding to each grid surface object in the visualization interface corresponding to the structural grid of the aircraft, and determine the grid surface objects corresponding to each grid line object; determine the initial subordinate information including the subordinate information of the grid surface objects and the subordinate information of the grid line objects; determine the object to be processed corresponding to the target function based on the initial subordinate information; the object to be processed is the grid surface object; determine each discrete point corresponding to the object to be processed, and divide each discrete point into a first discrete point in the U direction and a second discrete point in the V direction; establish the association relationship between the first discrete point and the second discrete point, based on the initial subordinate information. The process involves constructing target dependency information based on information and relationships; determining the curvature parameters corresponding to each object to be processed, and performing sparse sampling on each object based on the curvature parameters to obtain the objects to be captured; determining objects to be added that have a dependency relationship with the objects to be captured based on the target dependency information, and adding each object to be added and the objects to be captured to a preset container; using the collision detection mechanism in the preset container to perform collision detection on each object in the preset container to obtain the target interactive object; applying the corresponding functional operation to the target interactive object based on the target function, obtaining the functional operation result, rendering the functional operation result, and sending the rendering result to the visualization interface for display. This improves the efficiency of optimizing the interaction of aircraft structural mesh software in the interaction process applicable to aircraft structural mesh software.

[0081] Accordingly, see Figure 14 As shown, this application also provides an interactive device suitable for aircraft structural mesh software, comprising:

[0082] Subordinate information establishment module 11 is used to determine the grid block object corresponding to each grid surface object in the structure grid in the visualization interface corresponding to the structure grid of the aircraft, and to determine the grid surface object corresponding to each grid line object.

[0083] The first subordinate information construction module 12 is used to determine the initial subordinate information, including subordinate information of grid surface objects and subordinate information of grid line objects;

[0084] The object to be processed determination module 13 is used to determine the object to be processed corresponding to the target function based on the initial subordinate information; the object to be processed is a mesh surface object;

[0085] The discrete point division module 14 is used to determine each discrete point corresponding to the object to be processed, and to divide each discrete point into a first discrete point in the U direction and a second discrete point in the V direction.

[0086] The second subordinate information construction module 15 is used to establish the association between the first discrete point and the second discrete point, so as to construct target subordinate information based on the initial subordinate information and the association.

[0087] The object to be captured module 16 is used to determine the curvature parameter corresponding to each of the objects to be processed, and to perform sparse sampling on each of the objects to be processed based on the curvature parameter to obtain the objects to be captured.

[0088] The object adding module 17 is used to determine each object to be added that has a subordinate relationship with the object to be captured based on the target subordinate information, so as to add each object to be added and the object to be captured to a preset container;

[0089] Collision detection module 18 is used to perform collision detection on each object in the preset container using the collision checking mechanism in the preset container to obtain the target interactive object;

[0090] The result display module 19 is used to apply a corresponding functional operation to the target interactive object based on the target function, obtain the functional operation result, render the functional operation result, and send the rendering result to the visualization interface for display.

[0091] In some specific embodiments, the subordinate information establishment module 11 may specifically include:

[0092] The grid block object recognition unit is used to identify each grid surface object and each grid block object in the structural grid based on the topological relationship of the structural grid in the visualization interface corresponding to the structural grid of the aircraft, and obtain the grid block object corresponding to each grid surface object respectively.

[0093] The mesh surface object recognition unit is used to identify mesh line objects and mesh surface objects in the structural mesh based on the topological relationship of the structural mesh in the visualization interface, and to determine the mesh surface objects corresponding to each mesh line object.

[0094] In some specific embodiments, the first subordinate information construction module 12 may specifically include:

[0095] A mesh surface object dependency information determination unit is used to determine the mesh surface object dependency information based on the correspondence between the mesh surface object and each corresponding mesh block object;

[0096] The grid line object dependency information determination unit is used to determine the grid line object dependency information based on the correspondence between the grid line object and each corresponding grid surface object, and then construct initial dependency information based on the grid surface object dependency information and the grid line object dependency information.

[0097] In some specific embodiments, the object determination module 13 may specifically include:

[0098] An object determination instruction determination unit is used to receive object determination instructions for all objects of the structure grid in the visualization interface of the aircraft structure grid software based on the initial subordinate information.

[0099] The object to be processed determination subunit is used to determine the object to be processed corresponding to the target function based on the initial subordinate information and the object determination instruction, and then group and schedule each object to be processed based on the initial subordinate information; the objects to be processed include grid point objects, grid line objects, grid surface objects, grid block objects, digital model line objects and digital model surface objects.

[0100] In some specific embodiments, the discrete point partitioning module 14 may specifically include:

[0101] The discrete point division unit is used to determine each discrete point in the object to be processed, and to divide each discrete point based on the UV coordinate division rule to obtain the U-direction division result and the V-direction division result.

[0102] The discrete point determination unit is used to determine a first discrete point based on the U-direction partitioning result and a second discrete point based on the V-direction partitioning result.

[0103] In some specific embodiments, the second subordinate information construction module 15 may specifically include:

[0104] The association relationship determination unit is used to determine the association relationship between each of the first discrete points and each of the second discrete points in the U direction and the V direction, so as to construct target subordinate information corresponding to each object in the structured mesh software based on the association relationship and the initial subordinate information.

[0105] In some specific embodiments, the object adding module 16 may specifically include:

[0106] A sparse sampling unit is used to determine the curvature parameters corresponding to each of the objects to be processed, and to determine whether the curvature parameters meet the preset flat region determination conditions. If the curvature parameters meet the preset flat region determination conditions, the objects to be processed are sparsely sampled using a sampling density that meets the preset low sampling density conditions to obtain the corresponding objects to be captured.

[0107] The object to be captured unit is used to perform sparse sampling on the object to be processed using a sampling density that meets the preset flat region determination condition if the curvature parameter does not meet the preset flat region determination condition, so as to obtain the corresponding object to be captured.

[0108] In some specific embodiments, the collision detection module 17 may specifically include:

[0109] The object supplementary capture unit is used to determine a preliminary capture area based on each of the objects to be captured, and to determine whether the preliminary capture area meets a preset integrity condition. If the preliminary capture area meets the preset integrity condition, then supplementary capture is performed on each of the objects to be captured in the preliminary capture area to obtain a corresponding set of objects to be captured.

[0110] The object adding unit is used to determine each object to be added that has a direct subordinate relationship with each of the objects to be captured in the set of objects to be captured based on the target subordinate relationship, so as to add each object to be added and the objects to be captured to a preset container for processing.

[0111] In some specific embodiments, the result display module 18 may specifically include:

[0112] The detection ray determination unit is used to generate a detection ray for object selection in the visualization scene provided by the graphical application interface, using the preset container and based on the current camera's observation position and the function operation coordinates in the visualization interface.

[0113] The intersection judgment result determination unit is used to use the collision checking mechanism in the graphical application interface to perform geometric intersection judgment between the detection ray and each object in the preset container, obtain the intersection judgment result, and select a number of target interactive objects that intersect with the detection ray from each object in the preset container based on the intersection judgment result.

[0114] In some specific embodiments, the result display module 19 may specifically include:

[0115] The function operation result acquisition unit is used to apply a corresponding function operation to the target interactive object based on the target function, obtain the function operation result including the preview diagram to be processed, and retain the selection state corresponding to the target interactive object when receiving the object append operation instruction, and then generate a corresponding preview diagram to be processed based on the selection state and the preview diagram to be processed.

[0116] The rendering result generation unit is used to perform object appending and processing operations on the preview schematic diagram to be processed based on the object appending operation instruction to obtain the current preview schematic diagram, then render the current preview schematic diagram, and send the obtained rendering result to the visualization interface for display;

[0117] The schematic diagram retention unit is used to retain the current preview schematic diagram when a function exit instruction is received.

[0118] Furthermore, embodiments of this application also disclose an electronic device, Figure 15 This 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 aircraft structural grid software disclosed in any of the foregoing embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0119] 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.

[0120] 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.

[0121] 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 aircraft structural grid software 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.

[0122] 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 aircraft structural mesh software. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.

[0123] 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.

[0124] 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.

[0125] 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.

[0126] 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.

[0127] 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 aircraft structural mesh software, characterized in that, include: In the visualization interface corresponding to the structural mesh of the aircraft, determine the mesh block object corresponding to each mesh surface object in the structural mesh, and determine the mesh surface object corresponding to each mesh line object; Determine the initial dependency information, including dependency information for mesh face objects and dependency information for mesh line objects; Based on the initial subordinate information, determine the objects to be processed corresponding to the target function; The object to be processed is a mesh surface object; Determine each discrete point corresponding to the object to be processed, and divide each discrete point into a first discrete point in the U direction and a second discrete point in the V direction; Establish the association between the first discrete point and the second discrete point, so as to construct the target subordinate information based on the initial subordinate information and the association; Determine the curvature parameters corresponding to each of the objects to be processed, and perform sparse sampling on each of the objects to be processed based on the curvature parameters to obtain the objects to be captured; Based on the target dependency information, determine each object to be added that has a dependency relationship with the object to be captured, and add each object to be added and the object to be captured to a preset container; The collision detection mechanism in the preset container is used to perform collision detection on each object in the preset container to obtain the target interactive object; Based on the target function, a corresponding functional operation is applied to the target interactive object to obtain the functional operation result, the functional operation result is rendered, and the rendering result is sent to the visualization interface for display.

2. The interactive method for aircraft structural mesh software according to claim 1, characterized in that, The process of determining the mesh block objects corresponding to each mesh surface object in the structural mesh within the visualization interface corresponding to the aircraft's structural mesh, and determining the mesh surface objects corresponding to each mesh line object, includes: In the visualization interface corresponding to the structural mesh of the aircraft, each mesh surface object and each mesh block object in the structural mesh are identified based on the topological relationship of the structural mesh, and the mesh block objects corresponding to each mesh surface object are obtained respectively. In the visualization interface, based on the topological relationship of the structure mesh, the mesh line objects and each mesh surface object in the structure mesh are identified, and the mesh surface objects corresponding to each mesh line object are determined. Accordingly, the determination of initial dependency information, including dependency information of mesh surface objects and dependency information of mesh line objects, includes: The dependency information of the mesh surface object is determined based on the correspondence between the mesh surface object and each of the corresponding mesh block objects; The subordinate information of the grid line object is determined based on the correspondence between the grid line object and each corresponding grid surface object. Then, the initial subordinate information is constructed based on the subordinate information of the grid surface object and the subordinate information of the grid line object.

3. The interactive method for aircraft structural mesh software according to claim 1, characterized in that, The step of determining the object to be processed corresponding to the target function based on the initial subordinate information includes: Based on the initial subordinate information, the system receives object determination instructions for all objects in the structure grid in the visualization interface of the aircraft structure grid software; Based on the initial subordinate information and the object determination instruction, the objects to be processed corresponding to the target function are determined, and then the objects to be processed are grouped and scheduled based on the initial subordinate information; the objects to be processed include grid point objects, grid line objects, grid surface objects, grid block objects, digital model line objects and digital model surface objects.

4. The interactive method for aircraft structural mesh software according to claim 1, characterized in that, The step of determining each discrete point corresponding to the object to be processed, and dividing each discrete point into a first discrete point in the U direction and a second discrete point in the V direction, includes: Each discrete point in the object to be processed is determined, and each discrete point is divided according to the UV coordinate division rule to obtain the U-direction division result and the V-direction division result; The first discrete point is determined based on the division result in the U direction, and the second discrete point is determined based on the division result in the V direction. Accordingly, establishing the association between the first discrete point and the second discrete point, and constructing target subordinate information based on the initial subordinate information and the association, includes: Determine the association relationships between each of the first discrete points and each of the second discrete points in the U and V directions, so as to construct target subordinate information corresponding to each object in the structured mesh software based on the association relationships and the initial subordinate information.

5. The interactive method for aircraft structural mesh software according to claim 1, characterized in that, The step of determining the curvature parameters corresponding to each of the objects to be processed, and performing sparse sampling on each of the objects to be processed based on the curvature parameters to obtain the objects to be captured, includes: Determine the curvature parameters corresponding to each of the objects to be processed, and determine whether the curvature parameters meet the preset flat region determination conditions. If the curvature parameters meet the preset flat region determination conditions, then use the sampling density that meets the preset low sampling density conditions to perform sparse sampling on the objects to be processed to obtain the corresponding objects to be captured. If the curvature parameter does not meet the preset flat region determination condition, then the object to be processed is sparsified by sampling density that meets the preset sampling density condition to obtain the corresponding object to be captured.

6. The interactive method for aircraft structural mesh software according to claim 1, characterized in that, The step of determining each object to be added that has a subordinate relationship with the object to be captured based on the target subordinate information, and adding each of the objects to be added and the object to be captured to a preset container, includes: A preliminary capture area is determined based on each of the objects to be captured, and it is determined whether the preliminary capture area meets the preset integrity condition. If the preliminary capture area meets the preset integrity condition, then the objects to be captured are supplemented in the preliminary capture area to obtain the corresponding set of objects to be captured. Based on the target dependency relationship, determine each object to be added that has a direct dependency relationship with each of the objects to be captured in the set of objects to be captured, and add each object to be added and the objects to be captured to a preset container for processing.

7. The interactive method for aircraft structural mesh software according to claim 1, characterized in that, The method of using the collision detection mechanism in the preset container to perform collision detection on each object in the preset container to obtain the target interactive object includes: In the visualization scene provided by the graphical application interface, a detection ray for object selection is generated using the preset container and based on the current camera's observation position and the function operation coordinates in the visualization interface. The collision checking mechanism in the graphical application interface is used to perform geometric intersection judgment between the detection ray and each object in the preset container to obtain the intersection judgment result. Based on the intersection judgment result, a number of target interactive objects that intersect with the detection ray are selected from each object in the preset container. Accordingly, the step of applying a corresponding functional operation to the target interactive object based on the target function, obtaining a functional operation result, rendering the functional operation result, and sending the rendering result to the visualization interface for display includes: Based on the target function, a corresponding functional operation is applied to the target interactive object to obtain the functional operation result including the preview diagram to be processed. When an operation instruction to append an object is received, the selection state corresponding to the target interactive object is retained. Then, based on the selection state and the preview diagram to be processed, a corresponding preview diagram to be processed is generated. Based on the object appending operation instruction, the object appending and processing operation is performed in the preview schematic diagram to be processed to obtain the current preview schematic diagram. Then, the current preview schematic diagram is rendered and the obtained rendering result is sent to the visualization interface for display. When a function exit command is received, the current preview image is retained.

8. An interactive device for aircraft structural mesh software, characterized in that, include: The subordinate information establishment module is used to determine the grid block object corresponding to each grid surface object in the structure grid in the visualization interface corresponding to the structure grid of the aircraft, and to determine the grid surface object corresponding to each grid line object. The first subordinate information construction module is used to determine the initial subordinate information, including subordinate information of grid surface objects and subordinate information of grid line objects; The pending object determination module is used to determine the pending object corresponding to the target function based on the initial subordinate information; The object to be processed is a mesh surface object; The discrete point division module is used to determine each discrete point corresponding to the object to be processed, and to divide each discrete point into a first discrete point in the U direction and a second discrete point in the V direction. The second subordinate information construction module is used to establish the association between the first discrete point and the second discrete point, so as to construct target subordinate information based on the initial subordinate information and the association. The target object determination module is used to determine the curvature parameter corresponding to each target object, and to perform sparse sampling on each target object based on the curvature parameter to obtain the target object; The object adding module is used to determine each object to be added that has a subordinate relationship with the object to be captured based on the target subordinate information, so as to add each object to be added and the object to be captured to a preset container; The collision detection module is used to perform collision detection on each object in the preset container using the collision checking mechanism in the preset container, so as to obtain the target interactive object. The result display module is used to apply a corresponding functional operation to the target interactive object based on the target function, obtain the functional operation result, render the functional operation result, and send the rendering result to the visualization interface for display.

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 aircraft structure grid software as described in any one of claims 1 to 7.

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 aircraft structure grid software as described in any one of claims 1 to 7.