Television wallpaper generation method and device, equipment and medium
By adding multiple dynamic animation layers to the animation adding area of the smart TV wallpaper, the problem of single function and poor user experience of the existing smart TV wallpaper is solved, achieving a richer visual experience and higher user satisfaction.
Patent Information
- Application Number
- CN202411210363.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-01-21
AI Technical Summary
The wallpaper functions of existing smart TVs are relatively single, mainly using static pictures or dynamic videos, which leads to aesthetic fatigue after a long time of use, lack of visual appeal, and poor user experience.
By obtaining the TV wallpaper selected by the user during animation configuration and determining the animation addition area, multiple dynamic animation layers are added to the animation addition area based on the wallpaper type. Each layer has different dynamic effects in different time periods to generate the target TV wallpaper.
It increases the interest of TV wallpapers, provides a richer visual experience, reduces users’ aesthetic fatigue, and improves the overall user experience.
Smart Images

Figure CN119342268A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent terminal technology, and in particular to a method, device, equipment and medium for generating television wallpaper. Background Art
[0002] With the continuous development of electronic technology, mobile phones, televisions and other terminals have penetrated into people's lives. In addition to basic communication and Internet access functions, terminals generally have wallpaper functions, so that users can set the background picture of the terminal screen according to their preferences, and then display the wallpaper on the TV screen to bring users aesthetic enjoyment, providing more personalized functional services.
[0003] However, most of the current smart TVs use static images or dynamic videos as wallpapers, but their wallpaper display functions are relatively simple, and aesthetic fatigue will inevitably occur after using them for a period of time. They lack sufficient visual appeal, resulting in a poor user experience. Summary of the invention
[0004] Based on this, it is necessary to provide a TV wallpaper generation method, device, equipment and medium to address the above technical problems, which can enhance the user experience.
[0005] A first aspect of an embodiment of the present application provides a method for generating a TV wallpaper, the method comprising:
[0006] Obtain the TV wallpaper selected by the user during animation configuration, and determine the animation adding area of the TV wallpaper;
[0007] Based on the wallpaper type of the TV wallpaper, a target animation corresponding to the wallpaper type is added to the animation adding area to generate a target TV wallpaper, wherein the target animation is a plurality of dynamic animation layers, and each dynamic animation layer has different dynamic effects in different time periods.
[0008] A second aspect of an embodiment of the present application provides a device for generating a TV wallpaper, the device comprising:
[0009] A determination module, used to obtain the TV wallpaper selected by the user during animation configuration, and determine the animation adding area of the TV wallpaper;
[0010] A generation module is used to add a target animation corresponding to the wallpaper type in the animation adding area based on the wallpaper type of the TV wallpaper, so as to generate a target TV wallpaper, wherein the target animation is a plurality of dynamic animation layers, and each dynamic animation layer has different dynamic effects in different time periods.
[0011] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements any one of the TV wallpaper generation methods provided in the embodiments of the present application.
[0012] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any one of the TV wallpaper generation methods provided in the embodiments of the present application.
[0013] In summary, the present invention provides a method, device, equipment and medium for generating a TV wallpaper, which obtains the TV wallpaper selected by the user during animation configuration, determines the animation adding area of the TV wallpaper, and based on the wallpaper type of the TV wallpaper, adds a target animation corresponding to the wallpaper type to the animation adding area to generate a target TV wallpaper, wherein the target animation is a plurality of dynamic animation layers, and each dynamic animation layer has different dynamic effects in different time periods. This application adds a target animation containing different dynamic animation layers to the animation adding area of the TV wallpaper, so that the generated target TV wallpaper can display different dynamic effects in different time periods, thereby increasing the fun of the TV wallpaper and providing users with a better user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0015] Figure 1 It is a flowchart of a method for generating a TV wallpaper provided by an embodiment of the present invention;
[0016] Figure 2 It is a structural schematic diagram of a TV wallpaper generating device provided by an embodiment of the present invention;
[0017] Figure 3 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0019] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0020] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0021] As used in the present specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]", depending on the context.
[0022] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0023] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0024] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0025] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0026] See also Figure 1 , is a flow chart of a method for generating a TV wallpaper according to an embodiment of the present invention. Figure 1 As shown, the TV wallpaper generation method may include the following steps:
[0027] S101: Acquire the TV wallpaper selected by the user during animation configuration, and determine the animation adding area of the TV wallpaper.
[0028] In the embodiments of the present disclosure, a smart TV is taken as an example for explanation. In specific implementation, a user interface can be created on the smart TV to display multiple TV wallpapers for users to choose from. Users select a specific TV wallpaper so that the TV wallpaper can add the required animation effects, thereby meeting the demand for real-time editing of TV wallpapers. After obtaining the TV wallpaper selected by the user during animation configuration, the animation adding area of the TV wallpaper is determined so that the animation can be quickly and accurately added to the TV wallpaper.
[0029] In one embodiment of the invention, determining an animation adding area of a TV wallpaper includes:
[0030] Preprocessing the TV wallpaper to generate an initialized TV wallpaper;
[0031] An animation adding area of the TV wallpaper is determined according to the initial style features and the initial content features corresponding to the initialized TV wallpaper.
[0032] Specifically, take the TV wallpaper as a dynamic wallpaper as an example for explanation. According to the preset framing method, the wallpaper corresponding to the first frame is extracted from the TV wallpaper. The wallpaper corresponding to the first frame can be static or dynamic. This application does not make any restrictions on this. Then, the wallpaper corresponding to the first frame is preprocessed, and the preprocessing operation includes denoising and filter effect removal operations, and then the initial TV wallpaper is generated. After the initial TV wallpaper is generated, the initial TV wallpaper is input into the convolutional neural network to obtain the initial style features and initial content features corresponding to the initial TV wallpaper. After obtaining the initial style features and initial content features corresponding to the initial TV wallpaper, the initial style features and initial content features corresponding to the initial TV wallpaper are analyzed, that is, the tone, color and overall layout of the initial style features, the important content elements, dynamic and static of the initial content features, etc., and then the animation adding area suitable for the TV wallpaper is determined according to the analysis results. The size and position of the animation adding area can be set by CSS, or it can be set by other methods. This application does not make any restrictions on this. The animation adding area of the TV wallpaper in the above manner can not only ensure that the animation effect after the subsequent animation is added is coordinated with the background wallpaper, but also enhance the overall visual performance and achieve the best user experience.
[0033] For example, when the TV wallpaper type is natural scenery, and the main colors of the initial style features analyzed are green and blue and the patterns include trees, mountains and water, the initial content features analyzed are the boat on the water and the mountains in the distance, and the background space is large and has dynamic effects (such as flowing water), then the boat on the water and the mountains in the distance are determined as the animation adding area, that is, fishing animation, climbing animation, etc. are added to the animation adding area.
[0034] In the embodiment of the present application, the TV wallpaper selected by the user during animation configuration is obtained, and the animation adding area of the TV wallpaper is determined, so that animation can be added to the animation adding area of the TV wallpaper quickly and accurately later, thereby creating interest.
[0035] S102: Based on the wallpaper type of the TV wallpaper, a target animation corresponding to the wallpaper type is added to the animation adding area to generate a target TV wallpaper, wherein the target animation is a plurality of dynamic animation layers, and each dynamic animation layer has different dynamic effects in different time periods.
[0036] In one embodiment of the invention, generating a target TV wallpaper includes:
[0037] According to the wallpaper type of the TV wallpaper, determining a target dynamic effect matching the wallpaper type;
[0038] Using a preset movie production software to create a target animation corresponding to the target dynamic effect;
[0039] The target animation is added to the animation adding area of the TV wallpaper to generate the target TV wallpaper.
[0040] Specifically, since the wallpaper type of the TV wallpaper can be a wallpaper of characters, animations or scenery, the target dynamic effect matching the wallpaper type is determined according to the wallpaper type of the TV wallpaper. For example, if the wallpaper type of the TV wallpaper is scenery, the target dynamic effect is the movement of natural elements, such as leaves blown by the breeze, flowing water, flying birds, etc. Then, a target animation corresponding to the target dynamic effect is created by using a preset movie production software. The target animation is composed of multiple dynamic animation layers, and each dynamic animation layer draws the dynamic effects of one or more elements constituting the entire wallpaper. The dynamic effects may vary according to the specific elements and are determined by the designer. Each layer element has its own change amount and its own independent motion trajectory. The dynamic animation layers are arranged in order according to the transparency of each layer, and then the target animation composed of multiple dynamic animation layers is added to the animation adding area of the TV wallpaper to generate a target TV wallpaper, so that the target TV wallpaper can display different animation effects, and the animation effect displayed by the target TV wallpaper is related to the arrangement order of each dynamic animation layer, so that each dynamic animation layer moves along its predetermined motion trajectory according to the change amount of the layer element itself and the arrangement order, thereby realizing a dynamic wallpaper with a 3D effect.
[0041] It should be noted that the video production software can be Adobe After Effects or Blender, and this application does not impose any limitation on this.
[0042] For example, when the wallpaper type of the TV wallpaper is ocean scenery, the ocean is added as an animation area, and then a target animation containing a dynamic animation layer of undulating waves, a dynamic animation layer of flying seagulls, and a dynamic animation layer of floating bubbles is added to the ocean area to generate a target TV wallpaper, and the start and end times of the dynamic animation layer of undulating waves, the dynamic animation layer of flying seagulls, and the dynamic animation layer of floating bubbles are set respectively, that is, "one day", "two days" and "three days", so that the target TV wallpaper can display the undulating animation effect on the first day, the flying seagull animation effect on the second day, and the floating bubble animation effect on the third day. Through the above steps, multiple dynamic animation layers can be added according to different wallpaper types, and then the TV wallpaper can be adjusted. By combining various animation effects, the adjusted TV wallpaper can be made more vivid and interesting, enhancing the visual experience for users.
[0043] It should be noted that the dynamic animation layers and start and end times of this application can be set according to actual conditions, and this application does not impose any restrictions on this.
[0044] In an embodiment of the invention, after generating the target TV wallpaper, the following steps are included:
[0045] Based on the preset animation display time, each dynamic animation layer in the target TV wallpaper is displayed in sequence according to the playback order.
[0046] Specifically, multiple dynamic animation layers can be set in sequence or in a non-sequential stacking arrangement, and there is no specific limitation. After generating the target TV wallpaper, the animation display time must be pre-set, and the set animation display time can be a reference animation display time with a higher user comfort level. Then, based on the preset animation display time, each dynamic animation layer in the target TV wallpaper is displayed in sequence according to the playback order to ensure that each dynamic animation layer in the target TV wallpaper can be displayed, thereby providing users with a better user experience.
[0047] It should be noted that the animation display time can be set according to actual conditions, and this application does not impose any restrictions on this.
[0048] In one embodiment, when a user triggers a dynamic animation display instruction multiple times in a short period of time, in order to avoid too many animations being rendered on the same screen, resulting in animation frame drops and application freezes, a dynamic animation layer playback queue and a dynamic animation layer waiting queue are pre-set to limit the number of animations played at the same frequency. Among them, the capacity of the dynamic animation layer playback queue can be set based on the number of stored dynamic animation layers, that is, the upper limit of the number of dynamic animation layers that the dynamic animation layer queue can store is set. Here, one dynamic animation layer is taken as an example, and the capacity of the dynamic animation layer waiting queue can also be set based on the number of stored dynamic animation layers, that is, the upper limit of the number of dynamic animation layers that the dynamic animation layer waiting queue can store. There is no limitation here, and it can be set according to the actual situation.
[0049] In one embodiment of the invention, each dynamic animation layer is displayed, including:
[0050] Monitor the animation time of dynamic animation layers;
[0051] Determine whether the animation time of the dynamic animation layer meets the animation display time;
[0052] If the animation time of the dynamic animation layer meets the preset animation display time, the dynamic animation display instruction is triggered, and the animation effect corresponding to the dynamic animation layer is controlled to be displayed based on the dynamic animation display instruction until the animation effect corresponding to the dynamic animation layer is displayed.
[0053] Specifically, when displaying each dynamic animation layer, it is necessary to monitor the animation time of the dynamic animation layer in advance, and then determine whether the animation time corresponding to the dynamic animation layer meets the preset animation display time. If the animation time of the dynamic animation layer meets the preset animation display time, the dynamic animation display instruction is triggered, and the animation effect corresponding to the display of the dynamic animation layer is controlled based on the dynamic animation display instruction until the animation effect corresponding to the dynamic animation layer is displayed. When the animation effect corresponding to the dynamic animation layer is displayed, the monitoring of the animation time of the next dynamic animation layer is continued until the animation effects corresponding to all dynamic animation layers are displayed. If the animation time of the dynamic animation layer does not meet the preset animation display time, the step of monitoring the animation time of the dynamic animation layer is re-executed.
[0054] In one embodiment, the first animation time of the first dynamic animation layer is first monitored, and then it is determined whether the first animation time corresponding to the first dynamic animation layer meets the preset animation display time. If the first animation time of the first dynamic animation layer meets the preset animation display time, the dynamic animation display instruction is triggered, and the first dynamic animation layer is controlled to display the corresponding first animation effect based on the dynamic animation display instruction until the first animation effect corresponding to the first dynamic animation layer is displayed. When the first animation effect corresponding to the first dynamic animation layer is displayed, the second animation time of the second dynamic animation layer is continuously monitored, and then it is determined whether the second animation time corresponding to the second dynamic animation layer meets the preset animation display time. If the second animation time of the second dynamic animation layer meets the preset animation display time, the dynamic animation display instruction is triggered, and the second dynamic animation layer is controlled to display the corresponding second animation effect based on the dynamic animation display instruction until the second animation effect corresponding to the second dynamic animation layer is displayed. When the second animation effect corresponding to the second dynamic animation layer is displayed, the above steps are continuously repeated until the nth animation effect corresponding to the nth dynamic animation layer is displayed, so that the target TV wallpaper completes the display of all animation effects.
[0055] For example, when the user selects a specific TV wallpaper as the window wallpaper, what the user sees is the window and the scenery outside the window. On the 5th day after the user uses the wallpaper, an animation of a bird will appear on the window wallpaper. On the 6th day, the bird disappears, leaving behind a bird's nest. On the 10th day, bird eggs appear in the bird's nest. On the 12th day, the bird hatches from the egg and makes a cry. On the 15th day, the bird grows up and finally flies away from the screen, returning to the starting state of the wallpaper, thus creating a life scene and making the entire TV wallpaper come alive.
[0056] In this embodiment, based on the wallpaper type of the TV wallpaper, a target animation corresponding to the wallpaper type is added to the animation adding area to meet the personalized needs of users. By combining ecological changes with user visual experience, the generated target TV wallpaper is more vivid and interesting, which enhances the user's sense of participation and emotional connection. Users can feel the passage of time and natural changes in daily use of smart TVs, thereby improving the overall usage experience.
[0057] In summary, the present invention provides a method, device, equipment and medium for generating a TV wallpaper, which obtains the TV wallpaper selected by the user during animation configuration, determines the animation adding area of the TV wallpaper, and based on the wallpaper type of the TV wallpaper, adds a target animation corresponding to the wallpaper type to the animation adding area to generate a target TV wallpaper, wherein the target animation is a plurality of dynamic animation layers, and each dynamic animation layer has different dynamic effects in different time periods. This application adds a target animation containing different dynamic animation layers to the animation adding area of the TV wallpaper, so that the generated target TV wallpaper can display different dynamic effects in different time periods, thereby increasing the fun of the TV wallpaper and providing users with a better user experience.
[0058] See also Figure 2 , Figure 2 Schematic diagram of the structure of the TV wallpaper generation device provided by the embodiment of the present invention. In this embodiment, the terminal includes various units for executing Figure 1 For details, please refer to the steps in the corresponding embodiment. Figure 1 as well as Figure 1 For the convenience of explanation, only the parts related to this embodiment are shown. Figure 2 The TV wallpaper generating device 20 includes: a determining module 21 and a generating module 22 .
[0059] A determination module 21, used to obtain the TV wallpaper selected by the user during animation configuration, and determine the animation adding area of the TV wallpaper;
[0060] The generating module 22 is used to add a target animation corresponding to the wallpaper type in the animation adding area based on the wallpaper type of the TV wallpaper, so as to generate a target TV wallpaper, wherein the target animation is a plurality of dynamic animation layers, and each dynamic animation layer has different dynamic effects in different time periods.
[0061] Optionally, the determination module 21 is specifically used for:
[0062] Preprocessing the TV wallpaper to generate an initialized TV wallpaper;
[0063] An animation adding area of the TV wallpaper is determined according to the initial style features and the initial content features corresponding to the initialized TV wallpaper.
[0064] Optionally, the generating module 22 is specifically used for:
[0065] According to the wallpaper type of the TV wallpaper, determining a target dynamic effect matching the wallpaper type;
[0066] Using a preset movie production software to create a target animation corresponding to the target dynamic effect;
[0067] The target animation is added to the animation adding area of the TV wallpaper to generate the target TV wallpaper.
[0068] Optionally, the wallpaper type is characters, cartoons or landscapes.
[0069] Optionally, each of the dynamic animation layers has a respective independent motion track on the target TV wallpaper.
[0070] Optionally, the generating module 22 is then specifically used for:
[0071] Based on the preset animation display time, each dynamic animation layer in the target TV wallpaper is displayed in sequence according to the playback order.
[0072] Optionally, the generating module 22 is further used to:
[0073] Monitor the animation time of dynamic animation layers;
[0074] Determine whether the animation time of the dynamic animation layer meets the preset animation display time;
[0075] If the animation time of the dynamic animation layer meets the preset animation display time, the dynamic animation display instruction is triggered, and the animation effect corresponding to the dynamic animation layer is controlled to be displayed based on the dynamic animation display instruction until the animation effect corresponding to the dynamic animation layer is displayed.
[0076] It should be noted that the information interaction, execution process and other contents between the above-mentioned units are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0077] Figure 3 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 3As shown, the electronic device of this embodiment includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the steps in any of the above-mentioned embodiments of the TV wallpaper generation method are implemented.
[0078] The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 3 These are merely examples of electronic devices and do not constitute limitations on the electronic devices. The electronic devices may include more or fewer components than those shown in the figures, or a combination of certain components, or different components. For example, they may also include a network interface, a display screen, an input device, and the like.
[0079] In one embodiment, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor in an electronic device, the electronic device can perform the steps of any embodiment of the method for generating a TV wallpaper disclosed in the present invention, which will not be repeated here. The computer-readable storage medium can be non-volatile or volatile.
[0080] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0081] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of an electronic device, and the internal memory provides an environment for the operation of an operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of an electronic device, and in other embodiments may also be an external storage device of the electronic device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory may also include both an internal storage unit of the electronic device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0082] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0083] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0084] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0085] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A method for generating a TV wallpaper, characterized in that: include: Obtain the TV wallpaper selected by the user during animation configuration, and determine the animation adding area of the TV wallpaper; Based on the wallpaper type of the TV wallpaper, a target animation corresponding to the wallpaper type is added to the animation adding area to generate a target TV wallpaper, wherein the target animation is a plurality of dynamic animation layers, and each dynamic animation layer has different dynamic effects in different time periods.
2. The method for generating TV wallpaper according to claim 1, characterized in that: The step of determining the animation adding area of the TV wallpaper includes: Preprocessing the TV wallpaper to generate an initialized TV wallpaper; An animation adding area of the TV wallpaper is determined according to the initial style features and the initial content features corresponding to the initialized TV wallpaper.
3. The method for generating TV wallpaper according to claim 1, characterized in that: The wallpaper type may be characters, cartoons or landscapes.
4. The method for generating TV wallpaper according to claim 1, characterized in that: The step of adding a target animation corresponding to the wallpaper type in the animation adding area based on the wallpaper type of the TV wallpaper to generate a target TV wallpaper includes: According to the wallpaper type of the TV wallpaper, determining a target dynamic effect matching the wallpaper type; Using a preset movie production software to create a target animation corresponding to the target dynamic effect; The target animation is added to the animation adding area of the TV wallpaper to generate the target TV wallpaper.
5. The method for generating TV wallpaper according to claim 1, characterized in that: Multiple dynamic animation layers are sequentially superimposed and set, and after generating the target TV wallpaper, the method includes: Based on the preset animation display time, each dynamic animation layer in the target TV wallpaper is displayed in sequence according to the playback order.
6. The method for generating TV wallpaper according to claim 5, characterized in that: Each dynamic animation layer is displayed, including: Monitor the animation time of dynamic animation layers; Determine whether the animation time of the dynamic animation layer meets the preset animation display time; If the animation time of the dynamic animation layer meets the preset animation display time, the dynamic animation display instruction is triggered, and the animation effect corresponding to the dynamic animation layer is controlled to be displayed based on the dynamic animation display instruction until the animation effect corresponding to the dynamic animation layer is displayed.
7. The method for generating TV wallpaper according to claim 1, characterized in that: Each of the dynamic animation layers has its own independent motion track on the target TV wallpaper.
8. A device for generating television wallpaper, characterized in that: include: A determination module, used to obtain the TV wallpaper selected by the user during animation configuration, and determine the animation adding area of the TV wallpaper; A generation module is used to add a target animation corresponding to the wallpaper type in the animation adding area based on the wallpaper type of the TV wallpaper, so as to generate a target TV wallpaper, wherein the target animation is a plurality of dynamic animation layers, and each dynamic animation layer has different dynamic effects in different time periods.
9. An electronic device, characterized in that: The electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for generating a TV wallpaper according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for generating a TV wallpaper according to any one of claims 1 to 7 is implemented.