Direction formulation method, device and server for digital simulation application

By automatically identifying the target components of the furniture model and setting the absolute coordinate system, associating the direction-setting components with the vector components, the problems of traditional simulation methods being time-consuming, labor-intensive and lacking in versatility are solved, and efficient and flexible direction-setting for furniture digital simulation applications is achieved.

CN120470864BActive Publication Date: 2025-09-09ZHEJIANG YUANSUAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510948843.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-10
Publication Date
2025-09-09
Estimated Expiration
2045-07-10

AI Technical Summary

Technical Problem

The direction-setting method of traditional simulation processes is time-consuming and labor-intensive, lacks versatility and flexibility, is difficult to reuse in different industrial scenarios, and requires deep professional knowledge and experience, which limits the rapid construction and promotion of industrial simulation applications.

Method used

By automatically identifying the target components of the furniture model, setting the absolute coordinate system, decomposing the force vector, associating the direction-planning components and the vector components, the load direction is aligned with the global coordinate axis, the target direction vector is generated, and a low-code development model is adopted to simplify the direction-planning process of the simulation application.

Benefits of technology

It significantly improves the versatility and simulation efficiency of furniture digital simulation applications, reduces the need for code writing, and enables the rapid construction of simulation applications that meet the needs of complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120470864B_ABST
    Figure CN120470864B_ABST
Patent Text Reader

Abstract

The present invention provides a direction planning method, device and server for a digital simulation application, which relates to the technical field of universal development of simulation applications, including: determining the target component of a furniture model based on the interactive information of the user end, and automatically identifying the features of the target component to determine the surface feature ID of the target component; setting an absolute coordinate system, and decomposing the force vector acting on the target component into the absolute coordinate system to obtain the components of the force vector; according to the surface feature ID of the target component, correlating the preset direction planning component with the vector component, and binding the components of the force vector to the target node in the absolute coordinate system, so that the load direction is aligned with the global coordinate axis to determine the target direction vector corresponding to the interactive surface of the target component, and generating an industrial simulation application of the target furniture based on the target direction vector. The present invention can significantly improve the versatility and simulation efficiency of digital simulation applications of furniture scenes in direction planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of universal development of simulation applications, and in particular to a method, device and server for formulating the direction of a digital simulation application. Background Art

[0002] In the field of industrial simulation, the traditional method of directional formulation of the simulation process mainly relies on manual settings by engineers through professional commercial simulation software. Currently, relevant technologies propose that during manual settings, engineers are required to adjust the directional parameters involved in the simulation operation one by one in the software. This process is not only time-consuming and labor-intensive, but also lacks versatility and flexibility. Moreover, since each industrial scenario has its own unique geometric structure, physical process and interaction logic, the manually set directional parameters are often only applicable to specific simulation tasks and are difficult to reuse in different scenarios. In addition, the manual adjustment process also requires designers to have deep professional knowledge and rich experience, which increases the development threshold and makes this interaction mode limit the rapid construction and promotion of industrial simulation applications. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a direction planning method, device and server for digital simulation applications, which can significantly improve the versatility and simulation efficiency of furniture scene digital simulation applications in direction planning.

[0004] In the first aspect, an embodiment of the present invention provides a direction formulation method for a digital simulation application of a furniture scene, the method comprising: determining the target component of the furniture model based on the interactive information of the user end, and automatically identifying the features of the target component to determine the surface feature ID of the target component; setting an absolute coordinate system based on orthogonality and global uniqueness, and decomposing the force vector acting on the target component into the absolute coordinate system to obtain the components of the force vector; according to the surface feature ID of the target component, associating a preset direction formulation component with a vector component, and binding the components of the force vector to the target node in the absolute coordinate system to align the load direction with the global coordinate axis to determine the target direction vector corresponding to the interactive surface of the target component, and generating an industrial simulation application of the target furniture based on the target direction vector, wherein the vector component is a load and boundary type component that requires direction setting.

[0005] In one embodiment, after the step of decomposing the force vector acting on the target component into the absolute coordinate system to obtain the components of the force vector, it includes: a force vector decomposition model based on the absolute coordinate, matching the corresponding analysis algorithm according to the force vector type to determine the scalar and angle cosine value of the force vector.

[0006] In one embodiment, a force vector decomposition model based on absolute coordinates is used to match a corresponding analysis algorithm according to the force vector type to determine the scalar and angle cosine value of the force vector, including: when the force vector is a component, the projection component of the force vector on the coordinate axis is determined by a direction cosine projection algorithm, and when the direction of the force vector is defined by a vector, the cosine value of the angle between the force vector and the coordinate axis is determined by a normalization algorithm, wherein the projection component of the force vector on the coordinate axis is used to synthesize the scalar.

[0007] In one embodiment, the step of associating a preset direction simulation component with a vector component according to the surface feature ID of the target component includes: when the force vector acting on the target component is a single force vector, determining a single-axis direction in space through the direction simulation component, mapping the single-axis direction to the interaction surface feature of the target component, and combining the direction data of the direction simulation component with the interaction data of the vector component to automatically assign a single-axis vector to the interaction surface of the target component.

[0008] In one embodiment, the method also includes: when the force vector acting on the target component is a force vector with a complex direction, performing data conversion processing on the geometric surface data of the target component, converting the geometric surface data into a vertex set, and determining the center of the vertex set, wherein the coordinates of each fixed point in the vertex set are sorted in ascending order of lexicographical order; using the first three vertices in the vertex set to generate a normal vector, and authenticating the normal vector, and determining the successfully authenticated normal vector as the target normal vector.

[0009] In one embodiment, the step of authenticating the normal vector includes: when the first three vertices in the vertex set generate a normal vector that is perpendicular to the plane formed by the first three vertices, determining that the normal vector is generated successfully; when the first three vertices in the vertex set generate a normal vector that is not perpendicular to the plane formed by the first three vertices, determining that the normal vector fails to be generated, and calling the absolute coordinates.

[0010] In one embodiment, after the step of determining the successfully authenticated normal vector as the target normal vector, it includes: setting a globally unique identifier in the target normal vector, and when the direction setting component and the vector component are associated with each other, associating the globally unique identifier with the vector component, so as to automatically update the parameters of the associated components when the parameters of the coordinate system change.

[0011] In the second aspect, an embodiment of the present invention also provides a direction planning device for a digital simulation application of furniture, the device comprising: a feature recognition module, which determines the target component of the furniture model based on the interactive information of the user end, and performs automatic feature recognition processing on the target component to determine the surface feature ID of the target component; a vector decomposition module, which sets an absolute coordinate system based on orthogonal normalization and global uniqueness, and decomposes the force vector acting on the target component into the absolute coordinate system to obtain the components of the force vector; a direction planning module, which associates a preset direction planning component with a vector component according to the surface feature ID of the target component, and binds the components of the force vector to the target node in the absolute coordinate system to align the load direction with the global coordinate axis to determine the target direction vector corresponding to the interactive surface of the target component, and generates an industrial simulation application of the target furniture based on the target direction vector, wherein the vector component is a load and boundary type component that requires direction setting.

[0012] In a third aspect, an embodiment of the present invention further provides a server, comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the methods provided in the first aspect.

[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.

[0014] The embodiments of the present invention bring the following beneficial effects:

[0015] An embodiment of the present invention provides a direction formulation method, device and server for a digital simulation application. The method first determines the target component of a furniture model based on the interactive information of the user end, and automatically identifies the features of the target component to determine the surface feature ID of the target component. Then, an absolute coordinate system is set based on orthogonal normalization and global uniqueness, and the force vector acting on the target component is decomposed into the absolute coordinate system to obtain the components of the force vector. Finally, according to the surface feature ID of the target component, the preset direction formulation component and the vector component are associated with each other, and the components of the force vector are bound to the target node in the absolute coordinate system so that the load direction is aligned with the global coordinate axis to determine the target direction vector corresponding to the interactive surface of the target component, and based on the target direction vector, an industrial simulation application of the target furniture is generated. The embodiment of the present invention can effectively solve the digital R&D simulation application of furniture by associating components. It also significantly improves the compatibility and flexibility of the system by eliminating the limitations of direction selection during low-code development, so that furniture industrial simulation application developers can quickly build simulation applications that meet the needs of furniture digital R&D scenarios through simple module configuration without in-depth and complex code writing.

[0016] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 A schematic flow chart of a method for determining the direction of a digital simulation application provided by an embodiment of the present invention;

[0020] Figure 2 A schematic diagram illustrating the effect of a direction setting component provided by an embodiment of the present invention;

[0021] Figure 3 A schematic diagram of an interactive process for a direction-setting method for a furniture scene digital simulation application provided by an embodiment of the present invention;

[0022] Figure 4 A schematic diagram of a process for creating new coordinates in a direction setting component provided by an embodiment of the present invention;

[0023] Figure 5 A schematic diagram of a furniture test provided by an embodiment of the present invention;

[0024] Figure 6 A schematic diagram of a specific process of a direction-setting method for a furniture scene digital simulation application provided by an embodiment of the present invention;

[0025] Figure 7 A schematic structural diagram of a direction setting device for a digital simulation application provided by an embodiment of the present invention;

[0026] Figure 8 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0028] Currently, in the current wave of industrial digital transformation, industrial simulation technology is a key means to optimize production processes, improve product quality, and reduce R&D costs. However, with the increasing complexity and diversification of industrial scenarios, traditional simulation application development methods face many challenges, especially the model of quickly building simulation applications through low-code development. Since furniture industrial simulation scenarios often involve multiple physical processes, boundary setting requirements, and dynamically changing interaction conditions, existing general vector components such as loads and boundary settings have exposed obvious shortcomings in processing and generating orientation problems in furniture industrial scenarios. Related technologies have proposed that in the field of industrial simulation, the traditional direction formulation method of the simulation process mainly relies on manual settings by engineers through professional commercial simulation software. Engineers need to adjust the orientation parameters involved in the simulation operation one by one in these software. This process is not only time-consuming and labor-intensive, but also lacks versatility and flexibility. Since each industrial scenario has its own unique geometric structure, physical processes, and interaction logic, manually set orientation parameters are often only applicable to specific simulation tasks and are difficult to reuse in different scenarios. In addition, the manual adjustment process requires designers to have deep professional knowledge and rich experience, which undoubtedly increases the development threshold. This interaction model limits the rapid construction and promotion of industrial simulation applications.

[0029] Furthermore, in the low-code development mode of industrial simulation applications, the above-mentioned manually adjusted direction formulation method is particularly insufficient. The core advantage of low-code development is to quickly build scenario-based applications through a visual interface and preset modules, reducing the workload of code writing. However, the existing low-code development platform lacks general module support in industrial simulation direction formulation, and cannot meet the multi-target and dynamic interactive direction selection requirements in complex industrial scenarios. That is to say, although low-code development can quickly build a simulation application framework, it still needs to rely on manual adjustment in the key simulation parameter setting link, which not only weakens the efficiency advantage of low-code development, but may also lead to inaccurate simulation results. Therefore, the existing scheme has obvious limitations in the new mode of low-code development of industrial simulation applications. Based on this, the direction formulation method of digital simulation applications provided by the present invention can effectively solve the furniture digital R&D simulation application by means of component association. Through low-code development, the limitations on direction selection are eliminated, and the compatibility and flexibility of the system are significantly improved, so that furniture industrial simulation application developers can quickly build simulation applications that meet the needs of furniture digital R&D scenarios through simple module configuration without in-depth and complex code writing.

[0030] See also Figure 1 The flowchart of a method for determining the direction of a furniture scene digital simulation application is shown. The method mainly includes the following steps S102 to S106:

[0031] In step S102, based on the interactive information from the user side, the target component of the furniture model is determined, and the target component is automatically identified and processed to determine the surface feature ID of the target component. In one embodiment, various parts can be selected in an interactive manner, including the load-bearing surface of the table, the table leg surface, etc. This process can be achieved through a graphical user interface. For example, by selecting different parts of the table, the system can automatically identify and obtain the corresponding surface feature ID. These surface feature IDs are key data for subsequent finite element numerical calculations, and they define the position and method of action of loads and boundaries.

[0032] Step S104: an absolute coordinate system is set based on orthogonality and global uniqueness, and the force vector acting on the target component is decomposed into the absolute coordinate system to obtain the components of the force vector. In one embodiment, the conditions for establishing the absolute coordinate system are as follows: The absolute coordinate system that can be set is , which needs to satisfy orthogonality (i.e., the unit vectors of the coordinate axes meet the vertical condition) and global uniqueness (i.e., all physical quantity inputs are directly mapped to this coordinate system and are independent of the local coordinate system of the model).

[0033]

[0034] in, It is the reference point of the coordinate system and the starting point of all position vectors, usually defined as (0,0,0). 、 、 Represent the unit vectors of the orthogonal directions of the X, Y, and Z axes respectively, 、 and , representing the vector unit lengths of the X, Y, and Z axes respectively.

[0035] In another embodiment, an embodiment of the present invention provides an embodiment for determining the scalar and angle cosine value of a force vector. The force vector decomposition model of the absolute coordinates can be used to match the corresponding analysis algorithm according to the force vector type to determine the scalar and angle cosine value of the force vector. That is, when the force vector is a component, the projection component of the force vector on the coordinate axis is determined by the direction cosine projection algorithm, and when the direction of the force vector is defined by a vector, the cosine value of the angle between the force vector and the coordinate axis is determined by the normalization algorithm, wherein the projection component of the force vector on the coordinate axis is used to synthesize the scalar. For details, see (1) to (3) below:

[0036] (1) For arbitrary force , which is decomposed into the absolute coordinate system as follows:

[0037]

[0038] in, , Represents the projected component of the force on the coordinate axis, used for analysis and synthesis of independent directions (scalar), represents an orthonormal basis, which decomposes a vector into independently tractable components (unit vectors).

[0039] (2) When the force is a component, the direction cosine projection method is used for calculation:

[0040]

[0041] in, is the cosine of the angle between the force vector and the coordinate axis. A scalar strength representing the force (the magnitude of the force).

[0042] (3) When the direction of the force is determined by the vector When defined, the direction cosines are calculated by normalization:

[0043] in, , Represents the projection components of the vector on the X, Y, and Z coordinate axes. Indicates the magnitude (geometric length) of a vector.

[0044] Step S106, according to the surface feature ID of the target component, the preset direction formulation component and the vector component are associated with each other, and the components of the force vector are bound to the target node in the absolute coordinate system, so that the load direction is aligned with the global coordinate axis to determine the target direction vector corresponding to the interaction surface of the target component, and based on the target direction vector, generate the industrial simulation application of the target furniture, wherein the vector component is a load and boundary type component that has requirements for direction setting, and the direction formulation component is a new associative component constructed by the present invention. The core function of this component is to provide free direction formulation capabilities and be integrated into the low-code development platform of industrial simulation applications in a modular manner. Taichung, thereby achieving efficient adaptation to direction requirements in industrial simulation applications of furniture digital R&D scenarios. In one embodiment, the direction formulation component has the function of interactive surface direction formulation, which can flexibly adjust and set the direction vector according to the specific needs of furniture digital R&D industrial applications. In order to improve the adaptability of vector components to directions, the direction formulation component first integrates a direction formulation method based on absolute coordinates for the common force direction selection problem in furniture digital R&D industrial applications. By calibrating the spatial vectors based on the X, Y and Z axes in the absolute coordinate system, the direction formulation component can accurately assign any single-axis direction in space to the vector component.

[0045] Furthermore, the absolute coordinate system is the basis for decomposition and synthesis of single-axis directions. All scalar inputs are directly mapped to the absolute coordinate axes. The default is the Cartesian coordinate system (X, Y, Z). The geometric positions of all nodes and elements are defined based on this coordinate system. When used, the components input by the user directly correspond to the three axes of the coordinate system. For example, when using a force component associated with it, when setting = 100N (corresponding to the coordinate component (1, 0, 0)) means that the force is completely along the absolute coordinate X-axis direction and has nothing to do with the model coordinates; when the direction of the force does not coincide with the absolute coordinate axis, an oblique force will be generated, and the force will be decomposed into the three axes of the absolute coordinate according to the direction cosine. Based on the above method, the direction of the vector component can be formulated according to the actual test standards of furniture. For example, the force component can be determined by the coordinate component The direction of the 45° angle on the XZ plane is achieved by Figure 2 The schematic diagram of the effect of a proposed directional component is shown, which is the effect that needs to be achieved in digital R&D testing of table furniture at a 45° upward angle.

[0046] The direction planning method for the digital simulation application provided by the embodiment of the present invention can significantly improve the versatility and simulation efficiency of the furniture scene digital simulation application during direction planning.

[0047] The embodiment of the present invention further provides a method for associating a force-bearing component with a direction-setting component. For details, see (A) to (B) below:

[0048] (A) When the force component and the direction-setting component are associated to solve the load-bearing requirements in the process of building furniture industrial simulation applications, they can be associated with each other to transmit the absolute coordinates of the direction-setting information. When the force vector acting on the target component is a single force vector, the single-axis direction in space is determined by the direction-setting component, and the single-axis direction is mapped to the interaction surface feature of the target component. The direction data of the direction-setting component is combined with the interaction data of the vector component to automatically assign a single-axis vector to the interaction surface of the target component. Specifically, after the absolute coordinate scalar input and the direction cosine calculation, vector decomposition and data binding are required to perform component calculation. According to the magnitude of the force F and the direction cosine, the components of each axis are calculated:

[0049] Verify the direction cosine constraints ( ), if it is not satisfied, the input direction vector needs to be recalibrated.

[0050] Get the components after the solution , nodal loads will be applied and the components will be bound to the target nodes in the absolute coordinate system, ensuring that the load direction is aligned with the global coordinate axes.

[0051] (B) Since most of the action direction choices in furniture industrial simulation application scenarios are not single, but complex directions restricted by interactive objects, a coordinate system generation method can be integrated into the direction formulation component. As the second direction formulation method based on interactive features to generate normals, it is also associated with the remaining vector components through component association. The vector components here refer to some load and boundary components that require direction settings, such as force components that set forces and displacement components that control boundary conditions. In order to achieve the effect of batch generation of furniture industrial simulation applications, the versatility of component functions can be improved as much as possible and the complexity of use brought to users by function expansion can be reduced. The direction formulation part can be presented as an independent component, and the required interaction information can be obtained from the associated components to realize the corresponding coordinate generation and direction formulation functions.

[0052] That is to say, when the force vector acting on the target component is a force vector with a complex direction, the geometric surface data of the target component is converted into a vertex set, and the center of the vertex set is determined. Then, the first three vertices in the vertex set are used to generate a normal vector, and the normal vector is authenticated, and the successfully authenticated normal vector is determined as the target normal vector, wherein the fixed-point coordinates in the vertex set are sorted in ascending lexicographical order. In one embodiment, when the normal vectors generated by the first three vertices in the vertex set are perpendicular to the plane formed by the first three vertices, it is determined that the normal vector generation is successful; when the normal vectors generated by the first three vertices in the vertex set are not perpendicular to the plane formed by the first three vertices, it is determined that the normal vector generation fails, and the absolute coordinates are called. In another embodiment, after determining the target normal vector, a globally unique identifier can be set in the target normal vector, and when the direction setting component and the vector component are associated with each other, the globally unique identifier can be associated with the vector component so that the parameters of the associated components can be automatically updated when the parameters of the coordinate system change. For details, please refer to (a) to (d) below:

[0053] (a) Data conversion: The data of the geometric surface selected by the user is converted and stored as a vertex set, denoted as {P1, P2, ..., Pn}, and then the vertex set is sorted in ascending order according to the X→Y→Z lexicographic order.

[0054] (b) Calculate the center of gravity:

[0055]

[0056] in, , , is the coordinate component of the center of gravity, which represents the average position of the point set in three directions, is the normalization factor of the arithmetic mean, is the total number of points in the point set (a positive integer), is the algebraic sum of the X components of all points, is the algebraic sum of the Z components of all points.

[0057] (c) Normal vector generation: Take the first three vertices P1, P2, and P3 after sorting to generate normal vectors. Check whether the normal vectors generated by these three points are perpendicular to the plane formed by the three points. If they are satisfied, it means that the normal vector generation is successful. Otherwise, it is considered that the normal vector generation failed. In this case, use absolute coordinates:

[0058]

[0059] (d) Unique identification and association update process: If the normal vector is generated successfully, a globally unique UUID is assigned to it. When associating components, the UUID must be associated. When the parameters of the coordinate system change, the components associated with it will automatically update the parameters. The association mode and the process of interactive information transmission are as follows: set the user's interactive information acquisition method in the associated vector component, and then select its associated vector component in the direction setting component. In this way, the interactive information output by the vector component can be input into the corresponding direction setting component to transmit the associated configuration information.

[0060] The algorithm model logic of the direction prediction component itself is to mark the input geometric model feature information, and structure its data by parsing and mapping the corresponding geometric interaction surface features. Then, the direction data is synchronized and subscribed through the dynamic vertex sorting strategy and dynamic generation of local coordinates. Figure 3 The interactive flow diagram of a direction planning method for a furniture scene digital simulation application is shown. The embodiment of the present invention also provides an algorithm logic of a direction planning component, which is specifically shown in (1) to (4) below:

[0061] (1) The vector component annotation process is performed by the user marking the interaction surface in the load / boundary vector component (such as a plane feature in a 3D model file, recording the face vertex set, such as { , , ...} and the center of gravity G. Here, both vertices and center of gravity are represented by coordinate structures of {X, Y, Z}, and the parameter type is floating point. Vertex sets can be stored as coordinate types, while the center of gravity is a single coordinate. The coordinate values ​​obtained from the outside are parsed into a coordinate structure through a specific algorithm.

[0062] In one embodiment, the specific processes of the above-mentioned two-part algorithm of vector component geometric feature annotation and data structuring are as follows:

[0063] 1. Define the geometric feature storage structure - coordinate structure:

[0064]

[0065] in, Represents coordinates in three-dimensional space.

[0066] 2. Face feature data:

[0067]

[0068] in, An array that stores the coordinates of all vertices of a face and describes the face's geometric shape. The geometric center of a face.

[0069] 3. External input coordinate values ​​are mapped into structures using general parsing rules:

[0070] in, is the coordinate value obtained externally, Represents an array of structures.

[0071] (2) The specific manifestation of association configuration is to select the associated vector component and subscribe to its surface features (including vertex sets and center of gravity data). Here, a dynamic vertex sorting strategy is adopted. Specifically, in this process, it is necessary to dynamically determine whether to sort the vertex set. If sorting is required, the slice type and its method are used. The coordinate slices can be sorted in ascending order by X, Y, and Z.

[0072] The condition for judging whether the vertex set needs to be sorted: points in two three-dimensional spaces need to be sorted when the distance between them is greater than the user-defined threshold, otherwise they do not need to be sorted.

[0073] The sorting rule is in ascending lexicographical order:

[0074]

[0075] in, , Represents the three-dimensional coordinate point in space to be compared, Is the primary sorting basis, compared in ascending order, , Is the secondary sorting basis, The same takes effect at the same time. , For the final sorting basis, and , The same takes effect.

[0076] (3) Dynamic calculation: Real-time monitoring of geometric changes of vector components triggers the update of local coordinate system. During the calculation process, coordinate operations and comparisons are frequently performed. The dynamic generation method of local coordinate system is based on surface features. The steps to generate local coordinate system are as follows:

[0077] 1. Definition of reference axis:

[0078] Among them, P1 and P2 are the first two vertices after sorting, G is the center of gravity, is the first reference axis (the x-axis of the local coordinate system), is the secondary reference axis (y-axis of the local coordinate system).

[0079] 2. Coordinate transformation matrix:

[0080] in, Indicates the third reference axis (z axis of the local coordinate system).

[0081] (4) The direction sharing process is manifested as all associated components (such as the force component of the load class and the displacement component of the boundary setting class) synchronously using the output direction of the coordinate. Non-associated components can obtain the global direction through direction subscription. The representation and transmission of the direction are based on the coordinate structure. The direction sharing judgment rule here is that when the component is an associated component, it is directly bound. (Coordinate direction) data, synchronize the update direction; when it is a non-associated component, obtain the global direction through the subscriber; the direction synchronization process is also divided into associated components and non-associated components, and the associated components are written ; Non-associated components are obtained through subscribers .

[0082] After acquiring the interaction information, the normal vector corresponding to the overall feature and the overall center of gravity are calculated based on the surface feature information in the interaction information. These are used as the Z axis and origin of the new coordinate system. The calculated Z axis can be used as the normal output of the user interaction surface.

[0083] See also Figure 4 The schematic diagram of a process for creating new coordinates in a direction setting component is shown. The embodiment of the present invention also provides an algorithm model process corresponding to the calculation process of generating a new coordinate system. For details, see (1) to (3) below:

[0084] (1) Create an absolute coordinate system based on the geometric entity face selected by the user. Create a subdirectory in the current directory and save the coordinate system in the subdirectory for persistence. The corresponding method is then called to load and use it. When the coordinate is referenced by other vector components, the vector component is bound to the coordinate's global unique identifier. By loading the corresponding vector component, the coordinate is parsed and its three spatial coordinate dimensions are verified. This process uses the banker's rounding rule to compare coordinate values ​​to avoid directional errors caused by floating-point errors.

[0085] (2) The process of calculating the center of gravity of multiple coordinate points is to traverse all points, sum the three basic axial coordinates of each 3D model node, and then divide it by the number of points to obtain the coordinates of the center of gravity. When calculating multiple coordinate points, it is necessary to sort the three basic coordinates of the multiple coordinates in ascending order (since new coordinates are generated, this step cannot be omitted).

[0086] (3) By calculating, we get vectors v1 = p2 - p1 and v2 = p3 - p1, then use the method to calculate the cross product of these two vectors to get the normal vector, and finally normalize the normal vector.

[0087] By reconstructing the design pattern of the entire industrial simulation application, the diversified generation of furniture industrial simulation applications can be effectively realized. This mainly includes the stripping of the original vector component part and the unified setting of the direction part of the new direction-setting component. This solution will reduce the dimension of the original vector component that is difficult to set universally to a non-vector component, and then reconstruct the process by associating it with the direction-setting component, thereby meeting the diversified design requirements of furniture industrial simulation applications.

[0088] In addition, the direction determined by the direction-setting component can be further output so that other originally unrelated components can also obtain the direction output by it, so that the direction obtained through user interaction information is no longer unique to a certain vector component, but can be shared by all components.

[0089] In practical applications, Figure 5 The schematic diagram of a furniture test shown is based on the furniture test standard (such as EN581-3 "Mechanical safety requirements and test methods for outdoor tables") to quickly generate the corresponding furniture industry simulation application to meet Figure 5 The test conditions of the table test require blocking some of the table legs. This type of condition needs to be converted into a simulation language that can reflect the physical test conditions in the scenario-based industrial simulation application. Figure 5 The X-axis is designed as the blocking direction. The boundary condition at this time is that the X-axis translation freedom is limited. Due to the effect of the ground, the normal translation freedom of the vertical table leg surface is also limited. This involves complex rather than single direction planning. Taking this working condition as an example, the direction planning component is used to realize the complex rather than single direction planning path of furniture industrial simulation application. Please refer to Figure 6 The specific flow chart of a method for formulating the direction of a furniture scene digital simulation application is shown. The embodiment of the present invention also provides an implementation method for formulating the direction of a furniture scene digital simulation application, which is specifically as follows (1) to (4):

[0090] (1) For the displacement component in the vector component of the table model under the current working condition, it is necessary to have both axial displacement limit and normal displacement limit based on the target surface characteristics. In the actual component construction process, the method of combining components in multiple directions can be used to solve this type of setting requirements:

[0091] 1. The direction setting component 1 obtains the interactive surface characteristics of the displacement setting component through component association, and transmits the restriction conditions of the X-axis translation freedom through the coordinate axial adjustment.

[0092] 2. Direction setting component 2 obtains the interactive surface features of the displacement setting component through component association, and transmits the displacement constraint condition perpendicular to the table foot surface (from the ground reaction force) through the target surface normal generation logic.

[0093] 3. Direction setting component 3 obtains the interaction surface feature (bearing surface) of the force setting component through component association and transmits the force direction condition perpendicular to the table bearing surface here through the target surface normal generation logic.

[0094] (2) In addition to the above-mentioned pre-processing settings such as boundaries and loads, the overall process of furniture industrial simulation applications is manifested as the import and analysis of furniture models. Default material settings are set for specified furniture scenes through the material library component, such as common materials such as structural steel and stainless steel. The material customization function is also open, allowing users to input corresponding material density, Young's modulus, Poisson's ratio, ultimate strength and yield strength data, and then perform finite element numerical calculations. After the calculation is completed, the results are usually displayed in the form of a cloud map. This visualization method helps engineers intuitively identify potential problem areas of the chair and thus carry out targeted design optimization.

[0095] (3) Convert the finite element analysis result file into a VTK visualization format file and transmit it to the web. VTK is widely used in 3D computer graphics, image processing, and visualization. By converting the finite element results into VTK format, users can conduct in-depth analysis of the model in an interactive manner on the web and intuitively view various analysis results.

[0096] (4) In the subsequent report generation and numerical feedback link, automatic generation technology is used. In addition to the basic information such as the project background and the corresponding reference test standards that are fixedly displayed in a specific scene, it can also automatically generate detailed tables and issue accurate digital diagnosis results in combination with the force setting and displacement setting parameters. Among them, the basis of digital diagnosis is a strict judgment based on the input of material properties: if the maximum stress value is less than the material yield strength, then it can be determined that the structure will not undergo plastic deformation under the current circumstances, and the reference suggestion is qualified; when the material yield strength is less than or equal to the maximum stress value and the maximum stress value is less than or equal to the material ultimate strength, although plastic deformation will occur, it will not cause structural damage, and the reference suggestion is a warning; if the maximum stress value is greater than the material ultimate strength, it is considered that the structure will be damaged, and the reference suggestion is unqualified.

[0097] Furthermore, fatigue life testing is crucial for determining the permissible number of uses for engineering structures like tables. By comparing the maximum permissible number of uses with the actual usage standard, a scientifically sound recommendation can be made: if the maximum permissible number of uses is less than the actual usage standard, the recommendation is considered unqualified; conversely, if the maximum permissible number of uses is greater than or equal to the actual usage standard, the recommendation is considered qualified. This judgment method improves the safety and reliability of engineering structures and provides users with an accurate reference.

[0098] To sum up, the present invention can be developed based on low code in furniture digitalization R&D scenarios. It can introduce a universal direction formulation component according to the needs of furniture digitalization R&D scenarios, and associate it with the original load and boundary vector components, thereby realizing automatic recognition and dynamic adjustment of the vector component direction, so that the direction formulation component can transmit the target characteristics and interaction logic of the standard testing process of furniture industrial scenarios to other components in real time, thereby ensuring that the interaction direction selection of the entire simulation system is highly consistent with the actual industrial scenario.

[0099] Regarding the direction planning method for the furniture scene digital simulation application provided in the above embodiment, the embodiment of the present invention provides a direction planning device for the digital simulation application, see Figure 7 The structure diagram of a direction setting device for a digital simulation application is shown, and the device includes the following parts:

[0100] The feature recognition module 702 determines the target component of the furniture model based on the interactive information of the user terminal, and performs automatic feature recognition processing on the target component to determine the surface feature ID of the target component;

[0101] A vector decomposition module 704 sets an absolute coordinate system based on orthogonality and global uniqueness, and decomposes the force vector acting on the target component into the absolute coordinate system to obtain components of the force vector;

[0102] The direction setting module 706 associates the preset direction setting component with the vector component according to the surface feature ID of the target part, and binds the components of the force vector to the target node in the absolute coordinate system, so that the load direction is aligned with the global coordinate axis to determine the target direction vector corresponding to the interaction surface of the target part, and generates an industrial simulation application of the target furniture based on the target direction vector, wherein the vector component is a load and boundary type component that requires direction setting.

[0103] The direction planning device for the above-mentioned digital simulation application provided in the embodiment of the present application can significantly improve the versatility and simulation efficiency of the digital simulation application of furniture scenes when planning the direction.

[0104] In one embodiment, after performing the step of decomposing the force vector acting on the target component into the absolute coordinate system to obtain the components of the force vector, the above-mentioned vector decomposition module 704 is also used to: based on the absolute coordinate force vector decomposition model, match the corresponding analysis algorithm according to the force vector type to determine the scalar and angle cosine value of the force vector.

[0105] In one embodiment, when performing a force vector decomposition model based on absolute coordinates and matching a corresponding analysis algorithm according to the force vector type to determine the scalar of the force vector and the cosine value of the angle, the above-mentioned vector decomposition module 704 is also used to: when the force vector is a component, determine the projection component of the force vector on the coordinate axis through a direction cosine projection algorithm, and when the direction of the force vector is defined by a vector, determine the cosine value of the angle between the force vector and the coordinate axis through a normalization algorithm, wherein the projection component of the force vector on the coordinate axis is used to synthesize the scalar.

[0106] In one embodiment, when performing the step of associating a preset direction prediction component with a vector component according to the surface feature ID of the target component, the direction prediction module 706 is further used to: when the force vector acting on the target component is a single force vector, determine the uniaxial direction in space through the direction prediction component, map the uniaxial direction to the interaction surface feature of the target component, and combine the direction data of the direction prediction component with the interaction data of the vector component to automatically assign a uniaxial vector to the interaction surface of the target component.

[0107] In one embodiment, the direction setting module 706 is further used to: when the force vector acting on the target component is a force vector with a complex direction, perform data conversion processing on the geometric surface data of the target component, convert the geometric surface data into a vertex set, and determine the center of the vertex set, wherein the coordinates of each fixed point in the vertex set are sorted in ascending order of the lexicographic order; generate a normal vector using the first three vertices in the vertex set, authenticate the normal vector, and determine the successfully authenticated normal vector as the target normal vector.

[0108] In one embodiment, when performing the step of authenticating the normal vector, the above-mentioned direction formulation module 706 is also used to: when the first three vertices in the vertex set generate a normal vector that is perpendicular to the plane formed by the first three vertices, determine that the normal vector is generated successfully; when the first three vertices in the vertex set generate a normal vector that is not perpendicular to the plane formed by the first three vertices, determine that the normal vector generation fails, and call the absolute coordinates.

[0109] In one embodiment, after the step of determining the successfully authenticated normal vector as the target normal vector, the above-mentioned direction planning module 706 is also used to: set a globally unique identifier in the target normal vector, and when the direction planning component and the vector component are associated with each other, associate the globally unique identifier with the vector component, so as to automatically update the parameters of the associated components when the parameters of the coordinate system change.

[0110] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those in the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding content in the aforementioned method embodiment.

[0111] An embodiment of the present invention provides a server. Specifically, the server includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned embodiments.

[0112] Figure 8 A structural diagram of a server provided in an embodiment of the present invention, wherein the server 100 includes: a processor 80, a memory 81, a bus 82 and a communication interface 83, wherein the processor 80, the communication interface 83 and the memory 81 are connected via the bus 82; the processor 80 is used to execute an executable module stored in the memory 81, such as a computer program.

[0113] Memory 81 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between the system network element and at least one other network element is achieved through at least one communication interface 83 (which may be wired or wireless), and may utilize the Internet, a wide area network, a local area network, a metropolitan area network, or the like.

[0114] The bus 82 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0115] Among them, the memory 81 is used to store programs, and the processor 80 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 80 or implemented by the processor 80.

[0116] The processor 80 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above-described method may be performed by hardware integrated logic circuits or software instructions within the processor 80. The processor 80 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processing unit (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present invention may be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules within the decoding processor. The software modules may be located in storage media well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or the like. The storage medium is located in the memory 81 , and the processor 80 reads the information in the memory 81 and completes the steps of the above method in combination with its hardware.

[0117] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be referred to the previous method embodiment and will not be repeated here.

[0118] If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0119] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A method for determining the direction of a digital simulation application, characterized in that: The method comprises: Based on the interactive information of the user end, a target component of the furniture model is determined, and the target component is automatically identified and processed to determine the surface feature ID of the target component; An absolute coordinate system is set based on orthogonality and global uniqueness, and a force vector acting on the target component is decomposed into the absolute coordinate system to obtain components of the force vector; According to the surface feature ID of the target component, a preset direction setting component and a vector component are associated with each other, and the components of the force vector are bound to the target node in the absolute coordinate system, so that the load direction is aligned with the global coordinate axis to determine the target direction vector corresponding to the interaction surface of the target component, and based on the target direction vector, an industrial simulation application of the target furniture is generated, wherein the vector component is a load and boundary type component that requires direction setting; The step of associating a preset direction-setting component with a vector component according to the surface feature ID of the target component includes: when the force vector acting on the target component is a single force vector, determining a single-axis direction in space by the direction-setting component, mapping the single-axis direction to the interactive surface feature of the target component, and combining the direction data of the direction-setting component with the interactive data of the vector component to automatically assign a single-axis vector to the interactive surface of the target component; The method further includes: when the force vector acting on the target component is a force vector with a complex direction, performing data conversion processing on the geometric surface data of the target component, converting the geometric surface data into a vertex set, and determining the center of the vertex set, wherein the coordinates of each fixed point in the vertex set are sorted in ascending order of lexicographical order; using the first three vertices in the vertex set to generate a normal vector, and authenticating the normal vector, and determining the successfully authenticated normal vector as the target normal vector.

2. The method for determining the direction of a digital simulation application according to claim 1, wherein: After the step of decomposing the force vector acting on the target component into the absolute coordinate system to obtain the components of the force vector, the method includes: Based on the absolute coordinate force vector decomposition model, the corresponding analysis algorithm is matched according to the force vector type to determine the scalar value and angle cosine value of the force vector.

3. The method for determining the direction of a digital simulation application according to claim 2, wherein: The force vector decomposition model based on absolute coordinates matches a corresponding analysis algorithm according to the force vector type to determine the scalar value of the force vector and the cosine value of the angle, including: When the force vector is a component, the projection component of the force vector on the coordinate axis is determined by the direction cosine projection algorithm, and when the direction of the force vector is defined by a vector, the cosine value of the angle between the force vector and the coordinate axis is determined by the normalization algorithm, wherein the projection component of the force vector on the coordinate axis is used to synthesize a scalar.

4. The method for determining the direction of a digital simulation application according to claim 1, wherein: The step of authenticating the normal vector includes: When the first three vertices in the vertex set generate normal vectors that are perpendicular to the plane formed by the first three vertices, it is determined that the normal vector is generated successfully; When the normal vectors generated by the first three vertices in the vertex set are not perpendicular to the plane formed by the first three vertices, it is determined that the normal vector generation fails, and the absolute coordinates are called.

5. The method for determining the direction of a digital simulation application according to claim 1, wherein: After the step of determining the successfully authenticated normal vector as the target normal vector, the method includes: A globally unique identifier is set in the target normal vector, and when the direction setting component and the vector component are associated with each other, the globally unique identifier is associated with the vector component, so that the parameters of the associated components are automatically updated when the parameters of the coordinate system change.

6. A direction setting device for digital simulation application, characterized in that: The device comprises: The feature recognition module determines the target component of the furniture model based on the interactive information of the user terminal, and performs automatic feature recognition processing on the target component to determine the surface feature ID of the target component; a vector decomposition module, which sets an absolute coordinate system based on orthogonality and global uniqueness, and decomposes the force vector acting on the target component into the absolute coordinate system to obtain components of the force vector; A direction setting module associates a preset direction setting component with a vector component according to the surface feature ID of the target component, binds the components of the force vector to the target node in the absolute coordinate system, aligns the load direction with the global coordinate axis, and determines the target direction vector corresponding to the interaction surface of the target component. Based on the target direction vector, an industrial simulation application of the target furniture is generated, wherein the vector component is a load and boundary type component that requires direction setting; The step of associating a preset direction-setting component with a vector component according to the surface feature ID of the target component includes: when the force vector acting on the target component is a single force vector, determining a single-axis direction in space by the direction-setting component, mapping the single-axis direction to the interactive surface feature of the target component, and combining the direction data of the direction-setting component with the interactive data of the vector component to automatically assign a single-axis vector to the interactive surface of the target component; It also includes: when the force vector acting on the target component is a force vector with a complex direction, performing data conversion processing on the geometric surface data of the target component, converting the geometric surface data into a vertex set, and determining the center of the vertex set, wherein the coordinates of each fixed point in the vertex set are sorted in ascending order of lexicographical order; using the first three vertices in the vertex set to generate a normal vector, and authenticating the normal vector, and determining the successfully authenticated normal vector as the target normal vector.

7. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • A load cell for a downhole load measuring tool

    CN102322999A

  • Point cloud registration model and method combining attention mechanism and three-dimensional graph convolutional network

    CN111882593A