Dynamic screensaver generation method, device and readable storage medium

By acquiring real-time environmental parameter values ​​and converting them into control parameter values, dynamic visual elements are rendered in real time, solving the problem of dynamic screensavers being out of sync with the real environment. This achieves highly realistic dynamic visual effects, enhancing the user's immersion and visual experience.

CN122309005APending Publication Date: 2026-06-30SHENZHEN ZHIXIAN VISION SOFTWARE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN ZHIXIAN VISION SOFTWARE TECHNOLOGY CO LTD
Filing Date
2026-03-16
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing dynamic screensaver systems rely on pre-built material libraries and cannot adjust in real time according to environmental changes, resulting in a disconnect between the dynamic screensaver content and the real environment, lacking immersion and engagement.

Method used

By acquiring real-time environmental parameter values ​​and using preset mapping rules to convert them into control parameter values ​​for target dynamic visual elements, dynamic visual elements are rendered in real time to generate dynamic screensavers, achieving real-time interaction with the environment.

Benefits of technology

The dynamic screensaver's visual performance accurately responds to continuous changes in the real environment, enhancing the user's visual experience and immersion, reducing reliance on pre-set animation materials, and providing greater flexibility and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122309005A_ABST
    Figure CN122309005A_ABST
Patent Text Reader

Abstract

This application discloses a dynamic screensaver generation method, device, and readable storage medium, relating to the field of intelligent display technology. The dynamic screensaver method includes: acquiring real-time environmental parameter values; determining a corresponding target dynamic visual element based on the environmental parameter values; converting the environmental parameter values ​​into target control parameter values ​​of the physical attributes of the target dynamic visual element based on a preset mapping rule; then rendering the target dynamic visual element in real-time according to the target control parameter values ​​to generate a dynamic screensaver; and outputting the dynamic screensaver. This application solves the problem that existing dynamic screensavers rely on pre-set materials, resulting in the dynamic screensaver content not being able to adjust in real-time according to environmental changes, and a lack of effective linkage between the dynamic screensaver and the real environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent display technology, and in particular to a method, device and readable storage medium for generating dynamic screensavers. Background Technology

[0002] With the widespread adoption of smart TVs and smart display terminals, dynamic screensavers have become an important feature for enhancing the visual experience and scene adaptability of smart devices.

[0003] Currently, common dynamic screensaver generation technologies mainly rely on pre-built material libraries and rule-based matching mechanisms. The system obtains weather category tags through a basic meteorological service interface, matches them, and plays corresponding static images or pre-made animations. Because the screensaver images in these pre-built material libraries are fixed, the visual elements are completely solidified after the materials are created, failing to reflect real-world conditions. The screensaver content lacks physical realism, and users cannot obtain a visual experience consistent with the real environment, resulting in a severe lack of immersion. Furthermore, existing dynamic screensavers cannot update in real-time according to environmental changes, leading to visual lag. The screensaver content remains disconnected from the dynamic changes of the real world, making it difficult to create a continuously evolving immersive experience. Overall, existing dynamic screensavers, due to their reliance on pre-built materials, cannot adjust their content in real-time to environmental changes, lack effective interaction between the dynamic screensaver and the real environment, and fail to meet users' needs for immersion and participation. Summary of the Invention

[0004] The main purpose of this application is to provide a dynamic screensaver generation method, device and readable storage medium, which aims to solve the technical problem that existing dynamic screensavers rely on pre-built materials, resulting in the inability of the dynamic screensaver content to be adjusted in real time according to environmental changes, and the lack of effective linkage between the dynamic screensaver and the real environment.

[0005] To achieve the above objectives, this application provides a dynamic screensaver generation method, the dynamic screensaver generation method comprising:

[0006] Obtain real-time environmental parameter values; Based on the environmental parameter values, determine the corresponding target dynamic visual elements; Based on preset mapping rules, the environmental parameter values ​​are converted into target control parameter values ​​of the physical attributes of the target dynamic visual elements; Based on the target control parameter values, the target dynamic visual elements are rendered in real time to generate a dynamic screensaver; Output the dynamic screensaver.

[0007] Optionally, the environmental parameter values ​​include at least one of meteorological parameter values, time information, and geographical location information; The step of determining the corresponding dynamic visual element based on the environmental parameter values ​​includes: Determine whether the environmental parameter values ​​meet the preset activation conditions corresponding to each dynamic visual element; If the environmental parameter value satisfies any of the activation conditions, then the dynamic visual element corresponding to the activation condition is determined as the target dynamic visual element. If the environmental parameter values ​​do not meet all the activation conditions, then the preset basic dynamic visual element is determined as the target dynamic visual element.

[0008] Optionally, the step of rendering the target dynamic visual elements in real time according to the target control parameter value to generate a dynamic screensaver includes: By using a preset single-parameter mapping rule, each environmental parameter value is mapped to a corresponding basic descriptive term. Multiple environmental parameter values ​​are input into a preset multi-parameter inference model, which infers based on the combination relationship between the multiple environmental parameter values ​​and outputs scene atmosphere description words. The basic descriptive words and the scene atmosphere descriptive words are combined to obtain text prompt words; The text prompt is input into a preset text-to-image model to generate a background image; Based on the target control parameter value, the target dynamic visual element is rendered in real time, and the rendered target dynamic visual element is combined with the background image to generate a dynamic screensaver.

[0009] Optionally, the step of combining the basic descriptive words and the scene atmosphere descriptive words to obtain text prompt words includes: Obtain the input text description information; The text prompt word is obtained by combining the text description information, the basic descriptive words, and the scene atmosphere descriptive words.

[0010] Optionally, the step of compositing the rendered target dynamic visual element with the background image to generate a dynamic screensaver includes: Receive personalized images as input; The personalized image is segmented to extract the main object; The main object, the background image, and the rendered target dynamic visual elements are merged to generate a dynamic screensaver.

[0011] Optionally, before the step of performing image segmentation on the personalized image to extract the subject object, the method further includes: Determine whether the resolution of the personalized image is greater than a first preset threshold, whether the clarity of the personalized image is greater than a second preset threshold, and whether there is an identifiable foreground subject in the personalized image; If the resolution is greater than the first preset threshold, the clarity is greater than the second preset threshold, and there is an identifiable foreground subject in the personalized image, then the step of performing image segmentation on the personalized image to extract the subject object is executed.

[0012] Optionally, the dynamic screensaver generation method further includes: Test the computing power of the device. When the computing power is greater than a preset first computing power threshold, the step of inputting the text prompt into a preset text-to-image model to generate a background image is executed. When the computing power is less than or equal to the first computing power threshold and greater than the preset second computing power threshold, a basic background image matching the environmental parameter value is selected from the preset basic background image template library as the target template, and style transfer processing is performed on the target template based on the environmental parameter value to generate the background image; When the computing power is less than or equal to the second computing power threshold, a basic background image matching the environmental parameter value is selected from the preset basic background image template library as the target template, and the target template is used as the background image.

[0013] Optionally, after the step of rendering the target dynamic visual element in real time according to the target control parameter value, and compositing the rendered target dynamic visual element with the background image to generate a dynamic screensaver, the method further includes: Obtain the semantic tags in the background image; By using a pre-defined correspondence, the target data source and third-party data type corresponding to the environmental parameter value and / or the semantic tag are determined from multiple pre-defined third-party data sources; Generate request parameters based on the third-party data type; By calling the data interface provided by the target data source and sending request parameters, the corresponding third-party dynamic data can be obtained. The third-party dynamic data is converted into a visual data layer; The visualization data layer is overlaid onto the dynamic screensaver; In response to interactive operations on the visualization data layer, a service call pre-associated with the third-party dynamic data is triggered.

[0014] This application also provides an intelligent display device, characterized in that the intelligent display device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the dynamic screen saver generation method as described in any of the above claims.

[0015] This application also provides a readable storage medium, characterized in that the readable storage medium is a computer-readable storage medium, and the computer-readable storage medium stores a program implementing a dynamic screen saver generation method, the program implementing the dynamic screen saver generation method being executed by a processor to implement the steps of the dynamic screen saver generation method as described above.

[0016] This application acquires real-time environmental parameter values ​​and determines the corresponding target dynamic visual elements based on these values, providing a data foundation for subsequent precise mapping. Then, using preset mapping rules, the environmental parameter values ​​are converted into target control parameter values ​​for the physical properties of the target dynamic visual elements. These target control parameter values ​​are then used to render the target dynamic visual elements in real time. This solves the lag problem of traditional preset animations failing to adjust visual performance in real time according to environmental changes, enabling the dynamic screensaver's visual performance to accurately respond to continuous changes and real-time updates in the real environment. This addresses the problem of traditional screensavers being completely disconnected from the real environment due to their reliance on static materials. Finally, by generating and outputting the dynamic screensaver, a complete closed loop from environmental perception to visual presentation is achieved. This results in highly realistic dynamic visual effects that traditional preset material libraries cannot achieve, significantly enhancing the user's visual experience and immersion. Furthermore, the real-time driving method based on environmental parameter values ​​greatly reduces the reliance on a large number of preset animation materials, providing greater flexibility and scalability for content generation. Ultimately, this allows users to experience a connection with the real environment when viewing the screensaver, truly achieving an immersive screensaver experience. Attached Figure Description

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

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a flowchart illustrating an embodiment of the dynamic screensaver generation method of this application. Figure 2 This is a flowchart illustrating Embodiment 3 of the dynamic screensaver generation method of this application; Figure 3 This is a schematic diagram of layered synthesis of dynamic screensavers provided in Embodiment 3 of the dynamic screensaver generation method of this application; Figure 4 This is an interactive schematic diagram provided for Embodiment 4 of the dynamic screensaver generation method of this application; Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the dynamic screensaver generation method in this application embodiment.

[0020] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0021] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0022] Example 1 With the popularization of smart display devices and the improvement of computing power, dynamic screensavers have evolved from simple device protection functions into important soft interfaces that enhance the atmosphere and convey aesthetic value.

[0023] However, the mainstream implementation of current dynamic screensavers still mainly relies on pre-built material libraries and rule-based matching mechanisms. During use, the system can only obtain discrete weather category tags such as "sunny" and "rainy" through a basic weather service interface, and then retrieve and play the corresponding static images or pre-made animations from the pre-stored material library. The output content of this type of dynamic screensaver is pre-made material with fixed parameters, meaning it cannot make real-time, continuous visual adjustments based on subtle changes in the environmental conditions during the display process. This results in a persistent perceptual disconnect and lag between the generated screensaver image and the real physical world, leading to stiff visual effects and a lack of physical realism, making it difficult to provide a visual experience that is in real-time and interactive with the surrounding environment.

[0024] Based on this, this application proposes a dynamic screensaver generation method according to a first embodiment. This dynamic screensaver generation method can be applied to smart display devices, such as televisions, mobile phones, computers, or other devices with displays. The device stores a computer program that implements the method, and the dynamic screensaver generation method of each embodiment is executed by running the computer program. The following description of the execution subject is omitted; please refer to... Figure 1 The dynamic screensaver generation method includes steps S10 to S50: Step S10: Obtain real-time environmental parameter values.

[0025] It should be noted that environmental parameter values ​​refer to data that can characterize the current environmental state, and this embodiment does not impose excessive limitations on the specific data format of these environmental parameter values. In a feasible implementation, the environmental parameter value can refer to quantitative data that uses specific physical units (such as millimeters, meters per second, degrees Celsius, degrees, etc.) to accurately measure the objective physical state. For example, precipitation is expressed as a specific value in millimeters (mm), wind speed in meters per second (m / s), and temperature in degrees Celsius (°C).

[0026] Step S20: Determine the corresponding target dynamic visual element based on the environmental parameter values.

[0027] It should be noted that the dynamic visual elements refer to various visual objects in the screensaver that can move, change, and respond to environmental parameter values, such as particle effects (raindrops, snowflakes, falling leaves, dust), fluid simulations (water flow, clouds, smoke), swaying vegetation (leaves, grass, wheat waves), light changes (sunlight angle, halo, shadow movement), and environmental particles (fireflies, butterflies, dust). In one feasible implementation, a dynamic visual element library can be pre-configured. This library can be stored locally on the device, on a cloud server, or on other accessible storage media. The dynamic visual element library stores a variety of selectable dynamic visual elements, and the target dynamic visual element refers to the specific dynamic visual element selected from this library that will be used to generate the current dynamic screensaver. It is understood that the pre-configured dynamic visual element library is only one feasible implementation method in this embodiment. In practical applications, the sources of dynamic visual elements can be diverse, such as constructing new dynamic visual elements in real time based on environmental parameter values ​​using algorithms or obtaining the required dynamic visual elements from third-party resources via the network. The method of acquiring dynamic visual elements can be flexibly selected according to specific needs and equipment resources. This embodiment does not impose too many restrictions on the specific method of acquiring dynamic visual elements.

[0028] Additionally, it should be noted that this step is a decision-making and matching process. In a feasible implementation, a correspondence rule between environmental parameter values ​​and various dynamic visual elements can be established in advance. Based on the input environmental parameter values, one or more dynamic visual elements output according to the correspondence rule are obtained, thereby determining the corresponding target dynamic visual element. This embodiment does not limit the specific implementation carrier and form of this step. In specific implementation, those skilled in the art can use rule tables, decision trees, or lookup tables to implement this step.

[0029] Step S30: Based on preset mapping rules, convert environmental parameter values ​​into target control parameter values ​​of the physical attributes of the target dynamic visual elements.

[0030] It should be noted that this mapping rule refers to a pre-established mathematical relationship or correspondence used to convert environmental parameter values ​​into target control parameter values ​​of the physical attributes of dynamic visual elements. These physical attributes refer to the quantifiable visual characteristics of the dynamic visual elements; different types of dynamic visual elements have different sets of physical attributes. For example, the physical attributes of particle elements may include particle density, particle speed, particle direction, particle size, particle transparency, and particle lifespan; the physical attributes of swaying vegetation elements may include sway amplitude, sway frequency, and sway direction. The target control parameter value refers to the specific value used to drive the rendering of the target dynamic visual element, calculated based on the current environmental parameter values ​​using the aforementioned mapping rule. These values ​​are then passed to the subsequent rendering engine to control the generation of each frame.

[0031] Understandably, the specific implementation of this mapping rule can vary and can be flexibly selected based on the characteristics and performance requirements of the dynamic visual element. Therefore, an independent mapping rule is pre-set for each dynamic visual element. First, for each target dynamic visual element, the device calls the corresponding mapping rule according to its type. Then, the device uses the real-time environmental parameter values ​​obtained above as input and substitutes them into the called mapping rule for calculation. Finally, the calculated control parameter values ​​are combined to form a complete set of target control parameter values ​​for the target dynamic visual element.

[0032] For example, suppose a smart display device is located in a residence in an urban area, and the weather is rainy. The system performs the aforementioned steps, and the environmental parameter values ​​at this time are: Meteorological parameters: precipitation 8mm, wind speed 3m / s, wind direction 60°, temperature 18℃, humidity 80%; Time information: Current time is 7:00 (early morning), season is spring (March); Geographic location information: latitude and longitude "39.9°N, 116.4°E", city code "a certain city".

[0033] The target dynamic visual elements determined based on these parameter values ​​include raindrop particles, swaying vegetation, and changes in light. The following section uses raindrop particles as an example to explain in detail the calculation process of the mapping rules.

[0034] First, the corresponding mapping rule is invoked based on the dynamic visual element type "raindrop particles". As a feasible implementation method, this mapping rule adopts a linear function form, and the specific process is as follows: When the precipitation value is 8mm, the target control parameter value "particle density = 12000" can be calculated using the linear function density = rain_mm × 1500, where density represents particle density and rain_mm represents the precipitation value in millimeters. This value means that under the current environmental conditions, approximately 12,000 raindrop particles should be rendered per square meter in the screensaver image. Similarly, based on a wind speed of 3 m / s, the target control parameter value "particle speed = 30 pixels / second" can be calculated using the linear function velocity = wind_speed × 10, where velocity represents particle velocity and wind_speed represents wind speed in meters per second. Then, based on a wind direction of 60°, the target control parameter value "particle direction = 60° ± 15°" can be calculated using the linear function direction = wind_angle ± 15°, where direction represents particle direction and wind_angle represents wind direction in degrees. This means the particle direction is randomly distributed between 45° and 75° to simulate the irregularity of natural wind. Furthermore, the particle size can be determined as the target control parameter value "particle size = 2 pixels" based on a temperature of 18°C; and the particle transparency can be determined as the target control parameter value "particle transparency = 0.8" based on a combination of precipitation and humidity.

[0035] After calculation, the device combines these control parameter values ​​into a target control parameter set for the raindrop particles: {Density: 12000, Velocity: 30, Direction: 60°±15°, Size: 2, Transparency: 0.8}. This set will be passed to subsequent rendering steps to guide the real-time rendering of the raindrop particles, thereby generating a dynamic screensaver that is precisely linked to the current environmental parameter values.

[0036] Additionally, it's important to note that the invocation of mapping rules is closely related to the type of dynamic visual element; each type of dynamic visual element has its own pre-configured mapping rules. When multiple target dynamic visual elements of different types exist, the device executes the mapping rule invocation process in parallel or sequentially, ensuring that each type of dynamic visual element obtains target control parameter values ​​that match its physical characteristics. The execution of these mapping rules is real-time and synchronous. When environmental parameter values ​​change, the device immediately recalculates and updates the target control parameter values ​​based on the updated parameter values ​​and the corresponding mapping rules.

[0037] It is understandable that the core of this step lies in establishing a correspondence between environmental parameter values ​​and target control parameter values ​​of the physical attributes of the target dynamic visual elements. The specific mathematical form used to implement this correspondence is a specific implementation method under the concept of this step. The aforementioned linear function form is only one feasible implementation method. This embodiment does not limit the specific mathematical form of the mapping rule. Any implementation method that can calculate the target control parameter values ​​of the physical attributes of the target dynamic visual elements based on environmental parameter values ​​is considered an extension of the technical concept of this step and should be included in the protection scope of this application. The specific coefficients involved in the mapping rule can also be flexibly configured and adjusted according to the actual application scenario, equipment performance, or visual optimization requirements.

[0038] Step S40: Render the target dynamic visual elements in real time according to the target control parameter values ​​to generate a dynamic screensaver.

[0039] It should be noted that this step uses physically driven rendering. The rendering engine receives target control parameter values ​​as input and calculates the physical motion state of the target dynamic visual elements in each frame in real time based on these values. This includes attributes such as the position coordinates, speed, acceleration, rotation angle, and transparency of the dynamic visual elements in the current frame, and generates the corresponding visual image accordingly. This step of generating a dynamic screensaver involves combining the rendered target dynamic visual elements as one or more layers in the image with other possible layers according to a preset hierarchical order to ultimately form a complete dynamic screensaver image.

[0040] Understandably, real-time rendering is a continuous process. When environmental parameter values ​​change, causing target control parameter values ​​to update, the rendering engine responds in real time, recalculating the motion state of dynamic visual elements based on the updated parameters, thus ensuring a smooth transition in the screensaver's visual effects.

[0041] For example, in the aforementioned application scenario, the target control parameter set for the raindrop particles is: particle density 12000, particle velocity 30 pixels / second, and particle direction 45°. The device calls its built-in particle rendering module to generate 12000 particles on the screen in real time, assigning each particle an initial velocity of 30 pixels / second, causing them to fall approximately at a 45-degree angle. Simultaneously, based on a preset physical model, effects such as gravitational acceleration, air resistance, and random perturbations are added to the particles. During the rendering of each frame, the particle rendering module recalculates the new positions of all particles in the current frame based on the particle positions, velocities, and accelerations recorded in the previous frame, thus forming a continuous raindrop falling animation. When environmental parameters change, such as the rainfall outside the window increasing from 8 mm to 20 mm, the device immediately calculates a new particle density of 30000 using mapping rules and passes the updated control parameters to the particle rendering module. After receiving new parameters, the particle rendering module adjusts the particle emission rate in real time, so that the density of raindrops in the picture smoothly transitions to a state that matches the updated parameters, thereby achieving real-time synchronization between the screensaver's dynamic effects and environmental changes.

[0042] Step S50: Output dynamic screensaver.

[0043] It should be noted that this step refers to the process of transmitting the generated dynamic screensaver data to the target processing unit or interface. This target processing unit can be a display driver module, video encoder, file storage system, network transmission module, or other subsequent processing stages. The specific form of the output depends on the application scenario: in a conventional display scenario, the dynamic screensaver data is transmitted to the display driver module for display on the screen; in scenarios requiring saving or sharing, the dynamic screensaver data can be encoded into a video file or image sequence; in multi-device collaboration scenarios, the dynamic screensaver data can be transmitted to other devices via a network interface. This embodiment does not limit the specific destination and form of the output, as long as the generated dynamic screensaver data can be transmitted to subsequent stages.

[0044] Understandably, the output screensaver retains its dynamic update capability. When environmental parameter values ​​change, the device continues to execute the aforementioned steps to update control parameter values ​​and re-render the screen, ensuring that the screensaver content is always synchronized with the environment. This continuous update mechanism makes the dynamic screensaver a dynamic interface that interacts with its environment.

[0045] Additionally, it's important to consider the performance characteristics of the smart display device during the output process, such as refresh rate, resolution, and color space. The output frame rate and image format can be automatically adjusted based on the smart display device's parameters to ensure optimal presentation. Furthermore, the output module must handle state transitions such as sleep / wake-up and screensaver activation / deactivation for the smart display device to guarantee a consistent user experience.

[0046] This embodiment solves the problem that traditional dynamic screensavers can only identify discrete weather categories and cannot perceive the real-world environment by acquiring real-time environmental parameter values, thus providing a data foundation for subsequent steps. Then, by using preset mapping rules, the environmental parameter values ​​are converted into target control parameter values ​​for the physical attributes of the target dynamic visual elements. These target control parameter values ​​are then used to render the target dynamic visual elements in real time, solving the lag problem of traditional preset animations failing to adjust visual performance in real time according to environmental changes. This enables the dynamic screensaver's visual performance to accurately respond to continuous changes and real-time updates in the real environment, thereby solving the problem of traditional screensavers being completely disconnected from the real environment due to their reliance on static materials. Finally, by generating and outputting the dynamic screensaver, a complete closed loop from environmental perception to visual presentation is completed. This achieves highly realistic dynamic visual effects that traditional preset material libraries cannot achieve, significantly improving the user's visual experience and immersion.

[0047] Example 2 Based on the first embodiment described above, a second embodiment of the dynamic screensaver generation method of this application is proposed. In this embodiment, content that is the same as or similar to that in the first embodiment can be referred to the above description and will not be repeated hereafter. Furthermore, this embodiment provides a specific implementation of step S20 and provides an exemplary description of the specific types of environmental parameter values.

[0048] It should be noted that the environmental parameter values ​​involved in this embodiment can be of various types. In one feasible implementation, the environmental parameter values ​​may include at least one of the following three types of data: meteorological parameter values, time information, and geographical location information.

[0049] Meteorological parameter values ​​refer to data characterizing meteorological conditions, such as precipitation (mm), wind speed (m / s), wind direction (°), temperature (°C), humidity (%), and air quality index. In a feasible implementation, meteorological parameter values ​​can be obtained by calling a third-party meteorological API (Application Programming Interface).

[0050] Time information refers to time-series data related to a specific moment or time period, reflecting the time dimension, such as the current moment, day / night cycle, and season. Time information can be precise dates and times or status labels calculated or mapped based on the current moment, such as day / night states like "daytime," "night," "early morning," and "dusk," and seasonal information like "spring," "summer," "autumn," and "winter." Time information can be obtained by reading the device's system clock. It's understandable that although day / night cycle and season information are presented as enumerated values, they all have clear quantitative basis: day / night cycle is derived by comparing the current moment value with the sunrise and sunset moments, and seasons are determined by month values. Therefore, time information values ​​essentially still fall under the category of quantitative data, providing precise time dimension input for subsequent steps.

[0051] Geographic location information refers to data about the spatial location of a device. This data can be in the form of latitude and longitude coordinates, altitude, city code, area identifier, or geographic location type. The geographic location type can be inferred from the latitude and longitude coordinates or city code through GIS (Geographic Information System) queries or built-in rule bases, and represented by preset enumerated values, such as 0 for city, 1 for forest, 2 for ocean, 3 for mountain, and 4 for desert. Geographic location information is typically obtained through GPS (Global Positioning System) / BeiDou positioning modules, network positioning services, or IP address resolution.

[0052] It should be noted that the above three types of data are merely illustrative examples and are not intended to limit this application. In practical applications, one or more types of data can be selected according to actual needs, and other types of environmental data can also be introduced. This embodiment does not limit the specific types and combinations of these data.

[0053] For example, suppose a smart display device is located in a residence in an urban area. Its built-in GPS module obtains its current location's latitude and longitude coordinates as 39.9°N, 116.4°E; the system clock shows the current time as 14:30 on March 5, 2026; and the device obtains current outdoor weather data via API calls: precipitation 0mm, wind speed 2.5m / s, wind direction 45°, temperature 15℃, and humidity 45%. Simultaneously, the device also uses its built-in temperature and humidity sensors to collect indoor temperature data of 22℃ and humidity data of 40%.

[0054] It is understood that the aforementioned environmental parameter values ​​can be obtained in various ways. In the absence of a network, indoor environmental data can be collected through local sensors, such as temperature and humidity sensors and light sensors, or weather conditions can be identified by analyzing images of the outside world captured by a camera as an alternative solution. Based on the real-time network connection status, data source service availability, device hardware configuration, and the specific requirements of the application scenario regarding real-time performance, accuracy, and energy consumption, a single data source or dynamic fusion and selection of data from multiple sources can be intelligently employed. This embodiment does not specifically limit the aforementioned acquisition and source selection strategies.

[0055] Furthermore, in a feasible implementation, since the aforementioned environmental parameter values ​​may originate from different data sources, and each data source has different sampling frequencies, update times, and accuracy characteristics, in practical applications, the same type of environmental parameter values ​​provided by different data sources may be inconsistent. For example, the outdoor temperature reported by a meteorological API may differ from the indoor temperature measured by a local sensor, or there may be inconsistencies when multiple meteorological API data sources exist simultaneously. To address this issue, the implementation method can employ conventional multi-source data processing methods, such as spatiotemporal alignment of data from different sources and fusion of parameter values ​​of the same type, to ensure the consistency and reliability of environmental parameter values ​​used in subsequent steps.

[0056] Furthermore, in one feasible implementation, the device can also employ a Kalman filter algorithm to smooth continuous measurement data from local sensors.

[0057] It should be noted that Kalman filtering is a classic state estimation algorithm that recursively estimates the optimal state of a device based on the noise statistics of the sensor. Specifically, it uses real-time sensor measurements as input and combines them with the state estimate from the previous moment. Through predictive updates and iterations, it effectively eliminates random jitter and noise interference during sensor measurements, outputting smooth and stable environmental parameter estimates. Spatiotemporal alignment and Kalman filtering are two relatively independent processing steps that can be used together or implemented independently. Spatiotemporal alignment primarily addresses the time synchronization problem of multi-source data, while Kalman filtering primarily addresses noise suppression after fusion of single or multiple sensors. This embodiment combines the two: first, spatiotemporal alignment of the multi-source data is performed, and then the aligned data is input into a Kalman filter for smoothing to obtain the final environmental parameter values ​​used in subsequent steps.

[0058] It should be noted that the above data processing method is not a limitation of this application, but rather a feasible implementation method for further improving the quality of input data. In this embodiment, by acquiring real-time environmental parameter values ​​and performing spatiotemporal alignment, fusion processing, and Kalman filtering optimization on multi-source data, accurate, stable, and consistent quantization input is provided for subsequent steps, laying a reliable data foundation for realizing real-time linkage between dynamic screensavers and the real environment. Through the above scheme, the input data for subsequent steps is guaranteed to have a high degree of consistency and accuracy. This embodiment does not limit the specific data processing method used; those skilled in the art can choose appropriate technical means according to the actual application scenario.

[0059] Furthermore, in one feasible implementation, step S20 includes steps S21 to S23 to achieve precise selection and activation control of the target dynamic visual elements.

[0060] Step S21: Determine whether the environmental parameter values ​​meet the preset activation conditions corresponding to each dynamic visual element.

[0061] It should be noted that, in a feasible implementation, each dynamic visual element corresponds to a preset activation condition. This activation condition refers to a pre-defined rule for determining whether a particular dynamic visual element should be activated, based on environmental parameter values. These activation conditions can be threshold judgments for a single environmental parameter value, combinations of multiple environmental parameter values, or matching judgments between environmental parameter values ​​and enumerated values. For example, a single environmental parameter value, "precipitation > 0," can serve as the activation condition for raindrop particles; a combination of multiple environmental parameter values, "time = night and weather = clear," can serve as the activation condition for twinkling stars; and a matching environmental parameter value with enumerated values, "season = summer," can serve as the activation condition for firefly particles.

[0062] It is understandable that the design of this activation condition needs to comprehensively consider the physical correlation and visual rationality between environmental characteristics and dynamic visual elements. The setting of this activation condition can be adjusted and optimized according to actual application scenarios, and this embodiment does not impose specific limitations on it.

[0063] Additionally, it's important to note that when multiple dynamic visual elements exist, the activation conditions for each element must be checked sequentially. The order in which these conditions are checked may affect the final element selection result. In one feasible implementation, the elements can be checked sequentially according to a preset priority. For example, dynamic visual elements directly related to weather phenomena can be checked first, followed by those related to wind speed, and finally those related to time and season. When multiple dynamic visual elements simultaneously meet their activation conditions, all can be activated, or only some can be activated based on priority or scene requirements. This embodiment does not limit the specific form or order of the activation conditions.

[0064] Step S22: If the environmental parameter value meets any activation condition, then the dynamic visual element corresponding to the activation condition is determined as the target dynamic visual element.

[0065] It should be noted that this target dynamic visual element will be rendered and displayed in the screensaver in subsequent steps. Multiple dynamic visual elements can be identified as target dynamic visual elements simultaneously. For example, in a rainy and windy scene, dynamic visual elements such as rain particles, swaying vegetation, and changing light can all be activated at the same time, together forming a rich visual hierarchy.

[0066] For example, in the aforementioned application scenario, the processed environmental parameter values ​​are as follows: Meteorological parameters: precipitation 0 mm, wind speed 2.5 m / s, wind direction 45°, temperature 15℃, humidity 45%; Time information: Current time is 14:30 (afternoon), season is spring (March); Geographic location information: latitude and longitude "39.9°N, 116.4°E", city code "a certain city", geographic location type "city".

[0067] Based on the above environmental parameter values, and in accordance with the preset priority order, the activation conditions of various dynamic visual elements are determined sequentially: First, we determine the precipitation elements: the precipitation is 0 mm, which does not meet the activation condition of "precipitation > 0", so neither raindrop particles nor snowflake particles are determined. Next, we judge the wind speed-related elements: the wind speed is 2.5 m / s, which meets the activation condition. Therefore, we determine the corresponding target dynamic visual elements, including vegetation swaying and cloud flow. Next, the light transformation element is determined: the activation condition of the light transformation element is related to the time parameter, reflecting the light and shadow effects that change naturally over time. At the current time of 14:30, the activation condition of the light transformation is met, therefore the light transformation is identified as the target dynamic visual element; Next, we examine the twinkling starry sky element: the current time is 2:30 PM, which is not nighttime, therefore the activation condition is not met. Next, assess the firefly particles: the current season is spring, which does not meet the requirements of "summer", therefore they are not activated.

[0068] Based on the current environmental parameter values, the target dynamic visual elements identified include: swaying vegetation, flowing clouds, and changing light. All other dynamic visual elements are inactive.

[0069] It should be further noted that the above-described judgment order and activation conditions are merely examples and can be adjusted according to specific needs in actual applications. For instance, in certain special scenarios, it may be necessary to prioritize the activation of elements related to geographic location, or to adjust the priority of certain elements based on user preferences. This embodiment does not impose specific limitations on this.

[0070] Additionally, it's important to note that activated dynamic visual elements don't necessarily remain active indefinitely. When environmental parameters change, causing the previously met activation conditions to no longer apply, the dynamic visual element will be automatically deactivated. For example, when the rain stops and the precipitation becomes zero, the rain particles will be deactivated, but other dynamic visual elements that still meet the conditions will remain active. This dynamic activation / deactivation mechanism ensures that the screensaver content can adjust in real-time to changes in the environment.

[0071] Step S23: If the environmental parameter values ​​do not meet all activation conditions, then the preset basic dynamic visual element is determined as the target dynamic visual element.

[0072] It should be noted that this step handles the fallback situation when all dynamic visual elements that require judgment based on environmental parameter values ​​are not activated. When the device has traversed the activation conditions of all dynamic visual elements and found no dynamic visual element that meets the conditions, in order to ensure that the screensaver always maintains a sense of dynamism, a pre-set basic dynamic visual element will be activated and identified as the target dynamic visual element.

[0073] Specifically, the basic dynamic visual elements refer to a set of visual objects used to provide a basic sense of dynamism under extreme conditions, such as: Light and shadow elements: Simulate the change in shadow position caused by the movement of the sun, with a movement speed of approximately 0.25° / minute and a cycle of 24 hours; Micro-dust elements: simulate the natural movement of dust or pollen particles in the air, with a particle density of about 5 particles / screen, a movement speed of about 0.5 pixels / second, and random movement trajectories; The subtle breathing effect simulates a slight scaling of the image, with a scaling amplitude of about 0.1% and a cycle of about 8 seconds, creating a subtle dynamic feeling similar to breathing. Understandably, the design principle of these basic dynamic visual elements is to have an extremely low visual presence, almost imperceptible to the user, but they do provide the necessary sense of dynamism, preventing the image from becoming lifeless. When other dynamic visual elements are activated, the basic dynamic visual elements can remain active, or they can be replaced by other dynamic visual elements; this embodiment does not specifically limit this.

[0074] In this embodiment, by using an activation / deactivation mechanism for dynamic visual elements, the device can accurately select the most suitable dynamic visual elements based on real-time environmental parameter values. This avoids the visual monotony caused by adjusting only a single effect in all scenarios in existing technologies. Furthermore, the backup design of basic dynamic visual elements ensures that even in extremely calm environments, the dynamic screensaver image can maintain subtle dynamic effects and never become static. This allows the screensaver content to intelligently adapt to various complex environments, presenting users with a rich, varied, and always vibrant visual experience, thereby significantly enhancing the immersion and visual appeal of the dynamic screensaver.

[0075] Example 3 Based on the first embodiment, the second embodiment, or a combination of the two embodiments described above, a third embodiment of the dynamic screensaver generation method of this application is proposed. In this embodiment, content that is the same as or similar to the above embodiments can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 This embodiment provides a feasible implementation of the aforementioned step S40, which involves rendering target dynamic visual elements in real time based on target control parameter values ​​to generate a dynamic screensaver, including steps S41 to S45: Step S41: Using a preset single-parameter mapping rule, each environmental parameter value is mapped to its corresponding basic descriptor.

[0076] It should be noted that single-parameter mapping rules refer to pre-established conversion rules used to transform a single environmental parameter value into a corresponding linguistic descriptive word. In one feasible implementation, single-parameter mapping rules can be implemented in the form of a mapping table, which pre-stores the correspondence between the numerical ranges of each environmental parameter value and the basic descriptive words. The core function of this correspondence is to convert environmental parameter values ​​into semantically meaningful basic descriptive words, providing basic linguistic material for the subsequent generation of text prompts. These basic descriptive words are short phrases obtained after single-parameter mapping, used to describe the environmental state represented by a particular environmental parameter value. Each environmental parameter value will yield one or more corresponding basic descriptive words after mapping.

[0077] It should be noted that the single-parameter mapping rule has the characteristic of "independent processing," meaning that each environmental parameter value is mapped independently without interference. This independent processing method provides flexible basic language materials for subsequent multi-parameter reasoning and combination. Regardless of the final scene description to be generated, the basic descriptive word set can provide a comprehensive and accurate expression of environmental elements. This embodiment does not limit the specific implementation form of the mapping rule; any rule that can convert a single environmental parameter value into a corresponding descriptive word is applicable.

[0078] Step S42: Input multiple environmental parameter values ​​into a preset multi-parameter inference model. The multi-parameter inference model infers based on the combination relationship between the multiple environmental parameter values ​​and outputs scene atmosphere description words.

[0079] It should be noted that a multi-parameter inference model refers to a pre-trained or constructed algorithmic model used to identify and infer the overall atmosphere of a scene from the combined relationships of multiple environmental parameter values. The input of this model is multiple environmental parameter values, and its output scene atmosphere descriptors are words that can be used to summarize the overall mood and style of the current environment.

[0080] It is understandable that multi-parameter inference models focus on the synergistic effect between environmental parameter values. A specific combination of multiple environmental parameter values ​​jointly determines an overall atmosphere characteristic, and this overall atmosphere cannot be obtained by simply adding up individual environmental parameter values. In a feasible implementation, this multi-parameter inference model is constructed using a decision tree algorithm. A decision tree is a classification model based on a tree structure, where internal nodes represent judgments on a certain environmental parameter, branches represent judgment results, and leaf nodes correspond to the output scene atmosphere descriptions. For example, for the combination of "night," "sunny," and "low temperature," the decision tree can first determine whether the time is "night," and if so, proceed to the subtree to determine whether the weather is "sunny," then determine whether the temperature is "low temperature," and finally reach the leaf node labeled "starry sky and aurora." It should be noted that the decision tree model is only an exemplary implementation of this step and is not a limitation of this application. Those skilled in the art can use other algorithm models that can achieve the same function according to actual needs. As long as the scene atmosphere description can be inferred from the combination relationship of multiple environmental parameter values, it should be considered an equivalent alternative to this step.

[0081] Step S43: Combine the basic descriptive words and the scene atmosphere descriptive words to obtain the text prompt words.

[0082] It should be noted that text prompts refer to the natural language descriptions ultimately used to drive the text-to-image model. The combination of basic descriptive words and scene atmosphere descriptive words can be based on preset grammar templates. For example, the set of basic descriptive words may include elements such as geographical location, time, and weather conditions, while scene atmosphere descriptive words summarize the overall mood. Combining the two according to natural language conventions will form a complete text prompt. For instance, if the basic descriptive words are {a city, afternoon, moderate rain, gentle breeze}, and the scene atmosphere descriptive words are "rainy and foggy city", the combined result will be the text prompt "a city in the afternoon with moderate rain, a gentle breeze, and a rainy and foggy city". When multiple basic descriptive words exist, the device can automatically adjust the word order to make the generated prompts more fluent and natural.

[0083] In one possible implementation, step S43 includes the following steps S431 to S432: Step S431: Obtain the input text description information.

[0084] It should be noted that text description information refers to additional descriptive text actively provided by the user to specify or adjust the style of the background image. This information can be free text entered by the user through the interactive interface, such as "I want a science fiction style," "ink painting style," or "a landmark building"; it can also be style tags selected by the user from a preset tag library, such as "romantic," "science fiction," "ink painting," or "dreamy"; or it can be text content obtained through voice input and speech recognition conversion.

[0085] Understandably, this textual description, as an expression of user personalized preferences, serves as a valuable supplement to automatically generated content. When the user provides no input, the device generates text prompts entirely based on environmental parameter values; when the user provides input, the device generates text prompts that are integrated with the user's input.

[0086] Step S432: Combine the text description information, basic descriptive words, and scene atmosphere descriptive words to obtain text prompt words.

[0087] Understandably, when a device receives text descriptions input by a user, it inputs these descriptions along with basic descriptive words and scene atmosphere descriptive words into a preset language model. The language model then merges these three elements based on the user's semantic intent to generate a fluent and coherent text prompt. This language model can be a general-purpose large language model or a finely tuned lightweight text generation model, possessing natural language understanding and generation capabilities. For example, if the basic descriptive words are {a city, night, clear, low temperature}, and the scene atmosphere descriptive words are "starry sky and aurora," and the user inputs "I want a sci-fi style night in a city, with aurora, but not too bright," the language model might generate the text prompt "a sci-fi style night in a city, starry sky and aurora, soft brightness."

[0088] This embodiment solves the technical problem of background images generated based on environmental parameter values ​​lacking personalized user preference design by acquiring user-input text description information and fusing it with generated basic descriptive words and scene atmosphere descriptive words to generate text prompt words. It realizes the organic combination of user personalized intentions and objective environment, gives users flexible control over the generated results, and significantly improves the diversity of background image generation and user participation.

[0089] Step S44: Input the text prompt into the preset text-to-image model to generate a background image.

[0090] It should be noted that a text-to-image model refers to a deep learning model capable of generating corresponding images based on natural language descriptions. This type of model is trained on large-scale text-image pairs and possesses the ability to map text semantics to image content. In this step, the device takes the text prompt as input and calls a preset text-to-image model, which then generates the background image. This embodiment does not limit the specific type of text-to-image model; any model capable of generating images based on text prompts is applicable.

[0091] Step S45: Render the target dynamic visual elements in real time according to the target control parameters, and synthesize the rendered target dynamic visual elements with the background image to generate a dynamic screensaver.

[0092] It should be noted that the dynamic visual elements generated by real-time rendering are superimposed and combined with the generated background image according to a preset visual hierarchy to form the final dynamic screensaver. The background image serves as the bottom layer, while the dynamic visual elements are superimposed on it as the foreground layer, together forming a complete visual output. The composited dynamic screensaver retains its dynamic attributes; the dynamic visual elements are continuously updated according to target control parameter values, ensuring real-time interaction between the image and the environment.

[0093] This embodiment converts environmental parameter values ​​into basic descriptive words and scene atmosphere descriptive words in sequence. Then, it combines the two to form text prompts and finally generates a background image. Finally, it combines dynamic visual elements with the background image to create a dynamic screensaver, thereby achieving precise matching between the background image and environmental features. This solves the technical problem of traditional screensavers having fixed backgrounds and being unable to dynamically respond to the user's environment. At the same time, the introduction of text prompts enhances the artistic expression and scene fit of the background image. Ultimately, it achieves an organic combination of dynamic foreground and static background, making the screensaver screen both rich in dynamic layers and highly matched with environmental features.

[0094] In one feasible implementation, step S45 includes the following steps S451 to S453: Step S451: Receive the input personalized image.

[0095] It's important to note that personalized images refer to image materials actively provided by the user who wish to incorporate them into the screensaver. These are typically photos containing people, pets, or specific objects. These images can be obtained in various ways, such as selecting from a local photo album, taking a photo instantly, or receiving them over a network. The device uses the received image as input for subsequent processing to extract the main subject.

[0096] Understandably, this step is an optional operation for the user, and the device can still generate a complete screensaver image from the background image and the rendered target dynamic visual elements even without user image input.

[0097] Furthermore, in one feasible implementation, before step S452, a pre-judgment step of the input personalized image may be included, specifically including the following steps A4511~A4512: Step A4511: Determine whether the resolution of the personalized image is greater than the first preset threshold, whether the clarity of the personalized image is greater than the second preset threshold, and whether there is an identifiable foreground subject in the personalized image.

[0098] It should be noted that the first preset threshold refers to the minimum standard set for image resolution, used to ensure that the extracted subject has sufficient detail sharpness. The second preset threshold refers to the minimum standard set for image sharpness, used to measure the degree of blur in the image, ensuring that the extracted subject has sharp edges and details. This can be calculated using image quality assessment algorithms, such as using Laplacian variance to calculate the edge response intensity of the image, or using the Brenner gradient function to measure the gray-level difference between adjacent pixels. Laplacian variance assesses sharpness by calculating the variance of pixel values ​​after the Laplacian transform of the image; the larger the variance value, the sharper the image. The Brenner gradient measures detail richness by calculating the sum of the squares of the gray-level differences between two pixels. When the calculated sharpness index is greater than the preset second threshold, the image sharpness is considered to meet the requirements. Meanwhile, a identifiable foreground subject refers to a visual object in the image that can be effectively identified by the segmentation model, such as a person, animal, or specific object.

[0099] It is understood that the aforementioned thresholds can be flexibly configured according to the actual application scenario and hardware performance. For example, on high-end devices, the resolution requirement can be appropriately increased to obtain a more detailed subject outline, while on low-end devices, the requirement can be appropriately reduced to ensure smooth execution of the process. This embodiment does not limit the specific threshold value or the specific algorithm for sharpness evaluation; any existing technical means that can effectively quantify the degree of image blur is applicable.

[0100] Step A4512: If the resolution is greater than the first preset threshold, the clarity is greater than the second preset threshold, and there is an identifiable foreground subject in the personalized image, then proceed to step S452.

[0101] It should be noted that the resolution, sharpness, and identifiable foreground subject pre-judgment of the personalized image in this step have clear significance for verifying technical feasibility. If the resolution is greater than the first preset threshold, the sharpness is greater than the second preset threshold, and there is an identifiable foreground subject in the image, it indicates that the personalized image input by the user meets the basic requirements for subsequent segmentation processing in terms of size accuracy, detail sharpness, and subject integrity. This means that the subject in the image has sufficient pixel density to support the scaled display quality, the edge sharpness is sufficient for the segmentation model to accurately identify the contour, and the content composition meets the input expectations of the segmentation algorithm, thus providing a reliable technical premise for image segmentation of the personalized image to extract the subject in step S452.

[0102] If the resolution is less than or equal to the first preset threshold, it indicates that the total number of pixels in the image is insufficient to support the display requirements after magnification. The forcibly extracted subject will appear as mosaic or jagged edges when composited into the screensaver, resulting in a decrease in visual quality. If the clarity is less than or equal to the second preset threshold, it indicates that the image is blurry, out of focus, or has motion blur. The edge information of the subject is severely lost, and the segmentation algorithm has difficulty accurately locating the object boundary. The extraction result may have defects such as broken contours and misaligned regions. If there is no identifiable foreground subject in the image, it indicates that the image content is pure scenery, solid color background, or cluttered noise. The segmentation algorithm has no clear target to follow, and forced processing will only produce meaningless output. If any condition is not met, the current image is determined to be of no processing value. The subsequent image segmentation of the personalized image to extract the subject will be skipped, and instead, a basic background image and rendered target dynamic visual elements will be used to generate a dynamic screensaver, thereby avoiding visual defects and resource waste caused by low-quality input.

[0103] In this embodiment, the personalized image input by the user is pre-judged, and subsequent image segmentation to extract the main object is selectively performed based on the judgment result. This solves the technical problems of segmentation failure, visual defects, and resource waste caused by directly inputting low-quality images. Through this pre-judgment mechanism, the personalized input image of the user is matched with the processing capability of the device, which improves the robustness of the overall processing flow and the efficiency of resource utilization while ensuring the output quality of the dynamic screensaver.

[0104] Step S452: Perform image segmentation on the personalized image to extract the main object.

[0105] It should be noted that image segmentation technology refers to the process of separating the main subject from the background area in an image using computer vision techniques. By processing a user-input personalized image through a preset image segmentation model, the foreground subject, such as a person's outline, a pet's form, or a specific object, is identified and extracted. The extracted subject will then participate as an independent visual element in subsequent image composition. In one feasible implementation, this embodiment uses an existing mature segmentation model, and a suitable model and parameter configuration can be selected according to actual needs.

[0106] Step S453: The main object, background image and rendered target dynamic visual elements are merged to generate a dynamic screensaver.

[0107] It should be noted that, referring to Figure 3 This step uses a layered synthesis technique to combine three visual sources into a dynamic screensaver. Specifically, refer to... Figure 3(a) The background image 401 is used as the bottom layer 301, which serves as the visual base of the image and provides the basic scene for the entire screensaver; then, referring to Figure 3 (b) The extracted main object 402 is used as the middle layer 302, which is superimposed on the bottom layer 301 to show the initial fusion of the user's personalized image and the background image; then, referring to Figure 3 (c) The rendered target dynamic visual element 403 is used as the top layer 303, overlaying the bottom layer 301 and the middle layer 302; finally, refer to Figure 3 (d) In the rendering pipeline, layers are stacked sequentially from bottom to top: first, the background image 401 is drawn; then, the main object 402 is stacked on top of the background image 401; finally, the target dynamic visual element 403 is stacked on top of the main image, generating the final, complete dynamic screensaver 102 that integrates the three layers. Through this layer stacking method, the main object is set off by the background image without being obscured, and the target dynamic visual element floats on the top layer to form a foreground dynamic effect. Together, the three elements constitute a complete picture with distinct visual layers and reasonable spatial relationships.

[0108] In this embodiment, a highly customized and immersive dynamic screensaver is created by layering and fusing the main object extracted from the user-provided personalized image with the generated background image and the rendered target dynamic visual elements. This layered fusion mechanism allows the main object to be embedded as an independent layer between the background image and the dynamic visual elements, avoiding the visual fragmentation that may result from simple overlay, and ensuring a clear hierarchical relationship and reasonable spatial relationship between the various visual sources in the image. Simultaneously, based on the three elements jointly constituting the dynamic screensaver, personalized content can be naturally integrated with the dynamic effects linked to the real-time environment, generating a dynamic screensaver with rich dynamic layers.

[0109] In another possible implementation, this embodiment provides a replacement selection scheme for the current background image: Step A41: Detect the computing power of the local device.

[0110] It should be noted that computing power refers to the performance indicators of a device's hardware when processing visual generation tasks. This mainly includes the CPU's (Central Processing Unit) clock speed and number of cores, the GPU's (Graphics Processing Unit) computing power and video memory, the NPU's (Neural Network Processing Unit) computing power, and the amount of available system memory. Computing power can be tested by calling the system's underlying hardware information interface or by running preset performance test tasks for real-time evaluation. The test results are usually expressed in quantitative numerical form, such as the number of floating-point operations for the GPU or the trillions of operations per second for the NPU. Computing power testing can be performed once when the device starts up, or periodically during runtime to address potential performance changes. This embodiment does not limit the specific timing or method of the testing.

[0111] Step A42: When the computing power is greater than the preset first computing power threshold, the step of inputting the text prompt words into the preset text-to-image model and generating the background image is executed.

[0112] The first computing power threshold refers to the performance dividing line between high-end and mid-range devices. For example, an NPU computing power greater than or equal to 5 TOPS (Tera Operations Per Second) or a GPU capable of running large text-based graph models such as Stable Diffusion in real time. When the device's computing power exceeds this threshold, it indicates that its hardware resources are sufficient to support complex deep learning model inference, and therefore the same method as in step S44 is used. If the device has network connectivity but insufficient local computing power, the text prompts can also be sent to a cloud server for inference, and the generated image returned by the server can be received. This embodiment does not limit this, as long as a background image generated based on the text prompts can be obtained in the end.

[0113] Step A43: When the computing power is less than or equal to the first computing power threshold and greater than the preset second computing power threshold, a basic background image matching the environmental parameter value is selected from the preset basic background image template library as the target template, and style transfer processing is performed on the target template based on the environmental parameter value to generate a background image.

[0114] It should be noted that the first computing power threshold, as explained above, refers to the performance dividing line between high-end and mid-range devices, while the second computing power threshold refers to the dividing line between mid-range and low-end devices. When the computing power is less than or equal to the first computing power threshold but greater than the second computing power threshold, it indicates that the device has a certain image processing capability, but is insufficient to run large-scale text-based image models. To address this situation, this embodiment employs a method adapted for mid-range devices. Specifically, a base background image matching the environmental parameter values ​​is selected from a preset base background image template library as the target template, and style transfer processing is performed on the target template based on the environmental parameter values ​​to generate the background image.

[0115] It is understandable that the basic background image template library refers to a collection of images pre-stored locally on the device. This library contains multiple pre-generated basic background image templates, which are created based on meteorological parameters, time information, and geographic location information. For example, estimations are made based on effective combinations of weather type (sunny, rainy, snowy, foggy, etc.), time period (early morning, morning, afternoon, evening, night, etc.), and season (spring, summer, autumn, winter), covering common typical scenes. This template library serves as the basic source of materials for background generation on low- to mid-range devices. The target template, on the other hand, refers to a specific basic background image selected from this library. Its selection is based on environmental parameter values ​​related to weather type, time period, season, and geographic location type, and searching the basic background image template library for basic background images with the same or similar weather type, time period, season, and geographic location type as target templates.

[0116] Next, style transfer processing is performed on the target template based on environmental parameter values. This refers to adjusting the visual style of the target template using algorithms based on the current environmental parameter values, so that the generated background image has a visual association with the environmental parameter values. Specifically, the target template and the current environmental parameter values ​​are input into a preset image style transfer model, which then adjusts the overall color tone, lighting, atmosphere, and other visual attributes of the template according to the environmental parameter values.

[0117] For example, in the aforementioned application scenario, a rainfall value of 8mm can trigger adjustments to increase the image's wetness and reduce saturation; a time of 14:30 can trigger an adjustment of the color temperature towards a warmer midday direction; and a wind speed of 3m / s can trigger dynamic cues such as increasing the direction of cloud movement. The image output after style transfer processing is the final background image used for compositing.

[0118] Step A44: When the computing power is less than or equal to the second computing power threshold, select a basic background image that matches the environmental parameter value from the preset basic background image template library as the target template, and use the target template as the background image.

[0119] It should be noted that when the device's computing power is lower than the second computing power threshold, it indicates that the device only has basic image processing capabilities and cannot bear the computational load of the style transfer model. Therefore, the lightest solution is adopted, that is, after selecting a basic background image that matches the environmental parameter value from the preset basic background image template library as the target template, the selected original target template is directly used as the final background image without any additional image processing.

[0120] In this embodiment, a hierarchical adaptation scheme is constructed, and three different background image generation methods are adopted according to the computing power of the local device. This solves the technical problem that devices with different hardware configurations cannot be uniformly adapted to this application, and realizes the broad coverage of the core technical solution on various devices from high-end to low-end.

[0121] Example 4 Based on the first, second, and third embodiments of this application, or a combination of these three embodiments, the same or similar content as the above embodiments can be referred to the above description and will not be repeated hereafter. On this basis, this embodiment provides a user interaction method after step S45, which involves rendering target dynamic visual elements in real time according to target control parameters, and compositing the rendered target dynamic visual elements with a background image to generate a dynamic screensaver.

[0122] In one possible implementation, after step S45, the following steps A451 to A457 are also included: Step A451: Obtain semantic tags from the background image.

[0123] It should be noted that semantic tags refer to identifiers that can characterize the scene category to which the background image content belongs, such as "city scenery," "natural forest," "ocean landscape," and "astronomical phenomenon." This step uses a preset image recognition model to perform semantic recognition on the background image and output one or more preset semantic tags. This image recognition model can be trained on a labeled dataset using a pre-trained convolutional neural network and can classify images into a limited, predefined set of categories. The number of semantic tag categories can be set according to actual needs, such as 10-20 common scene categories to cover most application scenarios; this embodiment does not impose a specific limitation on this.

[0124] Step A452: Through a preset correspondence, determine the target data source and third-party data type corresponding to the environment parameter value and / or semantic tag from multiple preset third-party data sources.

[0125] It should be noted that a third-party data source refers to an independent service entity that can provide specific types of data. Each data source corresponds to a data service that can be invoked. Each preset third-party data source is registered with complete invocation information in the device, such as: data source name, service provider, list of provided data types, invocation method, interface address, request parameter format, authentication method, and response data format. For example, an air quality data source can be provided by an environmental monitoring agency, providing data such as the AQI (Air Quality Index) and PM2.5 concentration; a marine environment data source can be provided by a marine information center, providing data such as seawater temperature and tidal conditions. Third-party data types refer to the specific data items that can be obtained from a data source, such as "AQI index," "PM2.5 concentration," "primary pollutant," "seawater temperature," "tidal conditions," "forest cover," and "historical event timeline." Each data source typically provides multiple data types, and the device can select the data items it needs to acquire based on its actual requirements.

[0126] Additionally, it should be noted that the preset correspondence refers to a pre-established rule or mapping table that associates environmental parameter values ​​and semantic tags with specific third-party data sources.

[0127] First, the semantic tags and current environment parameter values ​​are obtained. Then, the corresponding relationship table is traversed, and the matching conditions are checked one by one. When the condition of a rule is met, the target data source and third-party data type corresponding to that rule are determined as the objects to be invoked. If multiple rules are met simultaneously, they can be selected according to preset priorities, such as environment parameter value triggering taking precedence over semantic tag triggering, or the optimal data source being selected according to the rule order. Alternatively, multiple data sources can be selected simultaneously for overlay display.

[0128] Step A453: Generate request parameters based on third-party data types.

[0129] It's important to note that request parameters are the specific parameters required when calling the target data source API, specifying the data content, time range, geographical location, etc. The generation of request parameters is based on the definition of the third-party data type and the current environment parameter values. First, based on the third-party data type, the API specification template corresponding to the target data source is queried to obtain a list of required parameters and their format requirements. Then, the corresponding values ​​are extracted from the current environment parameter values, formatted according to the API specification requirements, and combined to form a complete request parameter string.

[0130] Understandably, different data sources have different interface specifications, and the format and content of request parameters also vary. The device can dynamically generate request parameter fields that meet the requirements based on the preset interface specification template and the current environment parameter values.

[0131] Step A454: Obtain the corresponding third-party dynamic data by calling the data interface provided by the target data source and sending request parameters.

[0132] It's important to note that a data interface refers to the application programming interface (API) provided by the target data source. This interface is a standardized access endpoint for network communication and data exchange between the device and remote data services. It typically includes a unique interface address, request method, parameter format, and return data format definition. Based on the target data source, the device obtains its interface address and calling specifications, then encapsulates the request parameters according to the data interface's calling specifications and initiates the request over the network. After sending the request to the data interface, the device receives the returned response, parses the returned data, and extracts the required third-party dynamic data. This third-party dynamic data represents the requested real-time or latest status information related to the current environment or geographical location. For example, sending parameters containing a specific city code is necessary to obtain air quality data for a particular city, rather than nationwide.

[0133] Understandably, data interface calls may require authentication, and devices should include the corresponding authentication information in the request. For data that needs to be updated in real time, a reasonable polling interval or a long-lived connection can be set.

[0134] Additionally, it's important to note that network requests may fail or time out, and devices should have retry mechanisms and fallback strategies. For example, when a request fails, you can try using locally cached historical data or temporarily skip the data source to avoid affecting the normal display of the dynamic screensaver.

[0135] Step A455: Convert the third-party dynamic data into a visualization data layer.

[0136] It's important to note that the visualization data layer refers to the processing of raw, third-party dynamic data to create visual elements that can be directly displayed on the screensaver, such as charts, numerical values, icons, progress bars, and line graphs. The conversion process includes two stages: data mapping and graphic rendering. For example, AQI values ​​are mapped to corresponding colors to generate a circular dashboard or numerical cards; forest coverage data is mapped to line graphs or progress bars; and PM2.5 concentration is mapped to text prompts and icons.

[0137] Understandably, different types of data require different visualization formats. Multiple visualization templates can be preset, and the appropriate presentation method can be automatically selected based on the data characteristics. The data visualization layer is typically designed with a semi-transparent, low-saturation style to avoid interfering with the main screensaver image.

[0138] Additionally, it is important to note that the generation of the visualization data layer should consider its coordination with the screensaver image, including its position, size, and transparency, to ensure that the information is clearly visible without compromising the immersive experience.

[0139] Step A456: Overlay the visualization data layer onto the dynamic screensaver.

[0140] It's important to note that overlaying refers to treating the visualization data layer as an independent layer and combining it with an existing dynamic screensaver image according to a preset position and hierarchical order. Typically, the visualization data layer is placed above the dynamic visual elements, but to avoid affecting interactivity, a transparent interactive hotspot layer can be added above it. When overlaying, the layer blending modes and opacities must be considered to achieve a harmonious and natural visual effect.

[0141] It is understandable that the overlay operation is completed in real time within the rendering pipeline, running in parallel with the rendering of dynamic visual elements. To enhance the user experience, this embodiment supports multiple visualization modes. In one feasible implementation, the device provides three display modes: Immersive Blending Mode, Information Enhancement Mode, and Clean Mode. Users can select or switch between these modes through the settings interface according to their personal preferences. Specifically, Immersive Blending Mode displays data as semi-transparent cards in the corners of the screen, Information Enhancement Mode highlights data visualization, and Clean Mode completely hides the data layer.

[0142] For example, please refer to Figure 4 Based on the third-party data type determined in the aforementioned steps, which is the AQI value, the device selects the corresponding visualization element for data mapping. In this embodiment, a circular dashboard can be used as the visualization form for AQI data. Please refer to... Figure 4 (a) On the screen of device 101, a circular instrument panel 501 is superimposed on the upper right corner of the dynamic screensaver 103. The circular instrument panel 501 has an outer ring band consisting of five blocks, which represent the air quality levels: from left to right, these five blocks are "Excellent", "Good", "Lightly Polluted", "Moderately Polluted", and "Heavily Polluted". The pointer points to the red area, indicating that the current air quality level is "Moderately Polluted". The circular instrument panel 501 is displayed in a semi-transparent, small-sized form in the lower right corner of the screen. The pointer and the outer ring band are clearly distinguishable, but the overall visual intensity is low, blending naturally with the screensaver.

[0143] Step A457, in response to the interactive operation on the visualization data layer, triggers a service call that is pre-associated with third-party dynamic data.

[0144] It's important to note that interactive operations refer to active touch actions performed by the user on the visual data layer of the screensaver, such as clicking, long-pressing, swiping, using remote control directional keys for navigation, and confirming. This step achieves stable and reliable user interaction through an independent interactive hotspot layer. This interactive hotspot layer is a transparent layer independent of the dynamic visual element layer, and its area divisions correspond one-to-one with the positions of the visual elements in the visual data layer. By listening to interactive operations on the dynamic screensaver and combining the area information of the interactive hotspot layer, the specific visual element corresponding to the user's operation is determined. When a valid interaction is detected, a service call pre-associated with that visual element is triggered, such as opening a details page, navigating to a third-party application, displaying an advertisement, or launching a public welfare activity.

[0145] Understandably, service invocation design needs to consider user experience smoothness and device compatibility. For mobile devices, in-app pages or pop-ups can be used; for TV devices, browser redirection or system application invocation can be used; for services that cannot be directly invoked, a QR code can be displayed to guide users to scan and access the service. Associated service information can be configured along with the data source in a pre-defined mapping relationship.

[0146] For example, refer to Figure 4 (b) The user first clicks on the visual element 501 on the screen of the smart display device 101. At this time, the device detects the click event through the interactive hotspot layer 502 corresponding to the position of the visual element 501. Based on a preset correspondence, the device identifies the service associated with this interactive operation as "Open detailed air quality data panel". Subsequently, the device executes the corresponding service call. Please refer to [reference needed]. Figure 4 (c) The screen of the smart display device 101 displays a detailed air quality data panel 503, which shows detailed information such as PM2.5 concentration, PM10 concentration, and CO concentration. Users can further jump to the weather application through the "View Weather" button 504 at the bottom of the panel, or enter the environmental protection public welfare website through the "Participate in Environmental Protection" button 505.

[0147] Additionally, it's important to note that the design of interactive elements should consider user experience and avoid accidental touches. For example, clickable areas can be set on visual elements, and appropriate feedback can be used to indicate to the user that their action has been responded to.

[0148] In this embodiment, a third-party data interaction function is introduced after the dynamic screensaver is generated. Image recognition technology is used to obtain semantic tags from the background image, and combined with environmental parameter values, relevant data sources are intelligently matched. The acquired real-time data is then overlaid on the screensaver in a visual form, and user interaction can trigger related services. This technical solution solves the technical problem of traditional screensavers having limited functionality and failing to provide real-time information related to the current screen content. It transforms the screensaver from a simple visual decoration into an intelligent information window, enriching its functional dimensions, enhancing user value and engagement, and providing a technical foundation for building a sustainable business ecosystem.

[0149] Example 5 This application provides an intelligent display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to execute the dynamic screen saver generation method in the first embodiment above.

[0150] The following is for reference. Figure 5 The diagram illustrates a structural schematic suitable for implementing the intelligent display device of the present disclosure embodiments. The intelligent display device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0151] like Figure 5As shown, the intelligent display device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for device operation. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0152] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of embodiments of this disclosure.

[0153] Compared with the prior art, the beneficial effects of the intelligent display device provided in this application embodiment are the same as the beneficial effects of the dynamic screen saver generation method provided in the above embodiment, and other technical features in the device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

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

[0155] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0156] Example 5 This application provides a computer-readable storage medium having computer-readable program instructions stored thereon, which are used to execute the dynamic screensaver generation method in the first embodiment described above.

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

[0158] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.

[0159] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a device, cause the device to: acquire real-time environmental parameter values; determine the corresponding target dynamic visual element based on the environmental parameter values; convert the environmental parameter values ​​into target control parameter values ​​of the physical attributes of the target dynamic visual element based on a preset mapping rule; render the target dynamic visual element in real time based on the target control parameter values ​​to generate a dynamic screensaver; and finally output the dynamic screensaver.

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

[0161] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0162] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0163] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A method for generating a dynamic screensaver, characterized in that, The dynamic screensaver generation method includes: Obtain real-time environmental parameter values; Based on the environmental parameter values, determine the corresponding target dynamic visual elements; Based on preset mapping rules, the environmental parameter values ​​are converted into target control parameter values ​​of the physical attributes of the target dynamic visual elements; Based on the target control parameter values, the target dynamic visual elements are rendered in real time to generate a dynamic screensaver; Output the dynamic screensaver.

2. The dynamic screensaver generation method as described in claim 1, characterized in that, The environmental parameter values ​​include at least one of meteorological parameter values, time information, and geographical location information; The step of determining the corresponding dynamic visual element based on the environmental parameter values ​​includes: Determine whether the environmental parameter values ​​meet the preset activation conditions corresponding to each dynamic visual element; If the environmental parameter value satisfies any of the activation conditions, then the dynamic visual element corresponding to the activation condition is determined as the target dynamic visual element. If the environmental parameter values ​​do not meet all the activation conditions, then the preset basic dynamic visual element is determined as the target dynamic visual element.

3. The dynamic screensaver generation method as described in claim 1, characterized in that, The step of rendering the target dynamic visual elements in real time according to the target control parameter value to generate a dynamic screensaver includes: By using a preset single-parameter mapping rule, each environmental parameter value is mapped to a corresponding basic descriptive term. Multiple environmental parameter values ​​are input into a preset multi-parameter inference model, which infers based on the combination relationship between the multiple environmental parameter values ​​and outputs scene atmosphere description words. The basic descriptive words and the scene atmosphere descriptive words are combined to obtain text prompt words; The text prompt is input into a preset text-to-image model to generate a background image; Based on the target control parameter value, the target dynamic visual element is rendered in real time, and the rendered target dynamic visual element is combined with the background image to generate a dynamic screensaver.

4. The dynamic screensaver generation method as described in claim 3, characterized in that, The step of combining the basic descriptive words and the scene atmosphere descriptive words to obtain text prompt words includes: Obtain the input text description information; The text prompt word is obtained by combining the text description information, the basic descriptive words, and the scene atmosphere descriptive words.

5. The dynamic screensaver generation method as described in claim 3, characterized in that, The step of compositing the rendered target dynamic visual element with the background image to generate a dynamic screensaver includes: Receive personalized images as input; The personalized image is segmented to extract the main object; The main object, the background image, and the rendered target dynamic visual elements are merged to generate a dynamic screensaver.

6. The dynamic screensaver generation method as described in claim 5, characterized in that, Before the step of performing image segmentation on the personalized image to extract the subject object, the method further includes: Determine whether the resolution of the personalized image is greater than a first preset threshold, whether the clarity of the personalized image is greater than a second preset threshold, and whether there is an identifiable foreground subject in the personalized image; If the resolution is greater than the first preset threshold, the clarity is greater than the second preset threshold, and there is an identifiable foreground subject in the personalized image, then the step of performing image segmentation on the personalized image to extract the subject object is executed.

7. The dynamic screensaver generation method as described in claim 3, characterized in that, The dynamic screensaver generation method also includes: Test the computing power of the device. When the computing power is greater than a preset first computing power threshold, the step of inputting the text prompt into a preset text-to-image model to generate a background image is executed. When the computing power is less than or equal to the first computing power threshold and greater than the preset second computing power threshold, a basic background image matching the environmental parameter value is selected from the preset basic background image template library as the target template, and style transfer processing is performed on the target template based on the environmental parameter value to generate the background image; When the computing power is less than or equal to the second computing power threshold, a basic background image matching the environmental parameter value is selected from the preset basic background image template library as the target template, and the target template is used as the background image.

8. The dynamic screensaver generation method as described in claim 3, characterized in that, After the step of rendering the target dynamic visual element in real time according to the target control parameter value, and compositing the rendered target dynamic visual element with the background image to generate a dynamic screensaver, the following steps are included: Obtain the semantic tags in the background image; By using a pre-defined correspondence, the target data source and third-party data type corresponding to the environmental parameter value and / or the semantic tag are determined from multiple pre-defined third-party data sources; Generate request parameters based on the third-party data type; By calling the data interface provided by the target data source and sending request parameters, the corresponding third-party dynamic data can be obtained. The third-party dynamic data is converted into a visual data layer; The visualization data layer is overlaid onto the dynamic screensaver; In response to interactive operations on the visualization data layer, a service call pre-associated with the third-party dynamic data is triggered.

9. An intelligent display device, characterized in that, The intelligent display device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the dynamic screensaver generation method as described in any one of claims 1 to 8.

10. A readable storage medium, characterized in that, The readable storage medium is a computer-readable storage medium, and the computer-readable storage medium stores a program that implements the dynamic screen saver generation method. The program that implements the dynamic screen saver generation method is executed by a processor to implement the steps of the dynamic screen saver generation method as described in any one of claims 1 to 8.