Physical simulation parameter optimization method based on cloud rendering

By building a convolutional neural network optimization model in cloud rendering technology and utilizing distributed computing to automatically optimize physical simulation parameters, it solves the problems of slow processing speed and limited computing resources in traditional methods, and achieves efficient and automated optimization of physical simulation parameters. , significantly improving the quality and efficiency of rendering tasks.

CN118736040APending Publication Date: 2024-10-01SHENZHEN RENDERBUS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410794980.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional physical simulation parameter optimization methods have problems such as slow processing speed and limited computing resources. As a result, the physical simulation parameters of the rendering task require multiple trials and adjustments to achieve the best results.

Method used

Adopt a physical simulation parameter optimization method based on cloud rendering, collect user historical data, build a convolutional neural network optimization model, use the distributed computing technology of the cloud computing platform to search and optimize parameter combinations, automate and iterate the optimization process, improve efficiency and speed.

Benefits of technology

It realizes an automated, efficient and scalable physical simulation parameter optimization process, greatly shortens the optimization time, improves the effect and quality of rendering tasks, and is suitable for large-scale and complex physical scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736040A_ABST
    Figure CN118736040A_ABST
Patent Text Reader

Abstract

The invention discloses a physical simulation parameter optimization method based on cloud rendering. The method comprises the following steps: S1, collecting physical simulation parameters of a rendering task; s2, constructing an optimization model; s3, performing parameter optimization by using a cloud computing platform; s4, applying an optimization result; and generating a new physical simulation parameter combination according to a parameter optimization result, and applying the new physical simulation parameter combination to the rendering task. According to the method, the automatic, efficient and extensible physical simulation parameter optimization process is realized by utilizing the cloud computing platform and the optimization model. According to the method, the time for optimizing the physical simulation parameters can be greatly shortened, and the effect and the quality of the rendering task are improved. Meanwhile, the method can also be suitable for large-scale rendering tasks and complex physical scenes, and has wide application prospects and commercial value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud rendering technology, and in particular to a physical simulation parameter optimization method based on cloud rendering. Background Art

[0002] Cloud rendering technology provides users with efficient and flexible image rendering services. However, in the field of physical simulation, the physical simulation parameters of rendering tasks often require multiple trials and adjustments to achieve the best results. Traditional physical simulation parameter optimization methods have problems such as slow processing speed and limited computing resources.

[0003] Therefore, the prior art has defects and needs to be improved. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a physical simulation parameter optimization method based on cloud rendering, which realizes an automated, efficient and scalable physical simulation parameter optimization process.

[0005] The technical solution of the present invention is as follows: a physical simulation parameter optimization method based on cloud rendering is provided, comprising the following steps.

[0006] S1: Collecting physical simulation parameters of rendering tasks; that is, extracting the optimal physical simulation parameters set by the user from the rendering tasks submitted by the user in the past;

[0007] S2: Construct an optimization model; that is, based on the collected physical simulation parameter data, use a convolutional neural network to construct an optimization model. After the optimization model is trained with a large amount of data, the optimization model can predict the best physical simulation parameter combination based on the gradient boosting decision number algorithm.

[0008] S3: Use cloud computing platform for parameter optimization; that is, deploy the optimization model to the cloud rendering system, and use the cloud computing platform to search and optimize parameter combinations; use the distributed computing technology of the cloud rendering system to decompose the physical simulation parameter optimization task into multiple subtasks, perform calculations simultaneously on multiple computing nodes, and communicate and exchange data through the network to improve the efficiency and speed of the optimization process.

[0009] S4: Apply the optimization results; generate a new physical simulation parameter combination based on the parameter optimization results, apply it to the rendering task, obtain the rendering results and record them; evaluate based on the actual rendering results, and compare the rendering effect and quality before and after the optimization results; if the rendering results are improved and optimized by using the optimized parameter combination, continue to iterate and tune, that is, further optimize the parameter combination, and repeat steps S1-S4.

[0010] Furthermore, in step S1, the physical simulation parameters include: gravity, friction, and elasticity.

[0011] Furthermore, the specific steps of step S2 are as follows: S21: feature extraction and data preprocessing. For the quality parameters of the object, its value range and statistical features such as mean and variance can be extracted, and the discrete quality levels can be represented by encoding them as virtual variables. S22: optimization model architecture design. Based on the collected physical simulation parameter data and preprocessed features, a convolutional neural network (CNN) model is constructed, using a common CNN architecture and designed according to the prediction objectives and specific problems. S23: the prepared data set is divided into a training set and a validation set, and cross-validation and other techniques are used to evaluate the performance of the optimization model; the optimization model is trained using the training set, and the optimization model is tuned based on the results of the validation set. S24: the performance of the trained optimization model is evaluated using the test set; the difference between the physical simulation parameter combination predicted by the optimization model and the actual result is compared to evaluate the accuracy and stability of the optimization model; according to the evaluation results, the optimization model can be further tuned. Tuning refers to adjusting and optimizing the optimization model.

[0012] Furthermore, the data preprocessing includes normalization and smoothing operations to ensure the stability and accuracy of model training.

[0013] Furthermore, in step S3, the distributed computing technology of the cloud rendering system is used to decompose the physical simulation parameter optimization task into multiple subtasks, which are calculated simultaneously on multiple computing nodes, and communicate and exchange data through the network to improve the efficiency and speed of the optimization process.

[0014] Furthermore, the specific steps of step S3 are as follows: S31: deploy the optimization model, deploy the trained optimization model to the cloud rendering system; create a virtual machine instance or container on the cloud rendering system to carry the optimization model, ensure that the optimization model is ready to run in the cloud environment, and communicate with other components and services; S32: divide the physical simulation parameter optimization task into multiple subtasks; according to the complexity of the physical simulation parameter optimization task and the availability of the cloud computing platform, use a genetic algorithm or a particle swarm optimization algorithm to divide the parameter space into multiple subspaces, each subspace is a parameter combination set, representing a subtask; S33: in the cloud rendering system, use distributed computing technology to assign subtasks to different computing nodes; each computing node uses the cloud computing platform to perform physical simulation parameter optimization calculations; nodes communicate and exchange data through the network to share information such as parameters and results; a message passing interface (MessagePassing S34: In the cloud rendering system, use task scheduling algorithm and resource management algorithm to schedule and allocate resources to different computing nodes; determine the execution order of tasks and resource allocation method according to the available resources and task priority of each computing node to improve task processing efficiency and overall performance; S35: After all subtasks are calculated, collect and merge the optimization results; in the cloud rendering system, summarize and integrate the optimization results of each computing node; perform data analysis and result evaluation based on the obtained optimization results; compare the results of each subtask to find the best combination of physical simulation parameters.

[0015] Furthermore, the specific steps of step S4 are: S41: according to the optimization result, use the generation algorithm to generate a new physical simulation parameter combination; S42: apply the generated new physical simulation parameter combination to the rendering task; according to the actual situation, apply the new physical simulation parameter combination to the relevant physical simulation engine or software platform; S43: according to the optimized parameter combination, execute the rendering task and generate the rendering result; compare the rendering effect and quality before and after the optimization result, and evaluate the result; S44: according to the evaluation result of the rendering effect, iterate and tune; if the rendering effect is further improved, continue to optimize the parameter combination and repeat the previous steps S1-S4; S45: record and store the parameter combination generated after each optimization and its corresponding rendering result.

[0016] Furthermore, in step S41, a new combination is generated according to the optimal parameter value obtained by optimization, or a new random combination is generated according to the probability distribution of the parameters; ensuring that the generated parameter combination contains the optimal parameter value in the optimization result set and other possible valid parameter combinations; in step S43, visualization tools and image quality indicator PSNR evaluation indicators are used to analyze the degree of improvement of the optimization results.

[0017] Furthermore, in step S44, the parameter combination is continuously optimized by trying different parameter combinations and adjustment strategies to obtain a more satisfactory rendering effect.

[0018] Furthermore, in step S45, a database of parameter combinations and rendering effects is established to facilitate the management and tracking of differences and changes in different optimization results.

[0019] Compared with the existing technical solutions, the present invention has the following technical effects:

[0020] 1. By utilizing cloud computing resources and optimization models, an automated, efficient, and scalable physical simulation parameter optimization process is achieved.

[0021] 2. Greatly shorten the time of physical simulation parameter optimization and improve the effect and quality of rendering tasks.

[0022] 3. Applicable to large-scale rendering tasks and complex physical scenes.

[0023] By adopting the above scheme, the present invention provides a physical simulation parameter optimization method based on cloud rendering, which realizes an automated, efficient and scalable physical simulation parameter optimization process by utilizing a cloud computing platform and an optimization model. The method of the present invention can significantly shorten the time of physical simulation parameter optimization and improve the effect and quality of rendering tasks. At the same time, the method of the present invention can also be applied to large-scale rendering tasks and complex physical scenes, and has broad application prospects and commercial value. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a structural schematic diagram of the present invention. DETAILED DESCRIPTION

[0025] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] See also Figure 1 ,The present invention provides a physical simulation parameter optimization method based on cloud rendering, comprising the following steps.

[0027] S1: Collecting physical simulation parameters of rendering tasks; that is, extracting the optimal physical simulation parameters set by the user from the rendering tasks submitted by the user in the past;

[0028] S2: Construct an optimization model; that is, based on the collected physical simulation parameter data, use a convolutional neural network to construct an optimization model. After the optimization model is trained with a large amount of data, the optimization model can predict the best physical simulation parameter combination based on the gradient boosting decision number algorithm.

[0029] S3: Use cloud computing platform for parameter optimization; that is, deploy the optimization model to the cloud rendering system, and use the cloud computing platform to search and optimize parameter combinations; use the distributed computing technology of the cloud rendering system to decompose the physical simulation parameter optimization task into multiple subtasks, perform calculations simultaneously on multiple computing nodes, and communicate and exchange data through the network to improve the efficiency and speed of the optimization process.

[0030] S4: Apply the optimization results; generate a new physical simulation parameter combination based on the parameter optimization results, apply it to the rendering task, obtain the rendering results and record them; evaluate based on the actual rendering results, and compare the rendering effect and quality before and after the optimization results; if the rendering results are improved and optimized by using the optimized parameter combination, continue to iterate and tune, that is, further optimize the parameter combination, and repeat steps S1-S4.

[0031] In this embodiment, in step S1, the physical simulation parameters include: gravity, friction, and elasticity.

[0032] In this embodiment, the specific steps of step S2 are: S21: feature extraction and data preprocessing. For the quality parameters of the object, its value range and statistical features such as mean and variance can be extracted, and the discrete quality level can be represented by encoding them as virtual variables. S22: optimization model architecture design. Based on the collected physical simulation parameter data and preprocessed features, a convolutional neural network (CNN) model is constructed, using a common CNN architecture and designed according to the prediction objectives and specific problems. S23: the prepared data set is divided into a training set and a validation set, and cross-validation and other techniques are used to evaluate the performance of the optimization model; the optimization model is trained using the training set, and the optimization model is tuned based on the results of the validation set. S24: the performance of the trained optimization model is evaluated using the test set; the difference between the physical simulation parameter combination predicted by the optimization model and the actual result is compared to evaluate the accuracy and stability of the optimization model; according to the evaluation results, the optimization model can be further tuned. Tuning refers to adjusting and optimizing the optimization model.

[0033] In this embodiment, the data preprocessing includes normalization and smoothing operations to ensure the stability and accuracy of model training.

[0034] In this embodiment, in step S3, the distributed computing technology of the cloud rendering system is used to decompose the physical simulation parameter optimization task into multiple subtasks, and calculations are performed simultaneously on multiple computing nodes. Communication and data exchange are performed through the network to improve the efficiency and speed of the optimization process.

[0035] In this embodiment, the specific steps of step S3 are: S31: deploy the optimization model, deploy the trained optimization model to the cloud rendering system; create a virtual machine instance or container on the cloud rendering system to carry the optimization model, ensure that the optimization model is ready to run in the cloud environment, and communicate with other components and services; S32: divide the physical simulation parameter optimization task into multiple subtasks; according to the complexity of the physical simulation parameter optimization task and the availability of the cloud computing platform, use a genetic algorithm or a particle swarm optimization algorithm to divide the parameter space into multiple subspaces, each subspace is a parameter combination set, representing a subtask; S33: in the cloud rendering system, use distributed computing technology to assign subtasks to different computing nodes; each computing node uses the cloud computing platform to perform physical simulation parameter optimization calculations; nodes communicate and exchange data through the network to share information such as parameters and results; a message passing interface can be used. S34: In the cloud rendering system, use task scheduling algorithm and resource management algorithm to schedule and allocate resources to different computing nodes; determine the execution order of tasks and resource allocation method according to the available resources and task priority of each computing node to improve task processing efficiency and overall performance; S35: After all subtasks are calculated, collect and merge the optimization results; in the cloud rendering system, summarize and integrate the optimization results of each computing node; perform data analysis and result evaluation based on the obtained optimization results; compare the results of each subtask to find the best combination of physical simulation parameters.

[0036] In this embodiment, the specific steps of step S4 are: S41: according to the optimization result, use the generation algorithm to generate a new physical simulation parameter combination; S42: apply the generated new physical simulation parameter combination to the rendering task; according to the actual situation, apply the new physical simulation parameter combination to the relevant physical simulation engine or software platform; S43: according to the optimized parameter combination, execute the rendering task and generate the rendering result; compare the rendering effect and quality before and after the optimization result, and evaluate the result; S44: according to the evaluation result of the rendering effect, iterate and tune; if the rendering effect is further improved, continue to optimize the parameter combination and repeat the previous steps S1-S4; S45: record and store the parameter combination generated after each optimization and its corresponding rendering result.

[0037] In step S41, a new combination is generated according to the best parameter value obtained by optimization, or a new random combination is generated according to the probability distribution of the parameters; it is ensured that the generated parameter combination contains the best parameter value in the optimization result set and other possible valid parameter combinations; in step S43, the degree of improvement of the optimization result is analyzed using visualization tools and the image quality indicator PSNR evaluation indicator.

[0038] In this embodiment, in step S44, continuing to optimize the parameter combination is to obtain a more satisfactory rendering effect by trying different parameter combinations and adjustment strategies.

[0039] In this embodiment, in step S45, a database of parameter combinations and rendering effects is established to facilitate the management and tracking of differences and changes in different optimization results.

[0040] In summary, the present invention provides a physical simulation parameter optimization method based on cloud rendering, which realizes an automated, efficient, and scalable physical simulation parameter optimization process by utilizing a cloud computing platform and an optimization model. The method can significantly shorten the time for physical simulation parameter optimization and improve the effect and quality of rendering tasks. At the same time, the method can also be applied to large-scale rendering tasks and complex physical scenes, and has broad application prospects and commercial value.

[0041] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A physical simulation parameter optimization method based on cloud rendering, characterized in that: The following steps are involved: S1: Collecting physical simulation parameters of rendering tasks; that is, extracting the optimal physical simulation parameters set by the user from the rendering tasks submitted by the user in the past; S2: Building an optimization model; that is, building an optimization model using a convolutional neural network based on the collected physical simulation parameter data; after the optimization model is trained with a large amount of data, the optimization model can predict the best physical simulation parameter combination based on a gradient boosting decision number algorithm; S3: Use cloud computing platform for parameter optimization; that is, deploy the optimization model to the cloud rendering system, and use the cloud computing platform to search and optimize parameter combinations; S4: Application optimization results; Generate a new physical simulation parameter combination based on the results of parameter optimization, apply it to the rendering task, obtain the rendering results and record them; 2. The method for optimizing physical simulation parameters based on cloud rendering according to claim 1, characterized in that: In step S1, the physical simulation parameters include: gravity, friction, and elasticity.

3. The method for optimizing physical simulation parameters based on cloud rendering according to claim 1, characterized in that: The specific steps of step S2 are: S21: Feature extraction and data preprocessing. For the quality parameters of an object, its value range and statistical characteristics such as mean and variance can be extracted and encoded as dummy variables to represent discrete quality levels. S22: Optimize the model architecture design and build a convolutional neural network model based on the collected physical simulation parameter data and preprocessed features; S23: Divide the prepared data set into a training set and a validation set, and use cross-validation technology to evaluate the performance of the model; use the training set to train and optimize the model, and tune the model based on the results of the validation set; S24: Use the test set to evaluate the performance of the trained optimization model; compare the differences between the physical simulation parameter combinations predicted by the optimization model and the actual results, and evaluate the accuracy and stability of the optimization model; based on the evaluation results, the optimization model can be further tuned.

4. The method for optimizing physical simulation parameters based on cloud rendering according to claim 3, characterized in that: The data preprocessing includes normalization and smoothing operations.

5. The method for optimizing physical simulation parameters based on cloud rendering according to claim 1, characterized in that: In step S3, the distributed computing technology of the cloud rendering system is used to decompose the physical simulation parameter optimization task into multiple subtasks, which are calculated simultaneously on multiple computing nodes, and communicate and exchange data through the network.

6. The method for optimizing physical simulation parameters based on cloud rendering according to claim 1, characterized in that: The specific steps of step S3 are: S31: Deploy the optimization model. Deploy the trained optimization model to the cloud rendering system. Create a virtual machine instance or container on the cloud rendering system to host the optimization model, ensuring that the optimization model is ready to run in the cloud environment and communicate with other components and services. S32: dividing the physical simulation parameter optimization task into a plurality of subtasks; according to the complexity of the physical simulation parameter optimization task and the availability of the cloud computing platform, using a genetic algorithm or a particle swarm optimization algorithm to divide the parameter space into a plurality of subspaces, each subspace being a parameter combination set and representing a subtask; S33: In the cloud rendering system, distributed computing technology is used to assign subtasks to different computing nodes; each computing node uses the cloud computing platform to perform physical simulation parameter optimization calculations; the nodes communicate and exchange data through the network to share parameters and result information; S34: In the cloud rendering system, use task scheduling algorithms and resource management algorithms to schedule and allocate resources to different computing nodes; determine the execution order of tasks and resource allocation methods based on the available resources and task priorities of each computing node to improve task processing efficiency and overall performance; S35: After all subtasks have completed calculation, the optimization results are collected and merged; in the cloud rendering system, the optimization results of each computing node are summarized and integrated; Based on the optimization results obtained, data analysis and result evaluation are performed; the results of each subtask are compared to find the best combination of physical simulation parameters.

7. The method for optimizing physical simulation parameters based on cloud rendering according to claim 1, characterized in that: The step S4 also includes: evaluating according to the actual rendering results, comparing the rendering effects and qualities before and after the optimization results; if the rendering results are improved and optimized by using the optimized parameter combination, continuing to iterate and tune, that is, further optimizing the parameter combination, and repeating steps S1-S4.

8. The method for optimizing physical simulation parameters based on cloud rendering according to claim 7, characterized in that: The specific steps of step S4 are: S41: Generate a new physical simulation parameter combination using a generation algorithm according to the optimization result; S42: applying the generated new physical simulation parameter combination to the rendering task; S43: Execute the rendering task and generate a rendering result according to the parameter combination optimized by the application; Compare the rendering effects and quality before and after the optimization results to evaluate the results; S44: performing iteration and tuning according to the evaluation result of the rendering effect; If the rendering effect is further improved, continue to optimize the parameter combination and repeat the previous steps S1-S4; S45: Record and store the parameter combination generated after each optimization and its corresponding rendering result.

9. The method for optimizing physical simulation parameters based on cloud rendering according to claim 7, characterized in that: In step S41, a new combination is generated according to the best parameter value obtained by optimization, or a new random combination is generated according to the probability distribution of the parameters; it is ensured that the generated parameter combination contains the best parameter value and other possible valid parameter combinations in the optimization result set; in step S43, the improvement degree of the optimization result is analyzed using visualization tools and image quality indicator PSNR evaluation indicator; in step S44, the parameter combination is continued to be optimized by trying different parameter combinations and adjustment strategies.

10. The method for optimizing physical simulation parameters based on cloud rendering according to claim 7, characterized in that: In step S45, a database of parameter combinations and rendering effects is established.