Intelligent environment-adaptive animation rendering optimization system
Through the intelligent environment adaptive animation rendering optimization system, the rendering preprocessing, execution, environment perception and strategy adjustment modules are used to solve the problem of traditional animation rendering ignoring environmental factors, realizing dynamic rendering strategy adjustment, and improving the stability and reliability of rendering sex.
Patent Information
- Application Number
- CN202411111834.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-08-14
AI Technical Summary
Traditional animation rendering methods ignore environmental factors, resulting in the rendering results that are inconsistent with the actual environment and cannot be adjusted in real time, making it difficult to ensure the accuracy and coherence of the rendering results, especially in complex scenarios, the computing volume and resource demand are increasing geometrically.
Provides an intelligent environment adaptive animation rendering optimization system, including rendering preprocessing module, rendering execution module, environment perception and configuration module and rendering strategy adjustment module, rendering layered maps through streaming updates from the top layer to the downward flow, real-time monitoring and evaluation Hardware environment, dynamically adjust the rendering strategy according to rendering effects and hardware environment changes.
It realizes intelligent dynamic optimization of the rendering process, ensures the accuracy and coherence of rendering results, avoids the decline or interruption of rendering quality caused by environmental changes or hardware limitations, and significantly improves the stability and reliability of animation rendering.
Smart Images

Figure CN118644588B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of computer graphics, and in particular to an intelligent environment adaptability animation rendering optimization system. Background Art
[0002] With the rapid development of computer graphics and the booming of industries such as virtual reality and games, animation rendering has become increasingly important in the creation of modern digital content, and its demand has also shown an explosive growth trend. As a key link in computer graphics, animation rendering aims to transform virtual three-dimensional scenes into realistic two-dimensional image sequences, bringing a vivid and immersive visual experience to the audience.
[0003] In today's digital entertainment field, whether it is an immersive virtual reality experience, a wonderful game world, or an engaging animated film, high-quality animation rendering is indispensable. However, animation rendering is an extremely complex and computationally intensive process, especially when faced with complex animation scenes, the amount of computing and resource requirements increase exponentially.
[0004] Traditional rendering methods often ignore the impact of environmental factors on animation rendering, resulting in rendering results that are inconsistent with the actual environment. It is difficult to adapt to these changes in real time and it is impossible to adjust rendering parameters in time to ensure the accuracy and consistency of rendering results. Therefore, it is necessary to provide an intelligent environment-adaptive animation rendering optimization system to solve the above technical problems. Summary of the invention
[0005] The present invention provides an intelligent environment-adaptive animation rendering optimization system, which solves the problems raised in the above-mentioned background technology.
[0006] In order to solve the above technical problems, the intelligent environment-adaptive animation rendering optimization system provided by the present invention includes a rendering preprocessing module, a rendering execution module, an environment perception and configuration module, a performance evaluation module and a rendering strategy adjustment module;
[0007] The rendering preprocessing module is used to receive the animation file to be rendered and convert the animation file into a format suitable for rendering, specifically: processing the animation video in the animation file frame by frame to obtain any animation frame image, and layering the animation frame image according to the features to obtain a rendering layered image corresponding to the features of the animation frame image; identifying the rendering nodes in the rendering layered image of the animation frame image, and initializing the rendering nodes, and setting the update attributes and clipping attributes of the rendering nodes;
[0008] A rendering execution module is used to render all rendering nodes in the rendering layer graph using a streaming update method from the top layer to the bottom layer;
[0009] The performance evaluation module is used to evaluate the rendering effect of the animation video and feed back the rendering evaluation results to the rendering strategy adjustment module; the rendering evaluation results include the rendering performance value and the frame image optimization rendering list;
[0010] The environment perception and configuration module is responsible for monitoring and evaluating the hardware environment information used for animation rendering, and feeding back the hardware environment evaluation results to the rendering strategy adjustment module; the hardware environment evaluation results include the hardware environment impact value;
[0011] The rendering strategy adjustment module is used to receive the rendering evaluation results and hardware environment evaluation results fed back by the performance evaluation module and the environment perception and configuration module; and formulate corresponding strategies based on the rendering evaluation results and hardware environment evaluation results.
[0012] Preferably, all rendering nodes in the rendering layer graph are rendered in a streaming update manner from the top layer to the bottom layer, and the specific steps are as follows:
[0013] Starting from the root node of the rendering node in the rendering hierarchy, the position and transformation attributes of each rendering node are updated step by step; the position of the object associated with each rendering node is calculated, including scaling and rotation; each object is clipped to determine whether it is visible in the view; the objects that pass the clipping test are sent to the rendering pipeline for rendering;
[0014] Monitor the animation and lens update actions in the second frame animation frame graph, and put the rendering nodes and their child nodes affected by the animation or lens changes into the update queue; traverse any rendering node in the update queue, update the position and clipping properties of the rendering node, and re-perform clipping judgment; if the root node of the rendering node in the rendering layered graph is clipped, the child nodes will no longer be clipped and rendered.
[0015] Preferably, the rendering effect of the animation video is evaluated, specifically:
[0016] Obtain a rendering layered image in any animation frame after rendering is completed, and identify the image quality of the rendering layered image, including resolution, color accuracy, texture clarity, sharpness, contrast, and noise level; set an image quality evaluation standard value, and perform a difference calculation between any parameter in the image quality and the evaluation standard value corresponding to the parameter to obtain a quality evaluation difference corresponding to the parameter;
[0017] Obtain the image quality of the rendering layered image before rendering, perform difference calculation between any parameter in the image quality of the rendering layered image before rendering and the corresponding parameter in the image quality of any frame of the rendering layered image after rendering is completed, and obtain the rendering change difference corresponding to the parameter;
[0018] The quality assessment difference of all parameters in the image quality of the rendering layered graph and the rendering change difference are weighted to obtain the layer inspection value of the rendering layered graph;
[0019] Then, the layer inspection values of the rendering layered graph corresponding to the features in the animation frame graph are weightedly calculated to obtain the frame inspection value of the animation frame graph;
[0020] The frame check values of all the animation frames in the animation video are averaged and standard deviations are calculated to obtain the frame check mean and frame check fluctuation value; the maximum frame check value and the minimum frame check value of the animation frame in the animation video are then difference calculated to obtain the frame check extreme difference value;
[0021] The frame inspection value, the frame inspection mean value, the frame inspection fluctuation value, and the frame inspection extreme difference value are weighted to obtain the rendering performance value;
[0022] Arrange the animation frames in the animation video in order of frame check values to obtain a frame optimization rendering list;
[0023] Setting a rendering performance threshold, comparing the rendering performance value with the rendering performance threshold, and generating a rendering re-tune signaling if the rendering performance value is greater than the rendering performance threshold;
[0024] The number of dynamic re-rendering images is set, and the rendering re-adjustment signaling determines the animation frame images in the frame image optimization rendering list according to the number of dynamic re-rendering images and re-inputs them into the rendering execution module for rendering.
[0025] Preferably, the hardware environment information for animation rendering is evaluated, specifically:
[0026] Identify hardware environment information during animation rendering, including GPU, GPU load, remaining memory space, frame rate fluctuation, network bandwidth usage, input / output processing speed, rendering response time, number of draw calls, vertex processing rate, pixel fill rate, power usage, hardware temperature, audio processing load, physics engine calculation load, script and logic processing time;
[0027] Setting an evaluation standard value of any parameter in the hardware environment information, performing difference calculation between the parameter in the hardware environment information and the evaluation standard value corresponding to the parameter, and obtaining a hardware evaluation difference;
[0028] Set the hardware monitoring time zone, calculate the mean and standard deviation of the hardware evaluation differences collected within the hardware monitoring time zone, and obtain the hard evaluation difference mean and hard evaluation difference fluctuation value;
[0029] The hardware evaluation difference, hard evaluation difference mean, and hard evaluation difference fluctuation value are weighted to obtain the hard evaluation value corresponding to the parameter;
[0030] Then, the hard evaluation values of all parameters in the hardware environment information are weighted to obtain the hardware environment impact value;
[0031] A hardware environment impact threshold is set, and the hardware environment impact value is compared with the hardware environment impact threshold. If the hardware environment impact value is greater than the hardware environment impact threshold, a down-rendering signal is generated; the down-rendering signal is used to adjust the number of dynamic re-rendering images and the rendering effect of the rendering execution module according to the hardware environment impact value.
[0032] Preferably, a corresponding strategy is formulated according to the rendering evaluation results and the hardware environment evaluation results, specifically: setting a rendering performance threshold, comparing the rendering performance value with the rendering performance threshold, and generating a rendering rescheduling signal if the rendering performance value is greater than the rendering performance threshold; setting a dynamic re-rendering number, and the rendering rescheduling signal determines the animation frame in the frame optimization rendering list according to the dynamic re-rendering number, and re-inputs the animation frame into the rendering execution module for rendering;
[0033] A hardware environment impact threshold is set, and the hardware environment impact value is compared with the hardware environment impact threshold. If the hardware environment impact value is greater than the hardware environment impact threshold, a down-rendering signal is generated; the down-rendering signal is used to adjust the number of dynamic re-rendering images and the rendering effect of the rendering execution module according to the hardware environment impact value.
[0034] Preferably, the present invention further includes a hardware diagnosis module for monitoring the rendering execution module during the rendering process, monitoring and evaluating hardware fault conditions, and obtaining fault values corresponding to the hardware; and executing corresponding processing measures according to the fault values.
[0035] Preferably, the hardware failure condition is evaluated, specifically:
[0036] Get hardware operation information, including GPU temperature, fan speed, core frequency, and memory usage;
[0037] Set a normal range for any parameter in the operation information, match the parameter in the operation information with the normal range of its parameter, if the parameter in the operation information is not within the normal range of its parameter, mark the parameter as an abnormal parameter, and generate an operation monitoring signaling corresponding to the parameter; the operation monitoring signaling is used to trigger monitoring and analysis of abnormal parameters, calculate the difference between the parameter in the operation information and the preset standard value of its parameter, and obtain the preset difference corresponding to the parameter; mark the generation time of the abnormal parameter as the first moment, define the monitoring time zone set before the first moment, calculate the mean and standard deviation of the preset difference in the set monitoring time zone to obtain the preset difference mean and preset difference fluctuation value;
[0038] The preset difference value, the preset difference mean value, and the preset difference fluctuation value are weighted to obtain a preview value;
[0039] After the monitoring first moment is generated, the abnormal parameters in the expected time zone are set, and the number of abnormal parameters in the set expected time zone is recorded and marked as abnormal parameters; the time difference between the generation moments of adjacent abnormal parameters is calculated to obtain the abnormal parameter adjacent time value; the standard deviation of the abnormal parameter adjacent time value in the set expected time zone is calculated to obtain the abnormal parameter frequency wave value;
[0040] The heterogeneous parameters and heterogeneous frequency wave values are weighted to obtain the heterogeneous image value;
[0041] The predicted image value and the abnormal image value are weighted to obtain the actual image value corresponding to the parameter;
[0042] The shadow values of all current abnormal parameters in the operation information are weighted to obtain the fault value.
[0043] Preferably, corresponding processing measures are performed according to the fault value, specifically:
[0044] Set the fault threshold and warning threshold. If the fault value is greater than the fault threshold, it is judged as a serious fault and emergency measures are taken immediately, including suspending the rendering task, issuing an alarm and notifying technical personnel to perform repairs. If the fault value is less than or equal to the fault threshold but greater than the warning threshold, it is judged as a moderate fault and the complexity of the rendering task is appropriately reduced or the hardware operating frequency is adjusted. If the fault value is less than the warning threshold, it is judged as a minor fault and continuous monitoring is carried out but no substantive processing action is taken.
[0045] Compared with the related art, the intelligent environment-adaptive animation rendering optimization system provided by the present invention has the following beneficial effects:
[0046] The present invention relies on the comprehensive evaluation of the rendering effect by the performance evaluation module, and combines it with the real-time monitoring and evaluation of the hardware environment by the environment perception and configuration module, and passes the relevant results to the rendering strategy adjustment module. According to the dynamic changes of the rendering effect and the hardware environment, the rendering strategy is formulated and adjusted in a timely and accurate manner.
[0047] 2. Through the collaborative work among the performance evaluation module, the environment perception and configuration module, and the rendering strategy adjustment module, intelligent dynamic optimization of the rendering process is achieved, which can always maintain good rendering performance under different hardware conditions, ensure the accuracy and consistency of the rendering results, avoid the decline or interruption of rendering quality due to environmental changes or hardware limitations, and significantly improve the stability and reliability of animation rendering. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a principle block diagram of the intelligent environment-adaptive animation rendering optimization system provided by the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "group", "class" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0051] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0052] Please refer to Figure 1 . Intelligent environment-adaptive animation rendering optimization system, including rendering preprocessing module, rendering execution module, environment perception and configuration module, performance evaluation module and rendering strategy adjustment module;
[0053] The rendering preprocessing module is used to receive the animation file to be rendered and convert the animation file into a format suitable for rendering, specifically: processing the animation video in the animation file frame by frame to obtain any animation frame image, and layering the animation frame image according to the features to obtain a rendering layered image corresponding to the features of the animation frame image; identifying the rendering nodes in the rendering layered image of the animation frame image, and initializing the rendering nodes, and setting the update attributes and clipping attributes of the rendering nodes;
[0054] The rendering execution module is used to render all rendering nodes in the rendering layer graph using a streaming update method from the top layer to the bottom layer. The specific steps are as follows:
[0055] Starting from the root node of the rendering node in the rendering hierarchy, the position and transformation attributes of each rendering node are updated step by step; the position of the object associated with each rendering node is calculated, including scaling and rotation; each object is clipped to determine whether it is visible in the view; the objects that pass the clipping test are sent to the rendering pipeline for rendering;
[0056] Monitor the animation and lens update actions in the second frame animation frame graph, and put the rendering nodes and their child nodes affected by the animation or lens changes into the update queue; traverse any rendering node in the update queue, update the position and clipping properties of the rendering node, and re-perform clipping judgment; if the root node of the rendering node in the rendering layer graph is clipped, the child nodes will no longer be clipped and rendered;
[0057] The performance evaluation module is used to evaluate the rendering effect of the animation video and feed back the rendering evaluation result to the rendering strategy adjustment module;
[0058] The environment perception and configuration module is responsible for monitoring and evaluating the hardware environment information used for animation rendering, and feeding back the hardware environment evaluation results to the rendering strategy adjustment module;
[0059] The rendering strategy adjustment module is used to receive the rendering evaluation results and hardware environment evaluation results fed back by the performance evaluation module and the environment perception and configuration module;
[0060] In this application, the rendering effect of the animation video is evaluated, specifically:
[0061] Obtain the rendering layered image in any frame of the animation after rendering is completed, and identify the image quality of the rendering layered image, including resolution, color accuracy, texture clarity, sharpness, contrast, and noise level; set the image quality evaluation standard value, and perform difference calculation between any parameter in the image quality and the evaluation standard value corresponding to the parameter to obtain the quality evaluation difference ZL1 corresponding to the parameter;
[0062] Obtain the image quality of the rendering layered graph before rendering, perform difference calculation between any parameter in the image quality of the rendering layered graph before rendering and the corresponding parameter in the image quality of any frame of the rendering layered graph after rendering is completed, and obtain the rendering change difference ZL2 corresponding to the parameter;
[0063] The quality assessment differences and rendering change differences of all parameters in the image quality of the rendering layered graph are weighted, and the formula is used to calculate the difference. , get the layer inspection value ZL of the rendering layer map; where i represents the number of the image quality parameter, N represents the total number of image quality parameters, iZL1 and ic1 represent the quality assessment difference of the image quality parameter i and its corresponding weight, iZL2 and ic2 represent the rendering change difference of the image quality parameter i and its corresponding weight;
[0064] Then, the layer inspection value of the rendering layered graph corresponding to the feature in the animation frame graph is weighted and calculated using the formula , get the frame inspection value DL1 of the animation frame graph; where j represents the number of the rendering layer graph corresponding to the feature in the animation frame graph, M represents the total number of rendering layer graphs corresponding to the feature in the animation frame graph, jZL, ja represent the layer inspection value and its corresponding weight of the rendering layer graph corresponding to feature j in the animation frame graph respectively;
[0065] The frame inspection values of all the animation frames in the animation video are averaged and standard deviations are calculated to obtain the frame inspection mean DL2 and the frame inspection fluctuation DL3; the maximum frame inspection value and the minimum frame inspection value of the animation frame in the animation video are then difference-calculated to obtain the frame inspection extreme difference DL4;
[0066] The frame inspection value, frame inspection mean, frame inspection fluctuation value, and frame inspection extreme difference value are weighted and the formula is used. , and obtain the rendering performance value DL; wherein d1, d2, d3, and d4 represent the weights corresponding to the frame inspection value, the frame inspection mean, the frame inspection fluctuation value, and the frame inspection extreme value, respectively;
[0067] Arrange the animation frames in the animation video in order of frame check values to obtain a frame optimization rendering list;
[0068] In this application, the hardware environment information used for animation rendering is evaluated, specifically:
[0069] Identify hardware environment information during animation rendering, including GPU, GPU load, remaining memory space, frame rate fluctuation, network bandwidth usage, input / output processing speed, rendering response time, number of draw calls, vertex processing rate, pixel fill rate, power usage, hardware temperature, audio processing load, physics engine calculation load, script and logic processing time;
[0070] Set an evaluation standard value of any parameter in the hardware environment information, perform difference calculation between the parameter in the hardware environment information and the evaluation standard value corresponding to the parameter, and obtain a hardware evaluation difference value YS1;
[0071] Set the hardware monitoring time zone, calculate the mean and standard deviation of the hardware evaluation differences collected within the hardware monitoring time zone, and obtain the hard evaluation difference mean value YS2 and the hard evaluation difference fluctuation value YS3;
[0072] The hardware evaluation difference, hard evaluation difference mean, and hard evaluation difference fluctuation value are weighted and the formula is used to calculate the difference. , get the hard evaluation value YS corresponding to the parameter; where s1, s2, and s3 represent the weights corresponding to the hardware evaluation difference, the hard evaluation difference mean, and the hard evaluation difference fluctuation value respectively;
[0073] Then, the hard evaluation values of all parameters in the hardware environment information are weighted and the formula is used , and obtain the hardware environment impact value TE; where t represents the number of the hardware environment information parameter, T represents the total number of parameters in the hardware environment information, and tYS and ty represent the hard evaluation value of parameter t in the hardware environment information and its corresponding weight respectively.
[0074] The present invention also includes a hardware diagnosis module, which is used to monitor the rendering execution module during the rendering process, monitor and evaluate the hardware fault conditions, and obtain the fault value corresponding to the hardware; and execute corresponding processing measures according to the fault value.
[0075] In this application, the hardware failure conditions are evaluated, specifically:
[0076] Get hardware operation information, including GPU temperature, fan speed, core frequency, and memory usage;
[0077] Set the normal range of any parameter in the operation information, match the parameter in the operation information with the normal range of its parameter, if the parameter in the operation information is not within the normal range of its parameter, mark the parameter as an abnormal parameter, and generate the operation monitoring signaling corresponding to the parameter; the operation monitoring signaling is used to trigger the monitoring and analysis of the abnormal parameter, calculate the difference between the parameter in the operation information and the preset standard value of its parameter, and obtain the preset difference YC1 corresponding to the parameter; mark the generation time of the abnormal parameter as the first moment, define the monitoring time zone set before the first moment, calculate the mean and standard deviation of the preset difference in the set monitoring time zone to obtain the preset difference mean YC2 and the preset difference fluctuation value YC3;
[0078] The preset difference, the preset difference mean, and the preset difference fluctuation value are weighted and the formula is used. , and obtain the preview value YC; wherein f1, f2, and f3 represent the weights corresponding to the preset difference, the preset difference mean, and the preset difference fluctuation value, respectively;
[0079] After the monitoring first moment is generated, the abnormal parameters in the expected time zone are set, and the number of abnormal parameters in the set expected time zone is recorded and marked as abnormal parameter R1; the time difference of the generation time of adjacent abnormal parameters is calculated to obtain the abnormal parameter adjacent time value; the standard deviation of the abnormal parameter adjacent time value in the set expected time zone is calculated to obtain the abnormal parameter frequency wave value R2;
[0080] The different parameters and different frequency wave values are weighted and the formula is used , get the image value R; where e1 and e2 represent the weights corresponding to the different parameters and the different parameter frequency wave values respectively;
[0081] The predicted image value and abnormal image value are weighted and the formula is used. , get the expected shadow value B corresponding to the parameter; where q1 and q2 represent the weights corresponding to the expected shadow value and the abnormal shadow value respectively;
[0082] The shadow values of all current abnormal parameters in the operation information are weighted and the formula is used , and obtain the fault value P; where p represents the number of the current abnormal parameter in the operation information, W represents the total number of the current abnormal parameters in the operation information, and pB and pk represent the shadow value of the current abnormal parameter p in the operation information and its corresponding weight respectively.
[0083] In this application, corresponding processing measures are performed according to the fault value, specifically:
[0084] Set the fault threshold and warning threshold. If the fault value is greater than the fault threshold, it is judged as a serious fault and emergency measures are taken immediately, including suspending the rendering task, issuing an alarm and notifying technical personnel to perform repairs. If the fault value is less than or equal to the fault threshold but greater than the warning threshold, it is judged as a moderate fault and the complexity of the rendering task is appropriately reduced or the hardware operating frequency is adjusted. If the fault value is less than the warning threshold, it is judged as a minor fault and continuous monitoring is carried out but no substantive processing action is taken.
[0085] It should be noted that through the hardware diagnosis module, through the careful monitoring and analysis of multiple key parameters in the hardware operation information, abnormal parameters can be accurately marked, and the difference, mean, fluctuation and other factors can be comprehensively considered to comprehensively and accurately evaluate the hardware fault situation and obtain accurate fault values. This helps to discover potential problems in the early stage of the fault and avoid the deterioration of the problem; different thresholds are set according to the fault value, and the faults are divided into serious, moderate and mild, and corresponding treatment measures are taken; this hierarchical processing method can maximize the stability and continuity of the rendering task. For serious faults, the task is suspended in time and maintenance is notified to avoid greater losses; for moderate faults, a certain rendering effect is maintained by reducing complexity or adjusting the hardware operating frequency; for mild faults, continuous monitoring and reasonable allocation of resources are carried out, which does not affect normal rendering while paying close attention to potential risks; accurate fault assessment and reasonable hierarchical processing can effectively avoid resource waste and inefficiency caused by hardware failures. Under the premise of ensuring rendering quality, resource allocation can be reasonably adjusted according to the fault situation to improve the operating efficiency of the overall rendering system; serious faults can be effectively and timely discovered and emergency measures can be taken, which can effectively prevent major economic losses and data loss caused by hardware damage, and protect users' investments and creative achievements.
[0086] Improve user experience: By ensuring the stability and continuity of the rendering process, reducing rendering interruptions or quality degradation caused by failures, providing users with more reliable and high-quality animation rendering services, and improving user satisfaction and trust
[0087] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0088] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. Intelligent environment-adaptive animation rendering optimization system, It is characterized in that It includes rendering preprocessing module, rendering execution module, environment perception and configuration module, performance evaluation module and rendering strategy adjustment module; The rendering preprocessing module is used to receive the animation file to be rendered and convert the animation file into a format suitable for rendering, specifically: processing the animation video in the animation file frame by frame to obtain any animation frame image, and layering the animation frame image according to the features to obtain a rendering layered image corresponding to the features of the animation frame image; identifying the rendering nodes in the rendering layered image of the animation frame image, and initializing the rendering nodes, and setting the update attributes and clipping attributes of the rendering nodes; A rendering execution module is used to render all rendering nodes in the rendering layer graph using a streaming update method from the top layer to the bottom layer; The performance evaluation module is used to evaluate the rendering effect of the animation video, specifically: Obtain a rendering layered image in any animation frame after rendering is completed, and identify the image quality of the rendering layered image, including resolution, color accuracy, texture clarity, sharpness, contrast, and noise level; set an image quality evaluation standard value, and perform a difference calculation between any parameter in the image quality and the evaluation standard value corresponding to the parameter to obtain a quality evaluation difference corresponding to the parameter; Obtain the image quality of the rendering layered graph before rendering, perform difference calculation between any parameter in the image quality of the rendering layered graph before rendering and the corresponding parameter in the image quality of any frame of the rendering layered graph after rendering is completed, and obtain the rendering change difference corresponding to the parameter; perform weighted processing on the quality assessment difference and rendering change difference of all parameters in the image quality of the rendering layered graph, and obtain the layer inspection value of the rendering layered graph; Then, the layer inspection values of the rendering layered graph corresponding to the features in the animation frame graph are weightedly calculated to obtain the frame inspection value of the animation frame graph; The frame check values of all the animation frames in the animation video are calculated by the mean and standard deviation to obtain the frame check mean and frame check fluctuation value; the maximum frame check value and the minimum frame check value of the animation frame in the animation video are calculated by the difference to obtain the frame check extreme difference value; the frame check value, the frame check mean, the frame check fluctuation value, and the frame check extreme difference value are weighted to obtain the rendering efficiency value; the animation frames in the animation video are arranged in the order of the frame check values to obtain a frame optimization rendering list; Setting a rendering performance threshold, comparing the rendering performance value with the rendering performance threshold, and generating a rendering re-tune signaling if the rendering performance value is greater than the rendering performance threshold; Mark the rendering performance value and the frame image optimization rendering list as rendering evaluation results, and feed the rendering evaluation results back to the rendering strategy adjustment module; The environment perception and configuration module is responsible for monitoring and evaluating the hardware environment information used for animation rendering, specifically: Identify hardware environment information during animation rendering, including GPU, GPU load, remaining memory space, frame rate fluctuation, network bandwidth usage, input / output processing speed, rendering response time, number of draw calls, vertex processing rate, pixel fill rate, power usage, hardware temperature, audio processing load, physics engine calculation load, script and logic processing time; Setting an evaluation standard value of any parameter in the hardware environment information, performing difference calculation between the parameter in the hardware environment information and the evaluation standard value corresponding to the parameter, and obtaining a hardware evaluation difference; Set a hardware monitoring time zone, calculate the mean and standard deviation of the hardware evaluation difference values collected within the hardware monitoring time zone, and obtain the hard evaluation difference mean value and hard evaluation difference fluctuation value; perform weighted processing on the hardware evaluation difference value, hard evaluation difference mean value and hard evaluation difference fluctuation value to obtain the hard evaluation value corresponding to the parameter; then perform weighted processing on the hard evaluation values of all parameters in the hardware environment information to obtain the hardware environment impact value; The hardware environment impact value is marked as a hardware environment assessment result; The rendering strategy adjustment module is used to receive the rendering evaluation results and hardware environment evaluation results fed back by the performance evaluation module and the environment perception and configuration module; formulate corresponding strategies according to the rendering evaluation results and the hardware environment evaluation results, specifically: Setting a rendering performance threshold, comparing the rendering performance value with the rendering performance threshold, and generating a rendering re-tune signaling if the rendering performance value is greater than the rendering performance threshold; The number of dynamic re-rendering images is set, and the rendering re-adjustment signaling determines the animation frame images in the frame image optimization rendering list according to the number of dynamic re-rendering images and re-inputs them into the rendering execution module for rendering; A hardware environment impact threshold is set, and the hardware environment impact value is compared with the hardware environment impact threshold. If the hardware environment impact value is greater than the hardware environment impact threshold, a down-rendering signal is generated; the down-rendering signal is used to adjust the number of dynamic re-rendering images and the rendering effect of the rendering execution module according to the hardware environment impact value.
2. The intelligent environment-adaptive animation rendering optimization system according to claim 1, It is characterized in that All rendering nodes in the rendering layer graph are rendered using a streaming update method from the top layer to the bottom layer. The specific steps are as follows: Starting from the root node of the rendering node in the rendering hierarchy, update the position and transformation properties of each rendering node step by step downward; Calculate the position of each object associated with the rendering node, including scaling and rotation; Perform a clipping test on each object to determine whether it is visible in the view; send objects that pass the clipping test to the rendering pipeline for rendering; Monitor the animation and lens update actions in the second frame animation frame graph, put the rendering nodes and their child nodes affected by the animation or lens changes into the update queue; traverse any rendering node in the update queue, update the position and clipping properties of the rendering node, and re-perform clipping judgment; If the root node of a rendering node in the rendering layer graph is clipped, the child nodes will no longer be clipped and rendered.
3. The intelligent environment-adaptive animation rendering optimization system according to claim 1, It is characterized in that It also includes a hardware diagnosis module, which is used to monitor the rendering execution module during the rendering process, monitor and evaluate the hardware fault conditions, and obtain the corresponding fault value of the hardware; according to the fault value, corresponding processing measures are executed, specifically: Set the fault threshold and warning threshold. If the fault value is greater than the fault threshold, it is considered a serious fault and emergency measures are taken immediately, including suspending the rendering task, issuing an alarm and notifying technicians to perform repairs. If the fault value is less than or equal to the fault threshold but greater than the warning threshold, it is judged as a moderate fault, and the complexity of the rendering task is appropriately reduced or the hardware operating frequency is adjusted; if the fault value is less than the warning threshold, it is judged as a minor fault, and continuous monitoring is carried out but no substantive processing action is taken.
4. The intelligent environment-adaptive animation rendering optimization system according to claim 3, It is characterized in that Evaluate the hardware failure conditions, specifically: Get hardware operation information, including GPU temperature, fan speed, core frequency, and memory usage; Set the normal range of any parameter in the operation information, match the parameter in the operation information with the normal range of its parameter, if the parameter in the operation information is not within the normal range of its parameter, mark the parameter as an abnormal parameter, and generate the operation monitoring signaling corresponding to the parameter; The operation monitoring signaling is used to trigger monitoring and analysis of abnormal parameters, calculate the difference between the parameters in the operation information and the preset standard values of the parameters, and obtain the preset difference corresponding to the parameters; The generation time of the abnormal parameter is marked as the first time, and a monitoring time zone is defined before the first time. The mean and standard deviation of the preset difference in the set monitoring time zone are calculated to obtain the preset difference mean and the preset difference fluctuation value; The preset difference value, the preset difference mean value, and the preset difference fluctuation value are weighted to obtain a preview value; After the first monitoring moment is generated, the abnormal parameters in the expected time zone are set, and the number of abnormal parameters in the set expected time zone is recorded and marked as abnormal parameters; the time difference between the generation times of adjacent abnormal parameters is calculated to obtain the adjacent time values of abnormal parameters; the standard deviation of the adjacent time values of abnormal parameters in the set expected time zone is calculated to obtain the frequency wave value of abnormal parameters; the abnormal parameters and the frequency wave values are weighted to obtain the abnormal shadow value; the predicted shadow value and the abnormal shadow value are weighted to obtain the actual shadow value corresponding to the parameter; the actual shadow values of all current abnormal parameters in the operation information are weighted to obtain the fault value.
