Photoelectric red envelope voice blessing playing time sequence intelligent control method
By collecting data on light effect attenuation curves, the startup sequence of the photoelectric red envelope was optimized, solving the problems of visual discontinuity and unpaced rhythm between light effect attenuation and startup. This resulted in visual continuity and a tight rhythm for the photoelectric red envelope playback, improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-15
- Publication Date
- 2026-04-14
AI Technical Summary
Existing photoelectric red envelope playback control methods are unable to dynamically adapt to the complex relationship between light effect decay and the activation of new light effects during continuous playback, resulting in inconsistent visual effects and a disjointed playback rhythm.
By collecting light effect attenuation curve data, extracting the coordinates of the attenuation start point, calculating the range of overlapping intervals, narrowing the attenuation judgment criteria, optimizing the start threshold range of the photoelectric red envelope, and integrating the visual transition intensity index, a stable playback timing scheme is generated.
It achieves continuity of visual effects and tightness of playback rhythm in the continuous playback of light and light red envelopes, avoids the problems of light effect superposition and abrupt switching, and enhances the user's immersion and interactive experience.
Smart Images

Figure CN121865041A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent control technology, specifically to an intelligent control method for the timing of playing photoelectric red envelope voice blessings. Background Technology
[0002] As a significant innovation in modern interactive entertainment and marketing, the photoelectric red envelope voice playback technology enhances user experience through the combination of light and sound, possessing irreplaceable value in scenarios such as holiday events and online interactions. This technology not only improves user immersion but also strengthens brand impression and emotional connection through the synergy of visual and auditory elements.
[0003] However, balancing the smoothness of visual effects with the tightness of playback rhythm when playing multiple red envelopes consecutively has become a key area requiring breakthroughs in technical optimization. Current photoelectric red envelope playback control methods often struggle to dynamically adapt to the complex relationship between residual light effects and the initiation of new light effects when handling continuous playback. Many existing solutions neglect the profound impact of the light effect decay process on the timing of subsequent playback, resulting in abrupt or excessively delayed initiation of a new round of light effects before the residual light effect has completely disappeared, disrupting the overall rhythmic continuity. This problem is not simply due to insufficient technical parameter settings, but rather a lack of in-depth consideration of the dynamic interaction between light effect decay characteristics and playback timing. Focusing on the technical challenges, the insufficient analysis and utilization of light effect decay characteristics, as a core factor affecting the rhythm of continuous playback, has led to a core contradiction in playback timing control.
[0004] The light effect decay characteristic refers to the gradual weakening of the light effect of the previous red envelope after playback ends. The duration of this process and the intensity of visual persistence directly determine the rationality of the timing of the next red envelope launch. If the decay of the previous light effect has not yet ended, the launch of the new light effect may visually overlap with the residual effect, causing confusion for the user. Conversely, waiting for the decay to completely end may result in an excessively long playback interval, affecting the overall rhythm and tightness. Therefore, how to reasonably determine the launch time of the next red envelope light effect before the light effect decay has completely disappeared has become the core challenge of technical optimization. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides an intelligent control method for the timing of playback of photoelectric red envelope voice blessings, thus solving the problems mentioned in the background technology.
[0006] To achieve the above objectives, the present invention provides the following technical solution: a method for intelligent control of the playback timing of photoelectric red envelope voice blessings, the method comprising: The light efficiency attenuation curve data of the previous photoelectric red envelope was collected, and after feature extraction and smoothing, the coordinates of the attenuation start point were determined. Based on the luminous efficacy decay curve data, the overlapping range of the previous luminous efficacy is calculated. After comparison, the attenuation judgment criteria are narrowed, and the optimized start-up threshold range is obtained. Based on the optimized start threshold range, a set of alternative start times for the next photoelectric red envelope is extracted, the impact of each alternative time on the playback compactness is evaluated, and the minimum delayed start time that meets the compactness requirement and the corresponding compactness value are determined. For the minimum delayed start time, a feasibility assessment was conducted by integrating the visual transition intensity index to start the visual transition effect earlier, thus obtaining the adjusted start time of the photoelectric red envelope. The degree of visual interference is calculated based on the adjusted start time of the photoelectric red envelope. The balance ratio between the degree of visual interference and the compactness is analyzed in combination with the compactness value. The timing configuration is confirmed to be effective, and a photoelectric red envelope playback timing scheme is generated. The stability of the timing scheme for playing photoelectric red envelopes is verified, and the effect of the timing scheme on suppressing the expansion of the overlapping interval is evaluated, so as to output the complete timing scheme for playing photoelectric red envelope voice blessings.
[0007] This invention provides an intelligent control method for the timing of audio blessing playback in photoelectric red envelopes, which has the following beneficial effects: By introducing light effect attenuation curve analysis, overlap interval quantification, and a dynamic shrinking mechanism for attenuation judgment criteria, this method can identify and quantify the potential overlap risks of light effects during continuous red envelope launches. Furthermore, it actively controls the superposition of light effects through smooth attenuation, visual transition intensity adjustment, and adaptive tightening of the launch threshold range. Compared to existing solutions that rely solely on fixed time intervals, this method can stably locate the attenuation starting point and reasonably compress the overlap interval under different light effect attenuation patterns and different terminal display jitter conditions. This avoids flickering, overlapping, or abrupt switching issues when multiple red envelopes are played, resulting in a more continuous, smooth, and predictable overall visual presentation.
[0008] By utilizing the excess visual transition intensity and introducing an early start parameter, the previously wasted visual transition space is transformed into a time compression space, thereby minimizing the start interval between red envelopes without disrupting visual continuity. This mechanism ensures that red envelope playback avoids both visual interference from being too crowded and sluggishness from being too spread out, achieving a dynamic balance between visual stability and playback compactness. After optimizing the timing of light effect playback and verifying its stability, this invention further incorporates the interaction trigger moment and the voice blessing playback moment into a unified timing coordination framework. Through adjustments to user participation, synchronization of light effects, and the coordinated sequence, the start points of multiple sequences are aggregated and holistically corrected. The resulting complete timing sequence for the playback of light-based red envelopes and voice blessings ensures a high degree of matching between light effect changes, user interaction behavior, and voice content on the timeline, avoiding issues such as premature voice, delayed interaction, or misalignment of multiple sequences. This overall collaborative control method ensures that visual feedback, interactive response, and auditory presentation maintain a consistent rhythm in continuous red envelope scenarios, significantly enhancing user immersion and participation experience. Attached Figure Description
[0009] Figure 1 This is a flowchart illustrating the intelligent control method for the timing of playing audio blessings via photoelectric red envelopes according to the present invention. Figure 2 This is a schematic diagram of an intelligent control method for the timing of playing photoelectric red envelope voice blessings according to the present invention; Figure 3 This is another schematic diagram of the intelligent control method for the timing of playing photoelectric red envelope voice blessings according to the present invention. Detailed Implementation
[0010] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0011] Example 1 Please see Figure 1 This invention provides a method for intelligent control of the playback timing of photoelectric red envelope voice blessings, the method comprising, Step 100: Collect the light efficiency attenuation curve data of the previous photoelectric red envelope, and after feature extraction and smoothing, determine the coordinates of the attenuation start point, including: By collecting the luminous efficacy decay curve data, the luminous efficacy residual time is extracted to obtain the initial value of the decay rate; The light effect decay curve data is a continuous data sequence describing the change of light effect intensity over time after the previous light effect red packet ends. The light effect intensity parameters of each frame can be directly obtained from the rendering engine. It is a time-light effect intensity mapping curve used to depict how the light effect gradually disappears. The curve implies at least time parameters, light effect intensity parameters, decay shape parameters, and noise disturbance parameters. The time parameter is the time axis of the entire process of light effect from peak to imperceptible. The light effect intensity parameter is the brightness, luminous intensity, or visual energy corresponding to each moment. The decay shape parameter refers to whether the decay is smooth, whether there is a sudden change, and whether there is a plateau segment. The noise disturbance parameter is the small fluctuation caused by terminal refresh rate and drive jitter. The duration of light effect persistence refers to the length of time from when the light effect begins to decay significantly until the light effect intensity drops to a level that is imperceptible to the eyes. It is not the total playback time, but rather the effective time window of the decay phase.
[0012] The initial value of the decay rate describes how quickly the luminous efficacy decreases in intensity during the initial stage of decay. It reflects the speed at which the luminous efficacy fades and whether there is a risk of sudden dimming. It is obtained by using the initial time interval of the decay phase as an analysis window after acquiring the luminous efficacy decay curve data of the previous photoelectric device. The change in luminous efficacy intensity within this window is differentially calculated to obtain the change in luminous efficacy intensity per unit time. This change is used as the initial value of the luminous efficacy decay rate to characterize the decreasing trend of luminous efficacy as it enters the decay phase. The initial time interval of the decay phase is a short, continuous time interval corresponding to the initial stage of decay after the luminous efficacy of the previous photoelectric device transitions from a stable output state to a continuous decay state. Based on the initial value of the decay rate, calculate the visual transition intensity index and determine the intensity transition threshold; The visual transition intensity index describes the smoothness of the transition process from visible to invisible light effects at the visual perception level. It comprehensively reflects the decay rate, residual time, and whether the user can easily perceive the light effect switching trace. It is used to determine whether the current light effect has a critical value for a usable visual transition. It is quantified by the ratio of the residual time of the light effect to the initial value of the decay rate to obtain an intensity value that reflects the visual smoothness of the light effect, i.e., the visual transition intensity index. The variation characteristics or statistical distribution of this index determine the intensity transition threshold used for decision-making. In subsequent processing, the visual transition intensity index is compared with the intensity transition threshold to determine whether the conditions for a usable visual transition are met.
[0013] The intensity transition threshold is obtained based on the mean-standard deviation method of the visual transition intensity index; By using an intensity transition threshold, the luminous efficacy attenuation curve is smoothed to obtain an optimized attenuation mode; Since the original light effect decay curve usually has slight fluctuations caused by terminal refresh jitter, brightness sampling noise and non-continuous rendering frames, these can lead to unstable judgment of decay start point, distorted rate calculation and misjudgment of visual abrupt changes. Therefore, it is necessary to eliminate short-cycle disturbances through smoothing to preserve the true decay trend. Specifically, the higher the visual transition intensity index, the stronger the smoothing, and the lower the visual transition intensity index, the more original changes are preserved. The system dynamically adjusts the smoothing intensity of the luminous efficacy attenuation curve based on the comparison between the visual transition intensity index and the intensity transition threshold. By weighted fusion of the luminous efficacy intensity of adjacent sampling points, it eliminates short-term fluctuations caused by display jitter or sampling errors, forming a stable and continuous optimized attenuation mode.
[0014] In the comparison phase between the visual transition intensity index and the intensity transition threshold, the system does not make a one-time judgment. Instead, it maps the visual transition intensity index and the intensity transition threshold to the same perceptual scale for difference analysis. Specifically, the system calculates the deviation of the current visual transition intensity index from the intensity transition threshold and determines that the current light effect attenuation process is in one of the following three states: When the visual transition intensity index is significantly higher than the intensity transition threshold, it indicates that the attenuation process is generally smooth with sufficient residual time, and the change in light effect is relatively friendly to the user's visual perception. At this time, the system determines that there is a large space for smoothing processing; when the visual transition intensity index is close to the intensity transition threshold, it indicates that the attenuation process is in a critical smoothing state, where the original change cannot be completely preserved, nor can it be excessively smoothed, requiring moderate smoothing processing; when the visual transition intensity index is lower than the intensity transition threshold, it indicates that the attenuation process itself is relatively steep or the residual time is short. Excessive smoothing may mask the true attenuation characteristics. At this time, the system only allows weak smoothing or retains more of the original change.
[0015] Based on the above comparison results, the system does not simply provide a binary judgment of whether it is smooth or not, but transforms the comparison results into a continuous control basis for subsequent smoothing processing, which is directly used to adjust the intensity of smoothing processing, thereby achieving an adaptive response to different attenuation patterns.
[0016] The mathematical expression for the optimized decay mode is: ,in, The optimized luminous efficacy attenuation curve, This is the original luminous efficacy attenuation curve. As a time node, For time intervals; The smoothing coefficient is a core dimensionless adjustment parameter that controls the strength of the smoothing process. Its essential function is to weight and fuse the changes in the original light intensity between adjacent time sampling points. When the intensity is large, the optimized luminous efficacy attenuation curve references the luminous efficacy intensity of adjacent subsequent sampling points more, causing the curve to converge towards the future trend, thus significantly reducing short-term jitter and abrupt changes. This is suitable for scenarios with smooth attenuation processes and long residual times. When the intensity is low, the optimized light effect attenuation curve retains more of the original light effect intensity at the current moment, weakening the fusion of adjacent points, thus avoiding over-correction of the true attenuation characteristics. This is suitable for scenarios with steep attenuation processes or short residual times. Its value range is limited to 0 to 1. Specifically, the system does not use a fixed constant, but dynamically determines it based on the comparison between the visual transition intensity index and the intensity transition threshold. The system first calculates the normalized difference between the visual transition intensity index and the intensity transition threshold, mapping this difference to a smoothing requirement intensity; then, based on this smoothing requirement intensity, it selects the corresponding smoothing coefficient between preset upper and lower limits. In summary, based on the comparison results between the visual transition intensity index and the intensity transition threshold, the smoothing intensity of the luminous efficacy attenuation curve is dynamically adjusted. By weighted fusion of the luminous efficacy intensity of adjacent sampling points, short-term fluctuations caused by display jitter or sampling errors are eliminated, forming a stable and continuous optimized attenuation mode.
[0017] For the obtained optimized attenuation mode, the coordinates of the attenuation start point are located. That is, after the system obtains the optimized luminous efficacy attenuation mode, it performs trend analysis on the mode. By detecting the moment when the rate of change of luminous efficacy intensity changes from a stable state to a continuous negative change, the starting time point of the luminous efficacy entering the attenuation stage is determined, and this time point is used as the coordinates of the starting point of luminous efficacy attenuation, providing a unified time reference for subsequent start-up timing calculations.
[0018] The coordinates of the decay start point are the time position at which the light effect officially transitions from a stable state to a continuous decay state.
[0019] In this embodiment, the present invention, through refined modeling and analysis of the light effect decay process of the previous photoelectric red envelope, can significantly improve the timing accuracy and visual coherence of the photoelectric red envelope voice blessing playback without increasing hardware costs. Specifically, the present invention collects light effect decay curve data, extracts the residual duration of light effect and calculates the initial value of decay rate, accurately depicting the real change trend of light effect in the early stage of decay, avoiding rough judgment based solely on the end time of playback or fixed delay method, thereby reducing the probability of problems such as abrupt changes in light effect and visual discontinuity.
[0020] Furthermore, this invention introduces a visual transition intensity index and determines the intensity transition threshold based on the statistical characteristics of this index. This enables the system to adaptively adjust the smoothing intensity of the luminous efficacy attenuation curve according to different luminous efficacy attenuation states, suppressing terminal refresh jitter and brightness sampling noise while preserving the true attenuation characteristics to the greatest extent. The optimized attenuation mode obtained in this way is stable and continuous, effectively avoiding misjudgment of the attenuation start point caused by short-term fluctuations, thereby ensuring more accurate and consistent positioning of the attenuation start point coordinates.
[0021] Based on the attenuation start coordinates determined by the optimized attenuation mode, a unified and reliable time reference is provided for calculating the subsequent photoelectric red envelope launch sequence, making the light effect transition between adjacent red envelopes more natural and facilitating a compact and smooth playback effect. For example, in a scenario where multiple photoelectric red envelopes are displayed continuously, if the light effect of the previous red envelope experiences a momentary brightness fluctuation due to terminal jitter, traditional methods may misjudge that it has ended and prematurely trigger the next red envelope; however, this invention, through smoothing processing and attenuation start location, can identify the true attenuation start moment, allowing the next red envelope to launch during the natural fading of the previous light effect, thus creating a smooth and continuous blessing playback experience in the user's visual perception.
[0022] Example 2 Please refer to Figure 2 Specifically: Step 200: Based on the luminous efficacy attenuation curve data, calculate the overlapping range of the previous luminous efficacy, compare it, shrink the attenuation judgment criteria, and obtain the optimized start-up threshold range, including: The attenuation rate value is obtained by using the coordinates of the attenuation start point and the duration of the light effect residue, and the overlapping range is obtained by combining it with the start time of the next red envelope. After determining the starting point of luminous efficacy decay, the overall change amplitude of the previous luminous efficacy within the decay interval is normalized by combining the corresponding luminous efficacy residual duration, thereby obtaining the decay rate value that characterizes the decreasing trend of luminous efficacy intensity per unit time, which is used to calculate the subsequent luminous efficacy superposition time sequence.
[0023] The decay rate value refers to the average decrease in luminous efficacy intensity per unit time during the decay phase of the previous photoelectric red packet. It is used for time-series estimation of the overall effective decay rate. It is obtained by subtracting the lowest perceptible luminous efficacy at the end of the residual period from the luminous efficacy intensity at the beginning of decay, and then dividing the result by the luminous efficacy residual time. The overlapping range of the previous light effect is a time interval concept. It refers to the time interval during which the previous light effect is still in a perceptible decay state and may visually overlap with the new light effect when the next light effect is activated. It is not the overlapping area, but the overlapping risk interval in the time dimension. Assuming the next red envelope launch time is The decay of the previous red envelope from In the beginning, At any given moment, the remaining intensity of the previous luminous effect can be estimated from the decay rate, i.e. , The result represents the overlap range, indicating that the earlier the startup, the larger the overlap range.
[0024] Based on the decay rate value, the decay process of the previous luminous effect is time-mapped. By substituting the time interval between the candidate start time and the decay start point into the decay model, the effective overlap time range that the previous luminous effect may still exist at the start time is calculated, thus obtaining the luminous effect overlap interval range.
[0025] For the overlapping interval range, a preset threshold limit is determined. If the overlapping interval range exceeds the preset threshold limit, the attenuation standard is contracted to obtain the attenuation standard contraction result. The preset threshold limit refers to the maximum time that the system can tolerate for the superposition of light effects. If this value is exceeded, users will clearly perceive the superposition of light effects and the visual continuity will decrease. The shrinkage attenuation standard is designed to raise the requirements for judging the degree of attenuation completion, making the system more conservative in assuming that the previous luminous effect has not ended. In other words, if the brightness was originally reduced to 20% to be considered attenuated, it must be reduced to 10% after shrinkage to be considered complete.
[0026] The formula for the attenuation standard contraction result is: To attenuate the standard shrinkage result, The original attenuation judgment standard, The shrinkage coefficient (0 < <1); When the detected light effect overlap range exceeds the system's preset threshold limit, the system introduces a contraction coefficient to tighten the original attenuation judgment standard, thereby increasing the judgment requirements for the degree of light effect attenuation completion and obtaining the attenuation standard contraction result, which is used for subsequent visual transition control.
[0027] Using the attenuation standard shrinkage results, the visual transition intensity index is smoothed and the smoothing mode is adjusted. The duration of the fused light effect residue is adjusted by adjusting the smoothing mode, and coordinate positioning data and light effect mode adjustment parameters are obtained. The core idea behind smoothing mode adjustment is that when the risk of overlap is greater and the attenuation criteria are more stringent, the visual transition intensity must be compressed and flattened, rather than simply scaled.
[0028] The specific formula for the visual transition intensity index adjusted through the smoothing processing mode is as follows: , This is the visual transition intensity index adjusted through a smoothing processing mode. This is the original visual transition intensity index. Here is the smoothing attenuation factor; the formula for calculating the smoothing attenuation factor is: ,in The smaller the value of the attenuation standard shrinkage result, the more stringent the judgment. This refers to the duration of light residue. The value represents the proportion of light effect overlap in the entire residual process. The larger the value, the easier it is to cause visual conflict. When the overlap is more severe, the smoothing attenuation factor is smaller. When the attenuation standard is tightened, the smoothing attenuation factor is smaller. After obtaining the original visual transition intensity index, the attenuation standard contraction result is introduced as a constraint factor, and a smoothing adjustment factor is constructed by combining the proportion of the light effect overlap interval in the residual duration. By compressing and adjusting the original visual transition intensity, the adjusted visual transition intensity is obtained, thereby reducing the risk of visual abrupt changes under the light effect superposition condition.
[0029] The system uses the starting point of light effect decay as the starting coordinate of smooth decay, and performs reverse mapping of the light effect residual time according to the adjusted visual transition intensity to determine the end time of smooth decay and the corresponding light effect intensity value, thereby generating coordinate positioning data in the time-light effect intensity coordinate system for controlling the light effect change process.
[0030] Coordinate positioning data is a set of coordinate points in the time-luminous efficacy intensity coordinate system used to mark key attenuation locations, such as new attenuation start points and smooth transition end points; The lighting effect mode adjustment parameters are a set of parameters that control the shape of the lighting effect curve and are used to control subsequent lighting effect output, such as time stretching parameters and intensity compression parameters; the time stretching parameter is... The strength compression parameter is 1- ; Based on the adjusted visual transition intensity, the system calculates the time stretching parameter used to control the rhythm of light effect changes and the intensity compression parameter used to limit the amplitude of light effect changes, and uses the two as light effect mode adjustment parameters for curve shape control in the subsequent light effect output process.
[0031] Based on the coordinate positioning data and the adjustment parameters of the light effect mode, the light effect sequence interval is fused, and the optimized threshold range is determined by weighted summation of the light effect sequence intervals, thus obtaining the optimized start-up threshold range.
[0032] The light effect sequence interval refers to the candidate range of the interval between two adjacent photoelectric red envelopes in the time dimension; The light effect sequence interval refers to the default start interval between two adjacent red packets when visual smoothing and overlap risks are not considered; the fused light effect sequence interval unifies the safety interval in the time dimension and the buffering requirements in the visual dimension into a single start interval model. The formula for determining the optimal threshold range by weighted summation of light effect sequence intervals is as follows: ,in, The interval between the fused light effect sequences This refers to the smoothed decay time component, which is the difference between the start and end points of smoothed decay. The mode adjustment compensation component is the product of the time stretching parameter and the luminous efficacy persistence duration. It is the basic sequence interval component, i.e., the optical effect sequence interval; , and The contribution coefficient for the interval. + + =1, specifically This represents the constraint weight of natural luminous efficacy decay on the start-up interval. This represents the additional buffer weights introduced by the visual smoothing strategy. Constraint weights that represent system rhythm or business continuity; The optimized start-up threshold range is defined as the upper and lower bounds of the time interval during which the next photoelectric red envelope can be started, under the conditions of satisfying light efficiency attenuation, visual smoothness, and overlap constraints. The lower bound of the optimized startup threshold range is: The upper limit of startup is , To enable the tolerance factor, its value must be greater than 0; To activate the lower bound; The system obtains the time component required for the previous light effect to complete its smooth decay based on coordinate positioning data, and combines it with the visual buffer time component derived from the light effect mode adjustment parameters. This is then fused with the original light effect sequence interval, and the fused light effect sequence interval is obtained through a weighted summation method. Based on this, using the light effect decay start point as a benchmark, the earliest and latest times when the next photoelectric red envelope can be activated are determined, thus forming an optimized activation threshold range. This step is used to quantify in advance the time interval during which the previous light effect may still interfere with vision before the next red envelope is activated, and dynamically tighten the activation judgment criteria accordingly to avoid visual abruptness caused by the superposition of light effects. In this embodiment, the present invention achieves refined control over the launch timing of photoelectric red envelopes by quantitatively modeling and dynamically constraining the overlap risk during the light effect attenuation process. This effectively reduces the visual abruptness caused by the superposition of adjacent light effects, improving overall playback continuity and user visual comfort. Specifically, based on determining the light effect attenuation starting point, the present invention calculates the attenuation rate value by combining the light effect residual duration and maps the candidate launch time of the next red envelope into the attenuation model. From the time dimension, it accurately identifies the overlapping range where the previous light effect is still in a perceptible state, transforming the risk of light effect superposition from empirical judgment into a calculable time interval constraint.
[0033] When the detected overlap range of light effects exceeds the system's tolerable threshold, this invention introduces an attenuation standard contraction mechanism to dynamically tighten the criteria for determining the completion of light effect attenuation. This allows for a more conservative assessment that the previous light effect has not yet ended in high-overlap-risk scenarios, avoiding visual conflicts caused by premature initiation. Simultaneously, based on the attenuation standard contraction results, the visual transition intensity index is smoothed and adjusted, compressing and flattening the visual transition intensity as the overlap risk increases, rather than simply scaling linearly. This significantly reduces the probability of visual abrupt changes under overlapping light effects conditions.
[0034] Furthermore, this invention utilizes the adjusted visual transition intensity to reverse-map the light effect persistence process, generating coordinate positioning data for key attenuation nodes, and calculating time stretching and intensity compression parameters as light effect mode adjustment parameters. Based on this, the smooth attenuation time component, mode adjustment compensation component, and basic light effect sequence interval are weighted and fused to obtain a fused light effect sequence interval, thus forming an optimized start threshold range that simultaneously satisfies the requirements of light effect attenuation, visual smoothness, and business rhythm. For example, in a scenario of continuously sending red envelopes, if the light effect of the previous red envelope attenuates slowly and the next red envelope is triggered quickly, the traditional fixed interval method easily leads to light effect overlap. This invention can identify this overlap risk and automatically extend the start lower bound, ensuring that the next red envelope is triggered only after the previous light effect has completed smooth attenuation, thus creating a natural visual transition and significantly improving the user experience.
[0035] Example 3 Please refer to Figure 3 Specifically: Step 300: Based on the optimized start threshold range, extract the set of candidate start times for the next photoelectric red envelope, evaluate the impact of each candidate time on the playback compactness, and determine the minimum delayed start time that meets the compactness requirements and the corresponding compactness value, including: Obtain a set of candidate launch times from the optimized launch threshold range, and adjust the playback sequence by merging the set of candidate launch times to obtain the adjusted time sequence; The candidate startup time set refers to a set of candidate startup time points obtained by discrete sampling according to the system's time resolution within the optimized startup threshold range. The formula for constructing the candidate startup time set is: Let the minimum system time resolution be... ,but ,in, For the set of alternative start times, To activate the lower bound, For discrete sampling numbers, This is the end point of discrete sampling; After obtaining the optimized startup threshold range, the system discretizes the range according to the terminal's time resolution to generate multiple candidate startup times within the threshold range, forming a set of alternative startup times for subsequent compactness evaluation.
[0036] Playback sequence adjustment involves realigning the entire red envelope playback timeline at the candidate start time to ensure the continuity of the timing with the preceding and following red envelopes. The adjusted time series is constructed by each candidate start time, resulting in... ,in, This is the adjusted time series. This is the result constructed for each candidate start time. For a single alternative start time, For playback sequence index, The standard playback cycle for a single red envelope refers to the baseline time from the start to the end of playback for a red envelope, without considering overlapping light effects and visual smoothness control. The system uses each alternative start time as the starting baseline for the playback sequence and adjusts the subsequent red envelope playback cycles accordingly to obtain the adjusted time sequence corresponding to that start time, which is used to evaluate the overall playback rhythm.
[0037] For the adjusted time series, the degree of compactness impact is obtained, and the impact index after avoiding light effect overlap is determined by fusing the degree of compactness impact with the light effect overlap. The impact of compactness is an intermediate evaluation metric used to measure the time wastage of the current startup scheme compared to an ideal zero-latency startup. Its calculation formula is as follows: ,in, The higher the value, the less compact the material. For the ideal start time, i.e., the start lower bound. ; The system uses the earliest allowed start time as the ideal benchmark and calculates the delay ratio of each alternative start time relative to this benchmark, thereby quantifying the impact of different start schemes on playback compactness.
[0038] The concept of overlapping light effects means that when the risk of overlapping light effects at a certain startup time is high, a penalty correction is applied to its compactness evaluation. The formula for calculating the impact index after avoidance is: ,in, To avoid affecting subsequent indicators, The system introduces the risk of light effect overlap as a correction factor after obtaining the degree of impact of compactness, and amplifies the compactness evaluation results to form an index that avoids the impact of light effect overlap while considering both playback compactness and light effect safety.
[0039] The formula for calculating the risk of light effect overlap is: , The overlapping range of different candidate start times; The activation timing of the red envelope is obtained by using the impact index after avoidance. If the activation timing of the red envelope exceeds the preset threshold, visual smoothness control is integrated to obtain the set of timings after control. The system compares the impact indicators after avoidance with the preset activation threshold, and selects alternative launch times with an acceptable impact level as the red envelope activation time. The red envelope activation time is the candidate time point that the system determines can be officially triggered for red envelope playback logic. Visual smoothness control is a control strategy that further delays the start-up time in exchange for improved continuity of light effect changes; The formula for the timing set after control is: Let the visual smoothness compensation amount be... ,but: ,in, The visual smoothness compensation amount, also known as the time compensation amount introduced by visual smoothness control, is a delay time calculated based on the duration of light effect persistence. It's used to smooth the transition between adjacent red packet light effects. This time is used for the overall translation start-up moment, rather than changing the internal playback rhythm of the red packet; each Each corresponds to a possible red envelope launch scheme; The visual smoothness compensation coefficient is used to characterize the proportion of time compensation that needs to be introduced on the basis of the original startup time to ensure the continuity of visual changes under the current conditions of light effect attenuation and overlap risk. It is a dimensionless proportional coefficient. The larger it is, the more the system tends to delay the startup to obtain higher visual smoothness. The controlled timing set is a new set of start times formed by introducing visual smoothness compensation time on the basis of the original candidate start time set. It is used to replace the original candidate start time set in subsequent sorting and filtering. A set of alternative start times; When the impact index corresponding to the candidate activation timing exceeds the allowable range, the system introduces time compensation related to the duration of light effect persistence to make an overall translational adjustment of the start time, thereby generating a set of control timings that meet the requirements of visual smoothness.
[0040] Based on the controlled timing set, obtain the delay minimization parameter, and determine the sorted delay timing by fusing the timing priority order through the delay minimization parameter; The latency minimization parameter refers to the amount of latency caused by the current candidate startup time relative to the earliest allowed startup time, i.e. This parameter quantifies how much the start time is delayed and its direct impact on playback tightness. The smaller the delay, the more beneficial the start time scheme is for maintaining playback tightness. As a core evaluation criterion for sorting and filtering start times, it prioritizes start times that are earlier, while meeting visual and safety constraints.
[0041] The time-priority sorting rule refers to sorting the start times after all controls according to their delay relative to the ideal start time, from smallest to largest. This ensures that start times with smaller delays have higher priority in the sorting results. This sorting rule ensures that the system prioritizes more compact playback schemes, while schemes with large delays are not selected first.
[0042] The sorted delay time refers to the startup time sequence formed after processing by the time priority sorting rule. It is used to reflect the relative priority of each candidate startup scheme in the compactness dimension, and the system's preference order for startup timing among multiple feasible schemes.
[0043] For the sorted delay time, obtain the compactness value, and use the compactness value to fuse the sequence interval calibration amount to determine the minimum delay start time that meets the compactness requirement and the corresponding compactness value.
[0044] The formula for obtaining the compactness value is: ,in, This is a compactness value; the closer the value is to 1, the more compact it is. To avoid impacting future indicators; The formula involved in the sequence interval calibration is: , The sequence interval calibration is used to measure the deviation between the actual time interval between two adjacent red packets and the system's standard playback interval under the current startup scheme. It reflects whether the playback rhythm has been lengthened or compressed and whether the current startup moment has disrupted the rhythmic uniformity of the overall sequence. This represents the time interval between the actual start times of two adjacent red envelopes. It means the real distance between the current red envelope and the previous red envelope on the time axis. This quantity does not consider the ideal period and only reflects the real time sequence relationship.
[0045] This step sorts the start times after control by delay and selects the start time with the smallest delay as the final red envelope activation time under the condition of meeting the compactness threshold constraint. At the same time, it outputs the compactness value corresponding to the start scheme to balance the compactness of the playback rhythm and the visual continuity.
[0046] In this embodiment, the present invention constructs a set of candidate launch times within the optimized launch threshold range and performs a joint evaluation of the compactness and light efficiency safety of each candidate time. This achieves refined screening and sorting of the launch timing for the photoelectric red envelope, thereby minimizing launch delay and improving the compactness of the overall playback rhythm while ensuring visual continuity. Specifically, the present invention performs discrete sampling on the launch threshold range based on the system time resolution to form multiple candidate launch times. The red envelope playback timeline is then reconstructed using each candidate time as a benchmark to obtain the corresponding adjusted time sequence, making different launch schemes comparable under a unified playback cycle model.
[0047] In the compactness assessment process, this invention uses the earliest permissible start time as the ideal benchmark, quantifies the delay ratio of each alternative start time relative to this benchmark, forms the degree of compactness impact, and further introduces a light effect overlap risk as a penalty factor to correct the compactness evaluation, resulting in an avoidance post-impact index that simultaneously reflects the risk of time waste and visual overlap. This approach avoids the shortcomings of making decisions solely based on start time while ignoring light effect safety, making the selection of start-up schemes more comprehensive and reliable.
[0048] When the impact metrics of candidate launch schemes exceed a preset threshold, this invention introduces a visual smoothness compensation amount related to the duration of light effect persistence to perform an overall translational adjustment of the launch time, generating a controlled set of timings. This improves the transition continuity between adjacent light effects without disrupting the internal playback rhythm of the red envelope. Subsequently, the system prioritizes the controlled launch times based on a delay minimization parameter and, under the condition of satisfying the compactness threshold constraint, selects the launch time with the smallest delay as the final red envelope activation timing, while outputting the corresponding compactness value to characterize the rhythmic compactness of the scheme. For example, in a scenario where multiple red envelopes are sent consecutively, if a candidate launch time has a small delay but a high risk of light effect overlap, a traditional scheme might directly use that time. However, this invention penalizes and corrects its compactness and introduces visual compensation, ultimately selecting a launch time with a slightly increased delay but a smoother visual experience, thus achieving a playback effect that is almost not slower but smoother in the user's perception.
[0049] Example 4 Please refer to Figures 1 to 3 Specifically: Step 400: For the minimum delayed start time, a feasibility assessment is conducted by integrating the visual transition intensity index to start the visual transition effect earlier, resulting in the adjusted photoelectric red envelope start time, including: Obtain the adjusted visual transition intensity index corresponding to the minimum delayed start time, and obtain the intensity optimization index by integrating the start time optimization. The meaning of obtaining the visual transition intensity from the minimum delay start time is to use the minimum delay start time as a reference point to evaluate whether the previous light effect corresponding to that time is still within the transition range that can be continuously perceived by the visual system.
[0050] The formula for obtaining the adjusted visual transition intensity index corresponding to the minimum delayed start time is: ,in, The adjusted visual transition intensity index corresponds to the minimum delayed start time. The closer it is to the later stage of decay, the weaker the available visual transition. The difference between the minimum delayed start time and the previous luminous efficacy decay start time; Minimum startup delay; The system uses the minimum delayed start time as a time reference point and maps it to the decay process of the previous light effect. By combining the adjusted visual transition intensity index with the relative position of the start time in the residual duration, the effective visual transition intensity corresponding to the start time is calculated for subsequent feasibility assessment.
[0051] It should be noted that startup time optimization is not about reselecting a time point, but rather about assessing whether there is still room for optimization in moving forward from the current startup time. The intensity optimization metric is used to answer the question: At this moment, if we act a little earlier, can vision still cover the target? The formula for defining the intensity optimization metric is: ,in, The strength optimization index reflects whether the current start time is still in the visual transition surplus zone. A value greater than 1 indicates a surplus, a value equal to 1 indicates that it is in a critical state, and a value less than 1 indicates that it cannot be started prematurely. The reference visual transition strength set for the system, i.e., the minimum available strength; The process for optimizing startup time is as follows: after obtaining the visual transition intensity corresponding to the minimum delayed startup time, the system normalizes the intensity with the preset reference visual transition intensity to form an intensity optimization index for judging whether the conditions for early startup are met.
[0052] If the intensity optimization index is higher than the preset optimization threshold, it means that the visual transition is strong at this time. The user's brain will automatically connect the two light effects before and after. If the start is slightly earlier, it will not be perceived as abrupt. The transition effect is then utilized to obtain the early start parameter. The true meaning of blending transition effects is to transform the visual transition margins that would otherwise be wasted into time-compressed space.
[0053] The advance start parameter is the amount of time that allows the start time to be moved forward without disrupting visual continuity. Its calculation formula is: ,in, To enable parameters in advance, In order to utilize the coefficient in advance, To optimize the strength indicators, The preset optimization threshold, also known as the early start threshold, is greater than or equal to 1, which indicates the minimum condition under which the system considers it safe to use visual transitions for early start.
[0054] When the intensity optimization index is higher than the set threshold, the system calculates the amount of time that can be used in advance based on the visual transition margin, thereby generating early start parameters for reverse adjustment of the subsequent start time.
[0055] Based on the advance start parameters, the light effect synchronization coordination amount is obtained, and the minimum adjustment of the fusion delay is determined by the light effect synchronization coordination amount to determine the start sequence after coordination. The light effect synchronization coordination quantity is a coordination result quantity used to describe the degree of alignment of the light effects before and after early start-up in the time and intensity dimensions. Its calculation formula is as follows: ,in, The value of luminous efficacy synchronization coordination is closer to 1, indicating better coordination. After introducing the advance start parameter, the system evaluates the degree of synchronization of luminous efficacy in the time dimension by calculating the proportion of the advance time to the residual luminous efficacy time, thereby obtaining the luminous efficacy synchronization coordination value.
[0056] Minimum adjustment of fusion delay means that, even when an earlier start time is already allowed, we still try to get as close as possible to the original minimum delay start time.
[0057] The coordinated start sequence is a new start time sequence formed by realigning the red envelope playback sequence with the coordinated start time as the baseline. The coordinated start time is the result of subtracting the early start parameter from the minimum delayed start time. After calculating the early start parameters, the system reverse-corrects the minimum delayed start time and uses the corrected time as the new sequence reference to generate a coordinated late start sequence, so as to ensure that early start does not disrupt the overall playback rhythm.
[0058] Based on the coordinated start sequence, the photoelectric red envelope start time after the red envelope sequence fusion and adjustment is obtained. That is, the coordinated start sequence is fused as a whole to ensure the playback order, interval and visual continuity of multiple red envelopes, forming a final set of selectable adjustment times. From the final set of selectable adjustment times, the start time that meets all constraints is selected as the final execution time. This time is the adjusted photoelectric red envelope start time. The red envelope sequence fusion is to align and integrate the coordinated start sequence with the existing red envelope playback sequence to avoid local advances causing overall timing misalignment.
[0059] The adjusted start time of the photoelectric red envelope refers to the final start time point determined after sequence fusion and time correction, under the conditions of meeting the requirements of playback compactness, visual transition intensity constraints, and multi-red envelope timing coordination.
[0060] After obtaining the coordinated start sequence, the system performs sequential mapping and time alignment of the start times of multiple photo-based red envelopes to obtain the red envelope sequence fusion result, ensuring the temporal continuity and rhythm consistency between each red envelope, and finally determining the adjusted start time used to trigger the playback of the next photo-based red envelope.
[0061] In this embodiment, based on the already determined minimum delayed start time, the present invention introduces an adjusted visual transition intensity index to reassess the feasibility of the start time, thereby exploring the visual transition margin and optimizing the timing of the red envelope launch. By mapping the minimum delayed start time to the decay process of the previous light effect and combining it with its relative position in the residual light effect duration, the effective visual transition intensity corresponding to that moment is calculated, avoiding the shortcomings of ignoring the characteristics of human eye perception based solely on time constraints.
[0062] Furthermore, this invention constructs an intensity optimization index to normalize and compare the visual transition intensity at the current startup moment with the minimum usable intensity set by the system, in order to determine whether the visual conditions for early startup are still met. When the intensity optimization index is higher than a threshold, the system does not reselect the startup point, but instead converts the unused surplus portion of the visual transition into a compressible time space, calculates the early startup parameters, and moves the startup moment forward without disrupting visual continuity.
[0063] Based on this, the present invention uses the light effect synchronization coordination amount to align and evaluate the light effects before and after the early start, quantifies the relationship between the advance magnitude and the residual duration of the light effect, and maintains the constraint of the minimum delay principle while allowing for early start, generating a coordinated start sequence. This sequence is re-aligned with the red envelope playback timeline based on the corrected start time, ensuring that local advance does not cause overall rhythm misalignment.
[0064] Finally, by merging the coordinated startup sequence with the existing red envelope playback sequence, the system uniformly corrects the startup order and interval in multi-red envelope scenarios, forming an adjusted photoelectric red envelope startup time that meets the constraints of compactness, visual transition intensity, and sequence consistency, for actual triggering playback. For example, when the previous red envelope light effect is still in the later stage of smooth decay but still has a certain visual transition margin, the traditional solution will strictly wait for the minimum delay moment to start. However, this invention can use this transition margin to appropriately shift the startup time forward by tens of milliseconds, so that the user perceives that the red envelope appears with almost no waiting connection, while not producing abrupt light effects, thereby significantly improving the overall interactive smoothness and rhythm.
[0065] Example 5 Please refer to Figures 1 to 3 Specifically: Step 500: Calculate the visual interference level based on the adjusted start time of the photoelectric red envelope, analyze the balance ratio between the visual interference level and the compactness value, confirm the timing configuration is effective, and generate a photoelectric red envelope playback timing scheme, including: The degree of visual interference is obtained from the adjusted start time. The degree of visual interference is then fused with the compactness numerical analysis. The fusion method uses a weighted average to calculate the ratio of interference to compactness, and the balance ratio is obtained. The degree of visual interference obtained from the adjusted start time is to assess the intensity of visual conflict between the final determined start time and the previous light effect residue and adjacent red envelope light effects. In other words, the start time has been determined, and the question is whether starting at this time will be dazzling, too close, or overlapping. Visual interference level is a quantitative indicator used to characterize the degree of conflict between the current red envelope light effect and adjacent light effects in terms of time and intensity at the adjusted launch time. Its calculation formula is as follows: ,in, To the degree of visual interference, The number of light effects adjacent to the current red envelope. Numbering adjacent light effects For the current start time and the number The time overlap or adjacent intervals of adjacent light effects; For reference time scale, i.e. system calibration value, The brightness or intensity value of adjacent light effects. L represents the current light intensity of the red envelope. max To maximize the light effect intensity, the entire index is made dimensionless. After determining the adjusted start time, the system backtracks the light effect state before and after that time, calculates the overlap or adjacent intervals of the current light effect and adjacent light effects on the time axis, and combines the light effect intensity difference to quantify and accumulate the interference generated by each adjacent light effect, thereby obtaining the visual interference degree used to characterize the visual conflict degree at the current start time.
[0066] The balance ratio is used to characterize how much visual cost is paid for compactness. The larger the compactness value, the more compact the playback and the faster the pace. The greater the degree of visual interference, the easier it is to generate visual conflict. The system performs joint analysis on the visual interference level corresponding to the adjusted startup time and the corresponding compactness value, and calculates the ratio between interference cost and compactness benefit by weighted averaging, thereby obtaining a balance ratio to characterize the overall superiority or inferiority of the current timing configuration.
[0067] For the balance ratio, a preset balance threshold is obtained for judgment, that is, it is obtained by the mean standard deviation method. If the balance ratio is lower than the preset balance threshold, the fusion time sequence configuration is confirmed. The configuration confirmation is obtained by comparing the degree of interference with the time interval to obtain the effective configuration index. Configuration confirmation refers to determining whether the current startup configuration still maintains sufficient playback tightness within a visually acceptable range.
[0068] The effective configuration metric is used to identify whether the current timing configuration meets the system's visual-rhythm integration requirements. Its calculation formula is as follows: ,in, To effectively allocate indicators, For the balance ratio, To balance the threshold, To the degree of visual interference, The time interval between adjacent red packets is used as the balance ratio. When the balance ratio is lower than the preset balance threshold, the system further compares the visual interference level with the time interval between adjacent red packets to determine whether the interference can be digested by the existing interval, thereby generating an effective configuration index to indicate whether the current time configuration is effective.
[0069] Based on effective configuration indicators, the timing of red envelope interactions is optimized to obtain the optimized interaction trigger time. Combined with the light effect synchronization coordination amount, the coordinated playback sequence is determined. Red envelope interaction timing optimization refers to aligning the trigger order of red envelope interaction behaviors based on the premise that the timing of light effect playback is feasible. Red envelope interaction behaviors include clicks, voice, and animations; the calculation formula is as follows: ,in, For the optimized interaction trigger time, This is the time for the light effects to play. Adjust the amount for interaction delay. To effectively allocate indicators; The interaction delay adjustment is used to correct the time offset between the red envelope interaction and the light effect playback, ensuring that the interaction is visually synchronized with the changes in the light effect. After confirming that the current timing configuration is valid, the system assesses the allowable time offset range between the light effect and the interaction based on the degree of visual interference, and determines the interaction delay adjustment amount to correct the interaction trigger moment, provided that it does not exceed the maximum synchronization error.
[0070] The light effect playback time refers to the actual time point used to trigger the playback of the current photoelectric red envelope light effect after the aforementioned startup time optimization and sequence coordination are completed. After completing the minimum delay selection, visual transition utilization, and multi-red envelope timing coordination, the system uses the determined adjusted photoelectric red envelope startup time as the actual playback time of the current red envelope light effect.
[0071] The light effect synchronization coordination quantity is used to characterize the degree of synchronization between light effect playback and red envelope interaction on the time axis. The system obtains the light effect synchronization coordination quantity to characterize the degree of synchronization between the two by calculating the time difference between the light effect playback time and the interaction trigger time.
[0072] The coordinated playback sequence refers to the arrangement order of multiple red envelope light effects and interactive behaviors on the timeline, under the conditions of satisfying visual interference, playback compactness and interactive synchronization constraints.
[0073] When the effective configuration index indicates that the current timing configuration is feasible, the system jointly optimizes the timing of the red envelope light effect playback and the timing of the interaction trigger. By synchronously coordinating and adjusting the time difference between the light effect and the interaction, the interactive behavior is made to be visually consistent with the changes in the light effect, thus forming a coordinated playback sequence.
[0074] Based on the coordinated playback sequence, a set of red envelope sequences is obtained. The start time is adjusted by merging the red envelope sequence set. The set merges the start points of multiple sequences to obtain the photoelectric red envelope playback timing scheme.
[0075] The red envelope sequence set is the set of start times formed by multiple red envelopes in a coordinated playback sequence.
[0076] The start point of multiple sequences refers to the time position determined by different time control sequences during the control of the photoelectric red envelope playback process, which is used to trigger the start of the corresponding sequence.
[0077] Different time control sequences include light effect playback sequence, interactive trigger sequence, and red envelope display sequence; The system integrates the start times of multiple red envelopes according to the coordinated playback sequence, eliminates timing conflicts caused by local adjustments, and generates a timing scheme for controlling the sequential playback of photoelectric red envelopes.
[0078] This step involves jointly evaluating the degree of visual interference and the tightness of playback at the adjusted start time. Under the premise of confirming that the visual-rhythm balance is acceptable, the lighting effect and interactive timing are optimized synchronously, and finally a photoelectric red envelope playback timing scheme for actual implementation is generated.
[0079] In this embodiment, after determining the adjusted start time of the photoelectric red envelope, the present invention further verifies the start time from two dimensions: visual perception and playback rhythm. By quantifying the degree of visual interference and combining the compactness value to calculate the balance ratio, the present invention achieves an objective judgment on the effectiveness of the timing configuration, avoiding the problem of light effect over-flash or visual glare caused by simply pursuing a compact playback.
[0080] Specifically, at the final startup moment, the system retrospectively analyzes the states of adjacent red packet light effects before and after the initial effect, comprehensively analyzing the intensity of conflict between the current light effect and adjacent light effects in terms of temporal overlap, proximity intervals, and brightness differences. This analysis forms a visual interference level index, which accurately reflects the visual stress that the user may perceive at that moment. Simultaneously, this interference index is weighted and fused with the aforementioned compactness value to obtain a balance ratio. This ratio quantifies the proportional relationship between compactness benefits and visual costs, thereby preventing compactness evaluation from deviating from the actual visual experience.
[0081] Based on this, the present invention judges the balance ratio by a preset balance threshold. Only when the interference cost is within an acceptable range will the system further combine the timing interval of adjacent red packets to confirm whether the current configuration is effective and generate an effective configuration index. This mechanism ensures that even when the playback pace is fast, as long as the existing time interval can absorb visual interference, the system can still accept the startup scheme, thereby improving the flexibility and robustness of timing control.
[0082] Once the configuration is confirmed to be effective, the system jointly optimizes the playback of the red envelope light effects and the interactive triggering behavior. It adjusts the interactive triggering time by adjusting the interaction delay, ensuring that interactive behaviors such as clicks, animations, or voice changes are time-consistent with the light effect changes, forming a coordinated playback sequence. Finally, by aggregating and integrating the light effect playback sequences and interactive triggering sequences of multiple red envelopes, a photoelectric red envelope playback timing scheme is generated for actual execution, ensuring visual continuity, a tight rhythm, and natural interaction during continuous playback of multiple red envelopes. For example, in scenarios with a short interval between the launch of two red envelopes, if the system detects that an early launch, while increasing the tightness, results in brightness and timing too close to the previous light effect, the visual interference level increases, the balance ratio exceeds the limit, and the system will automatically determine that the configuration is invalid. However, when the brightness difference is small and the interval is sufficient to absorb the interference, the launch scheme can be retained, and the interactive triggering time can be fine-tuned simultaneously, allowing the user to perceive a continuous and natural red envelope playback effect.
[0083] Example 6 Please refer to Figures 1 to 3 Specifically: Step 600: Verify the stability of the timing scheme for playing the photoelectric red envelope, evaluate the effect of the timing scheme on suppressing the expansion of the overlapping interval, and output the complete timing scheme for playing the photoelectric red envelope voice blessing, including: Temporal stability indices are obtained from the red envelope playback sequence, and overlap suppression parameters are fused using the temporal stability indices. The fusion adopts a parameter weighting method to obtain the suppression evaluation value. The timing stability index is used to characterize whether the time interval between the start times of each red envelope remains balanced and whether there is abnormal stretching or compression under the aforementioned photoelectric red envelope playback timing scheme, thereby reflecting the ability of the playback timing to suppress the expansion of the overlapping interval. Its calculation formula is as follows: ,in, This is a time series stability index, with values ranging from 0 to 1; the larger the value, the more stable the series. and For the first and The start time of each red envelope The average time interval; This refers to the total number of red envelopes participating in the time series analysis in the red envelope playback sequence, i.e., the number of photoelectric red envelopes included in the current time series scheme; The red envelope is numbered to identify the first red envelope. The position of each red envelope in the playback sequence; The system performs differential processing on adjacent start times in the photoelectric red envelope playback sequence to obtain the time interval between each red envelope, and calculates the degree of fluctuation of the time interval relative to the average interval, thereby forming a time stability index to characterize the overall playback rhythm stability.
[0084] The overlap suppression parameter quantifies the degree to which the overlap interval between adjacent red packet light effects is compressed or eliminated under the playback timing scheme. A higher value indicates more complete overlap suppression, while a lower value indicates that significant overlap still exists. The value ranges from 0 to 1. Its calculation formula is: ,in, This is the overlap suppression parameter; since overlap occurs between adjacent red envelopes, the calculation starts from the second red envelope. The overlapping interval duration under the current scheme represents the duration of the first (i) photoelectric red envelope playback sequence under the current scheme. The light effect of the red envelope and the first -1 The actual overlap duration of the light effects of two red envelopes on the timeline is obtained by comparing the start and end time intervals of the two red envelope light effects and calculating their intersection length. If the two light effects do not overlap, then If the value is 0, then it represents the duration of the overlap if there is overlap. The original overlapping interval duration before optimization represents the duration of the first overlapping interval before any time series optimization scheme is implemented. The first red envelope and the first -1 The original overlap time between red envelope light effects is used as a benchmark to measure the compression effect of the optimization scheme on the overlap interval. It is calculated based on the light effect playback time under the default playback rules or initial configuration.
[0085] The suppression evaluation value is a comprehensive evaluation result of temporal stability and overlap suppression capability, obtained through a weighted fusion method. The system performs parameter-level fusion of the temporal stability index and overlap suppression parameter, and comprehensively evaluates the ability of the current playback scheme to maintain rhythm stability while suppressing the expansion of light effect overlap through a weighted method, thus obtaining the suppression evaluation value used for subsequent judgment.
[0086] For the suppression assessment value, the interval expansion threshold is obtained, which is obtained by the mean standard deviation method. If the suppression assessment value is lower than the interval expansion threshold, the effect assessment data is integrated. The effect assessment data is derived from the integration of suppression parameters to determine the degree of compactness requirement satisfaction. Effectiveness evaluation data refers to an evaluation set formed by integrating multiple inhibition-related parameters, including inhibition evaluation value, residual overlap, and interval balance.
[0087] The compactness requirement satisfaction level is used to characterize whether the current playback sequence meets the system requirements for suppressing the expansion of overlapping intervals while maintaining a compact playback rhythm. Its calculation formula is as follows: ,in, To meet the compactness requirement, To suppress the evaluation value, Expand the threshold for the interval; When the suppression evaluation value is lower than the preset interval expansion threshold, the system uses the effect evaluation data formed by integrating the suppression parameters to quantify the degree to which the current timing scheme meets the playback compactness requirement, thereby obtaining the compactness requirement satisfaction.
[0088] Based on the compactness requirement satisfaction, the user engagement adjustment amount is obtained. The user engagement adjustment amount is then fused with the optoelectronic scheme coordination to obtain the coordinated sequence. The user engagement adjustment factor is used to adapt the interaction rhythm to the playback pace and visual stability, preventing the pace from being too fast or too slow and affecting the user experience. It is obtained by multiplying the engagement adjustment coefficient by the compactness requirement satisfaction level. The engagement adjustment coefficient controls the impact of the compactness requirement satisfaction level on the user engagement adjustment factor; its value is preset by the system or obtained through historical playback data statistics, reflecting the user's sensitivity to rhythm changes in different playback scenarios. The range is from 0 to 1. Optoelectronic scheme coordination refers to unifying the user participation rhythm with the light effect playback scheme, ensuring that the interaction triggers and light effect changes maintain consistency in the overall rhythm. The coordinated sequence formula is: ,in, This is a coordinated sequence used to represent the startup sequence formed after integrating user engagement adjustments and lighting effect playback schemes; The first in the original playback sequence The launch time of each red envelope has been optimized in terms of visuals, compactness, and stability. Adjustments for user engagement are used to apply a uniform time offset to all red envelope launch times; To determine the total number of red envelopes contained in the coordinated sequence; The system determines the user engagement adjustment amount to correct the interaction rhythm based on the compactness requirement satisfaction, and coordinates this adjustment amount with the light effect playback scheme to uniformly offset the start time of each red envelope, thereby forming a coordinated sequence that takes into account both user participation experience and light effect performance.
[0089] Based on the coordinated sequence, the integrated voice blessings are obtained, and the output timing is fused through the integrated voice blessings to obtain the complete playback timing of the photoelectric red envelope voice blessings.
[0090] Voice blessing integration refers to matching the start and end times of voice blessings with the coordinated sequence to ensure that the voice content is consistent with the red envelope light effects and interactive rhythm.
[0091] The formula for calculating output timing is ,in, For the first The timing of the voice blessing playback corresponding to each red envelope; For the first The start time of each red envelope in the coordinated sequence is used as a time reference for the playback of voice blessings; This is the voice trigger delay, used to adjust the playback time difference between the voice blessing and the start of the red envelope light effect; The complete photoelectric red envelope voice blessing playback sequence refers to a unified timing control scheme that simultaneously includes light effect activation, interactive triggering, and voice blessing playback arrangement. Its final output formula is: ,in, To provide a complete sequence of audio-visual red envelope playback, this is used to uniformly describe the timing of the light effect activation and audio blessing playback for each red envelope; This represents the total number of red envelopes included in the current playback sequence.
[0092] Based on the coordinated sequence, the system aligns the timing of the voice blessing playback with the timing of the light effects activation of each red envelope. By adjusting the output timing, the system ensures that the voice content matches the light effects and the rhythm of the interaction, thereby generating a complete audio-visual red envelope voice blessing playback timing sequence for control execution.
[0093] In this embodiment, by verifying the stability of the photoelectric red envelope playback timing scheme, the overlap and expansion of light effects are effectively suppressed. While ensuring a tight playback rhythm, a complete and unified playback timing sequence including light effects, interaction and voice blessings is output, thereby significantly improving the visual stability and user experience consistency in the scenario of continuous playback of multiple red envelopes.
[0094] Specifically, the system first calculates a temporal stability index based on the red envelope playback sequence. By analyzing the fluctuation of the time interval between adjacent red envelope launch times relative to the average interval, it quantifies whether there is abnormal stretching or compression of the playback rhythm, evaluating the stability of the timing scheme from a temporal structure perspective. Simultaneously, an overlap suppression parameter is introduced, comparing the optimized light effect overlap interval with the original overlap interval in the unoptimized state to quantify the compression effect of the current scheme on light effect overlap. These two parameters are then weighted and fused to form a suppression evaluation value, enabling the system to comprehensively judge whether the rhythm is stable and whether overlap has been effectively suppressed.
[0095] Based on this, when the suppression evaluation value is lower than the interval expansion threshold, the system further integrates the suppression evaluation value, residual overlap, and interval balance, among other effect evaluation data, to calculate the compactness requirement satisfaction. This is used to determine whether the current playback scheme still has sufficient overlap suppression capability while maintaining a compact rhythm. This mechanism avoids the risk of misjudging the effectiveness of timing based on a single indicator.
[0096] Subsequently, the system generates a user engagement adjustment based on the compactness requirement, adaptively corrects the overall playback rhythm at the user experience level, and coordinates this adjustment with the light effect playback scheme. It also applies an overall time offset to the start time of each red envelope, forming a coordinated sequence that balances visual stability and user engagement rhythm. Finally, the system matches the voice blessing playback time with the coordinated sequence, generating a complete audio-visual red envelope voice blessing playback timing scheme through a unified output timing sequence. For example, in scenarios where multiple red envelopes are sent consecutively, if adjacent red envelope light effects overlap significantly in the original configuration and the start interval fluctuates greatly, this invention can identify this problem through stability indicators and overlap suppression parameters, and automatically adjust the playback rhythm and interaction triggers to make the light effect transitions smoother, while ensuring that the voice blessing is not obscured by the preceding and following light effects, thus presenting a continuous, clear, and rhythmic overall playback effect. Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for intelligent control of the playback timing of photoelectric red envelope voice blessings, characterized in that, The method includes: The light efficiency attenuation curve data of the previous photoelectric red envelope was collected, and after feature extraction and smoothing, the coordinates of the attenuation start point were determined. Based on the luminous efficacy decay curve data, the overlapping range of the previous luminous efficacy is calculated. After comparison, the attenuation judgment criteria are narrowed, and the optimized start-up threshold range is obtained. Based on the optimized start threshold range, a set of alternative start times for the next photoelectric red envelope is extracted, the impact of each alternative time on the playback compactness is evaluated, and the minimum delayed start time that meets the compactness requirement and the corresponding compactness value are determined. For the minimum delayed start time, a feasibility assessment was conducted by integrating the visual transition intensity index to start the visual transition effect earlier, thus obtaining the adjusted start time of the photoelectric red envelope. The degree of visual interference is calculated based on the adjusted start time of the photoelectric red envelope. The balance ratio between the degree of visual interference and the compactness is analyzed in combination with the compactness value. The timing configuration is confirmed to be effective, and a photoelectric red envelope playback timing scheme is generated. The stability of the timing scheme for playing photoelectric red envelopes is verified, and the effect of the timing scheme on suppressing the expansion of the overlapping interval is evaluated, so as to output the complete timing scheme for playing photoelectric red envelope voice blessings.
2. The intelligent control method for the timing of playback of photoelectric red envelope voice blessings according to claim 1, characterized in that, The light efficiency attenuation curve data of the previous photoelectric red envelope was collected. After feature extraction and smoothing, the coordinates of the attenuation start point were determined, including: By collecting the luminous efficacy decay curve data, the luminous efficacy residual time is extracted to obtain the initial value of the decay rate; Based on the initial value of the decay rate, calculate the visual transition intensity index and determine the intensity transition threshold; By using an intensity transition threshold, the luminous efficacy attenuation curve is smoothed to obtain an optimized attenuation mode; Based on the obtained optimized attenuation pattern, the coordinates of the attenuation starting point are located.
3. The intelligent control method for the timing of playback of photoelectric red envelope voice blessings according to claim 1, characterized in that, Based on the luminous efficacy attenuation curve data, the overlapping range of the previous luminous efficacy is calculated. After comparison, the attenuation judgment criteria are narrowed, and the optimized start-up threshold range is obtained, including: The attenuation rate value is obtained by using the coordinates of the attenuation start point and the duration of the light effect residue, and the overlapping range is obtained by combining it with the start time of the next red envelope. For the overlapping interval range, a preset threshold limit is determined. If the overlapping interval range exceeds the preset threshold limit, the attenuation standard is contracted to obtain the attenuation standard contraction result. Using the attenuation standard shrinkage results, the visual transition intensity index is smoothed and the smoothing mode is adjusted. The duration of the fused light effect residue is adjusted by adjusting the smoothing mode, and coordinate positioning data and light effect mode adjustment parameters are obtained. Based on the coordinate positioning data and the adjustment parameters of the light effect mode, the light effect sequence interval is fused, and the optimized threshold range is determined by weighted summation of the light effect sequence intervals, thus obtaining the optimized start-up threshold range.
4. The intelligent control method for the timing of playback of photoelectric red envelope voice blessings according to claim 3, characterized in that, Based on the optimized start threshold range, a set of candidate start times for the next photoelectric red envelope is extracted. The impact of each candidate time on the playback compactness is evaluated, and the minimum delayed start time that meets the compactness requirement and the corresponding compactness value are determined, including: Obtain a set of candidate launch times from the optimized launch threshold range, and adjust the playback sequence by merging the set of candidate launch times to obtain the adjusted time sequence; For the adjusted time series, the degree of compactness impact is obtained, and the impact index after avoiding light effect overlap is determined by fusing the degree of compactness impact with the light effect overlap. The activation timing of the red envelope is obtained by using the impact index after avoidance. If the activation timing of the red envelope exceeds the preset threshold, visual smoothness control is integrated to obtain the set of timings after control. Based on the controlled timing set, obtain the delay minimization parameter, and determine the sorted delay timing by fusing the timing priority order through the delay minimization parameter; For the sorted delay time, obtain the compactness value, and use the compactness value to fuse the sequence interval calibration amount to determine the minimum delay start time that meets the compactness requirement and the corresponding compactness value.
5. The intelligent control method for the timing of playback of photoelectric red envelope voice blessings according to claim 1, characterized in that, For the minimum delayed start time, a feasibility assessment was conducted by integrating visual transition intensity indicators to advance the start time of the visual transition effect, resulting in the adjusted start time of the photoelectric red envelope, including: Obtain the adjusted visual transition intensity index corresponding to the minimum delayed start time, and obtain the intensity optimization index by integrating the start time optimization. If the intensity optimization index is higher than the preset optimization threshold, the transition effect is utilized to obtain the early start parameters; Based on the advance start parameters, the light effect synchronization coordination amount is obtained, and the minimum adjustment of the fusion delay is determined by the light effect synchronization coordination amount to determine the start sequence after coordination. Based on the coordinated startup sequence, obtain the startup time of the photoelectric red envelope after the red envelope sequence fusion and adjustment.
6. The intelligent control method for the timing of playback of photoelectric red envelope voice blessings according to claim 5, characterized in that, The degree of visual interference is calculated based on the adjusted start time of the photoelectric red envelope. The balance ratio between visual interference and compactness is analyzed by combining the compactness value, and the timing configuration is confirmed to be effective. A photoelectric red envelope playback timing scheme is then generated, including: The degree of visual interference is obtained from the adjusted start time. The degree of visual interference is analyzed by fusing the compactness value with the compactness value. The fusing method uses a weighted average to calculate the ratio of interference to compactness to obtain the balance ratio. For the balance ratio, a preset balance threshold is obtained for judgment. If the balance ratio is lower than the preset balance threshold, the fusion timing configuration is confirmed. The configuration confirmation is obtained by comparing the interference level with the timing interval to obtain the effective configuration index. Based on effective configuration indicators, the timing of red envelope interactions is optimized to obtain the optimized interaction trigger time. Combined with the light effect synchronization coordination amount, the coordinated playback sequence is determined. Based on the coordinated playback sequence, a set of red envelope sequences is obtained. The start times of the merged red envelope sequence sets are adjusted, where the start points of multiple sequences are merged to obtain the photoelectric red envelope playback timing scheme.
7. The intelligent control method for the timing of playback of photoelectric red envelope voice blessings according to claim 1, characterized in that, The stability of the timing scheme for playing the photo-based red envelope is verified, and the effect of the timing scheme on suppressing the expansion of the overlapping interval is evaluated, so as to output the complete timing scheme for playing the photo-based red envelope voice blessing, including: Temporal stability indices are obtained from the red envelope playback sequence. The temporal stability indices are then fused with overlap suppression parameters using a parameter weighting method to obtain suppression evaluation values. For the suppression evaluation value, the interval expansion threshold is obtained for judgment. If the suppression evaluation value is lower than the interval expansion threshold, the effect evaluation data is integrated to determine the degree of compactness requirement satisfaction. Based on the compactness requirement satisfaction, the user participation adjustment amount is obtained. The user participation adjustment amount is then integrated with the photoelectric scheme to obtain the coordinated sequence. Based on the coordinated sequence, the voice blessing integration is obtained. The voice blessing integration and fusion output sequence is then obtained to obtain the complete photoelectric red envelope voice blessing playback sequence.