Display device and application theme switching method

By acquiring theme style and material layout information, and using a material generation model to generate target materials and replace the current materials, the problem of material mismatch during theme switching is solved, thus achieving accuracy in theme switching and normal display of the user interface.

CN121636006APending Publication Date: 2026-03-10HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

When switching application themes on display devices, existing technologies cannot effectively solve the problem that theme materials cannot be directly replaced into different theme templates, leading to display errors.

Method used

By acquiring theme style information and material layout information, target materials are generated using a material generation model, and the current theme materials are replaced according to the layout identification code to ensure the matching of the target materials with the theme to be switched.

Benefits of technology

Improved the accuracy of theme material replacement during theme switching, ensuring the user interface displays correctly during theme switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121636006A_ABST
    Figure CN121636006A_ABST
Patent Text Reader

Abstract

The invention provides a display device and an application theme switching method, and the method comprises the steps: obtaining theme style information and material layout information of a to-be-switched theme in response to a theme switching instruction; inputting the theme style information and the material layout information into a material generation model to obtain a target material output by the material generation model; and replacing the current theme material according to the target material, updating the user interface according to the target material to obtain a target theme interface, and controlling a display to display the target theme interface. According to the embodiment of the invention, the material layout information of the current display theme of the user interface is obtained, and the corresponding target material is generated according to the material layout information, so that the target material can correspond to the theme material in the to-be-switched theme, and therefore, when the theme is switched, the original theme material is replaced by the target material with the corresponding size and specification, and the switching efficiency is improved. And the theme material replacement accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display device technology, and in particular to a display device and a method for switching application themes. Background Technology

[0002] The display device can display different elements in the user interface according to preset theme templates, such as background images, background music, and control icons. Users can send selection commands to the display device to switch between different theme resource packs, allowing the user interface to be displayed in a variety of different theme styles.

[0003] When the theme assets in the resource pack do not meet the user's preferences, the user can also generate corresponding theme assets according to the preset theme style using the asset generation model. However, due to the differences in layout between different theme templates, the theme assets generated by the asset generation model cannot be directly replaced in different theme templates, resulting in incorrect display of theme assets when switching themes. Summary of the Invention

[0004] This application provides a display device and an application theme switching method to solve the problem of theme material switching errors when switching application themes.

[0005] In a first aspect, some embodiments of this application provide a display device, the display device including a display, a memory, and a controller, wherein the display is configured to display a user interface of an application; the memory is configured to store a material generation model; and the controller is configured to:

[0006] In response to a theme switching command, the system obtains theme style information and material layout information for the theme to be switched to, wherein the theme to be switched to is the current display theme of the user interface.

[0007] The theme style information and the material layout information are input into the material generation model to obtain the target material, wherein the material style information of the target material is the same as the theme style information;

[0008] Replace the current theme material with the target material, where the current theme material is the theme material of the theme to be switched to;

[0009] The user interface is updated based on the target material to obtain the target theme interface, and the display is controlled to show the target theme interface.

[0010] Secondly, some embodiments of this application provide an application theme switching method applied to the display device described in the first aspect. The display device includes a display, a memory, and a controller. The display is configured to display the user interface of an application, and the memory is configured to store material generation models. The method includes:

[0011] In response to a theme switching command, the system obtains theme style information and material layout information for the theme to be switched to, wherein the theme to be switched to is the current display theme of the user interface.

[0012] The theme style information and the material layout information are input into the material generation model to obtain the target material, wherein the material style information of the target material is the same as the theme style information;

[0013] Replace the current theme material with the target material, where the current theme material is the theme material of the theme to be switched to;

[0014] The user interface is updated based on the target material to obtain the target theme interface, and the display is controlled to show the target theme interface.

[0015] As can be seen from the above technical solutions, this application provides a display device and an application theme switching method. The method, in response to a theme switching command, acquires theme style information and material layout information of the theme to be switched; inputs the theme style information and material layout information into a material generation model to obtain the target material output by the material generation model; replaces the current theme material with the target material, and updates the user interface according to the target material to obtain the target theme interface; and controls the display to show the target theme interface. This application embodiment acquires the material layout information of the current display theme of the user interface and generates corresponding target materials based on the material layout information, enabling the target material to correspond to the theme material in the theme to be switched. Therefore, when switching themes, the original theme material is replaced with a target material of the corresponding size and specifications, improving the accuracy of theme material replacement. Attached Figure Description

[0016] 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, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device provided in some embodiments of this application;

[0018] Figure 2This is a schematic diagram of the hardware configuration of a display device provided in some embodiments of this application;

[0019] Figure 3 This is a schematic diagram of the software configuration of a display device provided in some embodiments of this application;

[0020] Figure 4 Flowcharts for performing theme switching based on material ID are provided for some embodiments of this application;

[0021] Figure 5 This is a flowchart illustrating the theme switching process performed based on generated materials in some embodiments of this application;

[0022] Figure 6 A flowchart illustrating the application theme switching process of a display device provided in some embodiments of this application;

[0023] Figure 7 Timing diagrams for application theme switching performed by a display device according to some embodiments of this application;

[0024] Figure 8 A flowchart illustrating how a display device acquires material quantity information, provided in some embodiments of this application;

[0025] Figure 9 A flowchart illustrating how a display device acquires material attribute information, provided in some embodiments of this application;

[0026] Figure 10 A flowchart illustrating how a display device generates theme style information based on triggering conditions, as provided in some embodiments of this application;

[0027] Figure 11 Flowcharts for generating target materials for display devices provided in some embodiments of this application;

[0028] Figure 12 A flowchart illustrating how a display device updates a material resource library according to the generation progress, as provided in some embodiments of this application;

[0029] Figure 13 A flowchart of a program update for a display device provided in some embodiments of this application;

[0030] Figure 14 This is a flowchart illustrating how a display device performs material updates on a target configuration template, as provided in some embodiments of this application. Detailed Implementation

[0031] The embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described below do not represent all embodiments consistent with this application. They are merely examples of systems and methods consistent with some aspects of this application as detailed in the claims.

[0032] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0033] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0034] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0035] The term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0036] In this embodiment, the display device 200 generally refers to a device with screen display and data processing capabilities. For example, the display device 200 includes, but is not limited to, smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, augmented reality devices, etc.

[0037] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device provided in some embodiments of this application. For example... Figure 1 As shown, a user can operate the display device 200 via touch operation, a mobile terminal 300, and a control device 100. The control device 100 receives user input commands and converts them into control commands that the display device 200 can recognize and respond to. For example, the control device 100 can be a remote control, a stylus, a gamepad, etc.

[0038] The mobile terminal 300 can function as a control device for human-computer interaction between the user and the display device 200. It can also function as a communication device for establishing a communication connection with the display device 200 and exchanging data. In some embodiments, the mobile terminal 300 can have software applications installed on it and communicate with the display device 200 via network communication protocols to achieve one-to-one control and data communication. Furthermore, it can transmit audio and video content displayed on the mobile terminal 300 to the display device 200 for synchronized display.

[0039] In some embodiments, the mobile terminal 300 or other electronic devices may also simulate the functions of the control device 100 by running an application that controls the display device 200.

[0040] like Figure 1 The diagram also shows that the display device 200 communicates with the server 400 via various communication methods. This allows the display device 200 to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0041] Display device 200 can provide broadcast television reception function, and can also be equipped with intelligent network television function that provides computer support, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.

[0042] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of display device 200.

[0043] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.

[0044] In some embodiments, detector 230 is used to acquire signals from the external environment or to interact with the outside world. For example, detector 230 includes a light receiver, a sensor for acquiring ambient light intensity; or, detector 230 includes an image acquisition device, such as a camera, which can be used to acquire external environmental scenes, user attributes, or user interaction gestures; or, detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds.

[0045] In some embodiments, the display 260 includes display function components for presenting images and driving components for driving image display. The display 260 is used to receive and display image signals output from the controller 250. For example, the display 260 can be used to display video content, image content, menu control interface components, and user control UI interfaces, etc.

[0046] In some embodiments, the communication device 220 is a component used to communicate with external devices or the server 400 according to various communication protocol types. The display device 200 may have multiple communication devices 220 depending on the supported communication methods. For example, when the display device 200 supports wireless network communication, it may have a communication device 220 with WiFi functionality. When the display device 200 supports Bluetooth connectivity, it needs to have a communication device 220 with Bluetooth functionality.

[0047] The communication device 220 enables the display device 200 to communicate with external devices or the server 400 via wireless or wired connections. Wired connections utilize data cables, interfaces, or other components to connect the display device 200 to external devices. Wireless connections utilize wireless signals or wireless networks. The display device 200 can directly establish a connection with external devices or indirectly through gateways, routers, or other connection devices.

[0048] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0049] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

[0050] In some embodiments, a user can input user commands through a graphical user interface (GUI) displayed on a display 260, and the user input interface receives user input commands through the graphical user interface (GUI).

[0051] In some embodiments, the audio output device 270 can be a built-in speaker of the display device 200 or an external audio output device connected to the display device 200. For the external audio output device connected to the display device 200, the display device 200 may also be provided with an external audio output terminal, through which the audio output device can be connected to the display device 200 to output sound from the display device 200.

[0052] In some embodiments, the user input interface 280 can be used to receive instructions from user input.

[0053] To enable user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program used to manage and control the hardware and software resources of the display device 200. The operating system can control the display device to provide a user interface; for example, the operating system can directly control the display device 200 to provide a user interface, or it can provide a user interface by running an application. The operating system also allows users to interact with the display device 200.

[0054] It should be noted that the operating system can be a native operating system based on a specific operating platform, a third-party operating system that is deeply customized based on a specific operating platform, or an independent operating system specifically developed for the display device 200.

[0055] An operating system can be divided into different modules or levels based on the functions it implements, for example... Figure 3 As shown, in some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the System Library layer, and the Kernel layer.

[0056] In some embodiments, the application layer provides services and interfaces for applications, enabling the display device 200 to run applications and interact with the user based on the applications. The application layer may contain at least one application, which may be a built-in Windows program, system settings program, or clock program of the operating system; or it may be an application developed by a third-party developer. In specific implementations, the application packages in the application layer are not limited to the examples above.

[0057] The framework layer provides application programming interfaces (APIs) and a programming framework for applications. The application framework layer includes predefined functions. It acts as a central processing unit, determining the actions taken by applications within the application layer. Through the API, applications can access system resources and obtain system services during execution.

[0058] like Figure 3 As shown, the application framework layer in this embodiment includes a view system, managers, and content providers. The view system designs and implements the application's interface and interactions, and includes lists, grids, text boxes, and buttons. The managers include at least one of the following modules: an activity manager for interacting with all running activities in the system; a location manager for providing system services or applications with access to system location services; a package manager for retrieving various information related to application packages currently installed on the device; a notification manager for controlling the display and clearing of notification messages; and a window manager for managing icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0059] In some embodiments, the Activity Manager manages the lifecycle of individual applications and common navigation and back functions, such as controlling application exit, opening, and back actions. The Window Manager manages all window programs, such as obtaining the screen size, determining if a status bar is present, locking the screen, capturing the screen, and controlling changes to the display window, such as shrinking the display window, shaking the display, or distorting the display.

[0060] In some embodiments, the system runtime library layer can provide support for the framework layer. When the framework layer is used, the operating system runs the instruction library contained in the system runtime library layer, such as the C / C++ instruction library, to implement the functions to be performed by the framework layer.

[0061] In some embodiments, the kernel layer is a functional layer situated between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management. For example, ... Figure 3As shown, hardware drivers can be configured in the kernel layer. The drivers included in the kernel layer can be at least one of the following: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.

[0062] It should be noted that the above examples are merely a simple division of operating system functions and do not limit the specific form of the operating system of the display device 200 in this application embodiment. Depending on the functions of the display device 200, the type of the operating system, and other factors, the number of layers and the specific type of the operating system may take other forms.

[0063] In some embodiments, the display device 200 may respond to a power-on command input by the user, execute a corresponding power-on program, and control the display 260 to display an application interface. The application interface may be the default interface after the display device 200 is powered on. The application interface may include multiple application controls, such as game controls, player controls, browser controls, etc., to provide the user with the functions that the display device 200 can use, so that the user can perform corresponding interactive operations according to the control content in the application interface.

[0064] When a user inputs a start command based on the application, the display device 200 can launch and run the application and display its user interface. The user interface can include different personalized themes to display the user interface through different theme styles. For example, personalized themes can include holiday themes, children's themes, game themes, movie themes, etc. The user can select the corresponding theme style according to the personalized theme to control the display device 200 to display the user interface with the selected theme style.

[0065] The display device 200 can determine optional personalized themes for the user interface based on the theme compilation package. Each theme in the theme compilation package may include a resource file containing several theme resources, such as theme background images, theme control icons, theme music, theme notification sounds, or theme greetings. Figure 4 As shown, to distinguish different theme materials, each theme material can be assigned a material ID. The material ID is used to represent information such as the material size and format of the theme material. When switching themes, the display device 200 can replace the current theme material with the theme material to be replaced based on the material ID. Specifically, theme materials in the same layout position can be replaced based on the material ID to complete the theme switching.

[0066] In some embodiments, the display device 200 can also respond to user-inputted theme style information to generate theme assets other than the theme compilation package to generate a custom new theme and use it to perform theme switching. However, the theme assets other than the theme compilation package do not have corresponding asset IDs, and the layouts of different theme templates differ. Therefore, the theme assets generated by the asset generation model cannot be directly replaced in different theme templates. For example, as... Figure 5 As shown, the display device 200 generates a 100×300 background image based on the theme style information. However, since this background image does not have a material ID, the display device 200 may replace the 20×20 theme control icon in the current theme material with the background image, resulting in incorrect display of theme material when switching themes.

[0067] In some embodiments, the display device 200 can generate theme materials based on the material layout information of the theme template using a material generation model, thereby solving the problem of incorrect theme material replacement when switching application themes. Specifically, some embodiments of this application provide a display device 200, which includes a display 260, a memory, and a controller 250. The display 260 is configured to display the user interface of an application; the memory is configured to store material generation models; and the controller 250 is configured to execute an application theme switching method. Figure 6 This is a flowchart illustrating the application theme switching process performed by a display device according to an embodiment of this application. Figure 7 This is a timing diagram illustrating the application theme switching performed by a display device according to an embodiment of this application. The display device 200 follows the sequence shown below. Figure 7 The timing sequence shown illustrates the application theme switching process. See also... Figure 6 and Figure 7 The method includes the following:

[0068] S100: In response to a theme switching command, obtain theme style information and material layout information for the theme to be switched.

[0069] Users can generate theme switching commands via voice input or by controlling device 100. After receiving the theme switching command, display device 200 can obtain theme style information so that the material generation model can generate corresponding theme materials based on the theme style information.

[0070] Therefore, upon responding to a theme switching command, the controller 250 can parse the command to obtain theme style information. For example, if a user can voice-input "Please switch to children's theme," the controller 250 can parse "Please switch to children's theme" to obtain the theme style information as "children's theme."

[0071] In some embodiments, the theme to be switched may include theme materials in different formats, such as image materials, text materials, or audio materials. During the parsing of the theme switching instruction, the controller 250 can also obtain the material layout information of the theme to be switched. This material layout information indicates the layout position of different theme materials within the theme to be switched. The theme to be switched is the current display theme of the user interface, and the controller 250 can obtain the theme template of the theme to be switched to acquire the material layout information.

[0072] Since different theme templates have different material layout information, the controller 250 can traverse the material areas of the theme template. The material area represents the material-filled area of ​​the theme template. During theme switching, the controller 250 can switch different fill materials based on the material area. The theme template may also include audio templates, which are used to fill or replace audio data. For example, some theme templates may include background audio or cue audio.

[0073] For example, the resource template for the theme to be switched can include a theme background image and theme control icons. Correspondingly, the resource area can include a background fill area and a control fill area. The background fill area represents the replaceable area for the theme background image of the theme to be switched, and the control fill area represents the replaceable area for the replaceable area for the theme space icons of the theme to be switched. The resource area can also include a text display area, such as a greeting or theme information text display area in the theme to be switched.

[0074] After traversing the material area, the controller 250 can obtain the material information for that area, including material quantity information, material type information, and material format information. The material quantity information indicates the number of replaceable materials in the theme template. For example... Figure 8 As shown, when a theme template includes a replaceable theme background image, three replaceable theme control icons, and a replaceable greeting text, the material quantity information is 5.

[0075] Replaceable materials can be determined based on the material area. For example, for the background filling area, when the display device 200 displays the user interface with theme A, the theme background image displayed in the background filling area is background image A in theme A, and background image A is a replaceable material at this time. When the display device 200 switches to theme B, the controller 250 will replace the currently displayed background image A with the background image B of theme B to execute the background image switching process in the theme. After the background image switching is completed, background image B is updated to a replaceable material. The above embodiments only use image materials for illustrative purposes. It should be understood that during the theme switching process, the display device 200 can also simultaneously perform the replacement of other image materials, audio materials, or text materials. Therefore, replaceable materials can also include other image materials, audio materials, or text materials.

[0076] Material type information is used to characterize the type of material required for a material area, such as image material, audio material, or text material, so that the material generation model can generate corresponding type of theme material based on the material type information. Material format information is used to indicate the material format corresponding to the generated theme material. For example, the material format of image material can be PNG, XML, GIF, JPEG / JPG, etc. Similarly, the material format of audio material can be MP3, WAV, etc. Material type information and material format information can represent the material attributes of a theme material. Therefore, during the material replacement process, the controller 250 can distinguish the theme material corresponding to different material areas based on the material information.

[0077] In some embodiments, the material format information may also include material attribute information. Material attribute information is used to represent the attributes of the theme material. Figure 9 This is a flowchart illustrating the process of a display device acquiring material attribute information in an embodiment of this application. See also... Figure 9 For image materials, the material attribute information can include image size, image clarity, image saturation, etc.; for audio materials, the material attribute information can include audio length, audio type, etc.; for text materials, the material attribute information can include text font, font size, etc., to improve the accuracy of matching the generated theme materials with the theme template.

[0078] However, within the same theme, identical or similar material areas may appear, leading to confusion when switching between theme materials generated by subsequent material generation models and the corresponding material areas. For example, in theme A, there is a first control icon to represent the first control, and a second control icon to represent the second control. When the material type and format information of the first and second control icons are identical, if only the first and second target icons are generated based on the material type and format information, then during theme switching, the controller 250 may replace the second control icon with the first target icon, and vice versa, causing material switching errors and affecting the normal display of the user interface.

[0079] To differentiate between identical or similar theme materials, controller 250 can generate layout identification codes based on the material area. Controller 250 can then use these layout identification codes to distinguish the generated theme materials, mitigating the confusion caused by switching between identical or similar theme materials. Controller 250 can also send material requests to the material management module based on the layout identification codes. After the material generation model generates the corresponding target material, the material management module responds to the material request, providing the corresponding target material according to the layout identification codes to initiate the theme switching process.

[0080] It should be noted that for the same theme template, the display device 200 can respond to the theme switching command and generate more than one or a set of theme materials. Therefore, each time the controller 250 responds to the theme switching command, it can generate a new layout identification code based on the material area of ​​the theme template to distinguish it from the currently generated theme materials and the historically generated theme materials.

[0081] After generating the layout identification code, the controller 250 can generate the material layout information based on the material quantity information, material type information, material format information, and layout identification code. For example, the material layout information can be "Image A, image format is PNG, image size is 1920×1080; Image B, image format is XML, image size is 20×20; Audio A, audio format is MP3, length is 20s; Text A, number of words is within 30".

[0082] S200: Input the theme style information and the material layout information into the material generation model to obtain the target material.

[0083] The target material refers to the theme material generated by the material generation model based on theme style information and material layout information. Since the application cannot directly interact with the material generation model, the display device 200 may include a material management module, which is communicatively connected to the material generation model. After obtaining the material layout information for the theme to be switched, the controller 250 can send the material layout information and theme style information to the material management module, so that the module can generate a material generation request based on the material layout information and the theme style information.

[0084] When the controller 250 sends a material request to the material management module based on the layout identification code, it can also determine the request information based on the material layout information. This request information can include the request type information TYPE. Depending on the material type, TYPE can include TYPE_PIC (image type), TYPE_AUDIO (audio type), TYPE_VIDEO (video type), TYPE_STRING (text type), TYPE_INT (quantity), and TYPE_BOOLEAN (logical data type). Request parameters can also include supplementary information and scene information. Supplementary information is used to supplement the request type information. For example, for image type information, supplementary information can include image size, image format, etc., such as FILE_TYPE_PNG, FILE_TYPE_XML, etc. Scene information is the usage scenario of the material, such as SCENE_TYPE_BACKGROUND (background image), SCENE_TYPE_BUTTON (control icon), SCENE_TYPE_LINE (line segment), etc.

[0085] The material generation model can be a large AI model. Based on its algorithms, the large AI model can generate themed materials of different styles to achieve customized themes. In response to a material generation request, the model can generate target materials based on theme style information and material layout information. The style information of the target materials is identical to the theme style information.

[0086] In some embodiments, such as Figure 10As shown, the controller 250 can also set trigger conditions for theme style information. When the user's interaction or the usage status of the display device 200 meets the set trigger conditions, the corresponding theme style information can be generated according to the trigger conditions. Different trigger conditions can correspond to different theme style information. For example, for a holiday theme style, theme style information can be generated on the corresponding holiday date. Therefore, the controller 250 can use the holiday date as the trigger condition for generating theme style information. For example, when the current date of the display device 200 is January 1st, the New Year's Day theme style information is generated. The trigger condition can also be a preset time period. For example, when the display device 200 is between 06:00 and 18:00, a daytime theme style information can be generated; when the display device 200 is between 18:00 and 06:00 the next day, a nighttime theme style information can be generated.

[0087] like Figure 11 As shown, the controller 250 can generate materials to be processed based on the material generation model, material quantity information, material type information, and material format information. The materials to be processed are blank content theme material frames. For example, based on the material layout information, it can generate "Image A (PNG format, 1920×1080 pixels); Image B (XML format, 20×20 pixels); Audio A (MP3 format, 20 seconds long); and Text A (no more than 30 characters)." In this case, Image A, Image B, Audio A, and Text A are all materials to be processed.

[0088] After generating the materials to be processed, the material generation model can also perform verification on the materials based on the material quantity information, material type information, and material format information. For example, it can verify the quantity of materials to be processed based on the material quantity information. The material quantity information can be categorized according to different material types. Continuing with the example above, this includes two image materials, one audio material, and one text material. The corresponding material quantity information includes 2 images, 1 audio file, and 1 text file. The controller 250 can also verify the material type of the materials to be processed based on the material type information, and verify the format information of the materials to be processed based on the material format information. If the verified material type or format information of the materials to be processed differs from the material type and format information, the controller 250 can also regenerate the materials to be processed based on the material layout information through the material generation model.

[0089] After generating the materials to be processed, the material generation model can render the content of the materials based on the theme style information to obtain content materials corresponding to the theme style information. The material content includes content elements corresponding to the theme style information. For example, for a basketball theme, the material content may include basketball elements, court elements, jersey elements, etc.; for a holiday theme, the material content may include holiday customs elements, etc.

[0090] In some embodiments, before rendering the content of the material to be processed, the controller 250 may also generate material attribute information based on the material type information. The material attribute information is used to characterize the purpose information of the material to be processed. For example, for image materials, they can be used as theme background images or theme control icons, and the image size and content required for theme background images and theme control icons are not the same.

[0091] Based on this, the controller 250 can generate the content of the material to be processed through the material generation model according to the material attribute information and theme style information. For example, for image materials, when the material attribute information is for a theme background image, the material generation model can generate a background image with a size of 1920×1080 and rich theme elements; when the material attribute information is for a theme control icon, the material generation model can generate a control icon with a size of 20×20 and relatively simple theme elements. For audio materials, the material attribute information can include background audio and prompt audio. When the material attribute information is for use as background audio, the material generation model can generate an audio material with a relatively complex pitch range and an audio length greater than or equal to the first preset audio duration, such as a 20-30 second symphony; when the material attribute information is for use as prompt audio, the material generation model can generate an audio material with a relatively simple pitch range and an audio length less than or equal to the second preset audio duration, such as a 1-2 second click sound effect. The second preset audio duration is less than the first preset audio duration.

[0092] To facilitate the differentiation of different content assets, the controller 250 can generate an asset ID based on the content asset after receiving it. The asset ID is a code representing a content asset; different content assets have different asset IDs. The controller 250 can distinguish the generated target asset based on the asset ID. Since the content asset generated by the display device 200 is not part of the asset compilation package, the controller 250 cannot directly determine the theme asset that needs to be replaced in the theme to be switched based on the asset ID.

[0093] Therefore, the layout information of the material can include a layout identification code. Thus, in order to facilitate the location of the replacement material area of ​​the target material, the controller 250 can mark the target material according to the layout identification code, so that the theme material to be replaced can be determined according to the layout identification code, and the theme material can be replaced according to the target material corresponding to the corresponding material ID.

[0094] S300: Replace the current theme material with the target material.

[0095] The current theme material is the theme material for the theme to be switched to. Before receiving a theme selection command or theme switching command from the user, the controller 250 controls the display 260 to display the application's user interface using the default theme. At this time, the default theme's theme material is the current theme material. When switching themes, the controller 250 replaces the current theme material with the target material. However, since the display device 200 integrates multiple applications, the application whose theme to be switched to needs to be determined before performing a theme switch.

[0096] In some embodiments, the controller 250 can also parse the theme switching instruction to obtain the application ID of the target application, wherein the target application is the application whose theme is to be switched as specified in the theme switching instruction. For example, the theme switching instruction is: "Please switch the theme of the game application to the night theme." The controller 250 can parse the theme switching instruction to obtain that the target application is the game application.

[0097] After obtaining the application ID of the target application, the controller 250 can generate a resource library to store the generated target resources. The resource library stores theme resources. Upon responding to a resource request, the controller 250 can locate the corresponding theme resource in the resource library based on the application ID, layout identifier, and resource ID. To facilitate locating theme resources in the resource library, the controller 250 can generate a resource relationship format based on the layout identifier, resource ID, and application ID, and create the resource library according to this format. The three theme resources in the resource library can be represented as follows:

[0098] (First theme material: 10036-0x18ac5b, "id-pic-0000002.xml"), (Second theme material: 10036-0x18ac5c, "id-pic-0000003.xml"), (Third theme material: 10054-0x111112, "id-pic-0000001.png"). Taking the first material as an example, the material relationship format is explained as follows: "10036" is the application ID, "0x18ac5b" is the layout identifier, and "id-pic-0000002.xml" is the material ID. "10036" and "10054" are different application IDs. The first and second materials are requested by the application corresponding to "10036", while the third material is requested by the application corresponding to "10054".

[0099] S400: Update the user interface according to the target material to obtain the target theme interface, and control the display to show the target theme interface.

[0100] After replacing the target material, the controller 250 can update the user interface according to the target material, filling the corresponding material position in the user interface with the target material to obtain the target theme interface. After obtaining the target theme interface, the controller 250 can control the display 260 to display the target theme interface to complete the theme switching process.

[0101] Corresponding to different application IDs, controller 250 can simultaneously perform theme switching on the user interfaces of multiple applications. For example, to maintain theme consistency, controller 250 can perform a unified theme switching on all applications in display device 200. Controller 250 can also respond to theme switching instructions to perform theme switching on one or more applications specified by the theme switching instruction. When performing theme switching on multiple applications, the themes of multiple applications can be simultaneously replaced with the same theme; for example, the theme of application A and the theme of application B can be uniformly switched to theme A. Controller 250 can also perform different theme switching on multiple applications separately; for example, the theme of application A can be switched to theme A, and the theme of application B can be switched to theme B.

[0102] During the theme switching process, the application replaces the current theme's assets with target assets based on the layout identifier, asset ID, and application ID. Specifically, the controller 250 can determine the asset area to which the target asset will be replaced based on the layout identifier, identify the target asset based on the asset ID, and determine the target application to be replaced based on the application ID.

[0103] Based on this, when the controller 250 requests a target material from the material resource library, it can assemble a material key value based on the material ID and the application ID, and then search for the corresponding target material in the material resource library according to the material key value. After obtaining the target material, it can replace the current theme material with the target material in the specified material area according to the layout identification code.

[0104] As can be seen from the above technical solutions, some embodiments of this application determine the replaceable material of the theme to be switched by using the layout identification code, and after generating the target material by using the material generation model, determine the generated target material according to the material ID and application ID, and replace the target material with the corresponding position of the theme template of the theme to be switched according to the layout identification code, thereby improving the accuracy of theme material replacement when switching themes.

[0105] In some embodiments, the resource library may also include the storage path of the theme material, so that the controller 250 can obtain the storage location of the theme material according to the storage path and complete the theme switching process. To this end, when storing the target material in the resource library, the controller 250 can also traverse the theme materials in the resource library based on the target material. If the theme materials in the resource library include the target material, the controller 250 can directly obtain the storage path of the target material to perform theme switching. If the theme materials in the resource library do not include the target material, it means that the target material has not been stored in the resource library. Therefore, the controller 250 can generate a material key value based on the layout identification code, material ID, and application ID of the target material, and store the target material and the material key value in the resource library, so that the controller 250 can subsequently find the target material in the resource library based on the material key value.

[0106] In some embodiments, such as Figure 12 As shown, when responding to material requests, controller 250 can also detect the generation progress of target materials. Under the same theme, multiple target materials can be included, but the material generation model cannot simultaneously complete requests for all target materials. Therefore, controller 250 can detect the generation progress of target materials and set a progress threshold. If the generation progress is greater than or equal to the progress threshold, it indicates that the caching progress of the target materials is sufficient to support theme switching. Controller 250 can store the target materials in the material resource library for requesting during theme switching. If the generation progress is less than the progress threshold, it indicates that some target materials have not yet been generated, and theme switching cannot be supported. Therefore, controller 250 can generate null values ​​to inform the user that the current target materials have not yet been generated, and performing theme switching at this time will affect the display of the user interface. Controller 250 can also continuously refresh the generation progress based on null value information, and start the theme switching process when the generation progress is greater than or equal to the progress threshold.

[0107] In some embodiments, such as Figure 13 As shown, the display device 200 can also perform upgrades on the application via the server 400 to update the application's functionality. After the update, corresponding to the newly added application functions, some theme templates may include newly added material areas. For example, if a game application adds a social section, the game application can add a social material area accordingly. Therefore, after the display device 200 is updated, the controller 250 will request new theme materials based on the social material area, i.e., detect the new material request sent by the application.

[0108] To this end, the controller 250 can respond to a new material request sent by the target application and obtain the new material information. The new material request is a material request generated by the target application based on new materials for the theme to be switched. The new material information may include material type information, material format information, layout identification code, material attribute information, etc., so that the controller 250 can query theme materials in the material resource library according to the new material information.

[0109] After receiving information about the new materials, such as Figure 14 As shown, the controller 250 can traverse the target configuration theme in the material resource library to perform resource configuration on the target configuration theme according to the newly added material information. The target configuration theme is the same as the theme with the same material layout information as the theme to be switched. When the theme to be switched is updated to include a new material area, the controller 250 needs to perform resource configuration on the target configuration theme according to the updated theme template of the theme to be switched, so as to add the corresponding new material area in the target configuration theme, thereby synchronizing the material areas of the same type of theme template and completing the configuration of the target configuration theme.

[0110] In some embodiments, the controller 250 can also input new material information into the material generation model. The material generation model can generate new configuration materials based on the new material information, and perform material population based on the new configuration materials for the theme to be switched and the target configuration theme after resource configuration.

[0111] The newly added configuration materials are used to fill the newly added material area. However, in order to alleviate the problem of the newly added configuration materials not matching the theme style information of the theme to be switched, while inputting the newly added material information into the material generation model, the controller 250 can also obtain the theme style information of the theme to be switched, and input the theme style information of the theme to be switched and the newly added material information into the material generation model simultaneously, so as to control the material generation model to generate the newly added configuration materials according to the theme style information of the theme to be switched, so that the theme style information of the newly added configuration materials is the same as the theme style information of the theme to be switched, thereby improving the uniformity of the theme style.

[0112] Some embodiments of this application also provide an application theme switching method applied to a display device 200, wherein the display device 200 should at least include a display 260, a controller 250, and a memory, wherein the display 260 is configured to display the user interface of an application, and the memory is configured to store material generation models, the method comprising:

[0113] S100: In response to a theme switching command, obtain theme style information and material layout information for the theme to be switched.

[0114] The theme to be switched is the current display theme of the user interface.

[0115] S200: Input the theme style information and the material layout information into the material generation model to obtain the target material.

[0116] The target material's style information is the same as the theme's style information.

[0117] S300: Replace the current theme material with the target material.

[0118] The current theme material refers to the theme material of the theme to be switched to.

[0119] S400: Update the user interface according to the target material to obtain the target theme interface, and control the display to show the target theme interface.

[0120] As can be seen from the above technical solutions, this application provides a display device and an application theme switching method. The method, in response to a theme switching command, acquires theme style information and material layout information of the theme to be switched; inputs the theme style information and material layout information into a material generation model to obtain the target material output by the material generation model; replaces the current theme material with the target material, and updates the user interface according to the target material to obtain the target theme interface; and controls the display to show the target theme interface. This application embodiment acquires the material layout information of the current display theme of the user interface and generates corresponding target materials based on the material layout information, enabling the target material to correspond to the theme material in the theme to be switched. Therefore, when switching themes, the original theme material is replaced with a target material of the corresponding size and specifications, improving the accuracy of theme material replacement.

[0121] The same or similar parts among the various embodiments in this specification can be referred to mutually, and will not be repeated here.

[0122] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or certain parts of the embodiments of the present invention.

[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0124] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.

Claims

1. A display device, characterized by comprising: The application comprises: a display configured to display a user interface of an application; a memory configured to store a material generation model; a controller configured to: in response to a theme switching instruction, acquire theme style information and material layout information of a theme to be switched, the theme to be switched being a currently displayed theme of the user interface; input the theme style information and the material layout information into the material generation model to obtain target material, the target material having the same material style information as the theme style information; replace current theme material with the target material, the current theme material being theme material of the theme to be switched; update the user interface according to the target material to obtain a target theme interface, and control the display to display the target theme interface.

2. The display device of claim 1, wherein, The material layout information comprises a layout identification code, and the target material comprises a material ID, and the controller performing the step of replacing the current theme material with the target material is specifically configured to: acquire an application ID of a target application, the target application being an application of the theme to be switched specified by the theme switching instruction; replace the current theme material with the target material according to the layout identification code, the material ID and the application ID.

3. The display device of claim 2, wherein, The controller performing the step of acquiring the theme style information and the material layout information of the theme to be switched is specifically configured to: acquire a theme template of the theme to be switched, and traverse a material region of the theme template, the material region being used to represent a material filling region of the theme template; acquire material information of the material region, the material information comprising material quantity information, material type information and material format information; generate a layout identification code according to the material region; generate material layout information according to the material quantity information, the material type information, the material format information and the layout identification code.

4. The display device of claim 3, wherein, The controller performing the step of inputting the theme style information and the material layout information into the material generation model is specifically configured to: generate a to-be-processed material according to the material quantity information, the material type information and the material format information through the material generation model; render material content of the to-be-processed material based on the theme style information to obtain content material; generate the material ID according to the content material to obtain the target material.

5. The display device of claim 4, wherein, Before the step of rendering the material content of the to-be-processed material, the controller is further configured to: generate material attribute information according to the material type information, the material attribute information being used to represent use information of the to-be-processed material; generate the material content of the to-be-processed material according to the material attribute information and the theme style information.

6. The display device of claim 2, wherein, After the step of acquiring the application ID of the target application, the controller is further configured to: generate a material relationship format according to the layout identification code, the material ID and the application ID; create a material resource library according to the material relationship format, the material resource library being used to store theme material; store the target material into the material resource library.

7. The display device of claim 6, wherein, The controller performing the step of storing the target material into the material resource library is specifically configured to: According to the target material, traversing theme materials in the material repository; If the theme material does not include the target material, generating a material key value according to the layout identification code, the material ID and the application ID of the target material; Storing the target material and the material key value in the material repository.

8. The display device of claim 6, wherein, Before the step of storing the target material in the material repository, the controller is further configured to: Detecting a generation progress of the target material; If the generation progress is greater than or equal to a progress threshold, storing the target material in the material repository; If the generation progress is less than the progress threshold, generating null information, and refreshing the generation progress in response to the null information.

9. The display device of claim 6, wherein, After the step of storing the target material in the material repository, the controller is further configured to: In response to a new material request sent by the target application, obtaining new material information of new material, the new material request being a material request generated by the target application based on new material of the theme to be switched; Traversing a target configuration theme in the material repository, the target configuration theme being a theme with the same material layout information as the theme to be switched; According to the new material information, performing resource configuration on the target configuration theme, and generating new configuration material according to the new material information through a material generation model, the theme style information of the new configuration material being the same as the theme style information of the theme to be switched; Performing material filling on the theme to be switched according to the new configuration material.

10. An application theme switching method, characterized by, The display device of any one of claims 1-9, the display device comprising a display, a memory and a controller, the display being configured to display a user interface of an application, the memory being configured to store a material generation model, the method comprising: In response to a theme switching instruction, obtaining theme style information and material layout information of a theme to be switched, the theme to be switched being a current display theme of the user interface; Inputting the theme style information and the material layout information into the material generation model to obtain target material, the material style information of the target material being the same as the theme style information; Replacing current theme material according to the target material, the current theme material being theme material of the theme to be switched; Updating the user interface according to the target material to obtain a target theme interface, and controlling the display to display the target theme interface.