CN106982388B - Picture display method and device - Google Patents

Picture display method and device Download PDF

Info

Publication number
CN106982388B
CN106982388B CN201710219957.9A CN201710219957A CN106982388B CN 106982388 B CN106982388 B CN 106982388B CN 201710219957 A CN201710219957 A CN 201710219957A CN 106982388 B CN106982388 B CN 106982388B
Authority
CN
China
Prior art keywords
picture
interface
display
data
thumbnail
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
CN201710219957.9A
Other languages
Chinese (zh)
Other versions
CN106982388A (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.)
Shenzhen Chuangwei RGB Electronics Co Ltd
Original Assignee
Shenzhen Chuangwei RGB Electronics 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 Shenzhen Chuangwei RGB Electronics Co Ltd filed Critical Shenzhen Chuangwei RGB Electronics Co Ltd
Priority to CN201710219957.9A priority Critical patent/CN106982388B/en
Publication of CN106982388A publication Critical patent/CN106982388A/en
Priority to PCT/CN2018/077899 priority patent/WO2018184436A1/en
Application granted granted Critical
Publication of CN106982388B publication Critical patent/CN106982388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a picture display method and device. The method comprises the following steps: acquiring original image data of a decoded currently selected display picture; obtaining at least one display picture to be selected according to the currently selected display picture and a preset picture judgment rule, and obtaining thumbnail data of the display picture to be selected; loading data of an interface to be displayed, and dynamically dividing the interface to be displayed into a current display interface and at least one hidden invisible interface according to the current selected display picture and the picture to be selected; and loading the original image data and the thumbnail image data on the current display interface, and displaying the original image and the thumbnail image. By adopting the technical scheme, the problems of too slow loading or failed loading of the picture and the like are solved, the utilization rate of the television memory is improved, the picture can be clearly displayed in the process of browsing the picture by a user at a high speed, and the watching experience of the user is improved.

Description

Picture display method and device
Technical Field
The embodiment of the invention relates to the technical field of interface management and display, in particular to a picture display method and device.
Background
With the development of society, the progress of technology and the popularity of photography, the intelligent terminal equipment with high definition brings different audio-visual enjoyment for the vast consumer groups, and more intelligent televisions also enter common families. Users have more demands and higher requirements for browsing and viewing pictures through intelligent devices such as smart televisions.
In the existing display technology of a television, a picture to be displayed is generally stored in a memory of the television. When the picture needs to be displayed on the television, firstly, an interface to be displayed needs to be created, then, the created interface is loaded on a television screen, and meanwhile, the picture needing to be displayed is obtained from a television memory and is decoded and displayed. The management method for the display interface and the display pictures thereof has the following defects:
when a user needs to browse a huge number of high definition and high resolution pictures,
a. the problems of unclear picture display, even possible television locking or restarting and the like can easily occur due to overload of a television CPU and insufficient memory;
b. the phenomenon of too slow loading or failure of loading of the picture can also occur, so that the user loses patience in the browsing process and is easy to cause visual fatigue.
Therefore, the reliability of the management mode of the interface and the picture thereof in the prior art is poor, and the user experience needs to be improved.
Disclosure of Invention
In order to solve the related technical problems, the invention provides a picture display method and a picture display device, so that a user can quickly and uninterruptedly view pictures in the process of browsing the pictures at a high speed, system resources can be effectively saved, and the utilization rate of a CPU (central processing unit) is improved.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for displaying a picture, which is applied to a smart television, and the method includes:
acquiring original image data of a decoded currently selected display picture;
obtaining at least one display picture to be selected according to the currently selected display picture and a preset picture judgment rule, and obtaining thumbnail data of the display picture to be selected;
loading data of an interface to be displayed, and dynamically dividing the interface to be displayed into a current display interface and at least one hidden invisible interface according to the current selected display picture and the display picture to be selected, wherein the current display interface is used for displaying an original image of the currently selected display picture and a thumbnail of the at least one display picture to be selected, and the hidden invisible interface and the display picture to be selected have a preset corresponding relation;
and loading the original image data and the thumbnail image data on the current display interface, and displaying the original image and the thumbnail image.
In a second aspect, an embodiment of the present invention provides a picture display device, which is applied to a smart television, and the device includes:
the original image data acquisition module is used for acquiring original image data after the current selected display picture is decoded;
the to-be-selected display picture acquisition module is used for obtaining at least one to-be-selected display picture according to the currently selected display picture and a preset picture judgment rule and acquiring thumbnail data of the to-be-selected display picture;
the device comprises a to-be-displayed interface loading module, a to-be-displayed interface loading module and a to-be-displayed interface loading module, wherein the to-be-displayed interface loading module is used for loading data of an interface to be displayed and dynamically dividing the interface to be displayed into a current display interface and at least one hidden invisible interface according to the current selected display picture and the to-be-selected display picture, the current display interface is used for displaying an original image of the currently selected display picture and a thumbnail of the at least one to-be-selected display picture, and the hidden invisible interface and the to-be-selected display picture have a preset corresponding relation;
and the picture display module is used for loading the original image data and the thumbnail image data on the current display interface and displaying the original image and the thumbnail image.
According to the technical scheme provided by the embodiment of the invention, the original image data of the decoded currently selected display picture is obtained, at least one display picture to be selected is obtained according to the currently selected display picture, the preset picture priority and the judgment rules such as the preset algorithm and the like, and the thumbnail data of the display picture to be selected is obtained. Loading data of an interface to be displayed, and dynamically dividing the interface to be displayed into a current display interface and at least one hidden invisible interface, wherein the current display interface is used for displaying the original image of the currently selected and displayed picture and the thumbnail of the at least one picture to be selected and displayed, and the hidden invisible interface and the picture to be selected and displayed have a preset corresponding relation. And loading original image data and the thumbnail data on a current display interface, and displaying the original images and the thumbnails. By adopting the technical scheme, in the process of browsing massive pictures at high speed by a user through picture display equipment such as the intelligent television, the data of the current interface to be displayed and the original image data after the current selected display picture is decoded are obtained in the memory of the intelligent television, so that the currently selected display picture can be quickly and clearly loaded and displayed on the current display interface. And simultaneously, selecting at least one to-be-selected display picture different from the currently selected display picture from the massive pictures stored in the smart television according to the currently selected display picture and a preset picture judgment rule, acquiring thumbnail data of the to-be-selected display picture, and displaying the thumbnail on a current display interface. After browsing the original image of the currently selected display picture, the user can more directly and conveniently select the thumbnail, so that the user can conveniently and quickly browse the next picture. And by the technical means that the interface to be displayed is dynamically divided into the current display interface and at least one hidden invisible interface, and a preset corresponding relation exists between the hidden invisible interface and the picture to be selected, the user can smoothly and clearly browse the thumbnail or original image of the next picture to be selected on the original hidden invisible interface (the current display interface) at a high speed. By adopting the technical scheme, the display interface of the intelligent television can rapidly and clearly browse massive pictures without the phenomena of abnormity or unsmoothness and the like such as 'black screen' or 'blockage', and the like, so that the memory utilization rate of the intelligent television is improved, and the sensory experience of a user is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts;
fig. 1 is a schematic flowchart of a method for displaying a picture according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an interface conversion according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for displaying a picture according to a second embodiment of the present invention;
fig. 4 is a block diagram of a picture display device according to a third embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart illustrating a method for displaying a picture according to an embodiment of the present invention. The method of the present embodiment may be performed by a picture display apparatus such as a smart tv, wherein the apparatus may be implemented by software and/or hardware deployed in the picture display apparatus for displaying pictures in the smart tv. As illustrated in fig. 1, the method may include the steps of:
s110: and acquiring original image data of the decoded currently selected display picture.
For example, the source of the picture may be a local picture stored in a picture display device such as a smart television, or a picture stored in a peripheral device such as a usb disk or a hard disk connected to the picture display device such as the smart television, or a picture acquired by the smart television through the internet and stored in a certain cloud.
For example, the decoded original image data is original image data obtained by decoding the picture data in the specific format in accordance with the picture storage format.
Before original image data of a currently selected display image after decoding is obtained, if it is judged that the data of the original image (the original image for short) of the currently selected display image of a user after decoding is cached in a memory, a hard disk or a magnetic disk of the smart television, at the moment, the original image data does not need to be decoded; if the original picture data is judged not to be cached in the memory or the magnetic disk of the smart television, the obtained original picture data needs to be decoded to obtain decoded original picture data.
Before acquiring the decoded original image data of the currently selected display picture, the method may further include:
decoding the currently selected and displayed picture to obtain decoded original picture data of the currently selected and displayed picture; and dynamically caching the decoded original image data of the currently selected and displayed image in a memory and/or a magnetic disk according to a preset image data caching rule.
Preferably, the decoded original image data is stored in a cache. The cache storage may include a memory cache and a disk cache. By dynamically caching the decoded original image data, the high-speed loading and displaying of the picture to be selected can be realized in the process that a user browses massive pictures at high speed from left to right under the condition that the space of a memory and/or a disk is certain, and compared with the technical scheme without caching, the picture data cached in the cache is more fully utilized.
S120: and obtaining at least one display picture to be selected according to the currently selected display picture and a preset picture judgment rule, and obtaining thumbnail data of the display picture to be selected.
The preset picture prejudging rule is preferably as follows: and according to the preset picture priority and a preset algorithm, picture pre-judgment is carried out, and at least one picture to be selected and displayed can be obtained according to the pre-judgment result.
Preferably, the preset picture priority may be: the priority of the currently selected display picture is highest; pictures closer to the storage location of the currently selected display picture have higher priority, and vice versa. For example, the priority of the picture may also be determined according to a specific priority identifier carried in the original picture data, so that when the picture is cached and stored, the picture may be dynamically cached after being sorted according to the priority identifier. Therefore, after the currently selected and displayed picture is determined, at least one next display picture to be selected can be further determined according to the currently selected and displayed picture.
Specifically, the priority identifier of the picture (for example, based on time or based on location) may be set before the smart television leaves a factory, and when the picture is stored by the user, the picture stored by the user may be categorized according to the requirement of the user (for example, categorized according to factors such as storage of the picture, or shooting time or shooting location), and meanwhile, the corresponding priority identifier may be added to different pictures, for example, in the current time period, the corresponding priority identifier may be added to the picture stored by the user according to the time sequence. When a user browses pictures, the smart television can automatically push the pictures to the user according to the priority of the pictures and the current pictures to be selected and displayed in sequence according to the time sequence.
Optionally, the priority identifier of the picture may also be added by the user, that is, when the user stores the picture, the priority identifier corresponding to the stored picture may be added according to actual requirements, for example, identifier 1 is added to picture a, and identifier 2 is added to picture B, where the priority of identifier 1 is higher than the priority of identifier 2. The advantages of such an arrangement are: the pictures stored by the user can be sequenced according to the actual requirements of the user. When the user browses the pictures, the default display sequence of the pictures can also meet the requirements of the user.
Illustratively, the priority of the pictures can also be dynamically changed according to the operation of the user. In the specific implementation process, historical picture browsing operation behaviors of the user can be counted in a machine learning mode, so that the degree of attachment and the degree of default between a picture judgment rule executed by a program in the intelligent device and the historical picture browsing operation of the user are higher, and further the result and the efficiency of preparing to judge whether the user wants to select the displayed picture next step according to the currently selected displayed picture and the preset picture judgment rule are effectively improved. For example, when a user browses pictures in a picture library, the intelligent device can acquire the browsing time of the user to the pictures, and determine the priority of the pictures by counting the browsing time of each picture. Specifically, if the longest browsing time of the user for the picture a is counted within one week, the priority of the picture a may be set as the first level, and the picture a is cached at the position of the first picture in the picture library. By the arrangement, the first currently displayed picture is the picture A in the process of browsing the massive picture library by the user, so that the time for searching the picture A is saved, and the user experience is improved.
For another example, in a time period of one week, the system statistically finds that after the user browses picture a, it takes the most time to browse picture B, which means that the relevance between picture B and picture a is strongest, so that it can be inferred that after the user browses picture a, the user may want to browse picture B immediately. Thus, picture B has the highest priority to view next to picture a. Based on statistics like this, at least one or more next pictures that the user may want to browse after browsing the at least one or more pictures a can be obtained according to the currently selected display picture and the preset picture judgment rule.
Further, after the currently selected display picture and the at least one to-be-selected display picture are determined, thumbnail data corresponding to the currently selected display picture and the at least one to-be-selected display picture can also be determined at the same time. Preferably, the at least one to-be-selected display picture and the thumbnail data corresponding to the to-be-selected display picture are stored in a cache manner.
S130: and loading data of the interface to be displayed, and dynamically dividing the interface to be displayed into a current display interface and at least one hidden invisible interface according to the current selected display picture and the picture to be selected.
The current display interface is used for displaying an original image of a currently selected and displayed picture and at least one thumbnail of a picture to be selected and displayed, and the hidden invisible interface and the picture to be selected and displayed have a preset corresponding relation.
The interface to be displayed is a carrier of the currently selected display picture and the picture to be selected. The currently displayed interface is an interface that can be seen by the user, and is typically the interface where the picture that the user is browsing is. The interface can display the original image of the picture currently selected and displayed by the user and the thumbnail of the picture to be selected and displayed next to the user. Accordingly, the hidden invisible interface is not within the visible area of the user, and is usually a picture interface that the user has browsed last or a picture interface to be browsed next. Since the display pictures to be selected are sorted according to the priorities, a preset corresponding relationship exists between the hidden invisible interface and the display pictures to be selected, and the preset corresponding relationship can be determined according to the priorities of the display pictures to be selected as optional.
After the interface to be displayed is loaded, one or more pictures can be displayed on the current display interface. For example, the current display interface may be configured to display an original image of the currently selected display image and a corresponding thumbnail image, where the thumbnail image may be displayed in a sliding manner according to a predetermined trajectory in a manner that the thumbnail image floats above, below, above, or below the original image according to a preset path. For example, four display pictures to be selected may be presented at four corner positions of the current display interface, or two display pictures may be placed on the left side of the original image of the current selected display picture and two display pictures may be placed on the right side of the original image of the current selected display picture without affecting the user to browse the current picture. For example, the interface to be displayed can be adaptively scaled according to the size of the display screen of the smart television and the content of the picture to be displayed, so as to enhance the sensory experience of the user.
It should be noted that, in the process of dividing the interface to be displayed, the current display interface and the hidden invisible interface are not fixed and may be converted according to a browsing switching instruction initiated by the user. In the process that a user browses the pictures in a left or right mode, the current display interface and the hidden invisible interface are always in a dynamic conversion process.
For example, it is assumed that the interface to be displayed is dynamically divided into a current display interface and two hidden invisible interfaces distributed on the left and right sides of the current display interface, the left hidden invisible interface corresponds to a thumbnail on the left side of a currently selected display picture on the current display interface, and the right hidden invisible interface corresponds to a thumbnail on the right side of the currently selected display picture on the current display interface.
When the user selects the thumbnail on the right side of the currently selected display picture on the current display interface, that is, the user selects to start browsing the to-be-selected display picture corresponding to the thumbnail on the right side of the currently selected display picture, the dynamic change process of the interface is as follows: changing the hidden invisible interface on the right side of the original current display interface into a new current display interface; the original current display interface is changed into a hidden invisible interface on the left side of a new current display interface (a hidden invisible interface on the right side of the original current display interface); the hidden invisible interface on the left side of the original current display interface is changed into a hidden invisible interface on the right side of the new current display interface (the hidden invisible interface on the right side of the original current display interface).
When the user selects the thumbnail on the left side of the currently selected display picture on the current display interface, that is, the user selects to start browsing the to-be-selected display picture corresponding to the thumbnail on the left side of the currently selected display picture, the dynamic change process of the interface is as follows: changing the hidden invisible interface on the left side of the original current display interface into a new current display interface; the original current display interface is changed into a hidden invisible interface on the right side of a new current display interface (a hidden invisible interface on the left side of the original current display interface); the hidden invisible interface on the right side of the original current display interface is changed into a hidden invisible interface on the left side of a new current display interface (the hidden invisible interface on the left side of the original current display interface).
Therefore, no matter when a user browses massive pictures, after browsing the currently selected and displayed picture, the user continues to select the thumbnail on the right side or the left side of the currently selected and displayed picture displayed on the current display interface to browse the next picture, the user can directly call, instead of newly creating corresponding hidden invisible interface data, in the memory, the memory cache area or the disk cache area, and acquire the decoded original image data corresponding to the thumbnail from the memory, the memory cache area or the disk cache area according to the corresponding relation between the hidden interface and the thumbnail displayed on the current display interface, so that the loading stability of the interface of the next picture and the decoded original image data corresponding to the picture and the high efficiency of interface recycling are realized.
Meanwhile, because the currently selected display picture is updated to a picture corresponding to the left or right thumbnail of the original currently selected display picture, the system such as the smart television can obtain two new display pictures to be selected by the user according to the updated picture and a preset picture judgment rule, acquire the original pictures and the thumbnail data of the two display pictures to be selected by the user, cache the data in a memory or a disk, and place the thumbnails on two sides of the new currently selected display picture for the user to select to continue browsing in the next step. This dynamic cycling continues.
Before the step of loading the data of the interface to be displayed, the method may further include: creating an interface to be displayed, obtaining data of the interface to be displayed, and caching the data of the interface to be displayed, wherein the embodiment preferably includes a memory cache and a disk cache. The setting is that when the interface is displayed next time, the data of the interface to be displayed can be directly acquired, extra resources and time are not needed to be spent to newly create an extra interface to be displayed and generate the data of the interface to be created, and the aim of smoothly loading the interface to be displayed at a high speed is fulfilled. For example, creating the currently displayed interface and the at least one hidden invisible interface may include: determining the specific number of invisible interfaces to be hidden according to the specific configuration attributes such as the size of the memory capacity and the model of the smart television; and dynamically caching the data of the current display interface and the hidden invisible interface based on the specific number of the hidden invisible interfaces and according to a preset interface storage rule.
For example, for an intelligent device (e.g. a smart television) with a memory size of 2G or less than 2G, preferably 3 interfaces (e.g. interface a, interface B, and interface C) are cached to meet the requirement of the user for switching browsing at a high speed. The interface A is a current display interface, the interfaces B and C are 2 hidden invisible interfaces, the hidden invisible interfaces B and C are subjected to memory pre-caching (at the moment, the hidden invisible interfaces B and C have corresponding relations with the display pictures to be selected), and 1 current display interface A displays the currently selected display pictures to a user. When a user browses the current display interface A, the left side of the current display interface A is a hidden invisible interface B dynamically cached in the memory, and the right side of the current display interface A is a hidden invisible interface C dynamically cached in the memory. For example, for a device (e.g., a smart television) with a memory size of 2G or more (e.g., 4G or 8G), it may be preferable to cache 5 interfaces. Fig. 2 is a schematic diagram of interface conversion according to an embodiment of the present invention, as shown in fig. 2, 4 interfaces (numbered as: 1, -1, 2, and-2) are hidden invisible interfaces, and 1 interface (numbered as: 0) is used as a current display interface to display a currently selected display picture to a user. After the picture browsing switching instruction of the user is obtained, the 5 interfaces can dynamically display the target picture to be switched and browsed by the user according to the switching instruction.
The utilization rate of the memory resources can be further improved by determining the number of the hidden invisible interfaces according to the memory attributes. The data of the hidden invisible interface is dynamically cached, so that the dynamic management of the interface can be effectively realized, the utilization rate of the interface can be optimized, and the occupation and the allocation of an invalid interface to a memory are avoided. When the user browses the pictures quickly, the interface is continuously displayed to the user, and user experience is improved.
It should be noted here that the data caching processing on the interface to be displayed and the caching processing on the decoded original image data may be performed synchronously, or may be performed separately, and the specific sequence is not limited at all.
S140: and loading original image data and the thumbnail data on a current display interface, and displaying the original images and the thumbnails.
Preferably, in order to bring a good sensory experience to the user, the data of the current display interface and the data of the current picture after decoding can be loaded synchronously. In the process of loading the decoded data of the original image of the currently selected display picture, the data can be sequentially loaded according to the priority of the original picture. In the process of browsing pictures at high speed by a user, the loading speed of the picture data is adaptive to the speed of the user switching interface, and the arrangement is that the phenomena of 'black screen' or 'blockage' and the like cannot occur in the process of browsing a large number of pictures by the user.
After the data of the current display interface and the data of the decoded original image of the currently selected display picture are loaded, the currently selected display picture can be displayed on the current display interface. For example, the thumbnail corresponding to the to-be-selected display picture may also be displayed on the left side, the right side, or the lower side of the currently-selected display picture in the current display interface, so that the user can conveniently and quickly select the next target picture to be browsed according to the thumbnail.
Further, after the original image and the thumbnail are displayed, if a browsing switching instruction of the user is obtained, the current display interface and the current picture are also updated, and the picture can be displayed according to the method provided in step S110-140. For example, if the thumbnail is selected as the currently selected and displayed picture, the hidden invisible interface corresponding to the thumbnail is updated to the new currently visible display interface, and the original currently displayed interface is updated to the new hidden invisible interface. Illustratively, if 3 display interfaces A, B and C are cached in the smart television. When a user browses the current display interface A, the left side of the current interface A is a hidden invisible interface B dynamically cached in the memory, and the right side of the current interface A is a hidden invisible interface C dynamically cached in the memory. When an instruction of browsing to the left by a user is obtained, the hidden invisible interface C cached on the right replaces the current visible interface a, at this time, the hidden invisible interface C is used as a new current visible interface, and the original current display interface a is used as a new hidden invisible interface dynamically cached. Meanwhile, the picture in the current visible interface is replaced by the next picture on the right. When an instruction for browsing to the right by the user is obtained, the hidden invisible interface B cached on the left side is switched to a new current display interface, and meanwhile, the currently selected and displayed picture is replaced by the picture on the left side.
The embodiment provides a picture display method which can be applied to an intelligent television. In the process that a user browses massive pictures at high speed through picture display equipment such as a smart television, the data of the current interface to be displayed and the original image data of the decoded currently selected display picture are acquired in a memory of the smart television, so that the currently selected display picture can be quickly and clearly loaded and displayed on the current display interface. And simultaneously, selecting at least one to-be-selected display picture different from the currently selected display picture from the massive pictures stored in the smart television according to the currently selected display picture and a preset picture judgment rule, acquiring thumbnail data of the to-be-selected display picture, and displaying the thumbnail on a current display interface. After browsing the original image of the currently selected display picture, the user can more directly and conveniently select the thumbnail, so that the user can conveniently and quickly browse the next picture. And by the technical means that the interface to be displayed is dynamically divided into the current display interface and at least one hidden invisible interface, and a preset corresponding relation exists between the hidden invisible interface and the picture to be selected, the user can smoothly and clearly browse the thumbnail or original image of the next picture to be selected on the original hidden invisible interface (the current display interface) at a high speed. By adopting the technical scheme, the display interface of the intelligent television can rapidly and clearly browse massive pictures without the phenomena of abnormity or unsmoothness and the like such as 'black screen' or 'blockage', and the like, so that the memory utilization rate of the intelligent television is improved, and the sensory experience of a user is further improved.
Example two
Fig. 3 is a flowchart illustrating a picture displaying method according to a second embodiment of the present invention. The second embodiment is optimized on the basis of the first embodiment, and referring to fig. 3, the second embodiment of the present invention specifically includes the following steps:
s210: and decoding the currently selected and displayed picture to obtain the original picture data of the currently selected and displayed picture after decoding.
S220: and dynamically caching the original image data after the currently selected display image is decoded in a memory and/or a disk according to a preset image data caching rule.
Further, thumbnail data corresponding to the currently selected display picture can be obtained and cached.
S230: and obtaining a display picture to be selected according to a preset picture pre-judgment rule, and decoding the display picture to be selected based on a preset thumbnail proportion and/or a preset memory multiplexing rule to obtain the decoded thumbnail data of the display picture to be selected.
Illustratively, for each picture, it needs to be decoded before it is displayed for the first time. For the decoded picture data cached in the memory or the disk, when the picture data is loaded, the decoding is not needed, and the data can be directly acquired and displayed. Therefore, after the picture to be selected and displayed is determined according to the preset picture pre-judging rule, whether the corresponding decoded data is cached in the memory or the disk can be judged, if so, the original picture data does not need to be decoded and can be directly loaded; if not, the original image data is decoded to obtain the decoded original image data.
For example, the thumbnail data corresponding to the original image data may be determined based on a predetermined thumbnail ratio (e.g., 1:8) of the thumbnail with respect to the original image and/or a predetermined memory multiplexing rule. The thumbnail proportion is preset to be the thumbnail displayed on the screen, so that the effect that a user can roughly judge the current picture to be selected to be displayed according to the thumbnail is not influenced.
S240: and dynamically caching the decoded thumbnail data of the picture to be selected for display in a memory and/or a disk according to a preset picture data caching rule.
By caching the picture data, the decoding, loading and displaying work efficiency of massive pictures in the dynamic browsing process can be improved, and the memory resource of the system can be saved.
For example, the preset data caching rules may include: and caching the data according to a preset page replacement algorithm. The preset page replacement algorithm is preferably a Least Recently Used (LRU) algorithm. In a specific implementation process, the size of the decoded original image data or thumbnail image data cached in the memory and/or the disk can be determined according to software and hardware configuration attributes of the smart television. For example, in the case that the size of the memory and/or the disk occupied by the original image data and/or the thumbnail image data which needs to be cached currently exceeds the remaining storage space (for example, 100M) of the preset memory and/or disk, the number of times that the original image data and/or the thumbnail image data which has been cached within a preset time (for example, 15 days) is counted, and if the counted number of times that the original image data and/or the thumbnail image data is browsed by the user is lower than a preset threshold (for example, 3 times), the original image data and/or the thumbnail image data of which the browsing number is lower than the preset threshold is deleted from the memory based on the LRU algorithm, so as to provide a caching space for the newly judged number of the original image data and/or the. The advantages of such an arrangement are: the size of the memory and the cache can be dynamically and effectively controlled, so that the memory and the cache space of the smart television can be in a reasonable range, the working efficiency of decoding, loading and displaying pictures when a user browses massive pictures is improved, and the user experience is improved.
Specifically, when the original image data is cached in the memory, under the condition that the original image data is guaranteed to be displayed optimally, the size of the data after 2-3 original images are decoded is generally set to be cached, and the size is about 2 mega (M). When caching thumbnail data, the size of the thumbnail data is generally set to be about 6 megabits (M) by setting the cache to 8-10 expanded thumbnail data under the condition that the picture data can be switched at a high speed. For some highly configured smart televisions, due to the fact that the memory space of the smart televisions is large, the size of the cached thumbnail data can be correspondingly increased to 12 megabytes (M), and therefore thumbnail generation, display and loading speed is further increased.
For example, the following two cases can be included for the way of using the disk cache:
1. the thumbnail data with high priority is preloaded by adopting the sub-thread, so that the original image data can be directly converted into the thumbnail for disk cache under the condition that the original image data has no thumbnail, and the thumbnail loading speed is improved. The size of the specifically cached thumbnail data can be appropriately adjusted according to the space of the disk, and generally, the cached thumbnail data is preferably 80 megabytes (M);
2. and caching the decoded original image data by adopting the sub-thread, wherein the original image data can be directly converted into cache data for displaying during second loading. In this case, since the decoded original image data still occupies a large space, it is generally preferable that the decoded original image data is buffered by 100 megabits (M).
It should be noted that, the caching of the currently selected display picture data and the corresponding thumbnail data in step S220 and the caching of the corresponding thumbnail data decoded from the display picture to be selected in step S240 may be performed synchronously or asynchronously.
S250: and acquiring original image data and thumbnail data of the decoded currently selected display picture and thumbnail data of the decoded to-be-selected display picture.
For example, it is generally preferable that the thumbnail of the picture to be selected is obtained and displayed in the process of browsing the picture at a high speed by the user, that is, the currently selected and displayed picture on the current display interface is continuously switched with the continuous switching of the interface, and the thumbnail displayed on the current display interface is continuously and dynamically updated according to the preset picture pre-judgment rule. When the user stops browsing at a high speed, the original image data after decoding the picture to be selected and displayed needs to be acquired, and at the moment, the thumbnail data is replaced by the original image data corresponding to the thumbnail data, namely, the original image data is presented on the current display interface. By the above dynamic management mode for the pictures, the loading and displaying speed of the pictures can be improved.
S260: and loading data of the interface to be displayed, and dynamically dividing the interface to be displayed into a current display interface and at least one hidden invisible interface.
S270: and loading and displaying original image data decoded from the currently selected display picture and thumbnail data to be selectively displayed on the current display interface.
For example, if the user wants to browse pictures in the right direction at a high speed, the user may send a right picture browsing switching instruction (e.g., long-pressing the right button of the remote controller or continuously clicking the "right button" indication button of the screen) through the remote controller or the touch screen. After the smart television acquires the picture browsing switching instruction, the thumbnail data cached in the memory space or the disk and other storage spaces do not need to be decoded, and can be loaded at a high speed according to the picture browsing switching instruction and displayed in a corresponding display interface (namely, the thumbnail is displayed to a user without interruption). Therefore, by adopting the technical means of caching the pictures and the interface data and establishing the corresponding relation between the interface and the pictures, the hit rate of the memory data and the cache data is remarkably improved in the process that a user continuously browses massive pictures at a high speed, and the picture data resources are fully utilized. The problem that the user loses patience due to the fact that the picture is decoded for a long time is solved, meanwhile, the occupation of a Central Processing Unit (CPU) by a decoding program is effectively relieved, and the technical problems of 'jamming' or 'crash' and the like caused when picture display equipment such as a smart television rapidly displays a large number of pictures are solved.
On the basis of the foregoing embodiment, the embodiment may further improve utilization rates of the smart television and the picture resources by caching the decoded original image data and the corresponding thumbnail data, and determining the size of the cache quota of the decoded original image data and the corresponding thumbnail data according to the configuration attribute of the smart television. In the process that a user browses massive pictures at a high speed, the pictures can be preferentially displayed to the user in a thumbnail mode without gaps, and the visual experience of the user for browsing and watching the pictures quickly is improved.
EXAMPLE III
Fig. 4 is a block diagram of a picture display device according to a third embodiment of the present invention. The device can be realized by software and/or hardware, and can be generally integrated into a smart television. As shown in fig. 4, the apparatus includes: the system comprises an original image data acquisition module 310, a to-be-selected display image acquisition module 320, a to-be-displayed interface loading module 330 and an image display module 340.
The original image data obtaining module 310 is configured to obtain original image data obtained after decoding a currently selected display picture; a to-be-selected display picture obtaining module 320, configured to obtain at least one to-be-selected display picture according to the currently selected display picture and a preset picture judgment rule, and obtain thumbnail data of the to-be-selected display picture; a to-be-displayed interface loading module 330, configured to load data of an interface to be displayed, and dynamically divide the interface to be displayed into a current display interface and at least one hidden invisible interface according to the current selected display picture and the to-be-selected display picture, where the current display interface is configured to display an original image of the currently selected display picture and a thumbnail of the at least one to-be-selected display picture, and the hidden invisible interface has a preset corresponding relationship with the to-be-selected display picture; and the picture display module 340 is configured to load the original image data and the thumbnail image data on the current display interface, and display the original image and the thumbnail image.
In the process that a user browses a large number of pictures at a high speed through picture display equipment such as a smart television, the data of the current interface to be displayed and the original image data of the decoded currently selected display picture are already acquired in the memory of the smart television, so that the currently selected display picture can be quickly and clearly loaded and displayed on the current display interface. And simultaneously, selecting at least one to-be-selected display picture different from the currently selected display picture from the massive pictures stored in the smart television according to the currently selected display picture and a preset picture judgment rule, acquiring thumbnail data of the to-be-selected display picture, and displaying the thumbnail on a current display interface. After browsing the original image of the currently selected display picture, the user can more directly and conveniently select the thumbnail, so that the user can conveniently and quickly browse the next picture. And by the technical means that the interface to be displayed is dynamically divided into the current display interface and at least one hidden invisible interface, and a preset corresponding relation exists between the hidden invisible interface and the picture to be selected, the user can smoothly and clearly browse the thumbnail or original image of the next picture to be selected on the original hidden invisible interface (the current display interface) at a high speed. By adopting the technical scheme, the display interface of the intelligent television can rapidly and clearly browse massive pictures without the phenomena of abnormity or unsmoothness and the like such as 'black screen' or 'blockage', and the like, so that the memory utilization rate of the intelligent television is improved, and the sensory experience of a user is further improved.
On the basis of the above embodiment, the apparatus further includes: and the interface cache module is used for creating the interface to be displayed before the data of the interface to be displayed is loaded, obtaining the data of the interface to be displayed, and caching the data of the interface to be displayed according to a preset interface data cache rule.
On the basis of the above embodiment, the apparatus further includes: the first decoding module is used for decoding the currently selected display picture before the original picture data of the currently selected display picture after decoding is obtained, so as to obtain the original picture data of the currently selected display picture after decoding; and the original image data caching module is used for dynamically caching the decoded original image data of the currently selected display image in a memory and/or a disk according to a preset image data caching rule.
On the basis of the above embodiment, the apparatus further includes: the second decoding module is used for decoding the display picture to be selected based on a preset thumbnail proportion and/or a preset memory multiplexing rule before acquiring the thumbnail data of the display picture to be selected, so as to obtain the decoded thumbnail data of the display picture to be selected; and the thumbnail data caching module is used for dynamically caching the decoded thumbnail data of the picture to be selected for display in a memory and/or a disk according to the preset picture data caching rule.
On the basis of the above embodiment, the apparatus further includes: and an interface updating module, configured to update a hidden invisible interface corresponding to the thumbnail to a new current visible display interface if the thumbnail is selected as the currently selected display picture after the original image and the thumbnail are displayed, and update the current display interface to the hidden invisible interface.
On the basis of the above embodiment, the apparatus further includes: the preset picture judgment rule comprises the following steps:
according to a preset picture priority, combining a preset algorithm to carry out picture prejudgment, wherein the preset picture priority comprises the following steps: the priority of the currently selected and displayed picture is highest; the pictures closer to the position of the currently selected displayed picture have higher priority.
On the basis of the above embodiment, the preset picture data caching rule includes: and caching the data according to a preset page replacement algorithm.
On the basis of the above embodiment, the size of the decoded original image data or thumbnail image data cached in the memory and/or the disk is determined according to the configuration attribute of the smart television.
The picture display device provided by the embodiment of the invention can execute the picture display method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in the above embodiments, reference may be made to a method for displaying a picture provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (6)

1. A picture display method is applied to an intelligent television and is characterized in that the method is applied to a process of browsing pictures at a high speed and comprises the following steps:
creating an interface to be displayed, obtaining data of the interface to be displayed, and caching the data of the interface to be displayed according to a preset interface data caching rule;
when the high-speed browsing picture is stopped, judging whether original image data decoded by the current selected display picture is cached or not, and if so, acquiring the cached original image data decoded by the current selected display picture; if not, decoding the currently selected display picture to obtain original picture data of the decoded currently selected display picture; according to a preset picture data caching rule, dynamically caching the decoded original picture data of the currently selected display picture in a memory and/or a disk;
obtaining at least one display picture to be selected according to the currently selected display picture and a preset picture judgment rule, judging whether thumbnail data of the display picture to be selected is cached or not, and if so, obtaining the cached thumbnail data of the display picture to be selected; if not, decoding the display picture to be selected based on a preset thumbnail proportion and/or a preset memory multiplexing rule of the thumbnail relative to the original picture to obtain the decoded thumbnail data of the display picture to be selected; according to the preset picture data caching rule, dynamically caching the decoded thumbnail data of the picture to be selected for display in a memory and/or a disk;
calling cached data of an interface to be displayed, and dynamically dividing the interface to be displayed into a current display interface and at least one hidden invisible interface according to the current selected display picture and the picture to be selected, wherein the current display interface is used for displaying an original image of the current selected display picture and a thumbnail of the at least one picture to be selected, and the hidden invisible interface has a preset corresponding relation with the picture to be selected;
loading the original image data and the thumbnail image data on the current display interface, and displaying the original image and the thumbnail image;
when the pictures are browsed at a high speed, the current display interface and the hidden invisible interface can be converted according to a browsing switching instruction initiated by a user, and the cached thumbnail data of the pictures to be selected are obtained and displayed on the converted current display interface;
the preset corresponding relation comprises that the hidden invisible interface is a picture interface for loading browsed or to-be-browsed pictures to be selected and displayed.
2. The method of claim 1, further comprising, after the step of displaying the artwork and the thumbnail:
and if the thumbnail is selected as the currently selected display picture, updating the hidden invisible interface corresponding to the thumbnail to a new current visible display interface, and updating the current display interface to the hidden invisible interface.
3. The method according to claim 1, wherein the preset picture judgment rule comprises:
according to a preset picture priority, combining a preset algorithm to carry out picture prejudgment, wherein the preset picture priority comprises the following steps:
the priority of the currently selected display picture is highest;
the closer the picture is to the position of the currently selected display picture, the higher the priority of the picture.
4. The method of claim 1, wherein the preset picture data caching rules comprise: and caching the data according to a preset page replacement algorithm.
5. The method according to claim 4, wherein the size of the decoded original image data or thumbnail image data cached in the memory and/or the disk is determined according to the configuration attribute of the smart television.
6. A picture display device is applied to an intelligent television and is characterized in that the device comprises:
the interface cache module is used for creating an interface to be displayed, obtaining data of the interface to be displayed and caching the data of the interface to be displayed according to a preset interface data cache rule;
the original image data acquisition module is used for judging whether original image data decoded by the current selected display image is cached or not when the high-speed browsing image is stopped, and acquiring the cached original image data decoded by the current selected display image if the original image data decoded by the current selected display image is cached;
the first decoding module is used for decoding the currently selected display picture to obtain decoded original image data of the currently selected display picture if the decoded original image data of the currently selected display picture is not cached;
the original image data caching module is used for dynamically caching the original image data decoded by the currently selected display image in a memory and/or a disk according to a preset image data caching rule;
the to-be-selected display picture acquisition module is used for obtaining at least one to-be-selected display picture according to the currently selected display picture and a preset picture judgment rule, judging whether thumbnail data of the to-be-selected display picture is cached or not, and if so, acquiring the cached thumbnail data of the to-be-selected display picture;
the second decoding module is used for decoding the display picture to be selected based on the preset thumbnail proportion and/or the preset memory multiplexing rule of the thumbnail relative to the original picture if the thumbnail data of the display picture to be selected is not cached, so as to obtain the decoded thumbnail data of the display picture to be selected;
the thumbnail data caching module is used for dynamically caching the thumbnail data after the to-be-selected display picture is decoded in a memory and/or a disk according to the preset picture data caching rule;
the device comprises a to-be-displayed interface loading module, a to-be-displayed interface loading module and a to-be-displayed interface loading module, wherein the to-be-displayed interface loading module is used for calling cached data of the to-be-displayed interface and dynamically dividing the to-be-displayed interface into a current display interface and at least one hidden invisible interface according to the current selected display picture and the to-be-selected display picture, the current display interface is used for displaying an original image of the currently selected display picture and a thumbnail of the at least one to-be-selected display picture, and the hidden invisible interface and the to-be-selected display picture have a preset;
the picture display module is used for loading the original image data and the thumbnail data on the current display interface and displaying the original image and the thumbnail;
the interface to be displayed loading module is also used for converting a current display interface and a hidden invisible interface according to a browsing switching instruction initiated by a user when browsing pictures at high speed; accordingly, the method can be used for solving the problems that,
the picture display module is also used for acquiring the cached thumbnail data of the picture to be selected for display and displaying the thumbnail data on the converted current display interface;
the preset corresponding relation comprises that the hidden invisible interface is a picture interface for loading browsed or to-be-browsed pictures to be selected and displayed.
CN201710219957.9A 2017-04-06 2017-04-06 Picture display method and device Active CN106982388B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710219957.9A CN106982388B (en) 2017-04-06 2017-04-06 Picture display method and device
PCT/CN2018/077899 WO2018184436A1 (en) 2017-04-06 2018-03-02 Method and device for displaying image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710219957.9A CN106982388B (en) 2017-04-06 2017-04-06 Picture display method and device

Publications (2)

Publication Number Publication Date
CN106982388A CN106982388A (en) 2017-07-25
CN106982388B true CN106982388B (en) 2020-01-24

Family

ID=59343716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710219957.9A Active CN106982388B (en) 2017-04-06 2017-04-06 Picture display method and device

Country Status (2)

Country Link
CN (1) CN106982388B (en)
WO (1) WO2018184436A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982388B (en) * 2017-04-06 2020-01-24 深圳创维-Rgb电子有限公司 Picture display method and device
CN109388322B (en) * 2017-08-02 2022-11-04 腾讯科技(深圳)有限公司 Method and apparatus for displaying data, storage medium, and electronic medium
CN107516027B (en) * 2017-09-25 2021-07-16 联想(北京)有限公司 Image processing method and electronic device
CN107703921B (en) * 2017-10-27 2019-09-24 交控科技股份有限公司 Train automatic monitoring system yard method for handover control
CN110045937B (en) * 2019-04-16 2024-03-19 努比亚技术有限公司 Display control method and device for double-sided screen terminal, double-sided screen terminal and storage medium
CN113407087B (en) * 2021-08-23 2022-04-01 成都统信软件技术有限公司 Picture processing method, computing device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101971244A (en) * 2008-03-12 2011-02-09 松下电器产业株式会社 Display data output device
CN103034467A (en) * 2012-12-06 2013-04-10 北京小米科技有限责任公司 Image display method, device and mobile terminal
CN105989180A (en) * 2015-04-08 2016-10-05 乐视移动智能信息技术(北京)有限公司 Method and device for operating picture
CN106293331A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method and device of browsing pictures

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8624851B2 (en) * 2009-09-02 2014-01-07 Amazon Technologies, Inc. Touch-screen user interface
CN102117611A (en) * 2009-12-31 2011-07-06 鸿富锦精密工业(深圳)有限公司 Method for realizing circular display of pictures in electronic device
CN106982388B (en) * 2017-04-06 2020-01-24 深圳创维-Rgb电子有限公司 Picture display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101971244A (en) * 2008-03-12 2011-02-09 松下电器产业株式会社 Display data output device
CN103034467A (en) * 2012-12-06 2013-04-10 北京小米科技有限责任公司 Image display method, device and mobile terminal
CN105989180A (en) * 2015-04-08 2016-10-05 乐视移动智能信息技术(北京)有限公司 Method and device for operating picture
CN106293331A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method and device of browsing pictures

Also Published As

Publication number Publication date
CN106982388A (en) 2017-07-25
WO2018184436A1 (en) 2018-10-11

Similar Documents

Publication Publication Date Title
CN106982388B (en) Picture display method and device
CN110377264B (en) Layer synthesis method, device, electronic equipment and storage medium
US8261205B2 (en) User interface for presenting a list of thumbnail items associated with media items
KR101813196B1 (en) Method, device, program, and recording medium for video communication
JP4955544B2 (en) Client / server architecture and method for zoomable user interface
CN112087633B (en) Video decoding method, device and storage medium
US20170139824A1 (en) Memory management and image display for mobile devices
CN110351607A (en) A kind of method, computer storage medium and the client of panoramic video scene switching
CN103634686A (en) Method and device for previewing video
CN110392306B (en) Data processing method and equipment
JP7246487B2 (en) Method, apparatus, electronics, storage medium and computer program for extracting hotspot segments in video
WO2017202175A1 (en) Method and device for video compression and electronic device
JP2020527883A (en) Video processing methods, equipment and storage media
CN105812949B (en) A kind of method of the page self-adapted switchings of EPG based on screen locking pattern
CN108337553A (en) A kind of multi-medium data pre-download method
CN104010223A (en) Method and system for taking over terminal system for video playing
CN106940722B (en) Picture display method and device
US20100223580A1 (en) Data browsing apparatus and control method therefor
CN112153459A (en) Method and device for screen projection display
CN112616076B (en) Smart television-based startup processing method, system, electronic equipment and medium
CN114416005A (en) Interface display method and device and computer readable storage medium
CN112118473B (en) Video bullet screen display method and device, computer equipment and readable storage medium
CN113891136A (en) Video playing method and device, electronic equipment and storage medium
CN113986168A (en) Image display method, device, equipment and readable storage medium
CN110457623A (en) Acquisition methods, server and the storage medium of webpage frame

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