A New Communication Dynamic Display Method Based on an Adaptive Special Effects Element Library

By adaptively adjusting the generation parameters in the special effects element library, the stuttering problem caused by differences in terminal performance was solved, enabling efficient and smooth video special effects display on different terminals, thus improving user experience and display efficiency.

CN120343337BActive Publication Date: 2025-12-02CHINA UNICOM WO MUSIC & CULTURE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510779397.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-12-02
Estimated Expiration
2045-06-12

AI Technical Summary

Technical Problem

Existing technology fails to adaptively adjust special effects display parameters based on the actual display situation during the detection process, resulting in stuttering on low-performance terminals, affecting the user viewing experience and display efficiency.

Method used

By building an adaptive special effects element library, the frame rate of the terminal is detected in real time, and the generation parameters of the special effects elements, such as rendering multiplier, special effects particle time interval and network bandwidth, are adjusted according to the video smoothness reference value to adapt to the video special effects display of terminals with different performance.

Benefits of technology

It improves the efficiency and compatibility of video effects display, ensures smooth video display on terminals with different performance levels, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343337B_ABST
    Figure CN120343337B_ABST
Patent Text Reader

Abstract

This invention relates to the field of communication display technology, and in particular to a novel communication dynamic display method based on an adaptive special effects element library. The method includes: acquiring video information to be displayed; determining the initial parameters of each special effects element; constructing and outputting a display video; determining whether the output display video is qualified based on a video smoothness reference value; and when the output display video is determined to be abnormal, adjusting the generation parameters of the display video based on frame rate fluctuation parameters to adapt to video special effects display on terminals with different performance levels. The method adaptively adjusts the special effects display parameters according to the actual display situation during the detection process, thereby improving display efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication display technology, and in particular to a new method for dynamic communication display based on an adaptive special effects element library. Background Technology

[0002] To enhance the appeal and watchability of videos, various special effects are often added. Dynamic video presentations have become a crucial method of information delivery. Users can select and apply special effects from a library of stored effects elements to meet their diverse presentation needs.

[0003] However, due to significant performance differences between various terminal devices, when outputting special effects animations using the same parameters, stuttering can easily occur on devices with lower performance. This stuttering not only affects the user's viewing experience but also reduces the efficiency of displaying special effects, thus compromising the quality of video information presentation.

[0004] Chinese Patent Publication No. CN103200177A discloses a method for displaying game special effects animations, comprising: downloading animation data and special effects processing data from a server, wherein the special effects processing data includes at least one special effects processing package, the special effects processing package being used to process specific sequence frames to obtain animation sequence frames; obtaining special effects instructions from the server, the special effects instructions indicating a special effects processing package; calling the special effects processing package indicated by the special effects instructions to obtain the corresponding special effects animation sequence frames; and displaying the special effects animation sequence frames. It is evident that the prior art has the following problem: it does not consider adaptively adjusting the special effects display parameters based on the actual display situation during the detection process, thus affecting display efficiency. Summary of the Invention

[0005] To address this issue, the present invention provides a novel communication dynamic display method based on an adaptive special effects element library, which overcomes the problem in the prior art that it does not consider adaptively adjusting the special effects display parameters according to the actual display situation during the detection process, thus affecting the display efficiency.

[0006] To achieve the above objectives, this invention provides a novel method for dynamically displaying communication based on an adaptive special effects element library, comprising:

[0007] S1, Obtain information about the video to be displayed;

[0008] S2, determine the initial parameters of each special effects element based on the obtained display requirements;

[0009] S3, builds and outputs display videos;

[0010] S4, based on the frame rate of several detected time points, determines the reference value for video smoothness;

[0011] S5 determines whether the output display video is acceptable based on video smoothness reference values, including:

[0012] If the output display video is found to be abnormal, the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter, including adjusting the rendering ratio of the display video to the corresponding value, adjusting the time interval for generating special effect particles to the corresponding value, or adjusting the network bandwidth of other running programs on the terminal to the corresponding value.

[0013] Alternatively, determine that the output display video is qualified, and complete the output of the display video.

[0014] Furthermore, in S4, the process of determining the video smoothness reference value includes:

[0015] The frame rate of the output video is detected, and the average frame rate at each detection time point within the preset analysis time is calculated to obtain a reference value for video smoothness.

[0016] Furthermore, in S5, the process of determining whether the output display video is qualified based on the video smoothness reference value includes:

[0017] If the video smoothness reference value is less than or equal to the first preset smoothness reference value, the output display video is determined to be abnormal, and the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter.

[0018] If the video smoothness reference value is less than or equal to the second preset smoothness reference value and greater than the first preset smoothness reference value, then the output display video is determined to be qualified based on the smoothness change parameter.

[0019] If the video smoothness reference value is greater than the second preset smoothness reference value, the output display video is deemed qualified.

[0020] The process of determining whether the output display video is acceptable based on smoothness variation parameters includes:

[0021] The average historical video smoothness reference value is obtained by calculating the average of several historical video smoothness reference values ​​of a single terminal.

[0022] Calculate the ratio of the current video smoothness reference value to the historical average smoothness reference value to obtain the smoothness change parameter;

[0023] If the smoothness change parameter is less than or equal to the preset change parameter, the output display video is determined to be abnormal, and the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter.

[0024] If the smoothness variation parameter is greater than the preset variation parameter, then the second preset smoothness reference value is adjusted based on the historical maximum average smoothness reference value.

[0025] Furthermore, the second preset smoothness reference value is adjusted based on the historical maximum average smoothness reference value, wherein,

[0026] The increase in the second preset smoothness reference value is inversely proportional to the historical maximum average smoothness reference value.

[0027] Furthermore, the process of determining that the output display video is abnormal and adjusting the generation parameters of the display video based on the frame rate fluctuation parameter includes:

[0028] The frame rate fluctuation parameter is obtained by calculating the variance of the frame rate at each detection time node within the preset analysis time.

[0029] If the frame rate fluctuation parameter is less than or equal to the first preset frame rate fluctuation parameter, the rendering ratio of the displayed video will be adjusted to the corresponding value based on the frame rate fluctuation parameter.

[0030] If the frame rate fluctuation parameter is less than or equal to the second preset frame rate fluctuation parameter and greater than the first preset frame rate fluctuation parameter, the generation parameters of the display video are adjusted based on the abnormal interval reference value.

[0031] If the frame rate fluctuation parameter is greater than the second preset frame rate fluctuation parameter, the network bandwidth of other running programs on the terminal will be adjusted to the corresponding value based on the video smoothness reference value.

[0032] Furthermore, based on the frame rate fluctuation parameter, the rendering rate of the displayed video is adjusted to the corresponding value, wherein,

[0033] The reduction in rendering scaling factor is inversely proportional to the frame rate fluctuation parameter.

[0034] Furthermore, the generation parameters of the display video are adjusted based on the abnormal interval reference value, including:

[0035] Based on the frame rate at each detection time node within the preset analysis time, a frame rate time domain curve is plotted, the time interval between each trough value in the frame rate time domain curve is identified, the average value of each time interval is calculated, and an abnormal interval reference value is obtained.

[0036] If the abnormal interval reference value is less than or equal to the preset abnormal interval reference value, the rendering ratio of the displayed video will be adjusted to the corresponding value based on the frame rate fluctuation parameter.

[0037] If the abnormal interval reference value is greater than the preset abnormal interval reference value, the time interval for generating special effect particles will be adjusted to the corresponding value based on the ratio of the number of trough values ​​to the total number of each detection time node.

[0038] Furthermore, the time interval for generating special effect particles is adjusted to a corresponding value based on the ratio of the number of trough values ​​to the total number at each detection time point.

[0039] The ratio of the number of trough values ​​to the total number of values ​​at each detection time point is denoted as the quantity ratio.

[0040] The increase in the time interval for generating special effects particles is directly proportional to the ratio of their quantities.

[0041] Furthermore, based on the video smoothness reference value, the network bandwidth of other running programs on the terminal is adjusted to the corresponding value, wherein,

[0042] The reduction in network bandwidth for other running programs is inversely proportional to the video smoothness reference value.

[0043] Compared with the prior art, the beneficial effects of the present invention are as follows: Specifically, it acquires the video information to be displayed; determines the initial parameters of each special effect element; constructs and outputs the display video; determines whether the output display video is qualified based on the video smoothness reference value; and when the output display video is determined to be abnormal, it adjusts the generation parameters of the display video based on the frame rate fluctuation parameter to be suitable for video special effects display on terminals with different performance. According to the actual display situation during the detection process, it adaptively adjusts the special effect display parameters, thereby improving the display efficiency.

[0044] Furthermore, when outputting the display video, the frame rate of the terminal is detected in real time within a preset analysis period. The average frame rate detected at various time points within the preset analysis period is selected to determine the video smoothness reference value. The video smoothness reference value characterizes the overall smoothness of the picture. When the video smoothness reference value is less than or equal to the first preset smoothness reference value, the low frame rate causes obvious stuttering, affecting the user's viewing experience. In this case, the constructed video is not suitable for the performance of the current user's terminal. At this time, the generation parameters of the display video for the current terminal are adjusted based on the frame rate fluctuation parameter to adjust the subsequent video construction parameters of the terminal, so that the generation parameters of the display video are adapted to the current terminal, further improving the efficiency of special effects display.

[0045] Furthermore, when the video smoothness reference value is less than or equal to the second preset smoothness reference value and greater than the first preset smoothness reference value, the historical average smoothness reference value of the current terminal during the output of historical special effects is obtained to determine the smoothness change parameter. The smoothness change parameter represents the difference between the current video display and the historical video display. When the smoothness change parameter is greater than the preset change parameter, the frame rate of each historical frame and the frame rate of the current video display are close. Under the current circumstances, the single terminal is already close to its performance limit. In this case, the judgment standard used to determine whether the output display video is qualified is adjusted according to the actual situation of the terminal, so that the judgment standard is more in line with the actual performance of the current terminal. This improves the compatibility and applicability of special effects display and further improves the efficiency of special effects display.

[0046] Furthermore, the generation parameters of the displayed video are adjusted based on the frame rate fluctuation parameter. The frame rate fluctuation parameter represents the stuttering situation during the video display process. When the frame rate fluctuation parameter is less than or equal to the first preset frame rate fluctuation parameter, the frame rate is relatively stable, but the overall frame rate is low. In this case, due to the excessively high rendering ratio, the terminal cannot process the video in time, affecting the video display effect. At this time, the rendering ratio of the special effects constructed by the terminal for the current video is adjusted. When the frame rate fluctuation parameter is greater than the second preset frame rate fluctuation parameter, the frame rate fluctuates drastically. In this case, due to network instability and untimely data transmission, the network bandwidth of other running programs on the terminal is reduced to ensure the smooth display of the video currently viewed by the user, further improving the efficiency of special effects display.

[0047] Furthermore, when the frame rate fluctuation parameter is less than or equal to the second preset frame rate fluctuation parameter but greater than the first preset frame rate fluctuation parameter, the abnormal interval reference value is further analyzed to adjust the generation parameters of the displayed video. The abnormal interval reference value characterizes the frame rate fluctuation pattern. When the frame rate fluctuation parameter is less than or equal to the first preset frame rate fluctuation parameter, the time interval between each trough value is small, and the frame rate drops frequently. In this case, anomalies in the special effects rendering process cause high-frequency frame rate drops. Rendering parameters are adjusted to ensure smooth video display. When the abnormal interval reference value is greater than the preset abnormal interval reference value, the abnormal interval is large, the frequency of frame rate drops is relatively low, but the drop magnitude is large. This is due to an excessive number of special effects particles, causing the terminal to fail to process them in time. In this case, the number of particles will be reduced. This improves the efficiency of special effects display while ensuring that video information is accurately and timely delivered to the user. Attached Figure Description

[0048] Figure 1 This is a flowchart illustrating the steps of a novel communication dynamic display method based on an adaptive special effects element library, as described in an embodiment of the present invention.

[0049] Figure 2 This is a logic diagram for determining whether the output display video is qualified based on a video smoothness reference value in an embodiment of the present invention. Detailed Implementation

[0050] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.

[0051] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.

[0052] It should be noted that in the description of this invention, the terms "upper", "lower", "left", "right", "inner", "outer", etc., which indicate directions or positional relationships, are based on the directions or positional relationships shown in the accompanying drawings. This is only for the convenience of description and is not intended to indicate or imply that the device or element must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation of this invention.

[0053] Furthermore, it should be noted that, in the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0054] Please see Figure 1 and Figure 2 The diagrams shown are, respectively, a flowchart of the steps of the new communication dynamic display method based on an adaptive special effects element library according to an embodiment of the present invention, and a logic determination diagram for determining whether the output display video is qualified based on a video smoothness reference value; the embodiment of the present invention provides a new communication dynamic display method based on an adaptive special effects element library, including:

[0055] S1, Obtain information about the video to be displayed;

[0056] S2, determine the initial parameters of each special effects element based on the obtained display requirements;

[0057] S3, builds and outputs display videos;

[0058] S4, based on the frame rate of several detected time points, determines the reference value for video smoothness;

[0059] S5 determines whether the output display video is acceptable based on video smoothness reference values, including:

[0060] If the output display video is found to be abnormal, the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter, including adjusting the rendering ratio of the display video to the corresponding value, adjusting the time interval for generating special effect particles to the corresponding value, or adjusting the network bandwidth of other running programs on the terminal to the corresponding value.

[0061] Alternatively, determine that the output display video is qualified, and complete the output of the display video.

[0062] Specifically, the system acquires information about the video to be displayed; determines the initial parameters of each special effects element; constructs and outputs the display video; determines whether the output display video is qualified based on the video smoothness reference value; and adjusts the generation parameters of the display video based on the frame rate fluctuation parameter when the output display video is found to be abnormal, so as to be suitable for video special effects display on terminals with different performance. Based on the actual display situation during the detection process, the system adaptively adjusts the special effects display parameters, thereby improving the display efficiency.

[0063] Specifically, the information of the video to be displayed includes the resolution, duration, and frame rate of the video.

[0064] Specifically, in S2, determining the initial parameters of each special effect element based on the acquired display requirements includes selecting the corresponding special effect element from the special effect element library based on the user's display requirements, and determining the appearance time, end time, number of special effect particles, and number of special effect keyframes for each special effect element.

[0065] Specifically, in S3, the constructed display video includes the main video content and added special effects elements. The construction and display of the display video are carried out in real time to ensure that users can browse the video with added special effects elements in real time.

[0066] Specifically, the process of constructing the display video includes integrating the main content of the video with the determined special effects elements, adding the corresponding special effects elements to the appropriate positions in the video according to the appearance and end times of each special effects element, and determining the rendering data of the special effects.

[0067] Specifically, in S4, the process of determining the video smoothness reference value includes:

[0068] The frame rate of the output video is detected, and the average frame rate at each detection time point within the preset analysis time is calculated to obtain a reference value for video smoothness.

[0069] Specifically, there is no limitation on the specific method for detecting the frame rate. The frame rate can be obtained in real time through the frame rate detection interface of the user terminal when outputting and displaying the video. This is existing technology and will not be elaborated further.

[0070] Specifically, there are no restrictions on the selection method of the detection time nodes. They can be several randomly selected time nodes within the preset analysis period, or several time nodes with the same interval time. This will not be elaborated further.

[0071] Specifically, in S5, determining whether the output display video is qualified based on the video smoothness reference value includes:

[0072] If the video smoothness reference value is less than or equal to the first preset smoothness reference value, the output display video is determined to be abnormal, and the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter.

[0073] If the video smoothness reference value is less than or equal to the second preset smoothness reference value and greater than the first preset smoothness reference value, then the output display video is determined to be qualified based on the smoothness change parameter.

[0074] If the video smoothness reference value is greater than the second preset smoothness reference value, the output display video is deemed qualified.

[0075] Specifically, the first preset smoothness reference value C1 is selected within the range of [26fps, 33fps], and the second preset smoothness reference value C2 is selected within the range of [58fps, 63fps].

[0076] Specifically, those skilled in the art can determine the preset smoothness reference value based on the specific application scenario. It is understood that for scenarios with higher requirements for smoothness, the preset smoothness reference value should be higher. In this embodiment, preferably, for ordinary film and animation videos, the first preset smoothness reference value is 26fps, and the second preset smoothness reference value is 58fps; for game special effects videos, the first preset smoothness reference value is 33fps, and the second preset smoothness reference value is 63fps. It is understood that the selection of the preset smoothness reference value comprehensively meets the user's needs for smooth visuals in the corresponding application scenario, ensuring that the visuals present the required visual effects for the corresponding scenario. Further details are omitted here.

[0077] Specifically, when outputting the display video, the frame rate of the terminal is detected in real time within a preset analysis period. The average frame rate detected at various time points within the preset analysis period is selected to determine the video smoothness reference value. The video smoothness reference value characterizes the overall smoothness of the picture. When the video smoothness reference value is less than or equal to the first preset smoothness reference value, the frame rate is low, resulting in obvious stuttering and affecting the user's viewing experience. In this case, the constructed video is not suitable for the performance of the current user's terminal. At this time, the generation parameters of the display video for the current terminal are adjusted based on the frame rate fluctuation parameter to adjust the subsequent video construction parameters of the terminal, so that the generation parameters of the display video are adapted to the current terminal, further improving the efficiency of special effects display.

[0078] Specifically, the quality of the output demonstration video is determined based on parameters related to smoothness of change, including:

[0079] The average historical video smoothness reference value is obtained by calculating the average of several historical video smoothness reference values ​​of a single terminal.

[0080] Calculate the ratio of the current video smoothness reference value to the historical average smoothness reference value to obtain the smoothness change parameter;

[0081] If the smoothness change parameter is less than or equal to the preset change parameter, the output display video is determined to be abnormal, and the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter.

[0082] If the smoothness variation parameter is greater than the preset variation parameter, then the second preset smoothness reference value is adjusted based on the historical maximum average smoothness reference value.

[0083] Specifically, when the video smoothness reference value is less than or equal to the second preset smoothness reference value and greater than the first preset smoothness reference value, the historical average smoothness reference value of the current terminal during the output of historical special effects is obtained to determine the smoothness change parameter. The smoothness change parameter represents the difference between the current video display and the historical video display. When the smoothness change parameter is greater than the preset change parameter, the frame rate of each historical frame and the frame rate of the current video display are close. Under the current circumstances, the single terminal is already close to its performance limit. In this case, the judgment standard used to determine whether the output display video is qualified is adjusted according to the actual situation of the terminal, so that the judgment standard is more in line with the actual performance of the current terminal. This improves the compatibility and applicability of special effects display and further improves the efficiency of special effects display.

[0084] Specifically, the preset variable parameter is selected within the range [0.8, 0.9].

[0085] Specifically, the historical maximum average smoothness reference value is the maximum value among several historical video smoothness reference values ​​obtained.

[0086] Specifically, there is no limit to the number of video smoothness reference values ​​obtained from historical data to determine smoothness variation parameters. It can be understood that in order to determine the specific situation of the current user's terminal, the number of historical video smoothness reference values ​​selected should not be less than 20.

[0087] Specifically, the second preset smoothness reference value is adjusted based on the historical maximum average smoothness reference value, wherein...

[0088] The increase in the second preset smoothness reference value is inversely proportional to the historical maximum average smoothness reference value.

[0089] In this embodiment, optionally,

[0090] The historical maximum average smoothness reference value is compared with the first preset historical comparison value and the second preset historical comparison value;

[0091] If the historical maximum average smoothness reference value is less than or equal to the first preset historical comparison value, the second preset smoothness reference value will be adjusted to 0.75 times the initial second preset smoothness reference value.

[0092] If the historical maximum average smoothness reference value is less than or equal to the second preset historical comparison value and greater than the first preset historical comparison value, the second preset smoothness reference value will be adjusted to 0.83 times the initial second preset smoothness reference value.

[0093] If the historical maximum average smoothness reference value is greater than the second preset historical comparison value, adjust the second preset smoothness reference value to 0.89 times the initial second preset smoothness reference value;

[0094] The first preset historical comparison value is 45fps, and the second preset historical comparison value is 51fps.

[0095] Specifically, the selection of the first preset historical comparison value and the second preset historical comparison value, as well as the determination of the data used to correct the second preset smoothness reference value, are all determined based on experimental data and equipment performance analysis obtained from a large number of terminal devices. It is understood that those skilled in the art can adjust the values ​​according to the specific circumstances to make the judgment criteria more consistent with the actual performance of the currently used equipment, which will not be elaborated further here.

[0096] Specifically, after adjusting the second preset smoothness reference value, the output display video is re-determined to be qualified based on the video smoothness reference value. This includes determining that the output display video is abnormal when the video smoothness reference value is less than or equal to the adjusted second preset smoothness reference value, and adjusting the generation parameters of the display video based on the frame rate fluctuation parameter; and determining that the output display video is qualified when the video smoothness reference value is greater than the adjusted second preset smoothness reference value.

[0097] Specifically, the process of determining that the output display video is abnormal and adjusting the generation parameters of the display video based on the frame rate fluctuation parameter includes:

[0098] The frame rate fluctuation parameter is obtained by calculating the variance of the frame rate at each detection time node within the preset analysis time.

[0099] If the frame rate fluctuation parameter is less than or equal to the first preset frame rate fluctuation parameter, the rendering ratio of the displayed video will be adjusted to the corresponding value based on the frame rate fluctuation parameter.

[0100] If the frame rate fluctuation parameter is less than or equal to the second preset frame rate fluctuation parameter and greater than the first preset frame rate fluctuation parameter, the generation parameters of the display video are adjusted based on the abnormal interval reference value.

[0101] If the frame rate fluctuation parameter is greater than the second preset frame rate fluctuation parameter, the network bandwidth of other running programs on the terminal will be adjusted to the corresponding value based on the video smoothness reference value.

[0102] Specifically, the generation parameters of the displayed video are adjusted based on the frame rate fluctuation parameter. The frame rate fluctuation parameter represents the stuttering during video display. When the frame rate fluctuation parameter is less than or equal to the first preset frame rate fluctuation parameter, the frame rate is relatively stable, but the overall frame rate is low. In this case, due to the excessively high rendering ratio, the terminal cannot process the video in time, affecting the video display effect. At this time, the rendering ratio of the special effects constructed by the terminal for the current video is adjusted. When the frame rate fluctuation parameter is greater than the second preset frame rate fluctuation parameter, the frame rate fluctuates drastically. In this case, due to network instability and untimely data transmission, the network bandwidth of other running programs on the terminal is reduced to ensure the smooth display of the video currently viewed by the user, further improving the efficiency of special effects display.

[0103] Specifically, the first preset frame rate fluctuation parameter B1 is selected in the interval [8, 11], and the second preset frame rate fluctuation parameter B2 is selected in the interval [25, 30].

[0104] Specifically, those skilled in the art can adjust the selection of the preset frame rate fluctuation parameter according to the specific performance of the device. The higher the performance of the device, the larger the value of the preset frame rate fluctuation parameter will be, which will not be elaborated here.

[0105] Specifically, the rendering rate of the displayed video is adjusted to a corresponding value based on the frame rate fluctuation parameter.

[0106] The reduction in rendering scaling factor is inversely proportional to the frame rate fluctuation parameter.

[0107] In this embodiment, optionally,

[0108] The frame rate fluctuation parameter is compared with the first preset fluctuation comparison threshold and the second preset fluctuation comparison threshold;

[0109] If the frame rate fluctuation parameter is less than or equal to the first preset fluctuation comparison threshold, the rendering ratio of the displayed video will be adjusted to 0.71 times the initial rendering ratio.

[0110] If the frame rate fluctuation parameter is less than or equal to the second preset fluctuation comparison threshold and greater than the first preset fluctuation comparison threshold, the rendering ratio of the displayed video will be adjusted to 0.81 times the initial rendering ratio.

[0111] If the frame rate fluctuation parameter is greater than the second preset fluctuation comparison threshold, the rendering ratio of the displayed video will be adjusted to 0.92 times the initial rendering ratio.

[0112] The first preset fluctuation comparison threshold is set to 0.58B1, and the second preset fluctuation comparison threshold is set to 0.76B1.

[0113] Specifically, the generation parameters of the display video are adjusted based on the abnormal interval reference value, including:

[0114] Based on the frame rate at each detection time node within the preset analysis time, a frame rate time domain curve is plotted, the time interval between each trough value in the frame rate time domain curve is identified, the average value of each time interval is calculated, and an abnormal interval reference value is obtained.

[0115] If the abnormal interval reference value is less than or equal to the preset abnormal interval reference value, the rendering ratio of the displayed video will be adjusted to the corresponding value based on the frame rate fluctuation parameter.

[0116] If the abnormal interval reference value is greater than the preset abnormal interval reference value, the time interval for generating special effect particles will be adjusted to the corresponding value based on the ratio of the number of trough values ​​to the total number of each detection time node.

[0117] Specifically, there are no restrictions on the specific method for adjusting the generation rate of special effect particles. The time interval parameter that controls particle generation in the special effect generation code can be adjusted to reduce the total number of particles, which will not be elaborated further.

[0118] Specifically, the time interval for generating special effects particles is adjusted to a corresponding value based on the ratio of the number of trough values ​​to the total number of values ​​at each detection time point.

[0119] The ratio of the number of trough values ​​to the total number of values ​​at each detection time point is denoted as the quantity ratio.

[0120] The increase in the time interval for generating special effects particles is directly proportional to the ratio of their quantities.

[0121] In this embodiment, optionally,

[0122] The quantity ratio is compared with the first preset quantity ratio and the second preset quantity ratio;

[0123] If the quantity ratio is less than or equal to the first preset quantity ratio, the time interval for generating special effect particles will be adjusted to 1.11 times the initial time interval.

[0124] If the quantity ratio is less than or equal to the second preset quantity ratio and greater than the first preset quantity ratio, the time interval for generating special effect particles will be adjusted to 1.17 times the initial time interval.

[0125] If the quantity ratio is greater than the second preset quantity ratio, the time interval for generating special effect particles will be adjusted to 1.25 times the initial time interval;

[0126] The first preset quantity ratio is 0.2, and the second preset quantity ratio is 0.45.

[0127] Specifically, based on the video smoothness reference value, the network bandwidth of other running programs on the terminal is adjusted to the corresponding value.

[0128] The reduction in network bandwidth for other running programs is inversely proportional to the video smoothness reference value.

[0129] In this embodiment, optionally,

[0130] The video smoothness reference value is compared with the first preset smoothness comparison threshold and the second preset smoothness comparison threshold;

[0131] If the video smoothness reference value is less than or equal to the first preset smoothness comparison threshold, the network bandwidth of each other running program will be adjusted to 0.78 times the corresponding initial bandwidth.

[0132] If the video smoothness reference value is less than or equal to the second preset smoothness comparison threshold and greater than the first preset smoothness comparison threshold, then the network bandwidth of each other running program will be adjusted to 0.82 times the corresponding initial bandwidth.

[0133] If the video smoothness reference value is greater than the second preset smoothness comparison threshold, the network bandwidth of each other running program will be adjusted to 0.96 times the corresponding initial bandwidth.

[0134] The first preset smooth comparison threshold is set to 0.3C1, and the second preset smooth comparison threshold is set to 0.6C1.

[0135] Specifically, when the frame rate fluctuation parameter is less than or equal to the second preset frame rate fluctuation parameter but greater than the first preset frame rate fluctuation parameter, the abnormal interval reference value is further analyzed to adjust the generation parameters of the displayed video. The abnormal interval reference value characterizes the frame rate fluctuation pattern. When the frame rate fluctuation parameter is less than or equal to the first preset frame rate fluctuation parameter, the time interval between each trough value is small, and the frame rate drops frequently. In this case, anomalies in the special effects rendering process cause high-frequency frame rate drops. Rendering parameters are adjusted to ensure smooth video display. When the abnormal interval reference value is greater than the preset abnormal interval reference value, the abnormal interval is large, the frequency of frame rate drops is relatively low, but the drop magnitude is large. This is due to an excessive number of special effects particles, causing the terminal to fail to process them in time. In this case, the number of particles is reduced. This improves the efficiency of special effects display while ensuring that video information is accurately and timely delivered to the user.

[0136] Specifically, this solution is applicable to various scenarios requiring video effects display on devices with varying performance levels, including but not limited to online video platforms. When playing videos with effects, it automatically adjusts the effects display based on the user's device performance to ensure a smooth viewing experience. During live gaming, effects are added to the game screen, and optimizations are made based on the viewer's device performance to prevent lag. When displaying video ads, animations, and other content in mobile applications, it ensures smooth display of effects on phones with different configurations; this will not be elaborated further.

[0137] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.

[0138] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A novel method for dynamic display of communication based on an adaptive special effects element library, characterized in that, include: S1, Obtain information about the video to be displayed; S2, determine the initial parameters of each special effects element based on the obtained display requirements; S3, builds and outputs display videos; S4, based on the frame rate of several detected time points, determines the reference value for video smoothness; The process of determining video smoothness reference values ​​includes: The frame rate of the output video is detected, and the average frame rate at each detection time point within the preset analysis time is calculated to obtain the video smoothness reference value. S5 determines whether the output display video is acceptable based on video smoothness reference values, including: If the output display video is found to be abnormal, the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter, including adjusting the rendering ratio of the display video to the corresponding value, adjusting the time interval for generating special effect particles to the corresponding value, or adjusting the network bandwidth of other running programs on the terminal to the corresponding value. Alternatively, determine that the output display video is qualified, and complete the output of the display video; The process of determining whether the output display video is acceptable based on video smoothness reference values ​​includes: If the video smoothness reference value is less than or equal to the first preset smoothness reference value, the output display video is determined to be abnormal, and the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter. If the video smoothness reference value is less than or equal to the second preset smoothness reference value and greater than the first preset smoothness reference value, then the output display video is determined to be qualified based on the smoothness change parameter. If the video smoothness reference value is greater than the second preset smoothness reference value, the output display video is deemed qualified. The process of determining whether the output display video is acceptable based on smoothness variation parameters includes: The average historical video smoothness reference value is obtained by calculating the average of several historical video smoothness reference values ​​of a single terminal. Calculate the ratio of the current video smoothness reference value to the historical average smoothness reference value to obtain the smoothness change parameter; If the smoothness change parameter is less than or equal to the preset change parameter, the output display video is determined to be abnormal, and the generation parameters of the display video are adjusted based on the frame rate fluctuation parameter. If the smoothness variation parameter is greater than the preset variation parameter, then the second preset smoothness reference value is adjusted based on the historical maximum average smoothness reference value. The historical maximum average smoothness reference value is the maximum value among several historical video smoothness reference values ​​obtained; After adjusting the second preset smoothness reference value, the output display video is re-determined to be qualified based on the video smoothness reference value. This includes determining that the output display video is abnormal when the video smoothness reference value is less than or equal to the adjusted second preset smoothness reference value, and adjusting the generation parameters of the display video based on the frame rate fluctuation parameter; and determining that the output display video is qualified when the video smoothness reference value is greater than the adjusted second preset smoothness reference value.

2. The new communication dynamic display method based on an adaptive special effects element library according to claim 1, characterized in that, The second preset smoothness reference value is adjusted based on the historical maximum average smoothness reference value, where... The increase in the second preset smoothness reference value is inversely proportional to the historical maximum average smoothness reference value.

3. The new communication dynamic display method based on an adaptive special effects element library according to claim 2, characterized in that, The process of determining that the output display video is abnormal and adjusting the generation parameters of the display video based on the frame rate fluctuation parameter includes: The frame rate fluctuation parameter is obtained by calculating the variance of the frame rate at each detection time node within the preset analysis time. If the frame rate fluctuation parameter is less than or equal to the first preset frame rate fluctuation parameter, the rendering ratio of the displayed video will be adjusted to the corresponding value based on the frame rate fluctuation parameter. If the frame rate fluctuation parameter is less than or equal to the second preset frame rate fluctuation parameter and greater than the first preset frame rate fluctuation parameter, the generation parameters of the display video are adjusted based on the abnormal interval reference value. If the frame rate fluctuation parameter is greater than the second preset frame rate fluctuation parameter, the network bandwidth of other running programs on the terminal will be adjusted to the corresponding value based on the video smoothness reference value.

4. The new communication dynamic display method based on an adaptive special effects element library according to claim 3, characterized in that, Based on the frame rate fluctuation parameter, the rendering rate of the displayed video is adjusted to the corresponding value, whereby... The reduction in rendering scaling factor is inversely proportional to the frame rate fluctuation parameter.

5. The new communication dynamic display method based on an adaptive special effects element library according to claim 4, characterized in that, Adjusting the generation parameters of the display video based on abnormal interval reference values, including: Based on the frame rate at each detection time node within the preset analysis time, a frame rate time domain curve is plotted, the time interval between each trough value in the frame rate time domain curve is identified, the average value of each time interval is calculated, and the abnormal interval reference value is obtained. If the abnormal interval reference value is less than or equal to the preset abnormal interval reference value, the rendering ratio of the displayed video will be adjusted to the corresponding value based on the frame rate fluctuation parameter. If the abnormal interval reference value is greater than the preset abnormal interval reference value, the time interval for generating special effect particles will be adjusted to the corresponding value based on the ratio of the number of trough values ​​to the total number of each detection time node.

6. The new communication dynamic display method based on an adaptive special effects element library according to claim 5, characterized in that, The time interval for generating special effects particles is adjusted to a corresponding value based on the ratio of the number of trough values ​​to the total number of values ​​at each detection time point. The ratio of the number of trough values ​​to the total number of values ​​at each detection time point is denoted as the quantity ratio. The increase in the time interval for generating special effects particles is directly proportional to the ratio of their quantities.

7. The new communication dynamic display method based on an adaptive special effects element library according to claim 6, characterized in that, Based on the video smoothness reference value, the network bandwidth of other running programs on the terminal is adjusted to the corresponding value. The reduction in network bandwidth for other running programs is inversely proportional to the video smoothness reference value.

Citation Information

Patent Citations

  • Animated show method of game special effects

    CN103200177A

  • Special-effect display method and device

    CN107823881A

  • Particle rendering method and device, electronic equipment and storage medium

    CN107978014A