CN112597110A - Display device and file display method - Google Patents

Display device and file display method Download PDF

Info

Publication number
CN112597110A
CN112597110A CN202011501564.5A CN202011501564A CN112597110A CN 112597110 A CN112597110 A CN 112597110A CN 202011501564 A CN202011501564 A CN 202011501564A CN 112597110 A CN112597110 A CN 112597110A
Authority
CN
China
Prior art keywords
file
thumbnail
display
list
folder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011501564.5A
Other languages
Chinese (zh)
Other versions
CN112597110B (en
Inventor
邵肖明
刘科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202011501564.5A priority Critical patent/CN112597110B/en
Publication of CN112597110A publication Critical patent/CN112597110A/en
Priority to PCT/CN2021/119627 priority patent/WO2022127254A1/en
Application granted granted Critical
Publication of CN112597110B publication Critical patent/CN112597110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

According to the display device and the file display method, the display device comprises a display and a controller, and the controller configures a thumbnail list for each folder in advance. When a user selects a folder, the controller sequentially traverses the thumbnail list, if the thumbnail list records thumbnails of files, the display is controlled to display the thumbnails at the file display positions, and if the thumbnail list does not record thumbnails of the files, the display is controlled to display preset icons at the file display positions. Therefore, by the display equipment shown in the embodiment of the application, if the thumbnail of the file to be displayed is stored in advance, the controller can directly control the display to call the thumbnail, so that the loading speed of the file is increased, further, the thumbnail is convenient for a user to identify the needed picture and film resources, and the user experience is good.

Description

Display device and file display method
Technical Field
The present application relates to the field of document display technologies, and in particular, to a display device and a document display method.
Background
The display of various types of files by display devices is receiving wide attention from users. In general, a display device may be a TV (television), a VR (Virtual Reality) device, a mobile terminal, or the like; the files displayed by the display device can be audio, video, pictures, word and other files. The display device is internally provided with some memory capacity for storing local files, so that the display device can display the locally stored files anytime and anywhere.
When a file is displayed on a display device, if only the file type and name are displayed, a lot of inconvenience is brought to a user. Especially for a file of a picture type, if only the name of the file is displayed, it cannot help the user to recognize the contents of each picture.
The display device may present the picture-type file in the form of a picture. There are generally two implementations of displaying the picture type file in the form of a picture: one is to display the original image after reducing, and the method can occupy a large amount of memory resources; the other mode is that a thumbnail is generated from the pictures contained in the folder opened by the user, and the thumbnail is displayed, but the generation of the thumbnail consumes a certain time, which affects the display efficiency and causes poor user experience.
Disclosure of Invention
In order to solve technical problems in the prior art, embodiments of the present application illustrate a display device and a file display method.
A first aspect of embodiments of the present application shows a display device, including:
a display;
a controller configured to: responding to the selection of a user on a folder, determining that a thumbnail of a thumbnail list recording file, and controlling the display to display the thumbnail at the file display position;
if the thumbnail of the file is determined not to be recorded in the thumbnail list, controlling the display to display a preset icon at the file display position;
the file folders comprise at least one file, each file folder is provided with a thumbnail list, and the thumbnail list is used for storing thumbnails of part or all of the files.
The display device shown in the embodiment of the application comprises a display and a controller, wherein the controller configures a thumbnail list for each folder in advance. When a user selects a folder, the controller sequentially traverses the thumbnail list, if the thumbnail list records thumbnails of files, the display is controlled to display the thumbnails at the file display positions, and if the thumbnail list does not record thumbnails of the files, the display is controlled to display preset icons at the file display positions. Therefore, by the display equipment shown in the embodiment of the application, if the thumbnail of the file to be displayed is stored in advance, the controller can directly control the display to call the thumbnail, so that the loading speed of the file is increased, further, the thumbnail is convenient for a user to identify the needed picture and film resources, and the user experience is good.
A second aspect of the embodiments of the present application shows a file display method, including:
responding to the selection of a user on a folder, determining that a thumbnail of a thumbnail list recording file, and controlling the display to display the thumbnail at the file display position;
if the thumbnail of the file is determined not to be recorded in the thumbnail list, controlling the display to display a preset icon at the file display position;
the file folders comprise at least one file, each file folder is provided with a thumbnail list, and the thumbnail list is used for storing thumbnails of part or all of the files.
According to the file display method, a thumbnail list is configured for each folder in advance. When a user selects a folder, the controller sequentially traverses the thumbnail list, if the thumbnail list records thumbnails of files, the display is controlled to display the thumbnails at the file display positions, and if the thumbnail list does not record thumbnails of the files, the display is controlled to display preset icons at the file display positions. According to the file display method, if the thumbnail of the file to be displayed is stored in advance, the display can be directly controlled to call the thumbnail, so that the file loading speed is increased, further, the thumbnail is convenient for a user to identify needed pictures and film resources, and the user experience is good.
Drawings
In order to more clearly illustrate the embodiments of the present application or the implementation manner in the related art, a brief description will be given below of the drawings required for the description of the embodiments or the related art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
FIG. 5 is a block diagram illustrating a display device according to one possible embodiment;
FIG. 6 is a flow chart illustrating the interaction of a display with a controller according to one possible embodiment;
FIG. 7 is a schematic diagram illustrating a display displaying downloaded folders according to one possible embodiment;
FIG. 8 is a flow diagram illustrating traversal of a list of thumbnails corresponding to user-selected folders in accordance with a possible embodiment;
FIG. 9 is a schematic diagram of a display presentation interface shown in accordance with one possible embodiment;
FIG. 10 is a schematic diagram illustrating a variation of a display presentation interface, according to one possible embodiment;
FIG. 11 is a flow chart illustrating the interaction of a display with a controller according to one possible embodiment;
FIG. 12 is a schematic diagram of a display presentation interface shown in accordance with one possible embodiment;
FIG. 13A is a flowchart illustrating a document presentation process in accordance with one possible embodiment;
FIG. 13B is a flowchart illustrating a document presentation process in accordance with one possible embodiment;
FIG. 14 is a schematic diagram illustrating a variation of a display presentation interface, according to one possible embodiment;
FIG. 15 is a flow chart illustrating the interaction of a display with a controller according to one possible embodiment;
FIG. 16 is a flowchart illustrating a document presentation process in accordance with a possible embodiment;
FIG. 17 is a schematic diagram illustrating a variation of a display presentation interface, according to one possible embodiment.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.
In some embodiments, the smart device 300 may include any of a mobile terminal, a tablet, a computer, a laptop, an AR/VR device, and the like.
In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the smart device 300 and the display device may also be used for communication of data.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice instruction control of the user may be directly received by a module configured inside the display device 200 to obtain a voice instruction, or may be received by a voice control apparatus provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.
Fig. 3 shows a hardware configuration block diagram of the display apparatus 200 according to an exemplary embodiment.
In some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, a user interface.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 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.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to an icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In some embodiments, a system of a display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
Referring to fig. 4, in some embodiments, the system is divided into four layers, which are an Application (Applications) layer (abbreviated as "Application layer"), an Application Framework (Application Framework) layer (abbreviated as "Framework layer"), an Android runtime (Android runtime) and system library layer (abbreviated as "system runtime library layer"), and a kernel layer from top to bottom.
In some embodiments, at least one application program runs in the application program layer, and the application programs may be windows (windows) programs carried by an operating system, system setting programs, clock programs or the like; or an application developed by a third party developer. In particular implementations, the application packages in the application layer are not limited to the above examples.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that decides to let the applications in the application layer act. The application program can access the resources in the system and obtain the services of the system in execution through the API interface.
As shown in fig. 4, in the embodiment of the present application, the application framework layer includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an Activity Manager (Activity Manager) is used for interacting with all activities running in the system; the Location Manager (Location Manager) is used for providing the system service or application with the access of the system Location service; a Package Manager (Package Manager) for retrieving various information related to an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.
In some embodiments, the activity manager is used to manage the lifecycle of the various applications as well as general navigational fallback functions, such as controlling exit, opening, fallback, etc. of the applications. The window manager is used for managing all window programs, such as obtaining the size of a display screen, judging whether a status bar exists, locking the screen, intercepting the screen, controlling the change of the display window (for example, reducing the display window, displaying a shake, displaying a distortion deformation, and the like), and the like.
In some embodiments, the system runtime layer provides support for the upper layer, i.e., the framework layer, and when the framework layer is used, the android operating system runs the C/C + + library included in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the core layer includes at least one of the following drivers: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
The display device may present the picture-type file in the form of a picture. There are generally two implementations of displaying the picture type file in the form of a picture: one is to display the original image after reducing, and the method can occupy a large amount of memory resources; the other mode is that a thumbnail is generated from the pictures contained in the folder opened by the user, and the thumbnail is displayed, but the generation of the thumbnail consumes a certain time, which affects the display efficiency and causes poor user experience.
In order to solve the problems in the prior art, in an embodiment of the present application, specifically, referring to fig. 5, fig. 5 is a block diagram illustrating a structure of a display device according to a feasible embodiment, where the display device includes at least a display 2 and a controller 1, where the controller is internally provided with a memory 11 and a processor 12, and the memory 11 is used for storing a file downloaded by the display device. The user can place some files in the same folder according to the requirement. A processor for executing operating system and application program instructions or threads stored in memory. And according to the received user input instruction, processing of various application programs, data and contents is executed so as to finally display and play various audio-video contents. In the solution shown in this embodiment, the processor may call the thumbnail constructing thread 121, the file managing thread 122, and the presentation layer 123 in the system framework. The interaction flow chart of the display and the controller can be seen in fig. 6.
The display executes step S101 to display the downloaded folder; the file folders comprise at least one file, each file folder is provided with a thumbnail list, and the thumbnail list is used for storing thumbnails of part or all of the files.
To facilitate searching for files, a user usually configures a plurality of folders, and fig. 7 is a schematic diagram illustrating an interface when a display displays downloaded folders according to a possible embodiment. It can be seen from the figure that the display can show a plurality of folders simultaneously.
The user can cluster some files in the same folder according to the requirement. For example, people-related pictures may be clustered in a people folder, and mountain-and-water-related pictures may be clustered in a mountain-and-water folder. The embodiment of the application does not limit the clustering mode of the files, and in the process of practical application, a user can configure the folders according to requirements.
The user executes step S102 to select the folder;
the embodiment is not limited to the implementation manner of selecting the folder by the user.
For example, fig. 7 illustrates an embodiment, a focus is configured on the presentation interface, the focus is configured to be moved by control, and a user can control the movement of the focus through a remote controller to complete the selection of the folder.
As another example, in one possible embodiment, the controller may be equipped with voice assistant software, and the user may complete the selection of the folder via voice commands.
In the actual application process, the implementation manner of the user selecting the folder may be, but is not limited to, the above two manners.
In response to the selection of the folder by the user, the controller is configured to execute step S103 to sequentially traverse the thumbnail list corresponding to the folder selected by the user;
the application does not limit the sequence of the controller traversing the thumbnail list;
for example, in a feasible embodiment, the files in the folders are arranged in descending order according to the names of the files, in which case the controller may sequentially traverse the thumbnail list corresponding to the folder selected by the user according to the order of the file names, and determine whether the thumbnail matching the file is recorded in the thumbnail list.
For example, in a possible embodiment, the total of 8 file scores in the folder are: file 1, file 2, file 3, file 4, file 5, file 6, file 7, and file 8; the result of arranging 8 files in the folder according to the names of the files in descending order can be seen in table 1;
TABLE 1
Figure BDA0002843639980000071
The controller firstly judges whether the thumbnail matched with the file 1 is recorded in the thumbnail list; then, it is determined whether or not the thumbnail … … matching the file 2 is recorded in the thumbnail list, and it is determined whether or not the thumbnail matching the file 8 is recorded in the thumbnail list.
For another example, in a feasible embodiment, the files in the folder are arranged in a descending order according to the modification time of the files, in which case the controller may sequentially traverse the thumbnail list corresponding to the folder selected by the user according to the order of the modification time, and determine whether the thumbnail matching the file is recorded in the thumbnail list.
In practical applications, the order of the controller traversing the thumbnail list may be, but is not limited to, the above two ways, and applicant does not make much limitation herein.
FIG. 8 is a flow diagram illustrating traversal of a list of thumbnails corresponding to user-selected folders in accordance with a possible embodiment;
the controller performs step S11 to traverse the thumbnail list;
the sequence of traversing the thumbnail list can be referred to the above implementation and is not described in detail by the applicant herein.
The controller executes step S12 to determine whether a thumbnail of the file is recorded in the thumbnail list;
judging whether the thumbnail of the file is recorded in the thumbnail list or not;
for example, in one possible embodiment, a file and a thumbnail of the file may be configured with a corresponding identifier. The controller searches for a thumbnail matched with the identifier in the thumbnail list based on the identifier of the file;
for example, in a feasible embodiment, 4 thumbnails are recorded in the thumbnail list, which are respectively: thumbnail 1, thumbnail 2, thumbnail 3, thumbnail 4, and the specific thumbnail list can refer to table 2;
TABLE 2
Serial number File name Identification Remarks for note
1 Thumbnail 1 Identification 1
2 Thumbnail 2 Identification 2
3 Thumbnail 3 Identification 3
4 Thumbnail 4 Sign 4
The controller passes through the table 2 based on the identifier (identifier 1) of the file 1, and determines that the thumbnail of the file 1 is recorded in the table 2; then, the controller traverses table 2 based on the identifier (identifier 2) of file 2 to determine that thumbnail images with file 2 are recorded in table 2 … … the controller traverses table 2 based on the identifier (identifier 5) of file 5 to determine that thumbnail images with file 2 are not recorded in table 2.
For another example, in order to reduce the amount of data stored in the thumbnail list, in a feasible embodiment, the file name may be used as an identifier, and the specific thumbnail list may refer to table 3;
TABLE 3
Serial number File name Remarks for note
1 Document 1.png
2 Document 2.png
3 File 3.png
4 Document 4.png
For another example, in some feasible embodiments, the thumbnail list and the file may be stored in the same folder, in which case the thumbnail and the file are not allowed to use the same name, and based on this application, a naming manner of the thumbnail is shown, where the particular naming manner is that the name of the thumbnail is the storage address of the file + the name of the file, and the particular thumbnail list may be referred to
Table 4;
serial number File name Remarks for note
1 Photo _ person _ file 1.png. bmp
2 Photo _ person _ file 2.png. bmp
3 Photo _ person _ file 3.png. bmp
4 Photo _ person _ file 4.png. bmp
The advantages brought by the above nomenclature are described in detail in the schemes hereinafter.
In the practical application process, the implementation manner of determining whether to record the thumbnail of the file in the thumbnail list may be, but is not limited to, the above several manners, and the applicant does not make much limitation herein.
If the thumbnail of the file is recorded in the thumbnail list, the controller performs the step S13 to control the display to show the thumbnail at the file display position, and the controller continues to perform the step S11.
The file display position is determined by the icon size set by the user and the size of the display interface. FIG. 9 is a schematic diagram of a display presentation interface according to one possible embodiment. In the embodiment shown in fig. 9, the user-set icon is displayed in the form of an oversized icon, at this time, 8 icons may be simultaneously displayed on the display interface of the display, and the display interface is divided into 4 × 2 areas, where each area is a display position of one file. Area a in fig. 9 is a display area of document 1.
If the thumbnail of the file is not recorded in the thumbnail list, the controller performs the step S14 to control the display to show the preset icon at the file display position, and the controller continues to perform the step S11.
The scheme shown in the embodiment of the present application does not limit the style of the preset icon.
The icons shown in the folders 4, 5, 7, and 8 in fig. 9 are merely exemplary styles for showing one preset icon, and the style of the preset icon in the process of practical application may be, but is not limited to, the style shown in fig. 9.
If the thumbnail list records thumbnails of the files, the controller is configured to perform step S104 of controlling the display to show the thumbnails at the file display positions;
if the thumbnail list does not record the thumbnail of the file, the controller is configured to perform step S105 of controlling the display to show a preset icon at the file display position;
the following describes in detail the operation process of the display device shown in this embodiment with reference to specific examples.
In a feasible embodiment, the user selects folder 1, where folder 1 contains 8 files, namely file 1, file 2, file 3, file 4, file 5, file 6, file 7, and file 8; the thumbnail list corresponding to the folder 1 is the thumbnail list 1. In response to the user selecting the folder 1, the controller traverses the thumbnail list 1 based on the name of the file 1, determines that the thumbnail of the file 1 is recorded in the thumbnail list 1, and controls the display to display the thumbnail of the file 1, at this time, the display interface of the display can refer to the interface 11 in fig. 10; then, the controller traverses the thumbnail list 1 based on the name of the file 2, determines that the thumbnail of the file 2 is recorded in the thumbnail list 1, and controls the display to display the thumbnail of the file 2, at this time, the display interface of the display can refer to the interface 12 in fig. 10; then, the controller traverses the thumbnail list 1 based on the name of the file 3, determines that the thumbnail of the file 3 is not recorded in the thumbnail list 1, the controller controls the display to display a preset icon, at this time, the display interface of the display may refer to an interface 13 … … in fig. 10, the controller traverses the thumbnail list 1 based on the name of the file 8, determines that the thumbnail of the file 8 is not recorded in the thumbnail list 1, and the controller controls the display to display the preset icon, at this time, the display interface of the display may refer to an interface 14 in fig. 10.
This completes the description of the present embodiment.
The original purpose of the technical scheme design that this implementation provided is when waiting to show the file for the media file, can show this file with the form of thumbnail to play the effect of suggestion to the user. If the type of the file is a non-media asset type, the controller continues to traverse the thumbnail list, which is definitely a waste of computing resources of the controller.
The embodiment of the application shows a display device, and a structural block diagram of the display device may refer to fig. 5, wherein an interaction flowchart of a display and a controller in the display device may refer to fig. 11.
The display executes step S201 to display the downloaded folder;
the display manner of the downloaded folder can refer to the above embodiments, and is not described herein.
The user executes step S202 to select the folder;
the implementation manner of selecting the folder by the user can refer to the above embodiments, and details are not described here.
In response to the selection of the folder by the user, the controller is configured to execute step S203 to sequentially read the file types of the files stored in the folder;
there are various ways to read the file type of the file;
for example, in a possible embodiment, the file type may be read by a suffix of the file name. For example, the file name of the file is "20201126-1. JPG", and the file type can be determined as a picture; the file name of the file is '20201126-2. PNG', and the file type can be determined to be a picture; the file name of the file is '20201126-3. AVI', and the file type can be determined as video; the file has a file name of "20201126-4. MOV," and the file type can be determined to be video.
If the file type is not the media asset type, controlling to execute step S204 to control the display to display a preset icon at the file display position;
the media asset types shown in the embodiment of the application comprise pictures and videos.
The displaying manner of the preset icon may refer to the above embodiments, and is not described herein.
In some feasible embodiments, in order to improve the experience of the user, the file type icon corresponding to each file type is designed in advance, and the user can know the type of the file through the file type icon displayed on the display, so that the experience of the user is improved.
FIG. 12 is a schematic diagram of a display presentation interface according to one possible embodiment. As can be seen from the figure, the files 1, 2, 3 and 6 are shown in the form of thumbnails. The files 4, 5, 7, and 8 are shown as file type icons. The user can see from the illustration of fig. 12 that file 4 is an audio type file, file 5 is an audio type file, file 7 is an audio type file, and file 8 is an installation package type file.
According to the technical scheme, when the controller determines that the file type is not the media asset type, the display is controlled to display the file type icon at the file display position, and a user can know the type of the file through the file type icon displayed by the display, so that the experience of the user is improved.
If the file type is the media asset type, controlling to execute step S205 to traverse the thumbnail list of the folder;
the implementation of traversing the thumbnail list of the folder can refer to the above embodiments, and details are not repeated here.
If the thumbnail list records thumbnails of files, the controller is configured to perform step S206 of controlling the display to show thumbnails at file display positions;
if the thumbnail list does not record the thumbnail of the file, the controller is configured to execute step S207 of controlling the display to display the asset icon at the file display position;
in this embodiment, the media asset icon is a picture icon or a video icon.
In a possible embodiment, the media asset icon is different from the file type icon. In the subsequent process, the technical scheme shown in the embodiment of the application constructs the thumbnail for the media asset files without the thumbnail, but does not process the non-media asset files. Therefore, in the scheme shown in the embodiment of the application, the media asset icon is designed to be different from the file type icon, so that a certain prompting effect can be provided for the user, and the user is prompted as to which files may have thumbnails in the subsequent process.
The media assets involved in this embodiment may include pictures and/or videos, and fig. 13A is a flowchart illustrating a file presentation process according to one possible embodiment;
the controller performs step S21 to read the file type;
the controller performs step S22 to determine whether the file type is a picture;
if the file type is a picture, the controller performs the step S231 of determining whether the thumbnail of the file is recorded in the thumbnail list
If the thumbnail of the file is recorded in the thumbnail list, the controller performs step S241 to control the display to display the thumbnail at the file display position, and the controller continues to perform step S21;
if the thumbnail of the file is not recorded in the thumbnail list, the controller performs step S242 to control the display to display the asset icon at the file display position, and the controller continues to perform step S21;
if the file type is not a picture, the controller executes step S232 to determine whether the file type is a video;
if the file type is not a video, the controller performs a step S251 to control the display to show a file type icon;
if the file type is video, the controller executes step S252 to determine whether a thumbnail of the file is recorded in the thumbnail list;
if the thumbnail of the file is not recorded in the thumbnail list, the controller performs step S261 to control the display to display the asset icon at the file display position, and the controller continues to perform step S21;
if the thumbnail of the file is recorded in the thumbnail list, the controller performs step S262 to control the display to display the thumbnail at the file display position, and the controller continues to perform step S21;
FIG. 13B is a flowchart illustrating a document presentation process in accordance with one possible embodiment;
the controller performs step S31 to read the file type;
the controller performs step S32 to determine whether the file type is a video;
if the file type is video, the controller performs step S331 of determining whether or not a thumbnail of the file is recorded in the thumbnail list
If the thumbnail of the file is recorded in the thumbnail list, the controller performs step S341 to control the display to display the thumbnail at the file display position, and the controller continues to perform step S31;
if the thumbnail of the file is not recorded in the thumbnail list, the controller performs step S342 to control the display to display the asset icon at the file display position, and the controller continues to perform step S31;
if the file type is not a video, the controller performs step S332 to determine whether the file type is a picture;
if the file type is not a picture, the controller performs step S351 of controlling the display to show a file type icon;
if the file type is a picture, the controller performs step S352 to determine whether a thumbnail of the file is recorded in the thumbnail list;
if the thumbnail of the file is not recorded in the thumbnail list, the controller performs step S361 to control the display to display the asset icon at the file display position, and the controller continues to perform step S31;
if the thumbnail of the file is recorded in the thumbnail list, the controller performs step S362 to control the display to display the thumbnail at the file display position, and the controller continues to perform step S31;
the following describes in detail the operation process of the display device shown in this embodiment with reference to specific examples.
In a possible embodiment, the user selects folder 2, where folder 2 contains 8 files, file 1, file 2, file 3, file 4, file 5, file 6, file 7, and file 8; the thumbnail list corresponding to the folder 2 is the thumbnail list 2. In response to the selection of the user on the folder 2, the controller reads the suffix of the name of the file 1, and judges that the file 1 is a picture according to the suffix of the name of the file 1; the controller traverses the thumbnail list 2 based on the name of the file 1, determines that the thumbnail list 2 records the thumbnail of the file 1, and controls the display to display the thumbnail of the file 1, at this time, the display interface of the display can refer to the interface 21 in fig. 14. Then, the controller reads the suffix of the name of the file 2, determines that the file 2 is an audio type file according to the suffix of the name of the file 2, and controls the display to display an audio type file icon, where the display interface of the display can refer to the interface 22 in fig. 14. Then, the controller reads the suffix of the name of the file 3, and judges that the file 3 is a picture according to the suffix of the name of the file 3; the controller traverses the thumbnail list 2 based on the name of the file 3, determines that the thumbnail of the file 3 is not recorded in the thumbnail list 2, controls a picture icon of the display, and at the moment, the display interface of the display can refer to an interface 23 … … in figure 14, the controller reads the suffix of the name of the file 8, judges that the file 8 is not a picture according to the suffix of the name of the file 8, and continues to judge that the file 8 is a video according to the suffix of the name of the file 8; the controller traverses the thumbnail list 2 based on the name of the file 1, determines that the thumbnail of the file 8 is recorded in the thumbnail list 2, and controls the display to display the thumbnail of the file 8, wherein the display interface of the display can refer to the interface 24 in fig. 14.
This completes the description of the present embodiment.
The original purpose of the technical scheme design that this implementation provided is when waiting to show the file for the media file, can show this file with the form of thumbnail to play the effect of suggestion to the user. In order to further improve the experience of the user, in the technical scheme shown in this embodiment, a thumbnail generation thread is arranged in the controller, and the thumbnail thread is used for constructing a thumbnail of the current file when a thumbnail representation of the current file does not exist in the thumbnail list, so as to ensure that the files of the media asset type can be displayed in the form of the thumbnail, and further improve the experience of the user.
The embodiment of the application shows a display device, and a structural block diagram of the display device may refer to fig. 5, wherein an interaction flowchart of a display and a controller in the display device may refer to fig. 15.
In response to the selection of the folder by the user, the file management thread is configured to execute step S301 to sequentially read the file types of the files stored in the folder;
according to the technical scheme, the file management thread determines the file type according to the name of the file. The implementation manner of reading the file type may refer to the above embodiments, which are not described herein.
If the file type is the asset type, the file management thread is configured to execute step S302 to traverse the thumbnail list of the folder;
the implementation of traversing the thumbnail list may refer to the above embodiments and is not described herein again.
If the thumbnail list does not record the thumbnail of the file, the file management thread is configured to execute step S3031 to call the thumbnail generation thread;
in the technical solution shown in the embodiment of the present application, the file management thread calls the thumbnail generation thread and simultaneously sends the name of the file and the storage address of the file to the thumbnail generation thread.
The thumbnail generation thread is configured to execute step S3041 of building a thumbnail of the file;
the thumbnail generation thread can find the folder where the file is located based on the storage location of the file, and then find the file of the thumbnail to be constructed based on the name of the file.
The implementation of building a thumbnail may employ a thumbnail building approach that is conventional in the art, such as building a thumbnail by the following steps. (1) The source image (file) is loaded into a PHP (Hypertext Preprocessor) variable. (2) The height and width of the source image are determined. (3) A blank thumbnail image of the correct size is created. (4) Copying the original image to a blank thumbnail. (5) The thumbnail is displayed with the correct content type.
The embodiment merely describes an exemplary method for constructing a thumbnail, and the thumbnail may be constructed in a manner of, but not limited to, the above manner in the process of actual application.
In this embodiment, the name of the thumbnail is storage address + file name, and the storage address is the storage address of the file corresponding to the thumbnail. The file name is the name of the file corresponding to the thumbnail. The correspondence between the file and the thumbnail can be constructed by the file name. It is also implemented based on the file name in the process of traversing the thumbnail list.
In response to completing the construction of the thumbnail, the thumbnail generation thread is configured to perform step S3051 to send an update message to the presentation layer;
in this embodiment, the storage address of the thumbnail and the name of the thumbnail are encapsulated in the update message.
The display layer executes step S3061 to draw the thumbnail based on the data stored in the thumbnail storage address carried by the update message, and the content displayed by the display is converted into the thumbnail by the media asset icon.
The display layer draws the thumbnail based on the data stored in the thumbnail storage address carried by the update message, and the implementation mode for drawing the thumbnail data can adopt an image drawing mode which is commonly used in the field.
The display layer executes step S3071 to control the display to display the thumbnail;
the display layer finds the media asset pictures of the files based on the thumbnail names carried by the updating messages, and then controls the display to cancel the thumbnails built by the media asset icon display.
If the thumbnail of the file is not recorded in the thumbnail list, the file management thread S3032 sends a preset icon address to the display layer;
in the scheme shown in the embodiment of the application, the preset icon can be shared by a plurality of folders, so that the display picture can be stored in an independent storage area, and further, when one folder is deleted, the preset icon can still provide services for other folders.
In contrast, the list of preset icons serves one folder. When the folder is deleted, the thumbnail list corresponding to the folder loses meaning. Therefore, the thumbnail list can be stored in the corresponding folder, and specifically, the generated thumbnail is placed under the disk root directory.
The display layer executes step S3042 to draw a preset icon based on the data stored at the preset icon address;
the display layer draws the preset icon based on the data stored in the preset icon address, and the thumbnail data can be drawn by adopting an image drawing mode which is commonly used in the field.
The display layer executes the step S3052 to control the display to display the preset icon;
FIG. 16 is a flowchart illustrating a document presentation process in accordance with a possible embodiment;
the file management thread executes step S41 to read the file type;
the file management thread executes step S42 to determine whether the file type is a picture;
if the file type is a picture, the file management thread executes step S431 to determine whether or not a thumbnail of the file is recorded in the thumbnail list
If the thumbnail of the file is recorded in the thumbnail list, the file management thread executes step S4411 to control the display to display the thumbnail at the file display position, and the file management thread continues to execute step S41;
if the thumbnail of the file is not recorded in the thumbnail list, the file management thread is configured to execute step S4412 to transmit the asset icon address to the presentation layer, and the file management thread continues to execute step S41;
if the thumbnail of the file is not recorded in the thumbnail list, the file management thread is configured to execute step S4413 to call the thumbnail generation thread;
the thumbnail generation thread is configured to execute step S4511 of building a thumbnail of the current file;
the thumbnail generation thread is configured to perform step S4611 to send an update message to the presentation layer;
if the file type is not a picture, the file management thread executes step S432 to determine whether the file type is a video;
if the file type is not video, the file management thread executes step S4421 to send a file type icon address to the presentation layer;
if the file type is video, the file management thread executes step S4422 to determine whether a thumbnail of the file is recorded in the thumbnail list;
if the thumbnail of the file is not recorded in the thumbnail list, the file management thread executes the step S4521 to call the thumbnail generation thread;
the thumbnail generation thread is configured to execute step S4621 to construct a thumbnail of the current file;
the thumbnail generation thread is configured to perform step S4721 of sending an update message to the presentation layer;
if the thumbnail of the file is not recorded in the thumbnail list, the file management thread executes the step S4522 to send the address of the media asset icon to the display layer;
if the thumbnail of the file is recorded in the thumbnail list, the file management thread executes the step S4231 to send the thumbnail address to the display layer, and the file management thread continues to execute the step S41;
optionally, in some feasible embodiments, the thumbnail generation thread is configured to: in response to completing the construction of the thumbnail, the constructed thumbnail is written into the thumbnail list.
The following describes in detail the operation process of the display device shown in this embodiment with reference to specific examples.
In a possible embodiment, the user selects folder 3, where folder 3 contains 8 files, file 1, file 2, file 3, file 4, file 5, file 6, file 7, and file 8; the thumbnail list corresponding to the folder 3 is the thumbnail list 3. In response to the selection of the user on the folder 3, the file management thread reads the suffix of the name of the file 1, and the file 1 is judged to be a picture according to the suffix of the name of the file 1; the file management thread traverses the thumbnail list 3 based on the name of the file 1, determines that the thumbnail of the file 1 is recorded in the thumbnail list 3, and sends a storage address of the thumbnail to the display layer. The display layer displays the drawn thumbnail on the display, and the display interface of the display can refer to the interface 31 in fig. 17. Then, the file management thread reads the suffix of the name of the file 2, and judges that the file 3 is a picture according to the suffix of the name of the file 2; the file management thread traverses the thumbnail list 3 based on the name of the file 2, determines that the thumbnail of the file 3 is not recorded in the thumbnail list 3, and sends the storage address of the picture icon to the display layer. The display layer displays the drawn picture icon on the display, at this time, the display interface of the display can refer to an interface 32 … … in fig. 17, then, the file management thread reads the suffix of the name of the file 8, judges that the file 2 is the installation package type file according to the suffix of the name of the file 2, and sends the storage address of the installation package icon to the display layer. The display layer displays the drawn installation package icon on the display, and the display interface of the display can refer to the interface 33 in fig. 17. When the file management system determines that the thumbnail of the file 3 is not recorded in the thumbnail list 3, the file management thread pulls up the thumbnail construction thread, sends the storage address of the file 2 to the thumbnail construction thread, and searches for the data stored in the storage address of the thumbnail construction thread to construct the thumbnail. And when the thumbnail is constructed, the thumbnail constructing thread sends the storage address of the thumbnail to the display layer. The display layer displays the drawn thumbnail on the display, and the display interface of the display can refer to the interface 34 in fig. 17.
The display device shown in the embodiment of the application comprises a display and a controller, wherein the controller configures a thumbnail list for each folder in advance. When a user selects a folder, the controller sequentially traverses the thumbnail list, if the thumbnail list records thumbnails of files, the display is controlled to display the thumbnails at the file display positions, and if the thumbnail list does not record thumbnails of the files, the display is controlled to display preset icons at the file display positions. Therefore, by the display equipment shown in the embodiment of the application, if the thumbnail of the file to be displayed is stored in advance, the controller can directly control the display to call the thumbnail, so that the loading speed of the file is increased, further, the thumbnail is convenient for a user to identify the needed picture and film resources, and the user experience is good.
This completes the description of the present embodiment.
The embodiment of the application also discloses a file display method, which comprises the following steps:
responding to the selection of a user on a folder, determining that a thumbnail of a thumbnail list recording file, and controlling the display to display the thumbnail at the file display position; the file folders comprise at least one file, each file folder is provided with a thumbnail list, and the thumbnail list is used for storing thumbnails of part or all of the files.
And if the thumbnail of the file is determined not to be recorded in the thumbnail list, controlling the display to display a preset icon at the file display position.
According to the file display method, a thumbnail list is configured for each folder in advance. When a user selects a folder, the controller sequentially traverses the thumbnail list, if the thumbnail list records thumbnails of files, the display is controlled to display the thumbnails at the file display positions, and if the thumbnail list does not record thumbnails of the files, the display is controlled to display preset icons at the file display positions. According to the file display method, if the thumbnail of the file to be displayed is stored in advance, the display can be directly controlled to call the thumbnail, so that the file loading speed is increased, further, the thumbnail is convenient for a user to identify needed pictures and film resources, and the user experience is good.
This completes the description of the present embodiment.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program may include some or all of the steps in each embodiment of the method for customizing a control key and the method for starting the control key provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of software products, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method in the embodiments or some parts of the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application. The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a display;
a controller configured to: responding to the selection of a user on a folder, determining that a thumbnail of a thumbnail list recording file, and controlling the display to display the thumbnail at the file display position;
if the thumbnail of the file is determined not to be recorded in the thumbnail list, controlling the display to display a preset icon at the file display position;
the file folders comprise at least one file, each file folder is provided with a thumbnail list, and the thumbnail list is used for storing thumbnails of part or all of the files.
2. The display device of claim 1, wherein the controller is further configured to:
responding to the selection of a user on the folder, and sequentially reading the file types of the files stored in the folder;
traversing the thumbnail list of the folder if the file type is the media asset type;
and if the file type is not the media asset type, controlling the display to display a file type icon at the file display position, wherein the file type icon is the icon of the file type.
3. The display device according to claim 1 or 2, wherein the controller is configured to execute a file management thread and a thumbnail generation thread;
the file management thread is further configured to:
and if the thumbnail of the file is not recorded in the thumbnail list, calling a thumbnail generation thread so that the thumbnail generation thread constructs the thumbnail of the file.
4. The display device of claim 3, wherein the file management thread is further configured to:
and if the thumbnail of the file is not recorded in the thumbnail list, controlling the display to display a media asset icon, wherein the media asset icon is different from the file type icon.
5. The apparatus according to claim 3, wherein the name of the thumbnail is a storage address of a file to which the thumbnail corresponds.
6. The display device of claim 5, wherein the file management thread is further configured to;
responding to the selection of a user on a folder, and sequentially reading each file address, wherein the file address is a storage address of the file;
traversing the list of thumbnails based on the file address;
if the thumbnail matched with the file address is recorded in the thumbnail list, the thumbnail address is sent to a display layer, so that the display layer draws the thumbnail based on the data stored in the thumbnail address; the thumbnail address is a storage address of the thumbnail matched with the file address;
if the thumbnail matched with the file address is not recorded in the thumbnail list, the preset icon address is sent to a display layer, so that the display layer draws a preset icon based on data stored in the preset icon address; the preset icon address is a storage address of the preset icon.
7. The display device according to claim 6, wherein the thumbnail generation thread is configured to:
in response to completing the construction of the thumbnail, packaging the thumbnail storage address into an update message;
and sending an updating message to a display layer so that the display layer draws a thumbnail based on the data stored in the thumbnail storage address carried by the updating message, and converting the content displayed by the display into the thumbnail by a media asset icon.
8. The display device of claim 7, wherein the thumbnail generation thread is configured to:
in response to completing the construction of the thumbnail, writing the constructed thumbnail into a thumbnail list.
9. The display device according to claim 1, wherein the thumbnail list is stored in a corresponding folder.
10. A file display method is characterized by comprising the following steps:
responding to the selection of a user on a folder, determining that a thumbnail of a thumbnail list recording file, and controlling the display to display the thumbnail at the file display position;
if the thumbnail of the file is determined not to be recorded in the thumbnail list, controlling the display to display a preset icon at the file display position;
the file folders comprise at least one file, each file folder is provided with a thumbnail list, and the thumbnail list is used for storing thumbnails of part or all of the files.
CN202011501564.5A 2020-12-17 2020-12-17 Display equipment and file display method Active CN112597110B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011501564.5A CN112597110B (en) 2020-12-17 2020-12-17 Display equipment and file display method
PCT/CN2021/119627 WO2022127254A1 (en) 2020-12-17 2021-09-22 Display device and file presentation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011501564.5A CN112597110B (en) 2020-12-17 2020-12-17 Display equipment and file display method

Publications (2)

Publication Number Publication Date
CN112597110A true CN112597110A (en) 2021-04-02
CN112597110B CN112597110B (en) 2023-05-09

Family

ID=75199151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011501564.5A Active CN112597110B (en) 2020-12-17 2020-12-17 Display equipment and file display method

Country Status (1)

Country Link
CN (1) CN112597110B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407501A (en) * 2021-06-29 2021-09-17 扬州能煜检测科技有限公司 Image display and processing method, device and equipment for multiple second files
WO2022127254A1 (en) * 2020-12-17 2022-06-23 海信视像科技股份有限公司 Display device and file presentation method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643913A (en) * 2002-04-01 2005-07-20 松下电器产业株式会社 Image reproduction device and image reproduction method
CN101167047A (en) * 2005-04-22 2008-04-23 微软公司 Local thumbnail cache
CN101763230A (en) * 2008-12-24 2010-06-30 三星电子株式会社 Method to change thumbnail and printing control apparatus
CN102722488A (en) * 2011-03-30 2012-10-10 汉王科技股份有限公司 Method and apparatus for displaying electronic files
US20130024869A1 (en) * 2010-02-10 2013-01-24 Zte Corporation Picture loading method and terminal
CN103020076A (en) * 2011-09-23 2013-04-03 深圳市快播科技有限公司 Dynamic preview method and device for player video file
CN103914205A (en) * 2013-01-09 2014-07-09 腾讯科技(深圳)有限公司 File thumbnail display method and device for intelligent terminal
CN105183837A (en) * 2015-09-02 2015-12-23 Tcl移动通信科技(宁波)有限公司 Mobile terminal thumbnail list view display method and system
CN111142764A (en) * 2018-11-05 2020-05-12 京瓷办公信息系统株式会社 Image processing apparatus
US20200159391A1 (en) * 2018-11-16 2020-05-21 Dropbox, Inc. Prefetching digital thumbnails from remote servers to client devices based on a dynamic determination of file display criteria

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643913A (en) * 2002-04-01 2005-07-20 松下电器产业株式会社 Image reproduction device and image reproduction method
CN101167047A (en) * 2005-04-22 2008-04-23 微软公司 Local thumbnail cache
CN101763230A (en) * 2008-12-24 2010-06-30 三星电子株式会社 Method to change thumbnail and printing control apparatus
US20130024869A1 (en) * 2010-02-10 2013-01-24 Zte Corporation Picture loading method and terminal
CN102722488A (en) * 2011-03-30 2012-10-10 汉王科技股份有限公司 Method and apparatus for displaying electronic files
CN103020076A (en) * 2011-09-23 2013-04-03 深圳市快播科技有限公司 Dynamic preview method and device for player video file
CN103914205A (en) * 2013-01-09 2014-07-09 腾讯科技(深圳)有限公司 File thumbnail display method and device for intelligent terminal
CN105183837A (en) * 2015-09-02 2015-12-23 Tcl移动通信科技(宁波)有限公司 Mobile terminal thumbnail list view display method and system
CN111142764A (en) * 2018-11-05 2020-05-12 京瓷办公信息系统株式会社 Image processing apparatus
US20200159391A1 (en) * 2018-11-16 2020-05-21 Dropbox, Inc. Prefetching digital thumbnails from remote servers to client devices based on a dynamic determination of file display criteria

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022127254A1 (en) * 2020-12-17 2022-06-23 海信视像科技股份有限公司 Display device and file presentation method
CN113407501A (en) * 2021-06-29 2021-09-17 扬州能煜检测科技有限公司 Image display and processing method, device and equipment for multiple second files

Also Published As

Publication number Publication date
CN112597110B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN113038160B (en) Display device and audio/video data playing method
CN112667184A (en) Display device
CN112764627B (en) Upgrade package installation progress display method and display device
CN112887753A (en) Display device and channel list display method
CN112597110B (en) Display equipment and file display method
CN112165641A (en) Display device
CN113490042A (en) Display device and channel searching method
CN112601117A (en) Display device and content presentation method
CN112860331B (en) Display equipment and voice interaction prompting method
CN113111214A (en) Display method and display equipment for playing records
CN114077584A (en) File transmission method and display device
CN113556609B (en) Display device and startup picture display method
CN112749033B (en) Display device and system notification calling method
CN112911381B (en) Display device, mode adjustment method, device and medium
CN114116622A (en) Display device and file display method
CN112631796A (en) Display device and file copying progress display method
CN112887804A (en) Display device and channel coding method
CN112601116A (en) Display device and content display method
CN114302101A (en) Display apparatus and data sharing method
CN112668546A (en) Video thumbnail display method and display equipment
CN114942902A (en) Display device and multiplexing method of memory module thereof
CN112584210A (en) Display device, video recording method and recorded file display method
CN111782606A (en) Display device, server, and file management method
CN112579542B (en) Display device and page drawing method
CN113784198B (en) Display device, intelligent device and program recording control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant