Product pattern optimization method, device, equipment, storage medium and program product

By obtaining the target pattern, spline curve control points and control point adjustment algorithm, calculating natural coordinates and optimizing spline curve control points, the problem of pattern distortion and deformation during product molding is solved, and efficient and accurate pattern optimization is achieved, ensuring that Product quality and consistency.

CN118568805BActive Publication Date: 2024-11-26深圳十沣科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411047731.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-26
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

During the product forming process, the pattern is prone to distortion and deformation, resulting in inconsistent with the final product and the preset pattern. The existing technology lacks effective optimization methods, resulting in high adjustment costs, low efficiency and unavailability to guarantee.

Method used

By obtaining the target pattern, spline control points and control point adjustment algorithm, calculate natural coordinates and optimize spline control points, and adjust the preset pattern using the MMA method and gradient algorithm to ensure that the final product is close to the target pattern.

Benefits of technology

Improve the efficiency and accuracy of pattern optimization, ensure the quality and consistency of the final product, and solve the problem of pattern distortion and deformation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568805B_ABST
    Figure CN118568805B_ABST
Patent Text Reader

Abstract

The present application discloses a product pattern optimization method, device, equipment, storage medium and program product, which relates to the field of image processing technology, and discloses a product pattern optimization method, device, equipment, storage medium and program product, including: obtaining a target pattern, spline curve control points and a control point adjustment algorithm; calculating natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, connecting the preset pattern sampling points to determine the preset pattern; optimizing the spline curve control points to adjust the preset pattern based on the control point adjustment algorithm, and determining an improved pattern to control the final product molding. The present application obtains a preset pattern by calculating natural coordinates through constructing a mapping relationship, optimizes the spline curve control points to adjust the preset pattern according to the control point adjustment algorithm, obtains an improved pattern, ensures that the improved pattern is close to the target pattern, is efficient and has correct results, forms a general solution for the design of preset patterns in the product molding process, and guides engineering applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a product pattern optimization method, device, equipment, storage medium and program product. Background Art

[0002] During the product molding process, the preset pattern on its surface will be distorted, causing the final pattern to deviate from the desired target pattern or be far away. For example, during the air pressure molding process, the plastic film is pressed onto a specific mold through processes such as high-temperature softening, gas blowing, and plastic molding. In this process, the preset pattern on the plastic film will be distorted and deformed, and will not be consistent with the final desired target pattern. At present, there is a lack of effective preset pattern design optimization methods in engineering applications, because the physical simulation process of product molding is usually very complicated, involving nonlinear mechanical behaviors such as multiple physical fields, large deformations, plasticity, and contact between products and molds. The complex physical simulation model and distortion and deformation process make it difficult to optimize the preset pattern design. Therefore, optimizing the product pattern is a must.

[0003] The existing practice is to manually adjust the preset pattern according to the amount of distortion of the target pattern. However, the trial-and-error adjustment based on experience is expensive, inefficient, and has no guaranteed effectiveness. It also has low versatility. Therefore, how to solve the distortion of the pattern during the product molding process is a technical problem that needs to be solved urgently.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide a product pattern optimization method, device, equipment, storage medium and program product, aiming to solve the technical problem of how to solve the distortion and deformation of the pattern during the product molding process.

[0006] To achieve the above objectives, the present application proposes a product pattern optimization method, the method comprising:

[0007] Obtaining target pattern, spline curve control points and control point adjustment algorithm;

[0008] Calculating natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, and connecting the preset pattern sampling points to determine a preset pattern;

[0009] The spline curve control point adjustment preset pattern is optimized based on the control point adjustment algorithm, and an improved pattern is determined to control the molding of the final product.

[0010] In one embodiment, the step of obtaining a target pattern, spline curve control points and a control point adjustment algorithm comprises:

[0011] Acquiring surface distortion and deformation feature information, and obtaining a target pattern based on the surface torque deformation feature information;

[0012] Acquire a spline curve, and obtain spline curve control points based on the spline curve, wherein the spline curve includes an interpolation spline and a fitting spline;

[0013] The optimization target sensitivity information is determined based on the spline curve control points, and a control point adjustment algorithm is obtained based on the optimization target sensitivity information. The control point adjustment algorithm includes an MMA method and a gradient algorithm.

[0014] In one embodiment, the step of obtaining a spline curve control point based on the spline curve comprises:

[0015] Obtaining a spline curve calculation method, wherein the spline curve calculation method includes a Bezier curve calculation method, a B-spline calculation method, and a non-uniform rational B-spline calculation method;

[0016] Based on the spline curve calculation method and the spline curve calculation key point set, the key point set includes vertices, nodes and control points;

[0017] The spline curve control points are obtained based on the key point set.

[0018] In one embodiment, the step of obtaining optimized target sensitivity information based on the spline curve control points includes:

[0019] Get numerical methods for differential equations;

[0020] Based on the differential numerical calculation method and the spline curve control points, the optimized target sensitivity information is obtained.

[0021] In one embodiment, the step of calculating natural coordinates based on the sampling points in the target pattern to obtain the preset pattern sampling points comprises:

[0022] Acquire a distance function, calculate a target pattern deformation projection point based on the distance function and sampling points in the target pattern, and determine a natural coordinate based on the target pattern deformation projection point;

[0023] Based on the natural coordinates, parameter transformation of the finite element homogeneous unit is performed to determine the undeformed coordinates of the preset pattern, and the undeformed coordinates of the preset pattern are used as sampling points of the preset pattern.

[0024] In one embodiment, the step of optimizing the spline curve control point adjustment preset pattern based on the control point adjustment algorithm and determining an improved pattern to control the molding of the final product includes:

[0025] Optimizing the spline curve control points based on the control point adjustment algorithm to determine improved spline curve control points;

[0026] The preset pattern is adjusted based on the improved spline curve control points to obtain an improved pattern to control the final product molding.

[0027] In addition, to achieve the above-mentioned purpose, the present application also proposes a product pattern optimization device, the product pattern optimization device comprising:

[0028] An acquisition module 10, used to acquire a target pattern, spline curve control points and a control point adjustment algorithm;

[0029] A processing module 20, configured to calculate natural coordinates based on sampling points in the target pattern to obtain preset pattern sampling points, and connect the preset pattern sampling points to determine a preset pattern;

[0030] The execution module 30 is used to optimize the preset pattern of spline curve control point adjustment based on the control point adjustment algorithm, and determine an improved pattern to control the molding of the final product.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a product pattern optimization device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the product pattern optimization method described above.

[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the product pattern optimization method described above are implemented.

[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the product pattern optimization method described above are implemented.

[0034] One or more technical solutions proposed in this application have at least the following technical effects:

[0035] A product pattern optimization method proposed in one embodiment of the present application obtains a target pattern, a spline curve control point, and a control point adjustment algorithm; calculates natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, connects the preset pattern sampling points to determine the preset pattern; optimizes the spline curve control points to adjust the preset pattern based on the control point adjustment algorithm, and determines an improved pattern to control the final product molding. The present application obtains a preset pattern by calculating natural coordinates through constructing a mapping relationship, optimizes the spline curve control points to adjust the preset pattern according to the control point adjustment algorithm, obtains an improved pattern, ensures that the improved pattern is close to the target pattern, is efficient and has correct results, and solves the technical problem of pattern distortion and deformation during product molding. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0038] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the product pattern optimization method of the present application;

[0039] Figure 2 A schematic diagram of the calculation principle of the preset pattern for the product pattern optimization method of this application;

[0040] Figure 3 A schematic diagram of a process flow provided for Embodiment 2 of the product pattern optimization method of this application;

[0041] Figure 4 A schematic diagram of a process flow provided for Embodiment 3 of the product pattern optimization method of the present application;

[0042] Figure 5 A schematic diagram of a process flow provided for Embodiment 4 of the product pattern optimization method of the present application;

[0043] Figure 6 This is a schematic diagram of the module structure of the product pattern optimization device according to the embodiment of the present application;

[0044] Figure 7 Schematic diagram of the device structure of the hardware operating environment involved in the product pattern optimization method in the embodiment of the present application.

[0045] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0047] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0048] The main solution of the embodiment of the present application is: obtaining a target pattern, spline curve control points and a control point adjustment algorithm; calculating the natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, connecting the preset pattern sampling points to determine a preset pattern; optimizing the spline curve control points based on the control point adjustment algorithm to adjust the preset pattern, and determining an improved pattern to control the final product molding.

[0049] In this embodiment, for the convenience of description, the following description is made by taking the identification product control module as the execution body.

[0050] The existing technology is based on trial and error based on experience, which is expensive, inefficient, and has no guarantee of effectiveness, and has low universality.

[0051] The present application provides a solution, which includes obtaining a target pattern, spline curve control points and a control point adjustment algorithm; calculating natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, and connecting the preset pattern sampling points to determine a preset pattern; optimizing the spline curve control points based on the control point adjustment algorithm to adjust the preset pattern, and determining an improved pattern to control the final product molding.

[0052] It can be seen from the above embodiments that the present application obtains a preset pattern by calculating the natural coordinates by constructing a mapping relationship, optimizes the spline curve control points according to the control point adjustment algorithm to adjust the preset pattern, obtains an improved pattern, ensures that the improved pattern is close to the target pattern, is efficient and the results are correct, and solves the technical problem of pattern distortion during product molding.

[0053] Based on this, the embodiment of the present application provides a product pattern optimization method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the product pattern optimization method of the present application.

[0054] In this embodiment, the product pattern optimization method includes steps S10 to S30:

[0055] Step S10, obtaining a target pattern, spline curve control points and a control point adjustment algorithm;

[0056] It should be noted that the target pattern reflects the characteristics of the pattern after surface distortion and deformation during product molding, the spline curve control points reflect the characteristics of changing the pattern shape by adjusting the spline curve, and the control point adjustment algorithm reflects the characteristics of optimizing the sensitivity of each control point.

[0057] It is understandable that after obtaining the target pattern according to the distortion and deformation characteristics of the surface during the product molding process, the preset pattern is reversely solved by constructing a mapping relationship between the target pattern and the preset pattern, ensuring that the pattern after the preset pattern is distorted and deformed is close to the target pattern, wherein the distortion and deformation characteristics of the surface during the product molding process are obtained by numerical simulation, and the preset pattern is obtained by projecting the target pattern to the specified position of the target pattern of the numerical simulation molding result, using the correspondence relationship of the material points in the simulation process, and the mapping relationship between the target pattern and the preset pattern is the correspondence between the initial position and the final position of the material point in the simulation process. Since the simulation result is a discrete approximation of the continuous model, the accuracy of the mapping depends not only on the accuracy of the simulation, but also on the method of graphic representation and the means of discrete model mapping. There are many ways to construct the mapping relationship between the target pattern and the preset pattern, such as projection technology and isoparametric transformation, pattern representation technology and control point adjustment algorithm, artificial intelligence, or other transformation algorithms.

[0058] In addition, it should be noted that the spline control points can more accurately simulate and predict the deformation behavior of the pattern during the molding process. The control point adjustment algorithm is used to adjust the spline control points so that the preset pattern is as close to the target pattern as possible. The control point adjustment algorithm includes but is not limited to the MMA method and the gradient algorithm. The MMA algorithm is a mathematical programming method for solving nonlinear optimization problems, and is particularly suitable for dealing with complex problems in structural optimization design, such as topology optimization. It introduces a series of approximate sub-problems to transform the original nonlinear, non-convex optimization problem into a series of convex sub-problems, and then gradually solves these sub-problems to approach the optimal solution. The gradient algorithm is used to minimize the objective function. In machine learning, the objective function is usually a loss function, which measures the difference between the model's predicted value and the actual value. The core idea of ​​the gradient algorithm is to use the gradient of the loss function to guide the direction and step size of the parameter update. There are several variants of the gradient algorithm, such as stochastic gradient descent, mini-batch gradient descent, etc., which are more efficient when processing large-scale data sets.

[0059] In one embodiment, in order to facilitate the acquisition of the target pattern, spline curve control points and control point adjustment algorithm, a corresponding information acquisition device, such as an information acquisition module, can be pre-set to acquire the target pattern, spline curve control points and control point adjustment algorithm, and store the target pattern, spline curve control points and control point adjustment algorithm in a corresponding storage device, wherein the specific storage method is not limited as long as it can realize the storage of the target pattern, spline curve control points and control point adjustment algorithm, such as a storage module, a memory, etc.

[0060] During specific implementation, the information collection device is in a real-time working state or a timed working state, and obtains the target pattern, spline curve control points and control point adjustment algorithm real-timely or timed. If at a certain moment, the information collection device obtains the target pattern, spline curve control points and control point adjustment algorithm, subsequent processing is performed based on the target pattern, spline curve control points and control point adjustment algorithm.

[0061] For ease of understanding, the acquisition of a target pattern, a spline curve control point, and a control point adjustment algorithm are taken as an example for explanation, wherein the information acquisition device is an information acquisition module, and the storage device is a memory.

[0062] The information acquisition module obtains surface distortion and deformation feature information, obtains a target pattern based on the surface torque deformation feature information, obtains a spline curve, such as a Bezier curve, a B-spline, or a non-uniform rational B-spline, obtains spline curve control points, such as vertices, nodes, and control points, based on the spline curve, determines optimized target sensitivity information based on the spline curve control points, obtains a control point adjustment algorithm, such as an MMA method and a gradient algorithm, based on the optimized target sensitivity information, stores the target pattern, spline curve control points, and control point adjustment algorithm in a memory, and performs subsequent processing based on the target pattern, spline curve control points, and control point adjustment algorithm.

[0063] Step S20, calculating natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, and connecting the preset pattern sampling points to determine a preset pattern;

[0064] It should be noted that the preset pattern reflects the characteristics of the coordinates projected after processing before product deformation.

[0065] It can be understood that by performing finite element simulation of the product forming process, the deformation characteristics of the product surface are obtained, and then the projection of the sampling points on the target pattern on the deformed finite element mesh is calculated to obtain the natural coordinates. According to the isoparametric transformation of the isoparametric units in the finite element, the natural coordinates are the coordinates of the preset pattern on the undeformed finite element mesh, and are also the corresponding sampling points on the preset pattern.

[0066] In addition, it should be noted that based on the calculated natural coordinates, the isoparametric transformation of the finite element isoparametric unit is performed to obtain the undeformed coordinates of the preset pattern, these undeformed coordinates are used as the preset pattern sampling points, and these sampling points are connected to form the preset pattern, ensuring that the preset pattern can effectively reflect the characteristics of the target pattern during the molding process, reduce the pattern deformation caused by molding, and improve the quality and consistency of the final product.

[0067] In one embodiment, in order to calculate the natural coordinates based on the sampling points in the target pattern to obtain the preset pattern sampling points, and connect the preset pattern sampling points to determine the preset pattern, a processing device, such as a processing module, can be pre-set. The processing module can calculate the natural coordinates based on the sampling points in the target pattern to obtain the preset pattern sampling points, connect the preset pattern sampling points to determine the preset pattern, and perform subsequent processing based on the preset pattern, wherein the specific calculation method is not limited as long as it can achieve the calculation of the natural coordinates to obtain the preset pattern sampling points, such as a processing module, a processor, etc.

[0068] In a specific implementation, the processing device is in a normally closed state. If at a certain moment, the processing device obtains the sampling points in the target pattern, calculates the natural coordinates based on the sampling points in the target pattern to obtain the preset pattern sampling points, connects the preset pattern sampling points to determine the preset pattern, and performs subsequent processing based on the preset pattern.

[0069] For ease of understanding, the example of obtaining a preset pattern is used for explanation, wherein the information collection device is the information collection module, the storage device is the memory, and the processing device is the processing module.

[0070] The information acquisition module acquires the target pattern, the spline curve control points and the control point adjustment algorithm and stores them in the memory, calculates the projection of the sampling points on the target pattern on the deformed finite element mesh based on the sampling points in the target pattern, obtains the natural coordinates, obtains the preset pattern sampling points according to the isoparametric transformation of the finite element isoparametric unit, connects the preset pattern sampling points to obtain the preset pattern, and performs subsequent processing based on the preset pattern.

[0071] Reference Figure 2 , Figure 2 The schematic diagram of the calculation principle of the preset pattern of the product pattern optimization method of this application is used to obtain the sampling points on the target pattern, such as the sampling points on the target pattern are , based on the sampling points on the target pattern, the projection points on the deformed finite element mesh are obtained, such as the projection points on the deformed finite element mesh are ,point The spatial coordinates of can be expressed as , get point To point The distance function is , at this time the projection point P This is to find the minimum value of the above formula.

[0072] at this time .

[0073] Newton-Raphson iteration is used to calculate the projection point P Local coordinates in the natural coordinate system : .

[0074] At this time, the local coordinates of the projection point That is, the natural coordinates of the preset pattern on the undeformed finite element grid, thereby obtaining the preset pattern sampling points, and connecting the preset pattern sampling points to obtain the preset pattern.

[0075] Step S30, optimizing the spline curve control point adjustment preset pattern based on the control point adjustment algorithm, and determining an improved pattern to control the molding of the final product.

[0076] It should be noted that the improved pattern reflects the characteristics of the improved pattern obtained by optimizing the preset pattern based on the spline curve control points.

[0077] It can be understood that the control point adjustment algorithm can adjust the spline curve control points to match the target pattern, optimize the spline curve control points based on the defined control point adjustment algorithm, obtain the status of the spline curve control points by reading the control point data stored in the storage medium, and calculate based on the status of the spline curve control points using the control point adjustment algorithm to minimize the adjustment amount of the control points while ensuring that the preset pattern is as close to the target pattern as possible. According to the results of the control point adjustment algorithm, the control points of the spline curve are adjusted to change the position of the control points. After the control point adjustment is completed, the spline curve is regenerated and the improved spline curve is applied to the preset pattern to generate a new improved pattern.

[0078] In addition, it should be noted that a spline curve is a curve obtained by giving a series of control points, such as the control points of a Bezier curve, the control points of a B-spline curve, and the control points of a non-uniform rational B-spline. The shape of the curve is controlled by these points. The shape of the curve can be changed by changing the coordinates of the control points. The required curve can be obtained by placing control points. Any pattern can be represented by connecting several curves. If the preset pattern is represented by a spline curve, the preset pattern can be changed by optimizing the spline curve control points or moving the geometric parameters of the deformable component. Since the number of spline curve control points is limited, the sensitivity of the optimization target to the control point coordinates can be obtained by the difference method. After obtaining the sensitivity of the optimization target to the design variables, the MMA method or other gradient-based control point adjustment algorithms can be used to optimize the difference between the preset pattern and the target pattern after minimizing deformation to obtain an improved pattern. The final product molding is controlled based on the improved pattern. The products include but are not limited to automotive parts, aerospace components, electronic product housings, medical devices, furniture products, mechanical parts, jewelry products, and building components.

[0079] In one embodiment, in order to optimize the preset pattern of spline curve control point adjustment based on the control point adjustment algorithm and determine the improved pattern to control the molding of the final product, a corresponding execution device, such as an execution module, can be pre-set to obtain the control point adjustment algorithm, optimize the preset pattern of spline curve control point adjustment based on the control point adjustment algorithm, and determine the improved pattern to control the molding of the final product. The specific method of obtaining is not limited as long as the control point adjustment algorithm can be obtained, such as a control module, an execution module, etc.

[0080] In specific implementation, the execution device is in a normally closed state. If at a certain moment, the execution device obtains the control point adjustment algorithm, optimizes the spline curve control point adjustment preset pattern based on the control point adjustment algorithm, and determines the improved pattern to control the final product molding.

[0081] For ease of understanding, obtaining an improved pattern is taken as an example for explanation, wherein the information collection device is an information collection module, the storage device is a memory, and the execution device is an execution module.

[0082] The information acquisition module acquires the target pattern, the spline curve control points and the control point adjustment algorithm and stores them in the memory, calculates the projection of the sampling points on the target pattern on the deformed finite element mesh based on the sampling points in the target pattern, obtains the natural coordinates, obtains the preset pattern sampling points according to the isoparametric transformation of the finite element isoparametric unit, connects the preset pattern sampling points to obtain the preset pattern, obtains the spline curve, and performs subsequent processing based on the spline curve.

[0083] If the spline curve is a Bezier curve, which consists of vertices and control points, get the definition of the n-order Bezier curve. ,at this time , that is, a given point , , …, For the control point.

[0084] If the spline curve is a B-spline, which consists of control points and nodes, get the definition of the k-th degree B-spline curve. , the control point is , , …, and nodes , , …, .

[0085] in It is called the k-order B-spline basis function, and the recursive formula is as follows:

[0086] .

[0087] .

[0088] If the spline curve is a non-uniform rational B-spline, the non-uniform rational B-spline consists of control points and nodes, defined as ,in, ,at this time, , , …, For a given control point, , , …, For the node.

[0089] The preset pattern is changed by optimizing the spline curve control points or moving the geometric parameters of the deformable component, and the sensitivity of the optimization target to the control point coordinates is obtained using the difference method. Based on the sensitivity of the optimization target to the control point coordinates, the MMA method or other gradient-based control point adjustment algorithm is used to optimize and minimize the difference between the preset pattern and the target pattern after deformation. Based on the control point adjustment algorithm, the spline curve control points are optimized to adjust the preset pattern, and the improved pattern is determined to control the molding of the final product.

[0090] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later.

[0091] In this embodiment, the product pattern optimization method includes steps S40 to S60: Figure 3 , Figure 3 This is a flow chart of the second embodiment of the product pattern optimization method of the present application.

[0092] Step S40, acquiring surface distortion and deformation feature information, and obtaining a target pattern based on the surface torque deformation feature information;

[0093] It should be noted that the surface distortion and deformation characteristic information reflects the characteristics of the surface distortion of the product during the molding process, and the surface distortion and deformation characteristic information includes but is not limited to changes in the directionality of the product surface, non-uniformity of the product surface distortion and deformation, and changes in the product surface distortion curvature.

[0094] It can be understood that the surface distortion and deformation characteristic information is the uneven deformation that occurs when the surface of an object is subjected to external force or changes in constraint conditions. This deformation will cause the relative position and direction between surface elements to change. Finite element simulation of the product forming process is performed. According to the distortion and deformation characteristics of the surface during the product forming process, by constructing a mapping relationship between the target pattern and the preset pattern, the preset pattern can be efficiently and directly reversed from the target pattern to ensure that the pattern after the preset pattern is distorted and deformed is close to the target pattern.

[0095] In addition, it should be noted that obtaining surface distortion and deformation characteristic information can accurately understand the deformation of the pattern of the product during the molding process. Simulation through finite element simulation software helps to obtain the distortion and deformation characteristic information of the product surface during the molding process, including high-temperature softening of the material, gas blowing and plastic molding, etc. After the simulation is completed, the simulation results are analyzed to extract the surface distortion and deformation characteristic information. The surface distortion and deformation characteristic information includes but is not limited to stress, strain, displacement and other information, which reflects the physical state of the product during the molding process. The surface distortion and deformation characteristic information is used to construct the target pattern.

[0096] In one embodiment, in order to facilitate the acquisition of surface distortion and deformation characteristic information and obtain a target pattern based on the surface torque deformation characteristic information, a processing device, such as a processing module, can be pre-set. The processing module can acquire the surface distortion and deformation characteristic information, obtain the target pattern based on the surface torque deformation characteristic information, and perform subsequent processing based on the target pattern. The specific method of acquiring is not limited as long as it can achieve the acquisition of surface distortion and deformation characteristic information, such as a memory, a processor, etc.

[0097] In a specific implementation, the processing device is in a normally closed state. If at a certain moment, the processing device obtains surface distortion and deformation feature information, obtains a target pattern based on the surface torque deformation feature information, and performs subsequent processing based on the target pattern.

[0098] For ease of understanding, the example of obtaining surface distortion and deformation feature information is used for explanation, wherein the information acquisition device is the information acquisition module, the storage device is the memory, and the processing device is the processing module.

[0099] The information acquisition module acquires the surface distortion and deformation feature information and stores it in the memory, and the processing module obtains the target pattern based on the surface torque deformation feature information and performs subsequent processing based on the target pattern.

[0100] Step S50, obtaining a spline curve, and obtaining a spline curve control point based on the spline curve, wherein the spline curve includes an interpolation spline and a fitting spline;

[0101] It should be noted that the spline curve reflects the feature of connecting the control points of the pattern, the interpolation spline is a curve or surface strictly defined by a series of given data points, and the main goal of the interpolation spline is to find a continuous function that has a value that is completely consistent with the given data at each data point, such as the interpolation spline is a Bezier curve, B-spline, linear interpolation spline, NURBS curve, and the fitting spline constructs an approximate curve or surface through a series of data points. Unlike the interpolation spline, the fitting spline does not require the curve to strictly pass through each data point, but attempts to provide a smooth and approximate representation on the entire data set, such as the fitting spline is a B-spline, non-uniform rational B-spline, polynomial fitting spline, NURBS curve.

[0102] It can be understood that the spline curve can accurately simulate the outline and shape of the pattern, and the spline curve control points are the key to adjusting the shape of the spline curve. The corresponding calculation method can be obtained based on the spline curve, and the key point set of the spline curve includes vertices, nodes and control points. The spline curve is constructed based on the key point set of the spline curve, which determines the shape and smoothness of the curve. After the spline curve is generated by the corresponding calculation method of the key point set of the spline curve, the spline curve control points are extracted. The precise position and number of the spline curve control points directly affect the final shape of the improved pattern.

[0103] In one embodiment, in order to facilitate the acquisition of a spline curve and obtain the spline curve control points based on the spline curve, a processing device, such as a processing module, can be pre-set. The processing module can acquire the spline curve and obtain the spline curve control points based on the spline curve. The specific method of acquiring is not limited as long as the spline curve can be acquired, such as a memory, a processor, etc.

[0104] In a specific implementation, the processing device is in a normally closed state. If at a certain moment, the processing device obtains a spline curve, obtains a spline curve control point based on the spline curve, and performs subsequent processing based on the spline curve control point.

[0105] For ease of understanding, the acquisition of a spline curve is taken as an example for explanation, wherein the information acquisition device is the information acquisition module, the storage device is the memory, and the processing device is the processing module.

[0106] The information acquisition module acquires the target pattern, the spline curve control points and the control point adjustment algorithm and stores them in the memory, calculates the projection of the sampling points on the target pattern on the deformed finite element mesh based on the sampling points in the target pattern, obtains the natural coordinates, obtains the preset pattern sampling points according to the isoparametric transformation of the finite element isoparametric unit, connects the preset pattern sampling points to obtain the preset pattern, and obtains the spline curve.

[0107] If the spline curve is a Bezier curve, which consists of vertices and control points, get the definition of the n-order Bezier curve. .

[0108] If the spline curve is a B-spline, which consists of control points and nodes, get the definition of the k-th degree B-spline curve. .

[0109] in It is called the k-order B-spline basis function, and the recursive formula is as follows:

[0110] .

[0111] .

[0112] If the spline curve is a non-uniform rational B-spline, the non-uniform rational B-spline consists of control points and nodes, defined as ,in, .

[0113] A spline curve control point is obtained based on the spline curve, and subsequent processing is performed based on the spline curve control point.

[0114] Step S60, determining optimization target sensitivity information based on the spline curve control points, and obtaining a control point adjustment algorithm based on the optimization target sensitivity information, wherein the control point adjustment algorithm includes an MMA method and a gradient algorithm.

[0115] It should be noted that the optimization target sensitivity information reflects the characteristics of the sensitivity of the optimization target to the control point coordinates obtained by the calculation method.

[0116] It can be understood that the optimization target sensitivity information reflects the influence of slight changes in the control points on the pattern deformation. The differential equation numerical calculation method is used to solve the differential equation related to the spline curve, and the optimization target sensitivity information is obtained based on the differential equation numerical calculation method and the spline curve control points. After obtaining the optimization target sensitivity information, the optimization objective function is defined. The objective function reflects the difference between the preset pattern and the target pattern, and the goal of the control point adjustment algorithm is to minimize the value of this function. Based on the optimization objective function and the sensitivity information of the control points, a suitable control point adjustment algorithm is selected, such as the improved Monte Carlo method and the gradient algorithm. After selecting the suitable control point adjustment algorithm, the algorithm is executed to optimize the spline curve control points, thereby adjusting the preset pattern and obtaining the improved pattern to control the molding of the final product.

[0117] In one embodiment, in order to facilitate determining the optimization target sensitivity information based on the spline curve control points and obtaining the control point adjustment algorithm based on the optimization target sensitivity information, a processing device, such as a processing module, can be pre-set. The processing module can determine the optimization target sensitivity information based on the spline curve control points and obtain the control point adjustment algorithm based on the optimization target sensitivity information, wherein the specific method of obtaining is not limited as long as the spline curve control points can be obtained, such as a memory, a processor, etc.

[0118] During specific implementation, the processing device is in a normally closed state. If at a certain moment, the processing device obtains the spline curve control point, determines the optimization target sensitivity information based on the spline curve control point, obtains the control point adjustment algorithm based on the optimization target sensitivity information, and performs subsequent processing based on the control point adjustment algorithm.

[0119] For ease of understanding, the acquisition of spline curve control points is taken as an example for explanation, wherein the information acquisition device is the information acquisition module, the storage device is the memory, and the processing device is the processing module.

[0120] The information acquisition module acquires the control points of the spline curve and stores them in the memory, adopts the differential equation numerical calculation method to solve the differential equation related to the spline curve, obtains the optimization target sensitivity information based on the differential equation numerical calculation method and the spline curve control points, and after obtaining the optimization target sensitivity information, defines the optimization objective function, which reflects the difference between the preset pattern and the target pattern, and the goal of the control point adjustment algorithm is to minimize the value of this function, and selects a suitable control point adjustment algorithm based on the optimization objective function and the sensitivity information of the control points, such as the improved Monte Carlo method and the gradient algorithm. After selecting the suitable control point adjustment algorithm, execute the algorithm to optimize the spline curve control points, thereby adjusting the preset pattern and obtaining the improved pattern to control the molding of the final product.

[0121] Based on the first and second embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned embodiments one and two can be referred to the above introduction and will not be repeated later.

[0122] In this embodiment, the product pattern optimization method includes steps S70 to S80: Figure 4 , Figure 4 This is a flow chart of the third embodiment of the product pattern optimization method of the present application.

[0123] Step S70, obtaining a distance function, calculating a target pattern deformation projection point based on the distance function and sampling points in the target pattern, and determining a natural coordinate based on the target pattern deformation projection point;

[0124] It should be noted that the distance function reflects the characteristics of the mapping relationship between the target pattern and the preset pattern.

[0125] It is understandable that the distance function reflects the difference between the sampling points on the target pattern and the sampling points of the preset pattern. This distance function can be Euclidean distance, Manhattan distance, Chebyshev distance, etc. Based on the distance function, the sampling points in the target pattern are projected to the corresponding positions of the preset pattern to form deformed projection points, so that the deformation of the preset pattern after the product molding process can be as close to the target pattern as possible. Based on the deformed projection points, the natural coordinates can be further calculated.

[0126] In addition, it should be noted that the natural coordinate is a coordinate feature that describes the position of the sampling point after deformation. The natural coordinate is used to perform isoparametric transformation of the finite element isoparametric unit to obtain the undeformed coordinates of the preset pattern.

[0127] For ease of understanding, the distance function is taken as an example for explanation, wherein the information collection device is the information collection module, the storage device is the memory, and the processing device is the processing module.

[0128] The information collection module obtains the distance function, such as the distance function is , the target pattern deformation projection point is calculated based on the distance function and the sampling points in the target pattern. At this time, the projection point P The minimum value of the above formula is obtained, and the natural coordinates are obtained based on the deformation projection points of the target pattern.

[0129] The natural coordinates at this time .

[0130] The natural coordinates are stored in a memory, and subsequent processing is performed based on the natural coordinates.

[0131] Step S80 , performing parameter transformation of a finite element homogeneous unit based on the natural coordinates, determining undeformed coordinates of a preset pattern, and using the undeformed coordinates of the preset pattern as sampling points of the preset pattern.

[0132] It should be noted that the undeformed coordinates of the preset pattern reflect the characteristics of the local coordinates in the natural coordinate system.

[0133] It can be understood that the isoparametric transformation method of the finite element isoparametric unit is a mathematical means, which can establish a one-to-one correspondence between different coordinate systems, thereby maintaining the invariance of the geometric shape. Through this transformation, the target pattern can be reversed to solve the preset pattern. After obtaining these undeformed coordinates, the undeformed coordinates are used as sampling points of the preset pattern.

[0134] For ease of understanding, the description is given by taking the sampling points of a preset pattern as an example, wherein the information acquisition device is an information acquisition module, the storage device is a memory, and the processing device is a processing module.

[0135] The information acquisition module acquires natural coordinates, obtains preset pattern sampling points according to isoparametric transformation of finite element isoparametric units, connects the preset pattern sampling points to acquire a preset pattern, and performs subsequent processing based on the preset pattern.

[0136] After obtaining the natural coordinates, the Newton-Raphson iteration is used to calculate the projection point P Local coordinates in the natural coordinate system : .

[0137] At this time, the local coordinates of the projection point That is, the preset pattern sampling points are connected to obtain the preset pattern.

[0138] Based on the first to third embodiments of the present application, in the fourth embodiment of the present application, the same or similar contents as those of the above-mentioned embodiments one to three can be referred to the above introduction and will not be repeated later.

[0139] In this embodiment, the product pattern optimization method includes steps S90 to S100: Figure 5 , Figure 5 This is a flow chart of the fourth embodiment of the product pattern optimization method of the present application.

[0140] Step S90, optimizing the spline curve control points based on the control point adjustment algorithm to determine improved spline curve control points;

[0141] It should be noted that the improved spline curve control points reflect the characteristics of the improved control points obtained after optimization using the control point adjustment algorithm.

[0142] It is understandable that by selecting a suitable control point adjustment algorithm, such as the MMA method or the gradient descent algorithm, to optimize the control points of the spline curve, the control point adjustment algorithm can adjust the sampling points of the preset pattern to minimize the difference between the preset pattern and the target pattern, and finally generate an improved pattern.

[0143] For ease of understanding, the improved spline curve control points are obtained for illustration, wherein the information acquisition device is an information acquisition module, the storage device is a memory, and the processing device is a processing module.

[0144] The information acquisition module acquires the spline curve control points and the control point adjustment algorithm and stores them in the memory, optimizes the spline curve control points based on the control point adjustment algorithm to obtain improved spline curve control points, acquires the spline curve, changes the preset pattern by optimizing the spline curve control points or moving the geometric parameters of the deformable component, uses the difference method to obtain the sensitivity of the optimization target to the control point coordinates, obtains the MMA method or other gradient-based control point adjustment algorithm based on the sensitivity of the optimization target to the control point coordinates to minimize the difference between the preset pattern and the target pattern after deformation, optimizes the spline curve control points based on the control point adjustment algorithm to obtain improved spline curve control points, and performs subsequent processing based on the improved spline curve control points.

[0145] Step S100, adjusting a preset pattern based on the improved spline curve control points to obtain an improved pattern to control the molding of a final product.

[0146] It should be noted that the improved pattern reflects the characteristics of the optimized pattern that meets the expectations.

[0147] It can be understood that the preset pattern is adjusted using the improved spline curve control points, and the optimized improved spline curve control points are applied to the preset pattern to minimize the difference between the preset pattern and the target pattern, generating a final improved pattern, which can more accurately reflect the target pattern. At the same time, taking into account the distortion and deformation that may occur during the product molding process, calculation examples are performed to verify the visual effect, dimensional accuracy and deformation consistency of the pattern to ensure that it meets the design requirements and technical standards in the molding process. The verified improved pattern is applied to the product molding process, thereby forming a general solution for the design of preset patterns in the product molding process to guide engineering applications.

[0148] For ease of understanding, an improved pattern is used for illustration, wherein the information collection device is an information collection module, the storage device is a memory, and the processing device is a processing module.

[0149] The information acquisition module acquires the spline curve control points and the control point adjustment algorithm and stores them in the memory, optimizes the spline curve control points based on the control point adjustment algorithm to obtain improved spline curve control points, acquires the spline curve, changes the preset pattern by optimizing the spline curve control points or moving the geometric parameters of the deformable component, uses the difference method to obtain the sensitivity of the optimization target to the control point coordinates, obtains the MMA method or other gradient-based control point adjustment algorithm based on the sensitivity of the optimization target to the control point coordinates to minimize the difference between the preset pattern and the target pattern after deformation, optimizes the spline curve control points based on the control point adjustment algorithm to obtain improved spline curve control points, adjusts the preset pattern based on the improved spline curve control points, and obtains the improved pattern to control the molding of the final product.

[0150] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the product pattern optimization method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0151] This application also provides a product pattern optimization device, please refer to Figure 6 , the product pattern optimization device comprises:

[0152] An acquisition module 10, used to acquire a target pattern, spline curve control points and a control point adjustment algorithm;

[0153] A processing module 20, configured to calculate natural coordinates based on sampling points in the target pattern to obtain preset pattern sampling points, and connect the preset pattern sampling points to determine a preset pattern;

[0154] The execution module 30 is used to optimize the preset pattern of spline curve control point adjustment based on the control point adjustment algorithm, and determine an improved pattern to control the molding of the final product.

[0155] The product pattern optimization device provided by the present application adopts the product pattern optimization method in the above embodiment, which can solve the technical problem of pattern distortion during product molding. Compared with the prior art, the beneficial effects of the product pattern optimization device provided by the present application are the same as the beneficial effects of the product pattern optimization method provided by the above embodiment, and the other technical features in the product pattern optimization device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0156] The present application provides a product pattern optimization device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the product pattern optimization method in the above-mentioned embodiment one.

[0157] Reference below Figure 7 , which shows a schematic diagram of the structure of a product pattern optimization device suitable for implementing the embodiment of the present application. The product pattern optimization device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The product pattern optimization device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0158] like Figure 7 As shown, the product pattern optimization device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the product pattern optimization device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the product pattern optimization device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a product pattern optimization device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0159] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0160] The product pattern optimization device provided by the present application adopts the product pattern optimization method in the above embodiment, which can solve the technical problem of pattern distortion and deformation during product molding. Compared with the prior art, the beneficial effects of the product pattern optimization device provided by the present application are the same as the beneficial effects of the product pattern optimization method provided by the above embodiment, and the other technical features in the product pattern optimization device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0161] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0162] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0163] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the product pattern optimization method in the above-mentioned embodiment.

[0164] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0165] The computer-readable storage medium may be included in the product pattern optimization device; or may exist independently without being assembled into the product pattern optimization device.

[0166] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the product pattern optimization device, the product pattern optimization device: obtains a target pattern, spline curve control points and a control point adjustment algorithm; calculates natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, connects the preset pattern sampling points to determine a preset pattern; optimizes the spline curve control points based on the control point adjustment algorithm to adjust the preset pattern, and determines an improved pattern to control the final product molding.

[0167] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0168] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0169] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0170] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned product pattern optimization method, and can solve the technical problem of pattern distortion during product molding. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the product pattern optimization method provided in the above-mentioned embodiment, and will not be repeated here.

[0171] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the product pattern optimization method as described above are implemented.

[0172] The computer program product provided by this application can solve the technical problem of pattern distortion during product molding. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the product pattern optimization method provided by the above embodiment, which will not be repeated here.

[0173] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A product pattern optimization method, characterized in that: The method includes: Obtaining target pattern, spline curve control points and control point adjustment algorithm; Calculating natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, and connecting the preset pattern sampling points to determine a preset pattern; Optimizing the spline curve control point adjustment preset pattern based on the control point adjustment algorithm, and determining an improved pattern to control the final product molding; The step of calculating the natural coordinates based on the sampling points in the target pattern to obtain the preset pattern sampling points comprises: Acquire a distance function, calculate a target pattern deformation projection point based on the distance function and sampling points in the target pattern, and determine a natural coordinate based on the target pattern deformation projection point; Perform parameter transformation of a finite element homogeneous unit based on the natural coordinates to determine undeformed coordinates of a preset pattern, and use the undeformed coordinates of the preset pattern as sampling points of the preset pattern; The step of optimizing the spline curve control point adjustment preset pattern based on the control point adjustment algorithm and determining the improved pattern to control the molding of the final product comprises: Optimizing the spline curve control points based on the control point adjustment algorithm to determine improved spline curve control points; The preset pattern is adjusted based on the improved spline curve control points to obtain an improved pattern to control the final product molding.

2. The method according to claim 1, characterized in that The steps of obtaining the target pattern, the spline curve control points and the control point adjustment algorithm include: Acquiring surface distortion and deformation feature information, and obtaining a target pattern based on the surface torque deformation feature information; Acquire a spline curve, and obtain spline curve control points based on the spline curve, wherein the spline curve includes an interpolation spline and a fitting spline; The optimization target sensitivity information is determined based on the spline curve control points, and a control point adjustment algorithm is obtained based on the optimization target sensitivity information. The control point adjustment algorithm includes an MMA method and a gradient algorithm.

3. The method according to claim 2, characterized in that The step of obtaining the spline curve control points based on the spline curve comprises: Obtaining a spline curve calculation method, wherein the spline curve calculation method includes a Bezier curve calculation method, a B-spline calculation method, and a non-uniform rational B-spline calculation method; Based on the spline curve calculation method and the spline curve calculation key point set, the key point set includes vertices, nodes and control points; The spline curve control points are obtained based on the key point set.

4. The method according to claim 2, characterized in that The step of obtaining optimized target sensitivity information based on the spline curve control points comprises: Get numerical methods for differential equations; Based on the differential numerical calculation method and the spline curve control points, the optimized target sensitivity information is obtained.

5. A product pattern optimization device, characterized in that: The device comprises: An acquisition module, used for acquiring a target pattern, spline curve control points and a control point adjustment algorithm; A processing module, configured to calculate natural coordinates based on the sampling points in the target pattern to obtain preset pattern sampling points, and connect the preset pattern sampling points to determine a preset pattern; An execution module, configured to optimize the spline curve control point adjustment preset pattern based on the control point adjustment algorithm, and determine an improved pattern to control the molding of a final product; The processing module is further used to obtain a distance function, calculate a target pattern deformation projection point based on the distance function and sampling points in the target pattern, and determine a natural coordinate based on the target pattern deformation projection point; Perform parameter transformation of a finite element homogeneous unit based on the natural coordinates to determine undeformed coordinates of a preset pattern, and use the undeformed coordinates of the preset pattern as sampling points of the preset pattern; The execution module is further used to optimize the spline curve control points based on the control point adjustment algorithm to determine the improved spline curve control points; The preset pattern is adjusted based on the improved spline curve control points to obtain an improved pattern to control the final product molding.

6. A product pattern optimization device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the product pattern optimization method according to any one of claims 1 to 4.

7. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the product pattern optimization method according to any one of claims 1 to 4 are implemented.

8. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the product pattern optimization method according to any one of claims 1 to 4 are implemented.