CN112597110B - Display equipment and file display method - Google Patents

Display equipment and file display method Download PDF

Info

Publication number
CN112597110B
CN112597110B CN202011501564.5A CN202011501564A CN112597110B CN 112597110 B CN112597110 B CN 112597110B CN 202011501564 A CN202011501564 A CN 202011501564A CN 112597110 B CN112597110 B CN 112597110B
Authority
CN
China
Prior art keywords
file
thumbnail
display
address
list
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.)
Active
Application number
CN202011501564.5A
Other languages
Chinese (zh)
Other versions
CN112597110A (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

The display device and the file display method are shown in the embodiment of the application, wherein 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 the thumbnail of the file, the display is controlled to display the thumbnail at the file display position, and if the thumbnail list does not record the thumbnail of the file, the display is controlled to display a preset icon at the file display position. Therefore, the display device shown in the embodiment of the application can be used, 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 improved, further, the thumbnail is convenient for a user to identify the picture and film resources which are required by the user, and the user experience is good.

Description

Display equipment and file display method
Technical Field
The application relates to the technical field of file display, in particular to display equipment and a file display method.
Background
Display devices are receiving a great deal of attention from users to display various types of files. In general, the 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 may be audio, video, pictures, words, etc. The memory capacity for storing the local files is set in the display device, so that the display device can display the locally stored files anytime and anywhere.
If only the file type and name are displayed when the file is displayed on the display device, a lot of inconvenience is brought to the user. Especially for a file of a picture type, if only the name of the file is displayed, the user cannot be assisted in recognizing each picture content.
The display device may present the file of the picture type in the form of a picture. There are generally two implementations of displaying a picture type file in the form of a picture: one is to reduce the original image and display it, which occupies a lot of memory resources; the other way is to generate a thumbnail from the pictures contained in the folder opened by the user and display the thumbnail, but generating the thumbnail consumes a certain time, affects the display efficiency, and has poor user experience.
Disclosure of Invention
In order to solve the technical problems in the prior art, the embodiment of the application shows a display device and a file display method.
A first aspect of an embodiment 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 a thumbnail list to record the thumbnail of a file, and controlling the display to display the thumbnail at the file display position;
If the thumbnail list is determined not to record the thumbnail of the file, controlling the display to display a preset icon at the file display position;
the folders comprise at least one file, each folder is provided with a thumbnail list, and the thumbnail list is used for storing the 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 is configured with 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 the thumbnail of the file, the display is controlled to display the thumbnail at the file display position, and if the thumbnail list does not record the thumbnail of the file, the display is controlled to display a preset icon at the file display position. Therefore, the display device shown in the embodiment of the application can be used, 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 improved, further, the thumbnail is convenient for a user to identify the picture and film resources which are required by the user, and the user experience is good.
A second aspect of an embodiment of the present application shows a document display method, including:
responding to the selection of a user on a folder, determining a thumbnail list to record the thumbnail of a file, and controlling the display to display the thumbnail at the file display position;
if the thumbnail list is determined not to record the thumbnail of the file, controlling the display to display a preset icon at the file display position;
the folders comprise at least one file, each folder is provided with a thumbnail list, and the thumbnail list is used for storing the 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 the thumbnail of the file, the display is controlled to display the thumbnail at the file display position, and if the thumbnail list does not record the thumbnail of the file, the display is controlled to display a preset icon at the file display position. 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 improved, and further, the thumbnail is convenient for a user to identify the picture and film resources which are needed by the user, and the user experience is good.
Drawings
In order to more clearly illustrate the embodiments of the present application or the implementation in the related art, a brief description will be given below of the drawings required for the embodiments or the related art descriptions, and it is apparent that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings for those of ordinary skill in the art.
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 shows a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in a display device 200 according to some embodiments;
FIG. 5 is a block diagram of a display device according to one possible embodiment;
FIG. 6 is a flow chart illustrating interaction of a display with a controller according to one possible embodiment;
FIG. 7 is a diagram of a display showing an interface when a display displays a downloaded folder according to one possible embodiment;
FIG. 8 is a flow chart illustrating traversing a thumbnail list corresponding to a user-selected folder in accordance with one possible embodiment;
FIG. 9 is a schematic diagram of a display presentation interface shown according to one possible embodiment;
FIG. 10 is a schematic diagram of a variation of a display presentation interface shown according to one possible embodiment;
FIG. 11 is a flow chart illustrating interaction of a display with a controller according to one possible embodiment;
FIG. 12 is a schematic diagram of a display presentation interface shown according to one possible embodiment;
FIG. 13A is a flow chart illustrating a file presentation process according to one possible embodiment;
FIG. 13B is a flow chart illustrating a file presentation process according to one possible embodiment;
FIG. 14 is a schematic diagram of a variation of a display presentation interface shown according to one possible embodiment;
FIG. 15 is a flow chart illustrating interaction of a display with a controller according to one possible embodiment;
FIG. 16 is a flow chart illustrating a file presentation process according to one possible embodiment;
fig. 17 is a schematic diagram showing a variation of the display presentation interface according to one possible embodiment.
Detailed Description
For purposes of clarity and implementation of the present application, the following description will make clear and complete descriptions of exemplary implementations of the present application with reference to the accompanying drawings in which exemplary implementations of the present application are illustrated, it being apparent that the exemplary implementations described are only some, but not all, of the examples of the present application.
It should be noted that the brief description of the terms in the present application is only for convenience in understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms "first," second, "" third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for limiting a particular order or sequence, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," 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 explicitly 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 or/and software code that is capable of performing the function 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 device 200 is also in data communication with a server 400, and a user can operate the display device 200 through the smart device 300 or the control apparatus 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 infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. 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 one of a mobile terminal, tablet, computer, notebook, AR/VR device, etc.
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 running on a 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 perform control in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 device for acquiring voice commands, or the voice command control of the user may be received through a voice control apparatus configured outside the display device 200 device.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be permitted to make communication connections via 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 device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
In some embodiments, software steps performed by one step execution body may migrate on demand to be performed on another step execution body in data communication therewith. For example, software steps executed by the server may migrate to be executed on demand on a display device in data communication therewith, and vice versa.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 in accordance with 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 of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, and function as an interaction between the user and the display device 200.
In some embodiments, the communication interface 130 is configured to communicate with the outside, including 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, keys, or an alternative module.
Fig. 3 shows a hardware configuration block diagram of the display device 200 in accordance with an exemplary embodiment.
In some embodiments, display apparatus 200 includes at least one of a modem 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, 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, RAM, ROM, a first interface for input/output to an nth interface.
In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, for receiving an image signal from the controller output, for displaying video content, image content, and components of a 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 modem 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, or other network communication protocol chip or a near field communication protocol chip, 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 capturing the intensity of ambient light; alternatively, the detector 230 includes an image collector such as a camera, which may be used to collect external environmental scenes, user attributes, or user interaction gestures, or alternatively, the detector 230 includes a sound collector such as a microphone, or the like, 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, or the like. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select 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 operable control. The operations related to the selected object are: operations to connect to a hyperlink page, document, image, etc., or operations to execute a program corresponding to an icon are displayed.
In some embodiments the controller includes at least one of a central processing unit (Central Processing Unit, CPU), video processor, audio processor, graphics processor (Graphics Processing Unit, GPU), RAM Random Access Memory, RAM), ROM (Read-Only Memory, ROM), first to nth interfaces 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 received from the outside, so as to finally display and play various audio and video contents. The CPU processor may include a plurality of processors. Such as one main processor and one or more sub-processors.
In some embodiments, a graphics processor is used to generate various graphical objects, such as: at least one of icons, operation menus, and user input instruction display graphics. The graphic processor comprises an arithmetic unit, which is used for receiving various interactive instructions input by a user to operate and displaying various objects according to display attributes; the device 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, perform at least one of decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image composition, and the like according to a standard codec protocol of an input signal, and obtain a signal that is displayed or played on the directly displayable device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image compositing 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 demultiplexed video signal, including decoding, scaling and the like. And an image synthesis module, such as an image synthesizer, for performing superposition mixing processing on the graphic generator and the video image after the scaling processing according to the GUI signal input by the user or generated 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 frame rate into a video output signal and changing the video output signal to be in accordance with a display format, such as outputting RGB data signals.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode according to a standard codec protocol of an input signal, and at least one of noise reduction, digital-to-analog conversion, and amplification, to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command 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 recognizes the sound or gesture through the sensor to receive the user input command.
In some embodiments, a "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of the user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include at least one of a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, the user interface 280 is an interface (e.g., physical keys on a display device body, or the like) that may be used to receive control inputs.
In some embodiments, a system of display devices may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together form the basic operating system architecture that allows users to manage files, run programs, and use the system. After power-up, the kernel is started, the kernel space is activated, hardware is abstracted, hardware parameters are initialized, virtual memory, a scheduler, signal and inter-process communication (IPC) are operated and maintained. After the kernel is started, shell and user application programs are loaded again. The application program is compiled into machine code after being started to form a process.
Referring to FIG. 4, in some embodiments, the system is divided into four layers, from top to bottom, an application layer (referred to as an "application layer"), an application framework layer (Application Framework layer) (referred to as a "framework layer"), a An Zhuoyun row (Android run) and a system library layer (referred to as a "system runtime layer"), and a kernel layer, respectively.
In some embodiments, at least one application program is running in the application program layer, and these application programs may be a Window (Window) program of an operating system, a system setting program, a clock program, or the like; or may be 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 (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. The application framework layer corresponds to a processing center that decides to let the applications in the application layer act. Through the API interface, the application program can access the resources in the system and acquire the services of the system in the execution.
As shown in fig. 4, the application framework layer in the embodiment of the present application includes a manager (manager), 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 to interact with all activities that are running in the system; a Location Manager (Location Manager) is used to provide system services or applications with access to system Location services; a Package Manager (Package Manager) for retrieving various information about an application Package currently installed on the device; a notification manager (Notification Manager) for controlling the display and clearing of notification messages; a Window Manager (Window Manager) is used to manage bracketing icons, windows, toolbars, wallpaper, and desktop components on the user interface.
In some embodiments, the activity manager is used to manage the lifecycle of the individual applications as well as the usual navigation rollback functions, such as controlling the exit, opening, fallback, etc. of the applications. The window manager is used for managing all window programs, such as obtaining the size of the display screen, judging whether a status bar exists or not, locking the screen, intercepting the screen, controlling the change of the display window (for example, reducing the display window to display, dithering display, distorting display, etc.), etc.
In some embodiments, the system runtime layer provides support for the upper layer, the framework layer, and when the framework layer is in use, the android operating system runs the C/C++ libraries contained 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 kernel layer contains at least one of the following drivers: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive, etc.
The display device may present the file of the picture type in the form of a picture. There are generally two implementations of displaying a picture type file in the form of a picture: one is to reduce the original image and display it, which occupies a lot of memory resources; the other way is to generate a thumbnail from the pictures contained in the folder opened by the user and display the thumbnail, but generating the thumbnail consumes a certain time, affects the display efficiency, and has poor user experience.
In order to solve the problems in the prior art, referring to fig. 5 specifically, fig. 5 may be a block diagram of a display device shown in an embodiment of the present application, where the display device includes at least a display 2 and a controller 1, where a memory 11 and a processor 12 are disposed in the controller, and the memory 11 is used to store a file downloaded by the display device. The user can place some files in the same folder according to the requirements. And a processor for executing operating system and application instructions or threads stored in the memory. And executing processing of various application programs, data and contents according to the received user input instructions so as to finally display and play various audio and video contents. In particular to the solution shown in this embodiment, the processor may call the thumbnail construction thread 121, the file management thread 122, and the presentation layer 123 in the system framework. A flow chart of the interaction of the display with the controller may be seen in fig. 6.
The display executes step S101 to display the downloaded folder; the folders comprise at least one file, each folder is provided with a thumbnail list, and the thumbnail list is used for storing the thumbnails of part or all of the files.
To facilitate file searching, a user typically configures multiple folders, and fig. 7 is a schematic diagram of an interface shown when a display shows a downloaded folder according to a possible embodiment. It can be seen from the figure that the display can show multiple 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 mountains related pictures may be clustered in a mountains folder. The embodiment of the application does not limit the clustering mode of the files, and in the practical application process, the user can configure the folders according to the requirements.
The user executes step S102 to select the folder;
the implementation manner of selecting the folder by the user is not limited in this embodiment.
For example, in the embodiment illustrated in fig. 7, the display interface is configured with a focus, the focus is configured to be moved in a controlled manner, and the user can control the focus to move through the remote controller so as to complete the selection of the folder.
For 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 instructions.
In the practical application process, the implementation manner of selecting the folder by the user can be, but is not limited to, the two modes.
In response to a user selection of a folder, the controller is configured to execute step S103 to sequentially traverse a thumbnail list corresponding to the folder selected by the user;
the order in which the controller traverses the thumbnail list is not limited in this application;
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 ordering of the names of the files, and determine whether the thumbnail list records the thumbnail matching the file.
For example, in one possible embodiment, the folder contains 8 file partitions: file 1, file 2, file 3, file 4, file 5, file 6, file 7, and file 8; the result that 8 files are arranged in descending order of file names in the folder can be referred to in table 1;
TABLE 1
Figure BDA0002843639980000071
The controller firstly judges whether the thumbnail list records the thumbnail matched with the file 1; then, whether or not the thumbnail image … … matching with the file 2 is recorded in the thumbnail image list is judged, and whether or not the thumbnail image matching with the file 8 is recorded in the thumbnail image list is judged.
For another example, in a feasible embodiment, the files in the folders are arranged in 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 list records the thumbnails matched with the files.
In the practical application process, the sequence of traversing the thumbnail list by the controller can be, but is not limited to, the two modes, and the applicant does not limit the invention too much.
FIG. 8 is a flow chart illustrating traversing a thumbnail list corresponding to a user-selected folder in accordance with one possible embodiment;
the controller executes step S11 to traverse the thumbnail list;
the order of traversing the thumbnail list may be referred to above in implementations and applicant does not reiterate here.
The controller executes step S12 to determine whether or not the thumbnail of the file is recorded in the thumbnail list;
the realization mode of judging whether the thumbnail of the file is recorded in the thumbnail list is various;
for example, in one possible embodiment, a file and a thumbnail of the file may be configured with corresponding identifications. The controller searches the thumbnail list for the thumbnail matched with the identification based on the identification of the file;
for example, in one possible embodiment, 4 thumbnails are recorded in the thumbnail list, respectively: thumbnail 1, thumbnail 2, thumbnail 3, thumbnail 4, specific thumbnail list can refer to table 2;
TABLE 2
Sequence number File name Identification mark Remarks
1 Thumbnail 1 Sign 1
2 Thumbnail image 2 Sign 2
3 Thumbnail 3 Sign 3
4 Thumbnail image 4 Sign 4
The controller traverses the table 2 based on the identification (identification 1) of the file 1, and determines that the thumbnail image of the file 1 is recorded in the table 2; then, the controller traverses table 2 based on the identification (identification 2) of file 2, determines that the thumbnail image … … with file 2 is recorded in table 2, and the controller traverses table 2 based on the identification (identification 5) of file 5, determines that the thumbnail image with file 2 is not recorded in table 2.
For another example, in order to reduce the amount of data stored in the thumbnail list, in a possible embodiment, the file name may be used as an identifier, and the specific thumbnail list may refer to table 3;
TABLE 3 Table 3
Sequence number File name Remarks
1 File 1.Png
2 File 2.Png
3 File 3.Png
4 File 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 is not allowed to use the same name as the file, and based on this embodiment of the application, a naming manner of the thumbnail is shown, where the specific naming manner is that the name of the thumbnail=the storage address of the file+the name of the file, and the specific thumbnail list may refer to
Table 4;
sequence number File name Remarks
1 Photo_person_file1. Png
2 Photo_person_file2.png
3 Photo_character_file3.png
4 Photo_person_file4.png
The beneficial effects of the above nomenclature will be described in detail in the schemes that follow.
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-mentioned several manners, and the applicant does not make any limitation here.
If the thumbnail of the file is recorded in the thumbnail list, the controller executes step S13 to control the display to display the thumbnail at the file display position, and the controller continues to execute 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 shown 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. Region a in fig. 9 is a display region of document 1.
If the thumbnail of the file is not recorded in the thumbnail list, the controller executes step S14 to control the display to display a preset icon at the file display position, and the controller continues to execute step S11.
The scheme shown in the embodiment of the present application is not limited to the style of the preset icon.
The icons shown in folders 4, 5, 7, 8 in fig. 9 are merely exemplary patterns showing one preset icon, and the patterns of the preset icons during actual application may be, but are not limited to, the patterns shown in fig. 9.
If the thumbnail list records the thumbnail of the file, the controller is configured to execute step S104 to control the display to display the thumbnail at the file display position;
if the thumbnail list does not record the thumbnail of the file, the controller is configured to execute step S105 to control the display to display a preset icon at the file display position;
the operation of the display device shown in this embodiment will be described in detail with reference to specific examples.
In a feasible embodiment, the user selects the folder 1, wherein the folder 1 comprises 8 files, namely, a file 1, a file 2, a file 3, a file 4, a file 5, a file 6, a file 7 and a file 8; the thumbnail list corresponding to the folder 1 is the thumbnail list 1. In response to a user selecting the folder 1, the controller traverses the thumbnail list 1 based on the name of the file 1, determines that the thumbnail list 1 records the thumbnail of the file 1, and controls the display to display the thumbnail of the file 1, wherein 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 list 1 records the thumbnail of the file 2, and controls the display to display the thumbnail of the file 2, wherein 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 list 1 does not record the thumbnail of the file 3, and controls the display to display the preset icon, at this time, the display interface of the display may refer to the interface 13 … … in fig. 10, the controller traverses the thumbnail list 1 based on the name of the file 8, determines that the thumbnail list 1 does not record the thumbnail of the file 8, and controls the display to display the preset icon, at this time, the display interface of the display may refer to the interface 14 in fig. 10.
The description of the embodiment is thus completed.
The technical proposal provided by the implementation is initially designed in such a way that when the file to be displayed is a media file, the file can be displayed in the form of a thumbnail so as to play a role in prompting a user. If the file type is a non-media type, the controller continues to traverse the thumbnail list, which is a waste of computing resources of the controller, and based on the scheme shown in the embodiment of the application, the controller can pre-judge whether the file type is a media type, and then determine whether to traverse the thumbnail list according to the judging result, so that the data processing capacity of the controller is reduced.
The embodiment of the application shows a display device, and a structural block diagram of the display device may refer to fig. 5, where a flow chart of interaction between a display and a controller in the display device may refer to fig. 11.
The display performs step S201 to display the downloaded folders;
the display manner of the downloaded folder may refer to the above embodiment, and will not be described herein.
The user executes step S202 to select the folder;
the implementation manner of selecting the folder by the user may refer to the above embodiment, and will not be described herein.
In response to a user selection of a folder, the controller is configured to execute step S203 to sequentially read file types of files stored in the folder;
There are various implementations of reading the file type of the file;
for example, in a viable embodiment, the file type may be read by the suffix of the file name. For example, the file name of the file is "20201126-1.Jpg", and the file type can be determined to be 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 to be video; the file name of the file is "20201126-4.Mov", and the file type can be determined to be video.
If the file type is not the media type, the control execution step S204 controls the display to display a preset icon at the file display position;
the media asset types shown in the embodiment of the application include pictures and videos.
The display manner of the preset icons may refer to the above embodiment, and will not be described herein.
In some feasible embodiments, in order to improve the experience of the user, in the embodiment of the present application, the file type icon corresponding to each file type is designed in advance, and the user can learn the type of the file through the file type icon displayed by the display, so as to improve the experience of the user.
FIG. 12 is a schematic diagram of a display presentation interface shown according to one possible embodiment. As can be seen from the figure, file 1, file 2, file 3, and file 6 are shown in the form of thumbnails. Files 4, 5, 7, 8 are shown in the form of file type icons. The user can see that the file 4 is an audio type file, the file 5 is an audio type file, the file 7 is an audio type file, and the file 8 is an installation package type file through the presentation content of fig. 12.
According to the technical scheme, when the controller determines that the file type is not the media type, the display is controlled to display the file type icon at the file display position, and a user can acquire the file type 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, the control and execution step S205 traverses the thumbnail list of the folder;
the implementation of traversing the thumbnail list of the folder may refer to the above embodiment, and will not be described herein.
If the thumbnail list records the thumbnail of the file, the controller is configured to execute step S206 to control the display to display the thumbnail at the file display position;
If the thumbnail list does not record the thumbnail of the file, the controller is configured to control the display to display the media asset icon at the file display position by executing step S207;
in this embodiment, the media asset icon is a picture icon or a video icon.
In a feasible embodiment, the media asset icon is different from the file type icon. Since the technical solution shown in the embodiments of the present application will construct thumbnail images for those media files that do not have thumbnail images in the subsequent process, but do not perform any processing on those non-media files. Therefore, the scheme shown in the embodiment of the application designs the media resource icon to be different from the file type icon, so that a certain prompting effect can be played for a user to prompt the user which files are likely to 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 of a file presentation process according to a feasibility embodiment;
the controller executes step S21 to read the file type;
the controller executes step S22 to judge whether the file type is a picture;
if the file type is a picture, the controller performs step S231 to determine whether or not 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 executes step S241 to control the display to display the thumbnail at the file display position, and the controller continues to execute step S21;
if the thumbnail of the file is not recorded in the thumbnail list, the controller executes step S242 to control the display to display the media resource icon at the file display position, and the controller continues to execute step S21;
if the file type is not a picture, the controller performs step S232 to determine whether the file type is a video;
if the file type is not video, the controller performs step S251 to control the display to display a file type icon;
if the file type is video, the controller performs 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 executes step S261 to control the display to display the media resource icon at the file display position, and the controller continues to execute step S21;
if the thumbnail of the file is recorded in the thumbnail list, the controller executes step S262 to control the display to display the thumbnail at the file display position, and the controller continues to execute step S21;
FIG. 13B is a flow chart illustrating a file presentation process according to one possible embodiment;
The controller executes step S31 to read the file type;
the controller executes step S32 to determine whether the file type is video;
if the file type is video, the controller performs step S331 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 controller executes step S341 to control the display to display the thumbnail at the file display position, and the controller continues to execute step S31;
if the thumbnail of the file is not recorded in the thumbnail list, the controller executes step S342 to control the display to display the media resource icon at the file display position, and the controller continues to execute step S31;
if the file type is not 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 executes step S351 to control the display to display 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 executes step S361 to control the display to display the media resource icon at the file display position, and the controller continues to execute step S31;
If the thumbnail of the file is recorded in the thumbnail list, the controller executes step S362 to control the display to display the thumbnail at the file display position, and the controller continues to execute step S31;
the operation of the display device shown in this embodiment will be described in detail with reference to specific examples.
In a feasible embodiment, the user selects the folder 2, wherein the folder 2 comprises 8 files, namely, a file 1, a file 2, a file 3, a file 4, a file 5, a file 6, a file 7 and a file 8; the thumbnail list corresponding to the folder 2 is the thumbnail list 2. Responding 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 through 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, and 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, judges 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 the audio type file icon, and at this time, 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 through the suffix of the name of the file 3; the controller traverses the thumbnail list 2 based on the names of the files 3, determines that the thumbnail list 2 does not record the thumbnails of the files 3, controls the display picture icons, at the moment, the display interface of the display can read the suffixes of the names of the files 8 by referring to the interface 23 … … in fig. 14, judges that the files 8 are not pictures through the suffixes of the names of the files 8, and the controller continues to judge that the files 8 are videos through the suffixes of the names of the files 8; 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 8, and controls the display to display the thumbnail of the file 8, and the display interface of the display can refer to the interface 24 in fig. 14.
The description of the embodiment is thus completed.
The technical proposal provided by the implementation is initially designed in such a way that when the file to be displayed is a media file, the file can be displayed in the form of a thumbnail so as to play a role in prompting a user. In order to further improve the experience of the user, in the technical scheme shown in the embodiment, a thumbnail generating thread is arranged in the controller, and the thumbnail generating thread is used for constructing the thumbnail of the current file when the thumbnail of the current file does not exist in the thumbnail list, so that the files of the media asset type can be displayed in the form of the thumbnail, and the experience of the user is further improved.
The embodiment of the application shows a display device, and a structural block diagram of the display device may refer to fig. 5, where a flow chart of interaction between a display and a controller in the display device may refer to fig. 15.
In response to a user selection of a folder, the file management thread is configured to execute step S301 to sequentially read file types of files stored in the folder;
in the technical scheme shown in the embodiment of the application, the file management thread determines the file type through the name of the file. The implementation manner of reading the file type may refer to the above embodiment, and will not be described herein.
If the file type is a media 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 be referred to the above embodiments and will not be described herein.
If the thumbnail list does not record a thumbnail of the file, the file management thread is configured to execute step S3031 to invoke the thumbnail generation thread;
in the technical scheme shown in the embodiment of the present application, when a file management thread calls a thumbnail generation thread, a name of a file and a storage address of the file are sent to the thumbnail generation thread.
The thumbnail generation thread is configured to execute step S3041 to construct a thumbnail of the file;
the thumbnail generation thread may find the folder in which the file is located based on the storage location of the file, and then find the file for which the thumbnail is to be constructed based on the name of the file.
The implementation of constructing the thumbnail may employ a thumbnail construction method that is conventional in the art, for example, by constructing the thumbnail through the following steps. (1) The source image (file) is loaded into a PHP (Hypertext Preprocessor ) variable. (2) determining the height and width of the source image. (3) creating a blank thumbnail of the correct size. (4) copying the original image to the blank thumbnail. (5) displaying the thumbnail using the correct content type.
The embodiment is merely an exemplary description of a method for constructing a thumbnail, and a method for constructing a thumbnail in a practical application process may be, but is not limited to, the foregoing method.
In this embodiment, the name of the thumbnail=the storage address+the file name, where the storage address is the storage address of the file corresponding to the thumbnail. The file name is the name of the thumbnail corresponding file. The correspondence between the file and the thumbnail can be constructed by the file name. This is also done based on file names in traversing the thumbnail list.
In response to completion of 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 resource 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 of drawing the thumbnail data can adopt an image drawing mode which is conventional in the field.
The display layer executes step S3071 to control the display to display the thumbnail;
and the display layer finds the media asset picture of the file based on the thumbnail name carried by the update message, and then controls the display to withdraw the media asset icon to display the constructed thumbnail.
If the thumbnail list does not record the thumbnail of the file, the file management thread S3032 sends a preset icon address to the presentation layer;
in the scheme shown in the embodiment of the present application, the preset icon may be shared by multiple folders, so that the display picture may be stored in an independent storage area, so as to ensure that when one folder is deleted, the preset icon may still provide services for other folders.
In contrast, the preset icon list serves one folder. When the folder is deleted, the thumbnail list corresponding to the folder is also meaningless. Thus, the thumbnail list may be stored in its corresponding folder, specifically, the generated thumbnail is placed under the root directory of the disk.
The presentation layer executes step S3042 to draw a preset icon based on the data stored in the preset icon address;
the display layer draws the implementation manner of the preset icon based on the data stored in the preset icon address, and the implementation manner of drawing the thumbnail data can adopt an image drawing manner which is conventional in the art.
The display layer executes step S3052 to control the display to display preset icons;
FIG. 16 is a flow chart illustrating a file presentation process according to one possible embodiment;
the file management thread executes step S41 to read the file type;
the file management thread executes step S42 to judge whether the file type is a picture;
if the file type is a picture, the file management thread performs step S431 to determine whether the thumbnail of the file is recorded in the thumbnail list
If the thumbnail list records the thumbnail of the file, 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 send the media resource icon address to the presentation layer, and the file management thread continues to execute step S41;
if no thumbnail of the file is 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 to construct 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 performs step S432 to determine whether the file type is a video;
if the file type is not video, the file management thread performs step S4421 to send the file type icon address to the presentation layer;
if the file type is video, the file management thread performs step S4422 to determine whether or not the 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 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 to send 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 step S4522 to send the media resource icon address to the presentation layer;
if the thumbnail list records the thumbnail of the file, the file management thread executes step S4231 to send the thumbnail address to the presentation layer, and the file management thread continues to execute step S41;
Alternatively, in some possible 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 operation of the display device shown in this embodiment will be described in detail with reference to specific examples.
In a feasible embodiment, the user selects the folder 3, wherein the folder 3 comprises 8 files, namely, a file 1, a file 2, a file 3, a file 4, a file 5, a file 6, a file 7 and a file 8; the thumbnail list corresponding to the folder 3 is the thumbnail list 3. Responding to the selection of the user on the folder 3, reading the suffix of the name of the file 1 by the file management thread, and judging that the file 1 is a picture through 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 list 3 records the thumbnail of the file 1, and sends the storage address of the thumbnail to the presentation layer. The presentation layer presents the drawn thumbnail on the display, at which point the presentation interface of the display may refer to 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 through 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 list 3 does not record the thumbnail of the file 3, and sends the storage address of the picture icon to the presentation layer. The display layer displays the drawn picture icon on the display, at this time, the display interface of the display can refer to interface 32 … … in fig. 17, then, the file management thread reads the suffix of the name of file 8, judges that file 2 is an installation package type file according to the suffix of the name of file 2, and controls the file management thread to send the storage address of the installation package icon to the display layer. The presentation layer presents the drawn installation package icon on the display, at which point the presentation interface of the display may refer to interface 33 in fig. 17. When the file management system determines that the thumbnail list 3 does not record the thumbnail of the file 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 constructs the thumbnail by the data stored in the storage address by the cable map construction thread. And when the construction of the thumbnail is completed, the thumbnail construction thread sends the storage address of the thumbnail to the presentation layer. The presentation layer presents the drawn thumbnail on the display, at which point the presentation interface of the display may refer to interface 34 in fig. 17.
The display device shown in the embodiment of the application comprises a display and a controller, wherein the controller is configured with 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 the thumbnail of the file, the display is controlled to display the thumbnail at the file display position, and if the thumbnail list does not record the thumbnail of the file, the display is controlled to display a preset icon at the file display position. Therefore, the display device shown in the embodiment of the application can be used, 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 improved, further, the thumbnail is convenient for a user to identify the picture and film resources which are required by the user, and the user experience is good.
The description of the embodiment is thus completed.
The embodiment of the application also shows a file display method, which comprises the following steps:
responding to the selection of a user on a folder, determining a thumbnail list to record the thumbnail of a file, and controlling the display to display the thumbnail at the file display position; the folders comprise at least one file, each folder is provided with a thumbnail list, and the thumbnail list is used for storing the thumbnails of part or all of the files.
And if the thumbnail list is determined not to record the thumbnail of the file, 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 the thumbnail of the file, the display is controlled to display the thumbnail at the file display position, and if the thumbnail list does not record the thumbnail of the file, the display is controlled to display a preset icon at the file display position. 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 improved, and further, the thumbnail is convenient for a user to identify the picture and film resources which are needed by the user, and the user experience is good.
The description of the embodiment is thus completed.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, where the program may include some or all of the steps in each embodiment of the method for customizing and starting a 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 (random access memory, RAM), or the like.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied essentially or in parts contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments or some parts of the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions 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 (8)

1. A display device, characterized by comprising:
a display;
a controller configured to: responding to the selection of a user on a folder, sequentially reading the file type and the file address of a file stored in the folder, wherein the file address is the storage address of the file;
when the file type is a non-media type, controlling a display to display a file type icon at a file display position;
when the file type is the media type, traversing a thumbnail list of a folder based on the file name of the file, and determining whether to record the thumbnail of the file;
if the thumbnail list records the thumbnails matched with the file addresses and the file names, sending the thumbnail addresses to a display layer so that the display layer draws the thumbnails based on the data stored in the thumbnail addresses; the thumbnail address is a storage address of a thumbnail matched with the file address; controlling the display to display the thumbnail at the file display position;
if the thumbnail list does not record the thumbnail matched with the file address and the file name, invoking a thumbnail generation thread to construct a thumbnail of the file, and sending a preset icon address to a presentation layer so that the presentation layer draws a preset icon based on data stored by the preset icon address; the preset icon address is a storage address of a preset icon; controlling the display to display preset icons at the file display position;
The folders comprise at least one file, each folder is provided with a thumbnail list, and the thumbnail list is used for storing the thumbnails of part or all of the files.
2. The display device of claim 1, 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 list is not recorded with thumbnails matched with the file address and the file name, invoking a thumbnail generation thread to enable the thumbnail generation thread to construct the thumbnail of the file.
3. The display device of claim 2, wherein the file management thread is further configured to:
and if the thumbnail list is not recorded with thumbnails matched with the file address and the file name, controlling the display to display a media resource icon, wherein the media resource icon is different from the file type icon.
4. The display device according to claim 2, wherein the name of the thumbnail includes a storage address of the thumbnail-corresponding file and a name of the thumbnail-corresponding file.
5. The display device of claim 1, wherein the thumbnail generation thread is configured to:
in response to completing the construction of the thumbnail, encapsulating the thumbnail storage address into an update message;
and sending an update message to a display layer so that the display layer draws 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 resource icon.
6. The display device of claim 5, wherein the thumbnail generation thread is configured to:
and in response to completing the construction of the thumbnail, writing the constructed thumbnail into a thumbnail list.
7. The display device of claim 1, wherein the list of thumbnails is stored within a corresponding folder.
8. A document presentation method, comprising:
responding to the selection of a user on a folder, sequentially reading the file type and the file address of a file stored in the folder, wherein the file address is the storage address of the file;
when the file type is a non-media type, controlling a display to display a file type icon at a file display position;
When the file type is the media type, traversing a thumbnail list of a folder based on the file name of the file, and determining whether to record the thumbnail of the file;
if the thumbnail list records the thumbnails matched with the file addresses and the file names, sending the thumbnail addresses to a display layer so that the display layer draws the thumbnails based on the data stored in the thumbnail addresses; the thumbnail address is a storage address of a thumbnail matched with the file address; controlling the display to display the thumbnail at the file display position;
if the thumbnail list does not record the thumbnail matched with the file address and the file name, invoking a thumbnail generation thread to construct a thumbnail of the file, and sending a preset icon address to a presentation layer so that the presentation layer draws a preset icon based on data stored by the preset icon address; the preset icon address is a storage address of a preset icon; controlling the display to display preset icons at the file display position;
the folders comprise at least one file, each folder is provided with a thumbnail list, and the thumbnail list is used for storing the 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 CN112597110A (en) 2021-04-02
CN112597110B true 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)

Families Citing this family (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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020076A (en) * 2011-09-23 2013-04-03 深圳市快播科技有限公司 Dynamic preview method and device for player video file
CN105183837A (en) * 2015-09-02 2015-12-23 Tcl移动通信科技(宁波)有限公司 Mobile terminal thumbnail list view display method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI260931B (en) * 2002-04-01 2006-08-21 Matsushita Electric Ind Co Ltd Image presentation device and image presentation method
US20060242163A1 (en) * 2005-04-22 2006-10-26 Microsoft Corporation Local thumbnail cache
KR20100074565A (en) * 2008-12-24 2010-07-02 삼성전자주식회사 Method for changing thumbnail, and print controling apparatus
CN101794567B (en) * 2010-02-10 2014-01-01 中兴通讯股份有限公司 Method and terminal for loading pictures
CN102722488A (en) * 2011-03-30 2012-10-10 汉王科技股份有限公司 Method and apparatus for displaying electronic files
CN103914205B (en) * 2013-01-09 2015-11-25 腾讯科技(深圳)有限公司 A kind of file thumbnail methods of exhibiting of intelligent terminal and device
JP2020075360A (en) * 2018-11-05 2020-05-21 京セラドキュメントソリューションズ株式会社 Image processor
US10983677B2 (en) * 2018-11-16 2021-04-20 Dropbox, Inc. Prefetching digital thumbnails from remote servers to client devices based on a dynamic determination of file display criteria

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020076A (en) * 2011-09-23 2013-04-03 深圳市快播科技有限公司 Dynamic preview method and device for player video file
CN105183837A (en) * 2015-09-02 2015-12-23 Tcl移动通信科技(宁波)有限公司 Mobile terminal thumbnail list view display method and system

Also Published As

Publication number Publication date
CN112597110A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN113038160B (en) Display device and audio/video data playing method
CN112905210A (en) Server and gray scale publishing method
CN112597110B (en) Display equipment and file display method
CN112584211B (en) Display equipment
CN113490042B (en) Display equipment and channel searching method
CN112165641A (en) Display device
CN113268199A (en) Display device and function item setting method
CN112612525A (en) Display device and display device starting method
CN111954059A (en) Screen saver display method and display device
CN114095778B (en) Audio hard decoding method of application-level player and display device
CN113111214A (en) Display method and display equipment for playing records
CN114077584A (en) File transmission method and display device
CN112764627A (en) Upgrade package installation progress display method and display device
CN112269668A (en) Application resource sharing and display equipment
CN111818654A (en) Channel access method and display device
CN112749033B (en) Display device and system notification calling method
CN112911359B (en) Resource display method, display equipment and remote controller
CN111787115B (en) Server, display device and file transmission method
CN114116622A (en) Display device and file display method
CN114942902A (en) Display device and multiplexing method of memory module thereof
CN112668546A (en) Video thumbnail display method and display equipment
CN112584210A (en) Display device, video recording method and recorded file display method
CN111787350A (en) Display device and screenshot method in video call
CN113076042B (en) Local media resource access method and display device
CN112579542B (en) Display device and page drawing 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