CN106940722B - Picture display method and device - Google Patents

Picture display method and device Download PDF

Info

Publication number
CN106940722B
CN106940722B CN201710156015.0A CN201710156015A CN106940722B CN 106940722 B CN106940722 B CN 106940722B CN 201710156015 A CN201710156015 A CN 201710156015A CN 106940722 B CN106940722 B CN 106940722B
Authority
CN
China
Prior art keywords
picture
preview
pictures
list
information
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
CN201710156015.0A
Other languages
Chinese (zh)
Other versions
CN106940722A (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 CN201710156015.0A priority Critical patent/CN106940722B/en
Publication of CN106940722A publication Critical patent/CN106940722A/en
Application granted granted Critical
Publication of CN106940722B publication Critical patent/CN106940722B/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/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor

Abstract

The invention discloses a picture display method and a picture display device, which aim to improve the display efficiency of pictures. The method comprises the following steps: decoding data corresponding to a first picture based on a request for displaying the first picture, and loading picture preview information of N pictures to a first preview list when the number of pictures in a directory where the first picture is located is not less than a first threshold, wherein the first threshold is the number of pictures corresponding to the picture preview information loaded within the decoding duration of a single picture, and the size of N is equal to the first threshold; and displaying the decoded first picture and part or all of picture preview information included in the first preview list.

Description

Picture display method and device
Technical Field
The invention relates to the field of computers, in particular to a picture display method and device.
Background
Generally, a picture player provides a preview interface in a user interface of the picture player, so that a user can browse pictures and switch between a previous picture and a next picture according to picture preview information in a preview list displayed in the preview interface. When a user opens a picture to be watched through a picture player, the process of decoding the picture and the process of loading the picture preview information of all pictures in the directory where the picture is located into the preview list are operated concurrently through different threads, but the completion time of the two threads is difficult to be completely consistent. In order to ensure that the preview interface can be called and operated normally after the pictures are displayed, the picture player usually displays the pictures selected by the user after the preview list is generated.
Since the time required for generating the preview list is related to the number of pictures in the directory where the pictures to be viewed by the user are located, and the time required for generating the preview list is longer as the number of pictures in the directory is larger, when the number of pictures stored in the storage device is larger, after the user clicks the pictures to be viewed, the display interface of the picture player is in a loading state (i.e., a loading state) for a longer period of time, and the pictures clicked by the user and the preview list are not displayed until the preview list is generated, so that the time required for the user to wait is longer, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a picture display method and device, which are used for improving the picture display efficiency.
The embodiment of the invention provides the following specific technical scheme:
in a first aspect, an embodiment of the present invention provides an image display method, including:
decoding data corresponding to a first picture based on a request for displaying the first picture, and loading picture preview information of N pictures into a first preview list when the number of pictures in a directory where the first picture is located is not less than a first threshold, wherein the first threshold is the number of pictures corresponding to the picture preview information loaded within the decoding duration of a single picture, and the size of N is equal to the first threshold;
and displaying the decoded first picture and part or all of picture preview information included in the first preview list.
In a second aspect, an embodiment of the present invention provides a picture display device, including:
the decoding module is used for decoding data corresponding to a first picture based on a request for displaying the first picture;
the loading module is used for loading the picture preview information of N pictures into a first preview list when the number of the pictures in the directory where the first picture is located is not less than a first threshold, the first threshold is the number of the pictures corresponding to the picture preview information which is loaded within the decoding duration of a single picture, and the size of N is equal to the first threshold;
and the display module is used for displaying the decoded first picture and part or all of picture preview information included in the first preview list.
In a third aspect, an embodiment of the present invention provides a display device, including:
a display;
a memory for storing computer program instructions;
and the processor is coupled to the memory and used for reading the computer program instructions stored in the memory and responding to the computer program instructions to execute the picture display method provided by the embodiment of the invention.
Based on the above technical solution, in the embodiment of the present invention, the picture player decodes data corresponding to the first picture according to the request for displaying the first picture, and when the number of pictures in the directory where the first picture is located is not less than the first threshold, loads the picture preview information of the N pictures into the first preview list, where the first threshold is the number of pictures corresponding to the picture preview information that is loaded within the decoding duration of a single picture, and the size of N is equal to the first threshold, so that the picture player completes the loading of the picture preview information in the first preview list as much as possible within the decoding duration of the first picture, and further, the picture player can quickly display the first picture and part or all of the picture preview information in the first preview list, thereby improving the efficiency of the picture player in displaying the pictures and the picture preview information, and improving user experience.
Drawings
Fig. 1 is a schematic view of a user interface of a picture player according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a picture display method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a picture display device according to the present invention;
fig. 4 is a schematic structural diagram of a display device according to an embodiment of the present invention.
Detailed Description
The method for synchronously displaying the picture preview list and the pictures provided by the embodiment of the invention is realized by a picture player, wherein the picture player refers to an application program for displaying the pictures and is installed in terminal equipment with a display function, such as an intelligent television, an intelligent mobile phone, a tablet computer or a notebook computer.
Fig. 1 exemplarily shows a user interface of a picture player, which includes a menu bar, a preview region, and a picture display region. The menu bar is used for providing a picture display function or a picture processing function for a user to select, for example, functions of picture enlargement, picture reduction, picture rotation and the like, and the functions can be provided by adopting a menu control or a control in an icon form. The preview area is used to display preview information of the picture, such as displaying a thumbnail of the picture. The picture display area is used for displaying the decoded picture.
Fig. 2 exemplarily shows a flow of a picture display method in an embodiment of the present invention, which includes the following steps:
step 201: and decoding data corresponding to the first picture based on the request for displaying the first picture, and loading picture preview information of the N pictures into a first preview list when the number of the pictures in the directory where the first picture is located is not less than a first threshold value.
The first threshold is the number of pictures corresponding to the picture preview information loaded within the decoding duration of a single picture, the size of N is equal to the first threshold, and the first preview list at least comprises the preview information of the first picture.
Specifically, when a user double-clicks a first picture in a file directory through a mouse, an operating system in the terminal device generates a request for displaying the first picture according to the user operation behavior, and sends the request to a picture player in the terminal device. In the process, if the picture player is not started, the picture player is started first. Of course, double clicking through a mouse is only an example of one user operation behavior, and the user operation behavior for triggering the display of the picture is not limited in the embodiment of the present application.
It should be noted that, in the embodiment of the present invention, the sequence of the decoding process of the first picture and the generation process of the first preview list (loading the picture preview information of the N pictures to the first preview list) is not limited. Optionally, the first thread decodes data corresponding to the first picture according to the request for displaying the first picture, and the second thread loads picture preview information of the N pictures to the first preview list when the number of pictures in the directory where the first picture is located is not less than the first threshold, where the first thread and the second thread are executed in parallel.
Specifically, the picture player acquires the encoded data of the first picture from the memory of the terminal device according to the request for displaying the first picture, and decodes the encoded data of the first picture, so that the picture player can display the first picture in the picture display area in the user interface.
Specifically, the picture preview information at least includes a thumbnail of the picture, and may further include one or more of a picture name, a picture type, a picture size, a shooting time of the picture, and a resolution of the picture. The preview list may include picture preview information for one or more pictures. The preview list may specifically be a storage area in the memory of the terminal device. And loading the picture preview information to a first preview list, namely, acquiring the picture preview information in the data corresponding to the picture to be loaded from a memory of the terminal equipment, and storing the acquired picture preview information in a corresponding storage area in a memory of the terminal equipment.
The N pictures in the first preview list may include a first picture, m pictures located before the first picture, and N pictures located after the first picture, where m + N is N-1, and m and N are integers greater than or equal to 1. If the first picture is the first picture in the file directory, the N pictures included in the first preview list include: the first picture and N-1 pictures behind the first picture. And if the first picture is the last picture in the file directory, the N pictures in the first preview list comprise the first picture and N-1 pictures before the first picture. The values of m and n can be determined according to preset values and by combining the number of pictures in the file directory and the position of the first picture in the directory.
The time length required for decoding a single picture by the picture player (i.e. the decoding time length of a single picture) may be determined by factors such as the encoding format of the picture, the decoding mode of the picture player, and the hardware configuration of the terminal device (e.g. the memory size and the processor speed). Since the decoding mode of the picture player is generally fixed, and the hardware configuration of the terminal device is also fixed, the time length required for the picture player to decode a single picture mainly depends on the coding format of the picture. In a specific embodiment, the decoding duration of a single picture of the picture player is the longest duration of time spent on decoding pictures in various encoding formats.
The time length required for the picture player to load the preview information of a single picture (the loading time length of the preview information of a single picture) is determined by the size of the preview information of a picture to be loaded. The type of the picture preview information loaded by the picture player is usually preset, so that the time length required for loading the preview information of a single picture can be obtained by pre-calculation, and therefore the time length required for loading the preview information of a single picture can be preset.
If the decoding duration of a single picture is TdPreview information of a single pictureHas a loading duration of TcIf the number of pictures corresponding to the picture preview information loaded by the picture player within the decoding duration of a single picture is equal to
Figure BDA0001247019220000051
In specific implementation, the picture player may pre-configure the decoding duration of a single picture and the loading duration of the preview information of the single picture to determine the first threshold, or pre-configure the number of pictures corresponding to the preview information of the pictures that are loaded within the decoding duration of the single picture.
In implementation, if the first threshold is greater than the number of pictures in the directory where the first picture is located, the picture player loads preview information of all pictures in the directory where the first picture is located into the first preview list.
Step 202: and displaying the decoded first picture and part or all of picture preview information included in the first preview list.
And when the picture player displays the decoded first picture, the displayed part of the picture preview information at least comprises preview information of the first picture.
In practice, the picture preview information that the picture player can display at a time is limited by the size of the picture player user interface and/or the screen size of the display device on which the picture player is installed. Therefore, when the number of pictures corresponding to the picture preview information included in the first preview list is small, the picture player displays all the picture preview information in the first preview list, and when the number of pictures corresponding to the picture preview information included in the first preview list is large, the picture player displays part of the picture preview information in the first preview list. For example, when the number of pictures corresponding to the picture preview information included in the first preview list is large, the picture player divides the picture preview information included in the first preview list into a plurality of pages to display, when the user clicks a function button of a previous page or a next page in a preview area of the picture player, the picture player displays the picture preview information included in the corresponding page, and for example, when the user drags a scroll bar in the preview area of the picture player, the picture player displays the remaining picture preview information in the first preview list.
In implementation, if the decoding duration of the first picture is longer than the duration required for generating the first preview list, the picture player displays the decoded first picture and the preview information in the first preview list after determining that the decoding of the first picture is finished, and if the decoding duration of the first picture is shorter than the duration required for generating the first preview list, the picture player displays the decoded first picture and the preview information in the first preview list after determining that the first preview list is generated, so that after the picture player displays the first image, the picture player can be switched to other pictures according to the operation of a user on the displayed picture preview information. And, compared with the prior art, the waiting time for the user to watch the first picture is shorter.
Optionally, if the number of pictures in the directory where the first picture is located is greater than the first threshold, the picture player may load the preview information of the other pictures in the directory except the pictures in the first preview list by, but not limited to, the following two ways after determining the number of pictures corresponding to the picture preview information included in the first preview list:
in the first mode, the picture player loads the preview information of other pictures in the catalog where the first picture is located except the pictures included in the first preview list to the second preview list.
For the first manner, in an example, when the picture player determines that the picture currently displayed in the picture display area is the last picture in the first preview list, the displayed picture preview information is updated, and the updated picture preview information includes the picture preview information in the second preview list and the picture preview information in the first preview list. For example, when the picture player is in an automatic playing mode, that is, a next picture is automatically played at intervals of a set duration according to a set sequence (for example, an arrangement sequence of pictures in a file directory), and when the last picture in the first preview list displayed in the preview area is played, the preview area is updated, so that the preview information of the pictures in the second preview list is added to the preview area. For another example, when the user double-clicks the last picture in the first preview list displayed in the preview area, the picture player may determine that the picture currently displayed in the picture display area is the last picture in the first preview list, and update the preview area, so as to add the picture preview information in the second preview list to the preview area.
In another example, the picture player receives a request for displaying a second picture, and updates the displayed picture preview information if it is determined that the second picture to be currently displayed is not in the first preview list according to the request for displaying the second picture, where the updated picture preview information includes the picture preview information in the second preview list and the picture preview information in the first preview list. For example, after the picture player displays a first picture and a first preview list, the user double-clicks a second picture in a directory where the first picture is located, the picture player receives a request for displaying the second picture, determines that the second picture to be displayed currently is not in the first preview list according to the request for displaying the second picture, and updates a preview area, so that picture preview information in the second preview list is added to the preview area, and picture preview information of all pictures in the directory where the first picture is located is displayed in the preview area.
And when the picture player determines that the picture currently displayed in the picture display area is the last picture in the first preview list or determines that the second picture to be currently displayed is not in the first preview list according to the received request for displaying the second picture, updating the displayed picture preview information, so that a user can browse the preview information of all pictures in the directory where the first picture is located, and selecting the pictures in the first preview column and the pictures in the directory where the first picture is located except the pictures in the first preview column for viewing according to the updated picture preview information.
And secondly, the picture player loads the picture preview information of the directory where the first picture is located except the pictures included in the first preview list into a plurality of third preview lists, wherein each third list comprises the preview information of a group of pictures, the number of each group of pictures is not greater than a first threshold value, and the number of the pictures included in the third preview lists is the number of the pictures included in the directory where the first picture is located except the pictures included in the first preview list.
Optionally, the loading of the picture preview information in the plurality of third preview lists may be performed concurrently in a plurality of threads, so as to reduce a time period required for loading the picture preview information in the directory where the first picture is located, except for the pictures included in the first preview list.
In order to save resources of the terminal equipment and reduce the number of threads executed in parallel in the terminal equipment, the number of pictures corresponding to the picture preview information included in each third preview list is as close as possible to the number of pictures corresponding to the picture preview information loaded by the player within the decoding duration of a single picture, so that the number of pictures corresponding to the picture preview information in at most one third preview list in a plurality of third preview lists obtained by the picture player is smaller than the number of pictures corresponding to the picture preview information loaded by the picture player within the decoding duration of a single picture, and the number of pictures corresponding to the picture preview information in other third preview lists is equal to the number of pictures corresponding to the picture preview information loaded by the picture player within the decoding duration of a single picture.
For the second mode, in an example, after the picture player loads the picture preview information of the directory where the first picture is located, except for the pictures included in the first preview list, into the plurality of third preview lists, if it is determined that the currently displayed picture is the last picture in the first preview list, the displayed picture preview information is updated, and the updated picture preview information at least includes the picture preview information in one third preview list and the picture preview information in the first preview list. For example, when the picture player is in an automatic playing mode, that is, a next picture is automatically played at intervals of a set duration according to a set sequence (for example, an arrangement sequence of pictures in a file directory), and when the last picture in a first preview list displayed in a preview area is played, the preview area is updated, so that picture preview information in a third preview including a third picture is added to the preview area, or picture preview information in a third preview including a third picture and picture preview information in a third preview including a fourth picture are added to the preview area, where the third picture is a picture next to the last picture in the first preview list in the file directory, the fourth picture is a picture next to the last picture in the third preview list including the third picture in the file directory, and the picture preview information in each third preview list is arranged in the file directory according to a picture arrangement mode corresponding to the picture preview information in the file directory (e.g., ordering by name of picture, ordering by size of picture, ordering by type of picture, etc.). For another example, when the user clicks the last picture in the first preview list displayed in the preview area, the picture player may determine that the picture currently displayed in the picture display area is the last picture in the first preview list, and update the preview area, so that the picture preview information in the third preview including the third picture is added to the preview area, or the picture preview information in the third preview including the third picture and the picture preview information in the third preview including the fourth picture are added to the preview area.
In another example, the picture player receives a request for displaying a second picture, determines that the second picture is not in the first preview list according to the request for displaying the second picture, determines a third preview list where the second picture is located according to the request for displaying the second picture, and updates the displayed picture preview information, where the updated picture preview information at least includes picture preview information in the third preview list where the second picture is located and picture preview information in the first preview list.
When the picture player determines that the picture currently displayed in the picture display area is the last picture in the first preview list or determines that the second picture to be currently displayed is not in the first preview list according to the received request for displaying the second picture, the picture player updates the displayed picture preview information, the player displays the preview information of the pictures in the first preview list and simultaneously displays the preview information of part or all of the pictures in the catalog where the first picture is positioned except the pictures in the first preview column, so that the user can browse the preview information of the pictures in the first preview list and the preview information of the pictures in the catalog in which the first picture is positioned except the pictures in the first preview list, and selecting the pictures in the first preview column and the pictures in the catalog in which the first pictures are located except the pictures in the first preview column for watching according to the updated picture preview information.
Based on the above technical solution, in the embodiment of the present invention, the picture player decodes data corresponding to the first picture based on the request for displaying the first picture, and when the number of pictures in the directory where the first picture is located is not less than the first threshold, loads the picture preview information of the N pictures into the first preview list, where the first threshold is the number of pictures corresponding to the picture preview information that is loaded within the decoding duration of a single picture, and the size of N is equal to the first threshold, so that the picture player completes the loading of the picture preview information in the first preview list as much as possible within the decoding duration of the first picture, and further the picture player can quickly display the first picture and the picture preview information in the first preview list, thereby improving the efficiency of the picture player for displaying the pictures and the picture preview information, and improving user experience.
Based on the same inventive concept, an embodiment of the present invention further provides a picture display apparatus 300, and the specific implementation of the apparatus may refer to the description of the method embodiment, and repeated descriptions are omitted, as shown in fig. 3, the apparatus mainly includes:
a decoding module 301, configured to decode data corresponding to a first picture based on a request for displaying the first picture;
a loading module 302, configured to load, when the number of pictures in the directory where the first picture is located is not less than a first threshold, picture preview information of N pictures into the first preview list, where the first threshold is the number of pictures corresponding to the picture preview information that is loaded within a decoding duration of a single picture, and the size of N is equal to the first threshold;
a display module 303, configured to display the decoded first picture and some or all of the picture preview information included in the first preview list.
Optionally, the decoding module 301 decodes data corresponding to the first picture through a first thread, and the loading module 302 generates the first preview list through a second thread, where the first thread and the second thread are executed in parallel.
Optionally, the loading module 302 is further configured to: loading the picture preview information of other pictures in the catalog where the first picture is located except the pictures included in the first preview list into a second preview list; or, loading the picture preview information of the other pictures in the directory where the first picture is located except the pictures included in the first preview list into a plurality of third preview lists, where each third list includes preview information of a group of pictures, the number of the pictures in each group is not greater than a first threshold, and the number of the pictures included in the third preview lists is the number of the pictures in the directory where the first picture is located except the pictures included in the first preview list.
Optionally, the display module 303 is further configured to: if the picture currently displayed in the picture display area is determined to be the last picture in the first preview list, updating the displayed picture preview information, wherein the updated picture preview information comprises the picture preview information in the second preview list and the picture preview information in the first preview list; or if the second picture to be displayed currently is determined not to be in the first preview list according to the received request for displaying the second picture, updating the displayed picture preview information, wherein the updated picture preview information comprises the picture preview information in the second preview list and the picture preview information in the first preview list.
Optionally, the display module 303 is further configured to: if the currently displayed picture is determined to be the last picture in the first preview list, updating the displayed picture preview information, wherein the updated picture preview information at least comprises the picture preview information included in a third preview list and the picture preview information in the first preview list; or if the second picture is determined not to be in the first preview list according to the received request for displaying the second picture, determining a third preview list where the second picture is located according to the request for displaying the second picture, and updating the displayed picture preview information, wherein the updated picture preview information at least comprises the picture preview information in the third preview list where the second picture is located and the picture preview information in the first preview list.
Optionally, the loading module 302 is further configured to: and if the first threshold value is larger than the number of the pictures in the catalog of the first picture, loading the preview information of all the pictures in the catalog of the first picture into a first preview list.
Based on the same inventive concept, the embodiment of the present invention further provides a display device 400, and the display device 400 can implement the process shown in fig. 2.
As shown in fig. 4, a display device 400 according to an embodiment of the present invention includes: a display 401, a memory 402, and a processor 403.
The display 401 is used to display pictures and picture preview information. The memory 402 may specifically include an internal memory and/or an external memory, such as a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, and other storage media that are well known in the art. The processor 403 may be a general-purpose processor (such as a microprocessor or any conventional processor, etc.), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Data communication connection exists between the processor 403 and other modules, for example, data communication can be performed based on a bus architecture. The bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 403, and various circuits, represented by memory 402, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The processor 403 is responsible for managing the bus architecture and general processing, and the memory 402 may store data used by the processor 403 in performing operations.
The process disclosed in the embodiment of the present invention may be applied to the processor 403, or implemented by the processor 403. In implementation, the steps of the flow described in the foregoing embodiments may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 403. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art.
Specifically, the processor 403, coupled to the memory 402, is configured to read computer program instructions stored in the memory 402 and, in response, execute the image display method provided by the embodiment of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A picture display method, characterized in that the method comprises:
decoding data corresponding to a first picture based on a request for displaying the first picture, and loading picture preview information of N pictures into a first preview list when the number of pictures in a directory where the first picture is located is not less than a first threshold, wherein the first threshold is the number of pictures corresponding to the picture preview information loaded within the decoding duration of a single picture, and the size of N is equal to the first threshold;
and displaying the decoded first picture and part or all of picture preview information included in the first preview list.
2. The method of claim 1, wherein the method further comprises:
loading the picture preview information of other pictures in the catalog where the first picture is located except the pictures included in the first preview list into a second preview list;
or, loading the picture preview information of the other pictures in the directory where the first picture is located except the pictures included in the first preview list into a plurality of third preview lists, wherein each third list includes preview information of a group of pictures, the number of the pictures in each group is not greater than the first threshold, and the total number of the pictures included in the plurality of third preview lists is the number of the pictures in the directory where the first picture is located except the pictures included in the first preview list.
3. The method of claim 2, wherein after loading the preview information of the pictures in the catalog of the first picture except the pictures included in the first preview list into a second preview list, the method further comprises:
if the currently displayed picture is determined to be the last picture in the first preview list, updating the displayed picture preview information, wherein the updated picture preview information comprises the picture preview information included in the second preview list and the picture preview information in the first preview list;
or if the second picture to be displayed currently is determined not to be in the first preview list according to the received request for displaying the second picture, updating the displayed picture preview information, wherein the updated picture preview information comprises the picture preview information in the second preview list and the picture preview information in the first preview list.
4. The method of claim 2, wherein after loading the picture preview information of the pictures in the catalog in which the first picture is located, except for the pictures included in the first preview list, into a plurality of third preview lists, the method further comprises:
if the currently displayed picture is determined to be the last picture in the first preview list, updating the displayed picture preview information, wherein the updated picture preview information at least comprises the picture preview information in a third preview list and the picture preview information in the first preview list;
or if the second picture is determined not to be in the first preview list according to the received request for displaying the second picture, determining a third preview list where the second picture is located according to the request for displaying the second picture, and updating the displayed picture preview information, wherein the updated picture preview information at least comprises the picture preview information in the third preview list where the second picture is located and the picture preview information in the first preview list.
5. The method of any one of claims 1-4, further comprising:
and if the first threshold value is larger than the number of the pictures in the catalog of the first picture, loading the preview information of all the pictures in the catalog of the first picture into a first preview list.
6. A picture display device, characterized in that the device comprises:
a decoding module to decode a first picture based on a request to display the first picture;
the loading module is used for loading the picture preview information of N pictures into a first preview list when the number of the pictures in the directory where the first picture is located is greater than or equal to a first threshold, wherein the first threshold is the number of the pictures corresponding to the picture preview information which is loaded within the decoding time length of a single picture, and the size of N is equal to the first threshold;
and the display module is used for displaying the decoded first picture and part or all of picture preview information included in the first preview list.
7. The apparatus of claim 6, wherein the loading module is further to:
loading the picture preview information of other pictures in the catalog where the first picture is located except the pictures included in the first preview list into a second preview list;
or, loading the picture preview information of the other pictures in the directory where the first picture is located except the pictures included in the first preview list into a plurality of third preview lists, where each third list includes preview information of a group of pictures, the number of the pictures in each group is not greater than the first threshold, and the number of the pictures included in the third preview lists is the number of the pictures in the directory where the first picture is located except the pictures included in the first preview list.
8. The apparatus of claim 7, wherein the display module is further to:
if the currently displayed picture is determined to be the last picture in the first preview list, updating the displayed picture preview information, wherein the updated picture preview information comprises the picture preview information in the second preview list and the picture preview information in the first preview list;
or if the second picture to be displayed currently is determined not to be in the first preview list according to the received request for displaying the second picture, updating the displayed picture preview information, wherein the updated picture preview information comprises the picture preview information in the second preview list and the picture preview information in the first preview list.
9. The apparatus of any of claims 6-8, wherein the loading module is further to:
and if the first threshold value is larger than the number of the pictures in the catalog of the first picture, loading the preview information of all the pictures in the catalog of the first picture into a first preview list.
10. A display device, comprising:
a display;
a memory for storing computer program instructions;
a processor, coupled to the memory, for reading computer program instructions stored by the memory and, in response, performing the method of any of claims 1 to 5.
CN201710156015.0A 2017-03-16 2017-03-16 Picture display method and device Active CN106940722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710156015.0A CN106940722B (en) 2017-03-16 2017-03-16 Picture display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710156015.0A CN106940722B (en) 2017-03-16 2017-03-16 Picture display method and device

Publications (2)

Publication Number Publication Date
CN106940722A CN106940722A (en) 2017-07-11
CN106940722B true CN106940722B (en) 2020-07-10

Family

ID=59469536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710156015.0A Active CN106940722B (en) 2017-03-16 2017-03-16 Picture display method and device

Country Status (1)

Country Link
CN (1) CN106940722B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319726A (en) * 2018-02-28 2018-07-24 Tcl移动通信科技(宁波)有限公司 A kind of method, storage device and the mobile terminal of more picture simultaneous displays
CN109726343A (en) * 2018-12-26 2019-05-07 北京字节跳动网络技术有限公司 Image carousel method and device
CN112104907B (en) * 2019-06-17 2024-02-23 西安光启智能技术有限公司 Picture playing method and device
CN111966262B (en) * 2020-10-23 2022-03-18 统信软件技术有限公司 Picture display method and computing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729438A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Webpage preloading method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020094868A1 (en) * 2001-01-16 2002-07-18 Alma Tuck Methods for interactive internet advertising, apparatuses and systems including same
US9922383B2 (en) * 2003-11-07 2018-03-20 Spore, Inc. Patent claims analysis system and method
KR20070008898A (en) * 2005-07-12 2007-01-18 삼성전자주식회사 Residential ethernet node apparatus for transmitting synchronous data by using counter and it's transmitting method
CN101794567B (en) * 2010-02-10 2014-01-01 中兴通讯股份有限公司 Method and terminal for loading pictures
CN102651001B (en) * 2011-02-28 2016-07-27 腾讯科技(深圳)有限公司 A kind of method of picture browsing and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729438A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Webpage preloading method and device

Also Published As

Publication number Publication date
CN106940722A (en) 2017-07-11

Similar Documents

Publication Publication Date Title
US11743541B2 (en) Video providing textual content system and method
CN106940722B (en) Picture display method and device
US9275604B2 (en) Constant speed display method of mobile device
US11294548B2 (en) Video content play
CN109218819B (en) Video preview method and mobile terminal
US20170116706A1 (en) Method for displaying a picture on a terminal, and the terminal
CN107247508B (en) Data source processing method and terminal equipment
CN110968391A (en) Screenshot method, screenshot device, terminal equipment and storage medium
WO2021018186A1 (en) Video update push method and terminal
CN107608588B (en) Display layer, display method, display system and operating system
CN114416261B (en) Information display method, device, equipment and medium
US20180070093A1 (en) Display apparatus and control method thereof
CN111597009B (en) Application program display method and device and terminal equipment
CN113051493A (en) Application program display method and device, storage medium and terminal
CN113014993B (en) Picture display method, device, equipment and storage medium
CN115080037A (en) Method, device, equipment and storage medium for page interaction
US20170228136A1 (en) Content providing method, content providing apparatus, and computer program stored in recording medium for executing the content providing method
US20170245007A1 (en) Television system and method for promptly displaying information on television system
CN110866203B (en) Page jump method, device, equipment and computer readable storage medium
CN111782100A (en) Method, device, terminal and storage medium for previewing background picture
US20120198326A1 (en) Method and apparatus for web browsing of handheld device
CN111782113B (en) Display method, display device and computer-readable storage medium
US20110187742A1 (en) Electronic device and method of switching images
CN114666647B (en) Method, device and related assembly for realizing picture-in-picture between different information sources
CN113490051B (en) Video frame extraction method and device, electronic equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Applicant before: HISENSE ELECTRIC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant