Display device
By using a single playback control to manage multiple playback modes in the display device, the problem of lag in the display device during switching is solved, and the code maintenance and user experience is improved.
Patent Information
- Application Number
- CN202510316420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-07-29
AI Technical Summary
In the prior art, the display device is stuttered due to the complexity of the control when switching different picture playback modes, which affects the user experience and is difficult to maintain code.
A single playback control is used to manage multiple playback modes, determine the target playback mode through the controller responding to image display instructions, and call the playback control in the user interface to display the pending pictures, and use the SurfaceView control to improve fluency.
Simplifies the playback mode switching logic, improves code maintainability, avoids lag, and improves image display effect and user experience.
Smart Images

Figure CN120386884A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of display devices, and particularly to a display device and a display method. Background Art
[0002] In order to improve the resolution and picture quality of pictures, when a display device plays pictures, the pictures can be displayed through different user interfaces (for example, the Video layer for real-time video and image playback). At the same time, in order to meet user needs, multiple playback modes are often provided.
[0003] Currently, in order to achieve multi-mode playback of pictures, a corresponding mode control is set separately for each playback mode to provide a complete playback function. However, the control logics of different mode controls are complex, and the code maintenance is difficult. When switching between different playback modes, it is easy to cause phenomena such as lags due to complex switching logics, resulting in poor picture display effects and affecting the user experience. Summary of the Invention
[0004] This application provides a display device and a display method, which can improve the display effect of pictures.
[0005] In a first aspect, some embodiments of this application provide a display device, including a display and a controller. Among them,
[0006] The display is configured to display a user interface;
[0007] The controller is configured to:
[0008] Respond to a picture display instruction, and determine a target playback mode of a picture to be processed; wherein, the target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode;
[0009] Call a playback control to display the picture to be processed in the user interface according to the target playback mode, wherein the playback control is a control for managing different playback modes.
[0010] In the embodiments of the present application, a target playback mode of a to-be-processed picture is determined in a playback control through a picture display instruction, and the playback control is called according to the target playback mode to display the to-be-processed picture in a user interface. Since the playback control is a single control for managing different playback modes, and the target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode, it means that different playback modes can be implemented through a single playback control, which improves the maintainability of the code and simplifies the switching logic of different playback modes. Therefore, problems such as lag caused by switching playback modes between different mode controls can be avoided, thereby improving the display effect of pictures and enriching the user experience.
[0011] In a second aspect, some embodiments of the present application further provide a display method, which is applied to the display device provided in the first aspect. The method includes:
[0012] Responding to a picture display instruction to determine a target playback mode of a to-be-processed picture; wherein, the target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode;
[0013] Calling the playback control according to the target playback mode to display the to-be-processed picture in a user interface, wherein the playback control is a single control for managing different playback modes.
[0014] In a third aspect, a display device is provided, including units for executing the display method in the second aspect.
[0015] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is run by a display device, the display device is caused to execute the display method in the second aspect.
[0016] In a fifth aspect, a computer program product is provided. The computer program product includes: a computer program, and when the computer program is run by a display device, the display device is caused to execute the display method in the second aspect.
[0017] It can be understood that the beneficial effects of the above second aspect to fifth aspect can refer to the relevant descriptions in the above first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 Schematic diagram of the operation scenario between a display device and a control device provided for some embodiments of the present application;
[0020] Figure 2 Schematic diagram of the hardware configuration of a display device provided for some embodiments of the present application;
[0021] Figure 3 Schematic diagram of the hardware configuration of a control device provided for some embodiments of the present application;
[0022] Figure 4 Schematic diagram of the software configuration of a display device provided for some embodiments of the present application;
[0023] Figure 5 Block diagram of a display device provided for some embodiments of the present application;
[0024] Figure 6 Flow chart of a display method provided for some embodiments of the present application;
[0025] Figure 7 Flow chart of the static picture playback mode provided for some embodiments of the present application;
[0026] Figure 8 Schematic diagram of displaying a dynamically decoded image on a menu interface through a SurfaceView control provided for some embodiments of the present application;
[0027] Figure 9 Flow chart of the fade - out playback mode provided for some embodiments of the present application;
[0028] Figure 10 Schematic diagram of the structure of a display device provided for some embodiments of the present application. Detailed implementation manners
[0029] The embodiments will be described in detail below, and the examples are shown in the 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 implementation manners described in the following embodiments do not represent all the implementation manners consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application detailed in the claims.
[0030] It should be noted that the brief description of the terms in the present application is only for the convenience of understanding the following described implementation manners, rather than intending to limit the implementation manners of the present application. Unless otherwise specified, these terms should be understood in their ordinary and common meanings.
[0031] Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B. The "and / or" herein is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.
[0032] In the present application, terms such as "first", "second", "third", etc. in the specification, claims and the above-mentioned drawings are used to distinguish similar or homogeneous objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that such terms can be interchanged under appropriate circumstances.
[0033] The terms "comprising" and "having" and any variations thereof are intended to cover but not exclude inclusion. For example, a product or device comprising a series of components does not necessarily have to be limited to all the components clearly listed, but may include other components not clearly listed or inherent to these products or devices.
[0034] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or a combination of hardware or / and software code that can perform functions related to that element.
[0035] In the embodiments of the present application, the display device 200 generally refers to a device having the capabilities of displaying images and processing data. For example, the display device 200 includes but is not limited to in-vehicle screens, smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, augmented reality devices, etc.
[0036] Figure 1 It is a schematic diagram of the operation scenario between the display device and the control device provided for some embodiments of the present application. As Figure 1 shown, the user can operate the display device 200 through touch operations, the mobile terminal 300, and the control device 100. For example, the control device 100 can be a remote control, a stylus, a handle, etc.
[0037] The mobile terminal 300 can be used as a control device for performing human-computer interaction between the user and the display device 200. The mobile terminal 300 can also be used as a communication device for establishing a communication connection with the display device 200 and performing data interaction. In some embodiments, software applications can be installed on the mobile terminal 300 and the display device 200, and the connection communication can be achieved through network communication protocols to achieve the purpose of one-to-one control operations and data communication. It is also possible to transmit the audio and video content displayed on the mobile terminal 300 to the display device 200 to achieve the synchronous display function.
[0038] As Figure 1 also shown in Figure 1 , the display device 200 also communicates with the server 400 for data communication through various communication methods. The display device 200 is allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0039] The display device 200 can provide a broadcast receiving television function, and can also additionally provide an intelligent network television function with computer support functions, including but not limited to, network television, smart television, Internet Protocol Television (IPTV), etc.
[0040] Figure 2 For some embodiments of the present application Figure 1 The hardware configuration block diagram of the display device 200 in Figure 1 .
[0041] In some embodiments, the display device 200 may include at least one of a tuner demodulator 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.
[0042] In some embodiments, the detector 230 is used to collect signals from the external environment or interact with the outside. 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 environmental scenes, user attributes, or user interaction gestures. Or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0043] In some embodiments, the display 260 includes a display function component for presenting a picture and a driving component for driving image display. The display 260 is used to receive the image signal output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, components of a menu manipulation interface, and a user manipulation UI interface, etc.
[0044] In some embodiments, the display 260 can be a liquid crystal display (LCD), an organic light-emitting diode display (OLED), a plasma display panel (PDP), a vacuum fluorescent display (VFD), a field emission display (FED), or a projection display, etc., and can also be a projection device or a projection screen.
[0045] 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 methods. For example, when the display device 200 supports wireless network communication, the display device 200 may be provided with a communication device 220 including WiFi function. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including Bluetooth function.
[0046] The communication device 220 can enable the display device 200 to communicate with an external device or server 400 through a wireless or wired connection. Among them, the wired connection can connect the display device 200 with an external device through components such as a data cable and an interface. The wireless connection can connect the display device 200 with an external device through a wireless signal or a wireless network. The display device 200 can directly establish a connection relationship with an external device, or indirectly establish a connection relationship through a gateway, a router, a connection device, etc.
[0047] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and the first interface to the nth interface for input / output. The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.
[0048] In some embodiments, the controller 250 and the tuner demodulator 210 may be located in different split devices, that is, the tuner demodulator 210 may also be in an external device of the main device where the controller 250 is located, such as an external set-top box, etc.
[0049] In some embodiments, the user can input a user command on the graphical user interface (GUI) displayed on the display 260, and then the user input interface receives the user input command through the graphical user interface (GUI).
[0050] In some embodiments, the audio output device 270 may be the built-in speaker of the display device 200, or an external audio output device connected to the display device 200. Among them, for the external audio output device connected to the display device 200, the display device 200 may also be provided with an external audio output terminal, and the audio output device can be connected to the display device 200 through the external audio output terminal to output the sound of the display device 200.
[0051] In some embodiments, the user input interface 280 can be used to receive instructions from user input.
[0052] Figure 3 For some embodiments of the present application Figure 1 The hardware configuration block diagram of the control device in. As Figure 3 shown, the control device 100 may include: a controller 110, a communication interface 130, a user input / output interface, a memory, and a power supply.
[0053] The control device 100 is configured to control the display device 200, and can receive input operation instructions from the user, and convert the operation instructions into instructions recognizable and responsive by the display device 200, playing an intermediary role in the interaction between the user and the display device 200.
[0054] In some embodiments, the control device 100 may be an intelligent device. For example: the control device 100 can install various applications for controlling the display device 200 according to user needs.
[0055] In some embodiments, as Figure 1 shown, the mobile terminal 300 or other intelligent electronic devices, after installing the application for controlling the display device 200, can perform functions similar to those of the control device 100.
[0056] The controller 110 includes a processor 112, a RAM 113, a ROM 114, a communication interface 130, and a communication bus. The controller 110 is used to control the operation and operation of the control device 100, as well as the communication and cooperation between internal components and the data processing functions inside and outside.
[0057] Under the control of the controller 110, the communication interface 130 realizes the communication of control signals and data signals with the display device 200. The communication interface 130 may include at least one of a WiFi chip 131, a Bluetooth module 132, an NFC module 133, and other short-range communication modules.
[0058] The user input / output interface 140, where the input interface includes at least one of a microphone 141, a touchpad 142, a sensor 143, a button 144, and other input interfaces.
[0059] In some embodiments, the control device 100 includes at least one of the communication interface 130 and the input / output interface 140. The communication interface 130 is configured in the control device 100, such as: modules such as WiFi, Bluetooth, and NFC, which can encode user input instructions through the WiFi protocol, or the Bluetooth protocol, or the NFC protocol, and send them to the display device 200.
[0060] The memory 190 is used to store various operating programs, data, and applications for driving and controlling the control device 100 under the control of the controller. The memory 190 can store various control signal instructions input by the user.
[0061] The power supply 180 is used to provide operating power support for each component of the control device 100 under the control of the controller.
[0062] To facilitate 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 the hardware and software resources in the display device 200. The operating system may provide a user interface (control the display device), allow the user to interact with the display device 200, and support the running of various application programs.
[0063] It should be noted that 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. In the embodiment of the present application, the specific operating platform may be a mobile platform, and the operating system may be a mobile operating system based on the mobile platform, such as Android, iOS, HarmonyOS, or a third-party operating system customized and developed based on the Android system.
[0064] The operating system can be divided into different modules or layers according to the functions implemented, e.g. Figure 4 As shown, in some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (referred to as "application layer"), the application framework layer (referred to as "framework layer"), the system library layer and the kernel layer.
[0065] In some embodiments, the application layer provides services and interfaces for applications, enabling the display device 200 to run applications and interact with users based on these applications. The application layer can host at least one application, which can include a system setup program or clock program included with the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the examples above.
[0066] The framework layer provides applications with an application programming interface (API) and programming framework. The application framework layer includes predefined functions. The application framework layer acts as a processing center, determining the actions taken by applications in the application layer. Through the API, applications can access system resources and services during execution.
[0067] like Figure 4As shown in the figure, in the embodiment of the present application, the application framework layer includes a view system, managers, content providers, etc. Among them, the view system can design and implement the interface and interaction of the application. The view system includes lists, grids, text boxes, buttons, etc. The managers include at least one of the following modules: The Activity Manager is used to interact with all the activities running in the system; the Location Manager is used to provide access to the system location service for system services or applications; the Package Manager is used to retrieve various information related to the application packages currently installed on the device; the Notification Manager is used to control the display and clearing of notification messages; the Window Manager is used to manage icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.
[0068] In some embodiments, the Activity Manager is used to manage the life cycle of each application and the usual navigation back function, such as controlling the exit, opening, and backward movement of the application.
[0069] 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 libraries included in the system runtime layer, such as C / C++ instruction libraries or Android runtime libraries, to implement the functions that the framework layer needs to achieve.
[0070] In some embodiments, the kernel layer is a functional layer between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management. For example, as Figure 4 shown, hardware drivers can be configured in the kernel layer. The drivers included in the kernel layer can be at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor drivers (such as fingerprint sensors, temperature sensors, pressure sensors, etc.), and power drivers, etc.
[0071] It should be noted that the above examples are only simple divisions of the functions of the operating system, and do not limit the specific form of the operating system of the display device 200 in the embodiment of the present application. According to factors such as the functions of the display device and the type of the operating system, the number of levels and the specific level types included in the operating system can be in other forms.
[0072] When a display device displays pictures, in order to improve the user experience, different display modes can be provided. For example, static picture playback, dynamic picture playback, zoom animation playback, slide show, etc. In some related technologies, different display modes are implemented using different mode controls. For example, when playing a static picture, static playback can be achieved through a solution that combines a view control (such as a Surface View) with an image processing library (such as PhotoSdk); when playing a dynamic picture, a gif control (such as a GifImageView) can be used for playback, or a solution that combines an image framework (such as the Glide framework) with an image view (such as an ImageView) can be used; when playing a zoomed picture, it can be achieved through a custom image view (Image View): that is, a zoom control (such as a ZoomImageView) combined with a property animation; when playing a slide show, it can be achieved through a custom image view (ImageView): that is, an image processing control (such as a GlideView) combined with a property animation.
[0073] However, in the above solutions, multiple view controls need to be used in cooperation during the playback process to achieve the complete playback function. When switching between picture types and different playback modes, the View control logic is complex, and it is easy to cause phenomena such as stuttering due to the complex switching logic, resulting in a poor picture display effect. At the same time, the code maintenance of multiple view controls is difficult, and the performance requirements for the display device are relatively high. On some low-memory display devices, the complete playback function cannot be smoothly supported, further affecting the picture playback effect.
[0074] In order to improve the display effect of pictures, the embodiments of the present application provide a display device and a display method. In this method, in response to a picture display instruction, the target playback mode of the picture to be processed is determined, and the playback control is called according to the above target playback mode to display the picture to be processed in the user interface; wherein, the above target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode, and the above playback control is a single control for managing different playback modes.
[0075] To facilitate a further understanding of the technical solutions in some embodiments of the present application, the technical solutions of the display device and the display method, as well as how the technical solutions solve the above technical problems, will be described in detail below in conjunction with some specific embodiments and drawings. The embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Obviously, the described embodiments are some embodiments of the embodiments of the present application, rather than all the embodiments.
[0076] Figure 5 shows some embodiments provided by the present application Figure 1The block diagram of the display device shows only the parts related to the embodiments of the present application for the sake of convenience of description.
[0077] Referring to Figure 5 , the display device includes a display 510 and a controller 520, and the controller 520 is connected to the display 510.
[0078] Among them,
[0079] The display 510 is configured to display a user interface.
[0080] It should be understood that the above user interface refers to the interface displayed on the display, which may include display interfaces at different levels. For example, the above user interface may include a menu interface (i.e., the OSD layer displayed by the on-screen display (OSD) method) and a video interface (i.e., the Video layer for the display device to play videos and pictures in real time), etc.
[0081] The controller 520 is configured to:
[0082] In response to a picture display instruction, determine the target playback mode of the picture to be processed; among them, the above target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode;
[0083] Call a playback control to display the picture to be processed in the above user interface according to the above target playback mode, where the above playback control is a single control for managing different playback modes.
[0084] Figure 6 The flowchart of a display method provided by some embodiments of the present application is shown as follows and is described in detail below:
[0085] S610. In response to a picture display instruction, determine the target playback mode of the picture to be processed; among them, the above target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode.
[0086] It should be understood that the above picture display instruction may be an instruction actively triggered by the user. For example, the above picture display instruction may be a playback instruction triggered when the user selects a picture playback mode through an input device such as a remote control or a stylus in the display, or may also be a playback instruction triggered when the user selects a picture playback mode by means such as touch, gesture, or sound. Of course, the above playback request may also be a passively triggered request. For example, when the controller detects a picture to be processed, it automatically triggers a picture display instruction according to its format.
[0087] It should be understood that the image to be processed is an image to be displayed on a display device. The image to be processed can be a photo in the display device, a frame of a video, a document, an interface of an application, etc., or various display interfaces of the system interface or application in the display device. The above-mentioned image to be processed can include different formats, and the above formats include but are not limited to: JPG, PNG, BMP, GIF and other formats.
[0088] In some embodiments, multiple playback modes (for example, static image playback mode, dynamic image playback mode, zoom mode, slide show mode, etc.) can be preset in the controller and displayed in the form of a chart on the display. The controller determines the target playback mode of the image to be processed in response to a picture display instruction triggered when the user selects a playback mode in the chart.
[0089] S620. Call a playback control to display the image to be processed in the user interface according to the above target playback mode, where the playback control is a single control for managing different playback modes.
[0090] It should be understood that the above controller integrates different playback modes through a single playback control. After determining the target playback mode of the image to be processed, the image to be processed is played in the user interface according to the playback logic of the above target playback mode by calling this playback control.
[0091] It should be noted that since the user interface includes display interfaces at different levels, different target playback modes can correspond to display interfaces at different levels. When in different target playback modes, the display interfaces of the corresponding images to be processed can be different. The display interface corresponding to the target playback mode can be set according to the actual situation of the device and is not limited here. For example, in the static image playback mode, the image resource is relatively small, and it is displayed through the video interface, which can reduce resource occupancy; in the dynamic image playback mode, the dynamic image needs to be updated frequently, so it is displayed through the menu interface to ensure smoothness and real-time performance and avoid stuttering or delay.
[0092] In some embodiments, taking a display device with the android system as an example, the above playback control can be a custom SurfaceView control. Based on the double-buffering and high-performance rendering characteristics of the SurfaceView control, the smoothness of image display in different playback modes can be improved and stuttering can be reduced.
[0093] In the embodiments of the present application, the target playback mode of the to-be-processed picture is determined in the playback control through a picture display instruction, and the playback control is called according to the target playback mode to display the to-be-processed picture in the user interface. Since the above playback control is a single control for managing different playback modes, and the above target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode, it means that different playback modes can be implemented through a single playback control, which improves the maintainability of the code and simplifies the switching logic of different playback modes. Therefore, problems such as jamming caused by switching the playback mode by different mode controls can be avoided, thereby improving the display effect of pictures and enriching the user experience.
[0094] In some embodiments, when the above controller executes to determine the target playback mode of the to-be-processed picture, it is configured to:
[0095] Parse the above picture display instruction to obtain the picture display parameters corresponding to the to-be-processed picture;
[0096] Determine the above target playback mode according to the above picture display parameters in the playback modes managed by the above playback control.
[0097] It should be understood that different playback modes can be preset through an interface in the playback control. When a picture display instruction is detected, the above picture display instruction is parsed to obtain picture display parameters, and the corresponding target playback mode is determined according to the picture display parameters in the playback modes managed by the playback control. Among them, the above picture display parameters are parameters used to describe the playback mode corresponding to the to-be-processed picture, and the parameters may include one or more of the playback mode selected by the user, the type of the to-be-processed picture, the size of the to-be-processed image, the format of the to-be-processed image, etc.
[0098] In some embodiments, taking the display device of the android system as an example, different playback modes can be defined and managed through the SurfaceView control, so as to determine the target playback mode of the to-be-processed picture according to the picture display parameters in the playback modes managed by the SurfaceView control.
[0099] In some embodiments, the above user interface includes a video interface, that is, a Video layer for playing videos and images in real time.
[0100] When the above controller executes to call the above playback control to display the above to-be-processed picture in the user interface according to the above target playback mode, it is configured to:
[0101] In the case where the above target playback mode is the above static picture playback mode, call the decoding module to decode the above to-be-processed picture to obtain a static decoded image;
[0102] When the above controller has an interface corresponding to the above static picture playback mode, call the interface corresponding to the above static picture playback mode to send the above static decoded image to the above video interface, and set the background of the above playback control to transparent so that the above static decoded image is displayed in the above video interface;
[0103] When the above controller does not have an interface corresponding to the above static picture playback mode, transform the above static decoded image to the default size through a preset image transformation method, send the transformed above decoded image to the above video interface, and set the background of the above playback control to transparent so that the above static decoded image is displayed in the above video interface.
[0104] It should be understood that when the target playback mode is the static picture playback mode, the picture to be processed needs to be displayed on the video interface at this time. At the same time, due to reasons such as different versions and suppliers of the system of the display device, there may be different playback mode interfaces.
[0105] Among them, the above decoding module can integrate different types of image processing tools, including tools for processing static pictures, tools for processing dynamic pictures (such as GifDrawable and Glide), etc. The above preset image transformation method can be the Matrix transformation method, and the above Matrix transformation method realizes the geometric transformation of pictures through matrix processing, including but not limited to: scaling, rotation, translation, skew and other transformations.
[0106] Specifically, for the picture to be processed in the static picture playback mode, the controller can first decode it through the decoding module to obtain a static decoded image (i.e., a Bitmap object), and then determine whether there is an interface corresponding to the static picture playback mode through a preset image processing tool (such as by registering a listener through PhotoSdk). If there is an interface corresponding to the static picture playback mode, the corresponding interface can be directly called to display the static decoded image on the video interface. At the same time, since the playback control and the video interface are at different levels, in order to avoid the occlusion of the playback control, the background of the playback control is set to transparent, so that the static decoded image can be displayed in the video interface.
[0107] If there is no interface corresponding to the static picture playback mode, the above-mentioned static decoded image can be transformed to the default size through a preset image transformation method (i.e., the Matrix transformation method). Among them, if the current static decoded image supports the default size, the static decoded image is reduced or enlarged to the default size through the preset image transformation method. If the current static decoded image does not support the default size, the static decoded image is filled to the default size through the preset image transformation method. Then, the decoded image after being transformed to the default size is sent to the video interface for display, and the background of the playback control is set to transparent.
[0108] To better illustrate the static picture playback mode, the following is combined with Figure 7 for illustration. Referring to Figure 7 shown, it is a schematic flowchart of the static picture playback mode, including:
[0109] S701: Decode the picture to be processed to obtain a static decoded image, where the static decoded image is a Bitmap object; <�
[0110] S702: Determine whether there is a corresponding interface; for example, it can be determined whether there is a corresponding interface for the static picture playback mode by registering a listener through PhotoSdk;
[0111] S703: When there is an interface, display it in the video layer by calling the corresponding interface of the static picture playback mode;
[0112] S704: When there is no interface, determine whether the static decoded image supports the default size; for example, the default size can be 4K;
[0113] S705: When the static decoded image supports the default size, scale it to the default size; for example, process the Bitmap through the Matrix matrix to scale the Bitmap to 4K;
[0114] S706: When the static decoded image does not support the default size, fill it to the default size; for example, process the Bitmap through the Matrix matrix to fill the black edges of the Bitmap to 4K;
[0115] S707: Display the static decoded image in the Video layer;
[0116] S708: Set the background of the SurfaceView control to transparent.
[0117] In some embodiments, when the above-mentioned static decoded image is displayed in the above-mentioned video interface, the above-mentioned controller is further configured to:
[0118] Receive a picture rotation instruction;
[0119] When there is an interface corresponding to the above picture rotation instruction in the above controller, call the interface corresponding to the above picture rotation instruction to rotate the static decoded image displayed in the above video interface;
[0120] When there is no interface corresponding to the above picture rotation instruction in the above controller, rotate the static decoded image displayed in the above video interface by the above preset image transformation method.
[0121] Wherein, the above picture rotation instruction may be an instruction triggered based on a user rotation operation when the static decoded image is displayed in the video interface. The above picture rotation instruction may include rotation parameters, and the above rotation parameters may include a rotation angle, a rotation direction, etc.
[0122] Specifically, after receiving the above picture rotation instruction, it can be determined whether there is a corresponding rotation interface currently. If there is a rotation interface, directly call the rotation interface to rotate the static decoded image displayed in the video interface; if there is no corresponding rotation interface, then parse out the rotation parameters therein, and then rotate the static decoded image by a preset image transformation method (for example, by rotating the Bitmap through Matrix), and then display it through the video interface.
[0123] It should be noted that since the background of the playback control (i.e., the SurfaceView control) has been set to transparent in the static picture playback mode, when the rotated static decoded image is displayed, there is no need to process the playback control (i.e., the SurfaceView control).
[0124] It should also be noted that when receiving other picture operation instructions (such as picture zoom instructions, zoom and move instructions, etc.), corresponding adjustments can also be made through the corresponding interface or preset image transformation method. The specific operation steps are similar to those of the picture rotation instruction and will not be elaborated here.
[0125] In some embodiments, when the above controller executes to call the playback control to display the above to-be-processed picture in the above user interface according to the above target playback mode, it is configured to:
[0126] When the above target playback mode is the above dynamic picture playback mode, call the decoding module to decode the above to-be-processed picture to obtain a dynamic decoded image;
[0127] Draw the above dynamic decoded image to the above playback control according to a preset frame playback interval, and set the background of the above playback control to be opaque during the drawing process, so that the above playback control displays the above dynamic decoded image in the above menu interface.
[0128] It should be understood that when the target playback mode is the dynamic picture playback mode, the picture to be processed at this time is a dynamic picture (such as a picture in GIF format) and needs to be displayed on the menu interface. The preset frame playback interval is the interval between each frame during the playback of the dynamic picture, that is, the GIF frame interval.
[0129] Specifically, tools for processing dynamic pictures in the decoding module (such as GifDrawable and Glide) can be used to decode the image to be processed to obtain a dynamic decoded image. At this time, the dynamic decoded image includes multiple frames of images. The controller can, through an asynchronous thread, regularly draw the multiple frames of images included in the dynamic decoded image to the playback control (i.e., the SurfaceView control) based on the preset frame playback interval. At the same time, to avoid the influence of other hierarchical interfaces (such as the video interface), the background of the playback control (i.e., the SurfaceView control) can be set to be opaque during the drawing process, so as to display the dynamic decoded image on the above-mentioned menu interface through the playback control (i.e., the SurfaceView control).
[0130] It should be noted that for any frame image in the dynamic decoded image, operations such as picture scaling and rotation can also be performed through the preset image transformation method during the drawing process. For example, rotating any frame image through the Matrix.setRotate method.
[0131] In the embodiments of the present application, based on the characteristics of double buffering and high-performance rendering of the SurfaceView control, the smoothness of the display of the dynamic decoded image on the menu interface can be improved, and stuttering can be avoided. At the same time, both the dynamic picture playback mode and the static picture playback mode are implemented through the same SurfaceView control, which can reduce the complexity of the control logic during mode switching and further improve the display effect.
[0132] In some embodiments, when the above-mentioned controller is configured to draw the above-mentioned dynamic decoded image to the above-mentioned playback control according to the preset frame playback interval and set the background of the above-mentioned playback control to be opaque during the drawing process, it is configured as:
[0133] Obtain the frame images corresponding to the above-mentioned dynamic decoded image frame by frame;
[0134] For the obtained i-th frame image, perform image transformation on the above-mentioned frame image through the preset image transformation method; where i is a natural number greater than 0;
[0135] Draw the i-th frame image after image transformation to the above-mentioned playback control;
[0136] When the above-mentioned i-th frame image is the first frame image, set the background of the above-mentioned playback control to be opaque and determine the delay time of the above-mentioned i-th frame image according to the above-mentioned preset frame playback interval;
[0137] When the i-th frame image is not the first frame image, determine the delay time of the i-th frame image according to the preset frame playback interval;
[0138] When the delay time arrives, return to the previous step of obtaining the frame image corresponding to the dynamic decoded image frame by frame until all the frame images corresponding to the dynamic decoded image are obtained.
[0139] It should be understood that the above delay time is the time for each frame image to be delayed for playback determined according to the preset frame playback interval. Generally, the above delay time is the same as the preset frame playback interval. Of course, the delay time can also be reset according to the preset frame playback interval. For example, the delay time can be set to 2 times the preset frame playback interval, etc., which is not limited here.
[0140] Specifically, when displaying the dynamic decoded image on the menu interface, the frame image corresponding to the dynamic decoded image can be obtained frame by frame. For any frame image, perform image transformation on the frame image through the preset image transformation method, and then draw each transformed frame image into the playback control (i.e., the SurfaceView control) through the delay time set by the frame playback interval. Among them, when drawing the first frame image, the background of the playback control (i.e., the SurfaceView control) can be set to opaque, so as to avoid occlusion during the subsequent drawing of frame images and affect the playback effect.
[0141] Among them, the above image transformation includes one or more of rotation, scaling, filling, translation, etc. For example, when drawing the i-th frame image, the Matrix.setRotate method can be used to achieve the rotation effect. Or, each frame image can be scaled or filled to the default size (such as 4K) through the Matrix transformation method.
[0142] For example, referring to Figure 8 As shown, assuming that the above image transformation is image rotation, then displaying the dynamic decoded image on the menu interface through the SurfaceView control includes:
[0143] S801. Obtain the i-th frame image of the dynamic decoded image;
[0144] S802. Obtain the rotation angle of the current frame image and perform rotation through the preset image transformation method to obtain the rotated frame image;
[0145] S803. Draw the rotated frame image into the SurfaceView control;
[0146] S804. Determine whether it is the first frame image;
[0147] If so, execute S805 to set the background of the SurfaceView control to be opaque;
[0148] If not, execute S806 to play the current frame image according to the delay time;
[0149] S807: When the delay time arrives, set the next frame image as i = i + 1, set the rotation angle of the next frame image, and return to step S801;
[0150] S808: End after all frame images are played.
[0151] In some embodiments, when the above controller executes to call the playback control to display the to-be-processed picture in the above user interface according to the above target playback mode, it is configured as:
[0152] When the above target playback mode is the above zoom mode and the previous target playback mode is the above static picture playback mode, set the background of the above playback control to be opaque, and draw the above to-be-processed image to the above playback control through a preset animation zoom frequency, so that the above playback control zooms and displays the above to-be-processed image in the menu interface;
[0153] When the above target playback mode is the above zoom mode and the previous target playback mode is the above dynamic picture playback mode, draw the frame image currently played of the above to-be-processed image to the above playback control through the above preset animation zoom frequency, so that the above playback control zooms and displays the frame image currently played of the above to-be-processed image in the above menu interface.
[0154] It should be understood that the above zoom mode is a zoom animation mode, that is, during the zooming process, the zooming process is displayed in the form of continuous animation.
[0155] When the target playback mode is the zoom mode and the previous target playback mode is the static picture playback mode, since the background of the playback control is transparent at this time and dynamic display is required in the menu interface, in order to avoid occlusion, it is necessary to set the background of the playback control to be opaque. Then the controller can obtain the zoom ratio through a preset animation manager. Then the above preset animation manager will determine the animation zoom frequency according to the zoom ratio and the preset animation duration, and then redraw the to-be-processed image to the playback control through a preset drawing method, so as to realize zooming and displaying the to-be-processed image in the menu interface in the form of a zoom animation.
[0156] In some embodiments, the above-mentioned preset animation manager may include a property animation manager, an acceleration and deceleration interpolator, etc. The above-mentioned preset drawing method may be the onDraw method. For example, assuming that the scaling ratio is 2 times of magnification, and the preset animation duration is 300 milliseconds, the corresponding animation scaling frequency is to magnify by 2 times every 300 milliseconds, and then redraw the image to be processed to the playback control through the onDraw method at this animation scaling frequency, so as to realize the 2-fold display of the image to be processed in the menu interface in the form of a magnification animation.
[0157] When the target playback mode is the scaling mode and the previous target playback mode is the dynamic picture playback mode, since the background of the playback control is opaque at this time and the dynamic display needs to be shown in the menu interface, there is no need to perform background transformation on the playback control. At this time, the image corresponding to the scaling in the scaling mode is the frame image currently played by the image to be processed, that is, only the frame image currently played by the image to be processed is displayed with a scaling animation. It should be noted that the process of displaying the scaling animation for the frame image currently played by the image to be processed can refer to the operation in the static picture playback mode, which will not be elaborated here.
[0158] It should also be noted that since the scaling animation is displayed for the frame image currently played by the image to be processed, the dynamic display of the image to be processed will be interrupted at this time, that is, the image to be processed will not be played dynamically at this time.
[0159] In some embodiments, the slide show mode is a mode for automatically playing multiple pictures and can display different special effects during the playback process. The above-mentioned slide show mode may include a no-theme playback mode, a fade-out playback mode, and a multi-theme playback mode. Among them, the no-theme playback mode is to continuously play multiple pictures; the fade-out playback mode is to play multiple pictures according to the fade-out effect; the multi-theme playback mode is to continuously play multiple pictures according to different theme animation effects. The above-mentioned theme animation effects include entrance animations (such as flying in, wiping, etc.), path animations (such as straight path animations, curved path animations, etc.), and exit animations (such as flying out, wiping, etc.).
[0160] It should be noted that since the no-theme playback mode does not involve complex dynamic effects, it can be directly displayed through the video interface; while the fade-out playback mode and the multi-theme playback mode involve different animation effects, in order to improve the playback fluency, they can be displayed in the menu interface.
[0161] In some embodiments, when the above-mentioned image to be processed includes multiple images to be displayed, and the controller is configured to call the playback control to display the above-mentioned image to be processed in the above-mentioned user interface according to the above-mentioned target playback mode:
[0162] When the above target playback mode is the above theme-free playback mode, the above multiple pictures to be displayed are sent to the above video interface at a preset time interval, and the background of the above playback control is set to be transparent, so that the above multiple pictures to be displayed are continuously displayed in the above video interface.
[0163] It should be understood that the above multiple pictures to be displayed can be multiple independent static pictures or multiple frames of images in a dynamic picture.
[0164] Specifically, for the multiple pictures to be displayed in the picture to be processed, they can be decoded sequentially by a decoding module, and then the controller triggers a status monitoring interface at regular intervals through a timer. Through this interface, the interaction component is notified to send the decoded images to the image interface for display in sequence, and the background of the playback control is set to be transparent, so that the multiple pictures to be displayed are continuously displayed in the video interface.
[0165] Optionally, the background of the playback control can be set to be transparent after the first picture to be displayed is displayed, so as to avoid being blocked when the subsequent pictures to be displayed are played.
[0166] For example, a status monitoring interface: Listener.onSlideCompleted() can be declared, and then the interface is triggered at regular intervals through a timer to notify the interaction component (Activity) to continuously send the decoded pictures to be displayed to the Video layer, and after the first picture to be displayed is displayed, the background of the SurfaceView control is set to be transparent until all the pictures to be displayed are displayed.
[0167] In some embodiments, when the picture to be processed includes multiple pictures to be displayed, when the above controller executes to display the above picture to be processed in the above user interface by calling the playback control according to the above target playback mode, it is configured as:
[0168] When the above target playback mode is the above fade-out playback mode, the above pictures to be displayed are drawn to the above playback control in sequence at a preset time interval, and the background of the above playback control is set to be opaque during the drawing process, so that the above playback control displays the above picture to be displayed currently drawn in the above menu interface; wherein, for any picture to be displayed drawn to the above playback control, a fade-out animation effect is implemented through a preset animation manager.
[0169] It should be understood that for multiple images to be displayed in the image to be processed, they can also be decoded sequentially by the decoding module. Then, the controller triggers the status monitoring interface at regular intervals through a timer, and notifies the interaction component through this interface to sequentially draw the decoded images to the playback control, and set the background of the playback control to opaque, so that the playback control displays the currently drawn image to be displayed on the menu interface. Among them, when each image to be displayed is drawn, a preset animation manager (including a property animation manager and an interpolator) is used to perform fade-out refresh on the current image within the set fade-out time. The fade-out refresh process of the preset animation manager can refer to the process of scaling animation display in the above embodiments, which will not be elaborated here.
[0170] Refer to Figure 9 As shown, it is a schematic flowchart of the fade-out playback mode. After the image to be displayed is decoded into a Bitmap, it is judged whether it is the first image to be displayed. If so, the background of the SurfaceView control is set to opaque, and then a fade-out animation is performed through the animation manager and drawn to the SurfaceView control. After the animation ends, the interaction component (Activity) is notified to obtain the next image to be displayed and decode it. After it is judged that the next image to be displayed is not the first image to be displayed, it directly enters the step of performing a fade-out animation through the animation manager and subsequent steps until all images to be displayed are displayed.
[0171] In some embodiments, when the above controller executes to call the playback control to display the above image to be processed in the above user interface according to the above target playback mode, it is configured as:
[0172] In the case where the above target playback mode is the above multi-theme playback mode, the above images to be displayed are sequentially drawn to the above playback control at preset time intervals, and the background of the above playback control is set to opaque during the drawing process, so that the above playback control displays the currently drawn above image to be displayed on the above menu interface; among them, for any image to be displayed drawn to the above playback control, the theme animation effect is realized through the corresponding theme rule.
[0173] It should be understood that for multiple images to be displayed in the image to be processed, they can be decoded sequentially by the decoding module. Then, the controller triggers the status monitoring interface at regular intervals through a timer, and notifies the interaction component through this interface to sequentially draw the decoded images to the playback control, and set the background of the playback control to opaque, so that the playback control displays the currently drawn image to be displayed on the menu interface. Among them, when each image to be displayed is drawn, the corresponding theme rule is obtained, and the theme animation effect corresponding to the theme rule is realized through a preset animation manager and / or an image transformation method. It should be noted that the implementation process of the multi-theme playback mode is similar to the implementation process of the fade-out playback mode, which will not be elaborated here.
[0174] Corresponding to the display method described in the above embodiments, Figure 10 FIG. shows a structural block diagram of a display device provided by an embodiment of the present application. For ease of description, only parts related to the embodiment of the present application are shown.
[0175] Referring to Figure 10 , the device includes: a mode determination module 1010 and a display module 1020. Among them,
[0176] The mode determination module 1010 is configured to determine a target playback mode of a to-be-processed picture in response to a picture display instruction; wherein, the target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode.
[0177] The display module 1020 is configured to call a playback control to display the to-be-processed picture in the user interface according to the target playback mode, wherein the playback control is a single control for managing different playback modes.
[0178] It should be noted that for the information interaction, execution process, etc. between the above-mentioned device / units, since they are based on the same concept as the method embodiment of the present application, for their specific functions and the technical effects brought, reference can be specifically made to the method embodiment part, and details are not described herein again.
[0179] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a controller, the steps in the above-mentioned method embodiments can be implemented.
[0180] An embodiment of the present application provides a computer program product. When the computer program product runs on a display device, it enables the controller to execute the steps in the display method described in the above-mentioned embodiments.
[0181] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-described embodiment methods of the present application, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can at least include: any entity or device capable of carrying the computer program code to the photographing device / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0182] In the above embodiments, the descriptions of the various embodiments have their own emphases. For parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0183] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0184] In the embodiments provided by the present application, it should be understood that the disclosed device / network device and method can be implemented in other ways. For example, the device / network device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0185] The unit described as a separation component may or may not be physically separated. The component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0186] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A display device, characterized in that, Comprising: A display configured to display a user interface; A controller configured to: In response to a picture display instruction, determine a target playback mode for a picture to be processed; wherein, the target playback mode includes one of a static picture playback mode, a dynamic picture playback mode, a zoom mode, and a slide show mode; Call a playback control to display the picture to be processed in the user interface according to the target playback mode, wherein the playback control is a single control for managing different playback modes.
2. The display device according to claim 1, wherein When the controller executes to determine the target playback mode of the picture to be processed, it is configured to: Parse the picture display instruction to obtain picture display parameters corresponding to the picture to be processed; Determine the target playback mode from the playback modes managed by the playback control according to the picture display parameters.
3. The display device according to claim 2, wherein The user interface includes a video interface. When the controller executes to call the playback control to display the picture to be processed in the user interface according to the target playback mode, it is configured to: In the case where the target playback mode is the static picture playback mode, call a decoding module to decode the picture to be processed to obtain a static decoded image; In the case where the controller has an interface corresponding to the static picture playback mode, call the interface corresponding to the static picture playback mode to send the static decoded image to the video interface, and set the background of the playback control to be transparent so that the static decoded image is displayed in the video interface; In the case where the controller does not have an interface corresponding to the static picture playback mode, transform the static decoded image to a default size by a preset image transformation method, and send the transformed decoded image to the video interface, and set the background of the playback control to be transparent so that the static decoded image is displayed in the video interface.
4. The display device according to claim 3, characterized in that, In the case where the static decoded image is displayed in the video interface, the controller is further configured to: Receive a picture rotation instruction; In the case where the controller has an interface corresponding to the picture rotation instruction, call the interface corresponding to the picture rotation instruction to rotate the static decoded image displayed in the video interface; In the case where the controller does not have an interface corresponding to the picture rotation instruction, rotate the static decoded image displayed in the video interface by the preset image transformation method.
5. The display device according to claim 1, wherein The user interface includes a menu interface. When the controller executes to call the playback control to display the picture to be processed in the user interface according to the target playback mode, it is configured to: In the case where the target playback mode is the dynamic picture playback mode, call a decoding module to decode the picture to be processed to obtain a dynamic decoded image; Draw the dynamic decoded image to the playback control at a preset frame playback interval, and set the background of the playback control to be opaque during the drawing process so that the playback control displays the dynamic decoded image in the menu interface.
6. The display device according to claim 5, wherein The controller, when configured to draw the dynamically decoded image to the playback control according to a preset frame playback interval and set the background of the playback control to be opaque during the drawing process, is configured to: Obtain frame images corresponding to the dynamically decoded image frame by frame; For the obtained i-th frame image, perform image transformation on the frame image by a preset image transformation method; where i is a natural number greater than 0; Draw the i-th frame image after image transformation to the playback control; When the i-th frame image is the first frame image, set the background of the playback control to be opaque and determine the delay time of the i-th frame image according to the preset frame playback interval; When the i-th frame image is not the first frame image, determine the delay time of the i-th frame image according to the preset frame playback interval; When the delay time arrives, return to the step of obtaining the frame images corresponding to the dynamically decoded image frame by frame until all the frame images corresponding to the dynamically decoded image are obtained.
7. The display device according to claim 5 or 6, characterized in that, The controller, when configured to call the playback control to display the image to be processed in the user interface according to the target playback mode, is configured to: When the target playback mode is the zoom mode and the previous target playback mode is the static image playback mode, set the background of the playback control to be opaque and draw the image to be processed to the playback control at a preset animation zoom frequency, so that the playback control zooms and displays the image to be processed in the menu interface; When the target playback mode is the zoom mode and the previous target playback mode is the dynamic image playback mode, draw the frame image currently played of the image to be processed to the playback control at the preset animation zoom frequency, so that the playback control zooms and displays the frame image currently played of the image to be processed in the menu interface.
8. The display device according to claim 1, characterized in that The user interface includes a video interface, the image to be processed includes multiple images to be displayed, the slide show mode includes a non-themed play mode, and the controller, when configured to call the playback control to display the image to be processed in the user interface according to the target playback mode, is configured to: When the target playback mode is the non-themed play mode, send the multiple images to be displayed to the video interface at a preset time interval and set the background of the playback control to be transparent, so that the multiple images to be displayed are continuously displayed in the video interface.
9. The display device according to claim 1, characterized in that, The user interface includes a menu interface, the image to be processed includes multiple images to be displayed, the slide show mode includes a fade-out play mode, and the controller, when configured to call the playback control to display the image to be processed in the user interface according to the target playback mode, is configured to: When the target playback mode is the fade-out playback mode, the to-be-displayed pictures are sequentially drawn onto the playback control at preset time intervals, and the background of the playback control is set to be opaque during the drawing process, so that the playback control displays the currently drawn to-be-displayed image on the menu interface; wherein, for any to-be-displayed picture drawn onto the playback control, a fade-out animation effect is realized through a preset animation manager.
10. The display device according to claim 1, wherein The user interface includes a menu interface, the to-be-processed pictures include multiple to-be-displayed pictures, the slide show mode includes a multi-theme show mode, and when the controller is configured to call the playback control to display the to-be-processed pictures in the user interface according to the target playback mode, it is configured as follows: When the target playback mode is the multi-theme show mode, the to-be-displayed pictures are sequentially drawn onto the playback control at preset time intervals, and the background of the playback control is set to be opaque during the drawing process, so that the playback control displays the currently drawn to-be-displayed image on the menu interface; wherein, for any to-be-displayed picture drawn onto the playback control, a theme animation effect is realized through the corresponding theme rule.