Display device and method for displaying photo

By introducing tiered preview pages and theme templates into display devices, users can customize photo themes, solving the problem of lack of personalized style and visual effects in photo display in existing technologies and improving user experience.

CN118656010APending Publication Date: 2024-09-17HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410853634.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing display devices lack personalized styles and visual effects when displaying photos, resulting in a poor user experience.

Method used

A display device and method are provided that allows users to customize photo themes by using tiered preview pages and theme templates, displaying photos according to different theme templates, matching the number and orientation of photos, and improving the visual effect.

Benefits of technology

It enables personalized styles for photo displays and enhances visual effects, meeting users' needs for personalized presentations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656010A
    Figure CN118656010A
Patent Text Reader

Abstract

The invention provides a display device and a method for displaying photos. When the display device displays the hierarchical preview page on the upper layer of the display page in the first mode, the preview list can be updated in response to the operation of opening the photo theme classification by the user, and the updated preview list comprises at least one theme. Wherein different themes correspond to different display styles, each theme is associated with at least one theme template, and the style of each theme template is consistent with the display style of the associated theme. And the display equipment responds to an instruction of selecting the first theme by the user, quits the hierarchical preview page, and displays the photos included in the my photo classification in the display page according to the first theme. Wherein the display device automatically displays the photos according to a target first theme template associated with the first theme, and the number and the display direction of the to-be-replaced pictures included in the target first theme template are matched with the total number and the display direction of the photos. Thus, in the first mode, the photo imported by the user can be displayed according to different display styles, so that the personalized style is highlighted, and the visual effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of display devices, and in particular to a display device and a method for displaying photos. Background Art

[0002] Display devices refer to terminal devices that can output specific display images, which can be terminal devices such as smart TVs, mobile terminals, smart advertising screens, projectors, etc. Taking smart TVs as an example, smart TVs are based on Internet application technology, have open operating systems and chips, have open application platforms, can realize two-way human-computer interaction functions, and are TV products that integrate multiple functions such as audio and video, entertainment, and data to meet the diverse and personalized needs of users.

[0003] Usually, users mainly use display devices as devices with audio and video playback functions. In order to more fully develop the use value of the display device, a first application can be configured for the display device to provide a first mode through the first application. Among them, the first application can also be called an art application, an art mode application, etc. The first mode can also be called an art mode, a gallery mode, etc. In the first mode, the display device can display art paintings as decorations in the space. In addition, by simulating art paintings as real art paintings, users can browse art paintings in an immersive way. For example, a paper-like screen is used as a display screen.

[0004] In order to enable users to customize the displayed art paintings, the first application is configured with a photo import function, so that users can import photos to the display device, and in the first mode, the imported photos can be played in a carousel. However, the display effect of the carousel photos lacks a personalized style and has a poor visual effect. Summary of the invention

[0005] The present application provides a display device and a method for displaying photos. By displaying photos using photo themes set by users, personalized styles can be highlighted and visual effects can be improved.

[0006] In a first aspect, the present application provides a display device, including:

[0007] The display is configured to: in a first mode, display a hierarchical preview page on an upper layer of a display page, the display page being a user display interface set in the first mode, the hierarchical preview page including a first menu and a second menu, the background of the hierarchical preview page being in a transparent state, and the art paintings displayed in the display page can be displayed through the background, wherein the first menu includes titles of primary categories, the primary categories include photo collection categories, the secondary categories of the photo collection categories include my photo categories and photo theme categories, the second menu is used to display titles of secondary categories included in the primary category that is in a selected state or has obtained focus, and the second menu also includes a preview image list, the preview image list is in a single-line form, and includes preview images of the art paintings included in the secondary category that is in a selected state or has obtained focus;

[0008] The controller is configured as:

[0009] In response to a user opening the photo theme classification operation, updating the preview image list, wherein the updated preview image list includes preview images of at least one theme, wherein different themes correspond to different display styles, each theme is associated with at least one theme template, and the style of each theme template is consistent with the display style of the associated theme;

[0010] In response to an instruction by the user to select the first theme, the graded preview page is exited, and the photos included in the my photo category are displayed in accordance with the first theme in the display page, wherein each of the photos is displayed in accordance with a target first theme template associated with the first theme, and the number and display direction of the images to be replaced included in the target first theme template match the number and display direction of the photos.

[0011] In some embodiments of the present application, the controller is further configured to:

[0012] In response to a user instruction to move focus to the title of the photo collection category, the title of the photo collection category acquires focus;

[0013] Determine whether the current theme has been set;

[0014] If no theme is currently set, the title of the My Photos category is in a selected state, and after receiving an instruction from the user to move the focus to the title of the photo theme category, the title of the photo theme category acquires the focus to open the photo theme category;

[0015] If a theme has been currently set, the title classified by the photo theme is in a selected state to open the photo theme classification.

[0016] In some embodiments of the present application, the controller is further configured to:

[0017] If no theme is currently set, after the title of the My Photos category is in a selected state, the art painting displayed in the display page is switched to the first photo in the My Photos category;

[0018] Starting from the first photo, the photos are rotated.

[0019] In some embodiments of the present application, the controller is further configured to:

[0020] If a theme is currently set, after the title classified by the photo theme is in a selected state, in response to a downward instruction of the user, the focus is moved to the preview image list, and the preview image of the second theme is focused, wherein the second theme is the currently set theme;

[0021] If no user operation is detected within a specified time period, the art paintings displayed in the display page are switched to displaying the imported photos according to the second theme, wherein each of the photos is displayed according to a target second theme template associated with the second theme, and the number and display direction of the images to be replaced included in the target second theme template match the total number and display direction of each of the photos.

[0022] In some embodiments of the present application, the controller, in response to an instruction of a user selecting a first theme, exits the graded preview page, and displays the photos included in the my photo category according to the first theme, and is configured to:

[0023] Determine the target first theme template from the first theme templates associated with the first theme;

[0024] Obtaining a first number and display direction of the pictures to be replaced included in the target first theme template;

[0025] each time selecting the first number of photos to be displayed from the photos to obtain at least one group of photos to be displayed, wherein the display direction of each group of photos to be displayed is consistent with the display direction of the pictures to be replaced, and the groups of photos to be displayed are not repeated;

[0026] The at least one group of photos to be displayed are displayed in sequence in the display page according to the target first theme template.

[0027] In some embodiments of the present application, the controller selects the first number of photos to be displayed from the photos each time to obtain at least one group of photos to be displayed, and is configured as follows:

[0028] If the display direction of the unselected photo does not meet the display direction requirement for constituting a group of the to-be-displayed photos, the unselected photo and the designated pictures are combined into a plurality of groups of the to-be-displayed photos, wherein a group of the to-be-displayed photos includes at least one of the unselected photo and at least one of the designated pictures, and the display directions of the at least one unselected photo and the at least one designated picture meet the display direction requirement for constituting a group of the to-be-displayed photos;

[0029] The requirement for display direction of a group of photos to be displayed includes that the display direction of a group of photos to be displayed is consistent with the display direction of each picture to be replaced in the target first theme template.

[0030] In some embodiments of the present application, the controller selects the first number of photos to be displayed from the photos each time to obtain at least one group of photos to be displayed, and is configured as follows:

[0031] If the number of the unselected photos is less than the number of the to-be-replaced pictures in the target first theme template, the unselected photos and the designated pictures are combined into a group of the to-be-displayed photos, wherein the total number of the unselected photos and the designated pictures is equal to the number of the to-be-replaced pictures, and the display directions of the unselected photos and the designated pictures meet the display direction requirements for constituting a group of the to-be-displayed photos;

[0032] The requirement for display direction of a group of photos to be displayed includes that the display direction of a group of photos to be displayed is consistent with the display direction of each picture to be replaced in the target first theme template.

[0033] In some embodiments of the present application, the designated picture includes the selected photo, or a default picture.

[0034] In some embodiments of the present application, the controller, in response to an instruction of a user selecting a first theme, exits the graded preview page, and displays the photos included in the my photo category according to the first theme, and is configured to:

[0035] Grouping the photos according to the order of the photos to obtain at least one group of photos to be displayed, wherein the number of the photos to be displayed in each group is the second number;

[0036] According to the display direction of each group of the photos to be displayed, determine the target first theme template corresponding to each group of the photos to be displayed from the first theme templates associated with the first theme, the target first theme template including the second number of pictures to be replaced, and the display direction of the second number of pictures to be replaced is consistent with the display direction of the photos to be displayed of the corresponding group;

[0037] In the display page, the at least one group of photos to be displayed is displayed in sequence according to the target first theme template corresponding to each group of photos to be displayed.

[0038] In some embodiments of the present application, the controller is further configured to:

[0039] When the at least one group of photos to be displayed are displayed in sequence in the display page, the photos to be displayed are preloaded according to the display duration, wherein n groups of photos to be displayed are preloaded each time.

[0040] In some embodiments of the present application, the controller displays the at least one group of photos to be displayed in the display page, and is configured to:

[0041] If the height or width of the photo to be displayed is greater than the height or width of the corresponding first picture to be replaced, then when displaying the photo to be displayed, the photo to be displayed is scrolled and displayed;

[0042] If the scrolling time length of the scrolling display of the photos to be displayed is greater than or equal to the preset display time length of each group of the photos to be displayed, then after the photos to be displayed are scrolled, the next group of photos to be displayed is switched for display;

[0043] If the scrolling time of the scrolling display of the photos to be displayed is less than the display time, after the photos to be displayed are scrolled, when the display time of the photos to be displayed of the current group reaches the preset display time, the next group of photos to be displayed is switched for display.

[0044] In some embodiments of the present application, the controller is further configured to:

[0045] When a preview image in the preview image list acquires focus, in response to a user instruction to display a global preview page, identifying a secondary category that is currently in a selected state;

[0046] If the currently selected secondary category is the My Photos category, entering the global preview page, the global preview page includes the title of the My Photos category and a global preview image list, the global preview image list includes preview images of each of the photos;

[0047] If the currently selected secondary category is the photo theme category, the global preview page will not be entered.

[0048] In some embodiments of the present application, the controller is further configured to: in response to the user's instruction to select the first theme, exit the graded preview page, and display the photos included in the my photo category according to the first theme in the display page, after that:

[0049] In response to a user operation of opening a first mode setting page, the first mode setting page is displayed, wherein a first setting item in the first mode setting page is in a disabled state, and the first setting item is a setting item that is not related to the photo theme classification.

[0050] In a second aspect, the present application further provides a method for displaying photos, which is applied to a display device as described in any one of the first aspects, wherein the display device displays a hierarchical preview page on an upper layer of a display page in a first mode, the display page being a user display interface set in the first mode, the hierarchical preview page comprising a first menu and a second menu, the background of the hierarchical preview page being in a transparent state, and the art paintings displayed in the display page can be displayed through the background, wherein the first menu comprises titles of primary categories, the primary categories comprising photo collection categories, the secondary categories of the photo collection categories comprising my photo categories and photo theme categories, the second menu being used to display titles of secondary categories included in a primary category that is in a selected state or has obtained focus, and the second menu further comprising a preview image list, the preview image list being in a single-line form, and comprising preview images of art paintings included in a secondary category that is in a selected state or has obtained focus;

[0051] The method comprises:

[0052] In response to a user opening the photo theme classification operation, updating the preview image list, wherein the updated preview image list includes preview images of at least one theme, wherein different themes correspond to different display styles, each theme is associated with at least one theme template, and the style of each theme template is consistent with the display style of the associated theme;

[0053] In response to an instruction by the user to select the first theme, the graded preview page is exited, and the photos included in the my photo category are displayed in accordance with the first theme in the display page, wherein each of the photos is displayed in accordance with a target first theme template associated with the first theme, and the number and display direction of the images to be replaced included in the target first theme template match the number and display direction of the photos.

[0054] When the display device displays a graded preview page on the upper layer of the display page in the first mode, it can update the preview image list in response to the user's operation of opening the photo theme classification, and the updated preview image list includes at least one theme. Different themes correspond to different display styles, and each theme is associated with at least one theme template, and the style of each theme template is consistent with the display style of the associated theme. In response to the user's instruction to select the first theme, the display device exits the graded preview page and displays the photos included in my photo classification according to the first theme in the display page. The display device automatically displays each photo according to the target first theme template associated with the first theme, and the number and display direction of the pictures to be replaced included in the target first theme template match the total number and display direction of the photos. In this way, in the first mode, the photos imported by the user can be displayed in different display styles to highlight the personalized style and enhance the visual effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0056] Figure 1 A schematic diagram of an operation scenario between a display device and a control device in an embodiment of the present application;

[0057] Figure 2 This is a hardware configuration block diagram of the control device 100 in an embodiment of the present application;

[0058] Figure 3 It is a hardware configuration block diagram of the display device 200 in the embodiment of the present application;

[0059] Figure 4 This is a configuration diagram of an operating system of a display device 200 in an embodiment of the present application;

[0060] Figure 5 A flowchart of a display device 200 displaying a display page in an embodiment of the present application;

[0061] Figure 6 This is a flow chart of the display device 200 quickly switching the displayed art paintings in the embodiment of the present application;

[0062] Figure 7 This is a flow chart of the display device 200 processing a target art painting in an embodiment of the present application;

[0063] Figure 8 This is a flow chart of the display device 200 displaying an art painting corresponding to a target art painting in an embodiment of the present application;

[0064] Fig. 9 A flow chart of the display device 200 obtaining a target art painting with a three-dimensional picture frame effect in an embodiment of the present application;

[0065] Fig.10 A schematic diagram of a display device 200 synthesizing a target art painting with a three-dimensional picture frame effect in an embodiment of the present application;

[0066] Fig.11 This is a flow chart of the display device 200 dynamically adding a picture frame to a target art painting in an embodiment of the present application;

[0067] Fig.12 A schematic diagram of a display device 200 with a hardware picture frame installed in an embodiment of the present application;

[0068] Fig.13 This is a flow chart of the display device 200 dynamically adding a picture frame to a target art painting in an embodiment of the present application;

[0069] Fig.14 This is a flow chart of the display device 200 displaying an art painting in a display page in an embodiment of the present application;

[0070] Fig.15 A schematic diagram showing the change process of a page in an embodiment of the present application;

[0071] Fig.16 A schematic diagram showing an artistic painting with lower definition in an embodiment of the present application;

[0072] Fig.17 This is a flow chart of adjusting the screen direction of the display screen when displaying an artistic painting by the display device 200 in an embodiment of the present application;

[0073] Fig.18 A schematic diagram of the adjustment process of the display screen in an embodiment of the present application;

[0074] Fig.19 A flowchart of the display device 200 adjusting the screen direction of the display screen and displaying an art painting corresponding to a target art painting in an embodiment of the present application;

[0075] Fig. 20 A schematic diagram of the changing process of the display screen and the target art painting in the embodiment of the present application;

[0076] Fig.21 A flowchart of the display device 200 adjusting the screen direction of the display screen and displaying an art painting corresponding to a target art painting in an embodiment of the present application;

[0077] Fig. 22 A schematic diagram of the changing process of the display screen and the target art painting in the embodiment of the present application;

[0078] Fig.23 This is a flow chart of partially enlarging a target art painting by the display device 200 in an embodiment of the present application;

[0079] Fig.24 A schematic diagram of partially enlarging a target art painting in an embodiment of the present application;

[0080] Fig.25 This is a flow chart of switching the position of local magnification of the display device 200 in an embodiment of the present application;

[0081] Fig.26 This is a flow chart of partially enlarging a target art painting by the display device 200 in an embodiment of the present application;

[0082] Fig. 27 This is a flow chart of the display device 200 implementing the festival theme function in an embodiment of the present application;

[0083] Fig.28 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0084] Fig.29 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0085] Fig.30 This is a flow chart of the display device 200 entering the graded preview page in the embodiment of the present application;

[0086] Fig.31 This is a flow chart of the display device 200 displaying a graded preview page according to a first artwork in an embodiment of the present application;

[0087] Fig.32 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0088] Fig.33 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0089] Fig.34 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0090] Fig.35 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0091] Fig.36 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0092] Fig.37 This is a flow chart of the display device 200 updating the preview image list in response to the user's selection of the primary classification in the embodiment of the present application;

[0093] Fig.38 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0094] Fig.39 This is a flow chart of the display device 200 updating the preview image list in response to the user's selection of the secondary classification in the embodiment of the present application;

[0095] Fig.40 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0096] Fig.41 This is a flow chart of switching the art paintings displayed in the display page of the display device 200 in the embodiment of the present application;

[0097] Fig.42 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0098] Fig.43 This is a flow chart of switching the art paintings displayed in the display page of the display device 200 in the embodiment of the present application;

[0099] Fig.44 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0100] Fig.45 A schematic diagram of entering a global preview page from a hierarchical preview page in an embodiment of the present application;

[0101] Fig.46 A schematic diagram of a theme template in an embodiment of the present application;

[0102] Fig.47 This is a flow chart of the display device 200 displaying photos according to the photo theme in an embodiment of the present application;

[0103] Fig.48 A flowchart of opening a photo collection classification on the display device 200 in an embodiment of the present application;

[0104] Fig.49 This is a schematic diagram of an art mode setting page in an embodiment of the present application;

[0105] Fig.50 This is a flow chart of displaying photos in a carousel on the display device 200 in an embodiment of the present application;

[0106] Fig.51 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0107] Fig.52 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0108] Fig.53 This is a flow chart of the display device 200 displaying photos according to the first theme in an embodiment of the present application;

[0109] Fig.54It is a schematic diagram of a photo in the embodiment of the present application;

[0110] Fig.55 This is a flow chart of the display device 200 displaying photos according to the first theme in an embodiment of the present application;

[0111] Fig.56 A flow chart of displaying an oversized photo on the display device 200 in an embodiment of the present application;

[0112] Fig.57 A flowchart of a display device 200 displaying a global preview page related to photo collection classification in an embodiment of the present application;

[0113] Fig.58 A schematic diagram of an application setting menu in an embodiment of the present application;

[0114] Fig.59 This is a schematic diagram of an art mode setting page in an embodiment of the present application;

[0115] Fig.60 This is a flow chart of displaying painting information by the display device 200 in an embodiment of the present application;

[0116] Fig.61 A schematic diagram of the first painting information in an embodiment of the present application;

[0117] Fig.62 A flowchart of changing the font color of the painting information by the display device 200 in an embodiment of the present application;

[0118] Fig.63 It is a flow chart of the display device 200 in the embodiment of the present application displaying the painting information of the art painting currently displayed in the display page in the graded preview page;

[0119] Fig.64 A schematic diagram of the first painting information in an embodiment of the present application;

[0120] Fig.65 This is a flow chart of the display device 200 dynamically displaying and hiding the painting information in the embodiment of the present application;

[0121] Fig.66 A schematic diagram of the process of dynamically displaying and hiding painting information in an embodiment of the present application;

[0122] Fig.67 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0123] Fig.68 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0124] Fig.69 This is a schematic diagram of a graded preview page in an embodiment of the present application;

[0125] Fig.70 A flowchart of setting the painting information of an artistic painting on the display device 200 in an embodiment of the present application;

[0126] Fig.71 A schematic diagram of a custom page in an embodiment of the present application;

[0127] Fig.72 A flowchart of displaying a dynamic painting by the display device 200 in an embodiment of the present application;

[0128] Fig.73 This is a flowchart of looping video files in an embodiment of the present application;

[0129] Fig.74 This is a flow chart of the display device 200 processing silent data in an embodiment of the present application;

[0130] Fig.75 A flow chart of the display device 200 ensuring the synchronization of sound and picture of dynamic paintings in an embodiment of the present application;

[0131] Fig.76 This is a flow chart of performing audio and video synchronization on the display device 200 in an embodiment of the present application. DETAILED DESCRIPTION

[0132] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.

[0133] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.

[0134] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

[0135] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

[0136] In the embodiments of the present application, the display device generally refers to a device with image display and data processing capabilities. For example, the display device includes but is not limited to smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, augmented reality devices, etc.

[0137] Figure 1 This is a schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application. Figure 1 As shown in FIG. 1 , the user can operate the display device 200 through touch operation, voice, control device 100 and mobile terminal 300. For example, the control device 100 can be a remote controller, a stylus pen, a handle, etc.

[0138] like Figure 1 As also shown in FIG. 4 , the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0139] The display device 200 may provide a broadcast receiving television function, and may also additionally provide an intelligent network television function with a computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), and the like.

[0140] Figure 2 Some embodiments of the present application provide Figure 1 1 is a block diagram of the hardware configuration of the control device 100.

[0141] like Figure 2 As shown, the control device 100 may include: a controller 110 , a communication interface 120 , a user input / output interface 130 , a memory 140 , and a power supply 150 .

[0142] The controller 110 may include a processor 111 , a RAM (Random Access Memory) 112 , a ROM (Read-Only Memory) 113 , and a communication bus (Bus).

[0143] The communication interface 120 may include at least one of a WiFi chip 121 , a Bluetooth module 122 , an NFC module 123 and other near field communication modules.

[0144] The user input / output interface 130 , wherein the input interface may include at least one of other input interfaces such as a microphone 131 , a touch panel 132 , a sensor 133 , and a button 134 .

[0145] In some embodiments, the control device 100 may include at least one of a communication interface 120 and an input / output interface 130 .

[0146] The memory 140 is used to store various operating programs, data and applications for driving and controlling the control device 100 under the control of the controller 110. The memory 140 can store various control signal instructions input by the user.

[0147] The power supply 150 is used to provide operating power support for various components of the control device 100 under the control of the controller 110 .

[0148] The control device 100 is configured with a plurality of buttons, and the display device 200 is configured with a key value-function mapping table, which includes a mapping relationship between a key value corresponding to each button on the control device 100 and a corresponding function.

[0149] In some embodiments, the buttons configured by the control device 100 may include basic buttons, such as a power button, a number button, a direction button, a volume button, a home button, a back button, etc. Based on these basic buttons, the user can control the display device 100 to implement corresponding basic functions. The buttons configured by the control device 100 may also include special buttons, such as a color button, etc. Based on these special buttons, the user can control the display device 200 to implement specific functions in different scenarios.

[0150] Figure 3 Some embodiments of the present application provide Figure 1 2 is a block diagram of the hardware configuration of the display device 200.

[0151] 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 user input interface 280, a memory, and a power supply.

[0152] In some embodiments, the communication device 220 is a component for communicating with an external device or server 400 according to various communication protocol types. The display device 200 may be provided with a plurality of communication devices 220 according to different supported communication modes. The communication device 220 may enable the display device 200 to communicate with an external device or server 400 by wireless or wired connection.

[0153] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.

[0154] In some embodiments, the device interface 240 is used to access an external device.

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

[0156] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 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.

[0157] In some embodiments, the display 260 is used to receive and display image signals outputted from the controller 250. The display 260 may include a display function component for presenting images, and a driving component for driving image display.

[0158] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface 280 may receive the user command through the GUI.

[0159] In some embodiments, the audio output device 270 may be a local speaker of the display device 200 , or may be an external audio output device of the display device 200 .

[0160] In some embodiments, the user input interface 280 may be used to receive instructions from a user.

[0161] In order to perform user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200.

[0162] The operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device 200 .

[0163] The operating system can be divided into different modules or layers according to the functions implemented, such as Figure 4As shown, in some embodiments, the system can be divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the system runtime layer and the kernel layer.

[0164] In some embodiments, the application layer is used to provide services and interfaces for the application so that the display device 200 can run the application and interact with the user based on the application. For example, the application layer may include a voice assistant, which provides a voice interaction function, and the user can interact with the display device through the voice assistant in a voice manner.

[0165] The framework layer can provide application programming interfaces (API) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center, which determines the actions of applications in the application layer. Applications can access system resources and obtain system services during execution through the API interface.

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

[0167] In some embodiments, the kernel layer is a functional level between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management.

[0168] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the display device 200 in the embodiment of the present application. Depending on factors such as the function of the display device and the type of operating system, the number of levels and specific level types contained in the operating system may be expressed in other forms.

[0169] Usually, users mainly use display devices as devices with audio and video playback functions. In order to more fully develop the use value of the display device, a first application can be configured for the display device to provide a first mode through the first application. Among them, the first application can also be called an art application, an art mode (Art Mode) application, a gallery (Gallery) application, a picture frame (Frame) application, etc. The first mode can also be called art mode, gallery mode, picture frame mode, etc. In the first mode, the display device can display art paintings as decorations in the space. In addition, by simulating art paintings as real art paintings, users can browse art paintings in an immersive way. For example, a paper-like screen is used as a display screen.

[0170] In the embodiment of the present application, a specific description is given by taking the case where the first application is an art mode application and the first mode is an art mode as an example.

[0171] In some embodiments, the art paintings provided by the art mode application can be divided into different painting categories according to scenes, picture content, etc. In this way, users can quickly find art paintings according to different painting categories.

[0172] In some embodiments, the art paintings in the same painting classification can be further divided into different painting classifications. The same painting classification can be called a parent painting classification, and the painting classifications contained therein can be called child painting classifications. In this way, the user can quickly search for art paintings in the same parent painting classification according to different child painting classifications.

[0173] In the embodiment provided in the present application, art paintings are divided into two levels of painting classification, the upper level painting classification is the first level classification, and the lower level painting classification is the second level classification. Among them, the first level classification may include art gallery classification, photo collection classification, immersive atmosphere classification, favorite classification, etc. The second level classification included in the art gallery classification may include landscape classification, character classification, modern classification, still life classification, etc. The second level classification included in the photo collection classification may include my photo classification and photo theme classification. The second level classification included in the immersive atmosphere classification may include the immersive atmosphere classification, and the second level classification included in the favorite classification may include the favorite classification.

[0174] In art mode, the display effect and quality of art paintings are important factors affecting the user experience. Therefore, ensuring the display effect and quality of art paintings is the most important issue in art mode applications.

[0175] In some embodiments, in order to improve the display effect and display quality of the art paintings, reference may be made to Figure 4 The operating system shown has a module related to displaying artistic paintings configured therein.

[0176] Among them, the application layer can be configured with a picture playing module, a display control module, a key processing module, a play parameter setting module and a video playing module. Among them, the display control module can decode the art paintings, call the system picture player to play the art paintings, and call the system video player to play the art painting video with dynamic effects. The key processing module can receive key events and respond according to the key events, such as switching art paintings. The play parameter setting module can set different play parameters according to different art paintings, such as carousel parameters and image quality parameters.

[0177] The framework layer can be configured with Phone Window Helper and Alerm Manager, etc. Among them, Phone Window Helper can be used to identify the application displayed in the foreground, and AlermManager can be used to control the carousel time.

[0178] The kernel layer may be configured with a driver source code file (Driver / input / input.c) of an input device and an input driver (Input Driver), etc. Input Driver and Driver / input / input.c may be used to receive key presses of the control device 100 and distribute key press events layer by layer.

[0179] In the following text, the specific functions of each module will be explained in conjunction with the specific implementation process.

[0180] The display device 200 may be configured as follows: Figure 5 The process shown shows the display page. The specific steps are as follows:

[0181] S501, in response to a first instruction from a user, entering an art mode.

[0182] In some embodiments, the display device 200 may be configured to, in a power-off state, start an art mode application after powering on in response to a first instruction input by a user by short pressing a power button of the control device 100, and enter the art mode after starting the art mode application.

[0183] In some embodiments, the display device 200 can be configured to: in the off state, display the system home page in response to an instruction by the user to long press the power button of the control device 100, and start the art mode application in response to a first instruction input by the user to short press the power button or home button of the control device 100, and enter the art mode after starting the art mode application.

[0184] In some embodiments, the display device 200 may be configured to, in a power-off state, launch an art mode application after powering on in response to a first instruction input by a user through an art mode key of the control device 100, and enter the art mode after launching the art mode application.

[0185] In some embodiments, the display device 200 may be configured to enter the art mode in response to a user selecting an icon of an art mode application when displaying the system homepage. The icon of the art mode application may be configured on the system homepage or in a sidebar of the system homepage.

[0186] In some embodiments, the display device 200 may be configured to enter the art mode in response to a first instruction input by a user by short pressing a power key of the control device 100 when the display device 200 is in the power-on state and has not entered the art mode.

[0187] In some embodiments, the display device 200 may be configured to enter the art mode in response to a first instruction input by a user based on an art mode key of the control device 100 when the display device 200 is in the power-on state and has not entered the art mode.

[0188] In other embodiments, if the user turns on the scheduled power-on and sets the power-on time, the display device 200 can be configured to: in the off state, if it is monitored that the system time matches the power-on time, start the art mode application after powering on, and enter the art mode after starting the art mode application.

[0189] In some embodiments, the control device 100 generates a press signal in response to the user pressing a key, and sends the press signal to the display device 200. The control device 100 also generates a release signal in response to the user lifting the key, and sends the release signal to the display device 200. Accordingly, the display device 200 can determine whether the user performs a short press operation or a long press operation on the key by monitoring the press event and release event of the key. For example, the display device 200 can use the dispatchKeyEvent method to capture the key event, and the captured key event may include a press (KeyEvent.ACTION_DOWN) event and a release (KeyEvent.ACTION_UP) event. When the display device 200 monitors the key event, it detects whether it is the first press. If it is detected that it is the first press, such as event.getRepeatCount()==0, a timer (such as Handler and Runnable) is started, and the timer counts a predefined time, such as 500ms. If the display device 200 does not detect a release event within the predefined time, the timer triggers a long press event, which can determine that the user performs a long press operation on the key. If the display device 200 detects a release event within the predefined time, the timer is canceled. Since the timer does not trigger a long press event, it can be determined that the user performs a short press operation on the key.

[0190] In other embodiments, the control device 100 responds to the user pressing the key, and until the user lifts the key, the key value signal is periodically sent to the display device 200. The display device 200 can determine whether the user performs a short press operation or a long press operation on the key according to the number of key value signals received, wherein if the number of key value signals received by the display device 200 is less than or equal to the preset number of times, it can be determined that the user performs a short press operation on the key. If the number of key value signals received by the display device 200 is greater than the preset number of times, it can be determined that the user performs a long press operation on the key. For example, the preset number of times is 1, and if the number of key value signals received by the display device 200 is 1, it can be determined that the user performs a short press operation on the key. If the number of key value signals received by the display device 200 is greater than 1, it can be determined that the user performs a long press operation on the key.

[0191] In other embodiments, the display device 200 may be configured with a second application, and the second application may call application data of the first application running in the background, such as artwork, picture quality parameters, carousel parameters, etc. In this way, the display device 200 is in the second mode after entering the second application. In the second mode, the display device 200 will display the screen saver page of the second application, and display the artwork provided by the first application on the screen saver page, thereby realizing the display of the various artworks provided by the first application in the form of a screen saver. In the second mode, the user cannot use the relevant functions of the first application, that is, cannot set the artwork, etc.

[0192] In some embodiments, the second application may also be called an art screensaver application, a gallery screensaver application, a picture frame screensaver application, etc., and the second mode may also be called an art screensaver mode, a gallery screensaver mode, a picture frame screensaver mode, etc.

[0193] In the embodiment of the present application, a specific description is given by taking the second application being an art screensaver application and the second mode being an art screensaver mode as an example.

[0194] The display device 200 may enter the art screen saver mode in the following manner:

[0195] In some embodiments, the display device 200 may be configured to enter the art screen saver mode when it is powered on and not in the art mode, if it detects that a first condition is met. The first condition may include: no user operation is detected within a specified time period in a non-physical channel, or no signal input is detected in a currently used physical channel.

[0196] In some embodiments, the signal channel of the display device 200 may include a physical channel and a non-physical channel. Among them, a physical channel refers to a channel that transmits a signal through a physical medium, and the physical medium may be a cable, an optical fiber, a satellite antenna, etc. Physical channels may include TV channels, AV channels, HDMI channels, etc. Non-physical channels refer to channels that transmit signals wirelessly without the need for a physical connection to transmit signals. Signals other than physical channels may be referred to as non-physical channels, and non-physical channels may include: launcher homepage, third-party applications, etc.

[0197] S502: In the art mode, display a display page of the art mode application, and display a first art painting in the display page, where the first art painting is the art painting displayed when the art mode was last exited.

[0198] After entering the art mode, the display device 200 displays a presentation page and displays art works on the presentation page.

[0199] In some embodiments, the display page is a user display interface set in the first mode. For example, the display page can be the homepage of the first application, that is, the first page displayed after entering the first mode. The display page can also be a specified user display interface.

[0200] The display device 200 may be configured to record relevant parameters of the currently displayed art painting, such as the picture ID of the art painting and the painting category to which it belongs, when exiting the art mode, and after re-entering the art mode, display the corresponding art painting according to the recorded relevant parameters of the art painting, i.e., the art painting displayed when the art mode was last exited.

[0201] In some embodiments, the code design for realizing that the display device 200 displays the art painting displayed when the art mode was last exited after entering the art mode can refer to the following examples:

[0202] When exiting art mode, store the last successfully played art painting. For example, you can use SharedPreferences to store the image ID of the played art painting.

[0203] / / Get the SharedPreferences object

[0204] SharedPreferences sharedPreferences=getSharedPreferences("MyPrefs",MODE_PRIVATE);

[0205] / / Get the Editor object

[0206] SharedPreferences.Editor editor=sharedPreferences.edit();

[0207] / / Store the primaryId of the first-level category

[0208] editor.putInt("primary_id",primaryId);

[0209] / / Store secondaryId

[0210] editor.putInt("secondary_id",secondaryId);

[0211] / / Storage ID

[0212] editor.putInt("image_id",imageId);

[0213] / / Commit changes

[0214] editor.apply();

[0215] When you start the app again, get the picture ID, and get the picture storage path in the database based on the picture ID to display the user picture.

[0216] / / Get the SharedPreferences object

[0217] SharedPreferences sharedPreferences=getSharedPreferences("MyPrefs",MODE_PRIVATE);

[0218] / / Read the string, if the key does not exist, return the default value 0

[0219] int imageId=sharedPreferences.getInt("image_id",0);

[0220] int primaryId=sharedPreferences.getInt("primary_id",0);

[0221] int secondaryId=sharedPreferences.getInt("secondary_id",0);

[0222] Get the corresponding artwork in the array library according to imageId\primaryId\secondaryId.

[0223] S503 , starting from the first artwork, displaying the artworks in the category to which the first artwork belongs in sequence on the display page according to the carousel time and carousel order.

[0224] Each art painting has a corresponding painting classification, that is, the primary classification and secondary classification to which the art painting belongs. There is a binding relationship or mapping relationship between the art painting and the primary classification and secondary classification to which it belongs, that is, based on the art painting, the primary classification and secondary classification to which it belongs can be determined.

[0225] The art mode application may be configured with a carousel function, and the carousel parameters related to the carousel function may include a carousel time, a carousel range, and a carousel order within the carousel range.

[0226] The carousel time refers to the time interval for carousel art paintings. The art mode application can be configured with a default carousel time, and the user can also customize the carousel time.

[0227] The carousel scope refers to the artworks participating in the carousel.

[0228] In some embodiments, the carousel range may be all artworks in the same secondary category.

[0229] In some embodiments, the carousel range may be all artworks included in each secondary category in the same primary category.

[0230] In some embodiments, the carousel range may be all the art paintings included in each secondary category in multiple first-level categories, and the multiple first-level categories may be adjacent first-level categories or non-adjacent first-level categories (in this embodiment of the application, the adjacent relationship between the first-level categories and the second-level categories refers to the adjacent relationship between the display positions of the corresponding titles in the application homepage).

[0231] In some embodiments, the carousel range may be all artworks in some secondary categories in the same primary category, and the some secondary categories may be adjacent secondary categories or non-adjacent secondary categories.

[0232] In some embodiments, the carousel range may be all art paintings included in some secondary categories in multiple first-level categories, the multiple first-level categories may be adjacent first-level categories or non-adjacent first-level categories, and the some secondary categories may be adjacent secondary categories or non-adjacent secondary categories.

[0233] In some embodiments, the carousel range may be part of the artworks in the same secondary category, and the part of the artworks may be adjacent artworks or non-adjacent artworks.

[0234] In some embodiments, the carousel range of the artworks may be a default carousel range of the art mode application, or a carousel range customized by the user.

[0235] The carousel order refers to the ranking of the artworks in the carousel range, wherein, during the carousel process, the artworks with higher rankings are displayed first, and then the artworks with lower rankings are displayed.

[0236] After the display device 200 enters the art mode and determines to play the first art painting, it can obtain relevant parameters of the first art painting, such as the picture ID, the painting category to which it belongs, etc., which can be referred to in step S502 and will not be described in detail here. The display device 200 can also obtain carousel parameters, such as the carousel time and the carousel range, and determine the carousel range and carousel order corresponding to the first art painting according to the relevant parameters of the first art painting.

[0237] For example, the carousel range set in the carousel parameters is all the art paintings of each secondary classification in the same primary classification. If the primary classification to which the first art painting belongs is the art gallery classification, then the carousel range corresponding to the first art painting is all the art paintings of each secondary classification in the art gallery classification. After determining the carousel range corresponding to the first art painting, the carousel order of each art painting in the carousel range can be determined. Among them, the starting point of the current carousel process can be located according to the first art painting, and it is determined that each art painting in the carousel range located after the first art painting is sequentially rotated according to the carousel order.

[0238] In some embodiments, the code design for implementing the display device 200 to display art paintings in a carousel may refer to the following examples:

[0239]

[0240] In some embodiments, during the carousel, the user can manually quickly switch the displayed artworks, and the display device 200 can Figure 6 The process shown quickly switches the displayed art paintings. The specific steps are as follows:

[0241] S601, in response to a user's switching instruction, switching to display an artwork in a display page.

[0242] The display device 200 may be configured to switch display of an artwork in response to a switching instruction input by a user using a direction key of the control device 100 .

[0243] In some embodiments, the left button and the right button in the control device 100 can be configured as buttons for inputting switching instructions, wherein if the switching instruction is an instruction input by the user based on the left button of the control device 100, the previous art painting of the currently displayed art painting is switched to display in the display page; if the switching instruction is an instruction input by the user based on the right button of the control device 100, the next art painting of the currently displayed art painting is switched to display in the display page.

[0244] S602, starting from the switched artwork, each artwork in the painting category to which the first artwork belongs is displayed in sequence on the display page according to the carousel time and carousel order.

[0245] Step S602 may refer to step S503 and will not be described in detail here.

[0246] Thus, in the art mode, when the display device 200 is rotating the artworks, the user can manually and quickly switch the displayed artworks, thereby quickly reviewing the displayed artworks, quickly skipping the artworks that the user does not want to watch, and so on.

[0247] In some embodiments, the carousel task can be controlled by a timer manager. The display device 200 starts by displaying an art painting, starts a timer, and sends a notification to the display device 200 when the timer reaches the carousel time. The display device 200 will switch to display the next art painting according to the notification, and restart the timer when displaying the next art painting.

[0248] In some embodiments, the display device 200 responds to the user's switching instruction and after displaying the switched artwork, even if the timer corresponding to the artwork before the switching has not reached the carousel time, the timer is reset by the timer. In this way, it can be ensured that the switched artwork is still displayed for a long enough time.

[0249] In some embodiments, the image resolution of the target artwork to be displayed may be different from the resolution supported by the display. In order to adapt to the resolution of the display, the target artwork may be processed according to the resolution of the display before being displayed, and then the processed target artwork is displayed.

[0250] In some embodiments, the display device 200 may be configured to Figure 7 The process shown below processes the target artwork. The specific steps are as follows:

[0251] S701, determining a target artwork to be displayed, and acquiring a first resolution of the target artwork.

[0252] In some embodiments, after entering the art mode, the target artwork to be displayed is the first artwork.

[0253] In some embodiments, during the carousel of artworks, the target artwork to be displayed is the next artwork of the currently displayed artwork.

[0254] In some embodiments, in the process of switching the artwork in response to the user's switching instruction, the target artwork to be displayed is used as the artwork after switching.

[0255] The first resolution is the image resolution of the target art painting.

[0256] S702: Process the target artwork according to the first resolution and the second resolution of the display.

[0257] If the first resolution is lower than the second resolution, the target art painting is enlarged to the second resolution to obtain the enlarged target art painting.

[0258] The embodiments provided in this application are all described by taking the second resolution supported by the display as 4K as an example.

[0259] If the first resolution is lower than 4K, the display device 200 enlarges the target artwork to 4K and performs image optimization processing on the enlarged target artwork.

[0260] If the first resolution is equal to the second resolution, the target artwork is not processed.

[0261] If the first resolution is equal to 4K, the target artwork does not need to be processed and can be directly displayed.

[0262] If the first resolution is higher than the second resolution, the target artwork is compressed to the second resolution to obtain a compressed target artwork.

[0263] If the first resolution is higher than 4K, the target artwork needs to be compressed to 4K and the compressed target artwork needs to be displayed.

[0264] In some embodiments, when compressing the target artwork, the display device 200 calculates a scaling ratio, which may also be referred to as a sampling rate of the image, and compresses the target artwork according to the scaling ratio.

[0265] In some embodiments, the display device 200 always stores the original image data of the target artwork.

[0266] In some embodiments, the code design for implementing the display device 200 to identify whether the first resolution of the target artwork is lower than or equal to 4K and to scale the target artwork may refer to the following example:

[0267]

[0268]

[0269] In some embodiments, the code design for implementing the display device 200 to identify whether the first resolution of the target artwork is higher than 4K and to scale the target artwork may refer to the following example:

[0270]

[0271]

[0272] In some embodiments, the code design for calculating the sampling rate of the picture by the display device 200 may refer to the following example:

[0273]

[0274] S703, displaying the processed target artwork in the display page.

[0275] In this way, the displayed target artwork can meet the resolution requirements of the display screen.

[0276] In some embodiments, the art mode application may be configured with a picture frame function, that is, a picture frame may be added to the art painting, and a three-dimensional effect may be added to the added picture frame to simulate a real painting mounting effect.

[0277] In some embodiments, the art mode application can be configured to enable the picture frame function by default. Alternatively, the user can customize the picture frame function to be enabled or disabled as required. The user can enable or disable the picture frame function through the setting item of the picture frame function, and after enabling the picture frame function, set the style of the picture frame, etc.

[0278] After the frame function is turned on, when displaying art on the display page, you need to add a frame to the art. If the sizes of the two art pieces are different, when switching art pieces, the art pieces may be switched, but the added frame is still adapted to the art piece before the switch, not to the art piece after the switch, resulting in a mismatch between the frame and the art piece. Especially when the user manually switches art pieces, the speed of switching to display art pieces is faster, which makes it easier for the frame and art piece to mismatch.

[0279] In order to solve the problem that the picture frame does not match the artwork, in some embodiments, the display device 200 can Figure 8 The process shown shows the artwork corresponding to the target artwork, and the specific steps are as follows:

[0280] S801, determining a target artwork to be displayed, and obtaining picture frame parameters.

[0281] The process of determining the target artwork to be displayed may refer to step S701 , which will not be described in detail here.

[0282] In some embodiments, the picture frame parameters may include whether to add a picture frame, and when adding a picture frame, the style of the picture frame to be added. The style of the picture frame may include the color, texture, etc. of the picture frame.

[0283] S802: If the picture frame parameters include a picture frame of a first style, before displaying the target art picture, a 3D picture frame effect is processed on the target art picture according to the picture frame of the first style to obtain the target art picture with a 3D picture frame effect.

[0284] If the user turns on the picture frame function, the picture frame parameters include adding a picture frame and the style of the picture frame to be added, that is, a picture frame of a first style. The first style may be a default style of the art mode application or a style customized by the user.

[0285] In order to avoid the problem that the target art painting and the corresponding picture frame are displayed out of sync, that is, the displayed target art painting and the displayed picture frame do not match, before displaying the target art painting, the target art painting is first processed with a three-dimensional picture frame effect according to the picture frame of the first style, so that after the target art painting and the corresponding picture frame are aligned, the two are displayed as a whole, that is, the target art painting with a three-dimensional picture frame effect.

[0286] In some embodiments, the display device 200 may be configured to Fig. 9 The process shown below obtains the target art painting with a three-dimensional picture frame effect. The specific steps are as follows:

[0287] S901, creating a first picture frame background according to a picture frame of a first style, scaling a target art painting according to a specified scaling ratio to obtain the scaled target art painting, and drawing a first 3D effect line according to an edge of the scaled target art painting.

[0288] The size of the first picture frame background can match the display size of the display screen, that is, it is in full screen state. The style of the first picture frame background is the same as the first style, that is, the color, background, etc. of the first picture frame background are consistent with the first style.

[0289] The art mode application can pre-configure at least one scaling ratio for the user to select, for example, 90%, 80%, 70%, etc. When scaling the target art painting according to the scaling ratio, the target art painting is the target art painting processed according to steps S701-S702, rather than the original target art painting. Therefore, after the display device 200 obtains the processed target art painting according to steps S701-S702, if it detects that the picture frame function is turned on, the processed target art painting is further scaled according to the set scaling ratio. For example, if the set scaling ratio is 90%, the display device 200 scales the processed target art painting to 90% in proportion.

[0290] The scaled target artwork will be smaller than the display size of the monitor.

[0291] The scaled target art painting is the art painting to be displayed in the display page, so a 3D effect line, i.e., a first 3D effect line, is drawn according to the edge of the scaled target art painting. The first 3D effect line will match the outer contour of the scaled target art painting to achieve an effect of fitting the outer contour of the processed target art painting.

[0292] S902, synthesizing the scaled target art painting, the first picture frame background and the first 3D effect line to obtain a target art painting with a 3D picture frame effect, wherein the scaled target art painting is superimposed on the first picture frame background and is located in the center area of ​​the first picture frame background, and the first 3D effect line is superimposed on the edge of the scaled target art painting.

[0293] The scaled target art painting, the first picture frame background and the first 3D effect line are synthesized to obtain a picture, which is the target art painting with a 3D picture frame effect.

[0294] You can refer to Fig.10 The synthetic process shown in FIG. Fig.10 As shown in ①, the scaled target art painting 1002 is superimposed on the first picture frame background 1001, and the first 3D effect line 1003 is superimposed on the edge of the scaled target art painting 1002. The scaled target art painting 1002 is superimposed on the central area of ​​the first picture frame background 1001, so that the target art painting is located in the central area of ​​the picture frame in the synthesized target art painting with a 3D picture frame effect, which is closer to the real mounting effect. Fig.10 As shown in ②.

[0295] In some embodiments, the code design for implementing the display device 200 to synthesize the target art painting and the picture frame can refer to the following example:

[0296]

[0297]

[0298] The drawColor and drawBitmap methods of Canvas are methods for drawing a color and a Bitmap onto Canvas. When drawing pictures, there is an occlusion relationship between the pictures drawn multiple times, which means that the pictures drawn later will occlude the pictures drawn earlier.

[0299] Specifically, Canvas uses a stack-based drawing mechanism. Each time the drawBitmap method is called, a new Bitmap will be pushed into the stack and overlaid on the previously drawn Bitmap to obscure the previously drawn Bitmap. In this way, if the drawBitmap method is called multiple times, each Bitmap will be drawn on top of the previous Bitmap, thereby obscuring the previous Bitmap.

[0300] S803, displaying the target art painting with a three-dimensional picture frame effect in the display page.

[0301] The target art painting with the 3D picture frame effect is directly displayed in the display page. Because the target art painting with the 3D picture frame effect includes both the target art painting and the picture frame with the 3D effect, the problem of mismatch between the switched art painting and the picture frame due to the asynchronous display of the switched art painting and the picture frame when switching the art painting can be effectively avoided.

[0302] In some embodiments, when the picture frame function is turned on, the display device 200 can also dynamically add a picture frame to the target art painting according to whether a hardware picture frame has been installed.

[0303] When the display device 200 turns on the picture frame function, it can Fig.11 The process shown is to dynamically add a frame to the target art painting. The specific steps are as follows:

[0304] S1101, identifying whether a hardware picture frame is currently installed.

[0305] In some embodiments, the display device 200 may obtain the setting parameters of the boot navigation, and the setting parameters may include whether the hardware picture frame is installed. For example, a corresponding identifier is added to the flag position corresponding to the hardware picture frame. The display device 200 may determine whether the hardware picture frame has been installed by identifying the identifier added to the flag position.

[0306] In some embodiments, the display device 200 may be provided with a sensor at a location where a hardware picture frame is installed, and the sensor is used to sense whether a hardware picture frame is installed.

[0307] In some embodiments, the display device 200 may be configured with an automatic light sensing function, that is, the brightness of the display screen may be automatically adjusted according to the brightness of the surrounding environment. The brightness of the surrounding environment may be affected by the hardware decoration of the picture frame, wherein, under the same environment, if a hardware picture frame is installed, the brightness of the surrounding environment will be relatively low; if the hardware picture frame is not installed, the brightness of the surrounding environment will be relatively high. The display device 200 may obtain the brightness of the display screen used in the recent period of time, and estimate whether the hardware picture frame has been installed based on the values ​​and change trends of these brightnesses. For example, if the values ​​of these brightnesses are all low, or suddenly decrease from a higher value to a lower value, it can be determined that the hardware picture frame has been installed. If the values ​​of these brightnesses are all high, or suddenly increase from a lower value to a higher value, it can be determined that the hardware picture frame is not installed.

[0308] S1102: If a hardware picture frame has been installed, the target art painting is not processed with a three-dimensional picture frame effect, and the target art painting is displayed in the display page.

[0309] If a hardware frame is currently installed, then if a 3D frame effect is processed for the target art painting, that is, a frame is added to the target art painting, the hardware frame and the added frame will appear at the same time, that is, a double frame will appear, which will affect the display effect of the target art painting.

[0310] Therefore, in order to avoid the situation of double picture frames, if the hardware picture frame is currently installed, the display device 200 can mark that the picture frame is not displayed, and based on the mark, the target art painting is not processed with a three-dimensional picture frame effect, but the target art painting is directly displayed in the display page.

[0311] You can refer to Fig.12 The display device 200 shown in the figure has a hardware picture frame 1201 installed on the frame. When the display device 200 displays the target art painting, even if the picture frame parameters include a picture frame of the first style, the target art painting is not processed with a three-dimensional picture frame effect, but is instead processed as Fig.12 As shown, the target art painting 1202 is directly displayed in the display page. At this time, the hardware picture frame 1201 is used to simulate the real mounting effect.

[0312] S1103: If the hardware picture frame is not currently installed, a 3D picture frame effect is processed on the target art painting according to the picture frame of the first style, and the target art painting with the 3D picture frame effect is displayed on the display page.

[0313] If the hardware frame is not currently installed, it means that even if a frame is added to the target art painting, there will be no double frame situation. Therefore, the target art painting can be processed with a three-dimensional frame effect according to steps S901-S902, and the target art painting with a three-dimensional frame effect can be displayed in the display page.

[0314] In some embodiments, based on step S801, if the picture frame parameter includes no picture frame, that is, the picture frame function is turned off, the target art painting is not processed with a three-dimensional picture frame effect, and the target art painting is directly displayed in the display page.

[0315] In some embodiments, when the picture frame function is turned off, the display device 200 can also add a picture frame to the target art painting according to whether a hardware picture frame has been installed.

[0316] When the display device 200 turns off the picture frame function, it can Fig.13 The process shown is to dynamically add a frame to the target art painting. The specific steps are as follows:

[0317] S1301, identifying whether a hardware picture frame is currently installed.

[0318] Step S1301 may refer to step S1101 and will not be described in detail here.

[0319] S1302: If a hardware picture frame has been installed, the target art painting is not processed with a three-dimensional picture frame effect, and the target art painting is displayed in the display page.

[0320] If the hardware picture frame is currently installed, it means that even if the picture frame function is not turned on, the hardware picture frame can be used to simulate the real mounting effect. Therefore, the target art painting can be directly displayed on the display page without processing the three-dimensional picture frame effect.

[0321] S1303: If the hardware picture frame is not currently installed, a 3D picture frame effect is processed on the target art painting according to a picture frame of a second style to obtain a target art painting with a 3D picture frame effect, and the target art painting with the 3D picture frame effect is displayed on the display page, wherein the picture frame of the second style is a picture frame of a default style applied in the art mode.

[0322] If the hardware picture frame is not currently installed, the displayed target art painting lacks a mounting effect because the picture frame function is not currently enabled. Therefore, the display device 200 can automatically perform a three-dimensional picture frame effect processing on the target art painting, and add a default style picture frame to the target art painting to achieve a mounting effect for the target art painting.

[0323] When the display device 200 displays an art painting in the display page, it needs to load the corresponding art painting, for example, render and display the art painting, add corresponding image quality parameters to the art painting, etc. The process of loading the art painting takes a certain amount of time. If the display device 200 switches to display the art painting in response to the user's switching instruction, the loading process of the switched art painting is slow, resulting in a slow response problem.

[0324] In order to reduce the impact of the loading process of the artwork on the user experience, the display device 200 can Fig.14 The process shown displays the artwork in the display page. The specific steps are as follows:

[0325] S1401, determining the switched artwork, and decoding the switched artwork to obtain a bitmap object.

[0326] The process of determining the switched artwork may refer to step S601 and will not be described in detail here.

[0327] The display device 200 decodes the switched artwork into a bitmap object.

[0328] S1402, in the display page, displaying the switched artwork with a first definition in a first view according to the bitmap object, and rendering the switched artwork with a second definition in a second view according to the application image quality parameters corresponding to the bitmap object and the switched artwork, wherein the first view is located on the second view, and the first definition is lower than the second definition.

[0329] After obtaining the Bitmap of the switched art painting, the display device 200 inputs the Bitmap into the image view (Image View) and the picture player (Image Player) of the art mode application, respectively, so as to load the corresponding switched art painting through the ImageView and the Image Player, respectively. Among them, the process of Image Player loading the switched art painting includes calling the Image Player, rendering the art painting with a higher definition (the second definition), adding the corresponding application quality parameters, etc. The loading process is slow, but the switched art painting with a higher definition will be obtained, and the switched art painting has a quality effect that meets the requirements. The process of Image View loading the switched art painting includes rendering the art painting with a lower definition (the first definition) and using the whole machine quality parameters, without calling the ImagePlayer, and without adding the application quality parameters corresponding to the switched art painting, etc. Therefore, the loading process is fast, but the switched art painting with a lower definition will be obtained, and the quality effect of the switched art painting does not meet the requirements.

[0330] A first view and a second view are created in the display page, that is, the first view and the second view are located in the same OSD layer. The first view is located on the second view, so the picture displayed in the first view will block the picture displayed in the second view.

[0331] In some embodiments, when the display device 200 uses Constraint Layout to control the occlusion relationship between views, the android:elevation attribute is used to specify the z order of the views. Among them, the view with a higher elevation value will be drawn on the view with a lower elevation value. Thus, the display device 200 can configure a higher elevation value for the first view and a lower elevation value for the second view, so that the first view is drawn on the second view.

[0332] In order to display the switched artwork as quickly as possible, the switched artwork loaded by the Image View, that is, the switched artwork with the first definition, can be displayed in the first view, and the switched artwork with the second definition can be loaded in the background through the Image Player.

[0333] S1403: After obtaining the switched artwork with the second definition, hide the first view to display the switched artwork with the second definition in the display page.

[0334] After the image player loads the switched artwork with the second definition, the switched artwork with the second definition is displayed in the second view. After the switched artwork with the second definition is displayed in the second view, the first view is hidden to expose the switched artwork with the second definition displayed in the second view in the display page and display it in the second view, thereby achieving the effect of loading the switched artwork from a lower definition to a higher definition.

[0335] In some embodiments, the code design for implementing the display device 200 to display art paintings with different resolutions in the first view and the second view may refer to the following example:

[0336]

[0337] You can refer to Fig.15 In the process of display page changes shown in FIG. 1 , after determining the switched artwork, the display device 200 can Fig.15 As shown in ①, a first view 1501 and a second view 1502 are created in the display page, and the first view 1501 is located on the second view 1502. In the first view 1501, a relatively low-definition art painting is displayed. And a relatively high-definition art painting is loaded in the background through the Image Player. At this time, the display effect can be as follows Fig.15 As shown in ②. After the Image Player is loaded and a high-definition art painting is obtained, Fig.15 As shown in ③, the art painting with higher definition is displayed in the second view 1502, and the first view 1501 is hidden. At this time, the overall display effect can be as follows: Fig.15 As shown in ④.

[0338] In some embodiments, when the display device 200 displays a lower definition artwork in a display page, in order to prevent the user from mistakenly believing that the definition of the switched artwork itself is lower, a loading mark may be displayed on the lower definition artwork to prompt the user that a higher definition artwork is being loaded. Fig.16 In the display page shown, the display device 200 displays a relatively low-definition artwork 1601 in the display page and loads a relatively high-definition artwork in the background. In order to prompt the user that a relatively high-definition artwork is being loaded, a loading indicator 1602 may be displayed on the relatively low-definition artwork 1601.

[0339] The display direction of an artwork refers to the natural direction of the artwork, that is, the direction that conforms to the content and design intent of the artwork, and is a fixed attribute of the artwork. The display direction of an artwork may include horizontal and vertical directions, wherein horizontal means that the width of the artwork is greater than the height, and vertical means that the height of the artwork is greater than the width.

[0340] The display direction of an artwork refers to the direction in which the artwork is displayed, which may be consistent with the display direction of the artwork or the screen direction of the display screen.

[0341] The screen orientation of the display screen of the display device 200 includes horizontal and vertical orientations, wherein the horizontal orientation refers to a state in which the horizontal width of the display screen is greater than the vertical height, and the vertical orientation refers to a state in which the vertical height of the display screen is greater than the horizontal width.

[0342] When the display device 200 displays an art work, only when the screen direction of the display screen is consistent with the display direction of the art work can the display effect of the art work be effectively guaranteed. The screen direction of the display screen being consistent with the display direction of the art work may include: the display screen is in a horizontal state and the display direction of the art work is horizontal, and the display screen is in a vertical state and the display direction of the art work is vertical.

[0343] If the screen orientation of the display screen is inconsistent with the display orientation of the artwork, the display size of the artwork will be limited by the display screen, thereby affecting the display effect of the artwork. The inconsistency between the screen orientation of the display screen and the display orientation of the artwork may include: the display screen is in a horizontal state and the display orientation of the artwork is in a vertical state, and the display screen is in a vertical state and the display orientation of the artwork is in a horizontal state.

[0344] If the display screen of the display device 200 is a rotatable display screen, the display device 200 can be rotated according to Fig.17 The process shown adjusts the screen orientation of the display when displaying an artwork, and the specific steps are as follows:

[0345] S1701, determining a target artwork to be displayed.

[0346] Step S1701 may refer to step S701 and will not be described in detail here.

[0347] S1702, obtaining a display direction corresponding to the target artwork, and detecting a current screen direction of the display screen.

[0348] The display direction of the target art painting can be horizontal or vertical.

[0349] The current screen orientation of the display can be landscape or portrait.

[0350] In some embodiments, the code design for implementing the display device 200 to obtain the display direction corresponding to the target artwork may refer to the following example:

[0351]

[0352] S1703: When the current screen direction of the display screen is inconsistent with the display direction corresponding to the target art painting, the screen direction of the display screen is rotated to be consistent with the display direction corresponding to the target art painting.

[0353] When the current screen orientation of the display screen is consistent with the display orientation corresponding to the target artwork, the artwork corresponding to the target artwork can be directly displayed without adjusting the screen orientation of the display screen.

[0354] When the current screen orientation of the display screen is inconsistent with the display orientation corresponding to the target artwork, the display screen will limit the display size of the target artwork, and there will be a blank area when displaying the target artwork, resulting in a poor display effect of the target artwork. The display device 200 can control the display screen to rotate so as to adjust the screen orientation of the display screen to be consistent with the display orientation corresponding to the target artwork.

[0355] You can refer to Fig.18 The adjustment process shown is as follows: Fig.18 As shown in ①, the current screen orientation of the display screen 1801 of the display device 200 is vertical. If the display orientation of the target art painting 1802 is horizontal, the two are inconsistent. At this time, if the target art painting 1802 is displayed, it will be displayed as follows Fig.18 The display screen 1801 will limit the display size of the target artwork 1802. The display device 200 can rotate the display screen 1801, such as Fig.18 As shown in ②, the screen direction of the display screen 1801 is adjusted to a vertical screen, and the target art painting 1802 is displayed in the display screen 1801 in a vertical screen state. At this time, the target art painting 1802 can be displayed in a larger display size.

[0356] If the target art painting is the first art painting, that is, the first art painting displayed when entering the art mode, the probability that the user enters the graded preview page of the art mode application (the graded preview page will be described in detail later) is relatively high. In some embodiments, the display device 200 can be configured to: when the current screen direction of the display screen is inconsistent with the display direction corresponding to the first art painting, if no user operation is detected within a first time period, the screen direction of the display screen is rotated to be consistent with the display direction corresponding to the first art painting, wherein the first time period is less than the carousel time. In this way, it can avoid affecting the user's use of the art mode application and reduce unnecessary rotation processes.

[0357] In some embodiments, the display device 200 may also be configured to rotate the screen direction of the display screen to be consistent with the display direction of the target artwork to be displayed if no user operation is detected within a second time period when the current screen direction of the display screen is inconsistent with the display direction of the target artwork to be displayed, wherein the second time period is less than the carousel time. In this way, it is possible to avoid the situation where the display device 200 continuously rotates the display screen for a short period of time due to operations such as continuous switching of artworks by the user.

[0358] In some embodiments, the display device 200 may also be configured to: when the current screen orientation of the display screen is consistent with the display orientation corresponding to the target art painting and is in a portrait state, if an instruction to enter a graded preview page of an art mode application is received, then in response to the instruction, enter the graded preview page and control the display screen to rotate to a landscape state to better accommodate the display requirements of the graded preview page and facilitate users to use the graded preview page.

[0359] The display device 200 may adjust the screen direction of the display screen and display the artwork corresponding to the target artwork in the following manners, as follows:

[0360] In some embodiments, the display device 200 may be configured to Fig.19 The process shown adjusts the screen orientation of the display screen and displays the artwork corresponding to the target artwork. The specific steps are as follows:

[0361] S1901, before adjusting the screen direction of the display screen, taking the display direction corresponding to the target artwork as the display direction, and displaying the target artwork corresponding to the target artwork in the display page.

[0362] When the screen direction of the display screen is inconsistent with the display direction corresponding to the target artwork, the display direction corresponding to the target artwork may be used as the display direction to display the target artwork corresponding to the target artwork before the display screen is rotated.

[0363] For example, if the current screen orientation of the display is horizontal and the display orientation of the target art painting is vertical, refer to Fig. 20 The display screen and the target artwork change process shown, such as Fig. 20 As shown in ①, the display screen 2001 is in a horizontal state. Before the display screen 2001 is rotated, the target art painting 2002 is first displayed in the display page in a vertical direction.

[0364] S1902: Rotate the screen direction of the display screen to be consistent with the display direction corresponding to the target artwork, and when rotating the display screen, keep the current display direction of the target artwork unchanged.

[0365] During the rotation of the display screen, the current display direction of the target artwork is kept unchanged, that is, the target artwork is kept in the corresponding display direction. In some embodiments, this can be achieved by rotating the target artwork in the opposite direction to the rotation direction of the display screen.

[0366] In this way, during the process of rotating the display screen, the target artwork always presents the corresponding display direction, and the user can still browse the normal target artwork.

[0367] like Fig. 20 As shown in ②, the display screen 2001 is rotated, during which the target art painting 2002 always remains vertical.

[0368] S1903: After the screen direction of the display screen is rotated to be consistent with the display direction corresponding to the target artwork, the size of the target artwork is enlarged.

[0369] After the screen direction of the display screen is rotated to be consistent with the display direction corresponding to the target artwork, the size of the target artwork is enlarged. The enlargement target may be to enlarge the target artwork to a full screen mode or to enlarge the target artwork to a preset size.

[0370] like Fig. 20 As shown in ③, after the display screen 2001 is rotated to the vertical screen state, the target art painting 2002 is enlarged to a full screen mode.

[0371] In other embodiments, the display device 200 may be configured as follows: Fig.21 The process shown adjusts the screen orientation of the display screen and displays the artwork corresponding to the target artwork. The specific steps are as follows:

[0372] S2101, before adjusting the screen direction of the display screen, displaying the target art painting corresponding to the target art painting in the display page in a display direction consistent with the current screen direction of the display screen.

[0373] The display device 200 can display the target art painting in a display direction that is consistent with the current screen direction of the display screen. Since the display direction is consistent with the current screen direction of the display screen, when the target art painting is displayed according to the display direction, the display direction corresponding to the target art painting is also consistent with the current screen direction of the display screen. This is equivalent to rotating the target art painting that should be displayed in the display direction corresponding to the target art painting to be consistent with the current screen direction of the display screen before displaying the target art painting to adapt to the current display screen and avoid the display size being limited by the display screen.

[0374] For example, if the current screen orientation of the display is horizontal and the display orientation of the target art painting is vertical, refer to Fig. 22 The display screen and the target artwork change process shown, such as Fig. 22 As shown in ①, the display screen 2201 is in a horizontal state. Before the display screen 2201 is rotated, the target art painting 2202 is first displayed in the display page in the horizontal direction.

[0375] In some embodiments, if a frame needs to be added to the target artwork, the frame is displayed on the target artwork when the target artwork is displayed in a display direction consistent with the current screen direction of the display screen. The frame matches the target artwork and also matches the screen size of the display screen.

[0376] S2102: Rotate the screen direction of the display screen to be consistent with the display direction corresponding to the target art painting.

[0377] After the display device 200 rotates the screen direction of the display screen to be consistent with the display direction corresponding to the target art painting, the target art painting can be displayed in the display direction corresponding to the target art painting.

[0378] like Fig. 22 As shown in ②, after the display screen 2201 is rotated to a vertical orientation, the target art painting 2202 will also be in a vertical orientation, that is, the corresponding display direction of the target art painting 2202.

[0379] In some embodiments, if the first resolution of the displayed target artwork is higher than the second resolution of the display, the art mode application may provide the user with a partial zoom function of the target artwork.

[0380] In some embodiments, the display device 200 may be configured to Fig.23 The process shown here partially enlarges the target artwork. The specific steps are as follows:

[0381] S2301, in response to a user's zoom-in instruction, obtaining a first coordinate of a center point of a display screen corresponding to a target art painting.

[0382] In some embodiments, a zoom button may be configured in the display page. If the user wants to view the details of the artwork, the user may select the zoom button to input a zoom instruction to control the display device 200 to display the partially enlarged target artwork in the display page.

[0383] In response to the zoom-in instruction, the display device 200 obtains the first coordinates of the center point of the display screen corresponding to the original image of the target art painting. At this time, the first coordinates are exactly the coordinates corresponding to the center point of the original image of the target art painting. The center point of the display screen is also exactly the center point of the compressed target art painting.

[0384] S2302: capturing a first picture conforming to a second resolution from the target artwork according to the first coordinates and the display width and display height of the display screen.

[0385] According to the first coordinate, the point at the corresponding position in the target art painting can be determined. With the point as the center, a rectangular area image can be intercepted from the original image of the target art painting, that is, the first image. The width of the first image is parallel to the width of the display screen, the height of the first image is parallel to the height of the display screen, and the width of the first image is equal to the display width of the display screen, and the height of the first image is equal to the display height of the display screen, that is, the first image meets the second resolution. Among them, the image content contained in the first image is the enlarged image content centered on the center point of the compressed target art painting.

[0386] You can refer to Fig.24 The display page described in ① displays a compressed target art painting 2401 in the display page, and also displays a zoom-in button 2402 on the display page, and the user can input a zoom-in instruction by selecting the zoom-in button 2402. For the sake of illustration, the center point O of the display screen can correspond to the center point O' of the original image of the target art painting. In response to the zoom-in instruction, the display device 200 obtains the first coordinate of O' on the original image of the target art painting. With the first coordinate as the center, the first image 2403 is intercepted from the original image of the target art painting according to the display width and display height of the display screen.

[0387] S2303, display the first picture in the display page.

[0388] The first captured image is displayed on the display page. You can refer to Fig.24 As shown in ②, the first picture 2403 is displayed in the display page to achieve a local magnification effect.

[0389] In some embodiments, the display device 200 may create a view on the upper layer of the compressed target art painting in the display page, and display the first image in the view. In this way, the display of the compressed target art painting in the lower view is not affected. If the user does not want to use the zoom function, the user may input an exit command through the return key of the control device 100, and the display device 200 responds to the exit command, closes the view, and then displays the compressed target art painting again, restoring the normal display effect.

[0390] In some embodiments, the code design for implementing the display device 200 to partially magnify the target artwork may refer to the following example:

[0391] Get the coordinates of the center point of the image

[0392]

[0393] The following method is to capture a 4k image using the center coordinates:

[0394]

[0395] In some embodiments, during the zooming process, the display device 200 may Fig.25 The process shown switches the location of the local magnification, and the specific steps are as follows:

[0396] S2501, in response to a user's movement instruction, move the center point of the display screen on the target artwork, and determine the second coordinates of the target artwork corresponding to the center point of the moved display screen according to the first coordinates and a preset movement step.

[0397] In some embodiments, the user can control the position where the center point of the mobile display screen focuses on the original image of the target art painting by using the arrow keys on the control device 100. For example, the preset moving step length can be the displacement distance of the center point of the display screen on the target art painting in response to the user's short press of the arrow key. In this way, the display device 200 can calculate the total distance of the center point of the display screen relative to the first coordinate according to the preset moving step length, and re-determine the coordinates of the center point of the moved display screen corresponding to the target art painting according to the total distance, that is, the second coordinate.

[0398] S2502: capturing a second picture conforming to a second resolution from the target artwork according to the second coordinates and the display width and display height of the display screen.

[0399] S2503, display the second picture in the display page.

[0400] Steps S2502-S2503 can refer to steps S2402-S2403 and are not repeated here.

[0401] In other embodiments, the display device 200 may be configured as follows: Fig.26 The process shown here partially enlarges the target artwork. The specific steps are as follows:

[0402] S2601, in response to a user's zoom-in instruction, obtaining a third coordinate corresponding to a first position of a focus on the display screen to a target artwork.

[0403] In some embodiments, a zoom button may be configured in the display page. If the user wants to browse the details of the art painting, the zoom button may be selected. In response to the selection instruction, the display device 200 displays a focus, which is used to indicate the center point of the area to be partially enlarged. The user may control the focus to move on the target art painting by using the direction keys of the control device 100 to move the focus to the position where the focus is to be partially enlarged, and after the focus is moved to the position, input the zoom instruction by using the confirmation key or OK key of the control device 100 to control the display device 200 to display the partially enlarged target art painting in the display page.

[0404] In response to the zoom-in instruction, the display device 200 obtains the third coordinates of the target art painting corresponding to the first position of the focus on the display screen. For example, the display device 200 can determine the second position of the first position on the compressed target art painting based on the first position of the focus on the display screen, and determine the third position on the original image of the target art painting corresponding to the second position based on the compression ratio, and then obtain the coordinates of the third position, i.e., the third coordinates.

[0405] S2602: According to the third coordinate, the display width and the display height of the display screen, intercept a third picture that meets the second resolution from the target art painting.

[0406] S2603, display the third picture in the display page.

[0407] Steps S2602-S2603 can refer to steps S2402-S2403 and are not repeated here.

[0408] In some embodiments, the art mode application can also be configured with a holiday theme function. The display device 200 can be configured according to Fig. 27 The process shown implements the holiday theme function. The specific steps are as follows:

[0409] S2701, identifying whether the current day is a preset holiday based on the system date.

[0410] The preset holidays may include international holidays, national holidays, regional holidays, etc. They may be customized by the user.

[0411] S2702: If the current day is a preset holiday, a holiday theme picture corresponding to the preset holiday is displayed before the first art painting is displayed in the display page, and the first art painting is displayed after the carousel time.

[0412] If the day is a preset holiday, in order to remind the user that the day is a preset holiday, after entering the art mode, the picture of the holiday theme corresponding to the preset holiday is displayed in the display page first. Among them, each preset holiday has a corresponding holiday theme, and each holiday theme has a corresponding picture. For example, the holiday theme corresponding to June 1 International Children's Day is the Children's Day theme, and the picture corresponding to the Children's Day theme is a scene of several children gathering together, and the accompanying text of Happy Children's Day.

[0413] The display duration of the festival theme picture can be set as the carousel time, or can be set to other durations. When the display duration of the festival theme picture reaches a preset duration, the first art painting is displayed, and the art painting carousel process is entered.

[0414] S2703: If the current festival is not a preset festival, display the first art painting in the display page.

[0415] If the current festival is not a preset festival, the display device 200 may directly display the first artwork and enter a carousel process of the artworks.

[0416] In some embodiments, the display device 200 may preferentially display the holiday-themed pictures only when automatically entering the art mode. However, when passively entering the art mode in response to user control, the holiday-themed pictures are not displayed. For example, in response to the user selecting the icon of the art mode application, the art mode key, or other input instructions, the first art painting is directly displayed without displaying the holiday-themed pictures.

[0417] Since the art mode application can provide users with a large number of art paintings, even if the art mode application classifies and categorizes the art paintings to facilitate users to find the art paintings they want to browse. However, when users are looking for the art paintings they want to browse, they still need to enter a secondary category in the primary category in sequence according to the classification and classification. If the secondary category does not include the art paintings they want to browse, they need to exit level by level and enter the primary and secondary categories again level by level until they find the art paintings they want to browse. It can be seen that the above operation of finding the art paintings they want to browse is very cumbersome and requires users to spend a lot of time and energy.

[0418] In order to solve the above problem and facilitate users to quickly find the art paintings they want to browse, the art mode application can be configured with a hierarchical preview page to enable users to quickly preview art paintings of various levels based on the same page.

[0419] In some embodiments, the hierarchical preview page may include a first menu and a second menu. The first menu includes the title of the first-level classification, the second menu is used to display the title of the second-level classification included in the first-level classification that is selected or focused, and the second menu also includes a preview image list, the preview image list is in a single-line form, including preview images of art paintings included in the second-level classification that is selected or focused.

[0420] In some embodiments, the first menu and the second menu can be distributed at different positions of the hierarchical preview page according to needs. In each embodiment provided in the present application, the first menu is distributed at the top of the hierarchical preview page and the second menu is distributed at the bottom of the hierarchical preview page as an example for explanation.

[0421] In some embodiments, the focused title can be displayed by: changing the background color of the area where the object is located, changing the display effect of the area where the object is located (such as convex effect, concave effect, etc.), adding an indicator box to the area where the object is located, or a combination of these. Of course, it is not limited to the above styles.

[0422] In some embodiments, the title in the selected state may be displayed as: changing the font color, making the font bold, enlarging the font, adding an underline, or a combination of the above. Of course, it is not limited to the above styles.

[0423] You can refer to Fig.28 The hierarchical preview page shown includes a first menu 2801 and a second menu 2802. The first menu 2801 includes titles of primary categories, such as art gallery, photo collection, immersive atmosphere, and favorite. Among them, the art gallery is in a selected state. Based on the art gallery being in a selected state, the second menu 2802 includes titles of secondary categories included in the art gallery classification, such as landscape, characters, modern, still life, and others. Among them, the focus is obtained by the landscape. The second menu 2802 also includes a preview image list 2803. Based on the focus obtained by the landscape, the preview image list 2803 includes preview images of art paintings included in the landscape classification. Such as preview images corresponding to landscape 13, landscape 14, landscape 15, landscape 16, landscape 17, landscape 18, and landscape 19.

[0424] In this embodiment of the present application, for the sake of convenience, the corresponding art paintings are represented by the method of "secondary classification + the order of the pictures in the secondary classification". For example, landscape 16 represents the 16th art painting in the landscape classification.

[0425] In some embodiments, the background of the graded preview page may be transparent. Fig.28 , the background 2804 is transparent.

[0426] In other embodiments, the background of the graded preview page may be in an opaque state or a semi-transparent state.

[0427] In some embodiments, the first menu may be in a semi-transparent state, and the transparency gradually increases from top to bottom, and the second menu may also be in a semi-transparent state, and the transparency is uniform everywhere.

[0428] In some embodiments, the first menu and the second menu may be in an opaque state or a transparent state.

[0429] In the embodiment of the present application, an example is taken in which the background of the hierarchical preview page is transparent, the first menu and the second menu are semi-transparent, and the transparency changes gradually, for description.

[0430] You can refer to Fig.29 The rating preview page shown is the same as Fig.28 Compared with the hierarchical preview page shown, the first menu 2901 is in a semi-transparent state, and the transparency gradually increases from top to bottom, and the second menu 2902 is in a semi-transparent state, and the transparency is uniform everywhere.

[0431] In some embodiments, the display device 200 may be configured to Fig.30 The process shown in the figure enters the graded preview page. The specific steps are as follows:

[0432] S3001, in response to a first instruction from a user, entering an art mode, displaying a presentation page of an art mode application, and displaying a first art work in the presentation page.

[0433] Step S3001 may refer to steps S501-S502, which will not be described in detail here. It should be noted that the art mode to be entered does not include the art screen saver mode.

[0434] S3002: In response to a second instruction from the user, display a graded preview page on an upper layer of the display page according to the first artwork.

[0435] In some embodiments, the user may input the second instruction through a confirmation key or an OK key of the control device 100 .

[0436] The display device 200 displays a corresponding graded preview page according to the art painting currently displayed on the display page. The secondary category displayed in the second menu is determined according to the primary category and secondary category to which the currently displayed art painting belongs, and the category title that has obtained focus and the category title that is in a selected state are determined. When the display page currently displays the first art painting, the graded preview page is displayed according to the first art painting.

[0437] Among them, the title of the target first-level category to which the first art painting belongs is in a selected state, the second menu includes the titles of the second-level categories included in the target first-level category, and the title of the target second-level category to which the first art painting belongs obtains the focus, and the preview image list includes preview images of the art paintings included in the target second-level category.

[0438] In some embodiments, the display device 200 may be configured to Fig.31 The process shown displays a graded preview page based on the first artwork, and the specific steps are as follows:

[0439] S3101, obtaining image information of a first art painting.

[0440] The picture information includes a target primary classification and a target secondary classification to which the first art painting belongs.

[0441] The process of obtaining the image information may refer to step S502 and will not be described in detail here.

[0442] S3102, obtaining the art paintings included in the target secondary classification.

[0443] According to the secondary classification to which each art painting belongs, art paintings belonging to the target secondary classification can be obtained.

[0444] S3103, displaying the title of the target first-level classification as selected according to the target first-level classification, obtaining focus according to the target second-level classification by the title of the target second-level classification, and displaying a preview image list according to the art paintings included in the target second-level classification.

[0445] The display device 200 displays the titles of the first-level categories in the first menu, and displays the title of the target first-level category as selected, to indicate to the user that the first-level category to which the first artwork currently displayed belongs is the target first-level category.

[0446] The display device 200 displays the titles of the secondary categories included in the target primary category in the second menu, and the title of the target secondary category is focused to indicate to the user that the secondary category to which the first art painting currently displayed belongs is the target secondary category. In addition, the title of the target secondary category is focused, and the user can directly move the focus on the titles of each secondary category to quickly switch between the secondary categories in the target primary category.

[0447] The preview image list includes preview images of art paintings under the target secondary category.

[0448] In some embodiments, if the image information of the first art painting acquired by the display device 200 includes the order of the first art painting in the target secondary classification, the preview image list to be displayed first in the second menu can be determined based on the order and the maximum number N of preview images that can be displayed in the preview image list at one time. The preview image list to be displayed first in the second menu includes the preview image of the first art painting, and the preview image of the first art painting is located in the middle of the preview image list.

[0449] Taking the first art painting as landscape 16 as an example, you can refer to Fig.28 In the hierarchical preview page shown, the preview image list 2803 first displayed in the second menu 2802 includes a preview image corresponding to the scene 16 , which is located in the middle of the preview image list 2803 .

[0450] In other embodiments, if the image information of the first art painting acquired by the display device 200 does not include the order of the first art painting in the target secondary classification, the preview image list to be first displayed in the second menu may be determined based on the maximum number N of preview images that can be displayed in the preview image list at one time, and the preview image list first displayed in the second menu includes preview images of art paintings equal to N starting from the first art painting in the target secondary classification. The preview image list first displayed in the second menu may include the preview image of the first art painting, or may not include the preview image of the first art painting.

[0451] Taking the first art painting as landscape 16 as an example, you can refer to Fig.32 In the hierarchical preview page shown, the preview image list 3202 first displayed in the second menu 3201 includes preview images corresponding to scenery 1, scenery 2, scenery 3, scenery 4, scenery 5, scenery 6, and scenery 7, but does not include the preview image corresponding to scenery 16.

[0452] In some embodiments, the art mode application can be configured to display different pages through a multi-level OSD layer structure, wherein higher-level OSD layers are displayed on lower-level OSD layers, and the highest-level OSD layer is displayed as the top layer, and the top-level OSD layer obtains the focus.

[0453] The art mode application is configured such that the level of the OSD layer for displaying the graded preview page is higher than the level of the OSD layer for displaying the presentation page. Thus, the graded preview page will be displayed on the upper layer of the presentation page and the graded preview page will get the focus.

[0454] In the embodiment of the present application, the display page can be configured to be displayed on the first-level OSD layer, the hierarchical preview page can be configured to be displayed on the second-level OSD layer, the global preview page (the global preview page will be described in detail later) can be configured to be displayed on the third-level OSD layer, and the pop-up window, prompt box, etc. can be configured to be displayed on the fourth-level OSD layer. Among them, in the order of display levels from bottom to top, they are the first-level OSD layer, the second-level OSD layer, the third-level OSD layer, and the fourth-level OSD layer.

[0455] Combination Fig.28 The process of displaying the graded preview page on the upper layer of the display page can be referred to Fig.33 .like Fig.33 As shown in ①, the display page 3301 is displayed on the first-level OSD layer, and the hierarchical preview page 3302 is displayed on the second-level OSD layer. The second-level OSD layer is located above the first-level OSD layer. The effect of displaying the hierarchical preview page 3302 on the upper layer of the display page 3301 can be referred to Fig.33 As shown in ②, since the background of the graded preview page 3302 is transparent, the first art painting displayed in the display page 3301 located at the lower layer can be displayed through the background of the graded preview page 3302.

[0456] In some embodiments, when the title of the target secondary classification obtains focus, the display device 200 can respond to the user's downward instruction, display a preview image list including a preview image of the first artwork, and the first preview image corresponding to the first artwork obtains focus, and the title of the target secondary classification is displayed as selected.

[0457] In some embodiments, the user may input a downward command by using a down key of the control device 100 .

[0458] In some embodiments, when the focus is obtained by the title of the target secondary category, if the preview image list first displayed in the second menu includes the preview image of the first artwork, and the preview image of the first artwork is located in the middle of the preview image list, the display device 200 can directly move the focus to the preview image of the first artwork in response to the downward instruction. In the above process of moving the focus, the preview images in the preview image list will not scroll.

[0459] Combination Fig.28 In response to the down instruction, the display device 200 can display the hierarchical preview page as shown in FIG. Fig.34 In the hierarchical preview page shown, the preview image of the landscape 16 is in focus (the preview image is enlarged to indicate that it is in focus), and the preview images included in the preview image list will not change. In addition, the landscape category is displayed as selected.

[0460] In other embodiments, when the focus is obtained by the title of the target secondary classification, if the preview image list first displayed in the second menu includes preview images of art paintings equal to N starting from the first art painting in the target secondary classification, and these preview images do not include the first preview image of the first art painting, then the display device 200 responds to the downward instruction and needs to first display the first preview image containing the first art painting in the preview image list. In the embodiment provided in the present application, the preview images corresponding to each art painting can be scrolled to the preview image list in sequence according to the arrangement order of the art paintings for display as an example. Therefore, the process of displaying the first preview image containing the first art painting in the preview image list can be to scroll the preview images of each art painting to the preview image list in sequence for display until the first preview image is scrolled to the middle position of the preview image list, and after the first preview image is displayed in the middle position of the preview image list, the focus is moved to the first preview image.

[0461] Combination Fig.32 The hierarchical preview page shown in FIG. 2 shows that the display device 200 responds to the downward instruction, and can refer to Fig.34 The hierarchical preview page shown scrolls the preview image of the scenery 16 to the middle of the preview image list, then moves the focus to the preview image of the scenery 16, and displays the scenery classification as selected.

[0462] In some embodiments, the second menu may further include a first information display area for displaying classification information of the secondary classification that is in a selected state or in focus, and the classification information may include the total number of art paintings included in the secondary classification, etc.

[0463] You can refer to Fig.35 The hierarchical preview page shown in the figure may further include a first information display area 3501. Taking the landscape category as an example, the first information display area 3501 displays the total number of art paintings included in the landscape category, such as 30 pieces.

[0464] In some embodiments, the preview image list displays the preview images in a horizontal display area, which can be referred to Fig.28 The preview image list 2803 shown includes display areas for displaying preview images. It can be seen that each display area is horizontal, that is, a horizontal display area.

[0465] Taking the first preview image as an example, if the first preview image is vertical, the first preview image can be displayed in the horizontal display area in the following manner:

[0466] In some embodiments, in order to display the complete first preview image, the first preview image may be scaled down so that the first preview image Figure 1All are displayed in the horizontal display frame at one time.

[0467] In some embodiments, in order to adapt to the size of the display frame, the width of the first preview image can be adapted to the width of the display frame, so that the first preview image is displayed in full screen in the horizontal display frame. However, the first preview image cannot be displayed in the horizontal display frame at one time. In this case, the key parts of the first preview image can be displayed in the horizontal display frame. For example, if the first preview image is a portrait image, the part including the face of the person can be displayed in the horizontal display frame.

[0468] When the first preview image obtains the focus, if the first preview image is vertical and the first preview image is not displayed in its entirety in the horizontal display area at one time, the first preview image may be displayed by scrolling up and down in the horizontal display area.

[0469] You can refer to Fig.36 In the hierarchical preview page shown in ①, the preview image of the person 14 is in focus. Because the preview image of the person 14 is vertical and cannot be fully displayed in the horizontal display frame, the part of the person 14 including the face image can be displayed first. Fig.36 As shown in ②, the preview image of the character 14 is scrolled up and down in the horizontal display frame to display the entire content of the preview image of the character 14.

[0470] When the preview images are displayed in a vertical display area in the preview image list, if the first preview image is horizontal, reference may be made to the process of scrolling the vertical first preview image in the horizontal display frame, wherein the first preview image may be scrolled left and right in the vertical display frame.

[0471] In some embodiments, the display device 200 may be configured to Fig.37 The process shown updates the preview image list in response to the user's selection of a primary category, and the specific steps are as follows:

[0472] S3701, in response to a user instruction to move the focus, move the focus on the title of the first-level classification.

[0473] After entering the hierarchical preview page, the user may input an upward instruction by using the up key of the control device 100, and the display device 200 responds to the upward instruction by focusing on the title of the target first-level classification.

[0474] After the target first-level classification title obtains the focus, the user may input an instruction to move the focus by using the left key or the right key of the control device 100. In response to the instruction, the display device 200 moves the focus on the titles of each first-level classification.

[0475] S3702, when the focus is obtained by the title of the first first-level classification, the first and second-level classifications included in the first first-level classification are obtained, and the art paintings included in the first and second-level classifications are obtained, and the selected state of the title of the target first-level classification is cancelled.

[0476] The first level category is the first level category that the user wants to browse.

[0477] According to the mapping relationship between the first-level classification and the second-level classification, all the second-level classifications included in the first-level classification, that is, the first and second-level classifications, can be obtained. Moreover, after obtaining the first and second-level classifications, the first first and second-level classifications in each first and second-level classification can be determined, and then the art paintings belonging to the first first and second-level classifications can be obtained according to the second-level classifications to which each art painting belongs. After the title of the first-level classification obtains the focus, the selected state of the title of the target first-level classification is canceled.

[0478] Combination Fig.28 The hierarchical preview page shown in the figure can move the focus on the title of each first-level classification in response to the user's instruction to move the focus when the art gallery is focused. Fig.38 The hierarchical preview page shown in the figure cancels the selected state of the art gallery. Get the secondary categories included in the photo collection, such as my photos and photo themes. Among them, the first secondary category is my photos, and get the art paintings included in my photos, that is, the imported photos.

[0479] S3703, displaying the titles of the first and second level categories in the second menu, wherein the title of the first first and second level categories is in a selected state; updating the preview image list, wherein the updated preview image list includes preview images of the art paintings included in the first first and second level categories, and the preview image of the first art painting included in the first first and second level categories is displayed at the top of the preview image list; and switching the first art painting displayed in the display page to the first art painting included in the first first and second level categories.

[0480] You can refer to Fig.38 The hierarchical preview page shown in the second menu 3801 displays my photos and photo themes, and my photos are selected. The display device 200 updates the preview image list, and the updated preview image list includes preview images of photos 1 to 5, wherein the preview image of the first art painting, that is, the preview image of photo 1, is displayed at the top of the preview image list, and the preview images of photos 2 to 5 are displayed in sequence. The display device 200 switches the landscape 16 displayed in the display page to photo 1.

[0481] In some embodiments, when the title of the first level classification obtains focus, the display device 200 can respond to a downward command input by the user through the down key of the control device 100, and the title of the first level classification obtains focus, and displays the title of the first level classification as selected.

[0482] In some embodiments, when the title of the first first and second level classifications is focused and the first art painting included in the first first and second level classifications is displayed in the display page, the display device 200 can respond to a downward command input by the user through the down key of the control device 100, and the preview image of the first art painting is focused and the title of the first first and second level classifications is displayed as selected.

[0483] In some embodiments, the display device 200 may be configured to Fig.39 The process shown updates the preview list in response to the user's selection of a secondary category, and the specific steps are as follows:

[0484] S3901, in response to a user instruction to move the focus, move the focus on the title of the secondary classification.

[0485] After entering the hierarchical preview page, the title of the target secondary classification is focused. The user can input an instruction to move the focus by using the left or right key of the control device 100. The display device 200 moves the focus on the titles of each secondary classification in response to the instruction.

[0486] S3902, when the focus is obtained by the title of the second secondary classification, obtain the art paintings included in the second secondary classification, and make the title of the target secondary classification in a selected state.

[0487] The second secondary category is the secondary category that the user wants to browse among the secondary categories included in the target primary category.

[0488] The process of obtaining the art paintings included in the second secondary classification may refer to the process of obtaining the art paintings included in the first first secondary classification in step S3702, which will not be described in detail here.

[0489] The display device 200 displays the title of the target secondary category in a selected state to indicate the secondary category to which the artwork currently displayed in the display page belongs.

[0490] S3903, updating the preview image list, the updated preview image list includes preview images of the artworks included in the second secondary classification, and the preview image of the first artwork included in the second secondary classification is displayed at the top of the preview image list.

[0491] Step S3903 may refer to step S3703. After the preview image list is updated, the art paintings displayed in the display page are not switched according to the updated preview image list.

[0492] Combination Fig.28 In the hierarchical preview page shown, when the landscape category is focused, the focus can be moved to the titles of each secondary category in response to the user's instruction to move the focus. For example, the title of the person category is focused. Fig.40 The hierarchical preview page shown shows the title of the landscape category as selected. The art paintings included in the character category are obtained, and the preview image list is updated. The updated preview image list includes preview images of characters 1 to 7. Among them, the preview image of the first art painting, that is, the preview image of character 1, is displayed at the top of the preview image list, and the preview images of characters 2 to 7 are displayed in sequence. The landscape 16 is still displayed in the display page.

[0493] In some embodiments, the display device 200 may be configured to Fig.41 The process shown switches the art paintings displayed on the display page. The specific steps are as follows:

[0494] S4101: In response to a user instruction to move the focus, move the focus on each preview image.

[0495] S4102, when the target preview image obtains the focus, in response to the user's instruction to select the target preview image, the artwork displayed in the display page is switched to the artwork corresponding to the target preview image, and the graded preview page is exited.

[0496] When the user moves the focus to the target preview image that he wants to enlarge and display, the user can control the display device 200 to select the target preview image. The display device 200 switches the first art painting displayed on the display page to the art painting corresponding to the target preview image, and exits the graded preview page.

[0497] After the display device 200 switches the artwork displayed on the display page to the artwork corresponding to the target preview image, the display device 200 starts to play the artwork corresponding to the target preview image in a carousel.

[0498] You can refer to Fig.42 In the hierarchical preview page shown in ①, if the user wants to zoom in on the scene 18, the user can move the focus to the preview of the scene 18 and select the preview of the scene 18. The display device 200 will Fig.42 As shown in ②, the scene 18 is displayed in the display page, and the graded preview page is exited.

[0499] In other embodiments, the display device 200 may be configured as follows: Fig.43 The process shown switches the art paintings displayed on the display page. The specific steps are as follows:

[0500] S4301: In response to a user instruction to move a focus, move a focus on each preview image.

[0501] S4302: When the target preview image obtains the focus, if no user operation is detected within a specified time period, the artwork displayed in the display page is switched to the artwork corresponding to the target preview image.

[0502] When the focus moves on the preview image, if the display device 200 does not detect any user operation within a specified time period, it means that the focus stays on a certain preview image for a long time, such as staying on a target preview image. The display device 200 switches the art painting displayed on the display page to the art painting corresponding to the target preview image, but does not exit the graded preview page.

[0503] After the display device 200 switches the artwork displayed on the display page to the artwork corresponding to the target preview image, the display device 200 starts to play the artwork corresponding to the target preview image in a carousel.

[0504] You can refer to Fig.44 In the hierarchical preview page shown in ①, the current display is scenery 16. If the user controls the focus to move to the preview of scenery 18 and does not operate within a specified time period, such as within 1 minute, the display device 200 will be as follows: Fig.44 As shown in step ②, the scene 18 is displayed in the display page, but the graded preview page is not exited.

[0505] In some embodiments, the art mode application can be configured so that the focus can be moved arbitrarily between the secondary categories under the same primary category without the user having to manually switch the secondary categories, thereby achieving seamless switching between the secondary categories under the same primary category.

[0506] In some embodiments, in response to a user's instruction to move the focus, the display device 200 may move the focus on the preview images corresponding to the artworks included in the target primary classification including all secondary classifications.

[0507] Among them, according to the first order of all the secondary categories included in the target first-level classification, the first order is consistent with the display order of the titles of the secondary categories in the second menu. When the preview image of the first art painting included in the current secondary classification obtains focus, in response to the user's instruction to move the focus to the left, the preview image list is updated, the updated preview image list includes the preview images of the art paintings included in the previous second-level classification, and the preview image of the art painting included in the previous second-level classification obtains focus.

[0508] When the preview image of the last art painting included in the current secondary classification obtains focus, in response to the user's instruction to move the focus to the right, the preview image list is updated, the updated preview image list includes the preview images of the art paintings included in the next secondary classification, and the preview image of the art painting included in the next secondary classification obtains focus.

[0509] In some embodiments, the art mode application may be configured with a global preview function. The second menu may also be configured with a first arrow, which is displayed at a position corresponding to the preview image list, such as below the preview image list. The first arrow is used to indicate that the user enters the global preview page by pressing the first direction key on the control device 100 in the same direction as the first arrow. For example, the first arrow is a downward arrow, and the user can control the display device 200 to enter the global preview page by pressing the down key of the control device 100.

[0510] In some embodiments, when the first art work is displayed in the display page and the first preview image is focused, the display device 200 can display a global preview page according to the first preview image that has gained focus in response to the instruction input by the user based on the first direction key. The global preview page includes a third menu and a global preview image list, the third menu includes the titles of the secondary categories included in the target primary classification, wherein the title of the target secondary classification is focused, and the global preview image list is in a grid format, including preview images of the art works included in the target secondary classification. In this way, the user can browse the preview images of each art work in each secondary classification in the primary classification that belongs to the currently displayed art work through the global preview page.

[0511] In some embodiments, when entering the global preview page, the global preview image list corresponding to the secondary classification in the selected state in the hierarchical preview page is first displayed, that is, the global preview image list displayed first is equivalent to the preview image after the preview image list in the hierarchical preview page is fully expanded. In this way, the content displayed on the hierarchical preview page and the global preview page can be unified.

[0512] In some embodiments, the global preview page is in an opaque state.

[0513] You can refer to Fig.45 The hierarchical preview page shown in ① in FIG. 1 includes a first arrow 4501, which is displayed below the preview image list 4502. The display device 200 can respond to the instruction input by the user through the down key of the control device 100, and display the following on the upper layer of the hierarchical preview page: Fig.45 The global preview page shown in ②. The global preview page includes a third menu 4503. Taking the scenery 16 currently displayed in the display page as an example, the third menu 4503 includes the titles of the secondary categories of the art gallery, such as scenery, people, modern, still life, and others. Among them, the title of the scenery category obtains the focus. The global preview page also includes a global preview image list 4504, and the global preview image list 4504 includes preview images of all the art paintings included in the scenery category. Taking the scenery 1 to 18 as an example of all the art paintings included in the scenery category, the global preview image list 4504 includes preview images of scenery 1 to 18.

[0514] In some embodiments, if the global preview image list cannot be displayed in its entirety in the global preview page at one time, the user may control the display device 200 to scroll and display the global preview image list in the global preview page.

[0515] In some embodiments, when the user controls the display device 200 to scroll and display the global preview image list in the global preview page, in order to quickly start displaying from the first row of preview images, a top button can be configured in the global preview page. Based on the top button, the user can control the display device 200 to quickly scroll to the first row of preview images in the global preview image list.

[0516] You can refer to Fig.45 The top button 4505 in ②.

[0517] In some embodiments, the top button can be always displayed in the global preview page. When the first row of preview images is displayed in the global preview page, that is, the global preview image list has not been scrolled in the global preview page, the top button can be grayed out to remind the user that the first row of preview images is currently displayed and the top button is unavailable. When the first row of preview images is not displayed in the global preview page, that is, the global preview image list is scrolled in the global preview page, the top button can be ungrayed out.

[0518] In other embodiments, when the first row of preview images is displayed in the global preview page, the top button can be hidden. When the first row of preview images is not displayed in the global preview page, the top button can be displayed.

[0519] In some embodiments, the user can switch the art paintings displayed in the display page based on the global preview page. The user can control the display device 200 to move the focus to the target preview image that he wants to enlarge and display, and select the target preview image. The display device 200 exits the global preview page and switches the art paintings displayed in the display page to the art paintings corresponding to the target preview image. After the display device 200 switches the art paintings displayed on the display page to the art paintings corresponding to the target preview image, the carousel starts from the art paintings corresponding to the target preview image.

[0520] In order to enable users to customize the displayed art paintings, the art mode application is configured with a photo import function. In this way, the user can import photos to the display device 200. Accordingly, the first-level classification of the art mode application includes a photo collection classification, and the second-level classification included in the photo collection classification may include a my photo classification. Among them, the art mode application can configure an import entry for photos in the preview image list corresponding to the my photo classification. In this way, the user can import photos based on the import entry. If the user imports photos to the display device 200, the my photo classification includes the imported photos (hereinafter referred to as photos).

[0521] In some embodiments, in the art mode, the user can control the display device 200 to enter the My Photos category. Under the My Photos category, the preview list displayed by the display device 200 includes the preview of the photo and the import entry of the photo. In response to the user's instruction to select the preview of the photo, the display device 200 can exit the graded preview page, switch the art painting in the display page to the selected photo, and start the carousel of the photos from the photo. However, the display effect of the carousel photos lacks a personalized style and has a poor visual effect.

[0522] In order to solve the above problems, the art mode application can be configured with different themes for displaying photos, and each theme corresponds to a different display style. For example, the dynamic album theme, the display style of the dynamic album theme can be to play photos in the form of pictures fading in and out; the magazine style theme, the display style of the magazine style theme can be to play photos in magazine style and rotation mode; the collage album theme, the display style of the collage album theme can be to add frames to photos with animation; the multi-frame theme, the display style of the multi-frame theme can be to display multiple photos at the same time and add frames to each photo; the memory theme, the display style of the memory theme can be to play photos in the form of rotation and enlargement. Correspondingly, the secondary classification included in the photo collection classification also includes a photo theme classification, and the photo theme classification includes at least one theme. In this way, the user can select any theme from at least one theme to play photos. The way of playing photos according to the theme selected by the user can more fully reflect the user's personalization, and because the theme has a rich display style, it can improve the visual effect of displaying photos.

[0523] In some embodiments, each theme is associated with at least one theme template. The theme template may include a picture to be replaced and a background picture. The picture to be replaced is located on the upper layer of the background picture. When using the theme template, the picture to be replaced can be replaced by a photo, but the background picture cannot be replaced by a photo.

[0524] The display direction of the image to be replaced can be horizontal or vertical. If the width of the image to be replaced is greater than the height, the display direction is horizontal; if the height of the image to be replaced is greater than the width, the display direction is vertical.

[0525] The number of pictures to be replaced is greater than or equal to 1, that is, the theme template includes at least one picture to be replaced, that is, at least one photo can be displayed using the theme template.

[0526] The image to be replaced can be displayed vertically, horizontally, or at a certain angle.

[0527] The image to be replaced can be located at different positions on the background image.

[0528] If there are multiple images to be replaced, the multiple images to be replaced may not block each other, or may have an blocking relationship with each other.

[0529] The image to be replaced can be a default image provided by the art mode application.

[0530] The style of at least one theme template associated with each theme is consistent with the display style of the theme.

[0531] In some embodiments, different theme templates may be configured for corresponding themes according to the display direction, quantity, display angle, occlusion relationship, display position, etc. of the image to be replaced.

[0532] Taking the dynamic album theme as an example, you can refer to Fig.46 The dynamic album theme can be associated with 14 theme templates. Fig.46 As shown in ①, the theme template includes a picture to be replaced 4601 and a picture to be replaced 4602, and a background picture 4603. Fig.46 The theme templates shown in ①-④ above all have the display direction of the pictures to be replaced included in these theme templates all in horizontal direction. Fig.46 The theme templates shown in ⑤-⑧ above all include only one vertical picture to be replaced. Fig.46 middle The theme templates shown in the figure all include two vertical images to be replaced. Fig.46 middle The theme templates shown all include three vertical images to be replaced.

[0533] The Art Mode application is configured to automatically select a suitable target theme template from the theme templates associated with the theme after the user selects the theme, and display each photo according to the target theme template. The target theme template can match the number and display direction of the photos, thereby ensuring the display quality and display effect of the photos. It can be seen that the user only needs to select the display style he likes, that is, the theme, without having to spend energy to match the photos and each theme template by himself.

[0534] In some embodiments, the display device 200 may be configured to Fig.47 The process shown displays photos according to the photo theme. The specific steps are as follows:

[0535] S4701, in response to a user operation of opening a photo theme classification, updating a preview image list, wherein the updated preview image list includes preview images of at least one theme.

[0536] Taking the case where the display device 200 currently displays the first art painting in the display page as an example, the display device 200 can enter the graded preview page according to steps S3001-S3002, which will not be described in detail here.

[0537] When displaying the graded preview page, the display device 200 may Fig.48 The process shown is to open the photo collection classification. The specific steps are as follows:

[0538] S4801: In response to a user instruction to move the focus to a title of a photo collection classification, the title of the photo collection classification acquires the focus.

[0539] Step S4801 can refer to the process of moving the focus to the title of the target first-level classification shown in step S3701, which is not repeated here.

[0540] S4802, determine whether the current theme has been set.

[0541] When the title of the photo collection classification obtains the focus, the display device 200 obtains the secondary classification included in the photo collection classification, such as the my photo classification and the photo theme classification. The display device 200 also obtains the setting parameters of the theme. For example, if the user has entered the photo theme classification and used the theme therein to display photos, or has set the theme to be used, the setting parameters of the theme include the theme used most recently, or the theme that has been set. If the user has not used the theme in the photo theme to display photos, and has not set the theme to be used, the setting parameters of the theme include no theme. In this way, the display device 200 can determine whether the theme is currently set based on the setting parameters of the theme, wherein if the setting parameters include the theme used most recently, or the theme that has been set, the theme is currently set. If the setting parameters include no theme, the theme is currently not set.

[0542] In some embodiments, a theme flag may be used to record whether a theme has been set, such as 0 for no theme, and 1-5 for one of a dynamic album theme, a magazine style theme, a collage album theme, a multi-frame theme, and a memory theme. In this way, the display device 200 can determine whether a theme has been set by reading the theme flag. If the theme flag is 0, no theme is currently set. If the theme flag is a value from 1 to 5, a theme has been set, and the set theme is the theme corresponding to the value.

[0543] In some embodiments, the art mode application can configure the photo theme settings in the art mode settings page. Fig.49The art mode setting page shown in the figure includes a photo theme setting item 4901. The photo theme setting item 4901 can be a menu setting item, that is, the display device 200 responds to the user's instruction to select the photo theme setting item 4901, and displays a drop-down menu below the photo theme setting item 4901. The drop-down menu includes the themes included in the photo theme classification. The themes are the same as the themes in the graded preview page, and the order is also the same. The user can select the target theme to be set from it, and accordingly, the display device 200 sets the target theme as the default theme after entering the photo theme classification, such as Fig.49 The drop-down menu also includes no theme. If the user does not want to use a theme to display photos, he can select no theme. Accordingly, the display device 200 will be set to use no theme by default after entering the photo theme classification.

[0544] In some embodiments, when displaying the display page, the display device 200 may display a shortcut menu on the display page in response to an instruction input by the user through the first button of the control device 100, wherein the shortcut menu is configured with an entry to the art mode application setting page. In response to an instruction by the user to select the entry, the display device 200 may display the art mode application setting page.

[0545] In some embodiments, the first button may be a system application button for controlling the device 100 , that is, a button having a default system function, such as a menu button, a color button, and the like.

[0546] In some embodiments, the first button may be a special button of the control device 100 , which has no default system function but is a button dedicated to opening the application setting menu.

[0547] In the embodiment of the present application, a specific description is given by taking the first button as a menu button as an example.

[0548] S4803, if no theme is currently set, the title of the My Photos category is in a selected state, and after receiving the user's instruction to move the focus to the title of the photo theme category, the title of the photo theme category obtains the focus to open the photo theme category.

[0549] In some embodiments, the display device 200 may be configured to Fig.50 The process carousel photo shown, the specific steps are as follows:

[0550] S5001, if no theme is currently set, after the title of the My Photos category is selected, the art painting displayed on the display page is switched to the first photo in the My Photos category.

[0551] S5002, starting from the first photo, each photo is played in rotation.

[0552] Steps S5001-S5002 may refer to step S3703, which will not be described in detail here. The carousel process may refer to step S503, which will not be described in detail here either.

[0553] You can refer to Fig.51 On the hierarchical preview page shown, when the title of the photo collection classification obtains focus, if no theme is currently set, the title of the My Photos classification is selected, and the preview image list includes preview images of the photos, such as preview images of photos 1 to 3, and also includes an import entry 5101 for the photos, which is displayed after the last photo.

[0554] If the user wants to import photos, he can import photos through the import entry 5101.

[0555] If the user wants to play photos using a theme, the user can control the focus to move to the title of the photo theme. When the title of the photo theme classification obtains the focus, the display device 200 will open the photo theme classification.

[0556] S4804, if the theme has been set currently, the title classified by the photo theme is in a selected state to open the photo theme classification.

[0557] If a theme has been set currently, it means that the user prefers to use the theme to display photos. Therefore, the titles that are prioritized by photo theme classification are selected to give priority to opening the photo theme classification.

[0558] After the display device 200 opens the classification of photo themes, the preview image list will be updated. The updated preview image list includes preview images without themes and preview images of various themes. Fig.52 In the hierarchical preview page shown, when the title of the photo collection classification obtains the focus, if the theme has been set currently, the title of the photo theme classification is selected, and the preview image list includes a preview image 5201 without a theme, a preview image 5202 of a dynamic album theme, a preview image 5203 of a magazine style theme, a preview image 5204 of a collage album theme, a preview image 5205 of a multi-frame theme, and a preview image 5206 of a memory theme.

[0559] In some embodiments, the preview image of each theme may be a preview image of any theme template included in the theme.

[0560] In other embodiments, the preview image of the currently set theme may be a preview image of the theme template used last time.

[0561] In some embodiments, if a theme has been currently set, the display device 200 displays the photo in the display page according to the currently set theme after the title of the photo theme is in a selected state.

[0562] S4702, in response to the user's instruction to select the first theme, exit the hierarchical preview page, and display the photos included in the my photo classification according to the first theme in the display page, wherein each photo is displayed according to the target first theme template associated with the first theme.

[0563] The number and display orientation of the images to be replaced included in the target first theme template match the number and display orientation of the photos.

[0564] In some embodiments, the display device 200 may be configured to Fig.53 The process shown displays photos according to the first theme, and the specific steps are as follows:

[0565] S5301: Determine a target first theme template from first theme templates associated with a first theme.

[0566] In some embodiments, a first theme template may be randomly determined from the first theme templates as a target first theme template.

[0567] In some embodiments, the target first theme template can be determined based on the number and display direction of the photos.

[0568] For example, if the number of photos is small, such as less than or equal to the minimum number of pictures to be replaced in each first theme template, then the first theme template whose display direction of the pictures to be replaced can be determined from the first theme template with the minimum number of pictures to be replaced, which can include the first theme template of the display direction of each photo, and use it as the target first theme template.

[0569] For another example, if the number of photos is large, such as more than the minimum number of pictures to be replaced in each first theme template, then a first theme template in which the number of pictures to be replaced can be divided evenly by the number of photos can be selected, and further, from these first theme templates, the display direction of the pictures to be replaced can include the first theme template of the display direction of each photo, and it can be used as the target first theme template.

[0570] Among them, the display direction of the picture to be replaced can include all display directions of each photo, which means: if the display direction of each photo is horizontal, the first theme template can only include the horizontal pictures to be replaced; if the display direction of each photo is vertical, the first theme template can only include the vertical pictures to be replaced; if the display direction of each photo is both horizontal and vertical, the first theme template needs to include both horizontal pictures to be replaced and vertical pictures to be replaced.

[0571] S5302, obtaining a first number and display direction of images to be replaced included in a target first theme template.

[0572] The images to be replaced included in the target first theme template can be determined according to the configuration file corresponding to the target first theme template, and then the total number of images to be replaced, ie, the first number, and the display direction of each image to be replaced can be determined.

[0573] S5303, each time selecting a first number of photos to be displayed from the photos, obtaining at least one group of photos to be displayed, wherein the display direction of each group of photos to be displayed is consistent with the display direction of the pictures to be replaced, and the groups of photos to be displayed are not repeated.

[0574] According to the logic of matching photos for the fixed theme template, the photos to be displayed are determined, wherein the photos to be displayed simultaneously in the target first theme template are the same group of photos to be displayed.

[0575] When matching photos, the first number of photos that can be used as the same group of photos to be displayed can be selected one by one in the order of the photos, and each group of photos to be displayed does not repeat. The same group of photos to be displayed meets the display direction requirements for constituting a group of photos to be displayed, and the requirements include that the display direction of a group of photos to be displayed is consistent with the display direction of each picture to be replaced in the target first theme template. For example, if the target first theme template includes a horizontal picture to be replaced and a vertical picture to be replaced, then a horizontal photo and a vertical photo can constitute a group of photos to be displayed.

[0576] Take the first theme as an example, dynamic album theme, combined with Fig.46 The theme templates shown and Fig.54 Photos shown. If randomly determined Fig.46 The theme template shown in ⑤ is the target first theme template, then the photos that can be used as the same group of photos to be displayed can be selected one by one in the order of photos 1-8. In the selection process, 2 photos are selected each time as the same group of photos to be displayed. According to the display direction of the picture to be replaced and the display direction of the photo, it can be determined that photo 1 and photo 2 cannot form a group of photos to be displayed, while photo 1 and photo 3 can form a group of photos to be displayed. After forming a group of photos to be displayed, start from the first photo that has not been selected, and combine the photos to be displayed, that is, start combining the photos to be displayed from photo 2. It can be seen that photo 2 and photo 4 can form a group of photos to be displayed. Similarly, photo 5 and photo 6 can form a group of photos to be displayed, and photo 7 and photo 8 can form a group of photos to be displayed.

[0577] In some embodiments, in order to ensure that there is no duplication between the groups of photos to be displayed, the selected photos can be marked, or the selected photos can be deleted from the queue to be selected.

[0578] In some embodiments, when matching photos according to a fixed theme template, the display direction of unselected photos may not meet the display direction requirements for a group of photos to be displayed. If the unselected photos are forcibly formed into a group of photos to be displayed, the display direction of the photos will be different from the display direction of the pictures to be replaced, resulting in incomplete display of the photos.

[0579] To solve this problem, in some embodiments, the display device 200 can form multiple groups of photos to be displayed with the unselected photos and the specified pictures. A group of photos to be displayed includes at least one unselected photo and at least one specified picture, and the display directions of the at least one unselected photo and the at least one specified picture meet the requirements for display directions of a group of photos to be displayed.

[0580] by Fig.46 Taking the theme template shown in ⑤ as the target first theme template as an example, if the unselected photos include vertical photo 9 and vertical photo 10, then photos 9 and photos 10 cannot form a group of photos to be displayed. The display device 200 can form a group of photos to be displayed with vertical photo 9 and a designated horizontal picture, and then form another group of photos to be displayed with vertical photo 10 and a designated horizontal picture. In this way, the display effect of photos 9 and 10 can be guaranteed.

[0581] In other embodiments, the display device 200 may also redefine a target first theme template based on the unselected photos, and the number and display direction of the pictures to be replaced included in the redetermined target first theme template may match the number and display direction of the unselected photos.

[0582] Still taking photos 9 and 10 as an example, you can re- Fig.46 The theme template shown in ⑨ or ⑩ is used as the target first theme template.

[0583] In some embodiments, when matching photos according to a fixed theme template, the number of unselected photos may be less than the number of pictures to be replaced in the target first theme template. In this case, there will be vacancies in the target first theme template.

[0584] To solve this problem, in some embodiments, the display device 200 can combine the unselected photos and the designated pictures into a group of photos to be displayed, wherein the total number of the unselected photos and the designated pictures is equal to the number of pictures to be replaced, and the display directions of the unselected photos and the designated pictures meet the requirements for the display direction of a group of photos to be displayed.

[0585] by Fig.46Taking the theme template shown in ⑤ as the target first theme template as an example, if the unselected photos include the vertical photo 9, then if only the photo 9 is displayed in the target first theme template, there will be a vacant space. The display device 200 can form a group of photos to be displayed by combining the vertical photo 9 and a horizontal designated picture, so as to fill the vacant space in the target first theme template with the designated picture.

[0586] In other embodiments, the display device 200 may also redefine a target first theme template based on the unselected photos, and the number and display direction of the pictures to be replaced included in the redetermined target first theme template may match the number and display direction of the unselected photos.

[0587] In some embodiments, the designated picture may be a default picture, which may be a corresponding picture to be replaced in the target first theme template, or an art painting in an art gallery.

[0588] In other embodiments, the designated image may be a selected photo. Fig.46 Taking the theme template shown in ⑤ as the target first theme template as an example, if the unselected photos include vertical photo 9, photo 9 and photo 1 can be combined into a group of photos to be displayed, that is, photo 1 can be reused.

[0589] S5304, displaying at least one group of photos to be displayed in sequence according to the target first theme template in the display page.

[0590] After determining each group of photos to be displayed, exit the graded preview page, and display each group of photos to be displayed in turn according to the target first theme template on the display page.

[0591] In some embodiments, each group of photos to be displayed is displayed according to a preset display time. The preset display time is the time for displaying each group of photos to be displayed. When the display time of each group of photos to be displayed reaches the preset display time, the next group of photos to be displayed is switched for display.

[0592] Taking the grouping of photos 1 and 3, photos 2 and 4, photos 5 and 6, and photos 7 and 8 as a group, with a preset display time of 10 minutes as an example, using the dynamic album theme, first display photos 1 and photos, and after 10 minutes, switch to display photos 2 and 4, and after 10 minutes, switch to display photos 5 and 6, and after 10 minutes, switch to display photos 7 and 8.

[0593] In other embodiments, the display device 200 may be configured as follows: Fig.55 The process shown displays photos according to the first theme, and the specific steps are as follows:

[0594] S5501: Group the photos according to the order of the photos to obtain at least one group of photos to be displayed, wherein the number of photos to be displayed in each group is the second number.

[0595] The second number is less than or equal to the maximum number of pictures to be replaced in each first theme template.

[0596] The second number of each group of photos to be displayed may be the same or different.

[0597] The order of each group of photos to be displayed is consistent with the order of the photos, and the order of each group of photos to be displayed is also consistent with the order of the photos.

[0598] There will be no duplication of photos in each group to be displayed.

[0599] S5502, according to the display direction of each group of photos to be displayed, determine the target first theme template corresponding to each group of photos to be displayed from the first theme templates associated with the first theme, the target first theme template includes a second number of pictures to be replaced, and the display direction of the second number of pictures to be replaced is consistent with the display direction of the corresponding group of photos to be displayed.

[0600] According to the logic of matching the theme template for the fixed photos to be displayed, the target first theme template corresponding to each group of photos to be displayed is determined. The target first theme template corresponding to each group of photos to be displayed includes a second number of pictures to be replaced that is equal to the group of photos to be displayed, and the display direction of the pictures to be replaced is consistent with the display direction of the group of photos to be displayed.

[0601] Take the first theme as an example, dynamic album theme, combined with Fig.46 The theme templates shown and Fig.54 If each group includes 2 photos to be displayed, the groups are photo 1 and photo 2 as the first group, photo 3 and photo 4 as the second group, photo 5 and photo 6 as the third group, and photo 7 and photo 8 as the fourth group. The first group can correspond to the following: Fig.46 The second group can correspond to the theme template shown in ① or ② Fig.46 The third group can correspond to the theme template shown in ⑨ or ⑩ Fig.46 The theme template shown in ⑤ or ⑥, the fourth group can correspond to Fig.46 The theme template shown in ⑤ or ⑥.

[0602] S5503, in the display page, display at least one group of photos to be displayed in sequence according to the target first theme template corresponding to each group of photos to be displayed.

[0603] After determining each group of photos to be displayed and the target first theme template corresponding to each group of photos to be displayed, exit the graded preview page, and display each group of photos to be displayed in sequence on the display page according to the target first theme template corresponding to each group of photos to be displayed.

[0604] Continuing with the previous example, if the preset display duration is 10 minutes, use the theme template shown in ① or ② in 46 to display photo 1 and photo 2. After 10 minutes, switch to using Fig.46 The theme template shown in ⑨ or ⑩ shows photos 3 and 4. After 10 minutes, switch to using Fig.48 The theme template shown in ⑤ or ⑥ shows photos 5 and 6. After 10 minutes, switch to using Fig.46 The theme template shown in ⑤ or ⑥ shows photos 7 and 8.

[0605] In some embodiments, the mapping relationship between the photo and the picture to be replaced in the target first theme template is established, and based on the mapping relationship, when the photo to be displayed is displayed according to the target first theme template, the code design of using the photo to be displayed to replace the picture to be replaced can refer to the following example:

[0606] by Fig.46 Taking the theme template shown as an example, in order to quickly achieve the corresponding animation effect, you can use AE to integrate the Lottie plug-in and export the json configuration file. Among them, 14 json configuration files are generated according to the 14 theme templates. In each json configuration file, the picture ID of the picture to be replaced and the background picture included in the corresponding theme template is included, and the picture ID is used to uniquely identify the corresponding picture in the corresponding json configuration file. As a result, the json configuration file has a mapping relationship with the picture ID included therein. The json configuration file also includes the attributes of each picture therein, and the attributes include whether the picture can be replaced, wherein the attributes of the picture to be replaced include that it can be replaced, and the attributes of the background picture include that it cannot be replaced. The json configuration file can also include the height and width of each picture to be replaced therein, as well as the occlusion relationship with other pictures to be replaced, etc.

[0607] When matching theme templates with photos, the corresponding pictures to be replaced and the sizes of the pictures to be replaced can be determined according to the json configuration files corresponding to the theme templates, and the corresponding display direction can be determined according to the sizes of the pictures to be replaced. The display device 200 can match the photos according to the number and display direction of the pictures to be replaced. After determining the matching relationship, a mapping relationship can be established between the picture ID of the picture to be replaced of each target theme template and the photo to be displayed, and each group of photos to be displayed can be formed into a display task queue.

[0608] When displaying each group of photos to be displayed according to the display task queue, you can use the setImageAssetDelegate method of LottieAnimationView to replace the image that needs to be replaced with the user-imported image based on the correspondence between the image ID and the image. You can refer to the following pseudo code:

[0609] / / Call the setImageAssetDelegate method

[0610] lottieAnimationView.setImageAssetDelegate(lottieImageAsset->{

[0611] / / Get the image id

[0612] String imageId=lotttieImageAsset.getId();

[0613] / / Find the bitmap of the photo from the imageId mapping

[0614] Bitmap bitmap=imageMapper.get(imageId).getBitmap();

[0615] Return bitmap;

[0616] })

[0617] After the callback method of setImageAssetDelegate gets the LottieImageAsset object, it can obtain the image ID of the current image to be replaced. ImageMapper stores the mapping relationship between the image ID of the image to be replaced and the bitmap of the photo to be displayed. In this way, returning the mapped bitmap here can realize the dynamic replacement of the image to be replaced.

[0618] When displaying each group of photos to be displayed according to the target first theme template, it is necessary to load multiple photos to be displayed included in the group. If the resolution of the photos is high and the quality is very high, then without intervention, due to the limitations of the entire machine memory and CPU, the process of real-time decoding and displaying photos may cause excessive system load, and even animation frame loss and freezes may occur during dynamic display.

[0619] In order to solve the above problem, in some embodiments, before the display device 200 displays each group of photos to be displayed according to the target first theme template, it can obtain the width and height of the pictures to be replaced in advance according to the established mapping relationship between the photos to be displayed and the pictures to be replaced. When the photos to be displayed are actually displayed, the corresponding photos to be displayed can be directly compressed according to the acquired width and height of the pictures to be replaced, and the compressed photos to be displayed can be used to replace the pictures to be replaced. Among them, the compression ratio is guaranteed to be distortion-free.

[0620] In some embodiments, when the display device 200 sequentially displays at least one group of photos to be displayed in a display page, the photos to be displayed are preloaded, wherein n groups of photos to be displayed are preloaded each time.

[0621] Preloading photos to be displayed is a relationship between a producer and a consumer. When photos to be displayed need to be displayed, the producer is first started to generate the bitmap of the photos to be displayed, and the bitmap of the photos to be displayed is compressed to generate a bitmap object (bitmap) and stored in the memory. After the bitmap of each photo to be displayed is generated, the task is stored in the queue and LottieImageView (consumer) is notified to start the animation. After the consumer gets the task, it starts to display the photos to be displayed.

[0622] In some embodiments, in order to prevent the producer from producing too quickly and generating a large number of bitmaps causing memory jitter, the producer preloads at most n groups of photos to be displayed, such as 1-3 groups of photos to be displayed. In this way, the smoothness of displaying each group of photos to be displayed can be effectively guaranteed.

[0623] In some embodiments, in order to ensure that the proportions of the picture to be displayed are not distorted, after compressing the photo to be displayed according to the height and width of the picture to be replaced, the width of the compressed photo to be displayed may be larger than the width of the picture to be replaced, or the height of the compressed photo to be displayed may be larger than the height of the picture to be replaced. As a result, when the photo to be displayed replaces the picture to be replaced in the target first theme template, the photo to be displayed may be incomplete.

[0624] In order to solve the above problem, the display device 200 can be Fig.56 The process shown displays an oversized photo and the steps are as follows:

[0625] S5601: If the height or width of the photo to be displayed is greater than the height or width of the corresponding picture to be replaced, the photo to be displayed is scrolled when the photo to be displayed is displayed.

[0626] If the height of the photo to be displayed is greater than the height of the corresponding picture to be replaced, the photo to be displayed can be scrolled up and down when the photo to be displayed is displayed.

[0627] If the width of the photo to be displayed is greater than the width of the corresponding picture to be replaced, the photo to be displayed can be scrolled left and right when the photo to be displayed is displayed.

[0628] In some embodiments, if a group of photos to be displayed includes multiple photos to be displayed whose height or width is greater than the height or width of the corresponding picture to be replaced, the multiple photos to be displayed can be scrolled and displayed simultaneously, or the multiple photos to be displayed can be scrolled and displayed one by one.

[0629] S5602: If the scrolling time of the scrolling display of the photos to be displayed is greater than or equal to the preset display time of each group of photos to be displayed, then after the photos to be displayed are scrolled, the next group of photos to be displayed is switched for display.

[0630] The scrolling time of the scrolling display of the photos to be displayed is the total time required for all the photos to be displayed to complete scrolling. If the scrolling time is greater than or equal to the preset display time, the next group of photos to be displayed will be switched after the photos to be displayed are scrolled to ensure that the photos to be displayed can be displayed completely.

[0631] S5603, if the scrolling time of the scrolling display of the photos to be displayed is less than the display time, then after the scrolling display of the photos to be displayed, when the display time of the current group of photos to be displayed reaches the preset display time, switch to display the next group of photos to be displayed.

[0632] If the scrolling time is less than the preset display time, after the photos to be displayed are scrolled, you need to wait until the display time of this group of photos reaches the preset display time before switching to display the next group of photos to be displayed, to ensure that each group of photos to be displayed can be displayed for a sufficiently long time.

[0633] In some embodiments, based on step S4804, if the user controls the focus to move to the title of the photo theme classification and continues to input a downward command, the display device 200 will directly display the focus on the preview image of the second theme in response to the downward command. The second theme is the currently set theme. When the preview image of the second theme obtains the focus, if the display device 200 does not detect the user operation within the specified time, the art paintings displayed in the display page will be switched to display photos according to the second theme. Among them, each photo is displayed according to the target second theme template associated with the second theme, and the number and display direction of the pictures to be replaced included in the target second theme template match the total number and display direction of each photo. Among them, the process of the display device 200 displaying photos according to the second theme can refer to the process of displaying photos according to the first theme, which is not repeated here.

[0634] In some embodiments, the display device 200 may Fig.57The process shown shows the global preview page related to the photo collection classification. The specific steps are as follows:

[0635] S5701, when a preview image in the preview image list obtains focus, in response to a user instruction to display a global preview page, identifying a secondary category that is currently in a selected state;

[0636] In some embodiments, the process in which the user can input instructions through the first direction key of the control device 100 can refer to the above description of the global preview function, which is not repeated here.

[0637] When the user instructs to enter the global preview page, the display device 200 first identifies the secondary category that is currently in a selected state.

[0638] S5702: If the currently selected secondary category is the My Photos category, enter the global preview page.

[0639] The global preview page includes the title of my photo category and a global preview image list, and the global preview image list includes preview images of each photo.

[0640] You can refer to the global preview page shown in ② in 45. The titles of my photo categories can be displayed in the third menu. It should be noted that because the global preview page is configured not to display the global preview list corresponding to the photo subject category, the third menu does not include the titles of the photo subject category.

[0641] S5703, if the currently selected secondary category is a photo theme category, the global preview page will not be entered.

[0642] If the currently selected secondary category is a photo theme category, the global preview page is not entered because the art mode application is configured not to display the global preview list corresponding to the photo theme category. In some embodiments, the display device 200 may also display a prompt message to prompt the user that the photo theme category does not have a global preview page.

[0643] In some embodiments, some functions provided by the art mode application are not applicable to the scene of displaying photos according to the theme. For example, functions related to the carousel function, such as carousel time, frame background color, painting information, etc. The art mode application usually configures the setting items of the functions provided in the art mode application setting page, wherein the setting items corresponding to the functions of the scene that are not suitable for displaying photos according to the theme can be called setting items that are not related to the photo theme classification, and can also be called first setting items. When displaying photos according to the theme, the user can open the art mode application setting page to customize various functions. However, if the user sets a function that is not suitable for the scene of displaying photos according to the theme, the display device 200 may not respond to the user's setting, or the effect of the response is not obvious or the effect of the response is not displayed, resulting in a reduced user experience. In order to avoid the above problems, when the display device 200 displays photos according to the theme, if the art mode application setting page is entered, the first setting item is disabled. The disabled state can be grayed out, or prompted to be unavailable in response to the user's setting instruction.

[0644] In some embodiments, the following examples may be referred to to achieve corresponding effects of photo themes:

[0645] To achieve the rotation angle: you can define a layer, add rotation properties to it, and add multiple keyframes on the timeline to control the rotation angle of the layer at different time points. The Lottie library can interpolate during the animation playback based on these keyframe information to achieve a smooth rotation effect. The above process can be implemented through the Canvas.rotate API.

[0646] For the implementation of dynamic animation background: Dynamic animation background refers to setting a static background at the bottom of the animation playback, which can be implemented by calling the setBackGroundResource method when initializing LottieAnimationView.

[0647] For the implementation of fading in and out: the effect of fading in and out can be achieved by controlling the progress of the animation and setting the transparency (alpha) of the animation, where the progress can be a value from 0 to 1, used to indicate the position of the animation playback. In the fading in stage, the progress is a process from 0 to 1, and the transparency of the animation is controlled to gradually change from completely transparent to completely opaque. In the fading out stage, the progress is a process from 1 to 0, and the animation is controlled to gradually change from completely opaque to completely transparent.

[0648] For the realization of zooming in and out: the zooming in and out effect can be achieved by controlling the scale property of the animation. The scale of the animation can be divided into x-axis scale (Scale X) and y-axis scale (Scale Y), and then the interpolation algorithm (Interpolation) is used to calculate the scale value between each key frame to generate a smooth zooming effect. Among them, the zooming effect will increase the Scale value, and the zooming effect will reduce the Scale value.

[0649] For the implementation of "photo frame" and "magazine" effects: "Photo frame" and "magazine" effects are to add borders to the displayed photos. You can first define the image resources, position and size of each photo frame, and then define the size, resource id and position of the displayed content in each photo frame. After the animation starts, dynamically set the bitmap for the corresponding resource id.

[0650] In some embodiments, the art mode application may be configured with a function of providing painting information. In this way, the user can learn about the painting information of the art painting when browsing the art painting. The painting information may include information about the author, year, introduction, etc. of the art painting.

[0651] When browsing art paintings, users usually do not want to display the painting information of familiar art paintings on the display page in order to enjoy them more immersively. However, for unfamiliar art paintings, users want to display the painting information on the display page in order to understand the painting information of the art paintings.

[0652] In some embodiments, the art mode application may be configured with a switch for displaying a painting information function. When the switch is turned on, i.e., the painting information display function is turned on, when the art painting is displayed in the display page, the painting information of the art painting is also displayed. When the switch is turned off, i.e., the painting information display function is turned off, when the art painting is displayed in the display page, the painting information of the art painting is not displayed.

[0653] In some embodiments, the art mode application can configure the switch of the painting information display function in the application settings menu. Among them, the application settings menu is different from the system settings menu. It is a settings menu within the art mode application. The application settings menu includes menu items for setting parameters related to art paintings. The parameters set based on the application settings menu will not affect the overall parameters of the display device 200. In some embodiments, the application settings menu can be a shortcut menu. When displaying the display page, the display device 200 can open the application settings menu in response to the control instruction input by the user based on the menu key of the control device 100. Among them, the application settings menu can be configured to be displayed in the third-level OSD layer, whereby the application settings menu is displayed on the upper layer of the display page. In this way, when using the application settings menu, the user can browse the art paintings in the display page at the same time, and observe the setting effect after setting through the application settings menu.

[0654] You can refer to Fig.58 The application setting menu 5801 shown in the figure may include a menu item of painting information, which is a switch for the painting information display function. The user can switch the switch state of the painting information display function by selecting the painting information menu item, and the current state is displayed on the painting information menu item, such as Fig.58 As shown, the menu item of the painting information displays "On", indicating that the painting information display function is currently turned on. If the user selects this menu item, the painting information display function will be turned off.

[0655] In other embodiments, the art mode application can also configure the switch of the painting information display function in the art mode setting page. The art mode setting page is a setting page of the art mode application. This setting page is different from the system setting page and is dedicated to setting parameters related to art paintings. The parameters set based on the art mode setting page will not affect the overall parameters of the display device 200. It can be considered that the art mode setting page is a page corresponding to the application setting menu. Based on the art mode setting page, the user can set various parameters more centrally. In some embodiments, the art mode setting page can be configured to be displayed in the three-level OSD page.

[0656] In some embodiments, the entry to the art mode settings page can be configured in the application settings menu, which can be referred to as Fig.58 In this way, the user can enter the art mode setting page through the application setting menu and adjust the state of the painting information display function through the art mode setting page.

[0657] You can refer to Fig.59 The art mode setting page shown in the figure includes a setting item for painting information, which is the switch for the painting information display function. Fig.59 As shown, the painting information display function is currently turned on.

[0658] If the user wants to display the corresponding painting information while displaying the art painting, the painting information display function can be turned on based on the application settings menu or the art mode settings page. If the user does not want to display the corresponding painting information while displaying the art painting, the painting information display function can be turned off based on the application settings menu or the art mode settings page.

[0659] In some embodiments, the display device 200 may be configured to Fig.60 The process shown shows the painting information. The specific steps are as follows:

[0660] S6001, in response to a first instruction from a user, entering an art mode, displaying a presentation page of an art mode application, and displaying a first art work in the presentation page.

[0661] Step S6001 may refer to steps S501-S502, which will not be described in detail here.

[0662] S6002, identifying whether the painting information display function is currently enabled.

[0663] In some embodiments, the display device 200 can read the state of the painting information display function from the configuration file of the art mode application. The configuration file may include a flag bit for indicating the state of the painting information display function. If the flag bit is true or 1, it means that the painting information display function is currently turned on; if the flag bit is false or 0, it means that the painting information display function is currently turned off.

[0664] S6003, when the painting information display function is currently turned on, obtaining first painting information of a first art painting, and displaying the first painting information in a display page.

[0665] In some embodiments, the addresses of the art paintings and the painting information have a mapping relationship. Among them, the painting information of the art paintings can be preset in the local storage of the art mode application, or can be stored in the cloud server. Correspondingly, the address of the painting information of the art painting can be a local address or a network address. The display device 200 can determine the address of the painting information corresponding to the art painting according to the mapping relationship, and obtain the corresponding painting information according to the address.

[0666] In order to display the painting information on the upper layer of the art painting, when the painting information needs to be displayed, a second view can be created on the upper layer of the first view where the art painting is located, and the painting information is displayed in the second view. The first view and the second view belong to the same OSD layer, and the display level of the second view is higher than that of the first view, so the second view blocks the first view.

[0667] You can refer to Fig.61 The display page shown, when displaying the first art painting, also displays the first painting information on the first art painting, such as "Geometric Figures, Anonymous, 2024. This landscape painting uses simple geometric figures to represent the landscape.".

[0668] S6004, when the painting information display function is currently closed, the first painting information is not displayed in the display page.

[0669] In this way, when the user browses the first art painting, the user will not be disturbed by the information of the first painting and can browse the first art painting more immersively.

[0670] In some embodiments, the art mode application may be configured with a function to change the display position of the painting information, so that the user can select the position where the painting information is displayed. For example, the art mode application may configure the function of selecting the display position under the setting item of the painting information on the art mode setting page. Fig.59 In the art mode setting page shown, when the setting item of the painting information is turned on, a setting item for the display position of the painting information can be displayed below the setting item of the painting information. Based on the setting item, the user can set the display position of the painting information. The art mode application can preset at least one display position, such as the lower left corner, the upper left corner, the lower right corner, and the upper right corner. The user can select a display position from the preset display positions.

[0671] For example, setting the display position to the lower left corner, you can refer to Fig.61 In the display page shown, the first painting information is displayed in the lower left corner of the first art painting.

[0672] In some embodiments, the art mode application may be configured with a function to change the font color of the painting information. Fig.62 The process shown below changes the font color of the painting information. The specific steps are as follows:

[0673] S6201, calculating an average color value of a first artistic painting.

[0674] The average color value of the first art painting may reflect the overall color depth of the first art painting.

[0675] S6202: Determine a font color of the first painting information according to an average color value of the first art painting, wherein a color difference between the font color and the average color value of the first art painting meets a preset color difference requirement.

[0676] The logic for determining the font color of the first painting information may be: if the overall color of the first art painting is darker, a lighter font color is used; if the overall color of the first art painting is lighter, a darker font color is used.

[0677] In some embodiments, the code design for adjusting the font color of the painting information may refer to the following example:

[0678]

[0679] S6203: Display the first painting information on the first art painting using the font color of the first painting information.

[0680] In some embodiments, when the painting information display function is turned on, the display device 200 can Fig.63 The process shown in the figure displays the painting information of the art painting currently displayed in the display page in the graded preview page. The specific steps are as follows:

[0681] S6301, in response to a second instruction from the user, displaying a graded preview page on an upper layer of a display page according to the first artwork.

[0682] Step S6301 can refer to step S3002 and will not be repeated here.

[0683] At this time, the first painting information of the first artwork is always displayed in the display page.

[0684] S6302: If the first position of the first painting information overlaps with the position of the second menu, the first painting information is moved to a second position for display, and the second position does not overlap with the position of the second menu.

[0685] The first position of the first painting information is the display position of the first painting information in the display page. Fig.61 In the display page shown, the first position of the first painting information is the lower left corner. If the second menu is displayed at the bottom of the graded preview page, the first position overlaps with the position of the second menu. This will result in the second menu covering the first painting information displayed in the display page when the graded preview page is displayed.

[0686] In order to prevent the second menu from blocking the first drawing information, the display position of the first drawing information can be adjusted according to the second menu, so as to adjust the first drawing information to a second position that does not overlap with the position of the second menu. For example, the second position can be above the second menu. Fig.61 When displaying the graded preview page, the display position of the first painting information can be adjusted according to the position of the second menu. For example, Fig.64 The graded preview page shown adjusts the first painting information to be displayed above the second menu 6401.

[0687] In some embodiments, when displaying a hierarchical preview page, in order to avoid the page being crowded due to too much content being displayed overall, the first painting information may be replaced with the second painting information, where the second painting information is a summary of the first painting information, i.e., a more concise version of the first painting information. In this way, the overall page crowding effect can be reduced as much as possible while the painting information is displayed.

[0688] In some embodiments, when the painting information display function is currently turned off, the painting information will not be displayed on the art painting when the display page is displayed. At this time, if the user wants to know the painting information of the art painting, it is necessary to manually turn on the painting information display function, and after browsing the painting information, manually turn off the painting information, which obviously increases the cumbersomeness of the user's operation. In order to make it more convenient for users to browse the painting information at any time, the art mode application can be configured to dynamically display and hide the painting information in response to the user's key commands.

[0689] In some embodiments, the display device 200 may be configured to Fig.65 The process shown dynamically displays and hides the painting information. The specific steps are as follows:

[0690] S6501, when displaying a presentation page, in response to a first key command of a user, identifying whether first painting information is currently displayed.

[0691] In some embodiments, the user may input a key command by controlling the down key of the device 100 .

[0692] S6502: If the first painting information is not currently displayed, display the first painting information in the display page.

[0693] If the first painting information is not currently displayed, the display device 200 acquires the first painting information. The process may refer to step S6003, which is not described here. After acquiring the first painting information, the first painting information is displayed on the first art painting. In this way, the user can browse the painting information of the art painting at any time.

[0694] S6503: If the first painting information is currently displayed, hide the first painting information.

[0695] In this way, after browsing an art painting at any time, the user can control the state of not displaying the painting information again to continue browsing the art painting immersively.

[0696] You can refer to Fig.66 The process of dynamically displaying and hiding painting information is shown in Fig.66 As shown in ①, the display device 200 displays the first art painting in the display page, and does not display the first painting information based on the closing painting information display function. The display device 200 can respond to the first key instruction input by the user through the down key, such as Fig.66 As shown in ②, the first painting information is displayed in the display page. When the first painting information is displayed, if the user inputs the first key instruction again, the display device 200 responds to the first key instruction, such as Fig.66 As shown in ③, the first painting information is hidden.

[0697] In some embodiments, when the display device 200 displays the first painting information in response to the first key command, it can also play the first voice corresponding to the first painting information, that is, display the first painting information to the user in the form of voice broadcast.

[0698] In some embodiments, in response to the first key instruction, the display device 200 may only play the first voice corresponding to the first painting information without displaying the first painting information to avoid affecting the display of the first artwork.

[0699] In some embodiments, the code design for dynamically displaying and hiding the painting information and playing the painting information through voice can refer to the following examples:

[0700] Register key listener

[0701] @Override

[0702]

[0703] Method for voice broadcasting of painting information

[0704] Use the TextToSpeech class for voice broadcasting

[0705] Initialize TextToSpeech:

[0706]

[0707] Processing voice broadcast:

[0708]

[0709] In some embodiments, the art mode application may be configured to display corresponding painting information to the user on the preview image when displaying the graded preview page.

[0710] In some embodiments, the third picture information may be displayed below each preview image in the second menu. The third picture information may be relatively brief picture information to meet the size requirement of the second menu. Fig.67 The hierarchical preview page shown displays corresponding third painting information below each preview image.

[0711] In some embodiments, if the third painting information cannot be displayed all at once, the complete third painting information can be displayed in a scrolling manner when the preview image gains focus. Taking the first preview image gaining focus as an example, the third painting information corresponding to the first preview image is displayed in a scrolling manner, and the third painting information of other preview images that have not gained focus is static.

[0712] In some embodiments, in order to further streamline the hierarchical preview page, only the third painting information of the preview image that has gained focus is displayed.

[0713] In some embodiments, corresponding third painting information may be displayed below the first preview image that has gained focus, such as Fig.68 As shown in ①, the corresponding third painting information can also be displayed in a floating layer on the first preview image that has gained focus, such as Fig.68 As shown in ②.

[0714] In some embodiments, the art mode application is also configured with a function for users to customize the painting information of the art painting. For example, the art mode application can be configured with a custom theme classification under the photo collection classification, which can be referred to as Fig.69 The hierarchical preview page shown in the figure shows that the custom theme classification includes different custom templates, such as holiday theme templates, anniversary theme templates, meeting theme templates, birthday theme templates, party theme templates, etc., to meet the needs of users for different occasions. Templates of different themes include different backgrounds, layouts, texts, patterns, animation effects, etc. After selecting a custom template, the user can set the art paintings to be displayed and the display effects under the custom template.

[0715] In some embodiments, the display device 200 may be configured to Fig.70 The process shown sets the painting information of the art painting. The specific steps are as follows:

[0716] S7001, in response to an instruction by a user to select a first custom template, display the first custom template in a presentation page.

[0717] The first custom template includes a replaceable picture and a replaceable text. The replaceable picture can be replaced by a user-defined picture, and the replaceable text can be replaced by a user-defined text.

[0718] S7002, in response to the user's operation of opening the custom page, displaying the custom page on the presentation page.

[0719] In some embodiments, an entry to a custom page, such as a custom button, can be configured in the application settings menu. When the user opens the application settings menu by using the menu key of the control device 100, the display device 200 identifies whether it is currently in a custom theme classification. If it is in a custom theme classification, a custom button is displayed in the application settings menu for the user to customize. If it is not in a custom theme classification, the custom button is not displayed in the application settings menu. The user can control the display device 200 to open a custom page by selecting a custom button.

[0720] In some embodiments, the custom page may include a first adding entry and a second adding entry. The first adding entry is used to add a custom image, and the second adding entry is used to add a custom text. The number of the first adding entries is equal to the number of replaceable images in the first custom template. The number of the second adding entries is equal to the number of replaceable texts in the first custom template. In this way, the user can accurately add custom images and custom text.

[0721] In some embodiments, the custom page can use the first custom template as the background, and display the first adding entry and the second adding entry at the corresponding positions of the replaceable image and the replaceable text, and establish an association relationship between the replaceable image and the first adding entry, and establish an association relationship between the replaceable text and the second adding entry. In this way, the user can add custom images and custom text more intuitively. Fig.71 The custom page shown displays a first adding entry 7102 on a replaceable picture 7101 , and displays a second adding entry 7104 on a replaceable text 7103 .

[0722] S7003, in response to the user's operation of adding the first custom image and the first custom text, the first custom image is used to replace the corresponding replaceable image, and the first custom text is used to replace the corresponding replaceable text, to obtain a custom painting.

[0723] In some embodiments, the display device 200 may display a list of images to be selected in response to a user instruction to select the first adding entry, where the list of images to be selected includes images that may be added to the first custom template, and these images may include artworks, photos, etc.

[0724] In some embodiments, in response to the user's instruction to select the second adding entry, the display device 200 may display an input box, and the user may input custom text based on the input box.

[0725] After the user selects the first custom image, the display device 200 will use the first custom image to replace the replaceable image at the corresponding position.

[0726] After the user inputs the first custom text, the display device 200 will use the first custom text to replace the replaceable text at the corresponding position.

[0727] S7004, display custom paintings in the display page.

[0728] In some embodiments, the custom page may also include other adding entries, such as an adding entry for adding custom music, an adding entry for adding custom animation effects, an adding entry for adding filters, etc., so as to achieve more personalized styles. In some embodiments, the code design for implementing custom functions can refer to the following examples:

[0729]

[0730] In some embodiments, the art paintings included in the immersive atmosphere category present dynamic effects, that is, the art paintings under this category are essentially videos. Therefore, when displaying dynamic paintings under this category, it is necessary to ensure the dynamic effects of the dynamic paintings. When displaying such dynamic paintings, it is equivalent to looping the video file of the dynamic painting, which will cause pauses and black insertions between each round of looping of the video file, resulting in a discontinuous sense of the dynamic effect.

[0731] In order to solve the above problem, when playing dynamic paintings, multiple video players can be created. When using one video player to play the current round of videos, other video players can be preloaded. After the current round of videos are played, the preloaded video player can be used directly to play the next round, thereby achieving seamless loop playback of video files. However, in the above process, it is necessary to maintain multiple video players at the same time, which will occupy more system memory resources, and when the system is under high load, frame loss and frame jamming may occur.

[0732] In order to solve the above problems, the embodiment of the present application can provide a method for displaying dynamic paintings to achieve seamless loop playback of dynamic paintings. The display device 200 can be arranged according to Fig.72 The process shown shows dynamic painting. The specific steps are as follows:

[0733] S7201: In the art mode, a target art painting in the immersive atmosphere category is monitored and a video file corresponding to the target art painting is decoded to obtain audio data and video data.

[0734] In some embodiments, the user can select a target artwork to be displayed on the display page by selecting a preview image included in the immersive atmosphere category on the hierarchical preview page.

[0735] In some embodiments, the user can select a target artwork to be displayed on the display page by selecting a preview image included in the immersive atmosphere category on the global preview page.

[0736] In some embodiments, if the display device 200 displayed an art painting in the immersive atmosphere category when the art mode or art screensaver mode was last exited, the art painting will be displayed when the art mode or art screensaver mode is entered next time.

[0737] When the display device 200 monitors the target art painting in the immersive atmosphere classification that needs to be displayed, it first reads the video file corresponding to the target art painting, decapsulates (demux) the video file, and obtains a basic audio stream and a basic video stream. By decoding the basic audio stream, audio data in a pulse code modulation (PCM) format can be obtained. By decoding the basic video stream, video data in a color coding (YUV) format can be obtained.

[0738] S7202, when it is identified that the video file corresponding to the target art painting is in loop playback mode, the first display timestamp of each audio frame in the audio data in the current round and the second display timestamp of each video frame in the video data in the current round are calculated based on the number of loops corresponding to the current round and the source length of the video file.

[0739] After the display device 200 enters the immersive atmosphere category, the corresponding play mode, ie, the loop play mode, can be read. After the display device 200 identifies the loop play mode, it creates a video player and marks the video player for loop play.

[0740] The display device 200 may refer to Fig.73 The process plays the video file in a loop. After the video file is decapsulated to obtain the audio data and the video data, if it is identified as a loop playback mode, the presentation time stamp (PTS) of the audio data and the video data can be modified in a loop so that each audio frame and video frame has a presentation time stamp that matches the display time of the current loop process during each round of loop playback, thereby achieving the effect of loop playback of the video file through a video player.

[0741] In each cycle, the first display timestamp of each audio frame in the current cycle and the second display timestamp of each video frame in the video data in the current cycle can be calculated according to the following formula:

[0742] newPTS = currentPTS + the number of loops corresponding to the current round and the length of the video file source

[0743] Among them, newPTS is the display timestamp of the audio and video frame in the current round, and currentPTS is the display timestamp before modification, that is, the display timestamp of the previous round.

[0744] In some embodiments, the source length of the video file is the maximum value of the display timestamps of each audio frame in the audio data, the maximum value of the display timestamps of each video frame in the video data, and the maximum value of the video length in the file description.

[0745] In some embodiments, in the same cycle, the first display timestamp and the second display timestamp of the corresponding audio frame and video frame are the same, that is, the display timestamps of the audio and video frames requiring audio and video synchronization are consistent.

[0746] In each loop, after calculating and modifying the PTS of the audio and video frames, it is determined whether the decoding of the video file has been completed. If not, the decoding of the video file continues. If it has been completed, the number of loops is increased by 1, and the video file is decoded again, for example, the video file is positioned (seek) to the starting position of the video file, and the decoding and playback process is performed again to achieve the effect of loop playback.

[0747] S7203: In the display page of the art mode application, the video file corresponding to the target art painting is played in a loop, wherein in each round of playback, the corresponding audio frame is played according to the first display timestamp, and the corresponding video frame is displayed according to the second display timestamp.

[0748] Based on the display timestamp calculated based on the above formula, the time difference of the display timestamps corresponding to the same audio and video frame in each round of loop is equal to the video length. Therefore, after the last audio and video frame of the video is played, it can be directly connected to the first audio and video frame of the video to achieve a seamless loop effect.

[0749] The beginning and / or end of the audio data in the video file may contain audio data with low amplitude. This audio data may be difficult for the human ear to distinguish, similar to a silent effect. This audio data can be called silent data. During loop playback, when silent data is played, a silent effect will appear. If the duration of silent data is short, it may appear as an audio pause.

[0750] To solve this problem, based on step S7201, the display device 200 can Fig.74 The process shown processes the silent data, and the specific steps are as follows:

[0751] S7401, identifying the silent data at the beginning and end of the audio data.

[0752] For example, you can use ffmpeg's silencedetect filter, which can detect the start and end time of the silent part. You can also use the API provided by IJKPlayer to detect silent data in PCM data.

[0753] S7402: If the duration of the silent data is less than the silent duration, remove the silent data from the audio data, and remove data corresponding to the silent data from the video data.

[0754] If the duration of the silent data is less than the silent duration, for example, 2 seconds, it can be considered that the silent data will present a pause effect during the loop playback process, and thus the silent data is removed (dropped) from the audio data so as not to play the silent data, thereby avoiding silence. At the same time, the data corresponding to the silent data is removed from the video data to ensure that the remaining video data and audio data can still be synchronized with the sound and picture.

[0755] S7403: If the duration of the silence data is greater than or equal to the silence duration, retain the silence data.

[0756] If the duration of the silent data is greater than or equal to the silent duration, it can be considered that the silent duration is long and the effect it presents does not belong to a pause effect, and thus the silent data is retained.

[0757] In some embodiments, during the process of looping the video file, the display device 200 may Fig.75 The process shown here ensures the synchronization of audio and video of dynamic paintings. The specific steps are as follows:

[0758] S7501, lock the thread with faster rendering speed among the audio thread for rendering audio data and the video thread for rendering video data.

[0759] After calculating the first display timestamp and the second display timestamp, in order to ensure the synchronization of audio and video, the rendering threads of audio data and video data can be locked. The thread that completes the rendering first needs to wait for the other thread to complete the rendering and then enter the next rendering process.

[0760] S7502, after the audio thread and the video thread are synchronized, unlock the thread with a faster rendering speed.

[0761] In some embodiments, when exiting the display of the target artwork or re-decoding of the video file is detected, the thread with a faster rendering speed is unlocked.

[0762] The faster rendering thread will be unlocked to prevent blocks if it exits displaying the target artwork or seeks to the beginning of a video file while waiting for another thread to render.

[0763] In some embodiments, the display device 200 may be configured to Fig.76 The process shown is to synchronize audio and video, and the specific steps are as follows:

[0764] S7601, when the audio clock is used as the main clock, if it is monitored that the speed of writing audio data in the audio thread is too fast, switch to using the video clock as the main clock.

[0765] S7602, when it is monitored that the speed of writing audio data in the audio thread meets the speed range, synchronize the audio thread and the video thread, discard the unsynchronized part of the audio data, and switch the audio clock to the main clock.

[0766] If the audio clock is used as the main clock, when the audio data is written to the audiotrack too quickly, the video data may drop frames due to the clock increasing too quickly. You can first switch the main clock to the video clock, and when the audiotrack writing speed is normal, synchronize the audio and video data, discard the unsynchronized data in the audio data, and switch the main clock back to the audio clock.

[0767] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the content of this disclosure, so that those skilled in the art can better use the embodiments.

Claims

1. A display device, characterized in that: include: The display is configured to: in a first mode, display a hierarchical preview page on an upper layer of a display page, the display page being a user display interface set in the first mode, the hierarchical preview page including a first menu and a second menu, the background of the hierarchical preview page being in a transparent state, and the art paintings displayed in the display page can be displayed through the background, wherein the first menu includes titles of primary categories, the primary categories include photo collection categories, the secondary categories of the photo collection categories include my photo categories and photo theme categories, the second menu is used to display titles of secondary categories included in the primary category that is in a selected state or has obtained focus, and the second menu also includes a preview image list, the preview image list is in a single-line form, and includes preview images of the art paintings included in the secondary category that is in a selected state or has obtained focus; The controller is configured as: In response to a user opening the photo theme classification operation, updating the preview image list, wherein the updated preview image list includes preview images of at least one theme, wherein different themes correspond to different display styles, each theme is associated with at least one theme template, and the style of each theme template is consistent with the display style of the associated theme; In response to an instruction by the user to select the first theme, the graded preview page is exited, and the photos included in the my photo category are displayed in accordance with the first theme in the display page, wherein each of the photos is displayed in accordance with a target first theme template associated with the first theme, and the number and display direction of the images to be replaced included in the target first theme template match the number and display direction of the photos.

2. The display device according to claim 1, characterized in that In response to the user opening the photo theme classification operation, the controller is further configured to: In response to a user instruction to move focus to the title of the photo collection category, the title of the photo collection category acquires focus; Determine whether the current theme has been set; If no theme is currently set, the title of the My Photos category is in a selected state, and after receiving an instruction from the user to move the focus to the title of the photo theme category, the title of the photo theme category acquires the focus to open the photo theme category; If a theme has been currently set, the title classified by the photo theme is in a selected state to open the photo theme classification.

3. The display device according to claim 2, characterized in that The controller is further configured to: If no theme is currently set, after the title of the My Photos category is in a selected state, the art painting displayed in the display page is switched to the first photo in the My Photos category; Starting from the first photo, the photos are rotated.

4. The display device according to claim 2, characterized in that The controller is further configured to: If a theme is currently set, after the title classified by the photo theme is in a selected state, in response to a downward instruction of the user, the focus is moved to the preview image list, and the preview image of the second theme is focused, wherein the second theme is the currently set theme; If no user operation is detected within a specified time period, the art paintings displayed in the display page are switched to displaying the imported photos according to the second theme, wherein each of the photos is displayed according to a target second theme template associated with the second theme, and the number and display direction of the images to be replaced included in the target second theme template match the total number and display direction of each of the photos.

5. The display device according to claim 1, characterized in that The controller, in response to an instruction of a user selecting a first theme, exits the graded preview page and displays the photos included in the my photo category according to the first theme, and is configured to: Determine the target first theme template from the first theme templates associated with the first theme; Obtaining a first number and display direction of the pictures to be replaced included in the target first theme template; each time selecting the first number of photos to be displayed from the photos to obtain at least one group of photos to be displayed, wherein the display direction of each group of photos to be displayed is consistent with the display direction of the pictures to be replaced, and the groups of photos to be displayed are not repeated; The at least one group of photos to be displayed are displayed in sequence in the display page according to the target first theme template.

6. The display device according to claim 5, characterized in that The controller selects the first number of photos to be displayed from the photos each time to obtain at least one group of photos to be displayed, and is configured as follows: If the display direction of the unselected photo does not meet the display direction requirement for constituting a group of the to-be-displayed photos, the unselected photo and the designated pictures are combined into a plurality of groups of the to-be-displayed photos, wherein a group of the to-be-displayed photos includes at least one of the unselected photo and at least one of the designated pictures, and the display directions of the at least one unselected photo and the at least one designated picture meet the display direction requirement for constituting a group of the to-be-displayed photos; The requirement for display direction of a group of photos to be displayed includes that the display direction of a group of photos to be displayed is consistent with the display direction of each picture to be replaced in the target first theme template.

7. The display device according to claim 5, characterized in that The controller selects the first number of photos to be displayed from the photos each time to obtain at least one group of photos to be displayed, and is configured as follows: If the number of the unselected photos is less than the number of the to-be-replaced pictures in the target first theme template, the unselected photos and the designated pictures are combined into a group of the to-be-displayed photos, wherein the total number of the unselected photos and the designated pictures is equal to the number of the to-be-replaced pictures, and the display directions of the unselected photos and the designated pictures meet the display direction requirements for constituting a group of the to-be-displayed photos; The requirement for display direction of a group of photos to be displayed includes that the display direction of a group of photos to be displayed is consistent with the display direction of each picture to be replaced in the target first theme template.

8. The display device according to claim 6 or 7, characterized in that: The designated picture includes the selected photo or a default picture.

9. The display device according to claim 1, characterized in that: The controller, in response to an instruction of a user selecting a first theme, exits the graded preview page and displays the photos included in the my photo category according to the first theme, and is configured to: Grouping the photos according to the order of the photos to obtain at least one group of photos to be displayed, wherein the number of the photos to be displayed in each group is the second number; According to the display direction of each group of the photos to be displayed, determine the target first theme template corresponding to each group of the photos to be displayed from the first theme templates associated with the first theme, the target first theme template including the second number of pictures to be replaced, and the display direction of the second number of pictures to be replaced is consistent with the display direction of the photos to be displayed of the corresponding group; In the display page, the at least one group of photos to be displayed is displayed in sequence according to the target first theme template corresponding to each group of photos to be displayed.

10. The display device according to claim 5 or 9, characterized in that: The controller is further configured to: When the at least one group of photos to be displayed are displayed in sequence in the display page, the photos to be displayed are preloaded according to the display duration, wherein n groups of photos to be displayed are preloaded each time.

11. The display device according to claim 5 or 9, characterized in that: The controller displays the at least one group of photos to be displayed in the display page, and is configured to: If the height or width of the photo to be displayed is greater than the height or width of the corresponding first picture to be replaced, then when displaying the photo to be displayed, the photo to be displayed is scrolled and displayed; If the scrolling time length of the scrolling display of the photos to be displayed is greater than or equal to the preset display time length of each group of the photos to be displayed, then after the photos to be displayed are scrolled, the next group of photos to be displayed is switched for display; If the scrolling time of the scrolling display of the photos to be displayed is less than the display time, after the photos to be displayed are scrolled, when the display time of the photos to be displayed of the current group reaches the preset display time, the next group of photos to be displayed is switched for display.

12. The display device according to claim 1, characterized in that The controller is further configured to: When a preview image in the preview image list acquires focus, in response to a user instruction to display a global preview page, identifying a secondary category that is currently in a selected state; If the currently selected secondary category is the My Photos category, entering the global preview page, the global preview page includes the title of the My Photos category and a global preview image list, the global preview image list includes preview images of each of the photos; If the currently selected secondary category is the photo theme category, the global preview page will not be entered.

13. The display device according to claim 1, characterized in that The controller, in response to the user's instruction to select the first theme, exits the graded preview page, and displays the photos included in the my photo category according to the first theme in the display page, and is further configured to: In response to a user operation of opening a first mode setting page, the first mode setting page is displayed, wherein a first setting item in the first mode setting page is in a disabled state, and the first setting item is a setting item that is not related to the photo theme classification.

14. A method for displaying a photo, characterized in that: Applied to a display device as claimed in any one of claims 1 to 13, the display device displays a hierarchical preview page on an upper layer of a display page in a first mode, the display page being a user display interface set in the first mode, the hierarchical preview page comprising a first menu and a second menu, the background of the hierarchical preview page being in a transparent state, and the art paintings displayed in the display page can be displayed through the background, wherein the first menu comprises titles of primary categories, the primary categories comprising photo collection categories, the secondary categories of the photo collection categories comprising my photo categories and photo theme categories, the second menu is used to display titles of secondary categories included in a primary category that is in a selected state or has obtained focus, and the second menu further comprises a preview image list, the preview image list being in a single-line form and comprising preview images of art paintings included in a secondary category that is in a selected state or has obtained focus; The method comprises: In response to a user opening the photo theme classification operation, updating the preview image list, wherein the updated preview image list includes preview images of at least one theme, wherein different themes correspond to different display styles, each theme is associated with at least one theme template, and the style of each theme template is consistent with the display style of the associated theme; In response to an instruction by the user to select the first theme, the graded preview page is exited, and the photos included in the my photo category are displayed in accordance with the first theme in the display page, wherein each of the photos is displayed in accordance with a target first theme template associated with the first theme, and the number and display direction of the images to be replaced included in the target first theme template match the number and display direction of the photos.

Citation Information

Cited By

  • Customized display method, equipment, storage medium and system

    CN121166252A

  • Customized display methods, devices, storage media, and systems

    CN121166252B

  • Display device and content display method

    WO2026001464A1