Component safety inspection method, device, equipment, storage medium and program product
By identifying the component types in the aircraft assembly model through the preset component classification model and performing automated orientation inspection, the problem of low inspection efficiency and low accuracy in the existing technology is solved, and a more efficient component safety inspection is achieved.
Patent Information
- Application Number
- CN202410113475.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-01-26
AI Technical Summary
The safety inspection efficiency of aircraft parts in the existing technology is low, and problems of missed inspections and incorrect inspections are prone to occur, resulting in inaccurate inspection results.
The components in the aircraft assembly model are identified through the preset component classification model, the type of each component is obtained, and the orientation rationality check is performed automatically based on the orientation check parameters to generate component safety inspection results.
It improves inspection efficiency, reduces the problem of missed and incorrect inspections caused by manual inspection, and improves the accuracy of inspection results and the efficiency of component safety inspection.
Smart Images

Figure CN118278096B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of aviation safety technology, and in particular to a component safety inspection method, device, equipment, storage medium and program product. Background Art
[0002] With the advancement and development of aviation technology, the performance requirements for aircraft are getting higher and higher. Based on this, there are many types of parts in aircraft with different functions.
[0003] In the related art, in order to ensure the safety of the aircraft, it is usually necessary to conduct a comprehensive check on the rationality of the numerous components in the aircraft, such as pipes and cables in the aircraft.
[0004] However, the inspection method of the related art has the problem of low inspection efficiency. Summary of the invention
[0005] Based on this, it is necessary to provide a component safety inspection method, device, equipment, storage medium and program product that can improve inspection efficiency in response to the above technical problems.
[0006] In a first aspect, the present application provides a component safety inspection method, characterized in that the method comprises:
[0007] In response to an inspection instruction of the aircraft assembly model, the components in the aircraft assembly model are identified by a preset component classification model to obtain the component type of each component in the aircraft assembly model; the inspection instruction carries an orientation inspection parameter;
[0008] According to the orientation inspection parameters and the component types of each component, the orientation rationality inspection is performed on each component to obtain the component safety inspection result of the aircraft assembly model.
[0009] In one embodiment, the orientation inspection parameters include a reference direction and an inspection line interval; and an orientation rationality inspection is performed on each component according to the orientation inspection parameters and the component type of each component, so as to obtain a component safety inspection result of the aircraft assembly model, including:
[0010] Construct multiple inspection lines according to the reference direction and inspection line interval;
[0011] Determine the spatial coordinates of each component based on each inspection line and the component type of each component;
[0012] According to the spatial coordinates of each component, the orientation rationality of each component is checked to obtain the component safety inspection results of the aircraft assembly model.
[0013] In one embodiment, a plurality of inspection lines are constructed according to a reference direction and an inspection line interval, including:
[0014] Determine the reference direction as the construction direction of each inspection line, and determine the normal plane corresponding to the reference orientation as the projection plane of each inspection line;
[0015] Determine the projection coordinates of each inspection line according to the vertex coordinates of the projection plane and the inspection line interval;
[0016] Each inspection line is constructed based on the projection coordinates and construction direction of each inspection line.
[0017] In one embodiment, before determining the projection coordinates of each inspection line according to the vertex coordinates of the projection plane and the inspection line interval, the method further includes:
[0018] Get the vertex coordinates of the minimum bounding box; the minimum bounding box is the minimum circumscribed cuboid that includes all components;
[0019] The vertex coordinates corresponding to the minimum bounding box on the projection plane are determined as the vertex coordinates of the projection plane.
[0020] In one embodiment, determining the spatial coordinates of each component based on each inspection line and the component type of each component includes:
[0021] For any component, a spatial model of the component is obtained according to the component type of the component;
[0022] The coordinates of the intersections of the component and each inspection line are input into the spatial model to obtain the spatial coordinates of the component.
[0023] In one embodiment, the orientation rationality check of each component is performed according to the spatial coordinates of each component to obtain the component safety check result of the aircraft assembly model, including:
[0024] According to the spatial coordinates of each component, determine the relative orientation and projection distance between the components;
[0025] Based on the relative orientation and projection distance between the components, the orientation rationality of each component is checked;
[0026] According to the orientation rationality inspection results of each component, the component safety inspection results of the aircraft assembly model are obtained.
[0027] In one embodiment, determining the relative orientation and projection distance between the components according to the spatial coordinates of the components includes:
[0028] For two components of different types, the relative orientation is obtained by calculating the difference between the coordinates of each component in the reference direction; and the projection distance is obtained by calculating the distance between the two coordinates of each component outside the reference direction.
[0029] In one embodiment, the orientation check parameters include a reference orientation and an exemption threshold; and based on the relative orientation and projection distance between the components, an orientation rationality check is performed on each component, including:
[0030] For two components of different types, if the relative orientation is the same as the reference orientation, and / or the projection distance is greater than the exemption threshold, the orientation rationality check result is determined to be qualified, otherwise, the orientation rationality check result is determined to be unqualified.
[0031] In one embodiment, based on the orientation rationality check results of each component, the component safety check results of the aircraft assembly model are obtained, including:
[0032] The components and spatial coordinates corresponding to the unqualified orientation rationality check results are determined as a set of orientation unsatisfactory items;
[0033] The groups of orientation dissatisfaction items in the orientation rationality check results are summarized to generate a safety check result.
[0034] In a second aspect, the present application also provides a component safety inspection device, the device comprising:
[0035] A response module, used to respond to the inspection instruction of the aircraft assembly model, identify the components in the aircraft assembly model through a preset component classification model, and obtain the component type of each component in the aircraft assembly model; the inspection instruction carries an orientation inspection parameter;
[0036] The inspection module is used to perform orientation rationality inspection on each component according to the orientation inspection parameters and the component type of each component, and obtain the component safety inspection result of the aircraft assembly model.
[0037] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the embodiments of the first aspect are implemented.
[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method in any one of the embodiments of the first aspect above.
[0039] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method in any one of the embodiments of the first aspect above.
[0040] The above-mentioned component safety inspection method, device, equipment, storage medium and program product, in response to the inspection instruction of the aircraft assembly model, identifies the components in the aircraft assembly model through a preset component classification model, obtains the component type of each component in the aircraft assembly model, and then performs an orientation rationality inspection on each component according to the orientation inspection parameters and the component type of each component, and obtains the component safety inspection result of the aircraft assembly model. Among them, the inspection instruction carries the orientation inspection parameter. In this method, considering the characteristics of the large number of types of components in the aircraft assembly model, the components in the aircraft assembly model are identified through a preset component classification model, and the types of each component in the model are quickly identified. On this basis, based on the type of each component and the orientation inspection parameters carried in the inspection instruction, the orientation rationality inspection is automatically performed on each component to obtain the component safety inspection result. Such an automated and standardized orientation inspection method, while improving the inspection speed, eliminates the problem of missed inspection and wrong inspection caused by manual inspection, improves the accuracy of the inspection result, and thus improves the efficiency of component safety inspection. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 is an internal structure diagram of a computer device in one embodiment;
[0043] Figure 2 A schematic diagram of a flow chart of a component safety inspection method in one embodiment;
[0044] Figure 3 A schematic diagram of a component orientation inspection parameter setting interface in one embodiment;
[0045] Figure 4 A schematic diagram of a flow chart of a component safety inspection method in another embodiment;
[0046] Figure 5 A schematic diagram of a flow chart of a spatial coordinate acquisition step in an embodiment;
[0047] Figure 6 A schematic diagram of a flow chart of a check line construction step in one embodiment;
[0048] Figure 7 A schematic diagram of a process of obtaining vertex coordinates in one embodiment;
[0049] Figure 8A schematic diagram of a flow chart of a step of obtaining an inspection result in an embodiment;
[0050] Fig. 9 is a schematic diagram of an exemption threshold in one embodiment;
[0051] Fig.10 A schematic flow chart of a step of obtaining an inspection result in another embodiment;
[0052] Fig.11 A schematic flow chart of a minimum bounding box determination step in one embodiment;
[0053] Fig.12 A schematic diagram of an inspection circle in one embodiment;
[0054] Fig.13 A schematic diagram of a flow chart of a component safety inspection method in another embodiment;
[0055] Fig.14 1 is a structural block diagram of a component safety inspection device in one embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0057] The component safety inspection method provided in the embodiment of the present application can be applied to a computer device, which can be a server, and its internal structure diagram can be as shown in Figure 1 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store component security inspection data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a component security inspection method is implemented.
[0058] Those skilled in the art will understand that Figure 1The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0059] There are many types and large numbers of parts in an aircraft. Therefore, in order to ensure the safety of the aircraft, it is necessary to check the rationality of the assembly between the various parts in the aircraft.
[0060] In the related art, in order to ensure the safety of the aircraft, when the orientation of the components in the aircraft is checked, it is usually before the actual assembly of the aircraft components, that is, in the aircraft design stage, and the Computer Aided Design (CAD) technology is used to build an aircraft assembly model, and the relative orientation of each component in the aircraft assembly model is checked for rationality.
[0061] However, due to the large number and variety of parts in aircraft assembly models, related technologies often require a lot of time and manpower costs for inspection, and when inspecting the orientation of parts, it is easy to miss or misdetect, resulting in low inspection efficiency.
[0062] Based on this, the embodiment of the present application provides a component safety inspection method, which responds to the inspection instruction of the aircraft assembly model, identifies the components in the aircraft assembly model through a preset component classification model, obtains the component type of each component in the aircraft assembly model, and improves the accuracy and speed of type identification. Then, according to the orientation inspection parameters carried in the inspection instruction and the component type of each component, the orientation rationality inspection is performed on each component, and the component safety inspection result of the aircraft assembly model is obtained, so as to realize automatic inspection and improve inspection efficiency.
[0063] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0064] In an exemplary embodiment, Figure 2 As shown, a component security inspection method is provided, and the method is applied to a server as an example for explanation. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In an embodiment of the present application, the method includes:
[0065] S201, in response to an inspection instruction of an aircraft assembly model, components in the aircraft assembly model are identified by a preset component classification model to obtain component types of each component in the aircraft assembly model; the inspection instruction carries an orientation inspection parameter.
[0066] The aircraft assembly model is a reference model constructed during the aircraft design phase to guide the actual assembly of the aircraft. In order to render the construction details of the aircraft assembly model as comprehensively as possible, the aircraft assembly model in the embodiment of the present application is a three-dimensional model constructed based on three-dimensional design software, such as CAD, Unigraphics NX (UG), Blender and other design software.
[0067] When the aircraft assembly model is constructed, the inspection instruction of the aircraft assembly model may be automatically triggered or triggered by user means to instruct the server to inspect the relative positions of the components in the aircraft assembly model.
[0068] When the inspection instruction is automatically triggered, the orientation inspection parameters carried in the inspection instruction are standard parameters for the relative orientation between different types of components in the aircraft assembly model that have been set in advance. For example, with the z-axis as the orientation direction, component 1 is below component 2, component 2 is above component 3, and the orientation of component 3 and component 4 is undefined, that is, there is no restriction on the orientation of component 3 and component 4.
[0069] When the inspection instruction is manually triggered, the orientation inspection parameters carried in the inspection instruction may be orientation parameters set by the staff based on actual inspection requirements.
[0070] See also Figure 3 , Figure 3 This is a schematic diagram of the location check parameter setting interface displayed by the server. Figure 3 There are four types of components, component 1 to component 4, and each type of component corresponds to an editable box for the user to enter the corresponding position inspection parameters based on actual needs, such as Figure 3 The lower triangle drop-down box shown is a drop-down box, and the user can define the reference position of the relative position between two components, such as above, below and undefined, by clicking the drop-down box.
[0071] In response to the inspection instruction of the aircraft assembly model, the server inputs the aircraft assembly model into a preset component classification model, such as a machine learning model. Then, each component in the aircraft assembly model is identified by the component classification model to determine the component type of each component, such as a cable, an oxygen conduit, a liquid conduit, etc.
[0072] In practical applications, since there are many parts in the aircraft assembly model, the target parts in the aircraft assembly model can also be checked in batches. For example, the inspection instruction carries the type identification of the target part, and the target part with the same type identification is identified among all the parts of the aircraft assembly model through the preset part classification model, so as to facilitate the subsequent orientation rationality check of the target part. In the embodiment of the present application, when the inspection instruction does not carry the part identification, the type identification and orientation rationality check of all types of parts of the aircraft assembly model are performed by default.
[0073] S202, performing an orientation rationality check on each component according to the orientation check parameters and the component type of each component, and obtaining a component safety check result of the aircraft assembly model.
[0074] The server automatically generates a set of safety inspection instructions according to the orientation inspection parameters and the component types of each component, and executes the safety inspection instructions with the components in the aircraft assembly model as the inspection objects to obtain the component safety inspection results of the aircraft assembly model.
[0075] After obtaining the orientation check parameters and the component type of each component, the server may also directly perform a component safety check.
[0076] In another application scenario, the server determines the actual orientation parameters between the components based on the component types of each component, and then determines whether the actual orientation parameters between the components meet the corresponding orientation inspection parameter requirements between the components, determines whether the orientation between the components is reasonable, and then obtains the component safety inspection results of the aircraft assembly model.
[0077] Specifically, if the actual orientation parameters meet the orientation check parameter requirements, the orientations between the corresponding components are reasonable, that is, the safety check passes; if the actual orientation parameters do not meet the orientation check parameter requirements, the orientations between the corresponding components are unreasonable, that is, the safety check fails.
[0078] In the embodiment of the present application, in response to the inspection instruction of the aircraft assembly model, the components in the aircraft assembly model are identified by a preset component classification model, the component type of each component in the aircraft assembly model is obtained, and then the orientation rationality check is performed on each component according to the orientation inspection parameter and the component type of each component, and the component safety inspection result of the aircraft assembly model is obtained. Among them, the inspection instruction carries the orientation inspection parameter. In this method, considering the characteristics of the large number of types of components in the aircraft assembly model, the components in the aircraft assembly model are identified by a preset component classification model, and the types of each component in the model are quickly identified. On this basis, based on the type of each component and the orientation inspection parameter carried in the inspection instruction, the orientation rationality check is automatically performed on each component to obtain the component safety inspection result. Such an automated and standardized orientation inspection method not only improves the inspection speed, but also avoids the problem of missed inspection and wrong inspection caused by manual inspection, improves the accuracy of the inspection result, and thus improves the efficiency of component safety inspection.
[0079] As can be seen from the above embodiments, when the server checks the components, it is based on the position check parameters and the component type, so as to check the rationality of the positions between the components in a targeted and objective manner. Based on this, an embodiment is used below to describe a possible way to check the rationality of the positions of the server.
[0080] In an exemplary embodiment, Figure 4 As shown, the orientation inspection parameters include reference direction and inspection line interval; according to the orientation inspection parameters and the component type of each component, the orientation rationality inspection is performed on each component to obtain the component safety inspection results of the aircraft assembly model, including:
[0081] S401, constructing a plurality of inspection lines according to a reference direction and an inspection line interval.
[0082] Among them, the reference direction can be a parallel direction of the inspection line, or it can be expressed by two normal directions of the plane where the inspection line is located. The inspection line interval is the interval size of the inspection line in the reference direction, including row interval and column interval. The row interval represents the interval between two adjacent rows of inspection lines, and the column interval represents the interval between two adjacent columns of inspection lines.
[0083] Exemplarily, taking the reference direction as the normal direction of the plane where the inspection line is located, if the reference direction is the x direction and the y direction, the row spacing is 100 mm, and the column spacing is 10 mm, then multiple inspection lines perpendicular to the xoy plane, that is, parallel to the z-axis, are constructed, and the distance between each two adjacent rows of inspection lines is 100 mm, and the distance between each two adjacent columns of inspection lines is 10 mm.
[0084] S402: Determine the spatial coordinates of each component based on each inspection line and the component type of each component.
[0085] According to the component type of each component, the inspection line intersecting with each component and the expression of the inspection line are determined, and then the spatial coordinates of each component are obtained according to the method of solving the intersection of lines.
[0086] In an exemplary embodiment, Figure 5 As shown, based on each inspection line and the component type of each component, the spatial coordinates of each component are determined, including:
[0087] S501: For any component, a spatial model of the component is obtained according to the component type of the component.
[0088] S502: Input the coordinates of the intersections of the component and each inspection line into the space model to obtain the space coordinates of the component.
[0089] For any component, the spatial model of the component represents the structural model of the component in three-dimensional space. The server obtains the spatial model corresponding to the component type from the database according to the mapping relationship between the component type and the spatial model.
[0090] The intersection coordinates of the component and each inspection line are theoretically three-dimensional coordinates, but since the direction of the inspection line is parallel to the reference direction, it means that the coordinate value of the inspection line in the reference direction is a fixed value. In this case, the coordinate value of the intersection coordinates of the component and each inspection line in the reference direction cannot be determined and has no reference value. Based on this, the coordinate values of the intersection coordinates of the component and the inspection line that have reference significance can only be the other two coordinate values in the intersection coordinates except the reference direction, that is, the two-dimensional coordinates. In this case, the server inputs the intersection coordinates represented by two-dimensional coordinates into the spatial model of the component and calculates the three-dimensional coordinates of the component and the inspection line, that is, the spatial coordinates of the component.
[0091] In the embodiment of the present application, the spatial coordinates of the component are determined based on the spatial model of the component and the coordinates of the intersection between the component and the inspection line, which is equivalent to restoring the two-dimensional coordinates of the intersection coordinates through the spatial model to obtain more accurate spatial coordinates of the component.
[0092] S403, performing a position rationality check on each component according to the spatial coordinates of each component, and obtaining a component safety check result of the aircraft assembly model.
[0093] According to the spatial coordinates of each component, the orientation information between the components is determined, and based on this, the orientation rationality of each component is checked to obtain the component safety inspection result of the aircraft assembly model.
[0094] In an embodiment of the present application, multiple discrete inspection lines can be quickly constructed based on the reference direction and the inspection line interval, so that the inspection lines can fully intersect with each component, so as to facilitate the acquisition of the spatial coordinates of each component, thereby improving the speed of the orientation rationality inspection between the components.
[0095] Another implementation of constructing the inspection line in S401 is described below through an embodiment. Figure 6 As shown, multiple inspection lines are constructed according to the reference direction and inspection line interval, including:
[0096] S601, determining a reference direction as a construction direction of each inspection line, and determining a normal plane corresponding to the reference orientation as a projection plane of each inspection line.
[0097] The reference direction is parallel to the inspection line, and the projection direction is perpendicular to the inspection line. Taking the reference direction as the z direction as an example, each inspection line is parallel to the z axis and perpendicular to the xoy plane.
[0098] S602, determining the projection coordinates of each inspection line according to the vertex coordinates of the projection plane and the inspection line interval.
[0099] The inspection line interval includes row interval and column interval. The row interval represents the interval between two adjacent rows of inspection lines, and the column interval represents the interval between two adjacent columns of inspection lines. Of course, the inspection line interval can also be a specific value. In this case, it can be considered that the inspection line row interval and column interval are equal.
[0100] See also Figure 3 , Figure 3 The reference direction of the azimuth is set to the z direction, the row spacing of the inspection line is 100 mm, and the column spacing is 10 mm. If the coordinates of the four vertices of the upper left, upper right, lower left and lower right of the projection plane (xoy plane) are (x L ,y H )、(x H ,y H )、(x L ,y L )、(x H ,y L ), the interval between two adjacent columns of inspection lines is Lx, and the column interval between two adjacent rows of inspection lines is Ly, then the number of inspection lines in each row on the projection plane is:
[0101] (Formula 1)
[0102] In the above formula 1, n x is the number of check lines for each row, and FLOOR() is the rounding down function.
[0103] The number of check lines for each column is:
[0104] (Formula 2)
[0105] In the above formula 1, n y is the number of check lines for each column, and FLOOR() is the floor rounding function.
[0106] That is to say, there are Furthermore, the expression of the starting point coordinates of each inspection line is:
[0107] (Formula 3)
[0108] In the above formula 3, p ijX Indicates the horizontal coordinate of the starting point, i indicates the serial number of the check line in the corresponding row, and the value range is [1, n x ], p ijY represents the vertical coordinate of the starting point, j represents the serial number of the check line in the column to which it belongs, and the value range is [1, n y ], p ijZ Indicates the ordinate of the starting point, z L Indicates the minimum value of the projection plane in the construction direction.
[0109] The expression of the coordinates of the end points of each inspection line is:
[0110] (Formula 4)
[0111] In the above formula 4, q ijX Indicates the horizontal coordinate of the starting point, i indicates the serial number of the check line in the corresponding row, and the value range is [1, n x ], q ijY represents the vertical coordinate of the starting point, j represents the serial number of the check line in the column to which it belongs, and the value range is [1, n y ], q ijZ Indicates the ordinate of the starting point, z H Indicates the maximum value of the projection plane in the construction direction.
[0112] S603: construct each inspection line based on the projection coordinates and construction direction of each inspection line.
[0113] Along the construction direction of the inspection line, the coordinates of the starting point and the ending point of each inspection line are connected to construct multiple inspection lines parallel to the construction direction.
[0114] In an embodiment of the present application, the projection coordinates of the inspection line on the projection plane are determined based on the vertex coordinates of the projection plane and the inspection line intervals, which is equivalent to determining the two-dimensional coordinates of the inspection line. On this basis, combined with the construction direction, the coordinate values of the third dimension of the inspection line are further limited to clearly and concisely express the line segments corresponding to each inspection line.
[0115] As can be seen from the above embodiments, the vertex coordinates of each projection plane are two-dimensional planes, and the vertex coordinates of the projection plane are naturally two-dimensional coordinates, and the projection plane is generated based on the three-dimensional space projection of the aircraft assembly model. The following is an embodiment to illustrate the steps of obtaining the vertex coordinates of the projection plane.
[0116] In an exemplary embodiment, Figure 7 As shown, before determining the projection coordinates of each inspection line according to the vertex coordinates of the projection plane and the inspection line interval, the method further includes:
[0117] S701, obtaining vertex coordinates of a minimum bounding box; the minimum bounding box is the minimum circumscribed cuboid including all components.
[0118] After determining the positions of the components in the aircraft assembly model, construct the minimum circumscribed cuboid that includes the components and read the size (x L , x H ,y L ,y H , z L , z h ), the vertex coordinates of the minimum bounding box are (x L ,y H , z L )、(x H ,y H , z L )、(x L ,y L , z L )、(x H ,y L , z L )、(x L ,y H , z H )、(x H ,y H , z H )、(x L ,y L , z H )、(x H ,y L , z H ).
[0119] It should be noted that in the scenario of batch inspection of multiple types of components of the aircraft assembly model, it is equivalent to inspecting certain types of target components of the aircraft assembly model. In this case, the minimum bounding box obtained by the server is the minimum circumscribed cuboid including each target component.
[0120] S702: Determine the vertex coordinates corresponding to the minimum bounding box on the projection plane as the vertex coordinates of the projection plane.
[0121] Taking the projection plane as the xoy plane as an example, the vertex coordinates of the minimum bounding box on the xoy plane are (x L ,y H )、(x H ,y H )、(x L ,y L )、(x H ,y L ).
[0122] In the embodiment of the present application, the three-dimensional space coordinates of the minimum bounding box are first obtained, and then the projection coordinates of the projection plane are determined according to the plane corresponding to the projection plane on the minimum bounding box. This determination method has clear logic, simple implementation principle, and is easy to deploy. It can be conveniently implemented through secondary development, and has the characteristics of simple principle, convenient operation, time saving and labor saving.
[0123] After obtaining the spatial coordinates of each component, a variety of different methods can be adopted to check the rationality of the orientations of the components from different dimensions. Based on this, an achievable method of checking the rationality of the orientations is described below through an embodiment.
[0124] In an exemplary embodiment, Figure 8 As shown, according to the spatial coordinates of each component, the orientation rationality of each component is checked to obtain the component safety inspection results of the aircraft assembly model, including:
[0125] S801, determining the relative orientation and projection distance between the components according to the spatial coordinates of the components.
[0126] The coordinate values of the spatial coordinates of each component in the reference direction are determined as azimuth coordinate values, and the coordinate values of the spatial coordinates of each component except the azimuth coordinate values are determined as projection coordinates.
[0127] The relative orientations of the components are determined based on the orientation coordinate values of the components, and the projection distances of the components are determined based on the projection coordinates of the components.
[0128] In an exemplary embodiment, determining the relative orientation and projection distance between the components according to the spatial coordinates of the components includes:
[0129] For two components of different types, the relative orientation is obtained by calculating the difference between the coordinates of each component in the reference direction; and the projection distance is obtained by calculating the distance between the two coordinates of each component outside the reference direction.
[0130] The spatial coordinates of the first type of component 1 are (x1, y1, z1), and the spatial coordinates of the second type of component 2 are (x2, y2, z 2) For example, if the inspection line is parallel to the z-axis, the relative orientation of component 1 and component 2 is (z2-z1), and the projection distance between component 1 and component 2 can be the projection distance in the x-direction. , or the projection distance in the y direction , or the projection distance on the xoy plane .
[0131] It should be noted that the relative orientation of two components is a vector, that is, it can be positive or negative. If the relative orientation of component 1 and component 2 is a positive number, it means that component 1 is above component 2. If the relative orientation of component 1 and component 2 is a negative number, it means that component 1 is below component 2. Component 1 is above component 2, which means that component 1 is parallel to component 2. In addition, the projection distance of two components represents the distance between the two components, and does not involve the relative relationship between the upper and lower parts. Therefore, the projection distances of the two components are all positive or 0.
[0132] S802: Based on the relative orientation and projection distance between the components, perform orientation rationality check on the components.
[0133] The server checks the relative orientation and projection distance between the components respectively, obtains orientation inspection results and projection inspection results, and then obtains orientation rationality inspection based on the orientation inspection results and projection inspection results.
[0134] In one scenario, the relative orientations of the components may be checked first. If the orientation check fails, the projection distances between the components may be checked. If the projection distance check fails, it is determined that the orientation rationality check fails.
[0135] S803, obtaining component safety inspection results of the aircraft assembly model according to the orientation rationality inspection results of each component.
[0136] The results of the orientation rationality check are integrated through the corresponding components to obtain a list of components that meet the requirements. The corresponding components that fail the orientation rationality check results are integrated to obtain a list of components that do not meet the requirements. The lists of components that meet the requirements and the lists of components that do not meet the requirements are then summarized to generate the component safety inspection results of the aircraft assembly model.
[0137] In an embodiment of the present application, for two components of different types, the orientation rationality check result is determined by checking the two dimensions of orientation and projection distance between the two components. This takes into account both the relative orientations of the different types of components in the reference direction and the distances of the different types of components in the projection direction, thereby making the orientation rationality check result more comprehensive and accurate.
[0138] The following is an example of a specific method for checking the relative orientation and projection distance between different types of components. In an exemplary embodiment, the orientation check parameters include a reference orientation and an exemption threshold; based on the relative orientation and projection distance between the components, the orientation rationality check is performed on each component, including:
[0139] For two components of different types, if the relative orientation is the same as the reference orientation, and / or the projection distance is greater than the exemption threshold, the orientation rationality check result is determined to be qualified, otherwise, the orientation rationality check result is determined to be unqualified.
[0140] The exemption threshold refers to the horizontal plane projection distance threshold that can be exempted when the relative orientation of two components of different types does not meet the reference orientation.
[0141] See also Fig. 9 , Fig. 9 A schematic diagram of setting the exemption threshold in the front view of an aircraft assembly model.
[0142] Fig. 9 In the figure, according to the orientation requirements, both the cables and the oxygen duct need to be arranged above the liquid duct. Since the projection distance between the cables and the liquid duct is less than the exemption threshold, the orientation inspection result between the cables and the hydraulic duct and the liquid duct should be considered as not meeting the requirements. Although the liquid duct is above the oxygen duct, the projection distance between the oxygen duct and the hydraulic duct is greater than the exemption threshold, so the inspection result should be considered as meeting the orientation requirements.
[0143] For two components of different types, the server determines whether the relative orientation is consistent with the reference orientation. If so, the orientation rationality check result is determined to be qualified; if not, it further determines whether the projection distance is greater than the exemption threshold. If so, the orientation rationality check result is determined to be qualified; if not, the orientation rationality check result is determined to be unqualified.
[0144] When the orientation rationality check of the component is performed, it is performed on the basis of the two known component types and spatial coordinates. Then, after the objects of the orientation rationality check results of the two components are known, the orientation rationality check results of each component in the aircraft assembly model can be further summarized to obtain the component safety check results corresponding to the aircraft assembly model. Based on this, the content and acquisition method of the component safety check results are described below through an embodiment.
[0145] In an exemplary embodiment, Fig.10 As shown, according to the orientation rationality inspection results of each component, the component safety inspection results of the aircraft assembly model are obtained, including:
[0146] S1001, determining the components and spatial coordinates corresponding to the unqualified orientation rationality check results as a set of orientation unsatisfactory items.
[0147] If the orientation rationality check result is unqualified, the identifiers and spatial coordinates of the two components corresponding to the orientation rationality check result are taken as a set of orientation unsatisfied items.
[0148] It should be noted that when the orientation rationality check results of two components are unqualified, there may be multiple sets of spatial coordinates of the orientation unsatisfied items. In this case, in order to concisely and clearly describe the information of the two components, only one set of spatial coordinates of the orientation unsatisfied items is used.
[0149] S1002, summarizing the groups of unsatisfied items in the orientation rationality check result to generate a safety check result.
[0150] In the aircraft assembly model, even if a few types of parts are checked, since one type corresponds to multiple parts, a single orientation rationality check may result in multiple sets of unsatisfactory orientation items.
[0151] When the parts of the aircraft assembly model are inspected in batches, the orientation dissatisfaction items in the orientation rationality inspection results of each batch are summarized to obtain the safety inspection report corresponding to the batch, and then the safety inspection reports of all batches are summarized to generate the safety inspection results of the aircraft assembly model.
[0152] When the components of the aircraft assembly model are uniformly inspected, the groups of unsatisfied orientation items in the orientation rationality inspection report are summarized to generate the safety inspection result of the aircraft assembly model.
[0153] In an embodiment of the present application, unqualified components and spatial coordinates are summarized to generate a safety inspection result, which is equivalent to a summary of components in the aircraft assembly model that do not meet the orientation rationality, so that relevant personnel can quickly learn about the components in the aircraft assembly model that do not meet the requirements based on the safety inspection results, and adjust the components in time, thereby guiding the actual assembly of the aircraft.
[0154] Furthermore, an aircraft assembly model established using CATIA software is used as a research object, including four types of components: fuel ducts, oxygen ducts, bleed air ducts, and cables. The component safety inspection method proposed in the embodiment of the present application is used to inspect the components in the aircraft assembly model, including:
[0155] (1) The components of the aircraft assembly model are classified using the preset component classification model. The results are shown in Table 1. Table 1 shows the component classification results of the aircraft assembly model.
[0156] Table 1
[0157]
[0158] (2) Displaying an orientation check parameter setting interface to instruct the user to set orientation check parameters, such as reference direction, reference orientation of different types of components, exemption thresholds that can be exempted when the orientation result does not meet the reference orientation, and inspection line intervals.
[0159] Among them, the reference direction can be the z-axis; the reference orientation can be that the fuel duct is at the bottom, the oxygen duct is above the fuel duct, the bleed air duct is above the fuel duct and the oxygen duct, and the cable is at the top; the exemption threshold is 30mm; the check line interval can be that the row interval is set to 10mm and the column interval is set to 100mm.
[0160] (3) Construct the minimum bounding box of each component in the aircraft assembly model and obtain the vertex coordinates of the minimum bounding box.
[0161] The vertex coordinates of the minimum bounding box can be expressed by the maximum and minimum values of the x-axis, y-axis, and z-axis.
[0162] In another scenario, the minimum bounding box can also be constructed by manually defining the direction and value of the minimum bounding box, such as Fig.11 As shown, Fig.11 The vertex coordinates of the minimum bounding box shown are (15851, -1985.6, -1602.1), (15851, 1985.6, -1602.1), (24010, -1985.6, -1602.1), (24010, 1985.6, -1602.1), (15851, -1985.6, 1602.1), (15851, 1985.6, 1602.1), (24010, -1985.6, 1602.1), (24010, 1985.6, 1602.1).
[0163] (4) Determine the starting point coordinates and the ending point coordinates of the inspection line based on the reference direction, the vertex coordinates of the minimum bounding box, and the inspection line interval.
[0164] (5) Connect the coordinates of the starting point and the ending point of the inspection line to construct the inspection line.
[0165] (6) Using the line-volume intersection solution method, the intersection positions between all inspection lines and components are iteratively calculated to obtain the spatial coordinates of the components.
[0166] (7) Obtain the actual positions of different types of components based on the spatial coordinates of the components.
[0167] (8) Determine whether the reference orientation of different types of components is consistent with the actual phase. If they are consistent, the corresponding component orientation rationality check is determined to be qualified.
[0168] (9) If they are inconsistent, multiple inspection circles are generated on the normal plane of the inspection line with the exemption threshold as the radius.
[0169] See also Fig.12 , Fig.12 Schematic diagram of constructing an inspection circle in an aircraft assembly model with the reference direction being the z-axis. Fig.12 In the figure, the diameters of inspection circle A and inspection circle B are the exemption thresholds. It should be emphasized that Fig.12 The inspection circle in the figure is only a partial schematic diagram. In actual applications, the area constructed by multiple inspection circles covers the entire normal plane of the inspection line.
[0170] (10) Determine in turn whether there are two types of components in each inspection circle. If so, it is considered that the two components in the inspection circle do not meet the orientation rationality check, and the names and spatial coordinates of the above two components are determined as unsatisfactory items.
[0171] (11) All the unsatisfied items in the inspection circle that do not meet the orientation rationality check are summarized to generate the component safety inspection results of the aircraft assembly model. Table 2 is a schematic diagram of the component safety inspection results.
[0172] Table 2
[0173]
[0174] (12) After obtaining the safety inspection results, markings can also be made in the aircraft assembly model based on the safety inspection results. For example, the spatial coordinates of unsatisfactory items can be connected with identification lines to facilitate rapid positioning of components with unreasonable positions.
[0175] In the embodiment of the present application, the aircraft assembly model information created during the design process is used to quickly classify the aircraft components in the model, such as pipe and cable types, through a preset classification model, and the orientation inspection calculation can be automatically realized by simply setting the orientation inspection parameters, eliminating the huge workload brought by tedious manual inspection and the possible problems of missed inspection and wrong inspection. This method can be conveniently implemented through secondary development on existing three-dimensional model-assisted design software, such as CATIA, Pro / E, SolidWorks, etc. This method has the characteristics of simple principle, convenient operation, time saving and labor saving, etc.
[0176] In an exemplary embodiment, a component safety inspection method is provided, such as Fig.13 As shown, the method includes:
[0177] S1301, in response to an inspection instruction of an aircraft assembly model, identifying components in the aircraft assembly model by using a preset component classification model, and obtaining component types of each component in the aircraft assembly model.
[0178] The inspection instruction carries orientation inspection parameters, which include reference direction, inspection line interval, reference orientation and exemption threshold.
[0179] S1302: Determine a reference direction as a construction direction of each inspection line, and determine a normal plane corresponding to the reference orientation as a projection plane of each inspection line.
[0180] S1303, obtaining vertex coordinates of a minimum bounding box; the minimum bounding box is the minimum circumscribed cuboid including all components.
[0181] S1304: Determine the vertex coordinates corresponding to the minimum bounding box on the projection plane as the vertex coordinates of the projection plane.
[0182] S1305, determining the projection coordinates of each inspection line according to the vertex coordinates of the projection plane and the inspection line interval.
[0183] S1306: construct each inspection line based on the projection coordinates and construction direction of each inspection line.
[0184] S1307: For any component, obtain a spatial model of the component according to the component type of the component.
[0185] S1308, input the coordinates of the intersections of the component and each inspection line into the space model to obtain the space coordinates of the component.
[0186] S1309, for two components of different types, the relative orientation is obtained by calculating the difference between the coordinates of each component in the reference direction; and the projection distance is obtained by calculating the distance between two coordinates of each component outside the reference direction.
[0187] S1310, for two components of different types, if the relative orientation is the same as the reference orientation, and / or the projection distance is greater than the exemption threshold, then the orientation rationality check result is determined to be qualified, otherwise, the orientation rationality check result is determined to be unqualified.
[0188] S1311, the components and spatial coordinates corresponding to the unqualified orientation rationality check results are determined as a set of orientation unsatisfactory items.
[0189] S1312, summarizing the groups of unsatisfied items in the orientation rationality check result to generate a safety check result.
[0190] In the embodiment of the present application, in response to the inspection instruction of the aircraft assembly model, the components in the aircraft assembly model are identified by a preset component classification model, the component type of each component in the aircraft assembly model is obtained, and then the orientation rationality check is performed on each component according to the orientation inspection parameter and the component type of each component, and the component safety inspection result of the aircraft assembly model is obtained. Among them, the inspection instruction carries the orientation inspection parameter. In this method, considering the characteristics of the large number of types of components in the aircraft assembly model, the components in the aircraft assembly model are identified by a preset component classification model, and the types of each component in the model are quickly identified. On this basis, based on the type of each component and the orientation inspection parameter carried in the inspection instruction, the orientation rationality check is automatically performed on each component to obtain the component safety inspection result. Such an automated and standardized orientation inspection method not only improves the inspection speed, but also avoids the problem of missed inspection and wrong inspection caused by manual inspection, improves the accuracy of the inspection result, and thus improves the efficiency of component safety inspection.
[0191] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0192] Based on the same inventive concept, the embodiment of the present application also provides a component safety inspection device for implementing the component safety inspection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more component safety inspection device embodiments provided below can refer to the limitations of the XXX method above, and will not be repeated here.
[0193] In an exemplary embodiment, Fig.14 As shown, a component safety inspection device is provided, including: a response module 1401 and an inspection module 1402, wherein:
[0194] The response module 1401 is used to respond to the inspection instruction of the aircraft assembly model, identify the components in the aircraft assembly model through a preset component classification model, and obtain the component type of each component in the aircraft assembly model; the inspection instruction carries the orientation inspection parameter;
[0195] The inspection module 1402 is used to perform an orientation rationality inspection on each component according to the orientation inspection parameters and the component type of each component, and obtain a component safety inspection result of the aircraft assembly model.
[0196] In an exemplary embodiment, the inspection module 1402 includes an inspection line construction unit, a coordinate determination unit, and a result acquisition unit, wherein:
[0197] An inspection line construction unit, used for constructing a plurality of inspection lines according to a reference direction and an inspection line interval;
[0198] A coordinate determination unit, for determining the spatial coordinates of each component based on each inspection line and a component type of each component;
[0199] The result acquisition unit is used to perform orientation rationality inspection on each component according to the spatial coordinates of each component, and obtain component safety inspection results of the aircraft assembly model.
[0200] In an exemplary embodiment, the inspection line construction unit includes a direction determination subunit, a projection determination subunit and a line segment construction subunit, wherein:
[0201] A direction determination subunit, used to determine the reference direction as the construction direction of each inspection line, and to determine the normal plane corresponding to the reference orientation as the projection plane of each inspection line;
[0202] A projection determination subunit, used to determine the projection coordinates of each inspection line according to the vertex coordinates of the projection plane and the inspection line interval;
[0203] The line segment construction subunit is used to construct each inspection line based on the projection coordinates and construction direction of each inspection line.
[0204] In an exemplary embodiment, the component safety inspection device further includes a bounding box construction module and a bounding box determination module, wherein:
[0205] A bounding box construction module is used to obtain the vertex coordinates of the minimum bounding box; the minimum bounding box is the minimum circumscribed cuboid including all components;
[0206] The bounding box determination module is used to determine the vertex coordinates corresponding to the minimum bounding box on the projection plane as the vertex coordinates of the projection plane.
[0207] In an exemplary embodiment, the coordinate determination unit includes: a model determination subunit and a space determination subunit, wherein:
[0208] A model determination subunit is used for obtaining a spatial model of any component according to the component type of the component;
[0209] The space determination subunit is used to input the coordinates of the intersections of the component and each inspection line into the space model to obtain the space coordinates of the component.
[0210] In an exemplary embodiment, the result acquisition unit includes a position determination subunit, a position checking subunit and a result summary subunit, wherein:
[0211] An orientation determination subunit, used to determine the relative orientation and projection distance between the components according to the spatial coordinates of the components;
[0212] An orientation checking subunit, used to check the orientation rationality of each component based on the relative orientation and projection distance between the components;
[0213] The result summary subunit is used to obtain the component safety inspection results of the aircraft assembly model according to the orientation rationality inspection results of each component.
[0214] In an exemplary embodiment, the orientation checking subunit is also used to obtain the relative orientation of two components of different types by calculating the difference between the coordinates of each component in a reference direction; and to obtain the projection distance by calculating the distance between two coordinates of each component outside the reference direction.
[0215] In an exemplary embodiment, the orientation check subunit is also used to determine that the orientation rationality check result is qualified for two components of different types if the relative orientation is the same as the reference orientation and / or the projection distance is greater than the exemption threshold; otherwise, the orientation rationality check result is qualified.
[0216] In an exemplary embodiment, the result summary subunit includes a component determination subunit and a component summary subunit, wherein:
[0217] A component determination subunit is used to determine the components and spatial coordinates corresponding to the unqualified orientation rationality check results as a set of orientation non-satisfaction items;
[0218] The component summary subunit is used to summarize the groups of orientation non-satisfaction items in the orientation rationality check results to generate a safety check result.
[0219] Each module in the above-mentioned component safety inspection device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0220] In an exemplary embodiment, a memory and a processor are included. The memory stores a computer program. When the processor executes the computer program, the steps in the above method embodiments are implemented.
[0221] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0222] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0223] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0224] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0225] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0226] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A component safety inspection method, characterized in that: The method comprises: In response to an inspection instruction of an aircraft assembly model, components in the aircraft assembly model are identified by a preset component classification model to obtain component types of each component in the aircraft assembly model; the inspection instruction carries an orientation inspection parameter; the orientation inspection parameter includes a reference direction and an inspection line interval; Determine the reference direction as the construction direction of each of the inspection lines, and determine the normal plane corresponding to the reference direction as the projection plane of each of the inspection lines; obtain the vertex coordinates of the minimum bounding box; the minimum bounding box is the minimum circumscribed cuboid including each of the components; determine the vertex coordinates corresponding to the minimum bounding box on the projection plane as the vertex coordinates of the projection plane; Determine the projection coordinates of each inspection line according to the vertex coordinates of the projection plane and the inspection line interval; construct each inspection line based on the projection coordinates of each inspection line and the construction direction; Determining the spatial coordinates of each of the components based on each of the inspection lines and the component type of each of the components; According to the spatial coordinates of each of the components, the orientation rationality of each of the components is checked to obtain the component safety inspection result of the aircraft assembly model.
2. The method according to claim 1, characterized in that The determining of the spatial coordinates of each of the components based on each of the inspection lines and the component type of each of the components comprises: For any component, obtaining a spatial model of the component according to the component type of the component; The coordinates of the intersections of the component and each of the inspection lines are input into the space model to obtain the space coordinates of the component.
3. The method according to claim 1, characterized in that The method of performing a position rationality check on each component according to the spatial coordinates of each component to obtain a component safety check result of the aircraft assembly model includes: Determine the relative orientation and projection distance between the components according to the spatial coordinates of the components; Based on the relative positions and projection distances between the components, performing position rationality checks on the components; According to the orientation rationality inspection results of each of the components, the component safety inspection results of the aircraft assembly model are obtained.
4. The method according to claim 3, characterized in that Determining the relative orientation and projection distance between the components according to the spatial coordinates of the components includes: For two components of different types, the relative orientation is obtained by calculating the difference between the coordinates of each component in the reference direction; and the projection distance is obtained by calculating the distance between two coordinates of each component outside the reference direction.
5. The method according to claim 3, characterized in that: The orientation check parameter includes an exemption threshold; the orientation rationality check of each component based on the relative orientation and projection distance between the components includes: For two components of different types, if the relative orientation is the same as the reference direction and / or the projection distance is greater than the exemption threshold, the orientation rationality check result is determined to be qualified; otherwise, the orientation rationality check result is determined to be unqualified.
6. The method according to claim 3, characterized in that: The component safety inspection result of the aircraft assembly model is obtained according to the orientation rationality inspection result of each component, including: The components and spatial coordinates corresponding to the unqualified orientation rationality check results are determined as a set of orientation unsatisfactory items; The groups of unsatisfied items in the orientation rationality check result are summarized to generate the safety check result.
7. A component safety inspection device, characterized in that: The device comprises: A response module, for responding to an inspection instruction of an aircraft assembly model, identifying components in the aircraft assembly model by using a preset component classification model, and obtaining component types of each component in the aircraft assembly model; the inspection instruction carries an orientation inspection parameter; the orientation inspection parameter includes a reference direction and an inspection line interval; An inspection module is used to determine the reference direction as the construction direction of each inspection line, and to determine the normal plane corresponding to the reference direction as the projection plane of each inspection line; obtain the vertex coordinates of a minimum bounding box; the minimum bounding box is a minimum circumscribed cuboid including each component; determine the vertex coordinates corresponding to the minimum bounding box on the projection plane as the vertex coordinates of the projection plane; determine the projection coordinates of each inspection line according to the vertex coordinates of the projection plane and the inspection line interval; construct each inspection line based on the projection coordinates of each inspection line and the construction direction; determine the spatial coordinates of each component based on the inspection line and the component type of each component; perform an orientation rationality check on each component according to the spatial coordinates of each component to obtain a component safety inspection result of the aircraft assembly model.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
